[oXygen-user] Getting <oXygen/> to run Calabash to run Saxon with -dtd:off or with catalogs?
George Cristian Bina
Tue Feb 8 08:31:11 CST 2011
Hi Tony,
You hit a similar problem with the one recently discussed on the xproc
list in several threads. There the issue appears when a document is
accessed through a p:http-request step. We surely set both an entity
resolver and an URI resolver on Calabash and in some circumstances it
uses them. However, in some other cases it fails to provide them to
Saxon. For more details please see:
http://lists.w3.org/Archives/Public/xproc-dev/2011Jan/0004.html
I am afraid we cannot do much on our side, the fix should be made in
Calabash, either similar with my suggestion or in some other way.
Please note that the -dtd:off turns off validation but the parser will
still give an error if the DTD is not found.
Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 2/7/11 7:18 PM, Tony Graham wrote:
> I have a XSLT 2.0 stylesheet that uses 'collection()' to open multiple
> documents and that runs fine from within<oXygen/> 12.1 either because I
> have 'DTD validation of the source' set to 'off' in my preferences or
> because Saxon is finding the DTD because I have an<oXygen/> framework for
> the document type.
>
> When I try to execute the stylesheet as part of a XProc pipeline, Calabash
> gives the error message:
>
> E:\path\DTD.dtd (The system cannot find the file specified)
>
> where 'DTD.dtd' is the system identifier in the DOCTYPE of the documents,
> which makes this look a lot like it's a Saxon error message.
>
> Is there a way to get<oXygen/> to run Calabash to run Saxon with -dtd:off
> or with catalogs?
>
> FWIW, here's the XProc step:
>
> <p:xslt>
> <p:input port="source">
> <p:empty/>
> </p:input>
> <p:input port="stylesheet">
> <p:document href="../XSLT/test2schematron.xsl"/>
> </p:input>
> <p:with-param name="path" select="$path">
> <p:empty/>
> </p:with-param>
> <p:with-option name="template-name" select="'main'"/>
> <p:with-option name="version" select="'2.0'"/>
> </p:xslt>
>
> Regards,
>
>
> Tony Graham
> Director W3C XSL FO SG Invited Expert
> Menteith Consulting Ltd XML Guild member
> XML, XSL and XSLT consulting, programming and training
> Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
> Registered in Ireland - No. 428599 http://www.menteithconsulting.com
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> xmlroff XSL Formatter http://xmlroff.org
> xslide Emacs mode http://www.menteith.com/wiki/xslide
> Unicode: A Primer urn:isbn:0-7645-4625-2
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list