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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML Grammar kind

[ Lists Home | Date Index | Thread Index ]
  • From: Daniel Veillard <Daniel.Veillard@w3.org>
  • To: Rob Lugt <roblugt@elcel.com>
  • Date: Thu, 14 Dec 2000 17:18:38 +0100

On Thu, Dec 14, 2000 at 03:00:27PM +0000, Rob Lugt wrote:
> David Lacerte wrote:
> > Hi!  I was wondering at what category of grammar the xml's belongs.  Does
> it have the properties of a LALR(1) grammar, which is the most probable?  I
> need that information in order to do a parser.  Thanks!!
[...]
> However, if you are considering using standard parsing tools, I think some
> of the biggest problems you will have are:-
> 1) Determining what is a token.  The XML productions go too close to the
> metal to be considered tokens in the normal sense
> 2) Entity replacement - especially parameter entities
> 3) Conditional Sections

  Do not forget proper encoding support ! Can be handled as a conversion
layer before tokenization, but the complexity of this operation should
not be forgotten.

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | libxml Gnome XML toolkit
Tel : +33 476 615 257  | 655, avenue de l'Europe | http://xmlsoft.org/
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Rpmfind search site
 http://www.w3.org/People/all#veillard%40w3.org  | http://rpmfind.net/




 

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

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