[
https://issues.apache.org/jira/browse/WSCOMMONS-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerrit-Jan Lubbertsen updated WSCOMMONS-580:
--------------------------------------------
Description:
All other objects take the prefix in account like this:
{code}
public String toString(String prefix, int tab) {
String xml = new String();
.....
xml += "<" + prefix + "element ";
{code}
but the XmlSchemaFacet sub types
{code}
public String toString(String prefix, int tab) {
StringBuffer xml = new StringBuffer();
for (int i = 0; i < tab; i++) {
xml.append("\t");
}
xml.append("<length value=\"");
{code}
> All XmlSchemaFacet toString methods miss to the prefix in their output
> ----------------------------------------------------------------------
>
> Key: WSCOMMONS-580
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-580
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Reporter: Gerrit-Jan Lubbertsen
>
> All other objects take the prefix in account like this:
> {code}
> public String toString(String prefix, int tab) {
> String xml = new String();
> .....
> xml += "<" + prefix + "element ";
> {code}
> but the XmlSchemaFacet sub types
> {code}
> public String toString(String prefix, int tab) {
> StringBuffer xml = new StringBuffer();
> for (int i = 0; i < tab; i++) {
> xml.append("\t");
> }
> xml.append("<length value=\"");
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]