You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/07/16 11:55:00 UTC

[jira] [Commented] (CAMEL-11545) Avoid double dot in enriched with default value in XML XSD

    [ https://issues.apache.org/jira/browse/CAMEL-11545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088900#comment-16088900 ] 

Claus Ibsen commented on CAMEL-11545:
-------------------------------------

Its here where we need to check if the existing text already ends with a doc, and then dont add the dot

https://github.com/apache/camel/blob/master/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/DocumentationEnricher.java#L109

Contributions is welcome with a fix

> Avoid double dot in enriched with default value in XML XSD
> ----------------------------------------------------------
>
>                 Key: CAMEL-11545
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11545
>             Project: Camel
>          Issue Type: Task
>          Components: build system
>            Reporter: Claus Ibsen
>             Fix For: 2.20.0
>
>
> For example
> {code}
>             <xs:documentation xml:lang="en"><![CDATA[
> Sets the interval in milli seconds the stream resequencer will at most wait
> while waiting for condition of being able to deliver.. Default value: 1000
>             ]]></xs:documentation>
> {code}
> Notice the double dot when the default value is inserted.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)