Sylvain Wallez wrote:
> 
> I was talking of what could be done if Namespace was removed and
> replaced by Configuration.getNamespaceURI() and
> Configuration.getNamespacePrefixHint(). What do you think about it ?

I don't like it.  Namespace support is an addon to regular configuration
objects.  It should be selfcontained.  This also allows for easy comparison
of Namespaces to see if two elements belong to the same namespace.

It also allows us to set a global policy: are namespaces compared on the basis
of the URI only, or the combination of prefix and URI?

9 times out of ten, the Namespace object won't even be used.

> BTW, there's a typo in DefaultConfigurationSerializer at line 135 :
> "prefix" should be "nsPrefix".

Fixed.  Thanks.

-- 

"Those who would trade liberty for
 temporary security deserve neither"
                - Benjamin Franklin

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to