You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2022/01/07 12:03:00 UTC
[jira] [Commented] (CAMEL-17433) Improve xml recognition in tooling JavadocHelper
[ https://issues.apache.org/jira/browse/CAMEL-17433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470559#comment-17470559 ]
James Netherton commented on CAMEL-17433:
-----------------------------------------
This change has broken a number of the component descriptions in the catalog metadata. E.g see ahc-ws.json in this commit
https://github.com/apache/camel/commit/e01780aa3bc3c901e06d09962094fa780b8decc1
> Improve xml recognition in tooling JavadocHelper
> ------------------------------------------------
>
> Key: CAMEL-17433
> URL: https://issues.apache.org/jira/browse/CAMEL-17433
> Project: Camel
> Issue Type: Task
> Components: tooling
> Reporter: David Jencks
> Assignee: David Jencks
> Priority: Major
>
> The JavadocHelper has some limitations in processing javadoc and xml:
> - < and > characters are removed when not paired
> - xml tags are not recognized well, e.g. < this is not a tag > is treated as a tag and removed
> - Already encoded entities are re-encoded, so > becomes &gt;
> It turns out that there are hundreds of examples of these problems in generated code.
> I'm going to fix the problems in JavadocHelper and let the regen_bot supply the corrected generated code.
> Thanks to Jeremy Ross for making me aware of this problem.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)