Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » xml autocomplete from schema
xml autocomplete from schema [message #674113] Wed, 25 May 2011 20:54 Go to next message
Eric  is currently offline Eric Friend
Messages: 5
Registered: May 2011
Junior Member
Hello,

My original post was here (forums/index.php/m/673891/#msg_673891), I was instructed to post it to this forum.

I am trying to edit an xml document with an associated .xsd schema in Eclipse.

I clicked Window -> Preferences, and I selected XML -> XML Catalog, and I added the two .xsd files to my User Specified Entries.

index.php/fa/2846/0/

Then in my xml file, I typed open tag and ctrl-space, and I expected to see xml element suggestions from the schema I had added, but instead I saw no suggestions.

index.php/fa/2847/0/

The schema files and xml file are attached.

Are my expectations incorrect? Did I add the schemas incorrectly to my catalog? I appreciate any feedback.

[Updated on: Wed, 25 May 2011 20:55]

Report message to a moderator

Re: xml autocomplete from schema [message #674383 is a reply to message #674113] Thu, 26 May 2011 17:04 Go to previous messageGo to next message
Wolfgang Knauf is currently offline Wolfgang KnaufFriend
Messages: 63
Registered: July 2009
Member
Hi,
>
> I am trying to edit an xml document with an associated .xsd schema in
> Eclipse.
>

did you make sure that your schema is valid? How do you reference it in
your xml file (namespace declaration, schemaLocation)?

>
>
> The schema files and xml file are attached.
>

I see only a big blob of "crap" (using Thunderbird) - seems the
attaching failed. Or does it work when using the web frontend?

Best regards

Wolfgang
Re: xml autocomplete from schema [message #675796 is a reply to message #674383] Wed, 01 June 2011 14:30 Go to previous message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
What happens when you open in XML file in the regular XML editor instead of the embedded XWT editor?

Previous Topic:Problem with XMLMultiPageEditorPart editor
Next Topic:@XmlSchema for a metro webservice
Goto Forum:
  


Current Time: Sat Apr 20 02:29:02 GMT 2024

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

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

Back to the top