logo       

XSD Validates in xmlSpy, but Fails in scomp: msg#00069

text.xml.xmlbeans.user

Subject: XSD Validates in xmlSpy, but Fails in scomp

offending XSD attached

scomp does:

>scomp -src src -out CRD.jar CRDXMLSchema.xsd
>java -classpath ;C:\xmlbeans-1.0.3\lib\xbean.jar. org.apache.xmlbeans.impl.tool.SchemaCompiler -src src -out CRD.jar CRDXMLSchema.xsd
\CRDXMLSchema.xsd:0: error: Must be less than or equal to previous maxInclusive
\CRDXMLSchema.xsd:0: error: Must be greater than or equal to previous minInclusive
\CRDXMLSchema.xsd:0: error: Must be greater than or equal to previous minInclusive
\CRDXMLSchema.xsd:0: error: Must be less than or equal to previous maxInclusive
\CRDXMLSchema.xsd:0: error: Must be greater than or equal to previous minInclusive
\CRDXMLSchema.xsd:0: error: Must be less than or equal to previous maxInclusive
\CRDXMLSchema.xsd:0: error: Must be greater than or equal to previous minInclusive
\CRDXMLSchema.xsd:0: error: Must be less than or equal to previous maxInclusive
\CRDXMLSchema.xsd:0: error: Must be less than or equal to previous maxInclusive
\CRDXMLSchema.xsd:0: error: Must be greater than or equal to previous minInclusive
\CRDXMLSchema.xsd:0: error: Must be less than or equal to previous maxInclusive
\CRDXMLSchema.xsd:0: error: Must be greater than or equal to previous minInclusive
\CRDXMLSchema.xsd:0: error: Must be less than or equal to previous maxInclusive
\CRDXMLSchema.xsd:0: error: Must be less than or equal to previous maxInclusive
Time to build schema type system: 2.406 seconds
BUILD FAILED

This seems to me to suggest there's a problem.

I'm not familiar with all the ins & outs of xxxInclusive in an XSD..
..does anyone know whether this error even makes any sense..
..and, if so, what kind of construct would cause it
(obv'ly, one would think that something in the XSD must be referencing/extending a previously-established allowable range...)

(In an earlier email, I asked about the possibility of getting more info output w/ scomp error msgs. Two nice people replied - but neither sounded like a developer; do the developers monitor this list? Is there an actually pactivcal way of getting such info?)


Thanks,

-- M.

Attachment: CRDXMLSchema.xsd
Description: Text document

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: user-help@xxxxxxxxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise