[cxml-devel] Bug in DTD parsing?
![](https://secure.gravatar.com/avatar/3c1e5b42d0c5c754b147688e972ef35e.jpg?s=120&d=mm&r=g)
28 Aug
2012
28 Aug
'12
10:58 p.m.
(flex:with-input-from-sequence (s (babel:string-to-octets "<![IGNORE[ ]]><!-- -->" :encoding :utf-8)) (cxml:parse-dtd-stream s)) errors with Document not well-formed: Unexpected character #\!. Context: Line 1, column 17 in NIL [Condition of type CXML:WELL-FORMEDNESS-VIOLATION] but parses OK with whitespace between ]]> and <!-- (for a real example, see line 396 in http://docbook.org/xml/4.3/dbpoolx.mod) it looks like P/IGNORE-SECT in cxml/xml/xml-parse.lisp should unread 1 rune after matching ]]> (or exit the loop sooner so it doesn't read an extra).
4544
Age (days ago)
4544
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bart Botta