[Home] [By Thread] [By Date] [Recent Entries]
> -----Original Message----- > From: Sean McGrath [mailto:sean.mcgrath@p...] > > >[Gavin Thomas Nicol] > >Yep. I still believe that local processing always wins. From a > >practical perspective, the namespace prefix is usually a lot more > >useful than the namespace itself. > > And its positively *scary* the number of apps out there in > the real world > that have wired the processing to the prefix - not the fully qualified > name. XML processing happens is mostly performed by DOM, SAX and XSLT. XSLT processes namespaces after expanding them, so I anticipate this as a DOM issue. Indeed after checking [1] one can read the following: "In particular, since the mapping between prefixes and namespace URIs is not enforced, in general, the resulting document cannot be serialized naively. For example, applications may have to declare every namespace in use when serializing a document." [1] http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#Namesp aces-Considerations I was wondering how efficient SAX usage is in keeping consistency between prefixes (meaning in practice) and their associated URIs, unfortunately I have spend little time using it. Manos
|

Cart



