Type: New Feature
Resolution: Won't Fix
Affects Version/s: 2.2 Sprint 8
Fix Version/s: 2.2
Operating System: All
Standard and custom tags should be described using XML Schema, not another
proprietary tag descriptor language (TLD). Nearly every XML editor on the planet
understands, supports, and can provide tag completion with documentation for the
XML document when an XML Schema is associated with it.
XML Schema also has the most advanced facility for describing the valid syntax
for an element or attribute (permitted child elements, presence of EL
expressions, etc). By standardizing on XML Schema, which itself is a W3C
standard, developers don't have to wait for vendors to create tooling for basic
XML editing capabilities. Also, developers have become very used to XML schema
with it being supported in the Seam component and pages descriptor and Spring
and Spring Web Flow configuration files.
In summary, importing a custom tag into a view template would involve defining
an XML namespace and optionally (though preferably) associating that namespace
with an XML schema document. Component libraries would be required to provide
this XML Schema document (perhaps generated; and yes, it is worth doing!).