Hi Lucian,
I've had a look at the bug report. The only problem I see here is with the
error message. The description of SecurityManager.
setMaxOccurNodeLimit(int) says: Sets the limit of the number of content
model nodes that may be created when building a grammar for a W3C XML
Schema that contains maxOccurs attributes with values other than
"unbounded". (Unfortunately you won't find that in the Javadocs for Xerces
2.6.2 but it's there in the source code.) Rather than a limit on
maxOccurs, it's a limit on the number of nodes which may be created for
representing the content model of a given type. CMNodeFactory counts the
number of nodes it has created and when it hits the limit it reports a
fatal error.
Rather than the error message saying "Current configuration of the parser
doesn't allow a maxOccurs attribute value to be set greater than the value
{0}" or
"Current configuration of the parser doesn't allow maxOccurs attribute
values in a schema to sum to greater than {0}", it should probably say
something like "Current configuration of the parser doesn't allow the
expansion of a content model for a complex type to contain more than {0}
nodes".
Thanks.
Lucian Holland <[EMAIL PROTECTED]> wrote on 06/09/2005 05:06:06 AM:
> Hi,
>
> I tried to send this before, but I don't think it got through; apologies
> if this is a duplicate.
>
> Is there any chance that
> http://issues.apache.org/jira/browse/XERCESJ-1070 will be fixed for 2.7?
> It's a slightly awkward one for us and we'd rather not have to run with
> a patched version if possible....
>
> Thanks,
>
> Lucian
>
> --
> Lucian Holland, Technical Architect +44-1865-203192
> DecisionSoft Limited http://www.decisionsoft.com
> XML Development and Services
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]