You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/06/02 12:53:37 UTC

DO NOT REPLY [Bug 9567] New: - [BUG] xmlform does not work with saxon

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9567>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9567

[BUG]  xmlform does not work with saxon

           Summary: [BUG]  xmlform does not work with saxon
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: frank.ridderbusch@gmx.de


Config: Linux 2.4 Kernel, IBM Java2 SDK 1.3.1, TOMCAT 4.0.4b3, Saxon 6.5.2
        Cocoon 2.1-dev CVS from Sunday June, 2nd
        xalan 2.3.1 is replaced with saxon.

CATALINA_OPTS includes the property 
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl

Using xmlform with xalan works just fine, but because of other problem with
xalan I try to use saxon. This leads to problems with xmlform.

The first problem is, that saxon appears to be more picky about 
namespaces/result-prefixes. The file

  samples/xmlform/stylesheets/wizard2html.xsl

excludes 'xalan' from results-prefixes without declaring a xalan namespace.
This can easily fixed by including 

  xmlns:xalan="http://xml.apache.org/xslt"

in the above file. However after including the above change, I'm getting a 
resource "/samples/xmlform/wizard.html" not found.

I'm attaching an error.log, which contains both error conditions
separated by a long line og '='.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org