Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Cant get syntax help with XML(my *.jwc files are opened as text instead of xml)
Cant get syntax help with XML [message #827718] Fri, 23 March 2012 18:08
Jon Tyree is currently offline Jon TyreeFriend
Messages: 1
Registered: March 2012
Junior Member
I want to have syntax coloring and content assist for my Tapestry 3 jwc and page files. These are xml files with .jwc and .page file extension. It works for the .page but not for the .jwc files.

I have the *.jwc file extension mapped in the Preferences/General/Editors/File Associations to use the XML editor. I notice that .page is there also but seems to be 'locked' by other APIs (must be a popular extension to use). But when I open a jwc file, it opens in the XML editor but no syntax coloring or content assist. The .page files use the exact same DTD and they work fine. The DTD is mapped under Preferences/XML/XML Catalog. If I rename the jwc file to .xml, then it works fine. But that is not an option.

Is this a bug or is there a secret trick to getting a non xml file extension to work with the xml editor?
Previous Topic:Eclipse preferences problem
Next Topic:EclipseLink -> JPA Tools -> Generate Entities from Tables (Postgres)
Goto Forum:

Current Time: Sat Apr 29 08:18:26 GMT 2017

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

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