You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Michael Pigott (JIRA)" <ji...@apache.org> on 2014/06/30 05:28:24 UTC

[jira] [Created] (WSCOMMONS-586) XmlSchemaTypeRestriction does not receive XmlSchemaFacets

Michael Pigott created WSCOMMONS-586:
----------------------------------------

             Summary: XmlSchemaTypeRestriction does not receive XmlSchemaFacets
                 Key: WSCOMMONS-586
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-586
             Project: WS-Commons
          Issue Type: Bug
          Components: XmlSchema
    Affects Versions: XmlSchema 2.0
            Reporter: Michael Pigott


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org