unknown issue with namespace
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 3
- Joined: Tue Oct 16, 2007 4:15 pm
unknown issue with namespace
Hallo.
Trying to get PDF from xml and xsl-fo. In one place I need to use node-set.
For that reason I declare namespace (msxsl) in xsl file:
After this in a table (just for testing) I do like this:
Trying to processing this with FOP, but I get:
I've tryed to use node-set() just in XML-XSL transformation with the same example and everything was ok, why FOP throws this error?
Any suggestions?
Thank you.
Trying to get PDF from xml and xsl-fo. In one place I need to use node-set.
For that reason I declare namespace (msxsl) in xsl file:
Code: Select all
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:msxsl="urn:schemas-microsoft-com:xsltn">
...
Code: Select all
...
<xsl:variable name="some_set">
<xsl:for-each select="CD[CD_TYPE = 'R']">
<xsl:sort data-type="number" select="NR"/>
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
<fo:table-row>
<fo:table-cell border-width="0pt" number-columns-spanned="9" padding="2pt">
<fo:block text-align="start"><xsl:value-of select="msxsl:node-set($some_set)/CD[1]/NR"/></fo:block>
</fo:table-cell>
</fo:table-row>
...
Code: Select all
oracle.xml.parser.v2.XPathException: Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.
at oracle.xml.parser.v2.XSLBuilder.startElement(XSLBuilder.java:421)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1227)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:250)
at oracle.xml.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:587)
at FopServlet.renderSVGdom(FopServlet.java:446)
at FopServlet.doPost(FopServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Any suggestions?
Thank you.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
It seems that you get the error when you run a transformation in an Oracle application server which has no connection with the oXygen XML Editor. You will have to contact the support staff of that product.
Regards,
Sorin
It seems that you get the error when you run a transformation in an Oracle application server which has no connection with the oXygen XML Editor. You will have to contact the support staff of that product.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service