ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerrit-Jan Lubbertsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WSCOMMONS-580) All XmlSchemaFacet toString methods miss to the prefix in their output
Date Tue, 02 Oct 2012 14:01:22 GMT

     [ 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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message