You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Arne Borkowski (borko.net)" <ar...@borko.net> on 2001/04/18 23:46:48 UTC
Validation?
Hi,
does any of you have Cocoon validate XML files against its DTD?
Any special arrangements for that?
Regards, Arne
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Validation?
Posted by Donald Ball <ba...@webslingerZ.com>.
On Thu, 19 Apr 2001, Arne Borkowski (borko.net) wrote:
> Hi,
>
> this is in my XSL file
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
> this is in my XML file
>
> <?xml version="1.0" standalone="no"?>
> <?xml-stylesheet href="/xsl/borko-net-html.xsl" type="text/xsl"?>
> <?cocoon-process type="xslt"?>
>
> <!DOCTYPE doc [
> <!ELEMENT doc (blah, lala)>
> ]>
>
> Where am I doing things wrong?
missing the DTD reference in the xsl stylesheet, i think. anyone have any
success with validation? i never use it myself.
- donald
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Validation?
Posted by "Arne Borkowski (borko.net)" <ar...@borko.net>.
Hi,
this is in my XSL file
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
this is in my XML file
<?xml version="1.0" standalone="no"?>
<?xml-stylesheet href="/xsl/borko-net-html.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>
<!DOCTYPE doc [
<!ELEMENT doc (blah, lala)>
]>
Where am I doing things wrong?
Regards, Arne
> -----Original Message-----
> From: Donald Ball [mailto:balld@webslingerZ.com]
> Sent: Thursday, April 19, 2001 6:34 PM
> To: cocoon-users@xml.apache.org
> Subject: RE: Validation?
>
>
> On Thu, 19 Apr 2001, Arne Borkowski (borko.net) wrote:
>
> > Of course I did and I receive the following error when accessing ANY
XML
> > file:
> >
> >
> > java.lang.RuntimeException:
> > Error while initializing XSP engine:
> > org.xml.sax.SAXParseException:
> > General Schema Error: Grammar with uri :
> > http://www.w3.org/1999/XSL/Transform , can not found.
>
> i reckon it's because your stylesheet doesn't contain a reference to the
> XSLT DTD. although, from the looks of it, it looks like maybe it's one
of
> the internal stylesheets used by xsp? hmm.
>
> - donald
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
RE: Validation?
Posted by Donald Ball <ba...@webslingerZ.com>.
On Thu, 19 Apr 2001, Arne Borkowski (borko.net) wrote:
> Of course I did and I receive the following error when accessing ANY XML
> file:
>
>
> java.lang.RuntimeException:
> Error while initializing XSP engine:
> org.xml.sax.SAXParseException:
> General Schema Error: Grammar with uri :
> http://www.w3.org/1999/XSL/Transform , can not found.
i reckon it's because your stylesheet doesn't contain a reference to the
XSLT DTD. although, from the looks of it, it looks like maybe it's one of
the internal stylesheets used by xsp? hmm.
- donald
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Validation?
Posted by "Arne Borkowski (borko.net)" <ar...@borko.net>.
Hi,
that's too easy to mention :-)
Of course I did and I receive the following error when accessing ANY XML
file:
java.lang.RuntimeException:
Error while initializing XSP engine:
org.xml.sax.SAXParseException:
General Schema Error: Grammar with uri :
http://www.w3.org/1999/XSL/Transform , can not found.
Why this?
Regards, Arne
> -----Original Message-----
> From: Donald Ball [mailto:balld@webslingerZ.com]
> Sent: Thursday, April 19, 2001 3:45 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: Validation?
>
>
> On Wed, 18 Apr 2001, Arne Borkowski (borko.net) wrote:
>
> > does any of you have Cocoon validate XML files against its DTD?
> > Any special arrangements for that?
>
> edit cocoon.properties and turn validation on.
>
> - donald
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Validation?
Posted by Donald Ball <ba...@webslingerZ.com>.
On Wed, 18 Apr 2001, Arne Borkowski (borko.net) wrote:
> does any of you have Cocoon validate XML files against its DTD?
> Any special arrangements for that?
edit cocoon.properties and turn validation on.
- donald
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>