RE: usecases for copy-namespaces decalration available

If you are copying a document that uses namespace prefixes in content, for
example a document containing the attribute xsi:type="xs:date", then you
need to copy namespaces, otherwise a schema processor will barf on the
"xs:date". In most other cases you don't need to copy them. There are some
cases where you need to get rid of them (if you want to validate the result
against a DTD that doesn't allow extra namespaces to be declared) and there
are other cases where you want to get rid of them because they are
unnecessary noise.
 
Michael Kay
http://www.saxonica.com/


  _____  

From: www-ql-request@w3.org [mailto:www-ql-request@w3.org] On Behalf Of
Andreas Lohmann
Sent: 27 May 2005 13:50
To: www-ql@w3.org
Subject: usecases for copy-namespaces decalration available



Hello,

 

are there any use cases available to test the implementation of the
"copy-namespaces declaration", 

or can anyone describe a short scenario where its usage really makes sense
and visual results depend on declaration attributes?

 

 

Regards 

Andreas

Received on Friday, 27 May 2005 13:33:04 UTC