• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Eclipse editors for Facelets xhtml?

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What editors are people using to edit .xhtml Facelets files in Eclipse?

In the past I have always used xmlbuddy for all xml stuff but it keeps flagging errors - it does not like the jsf namespace declarations. e.g.

results in the errors


Error - Attribute "xmlns:ui" must be declared for element type "html".
Error - Attribute "xmlns:h" must be declared for element type "html".



Is there a better editor or some way to configure xmlbuddy to handle this?
 
Saloon Keeper
Posts: 28758
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've just been using the XML editor that's part of Eclipse Ganymede. The original version of that one had a serious problem, however - reformatting the XML caused it to drop quotes and display false error messages. A recent update has repaired that.

The editor is supposed to be able to do tag/attribute hinting based on the DTD/schemas indicated. I haven't had much success with that, lately.
 
Greenhorn
Posts: 17
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having this same problem with Facelets and Ganymede - in my case it also objects to the ui:component tags inside the body tag too.

Is there any way to turn off the excessive zeal of the xml parser?

 
reply
    Bookmark Topic Watch Topic
  • New Topic