You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Peter Shipley <ps...@nomensa.com> on 2004/09/01 23:24:50 UTC
Default Lenya Editors Code Validity
Hi guys
I have recently noticed, and become slightly concerned over, the
validity of the html for the editors. They all seem to introduce
non-standard tags/attributes. All info was gathered using the live lenya
demo site and the tutorial.html page. The problems include:
1) BXE (attributes not valid) for doctype specified:
<html xmlns:xhtml="http://www.w3.org/1999/xhtml">
<title xmlns="">
2) Kupu (invalid tags) for doctype specified:
<xml id="kupuconfig">
<kupuconfig>
<dst>/default/authoring/tutorial.html?lenya.usecase=kupu&lenya.step=save</dst>
<use_css>1</use_css>
<reload_after_save>1</reload_after_save>
<strict_output>1</strict_output>
<content_type>application/xml</content_type>
<compatible_singletons>1</compatible_singletons>
<table_classes>
<class>plain</class>
<class>listing</class>
<class>grid</class>
<class>data</class>
</table_classes>
<exit_destination>/default/authoring/tutorial.html?lenya.usecase=kupu&lenya.step=exit</exit_destination>
<image_xsl_uri>/default/authoring/tutorial.html?lenya.usecase=kupu&lenya.step=imagedrawerxsl</image_xsl_uri>
<link_xsl_uri>/default/authoring/tutorial.html?lenya.usecase=kupu&lenya.step=linkdrawerxsl</link_xsl_uri>
<image_libraries_uri>/default/authoring/tutorial.html?lenya.usecase=kupu&lenya.step=image_libraries</image_libraries_uri>
<link_libraries_uri>/default/authoring/tutorial.html?lenya.usecase=kupu&lenya.step=link_libraries</link_libraries_uri>
<search_images_uri> </search_images_uri>
<search_links_uri> </search_links_uri>
</kupuconfig>
</xml>
3) Forms editor(invalid attributes) for doctype specified:
<img tagID="tag.1.3.5.1" loop="1" start="fileopen" >
<code tagID="tag.1.3.10.2">
<li tagID="tag.1.3.14.1">
Any thoughts on this ?
Regards
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Default Lenya Editors Code Validity
Posted by Peter Shipley <ps...@nomensa.com>.
Michael Wechner wrote:
> well, I get different errors (please see below). But anyway I am not
> able to confirm this problem:
>
> http://olr.kbs.uni-hannover.de:8888/default/authoring/tutorial/test101.html
>
> I just created this document and edited it three times with the 1 form
> editor. I guess it's rather that one of the other editors is doing
> something strange, but of course this will show up in the 1 form editor.
>
> Michi
>
> RELAX NG Validation failed:
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:2:152:
> error: required attributes missing
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:134:
> error: attribute "bottommargin" not allowed at this point; ignored
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:134:
> error: attribute "leftmargin" not allowed at this point; ignored
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:134:
> error: attribute "rightmargin" not allowed at this point; ignored
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:134:
> error: attribute "topmargin" not allowed at this point; ignored
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:286:
> error: attribute "loop" not allowed at this point; ignored
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:286:
> error: attribute "start" not allowed at this point; ignored
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:313:
> error: unfinished element
> /home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:513:
> error: unfinished element
>
Well, I edited the page you created in 1form and forms and no error
messages.
I created a new sub page, edited in Kupu and bing, an error opening it
up in 1form editor:
RELAX NG Validation failed:
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial/test101/test2.xml:2:152:
error: required attributes missing
The namespace declarations are missing after saving in Kupu - old
problem I think.
None-the-less the source html (not errors) still contains the tagID
attribute for the forms editor but as you say this might be specific to
the online demo. I will have a look tomorrow at a local installation.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Default Lenya Editors Code Validity
Posted by Michael Wechner <mi...@wyona.com>.
Peter Shipley wrote:
> Michael Wechner wrote:
>
>> strange, this attributes should actually be removed during saving
>> and only show up within the temporary file within the work directory.
>>
>> What is the path to the file your are refering to?
>
>
> Follow these steps:
>
> 1) Goto (login)
> http://olr.kbs.uni-hannover.de:8888/default/authoring/tutorial.html
> 2) Click Edit>Edit with forms
> 3) Read the html source and search for tagId as an attribute and not
> as part of the xupdate expressions
well, I get different errors (please see below). But anyway I am not
able to confirm this problem:
http://olr.kbs.uni-hannover.de:8888/default/authoring/tutorial/test101.html
I just created this document and edited it three times with the 1 form
editor. I guess it's rather that one of the other editors is doing
something strange, but of course this will show up in the 1 form editor.
Michi
RELAX NG Validation failed:
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:2:152:
error: required attributes missing
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:134:
error: attribute "bottommargin" not allowed at this point; ignored
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:134:
error: attribute "leftmargin" not allowed at this point; ignored
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:134:
error: attribute "rightmargin" not allowed at this point; ignored
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:134:
error: attribute "topmargin" not allowed at this point; ignored
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:286:
error: attribute "loop" not allowed at this point; ignored
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:286:
error: attribute "start" not allowed at this point; ignored
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:313:
error: unfinished element
/home/roku/jesse/cocoon-lenya/build/lenya/webapp/lenya/pubs/default/work/oneformeditor/authoring/tutorial.xml:18:513:
error: unfinished element
>
> Repeatable with concepts.html as well.
>
> Regards
>
> Pete
>
>
> ---------------------------------------------------------------------
> 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: Default Lenya Editors Code Validity
Posted by Peter Shipley <ps...@nomensa.com>.
Michael Wechner wrote:
> strange, this attributes should actually be removed during saving
> and only show up within the temporary file within the work directory.
>
> What is the path to the file your are refering to?
Follow these steps:
1) Goto (login)
http://olr.kbs.uni-hannover.de:8888/default/authoring/tutorial.html
2) Click Edit>Edit with forms
3) Read the html source and search for tagId as an attribute and not as
part of the xupdate expressions
Repeatable with concepts.html as well.
Regards
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Default Lenya Editors Code Validity
Posted by Michael Wechner <mi...@wyona.com>.
Peter Shipley wrote:
>
> 3) Forms editor(invalid attributes) for doctype specified:
> <img tagID="tag.1.3.5.1" loop="1" start="fileopen" >
> <code tagID="tag.1.3.10.2">
> <li tagID="tag.1.3.14.1">
strange, this attributes should actually be removed during saving
and only show up within the temporary file within the work directory.
What is the path to the file your are refering to?
Michi
>
>
>
> Any thoughts on this ?
>
> Regards
>
> Pete
>
>
> ---------------------------------------------------------------------
> 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