Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] Priority and import precedence

From: "Andrew Welch" <ajwelch@--------------->
To:
Date: 2/1/2005 10:02:00 AM
> I think numeric priorities would become pretty unmanageable
> if they had global significance rather than applying only
> locally within a module. That's the only reason I can think of.
>
> There are all sorts of things one could do to improve the
> modularity of XSLT
> - public/private attributes on variables and named templates,
> template priority linked to the schema type hierarchy,
> syntactically-scoped template rules, template rules linked to
> a stage in a pipeline, etc: but none of them is really
> compelling in my view.

Would it be possible to add a warning message to Saxon, like ambiguous
rule match, when one template is chosen over another purely by import
precedence (in fact, isn't this just another kind of ambiguous rule
match)?  The amount of feedback from Saxon 8.x when using XSLT 2.0 is
really helpful (my stylesheets are a lot 'tighter' now) and I think this
would be a useful addition.

cheers
andrew


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent