You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Gerrit-Jan Lubbertsen (JIRA)" <ji...@apache.org> on 2012/10/02 15:11:07 UTC

[jira] [Created] (WSCOMMONS-580) All XmlSchemaFacet toString methods miss to the prefix in their output

Gerrit-Jan Lubbertsen created WSCOMMONS-580:
-----------------------------------------------

             Summary: 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




--
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


[jira] [Updated] (WSCOMMONS-580) All XmlSchemaFacet toString methods miss to the prefix in their output

Posted by "Gerrit-Jan Lubbertsen (JIRA)" <ji...@apache.org>.
     [ 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