[xquery-talk] Constructing namespace nodes

Fourny Ghislain gfourny at inf.ethz.ch
Tue Feb 8 18:34:07 PST 2011


Hi Ron,

Yes, I also think that the difficulty here is namespaces in content.

If I am not mistaken, (a) could be achieved with a schema (using the xs:QName type). Actually, for (b), one could argue that you even need a schema, to make sure you are not tampering with a substring which "happens" to match a bound prefix.

Kind regards,
Ghislain


On Feb 8, 2011, at 6:10 PM, Ronald Bourret wrote:

> The real cause of this problem (and many others) is namespaces in 
> content. This has been around almost as long as namespaces themselves, 
> but has never been recognized in the spec.
> 
> Perhaps the solution is for the spec to finally deal with this. For 
> example, (a) allow documents to declare that namespaces are used in 
> content and (b) allow processors to modify any prefixes it finds in content.
> 
> -- Ron




More information about the talk mailing list