Deprecation warning in XSSerializer sample

2011-01-23 Thread Eric Lilja
Hello, I just tried the XSSerializer sample on Xerces 2.11.0-schema-1_1-beta and get a deprecation warning for: attrUse.getConstraintValue() (occurs in two places). This did not happen with Xerces 2.10.0-schema_1_1-beta Will the XSSerializer sample be updated to make this deprecation warning g

Re: Deprecation warning in XSSerializer sample

2011-01-23 Thread Michael Glavassevich
Hi Eric, Good catch. The sample should have been calling XSAttributeUse.getValueConstraintValue().getNormalizedValue(). I've just updated it [1] in SVN. Thanks. [1] http://svn.apache.org/viewvc?view=revision&revision=1062634 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mr

Schema 1.1 not validating maxOccurs correctly?

2011-01-23 Thread Jorge Williams
I'm attaching a small example: Confidentiality Notice: This e-mail message (including any attached or embedded documents) is intended for the exclusive and confidential use of the individual or entity to which this message is addressed, and unless otherwise expressly indicated, is confidential