OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Test: legal names in XML 1.0 + XMLNS

[ Lists Home | Date Index | Thread Index ]
  • To: 'XML DEV' <xml-dev@lists.xml.org>
  • Subject: Test: legal names in XML 1.0 + XMLNS
  • From: Julian Reschke <julian.reschke@gmx.de>
  • Date: Sat, 14 Feb 2004 00:17:51 +0100
  • User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Hi.

Is this:

	<foo:bar:42 xmlns:foo="something"/>

a wellformed XML.1.0+XMLNS.1.0 document?

MSXML rejects it, Saxon (Aelfred?) and Xsltproc (gnome libxml) accept 
it. I think that MSXML is right to complain here (neither "foo:bar" nor 
"bar:42" are legal NCNames).

Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS