Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XHTML editor and Facelets
XHTML editor and Facelets [message #182866] Thu, 16 November 2006 15:57
Steven Oglesby is currently offline Steven OglesbyFriend
Messages: 1
Registered: July 2009
Junior Member
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
namespaces (in
XMLAssociationProvider.getCMElementDeclaration(Element,List, NamespaceTable))
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.
Previous Topic:XML, Schema and namespaces... :-(
Next Topic:eclipsecon 2007 submission deadlines: long talks by Dec 1st
Goto Forum:

Current Time: Tue Jun 15 20:37:20 GMT 2021

Powered by FUDForum. Page generated in 0.03414 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top