DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35839>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35839





------- Additional Comments From [EMAIL PROTECTED]  2005-07-27 15:58 -------
True.  This problem has to do with how the document is parsed verses how it is 
converted into JSF components and rendered.  

The parser handles a few html nodes that it knows are optional (optional 
ending tag) but for the most part the document needs to be well formed HTML.   
Multiple roots are fine but when it encounters an ending span tag, it pops 
elements off the stack until it reaches a corresponding beginning tag or the 
document root.

I was thinking about a "look ahead" feature that could raise an exception when 
not finding a begin tag.  This would allow raising an exception with the 
position within the document.  

However, I agree that the content/body within the comment tags should be 
ignored.  I was also thinking that we should use BufferedReader so that we can 
track the line numbers related to the token offsets.  

With the introduction of full HTML page layout, we should try to make our 
parser better. I expect/hope you might have some ideas too.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to