You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "David Jencks (Jira)" <ji...@apache.org> on 2022/01/04 22:37:00 UTC

[jira] [Created] (CAMEL-17433) Improve xml recognition in tooling JavadocHelper

David Jencks created CAMEL-17433:
------------------------------------

             Summary: Improve xml recognition in tooling JavadocHelper
                 Key: CAMEL-17433
                 URL: https://issues.apache.org/jira/browse/CAMEL-17433
             Project: Camel
          Issue Type: Improvement
          Components: tooling
            Reporter: David Jencks
            Assignee: David Jencks


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 &gt; becomes &amp;gt;

It turns out that there are hundreds of examples of these problems in generated code.

I'm going to fix these problems 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)