You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Ming Huang <mi...@aol.com> on 2000/12/10 19:10:48 UTC
xml-cocoon/6955: xsp sample coming with cocoon 1.8 does not work
>Number: 6955
>Category: xml-cocoon
>Synopsis: xsp sample coming with cocoon 1.8 does not work
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: xml
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: support
>Submitter-Id: apache
>Arrival-Date: Sun Dec 10 10:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: mingxiak@aol.com
>Release: cocoon 1.8
>Organization:
apache
>Environment:
window NT and window 95; weblogic 4.5.1; jdk1.2.2
>Description:
I am using cocoon version 1.8 with weblogic4.5.1. While there is no problem to run other samples or to display my own xml data using a stylesheet, I just can not run the sample under cocoon-1.8/samples/xsp dir correctly (Not even the simplest xsp sample which does not use taglib at all). No matter I call it directly from browser or click the link from the index.xml screen, I always get an error msg as follows:
java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V not found
at org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java, Compiled Code)
at org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java, Compiled Code)
at org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess(XSPJavaPreprocessor.java:81)
at org.apache.cocoon.processor.xsp.XSPLogicsheet.apply(XSPLogicsheet.java:99)
at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java, Compiled Code)
at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
..........
Can you tell me what is wrong there?
Thank you!
Ming
>How-To-Repeat:
After install cocoon 1.8 into weblogic 4.5.1, and copy the cocoon samples dir into a new 'xml' dir under weblogic's document root (All follow your install instruction), call "http://localhost:7001/xml/samples/xsp/page.xml" from browser or click "First XSP Page" link from http://localhost:7001/xml/samples/index.xml screen.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]