[ https://issues.apache.org/jira/browse/XMLSCHEMA-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062487#comment-14062487
]
Hudson commented on XMLSCHEMA-33:
---------------------------------
SUCCESS: Integrated in xmlschema-trunk #130 (See [https://builds.apache.org/job/xmlschema-trunk/130/])
[XMLSCHEMA-33] Define facets for the built in types
Patch from Michael Pigott applied (dkulp: rev 1610783)
* /webservices/xmlschema/trunk/.gitignore
* /webservices/xmlschema/trunk/xmlschema-core/src/main/java/org/apache/ws/commons/schema/XmlSchemaCollection.java
* /webservices/xmlschema/trunk/xmlschema-core/src/test/java/tests/FacetsTest.java
> XmlSchemaTypeRestriction does not receive XmlSchemaFacets
> ---------------------------------------------------------
>
> Key: XMLSCHEMA-33
> URL: https://issues.apache.org/jira/browse/XMLSCHEMA-33
> Project: XmlSchema
> Issue Type: Bug
> Affects Versions: XmlSchema 2.0, 2.1.0
> Reporter: Michael Pigott
> Assignee: Daniel Kulp
> Labels: PatchAvailable
> Fix For: 2.1.1
>
> Attachments: diff.zip
>
>
> 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:
> {code}
> public XmlSchemaSimpleTypeRestriction() {
> facets = Collections.synchronizedList(new ArrayList<XmlSchemaFacet>());
> }
> {code}
> but the only method that uses them is the getter:
> {code}
> public List<XmlSchemaFacet> getFacets() {
> return this.facets;
> }
> {code}
> 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
|