[ 
https://issues.apache.org/jira/browse/XMLBEANS-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Beeker closed XMLBEANS-556.
-----------------------------------

> Support enumerations with more than 64k entries
> -----------------------------------------------
>
>                 Key: XMLBEANS-556
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-556
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: Version 3.0.1, Version 3.1.0, Version 4.0.0, Version 
> 5.0.0
>         Environment: windows 10
>            Reporter: Marco Rouse
>            Assignee: Andreas Beeker
>            Priority: Major
>             Fix For: Version 5.0.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to