Catalogs not working for XProc?
Posted: Thu Dec 02, 2010 6:39 pm
My (lack of) Experience with XML Catalogs
I have never (knowingly) used Catalogs before. I have a basic understanding of their purpose, but I've always explicitly validated using <?oxygen ?> instructions for schemas or Oxygen's built-in validation.
The Problem
I have an XProc pipeline that is sending an http-request. The site is http://us.battle.net/sc2/en/forum/. It is written in XHTML 1.1 and includes a Doctype. When I make the request, it appears that something is looking up that Doctype and using it to validate the http-response. During that process I am getting errors about certain files not being found.
Note: Strangely enough the same pipeline had been working a couple of weeks prior. I have been told that this may have begun because repeated requests to the W3C will get you banned for a period of time. I wasn't aware this validation had been happening at that time, so I made several http-requests as I was tweaking and refining my pipeline.
The Error
[quote]SystemID: /Users/amrogers/Developer/Projects/oXygen_workspace/edu.umd/terpconnect/model/documents/201008/INFM298I/Final Project/xproc.xpl
Engine name: Calabash XProc
Severity: error
Description: net.sf.saxon.s9api.SaxonApiException: org.apache.commons.httpclient.HttpException: 404 Not Found for: http://www.w3.org/TR/xhtml11/DTD/xhtml-datatypes-1.mod 404 Not Found for: http://www.w3.org/TR/xhtml11/DTD/xhtml-datatypes-1.mod
[/quote]
Attempts so far
I have tried to set the XHTML 1.1 Catalog in Preferences→XML→XML Catalog. I have also tried setting the same Catalogs in Preferences→Document Type Association→XHTML→Catalogs.
Out of desperation I have tried both the DTD and schema Catalogs.
Someone on the XProc mailing list even said that Oxygen automatically passes its catalog info to XProc.
But I'm still getting the error.
Help me XML-Kenobi…you're my only hope…
This pipeline is part of a class project and I'm beginning to become quite worried. If I could just tell the pipeline to use local validation that would solve everything! But I am completely baffled about how to do that.
Can anyone help me?
I have never (knowingly) used Catalogs before. I have a basic understanding of their purpose, but I've always explicitly validated using <?oxygen ?> instructions for schemas or Oxygen's built-in validation.
The Problem
I have an XProc pipeline that is sending an http-request. The site is http://us.battle.net/sc2/en/forum/. It is written in XHTML 1.1 and includes a Doctype. When I make the request, it appears that something is looking up that Doctype and using it to validate the http-response. During that process I am getting errors about certain files not being found.
Note: Strangely enough the same pipeline had been working a couple of weeks prior. I have been told that this may have begun because repeated requests to the W3C will get you banned for a period of time. I wasn't aware this validation had been happening at that time, so I made several http-requests as I was tweaking and refining my pipeline.
The Error
[quote]SystemID: /Users/amrogers/Developer/Projects/oXygen_workspace/edu.umd/terpconnect/model/documents/201008/INFM298I/Final Project/xproc.xpl
Engine name: Calabash XProc
Severity: error
Description: net.sf.saxon.s9api.SaxonApiException: org.apache.commons.httpclient.HttpException: 404 Not Found for: http://www.w3.org/TR/xhtml11/DTD/xhtml-datatypes-1.mod 404 Not Found for: http://www.w3.org/TR/xhtml11/DTD/xhtml-datatypes-1.mod
[/quote]
Attempts so far
I have tried to set the XHTML 1.1 Catalog in Preferences→XML→XML Catalog. I have also tried setting the same Catalogs in Preferences→Document Type Association→XHTML→Catalogs.
Out of desperation I have tried both the DTD and schema Catalogs.
Someone on the XProc mailing list even said that Oxygen automatically passes its catalog info to XProc.
But I'm still getting the error.

Help me XML-Kenobi…you're my only hope…
This pipeline is part of a class project and I'm beginning to become quite worried. If I could just tell the pipeline to use local validation that would solve everything! But I am completely baffled about how to do that.
Can anyone help me?