Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-253

.xsdconfig qname element should allow specifying only element or only complexType

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Version 2.1
    • Fix Version/s: TBD
    • Component/s: Binding
    • Labels:
      None
    • Environment:
      All

      Description

      Currently the <qname> element in .xsdconfig files allows only the name and javaname attributes to be specified.

      If you have a schema with a global type and a global element with the same name and you try to map that name to a non-default javaname using the <qname> element in a .xsdconfig file then you will get that one of them maps to the javaname and one of them maps to javaname + "2" in order to avoid collisions.

      Suggest that we update <qname> to allow a third attribute which specifies whether this mapping applies to elements only, types only, or both with default being both.

        Attachments

        1. test.xsdconfig
          0.4 kB
          Lawrence Aston Jones
        2. test.wsdl
          2 kB
          Lawrence Aston Jones

          Activity

            People

            • Assignee:
              ljones Lawrence Aston Jones
              Reporter:
              ljones Lawrence Aston Jones
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: