You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/08/20 20:59:27 UTC
[jira] [Commented] (TIKA-651) Unescaped attribute value generated
[ https://issues.apache.org/jira/browse/TIKA-651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088246#comment-13088246 ]
Uwe Schindler commented on TIKA-651:
------------------------------------
...or XALAN :-)
It's hard to implement without that dependency, as you would need to implement a full XML serializer without that dep. The trick here is to reuse XALAN/XERCES *XML* serializer for XHTML, but modify it a bit to produce XHTML that is also valid HTML4.
> 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