Validating XML with associated DTD and xsd
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Validating XML with associated DTD and xsd
I'm designing an XSD that uses the MathML XSD (through xs:import). Generally everything is working just fine. But now the client is needing to include entities that are defined in the MathML DTD.
Since XSD's don't include a way to define entities I was looking around for a way to use the entities defined in the MathML DTD but still use my XSD and MathML XSD. There is a claim on the page:
http://www.w3.org/TR/2002/WD-MathML2-20 ... g-charents
That you can mix DTD and XSD. I tried to use the example given with oxygen and it failed validation.
If both a DTD and XSD are specified in an XML document will the XSD be ignored or used by oxygen?
Is there a way to include a series of entity definitions somehow but use an XSD for primary validation of an XML file?
Is there something else I should be looking into doing (besides re-writing the XSD I have done as a DTD)?
Thanks
Dave Sugar
dsugar@dolphinsoft.com
Since XSD's don't include a way to define entities I was looking around for a way to use the entities defined in the MathML DTD but still use my XSD and MathML XSD. There is a claim on the page:
http://www.w3.org/TR/2002/WD-MathML2-20 ... g-charents
That you can mix DTD and XSD. I tried to use the example given with oxygen and it failed validation.
If both a DTD and XSD are specified in an XML document will the XSD be ignored or used by oxygen?
Is there a way to include a series of entity definitions somehow but use an XSD for primary validation of an XML file?
Is there something else I should be looking into doing (besides re-writing the XSD I have done as a DTD)?
Thanks
Dave Sugar
dsugar@dolphinsoft.com
Dear Dave,
Thanks for pointing out this issue.
Currently if you specify a DTD the validation will be tried agaist that DTD only, disregarding the schema.
We will add an option in the next release that will allow you to validate against the specified schema even if a DTD is also specified. Thus you will be able to use entities defined in DTD together with validation against the specified schema.
Best Regards,
George
Thanks for pointing out this issue.
Currently if you specify a DTD the validation will be tried agaist that DTD only, disregarding the schema.
We will add an option in the next release that will allow you to validate against the specified schema even if a DTD is also specified. Thus you will be able to use entities defined in DTD together with validation against the specified schema.
Best Regards,
George
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