Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Submission for PMC approval (1.5.1) 157731 - TaglibIndex returns incorrect URIs for TLDs in XML Catalog


https://bugs.eclipse.org/bugs/show_bug.cgi?id=157731

The TaglibIndex has two major APIs, one for finding TLDs and another for enumerating the visible TLDs.  To support the "implicit" TLDs mentioned in the JSP spec, we're employing the XML component's XML Catalog.  The ITaglibRecords it returns should  provide URI values for use within a JSP's taglib directive, but records built from the catalog were returning either the wrong URI value, or no value at all.  This affects adopters that want to accurately make use of the enumeration facility (to guide editing) and server adapter  providers that want to provide value added tag libraries unique to their server.

The patch attached to the bug ensures for resolving TLDs, records returned from a successful lookup in the XML Catalog report the key that was used for the catalog lookup as the URI.  For enumerating TLDs, the patch makes the URI values reflect the keys in the XML Catalog extension point.  The patch has been tested by an adopter already and is only a minor change from 1.5.1 RC1.

---
Nitin Dahyabhai

Back to the top