W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > September 2004

Re: FW: how does XInclude mix with XML Schema? XSLT?

From: Dan Connolly <connolly@w3.org>
Date: Fri, 10 Sep 2004 17:19:03 -0500
To: daniel@veillard.com
Cc: Jonathan Marsh <jmarsh@microsoft.com>, public-xml-core@w3.org, www-xml-xinclude-comments@w3.org
Message-Id: <1094854742.6086.483.camel@dirk>

On Sat, 2004-09-04 at 03:25, Daniel Veillard wrote:
> On Fri, Sep 03, 2004 at 02:27:32PM -0700, Jonathan Marsh wrote:
> > -----Original Message-----
> > From: www-xml-xinclude-comments-request@w3.org
> > [mailto:www-xml-xinclude-comments-request@w3.org] On Behalf Of Dan
> > Connolly
> > Sent: Monday, August 30, 2004 1:02 PM
> > To: www-xml-xinclude-comments@w3.org
> > Subject: how does XInclude mix with XML Schema? XSLT?
> > 
> > 
> > Are there test cases of XInclude used in XML Schemas?
> > in XSLT transformations? What are the results?
> > 
> > 
> > -- 
> > Dan Connolly, W3C http://www.w3.org/People/Connolly/
> 
>   It is unclear what "XInclude used in XML Schemas" means.
> That could mean XSD schemas using XInclude instead of xsd:include
> to generate bigger schemas, and in that case I don't really see the
> point.

It seems useful to make a test case for that situation and
label it "don't do that; you're on your own if you do."

>  That could also mean XSD validating the result of an XInclude 
> transformation but in that case what could be the problem, XInclude
> generate an Infoset, and XSD works on an input infoset, I never heard
> any problem with this.

Seems worth capturing the fact that it works in a test case.

>   For XInclude and XSLT, yes this is used, people are using XInclude
> to assemble large documents, and combine the XInclude and XSLT pass,
> this is available as xsltproc --xinclude flag for example. It works
> since if this feature breaks in some way I get bug reports.

Again, that seems to merit a test case.

>  I also add
> to pass the XInclude option down at the XSLT processor level since
> people also wanted XInclude to apply to document() loaded parts.
> 
> Daniel
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 10 September 2004 22:18:45 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:10 GMT