xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lachlan Paterson" <lach...@post.com>
Subject scomp does not compile standard IFX or ACORD schemas
Date Tue, 06 Jul 2004 21:30:44 GMT
Has anyone else tried these standard schemas from the banking and insurance industries?

When I try to compile the IFX 1.5 schema, it complains that: 
IFX150_XSD.xsd:12424: error: Content model violates the unique particle attribution rule
As with my simple <xs:choices> example, this schema passes the w3.org validation, but
does not compile with XML beans.


When I try to compile the ACORD 1.3 schema, acord-pc-v1_3_0-fulldoc-codes.xsd, it simply crashes
like this:

java -classpath $XMLBEANDIR/xbean.jar com.bea.xbean.tool.SchemaCompiler acord-pc-v1_3_0-fulldoc-nocodes.xsd

Loading schema file acord-pc-v1_3_0-fulldoc-nocodes.xsd
Loading referenced file acord-doc.xsd
Time to build schema type system: 17.923 seconds
Exception in thread "main" com.bea.xml.SchemaTypeLoaderException: null (schema.system.s0C043B8F3E836BA5CB9A92B6A08E35BD.insurancesvcspirqmsgsmodelgroup)
- code 9
        at com.bea.xbean.schema.SchemaTypeSystemImpl$StringPool.writeTo(SchemaTypeSystemImpl.java:608)
        at com.bea.xbean.schema.SchemaTypeSystemImpl$XsbReader.writeRealHeader(SchemaTypeSystemImpl.java:1120)
        at com.bea.xbean.schema.SchemaTypeSystemImpl.saveModelGroup(SchemaTypeSystemImpl.java:944)
        at com.bea.xbean.schema.SchemaTypeSystemImpl.saveModelGroups(SchemaTypeSystemImpl.java:895)
        at com.bea.xbean.schema.SchemaTypeSystemImpl.saveToDirectory(SchemaTypeSystemImpl.java:857)
        at com.bea.xbean.tool.SchemaCodeGenerator.compileTypeSystem(SchemaCodeGenerator.java:52)
        at com.bea.xbean.tool.SchemaCompiler.compileImpl(SchemaCompiler.java:547)
        at com.bea.xbean.tool.SchemaCompiler.main(SchemaCompiler.java:141)


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message