Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP v1 XML Content Assist
WTP v1 XML Content Assist [message #165733] Mon, 03 April 2006 15:41 Go to next message
Eclipse UserFriend
Originally posted by: beechc.hra.nyc.gov

Hi everyone,

I have an xml file and am trying to add a schema to it so I can use the
XML editor's content assist.

I have associated the file type (.uim) with the correct content type, and
sorted the file association so the XML editor opens the file.

I've created an entry in the XML Catalog...

URI: file:C:\IHSS\Curam\webclient\CuramCDEJ\lib\curam\xml\schema\ uim.xsd
Key Type: Namespace Name
Key: CuramUIMSchema

...and have added the CuramUIMSchema key to the xml file, as such...

<?xml version="1.0" encoding="UTF-8"?>
<PAGE PAGE_ID="IHSS_applicationListReturning"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="CuramUIMSchema">
...

</PAGE>

But it can't get content assist to work - has anyone got any ideas on why
this is the case. I'm pretty sure I got this working on v0.7, but I'm
having no joy with v1.

Thanks in advance,

Chris
Re: WTP v1 XML Content Assist [message #165744 is a reply to message #165733] Mon, 03 April 2006 17:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: beechc.hra.nyc.gov

It looks as though if I specify the xsd file directly into the XML file
(using an absolute path) it works correctlty...

<PAGE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=" file:///C://IHSS//Curam//webclient//CuramCDEJ//lib//curam//x ml//schema//uim.xsd"
>

</PAGE>

The content assist works correctly for this file.

Is this a bug with WTP v1 or am I doing something wrong. I've heard this
works perfectly in v0.7.

Thanks,

Chris
Re: WTP v1 XML Content Assist [message #166419 is a reply to message #165744] Tue, 11 April 2006 16:33 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Chris,

Looks like this may be a bug in the XML catalog. There are a number of use
cases that must be supported by the catalog. Please open a bug to report
your specific use case so we can take a look at it in future releases.

Thanks,

Lawrence
Previous Topic:Window > Preferences > Web Tools > New J2EE Project.
Next Topic:XML Editing in RCP
Goto Forum:
  


Current Time: Wed Apr 24 15:20:35 GMT 2024

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

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

Back to the top