cvs commit: fptools/libraries/HaXml/src/Text/XML/HaXml Lex.hs
Parse.hs
Malcolm Wallace
malcolm at haskell.org
Fri Jun 10 10:30:34 EDT 2005
malcolm 2005/06/10 07:30:34 PDT
Modified files:
libraries/HaXml/src/Text/XML/HaXml Lex.hs Parse.hs
Log:
Fix the handling of PERefs inside quotation marks. An AttValue of
"100%" failed to parse, because the % was mistakenly interpreted as
the beginning of an unterminated PERef. In fact, a PERef can only
occur within quotes inside an EntityValue specification. Thus, in that
context, the parser must now re-lex a string to discover any PERefs.
Revision Changes Path
1.13 +26 -6 fptools/libraries/HaXml/src/Text/XML/HaXml/Lex.hs
1.15 +16 -5 fptools/libraries/HaXml/src/Text/XML/HaXml/Parse.hs
More information about the Cvs-libraries
mailing list