Sounds that you are running into a parser problem like described here
http://stackoverflow.com/questions/16651005/workaround-for-xmlschema-not-sup
porting-maxoccurs-larger-than-5000

So XML Spy and Fuse are using other parsers than Eclipse.


Jan

> -----Ursprüngliche Nachricht-----
> Von: ABouchama [mailto:[email protected]]
> Gesendet: Donnerstag, 20. Februar 2014 18:18
> An: [email protected]
> Betreff: camel-validator : parser doesn't allow a maxOccurs attribute
> value to be set greater than the value 5 000
> 
> Hello All,
> 
> I have developed a Camel route in which there is an XSD validation.
> The XSD file has been checked as valid with XML Spy 2014.
> 
> When the route is deployed under Karaf or JBoss Fuse, it works.
> 
> But When I try to unit test it from Eclipse, I have the following
> exception and the route doesn's start:
> 
> *org.xml.sax.SAXParseException; lineNumber: 1781; columnNumber: 82;
> Current configuration of the parser doesn't allow a maxOccurs attribute
> value to be set greater than the value 5 000.*
> 
> What does the JBoss Fuse do better than the unit test  ? :)
> 
> I have attached a sample test case showing the error. As you can see in
> the pom.xml, it uses camel 2.10.0.
> 
> Thanks in advance
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-
> validator-parser-doesn-t-allow-a-maxOccurs-attribute-value-to-be-set-
> greater-than-the-value-5-0-tp5747680.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to