OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] XSD and references to additional namespace

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

> -----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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS