Discussion:
NetBeans XML validation?
Sridhara Maharaja
2006-01-22 20:02:31 UTC
Permalink
How do I do XML validation on .tld files or any XML file that doesn't end
with an .xml file name extension. With files that do have the .xml file name
extension, I can right click and see XML specific commands such as Check and
Validate. However, even though the editor recognizes tld files as XML and
does proper syntax highlighting, I can't get it to check/validate.

Any ideas?

Thanks!
John Jullion-Ceccarelli
2006-01-23 10:56:29 UTC
Permalink
You have to register the extension as an XML file. Do a search for
Extension in the online help, there's a topic there about how to do it
(It's buried way down in the advanced options window view somewhere,
can't remember exactly where righ now).

-J
Post by Sridhara Maharaja
How do I do XML validation on .tld files or any XML file that doesn't
end with an .xml file name extension. With files that do have the .xml
file name extension, I can right click and see XML specific commands
such as Check and Validate. However, even though the editor recognizes
tld files as XML and does proper syntax highlighting, I can't get it
to check/validate.
Any ideas?
Thanks!
Loading...