Uploaded image for project: 'WS-Commons'
  1. WS-Commons
  2. WSCOMMONS-580

All XmlSchemaFacet toString methods miss to the prefix in their output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • XmlSchema
    • None

    Description

      All other objects take the prefix in account like this:

       public String toString(String prefix, int tab) {
              String xml = new String();
      .....
              xml += "<" + prefix + "element ";
      

      but the XmlSchemaFacet sub types

         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=\"");
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gjlubber Gerrit-Jan Lubbertsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: