Validating XML with schema AND DTD
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Sun Jun 26, 2005 4:18 pm
Validating XML with schema AND DTD
Hi,
If I have the following XML declaration:
Is there a way to enable OxygenXML to validate this file with both, the Schema and DTD.
Yes, I know that in a "real" project you probably wouldn't want to do this. But, I would still like to know if this is possible with OxygenXML.
Thanks,
Yaakov.
If I have the following XML declaration:
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE store SYSTEM "store.dtd">
<store xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://someURL/"
xsi:schemaLocation="http://someURL/ store.xsd">
<cust_list>
<customer cid="C-1">
...
Yes, I know that in a "real" project you probably wouldn't want to do this. But, I would still like to know if this is possible with OxygenXML.
Thanks,
Yaakov.
-
- Site Admin
- Posts: 2096
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
By default oXygen will validate the instance against the DTD. If you want to validate against the schema you have two choices:
- use external validattion action and choose the schema
- enable the Options->Preferences -- XML -- XML Parser Options -- Use only XML Schema for validation.
It is not possible to perform both validations in a single action.
Best Regards,
George
By default oXygen will validate the instance against the DTD. If you want to validate against the schema you have two choices:
- use external validattion action and choose the schema
- enable the Options->Preferences -- XML -- XML Parser Options -- Use only XML Schema for validation.
It is not possible to perform both validations in a single action.
Best Regards,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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