Re: parseType="literal"

[Jeremy Carroll]

> Jeremy:
> [[[
> I went down this path over the weekend, the results of my musings are on
> core list (not yet publicly visible - seems to be a W3C server problem).
> ]]]
> Here it is:

In the referenced post, about 1/3 of the way down, you say

"Whereas the third example (x_3.xml) is:

NOTE Both namespaces are part of the <foo/> element as far as XSLT is
concerned, and the namespace prefixes matter. Thus as far as xslt is
concerned, the xml literals in a_1.xml and a_3.xml are different, even
though both are "<foo/>" surrounded by identical whitespace.

OPINION (uncontroversial?)

I regard these extracts as illustrating "namespace pollution".
I think that the two documents a_1.xml and a_3.xml describe the same RDF
graph despite the difference between them (prefix "eg" replaced by prefix

This is correct except that no "namespace pollution" has occurred, because
the namepsace is NOT the prefix, which plays the role of a temporary alias.
The namespace ***is***, not "eg" nor "EG".  The
namespace Rec is clear on this, and xslt acts accordingly, as does xml

Of course, anything that assumes that the prefix is fixed, unchanging, and
forever bound to one uri may get into trouble.


Tom P

Received on Monday, 11 March 2002 09:36:15 UTC