Ajith Ranabahu wrote:
Hi all,
I've found that org.apache.ws.commons.schema.XmlSchemaDerivationMethod
has the following list of members

{"All", "Empty", "Extension","List", "None",
"Restriction","Substitution", "Union"};

1. The values are in camel case which is plain wrong! The spec clearly
says they need to be in complete lowercase! (see
http://www.w3.org/TR/xmlschema-1  section 3.3.2)
I would have to agree on the lower case.
2. Also I'm not sure whether empty,list and union are acceptable
values in this case. As for the spec it seems not!

Only thought here is that maybe they're part of an older version of the spec? I have NFI though.
This is causing trouble for users since it causes the SchemaBuilder to
throw an error when it encounters a valid block value.

What I propose is to fix this as per the spec. Has there been any
experience regarding this before ?
+1 to fixing, but no experience here.

- Dan

--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com
http://netzooid.com/blog

Reply via email to