[oXygen-user] Catalogs are sometimes not working for resources referenced from RNC schema
Jirka Kosek
jirka at kosek.cz
Wed May 23 12:57:01 CDT 2012
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
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka at kosek.cz http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20120523/71c56ca5/attachment.bin
More information about the oXygen-user
mailing list