You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ZhiHai Liu <Zh...@dyncorp-bksd.com> on 2000/09/20 21:25:16 UTC
XSP namespace
I tried to run the sample XSP program in Chapter 9: Web Publishing
Frameworks of "Java and XML". When I submit "entry.html" to
"chapterOne.xml", the error message was:
org.xml.sax.SAXParseException: The namespace prefix "xsp" was not declared.
In "chapterOne.xml", it is defined as
<xsp:page>
language="java"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>
I am using Cocoon 1.7.4.
Thanks,
Zhihai
Re: XSP namespace
Posted by ZhiHai Liu <Zh...@dyncorp-bksd.com>.
Thanks. I found the "JAVA_HOME" is not right in tomcat.bat, so it can not
find tools.jar.
At 04:29 PM 9/20/2000 -0400, you wrote:
>Hi,
>may be u dont have all the necessary jars in ur classpath.(if u r using
>JDK1.2 then tools.jar)
>HTH
>Sudhi
>
>
> > java.lang.NoClassDefFoundError: sun/tools/javac/Main
> >
> > At 09:58 PM 9/20/2000 +0200, you wrote:
> > >ZhiHai Liu wrote:
> > > >
> > > > I tried to run the sample XSP program in Chapter 9: Web Publishing
> > > > Frameworks of "Java and XML". When I submit "entry.html" to
> > > > "chapterOne.xml", the error message was:
> > > > org.xml.sax.SAXParseException: The namespace prefix "xsp" was not
> declared.
> > > >
> > > > In "chapterOne.xml", it is defined as
> > > > <xsp:page>
> > > > language="java"
> > > > xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> > > > >
> > > >
> > > > I am using Cocoon 1.7.4.
> > > >
> > > > Thanks,
> > > > Zhihai
> > > >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
Thanks,
Zhihai
Re: XSP namespace
Posted by sudhi <su...@insage.com>.
Hi,
may be u dont have all the necessary jars in ur classpath.(if u r using
JDK1.2 then tools.jar)
HTH
Sudhi
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
>
> At 09:58 PM 9/20/2000 +0200, you wrote:
> >ZhiHai Liu wrote:
> > >
> > > I tried to run the sample XSP program in Chapter 9: Web Publishing
> > > Frameworks of "Java and XML". When I submit "entry.html" to
> > > "chapterOne.xml", the error message was:
> > > org.xml.sax.SAXParseException: The namespace prefix "xsp" was not declared.
> > >
> > > In "chapterOne.xml", it is defined as
> > > <xsp:page>
> > > language="java"
> > > xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> > > >
> > >
> > > I am using Cocoon 1.7.4.
> > >
> > > Thanks,
> > > Zhihai
> > >
Re: XSP namespace
Posted by Donald Ball <ba...@webslingerZ.com>.
On Wed, 20 Sep 2000, ZhiHai Liu wrote:
> thanks, mac. sorry for my carelessness. After this change, the error
> message became:
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
read the FAQ, eh?
- donald
Re: XSP namespace
Posted by ZhiHai Liu <Zh...@dyncorp-bksd.com>.
thanks, mac. sorry for my carelessness. After this change, the error
message became:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
At 09:58 PM 9/20/2000 +0200, you wrote:
>ZhiHai Liu wrote:
> >
> > I tried to run the sample XSP program in Chapter 9: Web Publishing
> > Frameworks of "Java and XML". When I submit "entry.html" to
> > "chapterOne.xml", the error message was:
> > org.xml.sax.SAXParseException: The namespace prefix "xsp" was not declared.
> >
> > In "chapterOne.xml", it is defined as
> > <xsp:page>
> > language="java"
> > xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> > >
> >
> > I am using Cocoon 1.7.4.
> >
> > Thanks,
> > Zhihai
> >
>
>Maybe you've got an extra '>' in <xsp:page>
> ^
>
>It should read
>
><xsp:page language="java"
>xmlns:xsp="http://www.apache.org/1999/XSP/Core">
>
> mac
>
>--
>Mac Schwarz / AERIA Projekt / Inst. f. Klassische Archaeologie
>e-mail: mac@aeria.phil.uni-erlangen.de / Tel.: 09131-85-24791
> FAU Erlangen-Nuernberg / Kochstr.4 / 91054 Erlangen
> <http://www.phil.uni-erlangen.de/~p1altar/aeriahome.html>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
Thanks,
Zhihai
Re: XSP namespace
Posted by Mac Schwarz <mc...@phil.uni-erlangen.de>.
ZhiHai Liu wrote:
>
> I tried to run the sample XSP program in Chapter 9: Web Publishing
> Frameworks of "Java and XML". When I submit "entry.html" to
> "chapterOne.xml", the error message was:
> org.xml.sax.SAXParseException: The namespace prefix "xsp" was not declared.
>
> In "chapterOne.xml", it is defined as
> <xsp:page>
> language="java"
> xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> >
>
> I am using Cocoon 1.7.4.
>
> Thanks,
> Zhihai
>
Maybe you've got an extra '>' in <xsp:page>
^
It should read
<xsp:page language="java"
xmlns:xsp="http://www.apache.org/1999/XSP/Core">
mac
--
Mac Schwarz / AERIA Projekt / Inst. f. Klassische Archaeologie
e-mail: mac@aeria.phil.uni-erlangen.de / Tel.: 09131-85-24791
FAU Erlangen-Nuernberg / Kochstr.4 / 91054 Erlangen
<http://www.phil.uni-erlangen.de/~p1altar/aeriahome.html>