[izpack-changes] r1729 - izpack-src/trunk/src/lib/net/n3/nanoxml

noreply at berlios.de noreply at berlios.de
Tue Feb 13 14:49:18 CET 2007


Author: tschwarze
Date: 2007-02-13 14:49:18 +0100 (Tue, 13 Feb 2007)
New Revision: 1729

Modified:
   izpack-src/trunk/src/lib/net/n3/nanoxml/StdXMLParser.java
Log:
fix doctype parsing

Modified: izpack-src/trunk/src/lib/net/n3/nanoxml/StdXMLParser.java
===================================================================
--- izpack-src/trunk/src/lib/net/n3/nanoxml/StdXMLParser.java	2007-02-13 13:44:10 UTC (rev 1728)
+++ izpack-src/trunk/src/lib/net/n3/nanoxml/StdXMLParser.java	2007-02-13 13:49:18 UTC (rev 1729)
@@ -352,6 +352,10 @@
         }
 
         XMLUtil.skipWhitespace(this.reader, '&', null, null);
+        
+        // read the root element name
+        XMLUtil.scanIdentifier(this.reader, '&', this.entityResolver);
+        
         String systemID = null;
         StringBuffer publicID = new StringBuffer();
         XMLUtil.skipWhitespace(this.reader, '&', null, null);




More information about the izpack-changes mailing list