Skip to main content

validating error messages with Sun Multi-Schema XML Validator ambiguous

2 replies [Last post]
bricard
Offline
Joined: 2005-09-08
Points: 0

Hello,

I'am not sure that is the proper forum to post this question but I havent found a better :

I'am using Sun Multi-Schema XML Validator (from Kohsuke Kawaguchi).

My problem is that the error messages are ambiguous :

For exemple, the parser returns :
[error][45188,12] uncompleted content model. expecting: ,,,,,,,,,

It should have returned only because the others elements have attribute minOccurs="0" (in a complexType)

When i just add a CODE_NRA element, this error does not occurs.

The default jdk1.5 parser (xerces) just does the same thing and that why i was looking for another parser :
[error][45189,12] http://www.w3.org/TR/xml-schema-1#cvc-complex-type.2.4.b?RECORDThanks for your help

Bertrand

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bricard
Offline
Joined: 2005-09-08
Points: 0

ok
i've posted a bug (#5)

thanks.

kirillcool
Offline
Joined: 2004-11-17
Points: 0

Go to https://msv.dev.java.net/

There you will find Kohsuke's mail alias, as well as option for posting bugs (it would be nice of course to see the schema you are working on).