Odd problem with validation in the XML editor plug-in [message #151071] |
Wed, 07 December 2005 20:41  |
Eclipse User |
|
|
|
Originally posted by: corey.rational.com
Using the XML editor in Eclipse 3.1, with the WST 0.7.0 XML UI on an XML document which
has specified a local XML schema file via a URL such as: file:///c:/temp/myschema.xsd
I am seeing some strange problems.
Context sensitive editing is working; for example, it gives me valid choices for elements and attributes, however, it does not give
me any sort of
warning or error if I mistype an element or attribute name. In other words, it's not
paying any attention to the grammar rules in the schema, but it is able to read the
schema file enough to know what the possible choices are.
It used to work correctly a while back when I had stored the schema file on a web site,
but it doesn't seem to work when it's local. At least that's the only difference I
can think of. Is there something subtle about local schema files that I don't know
about? Or is something else likely to be broken or set wrong?
I do have XML Grammar Constraints on, according to the UI's "XML -> Turn Grammar Constraints off" menu item.
Any ideas?
Thanks,
- Corey
--
Corey Ashford
Software Engineer
IBM Rational software.
email: cjashfor@us.ibm.com
voice: (503) 748-6710
FAX: (503) 690-1015
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04327 seconds