Schematron Quick fix fails due to malformed DTD URL
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 93
- Joined: Fri Mar 08, 2013 8:58 am
Schematron Quick fix fails due to malformed DTD URL
I have a file with a DOCTYPE declaration like this: <!DOCTYPE list SYSTEM "D:\list.dtd" []>
A Schematron Quick Fix applied to this file fails with error "E Malformed URL D:\list.dtd(base file:/D:/....)"
When I add the file:/ scheme prefix, it works fine.
Yes, I understand that the system literal strictly speaking doesn't conform to RFC3986. But the thing is, everywhere else in the Oxygen ecosystem (validation, transformation, etc.), forgiveness/allowance is made for this DTD system declaration and other URLs that begin with the Windows-style drive letter + colon. Can Oxygen's SQF processing be relaxed to offer the same kind of accommodation?
A Schematron Quick Fix applied to this file fails with error "E Malformed URL D:\list.dtd(base file:/D:/....)"
When I add the file:/ scheme prefix, it works fine.
Yes, I understand that the system literal strictly speaking doesn't conform to RFC3986. But the thing is, everywhere else in the Oxygen ecosystem (validation, transformation, etc.), forgiveness/allowance is made for this DTD system declaration and other URLs that begin with the Windows-style drive letter + colon. Can Oxygen's SQF processing be relaxed to offer the same kind of accommodation?
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Schematron Quick fix fails due to malformed DTD URL
Hello,
I will create an issue in our issue tracker to investigate whether we can make the quick fix execution more flexible. In the meantime, I recommend creating a catalog file and setting it as a custom catalog in Oxygen, for example:
To register this catalog, open the Preferences dialog box (Options > Preferences) and navigate to XML > XML Catalog.
For more details, see our documentation:
https://www.oxygenxml.com/doc/versions/ ... alogs.html
Best Regards,
Octavian
I will create an issue in our issue tracker to investigate whether we can make the quick fix execution more flexible. In the meantime, I recommend creating a catalog file and setting it as a custom catalog in Oxygen, for example:
Code: Select all
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<systemSuffix systemIdSuffix="D:\list.dtd" uri="file:/D:/list.dtd"/>
</catalog>
For more details, see our documentation:
https://www.oxygenxml.com/doc/versions/ ... alogs.html
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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