cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignacio J. Ortega" <>
Subject LogicSheet Namespaces (Was: RE: ESQL no longer applied to custom logicsheet)
Date Fri, 28 Dec 2001 20:10:55 GMT
> De: Berin Loritsch []
> Enviado el: viernes 28 de diciembre de 2001 18:03

> The Contracts in XML are that namespaces do not matter about 
> the ordering.  If it is declared

Just a remark, right now LogicSheets are not respecting one XML
Contract, if you use the "" namespace
with prefix "sql" it will not work, as the XSL that does the logicsheet
transformation is reliying in a concrete "esql" namespace prefix not on
the namespace-uri of the element, that it should.. and that is the way
all logicsheets are written..

I think this can be resolved in the XSLT logicsheet.. but i'm not really
sure... can any XSL guru check if the next expresion is possible and
does the same thing as the example?? 

<xsl:if test=".//esql:connection/esql:pool"> (Took from the
cocoon_branch_20 esql logicsheet) 

could be written as

<xsl:if test=".//*[namespace-uri()='' and
local-name() =
'connection']/*[namespace-uri()='' and
local-name() = 'connection']">

and thus being fully namespace compliant..

( the uri could be a variable and alleviate some typing but .. better to
have the complete syntax for now )

I know this will make LogicSheets a level worst, and a level slow, but
being Cocoon the "standard" for XML processing, i think is very sad to
not be fully xml compliant in every part of it...

Saludos ,
Ignacio J. Ortega

To unsubscribe, e-mail:
For additional commands, email:

View raw message