Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle XML Parser: XSL-1013 - Error in expression: '/'.
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>
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
![]() |
![]() |