You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Jean Pierre LeJacq <jp...@quoininc.com> on 2004/12/15 18:48:20 UTC

Possible bug with forms editor

I'm running lenya-1.2.1 r111847 with cocoon-2.1.6.  When I try to
save a document from the forms editor, I get the following error:

  Attribute name "tagID" associated with an element type "html" must
  be followed by the ' = ' character.

Can someone confirm this?

-- 
JP



---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Possible bug with forms editor

Posted by Edith Chevrier <ed...@wyona.com>.
Michael Wechner wrote:

> Jean Pierre LeJacq wrote
>
>>  >
>>
>> The problem seems to be with the default namespace being stripped by
>> the forms editor.
>>
>> Is there a proper set of namespace and dummy attributes to use?  Or
>> is this a bug recently introduced into the code?
>>  
>>
>
> I am not aware of any changes within the actual code.
> But XSLT is being used during saving:
>
> src/java/org/apache/lenya/cms/cocoon/acting/HTMLFormSaveAction.java
>
> So switching the XSLT processor library might cause a problem
>
> just my 2 cents
>
> Michi
>
Yes. It seems to be the same problem as this of the save for the BXE.
Edith.

>> Thanks,
>>
>>  
>>
>
>


-- 
Edith Chevrier
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                          http://lenya.apache.org
edith.chevrier@wyona.com                         edith@apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Possible bug with forms editor

Posted by Michael Wechner <mi...@wyona.com>.
Jean Pierre LeJacq wrote

>  >
>
>The problem seems to be with the default namespace being stripped by
>the forms editor.
>
>Is there a proper set of namespace and dummy attributes to use?  Or
>is this a bug recently introduced into the code?
>  
>

I am not aware of any changes within the actual code.
But XSLT is being used during saving:

src/java/org/apache/lenya/cms/cocoon/acting/HTMLFormSaveAction.java

So switching the XSLT processor library might cause a problem

just my 2 cents

Michi

>Thanks,
>
>  
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Possible bug with forms editor

Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Wed, 15 Dec 2004, Gregor J. Rothfuss wrote:

> Jean Pierre LeJacq wrote:
> > I'm running lenya-1.2.1 r111847 with cocoon-2.1.6.  When I try to
> > save a document from the forms editor, I get the following error:
> >
> >   Attribute name "tagID" associated with an element type "html" must
> >   be followed by the ' = ' character.
> >
> > Can someone confirm this?
>
> confirmed. this has the same cause as the recent lenya:dummy discussion.
> for more, see
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=32543

I don't quite understand what's required to be done.  If my document
has the following namespaces and dummy attributes defined:

<html
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
  xhtml:dummy="FIXME:keepNamespace"
  dc:dummy="FIXME:keepNamespace"
  lenya:dummy="FIXME:keepNamespace"
  >

The forms editor writes this out in the work area:

<html
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
  dc:dummy="FIXME:keepNamespace"
  lenya:dummy="FIXME:keepNamespace"
  tagID="tag.1"
  :dummy="FIXME:keepNamespace"
  >

The problem seems to be with the default namespace being stripped by
the forms editor.

Is there a proper set of namespace and dummy attributes to use?  Or
is this a bug recently introduced into the code?

Thanks,

-- 
JP



---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Possible bug with forms editor

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Jean Pierre LeJacq wrote:
> I'm running lenya-1.2.1 r111847 with cocoon-2.1.6.  When I try to
> save a document from the forms editor, I get the following error:
> 
>   Attribute name "tagID" associated with an element type "html" must
>   be followed by the ' = ' character.
> 
> Can someone confirm this?

confirmed. this has the same cause as the recent lenya:dummy discussion. 
for more, see

http://issues.apache.org/bugzilla/show_bug.cgi?id=32543


-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org