Value of schema element lacking conversion or rules subelement does not appear
in list of contributions injected into service.
------------------------------------------------------------------------------------------------------------------------------
Key: HIVEMIND-160
URL: http://issues.apache.org/jira/browse/HIVEMIND-160
Project: HiveMind
Type: Bug
Components: framework
Reporter: Kevin Greiner
Priority: Minor
I created a contribution-point whose contributions are based on a schema that
is so simple (one element with one attribute of type string) that I decided to
not specify any conversion or rules elements within the schema. My thought was
that the schema would provide syntax checking while my service's property would
be set to a list of org.w3c.dom.Element objects. While no errors were flagged,
my setter was always called with an empty list. When I updated by
contribution-point to no longer reference the schema, my setter was called with
the expected list of one Element object.
If it is legal for the schema's top-level elements to not have conversion/rules
sub-elements, then the dom object representing each of those elements should be
included in the list of contributions injected into the service. If it isn't
legal, the XML parser should flag an error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]