Bug with Relax NG to XSD conversion
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 125
- Joined: Mon Jun 09, 2003 6:02 pm
- Location: Charlottesville, Virginia USA
Bug with Relax NG to XSD conversion
Hi,
When converting from a Relax NG schema to W3C XML Schema, one of the advanced options is a "disable-abstract-elements" checkbox. By default it is unchecked. Today I needed to create an XML schema without abstract elements (i.e., no abstract="true" attributes), so I checked the box, but the output schema was not changed.
The box should control whether Trang gets the parameter "-o disable-abstract-elements", I assume. (That works when I run Trang from the command line.)
This is with oXygen 5.1, Mac OS X version.
best,
David
When converting from a Relax NG schema to W3C XML Schema, one of the advanced options is a "disable-abstract-elements" checkbox. By default it is unchecked. Today I needed to create an XML schema without abstract elements (i.e., no abstract="true" attributes), so I checked the box, but the output schema was not changed.
The box should control whether Trang gets the parameter "-o disable-abstract-elements", I assume. (That works when I run Trang from the command line.)
This is with oXygen 5.1, Mac OS X version.
best,
David
-
- Posts: 63
- Joined: Fri Dec 12, 2003 6:34 pm
- Contact:
Post by iulian_velea »
Hi David,
Thank you for the message. It seems that the option "disable-abstract-elements" has no effect indeed. I added a bug related to this problem on our bug list.
Meanwhile you may want to use the annotation attribute:
Best Regards,
Iulian.
Thank you for the message. It seems that the option "disable-abstract-elements" has no effect indeed. I added a bug related to this problem on our bug list.
Meanwhile you may want to use the annotation attribute:
Code: Select all
tx:enableAbstractElements="false"
Iulian.
-
- Posts: 63
- Joined: Fri Dec 12, 2003 6:34 pm
- Contact:
Post by iulian_velea »
Where "tx" is the prefix for the namespace "http://www.thaiopensource.com/ns/relaxng/xsd", so a a namespace declaration of :iulian_velea wrote:
... Meanwhile you may want to use the annotation attribute:Code: Select all
tx:enableAbstractElements="false"
Code: Select all
xmlns:tx="http://www.thaiopensource.com/ns/relaxng/xsd"
http://www.thaiopensource.com/download/ ... anual.html
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