Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » validation of ccxml
validation of ccxml [message #188889] Thu, 01 March 2007 15:12 Go to next message
Neil Goldsmith is currently offline Neil GoldsmithFriend
Messages: 68
Registered: July 2009
Member
Our application edits ccxml, so we have associated our extension .ccxml with
the XML content type and use the XML editor in WTP.

When we validate the project, errors that show up in the XML editor for our
..ccxml content don't propogate to the problems tab (they do show up in the
editor itself though), but if I was to do the same to a .xml file they
would.

Is there another assocation I need to make to have the XML validator handle
my .ccxml file? Another ext point I need to define or possibly add CCXML
validator to the list?

On a side topic, why do you have to choose the validate menu option on a
project to run the WTP validators? Can't they just autorun or be setup that
way? My problems tab doesn't update with XML errors unless I manually run
the validate on a .xml file.

thank you
Re: validation of ccxml [message #188906 is a reply to message #188889] Thu, 01 March 2007 15:30 Go to previous message
Neil Goldsmith is currently offline Neil GoldsmithFriend
Messages: 68
Registered: July 2009
Member
I found an answer to my question in the event anyone has a similar problem:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=86385

There is an ext pt sample in there that is more of an interim solution until
content type assoc is supported by the validators.


"njg" <neilg@avaya.com> wrote in message
news:es6qh6$hq8$1@utils.eclipse.org...
> Our application edits ccxml, so we have associated our extension .ccxml
> with the XML content type and use the XML editor in WTP.
>
> When we validate the project, errors that show up in the XML editor for
> our .ccxml content don't propogate to the problems tab (they do show up in
> the editor itself though), but if I was to do the same to a .xml file they
> would.
>
> Is there another assocation I need to make to have the XML validator
> handle my .ccxml file? Another ext point I need to define or possibly add
> CCXML validator to the list?
>
> On a side topic, why do you have to choose the validate menu option on a
> project to run the WTP validators? Can't they just autorun or be setup
> that way? My problems tab doesn't update with XML errors unless I
> manually run the validate on a .xml file.
>
> thank you
>
Previous Topic:XML Validator runs and runs
Next Topic:Can one make one servlet's code visible/accessible to an other?
Goto Forum:
  


Current Time: Sun Dec 21 17:24:21 GMT 2014

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

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