[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to