Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Oracle XML Parser: XSL-1013 - Error in expression: '/'.

Oracle XML Parser: XSL-1013 - Error in expression: '/'.

From: Parker Dexter <google_at_cm51-210.liwest.at>
Date: 30 Apr 2002 03:26:30 -0700
Message-ID: <2520c138.0204300226.14ad3f9a@posting.google.com>


Hi,

i have a strange problem with the latest oracle parser (9.0....):

when i try to instanciate the following stylesheet

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:template match="/">

        <ROWSET>
            <xsl:apply-templates select="po" />
        </ROWSET>

    </xsl:template>
[...truncated...]

the parser throws an exception that there is an error in the expression "/" in line 4. (template match=...)

...and.. i think that could not be...

did you have that kind of exception before ? what can it be ? file.encoding ? file.separator ? maybe it has to do with the .xml file ?

the machine is an AIX 4.3, JRE1.3.0 from IBM

the exception is as follows:

file:/home/web/config/po.xsl<Line 3, Column 29>: XSL-1013: (Error) Error in expression: '/'.
org.xml.sax.SAXException: Error in expression: '/'.

        at java.lang.Exception.<init>(Exception.java:35)
        at org.xml.sax.SAXException.<init>(SAXException.java:54)
        at oracle.xml.parser.v2.XSLBuilder.startElement(XSLBuilder.java:390)
        at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java(Compiled
Code))
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:287)
        at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:254)
        at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:197)
        at oracle.xml.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:559)
        at POInterfaceServlet.doPost(POInterfaceServlet.java:139)
Received on Tue Apr 30 2002 - 05:26:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US