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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML parser using lex & yacc

[ Lists Home | Date Index | Thread Index ]
  • From: "Alastair Sumner" <als2000@postmaster.co.uk>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 01 Sep 1999 15:45:37 +0100

I want to develop an XML parser in C or maybe C++ for an undergraduate university project. My approach will be to prototype the parser using flex and bison. As I understand it, flex won't be able to handle all of the character encodings required in the the 1.0 spec. Therefore my approach will then be to rewrite the lexer by hand to support the different character encodings. Has anyone taken a similar approach? Is it feasible? Also, is the XML EBNF an LR grammar so that yacc/bison can handle it?

Cheers
Alastair Sumner 

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/ and on CD-ROM/ISBN 981-02-3594-1
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