You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Michael Huffman (JIRA)" <ja...@ws.apache.org> on 2008/04/15 23:24:22 UTC

[jira] Updated: (JAXME-97) getText() method of XsEDocumentationImpl doesn't retrieve embedded XML content

     [ https://issues.apache.org/jira/browse/JAXME-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Huffman updated JAXME-97:
---------------------------------

    Description: 
The implementation of XsEDocumentation fails to return the entire textual content of the documentation schema object in the getText() method. If a document (e.g. DocumentImpl) is a child, its contents are not written to the StringBuffer returned by getText(). Proper implementation should serialize the contents of the document element to the buffer.

For example, the schema containing the following annotation:

<xs:documentation xml:lang="long">Some type...
   <ul><li>A</li><li>B</li></ul>
</xs:documentation>

will return only "Some type..." from calling the getText() method.

  was:
The implementation of XsEDocumentation fails to return the entire textual content of the documentation schema object in the getText() method. If a document (e.g. DocumentImpl) is a child, its contents are not written to the StringBuffer returned by getText(). Proper implementation should serialize the contents of the document element to the buffer.

For example, the schema containing the following annotation:

<pre>
<xs:documentation xml:lang="long">Some type...
   <ul><li>A</li><li>B</li></ul>
</xs:documentation>
</pre>

will return only "Some type..." from calling the getText() method.


> getText() method of XsEDocumentationImpl doesn't retrieve embedded XML content
> ------------------------------------------------------------------------------
>
>                 Key: JAXME-97
>                 URL: https://issues.apache.org/jira/browse/JAXME-97
>             Project: JaxMe
>          Issue Type: Bug
>          Components: JaxMeXS
>    Affects Versions: current (nightly)
>         Environment: Windows XP (SP2)
>            Reporter: Michael Huffman
>            Priority: Minor
>
> The implementation of XsEDocumentation fails to return the entire textual content of the documentation schema object in the getText() method. If a document (e.g. DocumentImpl) is a child, its contents are not written to the StringBuffer returned by getText(). Proper implementation should serialize the contents of the document element to the buffer.
> For example, the schema containing the following annotation:
> <xs:documentation xml:lang="long">Some type...
>    <ul><li>A</li><li>B</li></ul>
> </xs:documentation>
> will return only "Some type..." from calling the getText() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org