[ 
https://issues.apache.org/jira/browse/SLING-8566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16941018#comment-16941018
 ] 

Jason E Bailey commented on SLING-8566:
---------------------------------------

This is only necessary if you are attempting to replace all the implementations 
of the HTML4 parser with the HTML5 parser which is not a workable end goal. As 
their are some fundamental differences between the two with Document structure.

> 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
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to