This problem is fixed in revision 959082
http://svn.apache.org/viewvc?view=revision&revision=959082

I tested using the schema and xml provided in JIRA XMLBEANS-428 using this code
            SchemaTypeSystem sts0 = XmlBeans.compileXsd(new XmlObject[]{XmlObject.Factory.parse(new File("test.xsd"))},
                    XmlBeans.getBuiltinTypeSystem(),null);
            XmlObject x0 = sts0.parse(new File("testf.xml"),sts0.findDocumentType(new QName("xmlbean","root")),null);

I see the error using xbean 2.5 jar, but don't see the error anymore if I include fix from revision 959082.

Jerry


On 4/29/2011 6:29 AM, Jacob Danner wrote:

Could you file a jira issue and attach one of the xml instances you are seeing this with?
Thanks,
-jacobd

On Apr 29, 2011 2:32 AM, "Hugo de Oude" <hdo...@allshare.nl> wrote:
>
> Hello,
>
> We get the error 'Unexcpected element: CDATA' if the length of an xml file is exactly 8193.
> This can be reproduced using the xmlbeans 2.4.0 and 2.5.0 version.
> This can be reproduced by any xml file as long as the length of the file is exaclty 8193.
>
> Can this be fixed please?
>
> Thx.
>
> Hugo de Oude
> 06-21588438

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

Reply via email to