[ https://issues.apache.org/jira/browse/TIKA-651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090134#comment-13090134 ]
Michael McCandless commented on TIKA-651: ----------------------------------------- Is it so bad to add a dependency on Xerce's/Xalan's serializer.jar? It's smallish (~272 KB). If that's OK then I can add indenting to the current patch here, and we can fix TikaCLI to use this for bug-free XHTML serialization. If we take that approach then I think we should undo the other commits on TIKA-692, except for the added test cases., since we need not futz with the document's style formatting, add whitespace, turn off pretty-printing in TikaCLI, etc.? > Unescaped attribute value generated > ----------------------------------- > > Key: TIKA-651 > URL: https://issues.apache.org/jira/browse/TIKA-651 > Project: Tika > Issue Type: Bug > Components: parser > Affects Versions: 0.9 > Reporter: Raimund Merkert > Assignee: Jukka Zitting > Attachments: XHTMLSerializer.java > > > I've converted a word document that contains hyperlinks with a complex query > component. The & character is not escaped and mozilla complains about that > when I write out the XHTML via a content handler that I wrote. > It's not clear to me whether or not my contenthandler should assume > attributes are properly escaped or not. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira