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

XmlSchemaTypeRestriction does not receive XmlSchemaFacets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • XmlSchema 2.0
    • None
    • XmlSchema
    • None

    Description

      Hello,
      I originally filed this under https://issues.apache.org/jira/browse/WSCOMMONS-586
      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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rpimike1022 Michael Pigott
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: