Lists Home |
Date Index |
- To: <email@example.com>
- Subject: Prefixes / URIs consistency (was: There is a meaning, but it's not in the data alone)
- From: "Manos Batsis" <firstname.lastname@example.org>
- Date: Wed, 30 Jan 2002 12:56:22 +0200
- Thread-index: AcGpbrs42pXSPD8LTRGtWuKGOiIT3QAC9RIg
- Thread-topic: Prefixes / URIs consistency (was: There is a meaning, but it's not in the data alone)
> -----Original Message-----
> From: Sean McGrath [mailto:email@example.com]
> >[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
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  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."
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.