|XHTML editor and Facelets [message #182866]
||Thu, 16 November 2006 10:57
| Steven Oglesby
Registered: July 2009
I am attempting to use the XHTML editor (the StructuredSourceEditor) to
edit XHTML files that use Facelets.
I have made some progress in supporting Facelets by contributing a
ContentModel for Facelet taglib.xml files (their equivalent to JSP tld
files). I have done this using the non-API
org.eclipse.wst.xml.core.documentFactories extension point.
Does anyone know if there has been any progress on defining this API
since WTP 1.5.2 release?
In addition I have relaxed the namespace checking (this is related to
bug 119084) so that instead of only allowing XSD resource types for the
I instead pass null and so the ContentModelManager then works out the
resource type based on the target file.
Does anyone know if this is a reasonable thing to do? As far as I can
see the XML spec just says that the xmlns:prefix=URI is just used to
make a document namespace aware. I do not think that the URI has to
point to a XML schema definition (XSD). In which case I think that it is
reasonable that the editor should handle it pointing to any file that a
ContentModel can be built from.
Powered by FUDForum
. Page generated in 0.01522 seconds