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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Ambiguity in XML spec

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <jcowan@reutershealth.com>
  • To: "Brown, Bryan" <bryanb@upshot.com>, "xml-dev@xml.org" <xml-dev@xml.org>
  • Date: Fri, 19 May 2000 14:40:19 -0400

"Brown, Bryan" wrote:

> > > Or
> > > [[83] NotationDecl ::= '<!NOTATION' S Name S (ExternalID |
> > PublicID )
> > > [84] PublicID ::= 'PUBLICID' S PubicLiteral
> >
> > Eh?  That is what it does say.
> 
> No i changed the string in [84] to be 'PUBLICID' then when parsing if you
> see PUBLICID you know it is a public id without a systemLiteral, if you see
> 'PUBLIC'then you know it is publicId followed by a system literal.
> I don't think this is a good solution but it does remove the ambiguity.

At the expense of not being XML (or SGML either).

-- 

Schlingt dreifach einen Kreis um dies! || John Cowan <jcowan@reutershealth.com>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

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

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