Jason E Bailey created SLING-8566: ------------------------------------- Summary: commons html - document creation fails with tag stream on certain input Key: SLING-8566 URL: https://issues.apache.org/jira/browse/SLING-8566 Project: Sling Issue Type: Bug Components: Commons Affects Versions: Commons HTML 1.1.0 Reporter: Jason E Bailey Assignee: Jason E Bailey Fix For: Commons HTML 1.1.2
This occurred due to a conflict between an HTML parser and a need to support an XML interface. In HTML a processing instruction is merely an undefined tag. Which in the SAX parser needs to be handled as a processing instruction, except for the case where the instruction is '?xml' Additionally the EOF tag may not be generated, so I explicitly call the end of document for the handlers. -- This message was sent by Atlassian JIRA (v7.6.3#76005)