[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Re: attribute name/namespace question
  • From: richard@i... (Richard Tobin)
  • Date: Sat, 26 Mar 2005 15:40:52 +0000 (GMT)
  • Cc:
  • In-reply-to: <42456DE0.4040104@t...>
  • Organization: HCRC, University of Edinburgh

In article <42456DE0.4040104@t...> you write:

>		 prefix:prefix:attname="ref-to-new-value"/>

No, there can only be at most one colon in a qualified name.

See http://www.w3.org/TR/REC-xml-names/#ns-qualnames

Both the prefix and local part must be NCNames ("no-colon names").

>the above example is actually parsable with XOM and DOM4J under Java
>1.4.2

Namespace-compliant parsers must report the error.

-- Richard

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member