Home » Developer & Programmer » JDeveloper, Java & XML » Bizarre XSL Problem
Bizarre XSL Problem [message #91914] Thu, 07 August 2003 06:18 Go to next message
James Bradburn
Messages: 4
Registered: November 2001
Junior Member
I have a problem with the following XSL style sheet

<?xml version="1.0" encoding="UTF-8"?>
&ltxsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
&ltxsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
&ltxsl:template match="/">
&ltequity1>
&lterrors/>
&ltxsl:for-each select="rmlResults/errorList/error">
&lterror>
&ltdescription>
&ltxsl:value-of select="description"/>
</description>
</error>
</xsl:for-each>
&ltxsl:for-each select="rmlResults/runAnalysis/statResults/statResult">
&ltxsl:sort select="statisticName" data-type="text" order="ascending" />
&ltxsl:sort select="drilldownName" data-type="text" order="ascending" />
&ltstatName>&ltxsl:value-of select="statisticName" /></statName>
&ltddName>&ltxsl:value-of select="drilldownName" /></ddName>
</xsl:for-each>
</equity1>
</xsl:template>
</xsl:stylesheet>

The use of two sort tags causes dbms_xslprocessor.processxsl to return an error on transforming a well formed XML source document. Removing either of the sorts stops the error message from appearing.

Has anyone seen this problem, surely XML support in Oracle 9i Release 2 (9.2.0.3) supports multiple sorts?

The error is:

ORA-31011 XML parsing failed
ORA-19202 Error occurred in XML processing
LPX-00302 Incorrect stylesheet. The node is not valid.
ORA-06512 @ etc etc...

Thanks very much to anyone who can shed light on this issue.

James Bradburn
Re: Bizarre XSL Problem [message #92344 is a reply to message #91914] Wed, 09 June 2004 12:17 Go to previous message
kurosch
Messages: 1
Registered: June 2004
Junior Member
I just hit this error today (June 9, 2004) and we're using 9.2.0.4
Previous Topic: Running DBMS_XMLQuery.getXML in 8.1.7
Next Topic: Problems with Developer Suite
Goto Forum:
  


Current Time: Tue Apr 23 04:59:50 CDT 2024