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. 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]