On 4 May, 20:34, jabbett <[EMAIL PROTECTED]> wrote:
> I have several XML schemas which import other schemas from Internet-
> based locations, i.e.:
>
> <import namespace="http://indivo.org/xml/phr/contact"
> schemaLocation="http://indivo.org/xml/phr/contact.xsd"/>
>
> This works fine when the schemaLocation actually exists, but for
> software-in-development, that's not always the case. In such
> situations, our practice is to use a catalog file, which will contain
> entries like:
>
> SYSTEM "http://indivo.org/xml/phr/contact.xsd" "./contact.xsd"
>
> (Ours are OASIS TR9401 catalogs, but there's no reason we couldn't be
> using XML catalogs.)
>
> This informs a schema consumer that any references to a URL should
> instead be retrieved from another location, in this example, a local
> file. More info
> here:http://xml.apache.org/commons/components/resolver/resolver-article.ht...
>
> Is there any way I can use a catalog file with SDO/DAS, or mimic such
> functionality?
>
> Thank you kindly,
> Jonathan Abbett
Hi Jonathan. I dont't know off the top of my head. There has been some
work done recently on caching XML schema in the SCA implementation but
I don't believe this extended to referring to catalog entries.
Although I may be wrong. I'm hoping Matthew will jump in here and
correct me as he did the caching work. Our SDO implementation is based
on the Tuscany SDO implementation (which in turn uses Libxml2 under
the covers) so I'll go an have a look and see if it supports catalogs.
Regards
Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"phpsoa" group.
To post to this group, send email to phpsoa@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---