xsl-list
[Top] [All Lists]

RE: xsl:include and validation

2005-10-14 14:50:36
The problem is that Saxon (8.5) tries to validate the 
included stylesheet, 

No, Saxon doesn't try to validate your stylesheet modules. It's the XML
parser that's doing it. Saxon doesn't ask the XML parser to do it, so
there's something else in your configuration that's requesting it. Perhaps
you've fetched the included stylesheet modules using a URIResolver that's
requesting validation.

Michael Kay
http://www.saxonica.com/



Also, isn't the 
XSLT processor 
supposed to create a single stylesheet from all the included 
stylesheets 
(that is, resolve all the references) and then process the source 
documents? So, when instructed to validate, shouldn't it resolve 
xsl:include and then parse (and validate) the source document 
and then 
start transforming the source document's content? Or have I 
misunderstood 
something?

Anyway, I guess I don't see an included stylesheet as being a source 
document. In my view of things, it's part of the stylesheet that will 
control the transformation. It just happens to be stored in a 
separate 
file until transformation time. To me, the source is the 
content that gets 
transformed, not the stylesheet that does the transforming 
(regardless of 
how many files it occupies).

Enough grumbling. Other than moving the style information 
into the main 
XSL file, how do I correct the situation so that the error goes away?

Thanks.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>