[oXygen-user] Catalogs are sometimes not working for resources referenced from RNC schema

Dan Caprioara dan at sync.ro
Thu May 24 03:44:02 CDT 2012


Hello Jirka,

We reproduced the problem. There is indeed a problem passing the catalog 
resolver to Jing. We'll get back with details.

Regards,
Dan
--
Dan Caprioara
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 5/23/2012 8:57 PM, Jirka Kosek wrote:
> Hi,
>
> I have just realized that references inside RELAX NG compact schema are
> not dereferenced using XML catalogs in some situations.
>
> How to reproduce problem:
>
> mydocbook.rnc:
> include "http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rnc"
>
> start |= db.qandaentry
>
> sample.xml
> <?xml-model href="mydocbook.rnc"
> type="application/relax-ng-compact-syntax"?>
> <qandaentry xmlns="http://docbook.org/ns/docbook" version="5.0"
> xml:lang="cs">
>    ...
> </qandaentry>
>
> Content completition is not working now. The reason is that
> http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rnc is not
> loaded through catalog (there is local copy in oXygen) and as this file
> is not available at OASIS site at this moment, oXygen (or Jing) is
> silent but schema is probably not loaded as completition doesn't work.
> What's really strange is that validation works and schema is loaded,
> probably using XML catalog.
>
> Any clue how to make this work? It works with schemas in XML syntax. And
> also it works if I use schema from
> http://docbook.org/xml/5.0/rng/docbookxi.rnc but there is visible lag as
> schema is fetched over Internet not from local copy using catalog.
>
> Thanks in advance,
>
> 					Jirka
>
>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list