Canonical XML (was: Re: SGML, XML and SML)

Christopher R. Maden crism at
Tue Nov 23 08:53:37 GMT 1999

[Rick Jelliffe]
>The current canonical XML grammar is this:
>[3]    Stag    ::=    '<' Name NSDecl? (Att NSDecl?)* '>'

Is that right?  So

   <foo xmlns:bar="" xmlns:baz="">

is illegal, but

   <foo xmlns:bar="" biz="" xmlns:baz="">

is legal?  That can't be right.  It seems it should be

   [3] Stag ::= '<' Name (Att | NSDecl)* '>'


Christopher R. Maden, Solutions Architect
Exemplary Technologies
One Embarcadero Center, Ste. 2405
San Francisco, CA 94111

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list