You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Jonathan Linczak <li...@hiram.edu> on 2004/06/21 19:50:39 UTC
Form editor errors
Hi all,
On my continued quest for Lenya knowledge... When I edit a document in
the One Form Editor in Lenya (like, for example, changing one character
in a sentence), I get the following error when saving:
RELAX NG Validation failed:
/usr/local/jakarta-tomcat-4.0/temp/OneformEditor36645.tmp:2:44: error:
required attributes missing
/usr/local/jakarta-tomcat-4.0/temp/OneformEditor36645.tmp:20:45: error:
unfinished element
Can someone help me out as to why this would be happening? I checked
the document and there appears to be nothing wrong validation-wise...
Jon
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Andreas Kuckartz <A....@ping.de>.
See:
Editing object in forms editor causes RELAX NG problem
http://issues.apache.org/bugzilla/show_bug.cgi?id=29291
Andreas
----- Original Message -----
From: "Jonathan Linczak" <li...@hiram.edu>
To: "Lenya Users List" <le...@cocoon.apache.org>
Sent: Monday, June 21, 2004 7:50 PM
Subject: Form editor errors
> Hi all,
>
> On my continued quest for Lenya knowledge... When I edit a document in
> the One Form Editor in Lenya (like, for example, changing one character
> in a sentence), I get the following error when saving:
>
> RELAX NG Validation failed:
> /usr/local/jakarta-tomcat-4.0/temp/OneformEditor36645.tmp:2:44: error:
> required attributes missing
> /usr/local/jakarta-tomcat-4.0/temp/OneformEditor36645.tmp:20:45: error:
> unfinished element
>
> Can someone help me out as to why this would be happening? I checked
> the document and there appears to be nothing wrong validation-wise...
>
> Jon
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Andreas Hartmann <an...@apache.org>.
[...]
>
> Sure. What do folks think? Should we move to supporting tomcat-5.x
> in the build process? We can still retain Jetty as the default.
+1
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Andreas Hartmann wrote:
>
>>
>>
>> But if we nevertheless keep on supporting Tomcat, we could
>> consider supporting 5.0.* instead of 4.1.* (which would require
>> a small change in build.properties).
>
>
>
> one just needs to reset
>
> tomcat.home.dir=/usr/local/tomcat
>
> and
>
> tomcat.cache.dir=${tomcat.home.dir}/work/Standalone/localhost/lenya
In 5.0.*, this is
tomcat.cache.dir=${tomcat.home.dir}/work/Catalina/localhost/lenya
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Andreas Hartmann wrote:
>
>>
>>
>> But if we nevertheless keep on supporting Tomcat, we could
>> consider supporting 5.0.* instead of 4.1.* (which would require
>> a small change in build.properties).
>
>
>
> one just needs to reset
>
> tomcat.home.dir=/usr/local/tomcat
>
> and
>
> tomcat.cache.dir=${tomcat.home.dir}/work/Standalone/localhost/lenya
In 5.0.*, this is
tomcat.cache.dir=${tomcat.home.dir}/work/Catalina/localhost/lenya
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Michael Wechner <mi...@wyona.com>.
Jean Pierre LeJacq wrote:
>On Thu, 24 Jun 2004, Michael Wechner wrote:
>
>
>
>>Andreas Hartmann wrote:
>>
>>
>>
>>>But if we nevertheless keep on supporting Tomcat, we could
>>>consider supporting 5.0.* instead of 4.1.* (which would require
>>>a small change in build.properties).
>>>
>>>
>>one just needs to reset
>>
>>tomcat.home.dir=/usr/local/tomcat
>>
>>and
>>
>>tomcat.cache.dir=${tomcat.home.dir}/work/Standalone/localhost/lenya
>>
>>
>
>That's about it. We also need to update the install docs.
>
>
I have added a comment to build.properties.sample
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Michael Wechner <mi...@wyona.com>.
Jean Pierre LeJacq wrote:
>On Thu, 24 Jun 2004, Michael Wechner wrote:
>
>
>
>>Andreas Hartmann wrote:
>>
>>
>>
>>>But if we nevertheless keep on supporting Tomcat, we could
>>>consider supporting 5.0.* instead of 4.1.* (which would require
>>>a small change in build.properties).
>>>
>>>
>>one just needs to reset
>>
>>tomcat.home.dir=/usr/local/tomcat
>>
>>and
>>
>>tomcat.cache.dir=${tomcat.home.dir}/work/Standalone/localhost/lenya
>>
>>
>
>That's about it. We also need to update the install docs.
>
>
I have added a comment to build.properties.sample
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Thu, 24 Jun 2004, Michael Wechner wrote:
> Andreas Hartmann wrote:
>
> > But if we nevertheless keep on supporting Tomcat, we could
> > consider supporting 5.0.* instead of 4.1.* (which would require
> > a small change in build.properties).
>
> one just needs to reset
>
> tomcat.home.dir=/usr/local/tomcat
>
> and
>
> tomcat.cache.dir=${tomcat.home.dir}/work/Standalone/localhost/lenya
That's about it. We also need to update the install docs.
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Thu, 24 Jun 2004, Michael Wechner wrote:
> Andreas Hartmann wrote:
>
> > But if we nevertheless keep on supporting Tomcat, we could
> > consider supporting 5.0.* instead of 4.1.* (which would require
> > a small change in build.properties).
>
> one just needs to reset
>
> tomcat.home.dir=/usr/local/tomcat
>
> and
>
> tomcat.cache.dir=${tomcat.home.dir}/work/Standalone/localhost/lenya
That's about it. We also need to update the install docs.
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:
>
>
> But if we nevertheless keep on supporting Tomcat, we could
> consider supporting 5.0.* instead of 4.1.* (which would require
> a small change in build.properties).
one just needs to reset
tomcat.home.dir=/usr/local/tomcat
and
tomcat.cache.dir=${tomcat.home.dir}/work/Standalone/localhost/lenya
;-)
Michi
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:
>
>
> But if we nevertheless keep on supporting Tomcat, we could
> consider supporting 5.0.* instead of 4.1.* (which would require
> a small change in build.properties).
one just needs to reset
tomcat.home.dir=/usr/local/tomcat
and
tomcat.cache.dir=${tomcat.home.dir}/work/Standalone/localhost/lenya
;-)
Michi
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Andreas Hartmann <an...@apache.org>.
Andreas Kuckartz wrote:
> Andreas Hartmann wrote (on lenya-user):
>
>
>>>I find tomcat-5.x significantly better than 4.x. I recommend
>>>upgrading to that.
>>>
>>
>>Is Tomcat 5 already the current stable version?
>>If yes, would you like to make a proposal to switch on lenya-dev?
>
>
> I would suggest sticking with Jetty as the default.
Sure, I wouldn't recommend anything else.
But if we nevertheless keep on supporting Tomcat, we could
consider supporting 5.0.* instead of 4.1.* (which would require
a small change in build.properties).
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Andreas Hartmann <an...@apache.org>.
Andreas Kuckartz wrote:
> Andreas Hartmann wrote (on lenya-user):
>
>
>>>I find tomcat-5.x significantly better than 4.x. I recommend
>>>upgrading to that.
>>>
>>
>>Is Tomcat 5 already the current stable version?
>>If yes, would you like to make a proposal to switch on lenya-dev?
>
>
> I would suggest sticking with Jetty as the default.
Sure, I wouldn't recommend anything else.
But if we nevertheless keep on supporting Tomcat, we could
consider supporting 5.0.* instead of 4.1.* (which would require
a small change in build.properties).
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by to...@gcrud.org.
>> I would suggest sticking with Jetty as the default. One reason is that it
>> seems to be preferred by Apache Geronimo as their servlet engine.
I (and probably others) would like to understand the difference between
Tomcat and Jetty. It seems a bit strange to me if an Apache project
(Geronimo) is heading towards a non-Apache servlet container as their
default.
Will Tomcat become reduncant ... ???
Torsten
> Andreas Hartmann wrote (on lenya-user):
>
>> > I find tomcat-5.x significantly better than 4.x. I recommend
>> > upgrading to that.
>> >
>> Is Tomcat 5 already the current stable version?
>> If yes, would you like to make a proposal to switch on lenya-dev?
>
> I would suggest sticking with Jetty as the default. One reason is that it
> seems
> to be preferred by Apache Geronimo as their servlet engine. See
> http://geronimo.apache.org/ If a switch is discussed it should be a choice
> between Tomcat 5 and Jetty 5.
>
> That does not preclude supporting Tomcat as an alternative.
>
> Andreas
>
> BTW: Jetty 5.0.0 will be released Real Soon Now (perhaps before Lenya 1.2
> ;-).
> See http://jetty.mortbay.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Andreas Kuckartz <A....@ping.de>.
Andreas Hartmann wrote (on lenya-user):
> > I find tomcat-5.x significantly better than 4.x. I recommend
> > upgrading to that.
> >
> Is Tomcat 5 already the current stable version?
> If yes, would you like to make a proposal to switch on lenya-dev?
I would suggest sticking with Jetty as the default. One reason is that it seems
to be preferred by Apache Geronimo as their servlet engine. See
http://geronimo.apache.org/ If a switch is discussed it should be a choice
between Tomcat 5 and Jetty 5.
That does not preclude supporting Tomcat as an alternative.
Andreas
BTW: Jetty 5.0.0 will be released Real Soon Now (perhaps before Lenya 1.2 ;-).
See http://jetty.mortbay.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Tomcat 5 / Jetty 5 (Re: Form editor errors)
Posted by Andreas Kuckartz <A....@ping.de>.
Andreas Hartmann wrote (on lenya-user):
> > I find tomcat-5.x significantly better than 4.x. I recommend
> > upgrading to that.
> >
> Is Tomcat 5 already the current stable version?
> If yes, would you like to make a proposal to switch on lenya-dev?
I would suggest sticking with Jetty as the default. One reason is that it seems
to be preferred by Apache Geronimo as their servlet engine. See
http://geronimo.apache.org/ If a switch is discussed it should be a choice
between Tomcat 5 and Jetty 5.
That does not preclude supporting Tomcat as an alternative.
Andreas
BTW: Jetty 5.0.0 will be released Real Soon Now (perhaps before Lenya 1.2 ;-).
See http://jetty.mortbay.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Jean Pierre LeJacq wrote:
>
>>
>> Sure. What do folks think? Should we move to supporting tomcat-5.x
>> in the build process?
>
>
> I don't think there is anything to change within the build process, or
> is there
> something I am missing?
AFAIK only the default path of the work directory.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Michael Wechner <mi...@wyona.com>.
Jean Pierre LeJacq wrote:
>
>Sure. What do folks think? Should we move to supporting tomcat-5.x
>in the build process?
>
I don't think there is anything to change within the build process, or
is there
something I am missing?
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Jean Pierre LeJacq wrote:
> Sure. What do folks think? Should we move to supporting tomcat-5.x
> in the build process? We can still retain Jetty as the default.
>
> If we get enough votes, I'll enter a bug with a patch for the build
> process.
seems a good idea.
+1
--
Gregor J. Rothfuss
Wyona Inc. - Open Source Content Management - Apache Lenya
http://wyona.com http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Eric Rodriguez <to...@yahoo.com>.
Jean Pierre LeJacq wrote:
>On Wed, 23 Jun 2004, Andreas Hartmann wrote:
>
>
>
>>Jean Pierre LeJacq wrote:
>>
>>
>>
>>>I find tomcat-5.x significantly better than 4.x. I recommend
>>>upgrading to that.
>>>
>>>
>>Is Tomcat 5 already the current stable version?
>>
>>
>
>Yes. The latest release is 5.0.25.
>
>
>
>
>>If yes, would you like to make a proposal to switch on lenya-dev?
>>
>>I think only small changes are needed (tomcat work path
>>in build.properties).
>>
>>
>
>Sure. What do folks think? Should we move to supporting tomcat-5.x
>in the build process? We can still retain Jetty as the default.
>
>If we get enough votes, I'll enter a bug with a patch for the build
>process.
>
>
>
One vote for Tomcat.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Wed, 23 Jun 2004, Andreas Hartmann wrote:
> Jean Pierre LeJacq wrote:
>
> > I find tomcat-5.x significantly better than 4.x. I recommend
> > upgrading to that.
>
> Is Tomcat 5 already the current stable version?
Yes. The latest release is 5.0.25.
> If yes, would you like to make a proposal to switch on lenya-dev?
>
> I think only small changes are needed (tomcat work path
> in build.properties).
Sure. What do folks think? Should we move to supporting tomcat-5.x
in the build process? We can still retain Jetty as the default.
If we get enough votes, I'll enter a bug with a patch for the build
process.
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Andreas Hartmann <an...@apache.org>.
Jean Pierre LeJacq wrote:
> On Tue, 22 Jun 2004, Dale Christ wrote:
>
>
>>Lenya runs fine with Tomcat 4.1.x, although I use Tomcat 5.0.19,
>>and haven't seen any problems.
>
>
> I find tomcat-5.x significantly better than 4.x. I recommend
> upgrading to that.
>
Is Tomcat 5 already the current stable version?
If yes, would you like to make a proposal to switch on lenya-dev?
I think only small changes are needed (tomcat work path
in build.properties).
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Tue, 22 Jun 2004, Dale Christ wrote:
> Lenya runs fine with Tomcat 4.1.x, although I use Tomcat 5.0.19,
> and haven't seen any problems.
I find tomcat-5.x significantly better than 4.x. I recommend
upgrading to that.
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Dale Christ <gr...@gmail.com>.
Jon--
On Tue, 22 Jun 2004 14:34:31 -0400, Jonathan Linczak
<li...@hiram.edu> wrote:
>
> Michael, so you would recommend upgrading to the latest CVS version for
> Lenya? This may get off topic, but would I need to upgrade Tomcat or
> Cocoon or anything? Will just running the commands here:
> http://cocoon.apache.org/lenya/installation/cvs.html do the trick?
Yes. The latest CVS version, runs pretty well. Cocoon 2.1.5 is what
I use in my testing for the latest CVS.
Lenya runs fine with Tomcat 4.1.x, although I use Tomcat 5.0.19, and
haven't seen any problems.
HTH
--Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Jonathan Linczak <li...@hiram.edu>.
Michael, so you would recommend upgrading to the latest CVS version for
Lenya? This may get off topic, but would I need to upgrade Tomcat or
Cocoon or anything? Will just running the commands here:
http://cocoon.apache.org/lenya/installation/cvs.html do the trick?
Jon
On Jun 21, 2004, at 6:05 PM, Michael Wechner wrote:
> Jean Pierre LeJacq wrote:
>
>>
>>>
>>> <html xmlns="http://www.w3.org/1999/xhtml">
>>>
>>> Would this be the culprit, and if so, should the default
>>> publication's
>>> version always be the same for all publications?
>>>
>>
>> Yep, this is the problem. You need the full set of attributes
>> including the dummy ones.
>>
>
> I think the one form editor doesn't mind that, but the multiple form
> editor
> does have a problem if the dummy attributes within the root element
> are missing (see the FIXME within
>
> src/java/org/apache/lenya/cms/cocoon/acting/HTMLFormSaveAction.java)
>
> but the problem with the tmp file (which occured running under
> Windows) is fixed
> in the recent version.
>
> HTH
>
> Michi
>
>
> --
> Michael Wechner
> Wyona Inc. - Open Source Content Management - Apache Lenya
> http://www.wyona.com http://cocoon.apache.org/lenya/
> michael.wechner@wyona.com michi@apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Michael Wechner <mi...@wyona.com>.
Jean Pierre LeJacq wrote:
>
>>
>><html xmlns="http://www.w3.org/1999/xhtml">
>>
>>Would this be the culprit, and if so, should the default publication's
>>version always be the same for all publications?
>>
>>
>
>Yep, this is the problem. You need the full set of attributes
>including the dummy ones.
>
>
I think the one form editor doesn't mind that, but the multiple form editor
does have a problem if the dummy attributes within the root element are
missing (see the FIXME within
src/java/org/apache/lenya/cms/cocoon/acting/HTMLFormSaveAction.java)
but the problem with the tmp file (which occured running under Windows)
is fixed
in the recent version.
HTH
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Mon, 21 Jun 2004, Jonathan Linczak wrote:
> Indeed, I do have version 1.2. I copied the default publication into
Unfortunately, there are many versions of version 1.2 :-( I suggest
you get the CVS tagged version RELEASE_1_2.
> another publication, and have been making the changes there. However,
> I tried editing a word in the default publication and it worked fine.
> The default publication has the following HTML tag:
>
> <html xmlns="http://www.w3.org/1999/xhtml"
> dc:dummy="FIXME:keepNamespace"
> xmlns:dc="http://purl.org/dc/elements/1.1/"
> dcterms:dummy="FIXME:keepNamespace"
> xmlns:dcterms="http://purl.org/dc/terms/"
> lenya:dummy="FIXME:keepNamespace"
> xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
> xhtml:dummy="FIXME:keepNamespace"
> xmlns:xhtml="http://www.w3.org/1999/xhtml">
>
> whereas, for some reason, the publication I created, which was a copy
> of the Default Publication, looks like this:
>
> <html xmlns="http://www.w3.org/1999/xhtml">
>
> Would this be the culprit, and if so, should the default publication's
> version always be the same for all publications?
Yep, this is the problem. You need the full set of attributes
including the dummy ones.
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Jonathan Linczak <li...@hiram.edu>.
Indeed, I do have version 1.2. I copied the default publication into
another publication, and have been making the changes there. However,
I tried editing a word in the default publication and it worked fine.
The default publication has the following HTML tag:
<html xmlns="http://www.w3.org/1999/xhtml"
dc:dummy="FIXME:keepNamespace"
xmlns:dc="http://purl.org/dc/elements/1.1/"
dcterms:dummy="FIXME:keepNamespace"
xmlns:dcterms="http://purl.org/dc/terms/"
lenya:dummy="FIXME:keepNamespace"
xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
xhtml:dummy="FIXME:keepNamespace"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
whereas, for some reason, the publication I created, which was a copy
of the Default Publication, looks like this:
<html xmlns="http://www.w3.org/1999/xhtml">
Would this be the culprit, and if so, should the default publication's
version always be the same for all publications?
Jon
On Jun 21, 2004, at 2:56 PM, Jean Pierre LeJacq wrote:
> On Mon, 21 Jun 2004, Jonathan Linczak wrote:
>
> > On my continued quest for Lenya knowledge... When I edit a document
> in
> > the One Form Editor in Lenya (like, for example, changing one
> character
> > in a sentence), I get the following error when saving:
> >
> > RELAX NG Validation failed:
> > /usr/local/jakarta-tomcat-4.0/temp/OneformEditor36645.tmp:2:44:
> error:
> > required attributes missing
>
> Which version of lenya are you using? This is a known bug which I
> believe is fixed in the tagged 1.2 release. See Bug# 25570. I've
> also seen this error if the dummy namespace attributes aren't in the
> <html> element. Are you editing the default publication?
>
>
>
> > /usr/local/jakarta-tomcat-4.0/temp/OneformEditor36645.tmp:20:45:
> error:
> > unfinished element
>
> The document isn't valid. Probably you didn't include a closing
> tag.
>
>
>
> > Can someone help me out as to why this would be happening? I checked
> > the document and there appears to be nothing wrong
> validation-wise...
>
> Send me the document and I'll take a look.
>
> --
> JP
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Form editor errors
Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Mon, 21 Jun 2004, Jonathan Linczak wrote:
> On my continued quest for Lenya knowledge... When I edit a document in
> the One Form Editor in Lenya (like, for example, changing one character
> in a sentence), I get the following error when saving:
>
> RELAX NG Validation failed:
> /usr/local/jakarta-tomcat-4.0/temp/OneformEditor36645.tmp:2:44: error:
> required attributes missing
Which version of lenya are you using? This is a known bug which I
believe is fixed in the tagged 1.2 release. See Bug# 25570. I've
also seen this error if the dummy namespace attributes aren't in the
<html> element. Are you editing the default publication?
> /usr/local/jakarta-tomcat-4.0/temp/OneformEditor36645.tmp:20:45: error:
> unfinished element
The document isn't valid. Probably you didn't include a closing
tag.
> Can someone help me out as to why this would be happening? I checked
> the document and there appears to be nothing wrong validation-wise...
Send me the document and I'll take a look.
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org