W3C home > Mailing lists > Public > public-i18n-its@w3.org > October to December 2006

Re: namespaces in test files

From: Felix Sasaki <fsasaki@w3.org>
Date: Fri, 15 Dec 2006 10:23:13 +0900
Message-ID: <4581F901.9020300@w3.org>
To: Sebastian Rahtz <sebastian.rahtz@oucs.ox.ac.uk>
Cc: public-i18n-its@w3.org

Sebastian Rahtz wrote:
> 
> My parser complains about some test files. eg
> 
> Start. Reading NSTest1_LinkedRules.xml
> test/inputdata/NSTest1_LinkedRules.xml:4: parser warning : xmlns: URI
> myLocInfoDocNamespace is not absolute
>    xmlns="myLocInfoDocNamespace">
>                                 ^
> 
> Are there some rules about names for namespace?

I found this explanation:
http://www.w3.org/TR/2006/REC-xml-names-20060816/#iri-use

"The use of relative URI references, including same-document references,
in namespace declarations is deprecated."

Which links to this document: http://www.w3.org/2000/09/xppa
"Ballot on relative URI References In namespace declarations"

Yves, all: would it be fine with you to use an absolute URI reference in
this and all namespace declarations in test files? Some examples from
http://www.w3.org/2000/06/uriqa3934.html :

   1. http://www.w3.org/
   2. http://example.org/seg1/seg2/last-path-seg
   3. http://www.ietf.org/rfc/rfc0822.txt
   4. mailto:connolly@w3.org
   5. mid:2l34kj2lj2lkj34lk2j32@w3.org
   6. urn:example-ns:more-stuff-here
   7. file://myhost.example.com/dir1/dir2/stuff
   8. file:/dir1/dir2/stuff
   9. scheme-you-never-heard-of:more-stuff-here

Felix
Received on Friday, 15 December 2006 01:42:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:12:48 GMT