My Oracle Support Banner

XML-25008 When Trying to Find the Stylesheet as XML DB Repository Resource (Doc ID 1324253.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle XML Developers Kit - Version: 11.2.0.1 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms


When trying to find the stylesheet and referred XML file in Oracle XML DB Repository it does not work:

In XSQL file there is a reference to the stylesheet like this:
<?xml-stylesheet type="text/xsl" href="/public/my_stylesheet.xsl" ?>

In the stylesheet there is a reference to the XML file like this
select="document('/public/my_test.xml')"

You try to run it with XSQL command line and get XML-25008:
>java oracle.xml.xsql.XSQLCommandLine mytest.xsql
Oracle XML Developers Kit 11.2.0.1.0 - Production
XML-25008: Cannot find XSLT Stylesheet: /public/my_stylesheet.xsl

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
  Symptoms
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.