Ticket #24 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

XML Sax parse Doctype PUBLIC

Reported by: keinfarbton Assigned to:
Priority: major Milestone:
Component: Other Version:
Keywords: Cc:

Description

diff -r 64588a6465dd ext/mango/xml/sax/parser/teqXML.d
--- a/ext/mango/xml/sax/parser/teqXML.d Wed Sep 12 19:15:33 2007 +0200
+++ b/ext/mango/xml/sax/parser/teqXML.d Sun Sep 16 17:19:09 2007 +0200
@@ -804,7 +804,7 @@ class XMLReader(T=char): ISAXReader!(T)
                end.skipFunc!(isWhiteSpace);
                end.advanceToFunc!(isWhiteSpace);
                end.skipFunc!(isWhiteSpace);
-               if (end.isNext("SYSTEM"))
+               if (end.isNext("SYSTEM") || end.isNext("PUBLIC"))
                {
                        end.advanceTo('>');
                        end++;

Change History

09/16/07 14:17:15 changed by teqdruid

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r1040. Thanks.