Hi
I'm trying out the URL rewrite with XSLTServlet (eXist rev 10340). I'm
getting the following issue, where an extra namespace declaration
(xmlns:xm) is added to my result.
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:xm="
http://www.w3.org/XML/1998/namespace" xml:lang="en"
version="XHTML+RDFa 1.0">
...
</html>
This causes Firefox to fail rendering the page with the error message:
XML Parsing Error: prefix must not be bound to one of the reserved
namespace names.
Attached is the files that I used to test this.
Thanks
Andrew
Test
Test
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="
http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:xhtml="
http://www.w3.org/1999/xhtml">
<xsl:output media-type="application/xhtml+xml" method="xhtml" omit-xml-declaration="no" indent="yes" doctype-public="-//W3C//DTD XHTML+RDFa 1.0//EN" doctype-system="
http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"/>
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="*|@*|comment()">
<xsl:copy>
<xsl:apply-templates select="@*|*|text()|comment()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open