Loading ...
Sorry, an error occurred while loading the content.
 

jing and XML catalogs

Expand Messages
  • Chuck Bearden
    Is there a way to get jing to use XML catalog files to resolve the URLs in include/@href and externalRef/@href? Suppose my catalog will resolve a URL pointing
    Message 1 of 1 , Oct 7, 2008
      Is there a way to get jing to use XML catalog files to resolve the
      URLs in include/@href and externalRef/@href? Suppose my catalog will
      resolve a URL pointing to a schema like so:

      $ xmlcatalog -shell
      > system http://bluvv.net/technology/erk/schema/rng/1.0/erk-defs.rng
      file:///usr/share/xml/erk/schema/rng/1.0/erk-defs.rng
      >

      If I have the following pattern in my top-level schema:

      <include href="http://bluvv.net/technology/erk/schema/rng/1.0/erk-defs.rng">
      <define name="erk-text">
      <zeroOrMore>
      <choice>
      <text/>
      <ref name="spuvvy"/>
      <ref name="meedge"/>
      </choice>
      </zeroOrMore>
      </define>
      </include>

      , jing will retrieve the erk-defs.rng over the network from bluvv.net,
      while xmllint will get it from the local filesystem. Any way to
      persuade jing to use the catalog files?

      Thanks,
      Chuck
    Your message has been successfully submitted and would be delivered to recipients shortly.