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

RE: Is it an error if can't resolve uri-reference?

Subject: RE: Is it an error if can't resolve uri-reference?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 26 Apr 2004 10:53:32 +0100
xsl include error
The XSLT 1.0 spec contains a number of statements about what is supposed to
happen:

The xsl:include element has an href attribute whose value is a URI reference
identifying the stylesheet to be included. A relative URI is resolved
relative to the base URI of the xsl:include element (see [3.2 Base URI])...
The resource located by the href attribute value is parsed as an XML
document, and the children of the xsl:stylesheet element in this document
replace the xsl:include element in the including document.

You have to read all these statements with an implicit "If possible then X
happens, otherwise an error is signaled".

> -----Original Message-----
> From: Bob Foster [mailto:bob@xxxxxxxxxx] 
> Sent: 24 April 2004 15:52
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Is it an error if can't resolve uri-reference?
> 
> Michael Kay wrote:
> >>Is it an error if, when processing an include or import element, a 
> >>stylesheet processor can't resolve the href uri-reference?
> > 
> > 
> > Yes, it's an error.
> > 
> >>The 1.0 spec doesn't say that it is. Or did I miss it?
> > 
> > 
> > The 1.0 spec doesn't try to list all the things that can go wrong.
> 
> Is there any document that does? How is an implementor supposed to 
> decide whether to treat this as an error or ignore it?
> 
> I know this is all water under the bridge for you, but now 
> you've got me 
> wondering what other errors (not implied by syntax or 
> described by other 
> specs) aren't called out in the spec?
> 
> Bob Foster

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

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
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-2013 All Rights Reserved.