2010-01-08 15:07:45 +01:00
|
|
|
http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.164&r2=1.166&view=patch
|
2009-12-08 10:11:30 +01:00
|
|
|
|
|
|
|
Index: lib/xmlparse.c
|
|
|
|
===================================================================
|
|
|
|
--- lib/xmlparse.c.orig
|
|
|
|
+++ lib/xmlparse.c
|
2010-01-08 15:07:45 +01:00
|
|
|
@@ -3703,6 +3703,9 @@ doProlog(XML_Parser parser,
|
|
|
|
return XML_ERROR_UNCLOSED_TOKEN;
|
|
|
|
case XML_TOK_PARTIAL_CHAR:
|
|
|
|
return XML_ERROR_PARTIAL_CHAR;
|
|
|
|
+ case -XML_TOK_PROLOG_S:
|
|
|
|
+ tok = -tok;
|
|
|
|
+ break;
|
|
|
|
case XML_TOK_NONE:
|
|
|
|
#ifdef XML_DTD
|
|
|
|
/* for internal PE NOT referenced between declarations */
|