Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5089

java2ws generate both ref and nillabe attributes in a schema element

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      As per http://www.w3.org/TR/xmlschema-1/, this is invalid:

      3.3.3 Constraints on XML Representations of Element Declarations
      Schema Representation Constraint: Element Declaration Representation

      2.2 If ref is present, then all of <complexType>, <simpleType>, <key>, <keyref>, <unique>, nillable, default, fixed, form, block and type must be absent, i.e. only minOccurs, maxOccurs, id are allowed in addition to ref, along with <annotation>.

      Attachments

        Activity

          People

            ema Jim Ma
            ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: