Re: qualified local/global Re: Namespace problem

Michael Kay wrote:

>>My confusion is all due to my belief that namespace prefixes 
>>would never 
>>play a role in attribute *values*, which is obviously wrong 
>>for XSDs. I, 
>>for one, would appreciate an XSD syntax that makes these things more 
>>straightforward (=does not use xmlns attributes).
>>    
>>
>
>
>I have suggested before, and suggest again, that any specification that
>allows the use of namespace prefixes in attribute content (for example XML
>Schema and XSLT/XPath) should provide an alternative syntax that uses the
>namespace URI in place of the prefix, thus at least giving users the option
>of creating documents that have no hidden dependencies on namespace
>prefixes.
>
>  
>
... and if you added a "declare-prefix" facility that is independent of 
the namespaces in the source document, it would be even more transparent 
(see my mail above) and almost backwards-compatible.

cheers,
Burak

Received on Thursday, 19 August 2004 10:50:58 UTC