Re: namespaces in test files

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 UTC