[oXygen-user] Relax and Catalog Resolution
George Cristian Bina
Wed Nov 2 03:28:13 CST 2005
Ah, and another thing, to have your documents portable it is better to
use the public location of the schema:
http://www.docbook.org/xml/5.0b1/rng/docbookxi.rng
and solve that through the catalog file to a local version.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
George Cristian Bina wrote:
> Dear Ray,
>
> There are two problems here, one I guess is a spelling error, you have a
> space after file:///
>
> > <?oxygen RNGSchema="file:/// _fooRngBase_/docbookxi.rng" type="xml"?>
> ------------------------------^
>
> The other problem is that if you turn on the catalog verbosity from
> Options you will see that oXygen tries to resolve the location
>
> file:/_fooRngBase_/docbookxi.rng
>
> through the catalog.
> You need to change the catalog to solve the locations starting with:
>
> file:/_fooRngBase_/
>
> instead of
>
> file:///_fooRngBase_/
>
> Best Regards,
> George
> ---------------------------------------------------------------------
> George Cristian Bina
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
>
> Ray Miller wrote:
>> Utilizing Oxygen-6.2, Docbook-5.0b1 and Windoz-XP
>>
>>
>>
>> The following Relax oXygen processing instruction:
>>
>>
>>
>> <?oxygen RNGSchema="file:/// _fooRngBase_/docbookxi.rng" type="xml"?>
>>
>>
>>
>> Does not resolve in the catalog:
>>
>> …
>>
>> …
>>
>> <group prefer="system" xml:base="file:///C:/usr/local/docbook/">
>>
>> <group xml:base="docbook-xml-5.0b1/">
>>
>> <rewriteSystem systemIdStartString="file:///_fooRngBase_/"
>> rewritePrefix="rng/"/>
>>
>> <rewriteURI uriStartString="file:///_fooRngBase_/"
>> rewritePrefix="rng/"/>
>>
>> </group>
>>
>> </group>
>>
>> …
>>
>> …
>>
>>
>>
>> When utilizing a dtd, catalog resolution is not a problem.
>>
>>
>>
>> Ray
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> oXygen-user mailing list
>>
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list