Hi Graham,
The following error is produced for a number of lines in the schema:
[Error] _test4.xml:17:211: Error: The child of a model group definition
must not specify either the minOccurs or maxOccurs attribute.
The "XML Schema: Structures Recommendation" [1] indicates that "the schema
for schemas does not allow them [minOccurs or maxOccurs] on the child of
<group> when it is named. This in turn is because the {min occurs} and {max
occurs} of the particles which refer to the definition are what count."
On lines 1651, 1657, 1712, 1835, 1954, 6300, 8065, 8075, 8085, and
8095 of the schema there are children of <group> elements that specify the
minOccurs or maxOccurs attribute.
Thanks,
Henry
------------------------------------------------------------------------
Henry Zongaro XML Parsers development
IBM SWS Toronto Lab Tie Line 778-6044; Phone (416) 448-6044
mailto:[EMAIL PROTECTED]
[1]
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#declare-namedModelGroup
Lisa Martin/Toronto/[EMAIL PROTECTED] on 2001/06/22 03:16:00 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject: Re: Yet more validation errors
Hi Graham,
Sandy Gao put down a fix for the exception, and I checked in a fix for a
few of the errors the parser shouldn't be detecting. You should see
these fixes if you extract from CVS - they will also be in the 1.4.1 build
we hope to get out later today.
There are still schema errors being detected and we believe they are all
valid errors to emit. We'll post additional info about them in follow-up
mail.
Lisa.
Graham Mann <[EMAIL PROTECTED]> on 06/22/2001 11:46:28 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Yet more validation errors
I've just built new jar files from the CVS (22/06/2001 16:20) which is
producing a java.lang.ArrayIndexOutOfBoundsException for the simple test:
java sax.SAX2Count -v _test4.xml
(There are also other errors which I'd appreciate some feedback on)
I've zip and attached the schema and test file.
Graham Mann
Adobe Systems Europe Ltd.
Tel: +44 (0)1603 226749
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]