Generate XML node depth
Oxygen general issues.
-
- Posts: 2
- Joined: Tue Jan 13, 2009 11:47 pm
Generate XML node depth
When generating instance XML, oXygen 10 does not go as deep as the previous version. In particular, it seems to be unable to traverse between imported namespace XSD files where the reference is a type.
Such as an element in a.xsd is of a type defined in b.xsd, where b is imported from a different namespace.
Is this a known issue?
Such as an element in a.xsd is of a type defined in b.xsd, where b is imported from a different namespace.
Is this a known issue?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Generate XML node depth
Post by sorin_ristache »
Hello,
The depth of nested elements in the generated XML instances was limited to 3 in version 10.0 for reducing the memory needs and the time necessary for generating the XML instances of large XML Schemas. Starting with version 10.1 which will be released probably in February 2009 you will be allowed to configure the default depth level with an option Discard optional elements after nested level: L (where you can set L to 3, 10, etc.) available from Preferences -> XML -> XML Instance Generator. If L is larger than 4 or 5 the size of the XML instances and implicitly the time necessary to generate them may grow exponentially with the increase of L for some schemas. This is why the default value is small.
If you need to use this option before the release of version 10.1 we can make a build with a preview of version 10.1 containing this option and send you a download URL.
Regards,
Sorin
The depth of nested elements in the generated XML instances was limited to 3 in version 10.0 for reducing the memory needs and the time necessary for generating the XML instances of large XML Schemas. Starting with version 10.1 which will be released probably in February 2009 you will be allowed to configure the default depth level with an option Discard optional elements after nested level: L (where you can set L to 3, 10, etc.) available from Preferences -> XML -> XML Instance Generator. If L is larger than 4 or 5 the size of the XML instances and implicitly the time necessary to generate them may grow exponentially with the increase of L for some schemas. This is why the default value is small.
If you need to use this option before the release of version 10.1 we can make a build with a preview of version 10.1 containing this option and send you a download URL.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Generate XML node depth
Post by sorin_ristache »
Yes, it will be an option that you set in the Preferences dialog and that is saved to the user preferences on disk. This option is not saved in the file created by the Export Settings button of the dialog for generating XML instances but it is read from the user preferences and used by any generation of XML instances from a command line.
Regards,
Sorin
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service