On Mon, 1 Oct 2001 22:43, Berin Loritsch wrote:
> Peter Donald wrote:
> > On Sat, 29 Sep 2001 03:24, Berin Loritsch wrote:
> > > The changes would entail the following:
> > >
> > > 1) Creation of the Namespace object
> > > 2) Adding the "getNamespace()" method to Configuration
> > >
> > > The implementation of the Namespace object would have an
> > > interface like this:
> > >
> > > Namespace
> > > {
> > > String getPrefix(); // the portion of the xmlns that is the prefix
> > > String getURI(); // the portion of the xmlns that is the uri
> > > String toString(); // the xmlns as it would appear in an element
> > > boolean equalTo(); // tests namespace objects and strings
> > > }
> >
> > While I actually like the feature (I remember near begging for it at one
> > stage) I am a bit cautious about how it is planned to be used. Could you
> > give a usecase so I can be comforted to know your not using it to process
> > data - which would be better served by dom4j, jdom or similar ;)
>
> First of all, I don't like DOM APIs.
Not all DOM APIs are alike ;) Actually JDOM beta4 was almost identical to our
current COnfiguration with the exception of being writeable and using
Collections classes rather than arrays. (Though they removed all type safe
getFooAsInteger() in next iteration).
> Anyway, I will be using it to
> register a type mapping. A type mapping in Apache Axis is one that maps
> a schema (or primitive type) to a serializer component.
>
> Therefore, I need the ability to read the namespace data for that purpose.
> In the future, WSDD will be introduced, requiring the schema to be in
> a specific namespace, and embedding portions of a WSDL document inside
> of it. Each of these will require determining the namespaces involved.
seems reasonable +1
considering I have near begged for namespace support in past that was an easy
+1 ;)
--
Cheers,
Pete
*------------------------------------------------*
| You can't wake a person who is pretending |
| to be asleep. -Navajo Proverb. |
*------------------------------------------------*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]