extracting namespace from a property

Igor Bukanov igor at mir2.org
Thu Feb 15 06:03:56 PST 2007


> (Rant: it seems even worse to have namespaces in XML expose prefixes at all, but that ship *long* since sailed.  At the least, yay for E4X making <f:x xmlns:f="g"/> == <g:x xmlns:g="g"/>.)

Prefixes are optional E4X feature that an implementation may choose
not to support. They are only necessary to preserve the initial
prefixes in the serialized XML. So perhaps E4X namespace can subclass
the Name class?

Regards, Igor



More information about the Es4-discuss mailing list