[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSD and references to additional namespace

  • From: "Michael Kay" <mike@s...>
  • To: "'Dennis Sterzenbach'" <lists@r...>,<xml-dev@l...>
  • Date: Sun, 30 Sep 2007 10:28:56 +0100

RE:  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
http://www.saxonica.com/

> -----Original Message-----
> From: Dennis Sterzenbach [mailto:lists@r...] 
> Sent: 30 September 2007 00:36
> To: xml-dev@l...
> Subject:  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@l...
> subscribe: xml-dev-subscribe@l... 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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.