Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Version 3.0.1, Version 3.1.0, Version 4.0.0, Version 5.0.0
-
None
-
windows 10
Description
I can't generate code from schema, I keep getting an error when running:
scomp -dl -src java-src -out cfdv33.jar http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv33.xsd
warning: SchemaType Enumeration found with too many enumeration values to create a Java enumeration. The base SchemaType "T=c_CodigoPostal@http://www.sat.gob.mx/sitio_internet/cfd/catalogos" will be used instead
warning: SchemaType Enumeration found with too many enumeration values to create a Java enumeration. The base SchemaType "T=c_ClaveProdServ@http://www.sat.gob.mx/sitio_internet/cfd/catalogos" will be used instead
warning: SchemaType Enumeration found with too many enumeration values to create a Java enumeration. The base SchemaType "T=c_Colonia@http://www.sat.gob.mx/sitio_internet/cfd/catalogos" will be used instead
Time to build schema type system: 8.391 seconds
Exception in thread "main" org.apache.xmlbeans.SchemaTypeLoaderException: Value 95777 out of range: must fit in a 16-bit unsigned short. (org.apache.xmlbeans.metadata.system.s456D395FEA75638FA3D29AFED09B48F7.ccodigopostald8d2type) - code 10
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.writeShort(SchemaTypeSystemImpl.java:1569)
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.writeTypeData(SchemaTypeSystemImpl.java:2537)
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.saveType(SchemaTypeSystemImpl.java:1258)
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.saveTypesRecursively(SchemaTypeSystemImpl.java:1141)
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.save(SchemaTypeSystemImpl.java:1117)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:973)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:333)
Attachments
Issue Links
- relates to
-
XMLBEANS-555 Partial method generation and remove inner factory classes
- Closed