XML to DTD Trang Conversion namespace-prefix Bug
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Thu Dec 14, 2006 1:46 pm
XML to DTD Trang Conversion namespace-prefix Bug
Hi ,
when I use the Trang Converter to generate a DTD from one of my XML-Files, it produces prefixed elements but with content models where prefixes are missing.
Example:
<!ELEMENT gml:LineString (metaDataProperty?,(pos|pointProperty)+)>
Correct:
<!ELEMENT gml:LineString (gml:metaDataProperty?,(gml:pos|gml:pointProperty)+)>
For the result DTD Oxygen notifies these errors.
I think this is a Converter- bug.
Regards,
Klaus
when I use the Trang Converter to generate a DTD from one of my XML-Files, it produces prefixed elements but with content models where prefixes are missing.
Example:
<!ELEMENT gml:LineString (metaDataProperty?,(pos|pointProperty)+)>
Correct:
<!ELEMENT gml:LineString (gml:metaDataProperty?,(gml:pos|gml:pointProperty)+)>
For the result DTD Oxygen notifies these errors.
I think this is a Converter- bug.
Regards,
Klaus
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
-
- Posts: 2
- Joined: Thu Dec 14, 2006 1:46 pm
Hello,
here is an extract from the code:
<gml:LineString>
<gml:metaDataProperty>
</gml:metaDataProperty>
<gml:pointProperty>
<gml:Point gml:id="P32.6846_55.392">
<gml:pos srsDimension="2">32.6846 55.392</gml:pos>
</gml:Point>
</gml:pointProperty>
<gml:pos srsDimension="2">32.6846 58.503</gml:pos>
<gml:pos srsDimension="2">33.695 58.503</gml:pos>
<gml:pointProperty>
<gml:Point gml:id="IBTransitionToEntranceFoyerSouthPoint">
<gml:pos srsDimension="2">33.695 59.601</gml:pos>
</gml:Point>
</gml:pointProperty>
</gml:LineString>
Please post if you need the hole XML-file.
Regards,
Klaus
here is an extract from the code:
<gml:LineString>
<gml:metaDataProperty>
</gml:metaDataProperty>
<gml:pointProperty>
<gml:Point gml:id="P32.6846_55.392">
<gml:pos srsDimension="2">32.6846 55.392</gml:pos>
</gml:Point>
</gml:pointProperty>
<gml:pos srsDimension="2">32.6846 58.503</gml:pos>
<gml:pos srsDimension="2">33.695 58.503</gml:pos>
<gml:pointProperty>
<gml:Point gml:id="IBTransitionToEntranceFoyerSouthPoint">
<gml:pos srsDimension="2">33.695 59.601</gml:pos>
</gml:Point>
</gml:pointProperty>
</gml:LineString>
Please post if you need the hole XML-file.
Regards,
Klaus
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Yes, you are right. It is a bug in the Trang converter. The result DTD should contain:
Regards,
Sorin
Yes, you are right. It is a bug in the Trang converter. The result DTD should contain:
Code: Select all
<!ELEMENT gml:LineString (gml:metaDataProperty,(gml:pos|gml:pointProperty)+)>
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