[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] XSD and references to additional namespace
- From: "Michael Kay" <mike@saxonica.com>
- To: "'Dennis Sterzenbach'" <lists@radds.de>,<xml-dev@lists.xml.org>
- Date: Sun, 30 Sep 2007 10:28:56 +0100
There's no reason in principle why you can't reference the schema document
in its original W3C location. However, you might not get good performance
(and W3C might get uptight) if you run thousands of validations a second
without caching. Also the retrieval might fail if you are disconnected from
the web or behind a proxy server. So maintaining a local copy is what a lot
of people do.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Dennis Sterzenbach [mailto:lists@radds.de]
> Sent: 30 September 2007 00:36
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] XSD and references to additional namespace
>
> Hello,
>
> I have a list of XML files with statistics and glue these
> files for output using XInclude. Also all files are based on
> some XSD Schema.
>
> Unfortunately I have found only one solution to get my XSD
> Schema validation running with these elements referencing the
> external XInclude
> namespace:
> I downloaded the XInclude schema into a local copy
> xinclude.xsd and import the namespace via <xsd:import
> namespace="http://www.w3.org/2001/XInclude"
> schemaLocation="xinclude.xsd" />
> and declare references like
> <xsd:element ref="xi:include" minOccurs="0" maxOccurs="unbounded" />
>
> Managing local copies of the standards I want to reference
> sounds quite scary to me, is there any other option or better
> solution?
>
> Thanks in advance.
>
> -- Dennis Sterzenbach
>
> ______________________________________________________________
> _________
>
> XML-DEV is a publicly archived, unmoderated list hosted by
> OASIS to support XML implementation and development. To
> minimize spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org List archive:
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]