| Apache Ant build.xml has no DTD or XML Schema,but I want to validate other files [message #227208] |
Mon, 26 January 2009 01:45  |
Kent Larsson Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hi,
Apache Ant build.xml files has no DTD or XML Schema, which makes it
impossible to make validation work.
Currently I get this warning:
"No grammar constraints (DTD or XML schema) detected for the
document. build.xml webcookie line 1 XML Problem"
I have looked around in the settings and I can't seem to be able to turn
this warning off. Ideally I would want to exclude this specific file from
validation, but if that is not possible disabling validation all together
would be a good idea.
So my question is: How do I exclude that file from validation? And if that
is not possible; How do I turn something off to make this warning go away?
I'm using Eclipse 3.4.1 with the latest WTP (with latest update of all
plug ins).
|
|
|
|
|
| Re: Apache Ant build.xml has no DTD or XML Schema,but I want to validate other files [message #227343 is a reply to message #227208] |
Tue, 27 January 2009 11:42  |
 |
Nitin Dahyabhai Messages: 1843 Registered: July 2009 |
Senior Member |
|
|
Kent Larsson wrote:
> Apache Ant build.xml files has no DTD or XML Schema, which makes it
> impossible to make validation work.
>
> Currently I get this warning:
> "No grammar constraints (DTD or XML schema) detected for the
> document. build.xml webcookie line 1 XML Problem"
>
> I have looked around in the settings and I can't seem to be able to turn
> this warning off. Ideally I would want to exclude this specific file
> from validation, but if that is not possible disabling validation all
> together would be a good idea.
>
> So my question is: How do I exclude that file from validation? And if
> that is not possible; How do I turn something off to make this warning
> go away?
>
> I'm using Eclipse 3.4.1 with the latest WTP (with latest update of all
> plug ins).
http://www.eclipse.org/webtools/releases/3.0.0/newandnotewor thy/sourceediting/xmlvalidation.png
should be what you're looking for.
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
---
Nitin Dahyabhai
Eclipse WTP, IBM
|
|
|
Powered by
FUDForum. Page generated in 0.01774 seconds