RE: usecases for copy-namespaces decalration available

"Michael Kay" <[email protected]> Fri, 27 May 2005 14:32:51 +0100
Newsgroups gmane.comp.web.query-languages
Message-ID <[email protected]>
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: [email protected] [mailto:[email protected]] On Behalf Of
Andreas Lohmann
Sent: 27 May 2005 13:50
To: [email protected]
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