XML-Catalog and Format and Indent for RELAX NG
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 87
- Joined: Tue Jan 01, 2013 3:19 pm
XML-Catalog and Format and Indent for RELAX NG
Hi,
we have written a grammar which extends docbook 5. It starts like this:
Since we are behind a proxy in our enterprise network, i use a catalog file to redirect access to the included docbook schema file to my local file system.
This work fine for validating, i. e. validating the schema file works as well as validating xml-documents conforming to this schema.
However, the format and indent applied to the schema file ends with a timeout: Connect to docbook.org:80 timed out (http://docbook.org/xml/5.0/rng/docbookxi.rnc).
Question is: how to configure catalog files so that format and indent will work correct?
Sincerely,
Frank Steimke
we have written a grammar which extends docbook 5. It starts like this:
Code: Select all
default namespace db = "http://docbook.org/ns/docbook"
include "http://docbook.org/xml/5.0/rng/docbookxi.rnc" {
...
}
Code: Select all
<rewriteURI uriStartString="http://docbook.org/xml/5.0/"
rewritePrefix="file:///C:/Program%20Files/Oxygen%20XML%20Editor%2015/frameworks/docbook/5.0/"/>
However, the format and indent applied to the schema file ends with a timeout: Connect to docbook.org:80 timed out (http://docbook.org/xml/5.0/rng/docbookxi.rnc).
Question is: how to configure catalog files so that format and indent will work correct?
Sincerely,
Frank Steimke
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: XML-Catalog and Format and Indent for RELAX NG
Hi,
The Format and Indent is probably trying to resolve the URL as a system ID.
Try adding to your XML catalog an entry that resolves the systemID:
Regards,
Adrian
The Format and Indent is probably trying to resolve the URL as a system ID.
Try adding to your XML catalog an entry that resolves the systemID:
Code: Select all
<rewriteSystem systemIdStartString="http://docbook.org/xml/5.0/"
rewritePrefix="file:///C:/Program%20Files/Oxygen%20XML%20Editor%2015/frameworks/docbook/5.0/"/>
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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