This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 176290 - [68cat] Problem validating a xml using a valid schema
Summary: [68cat] Problem validating a xml using a valid schema
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Validation (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal with 2 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 13:20 UTC by Michel Graciano
Modified: 2011-09-26 13:15 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2009-11-09 13:20:06 UTC
The following error shows up when I use something like that in my schema:

<xsd:element name="ABC" minOccurs="0" maxOccurs="99999">

XML validation started.
Checking file:/home/hmichel/Desktop/korpex/customer/4500326512_po.xml...
Referenced entity at "file:/home/hmichel/Desktop/korpex/customer/EsquemaOrders05.xsd".
Current configuration of the parser doesn't allow a maxOccurs attribute value to be set greater than the value 5,000. [1,667] 
XML validation finished.
Comment 1 Svata Dedic 2011-09-26 13:15:42 UTC
Not really a typical situation (usualy for this upper bound, ubnounded may be actually better :)). The allowed model size could be configurable -> enhancement.