Subject: RE: [xsl] document() function not working in Saxon 7.8 From: "Markus Gamperl" <markus.gamperl@xxxxxx> Date: Tue, 10 Feb 2004 13:26:44 +0100 (MET) |
Hello! I'm using Java JDK 1.4.1 I'll open a TAR in the Saxon list - Thanks Markus > Saxon-specific questions are better raised on the saxon-help list at > sourceforge.net, rather than bothering everyone on this list. > > What has changed between 7.4 and 7.8 is that Saxon now uses the > java.net.URI class to handle URIs, instead of the java.net.URL class. > The new class interprets the requirements of RFC 2396 more rigorously. > > Having said that, I can't see what's wrong with either the relative URI > or the absolute URI in your example, and I can't reproduce the problem > when I run a similar transform with URIs that closely resemble these. > Please switch over to the Saxon list, and supply more information about > how you are running the transformation. > > (Are you using the Sun JDK? I have had reports of problems from people > running the IBM JDK) > > > -----Original Message----- > > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > > Markus Gamperl > > Sent: 09 February 2004 14:02 > > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > > Subject: [xsl] document() function not working in Saxon 7.8 > > > > > > Hello! > > > > The following template: > > > > <xsl:template match="url"> > > <xsl:copy-of select="document(.)/page/*"/> > > <url> > > <xsl:attribute name="page_id"><xsl:value-of > > select="translate(@page_id,':','_')"/></xsl:attribute> > > <xsl:value-of select="."/> > > <xsl:apply-templates/> > > </url> > > </xsl:template> > > > > This works in Saxon 7.2, 7.4 BUT NOT in Saxon 7.8 - there i > > get the following error: "Invalid URI > > [./dir1/dir2/dir3/x.xml] - base [file:/X:/index.xml]" > > > > Is there a way to get this template running in Saxon 7.8? > > > > Thanks > > Markus > > > > -- > > GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 > > EUR/Monat...) jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ > http://www.gmx.net/derspiegel +++ > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > -- GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...) jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] document() function not w, Michael Kay | Thread | [xsl] How to implement "if else if , Kotes Mogili |
[xsl] Normalize / Simplify HTML-Tab, Markus Reinsch | Date | RE: [xsl] Value at position(), SHEIKH Sajjad |
Month |