You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/07/24 14:51:41 UTC

[GitHub] [hbase] petersomogyi commented on issue #407: HBASE-22730 XML Parsing error on branch-1

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:
users@infra.apache.org


With regards,
Apache Git Services