W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2005

RE: usecases for copy-namespaces decalration available

From: Michael Kay <mhk@mhk.me.uk>
Date: Fri, 27 May 2005 14:32:51 +0100
To: "'Andreas Lohmann'" <andreas.lohmann@ipsi.fraunhofer.de>, <www-ql@w3.org>
Message-ID: <E1DbexR-0003ov-1C@maggie.w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:17 UTC