Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Odd problem with validation in the XML editor plug-in
Odd problem with validation in the XML editor plug-in [message #151071] Wed, 07 December 2005 20:41 Go to next message
Eclipse UserFriend
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
Re: Odd problem with validation in the XML editor plug-in [message #151074 is a reply to message #151071] Wed, 07 December 2005 21:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: corey.rational.com

"Corey Ashford" <corey@rational.com> wrote in message news:dn830c$4jc$1@news.eclipse.org...
> 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.

Just a quick follow-up on this.. I tried with WST RC1 and the same problem occurs.

- Corey
Re: Odd problem with validation in the XML editor plug-in [message #151079 is a reply to message #151074] Thu, 08 December 2005 02:20 Go to previous messageGo to next message
Eclipse UserFriend
"Corey Ashford" <corey@rational.com> wrote in message
news:dn85j5$7be$1@news.eclipse.org...
> "Corey Ashford" <corey@rational.com> wrote in message
news:dn830c$4jc$1@news.eclipse.org...
> > 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.
>
> Just a quick follow-up on this.. I tried with WST RC1 and the same
problem occurs.
>
> - Corey
>
>

*blush* My XML schema had an error in it that I somehow missed. Sorry for
the trouble. The editor is working fine now.

- Corey
Re: Odd problem with validation in the XML editor plug-in [message #151298 is a reply to message #151079] Fri, 09 December 2005 22:57 Go to previous message
Eclipse UserFriend
On Thu, 08 Dec 2005 02:20:54 -0500, Corey Ashford <cjashfor@us.ibm.com> =
wrote:

> *blush* My XML schema had an error in it that I somehow missed. Sorr=
y for
> the trouble. The editor is working fine now.
>

Oh, no trouble ... our favorite kind of bug report :)
Previous Topic:want to write a macro plugin... please help
Next Topic:Missing J2EE features in 1.0RC2
Goto Forum:
  


Current Time: Sat Aug 30 06:20:52 EDT 2025

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

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

Back to the top