kyters / jlibs

Automatically exported from code.google.com/p/jlibs
1 stars 0 forks source link

XSInstance maximumRecursionDepth not being obeyed. Infinite output loop results #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. FileOutputStream fos = new FileOutputStream(file);
   XMLDocument sampleXml = 
           new XMLDocument(new StreamResult(fos), true, 4, null);
   xsInstance.generate(xsModel, rootElement, sampleXml);
2.
3.

What is the expected output? What do you see instead?
I expected the maxRecursion depth to limit output, but the output XML has an 
infinitely recursive depth (until memory ran out)

What version of the product are you using? On what operating system?
1.1-SNAPSHOT

Please provide any additional information below.
Attached is the XSD that causes this:

Original issue reported on code.google.com by mepodo...@gmail.com on 11 Feb 2014 at 7:47

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
FIXED in r1784

fix is available in maven snapshots repository

Original comment by santhosh.tekuri@gmail.com on 11 Feb 2014 at 10:32