You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by "Gregor J. Rothfuss" <gr...@apache.org> on 2004/12/15 17:42:37 UTC

centralizing the bxe usecase

Andreas Hartmann wrote:

> Is the change to the save method necessary due to a newer version
> of BXE?
> 
> If yes, is it still possible to use the BXE version that shipped
> with Lenya 1.2 (together with the old save method implemented by
> external publications)?

we need to figure out a way to make the bxe usecase more centralized. 
the current situation is suboptimal, as it leads to publications not 
getting fixes from upstream. the only thing that is really required are 
matchers for the config and xml usecases, the rest is the same across 
publications.

-- 
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


Re: centralizing the bxe usecase

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Andreas Hartmann wrote:

> OK, then we could consider the same principle as for the menubar:
> 
> - the main pipelines are in the core
>   (in this case, all the type="usecase/step" matchers)
> 
> - for specific XMLs (config, source XML) a standardized cocoon://
>   call is sent to the publication

cool. i will try it out in the trunk, and it can go into 1.2.2

-- 
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


Re: centralizing the bxe usecase

Posted by Andreas Hartmann <an...@apache.org>.
Gregor J. Rothfuss wrote:
> Andreas Hartmann wrote:
> 
>> Is the change to the save method necessary due to a newer version
>> of BXE?
>>
>> If yes, is it still possible to use the BXE version that shipped
>> with Lenya 1.2 (together with the old save method implemented by
>> external publications)?
> 
> 
> we need to figure out a way to make the bxe usecase more centralized. 
> the current situation is suboptimal, as it leads to publications not 
> getting fixes from upstream. the only thing that is really required are 
> matchers for the config and xml usecases, the rest is the same across 
> publications.

OK, then we could consider the same principle as for the menubar:

- the main pipelines are in the core
   (in this case, all the type="usecase/step" matchers)

- for specific XMLs (config, source XML) a standardized cocoon://
   call is sent to the publication

-- Andreas


---------------------------------------------------------------------
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


Possible bug with forms editor

Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
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