Re: Problem with xml files if length of file is exact 8193 bytes

2011-05-02 Thread Jerry Sy
This problem is fixed in revision 959082 http://svn.apache.org/viewvc?view=revisionrevision=959082 I tested using the schema and xml provided in JIRA XMLBEANS-428 using this code SchemaTypeSystem sts0 = XmlBeans.compileXsd(new

Re: xmlsbeans 2.5 does not check sequence order ?

2011-05-04 Thread Jerry Sy
read about xmlbeans validation here http://xmlbeans.apache.org/docs/2.0.0/guide/conValidationWithXmlBeans.html I test using this code String testschema = "?xml version=\"1.0\" encoding=\"UTF-8\"?\n" + "xsd:schema\n" + "

Re: CDATA saving problem

2012-07-27 Thread jerry . sy
You also need to set setUseCDataBookmarks option to true as well. If your original xml contains CDATA, that option will ensure it is retained and will be present when you save the XML. As for setSaveCDataLengthThreshold and setSaveCDataEntityCountThreshold, both conditions must be satisfied for

Re: [VOTE] XMLBeans v2.6.0-RC3 to become official release

2012-08-09 Thread jerry . sy
[X] +1 - I am in favor of this release, and can help On 08/08/2012 05:33 PM, Cezar Andrei wrote: Because I didn't receive any votes, I'm extending the vote period until end of next Monday, August 13. Cezar On Wed, 2012-08-08 at 17:07 -0700, Cezar Andrei wrote: The files are now up at

Re: Getting XMLBeans out of Attic

2013-07-24 Thread jerry . sy
Hi Daniel, Please count me in. Thanks Jerry On 7/23/2013 8:29 AM, Daniel Lübke wrote: Hi list, I am a long-time user of XMLBeans, most of the time as part of the BPELUnit project. There is no replacement to XMLBeans because in contrast to JAXB if preserves namespace declarations so you

Re: Getting XMLBeans out of Attic

2013-10-23 Thread jerry . sy
Yes I am still interested. Thanks Jerry On 10/23/2013 4:37 AM, Nick Burch wrote: Hi All Is there still interest in rebooting the XMLBeans project? If so, I think we have enough existing Apache PMC members to mentor the rebooted project. I'm happy to start the ball rolling on the proposal

Re: How to insert after using XmlCursor?

2013-10-23 Thread jerry . sy
You need to go to the END of the parent cursor or to the nextToken of the END of the lastChild, then do the insert. XmlObject test1 = XmlObject.Factory.parse(parentchildfirst/child/parent); XmlCursor testcurs = test1.newCursor(); if (testcurs.isStartdoc()){

Re: Dynamic generation of XML object hierarchy using schema

2014-05-06 Thread jerry . sy
look at the XmlCursor api. You can use it to create an xml document. On 5/6/2014 8:19 AM, jgagnon wrote: I am working on a project where we are trying to dynamically generate XML instances, using the information gleaned from a defining XML schema. The instances will represent test cases for a