[prev in list] [next in list] [prev in thread] [next in thread] 

List:       woden-dev
Subject:    [jira] [Updated] (WSCOMMONS-580) All XmlSchemaFacet toString methods miss to the prefix in their out
From:       "Gerrit-Jan Lubbertsen (JIRA)" <jira () apache ! org>
Date:       2012-10-02 14:01:22
Message-ID: 1155307447.154369.1349186482149.JavaMail.jiratomcat () arcas
[Download RAW message or body]


     [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic