Berin,

Sorry for the delay in answering...There are two Use-Case Scenarios.
UseCase #1: A Developer who is writing a new LogicSheet
UseCase #2: A Consumer who is using one or more LogicSheets in his XSP.

I'd consider XSP System broken IF-AND-ONLY-IF UseCase #2 has problems because of the 
order of
LogicSheets in his XSP. Is this the case?

Thanks,
dims


--- Berin Loritsch <[EMAIL PROTECTED]> wrote:
> Ugo Cei wrote:
> 
> > Berin Loritsch wrote:
> > 
> >> We once had everything working where ESQL would work even if it was 
> >> called by a
> >> custom logicsheet.  I have a previously tested Logicsheet, and Cocoon 
> >> is not applying
> >> ESQL--it was working before.  I cannot post the logicsheet to the list 
> >> (proprietary
> >> stuff in there).
> >>
> >> Here is the beginning of it:
> >>
> >> <xsl:stylesheet version="1.0"
> >>                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> >>                 xmlns:xsp="http://apache.org/xsp";
> >>                 xmlns:esql="http://apache.org/cocoon/SQL/v2";
> >>                 xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1";
> >>                 
> >> xmlns:schematic="http://www.infoplanning.com/xsp/schematic";>
> > 
> > 
> > I had the same problem some time ago, I think it was in the passage from 
> > a beta of C2 to rc1. I think I solved it by changing the order of 
> > namespace declarations, i.e. putting xmlns:esql AFTER the declaration of 
> > my custom logicsheet's namespace.
> >
> 
> 
> So that is the time it was broken!
> 
> Dims had fixed the XSP system so that you only had to declare namespaces that
> you actually used.  The algorithm was supposed to reorder the templates so
> that it always produced valid results.  I will try the reordering of the
> namespace declarations in the logicsheet.
> 
> I CONCIDER THE XSP SYSTEM BROKEN!  Any time the algorithm to apply logicsheets
> imposes a restriction to the order the *developer* has to follow, when the
> underlying markup does not impose the same restriction, you are violating the
> simple XML contracts!
> 
> 
> -- 
> 
> "They that give up essential liberty to obtain a little temporary safety
>   deserve neither liberty nor safety."
>                  - Benjamin Franklin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 


=====
Davanum Srinivas - http://jguru.com/dims/

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to