Uploaded image for project: 'XmlSchema'
  1. XmlSchema
  2. XMLSCHEMA-33

XmlSchemaTypeRestriction does not receive XmlSchemaFacets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • XmlSchema 2.0, 2.1.0
    • 2.1.1

    Description

      Hello,
      I'm sorry if there's another issue out for this already, and I missed it. XmlSchemaSimpleTypeRestriction never receives its facets. As far as I can tell, it's just because the functionality is missing ...

      The facets are initialized to an empty container in the constructor:

          public XmlSchemaSimpleTypeRestriction() {
              facets = Collections.synchronizedList(new ArrayList<XmlSchemaFacet>());
          }
      

      but the only method that uses them is the getter:

          public List<XmlSchemaFacet> getFacets() {
              return this.facets;
          }
      

      This is as of XmlSchema 2.1.0, which I pulled down today from Maven Central. I'm happy to dig into this in the coming week; how do I become a committer?

      Thanks,
      Mike

      Attachments

        1. diff.zip
          3 kB
          Michael Pigott

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              rpimike1022 Michael Pigott
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: