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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Comment and PI in a Mixed or children elements...

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <ak117@freenet.carleton.ca>
  • To: "XML Developers' List" <xml-dev@ic.ac.uk>
  • Date: Fri, 8 May 1998 17:53:19 -0400

Peter Murray-Rust writes:

 > BTW I didn't answer the question, did I? :-) I think you will find it is
 > yes, but trust a parser and not me.

By all means, run problems like this through a good parser (don't use
AElfred for this purpose, since it is too tolerant of errors).

In the end, however, the only trustworthy source is the grammatical
productions in the spec (together with constraints and other normative
text):

[39] element ::= EmptyElemTag | STag content ETag

[43] content ::= (element | CharData | Reference | CDSect | 
                  PI | Comment)*


All the best,


David

-- 
David Megginson                 ak117@freenet.carleton.ca
Microstar Software Ltd.         dmeggins@microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

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