petersomogyi commented on issue #407: HBASE-22730 XML Parsing error on branch-1
URL: https://github.com/apache/hbase/pull/407#issuecomment-514665599
 
 
   > when I try to load the sourceforge URLs they work. is the xml parser no 
longer allowing http or something?
   
   No, the problem is different.
   
   The http://checkstyle.sourceforge.net/dtds/suppressions_1_1.dtd file 
contains the following DOCTYPE:
   
   ```
   <!DOCTYPE suppressions PUBLIC
       "-//Checkstyle//DTD SuppressionFilter Configuration 1.1//EN"
       "https://checkstyle.org/dtds/suppressions_1_1.dtd";>
   ```
   
   Currently the XMLs have `Puppy Crawl` content and that causes the XML 
validation failure.
   
   ```
   [Fatal Error] suppressions_1_1.dtd:1:3: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   java.lang.RuntimeException: org.xml.sax.SAXParseExceptionpublicId: -//Puppy 
Crawl//DTD Suppressions 1.0//EN; systemId: 
http://checkstyle.sourceforge.net/dtds/suppressions_1_1.dtd; lineNumber: 1; 
columnNumber: 3; The markup declarations contained or pointed to by the 
document type declaration must be well-formed.
   ```
   
   By running `jrunscript -e "XMLDocument(arguments[0])" 
checkstyle-suppressions.xml` the error is not reproducible anymore.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to