framework catalog not found by all tolls
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 72
- Joined: Thu Mar 26, 2015 4:57 pm
framework catalog not found by all tolls
Post by steve.cuzner »
I've got a catalog.xml file that I add to my framework in the Options->preferences, Document Type Association, edit framework, select catalog tab, add entry. The framework uses an rng for the schema. When I open my document in text view, there is no error indicator on my xinclude which has a href that the catalog resolves using rewriteURI. If I validate the xml file I get this error:
If I do a well-formed validation, I get:
Note if I intentionally make my catalog resolve to a bad path, I get error indicators on my xinclude element and I get the additional error:
(where xxx is redacted information)
It appears that setting the catalog in the framework applies to the Jing rng validation, but other validation tools aren't reading the catalog. What can I do to make the catalog universally available to all validations engines and other systems (xspec, xslt scenarios, etc.)?
Steve
Code: Select all
W [ISO Schematron] Include operation failed, reverting to fallback. Resource error reading file as XML (href='http://mathworks.com/doc/product_names/tm_matlab'). Reason: 404 Not Found for: http://www.mathworks.com/doc/product_names/tm_matlab
Code: Select all
W [Xerces] Include operation failed, reverting to fallback. Resource error reading file as XML (href='http://mathworks.com/doc/product_names/tm_matlab'). Reason: 404 Not Found for: http://www.mathworks.com/doc/product_names/tm_matlab
Code: Select all
W [Jing] Include operation failed, reverting to fallback. Resource error reading file as XML (href='http://mathworks.com/doc/product_names/tm_matlab'). Reason: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\prod_names\foo\tm_matlab (The system cannot find the file specified)
It appears that setting the catalog in the framework applies to the Jing rng validation, but other validation tools aren't reading the catalog. What can I do to make the catalog universally available to all validations engines and other systems (xspec, xslt scenarios, etc.)?
Steve
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: framework catalog not found by all tolls
Hi Steve,
Besides the rewriteURI mappings, could you also try to add in your catalog add rewriteSystem mappings with the same values? The Xerces parser usually looks only at rewriteSystem mappings...
If this does not work, could you possibly create a small test project with a catalog, two XML files and attach that to an email?
Regards,
Radu
Besides the rewriteURI mappings, could you also try to add in your catalog add rewriteSystem mappings with the same values? The Xerces parser usually looks only at rewriteSystem mappings...
If this does not work, could you possibly create a small test project with a catalog, two XML files and attach that to an email?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 72
- Joined: Thu Mar 26, 2015 4:57 pm
Re: framework catalog not found by all tolls
Post by steve.cuzner »
Radu,
Thanks, that was most of the issue. I also had URIs without a protocol. When I changed them to start with http:/ they worked.
Thanks, that was most of the issue. I also had URIs without a protocol. When I changed them to start with http:/ they worked.
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