> De: Berin Loritsch [mailto:[EMAIL PROTECTED]] > 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 "http://apache.org/cocoon/SQL/v2" 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()='http://apache.org/cocoon/SQL/v2' and local-name() = 'connection']/*[namespace-uri()='http://apache.org/cocoon/SQL/v2' 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: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]