wtp working offline [message #154598] |
Tue, 03 January 2006 12:15  |
Eclipse User |
|
|
|
Originally posted by: gilbertb.stratcom.mil
I've installed eclipse 3.1.1 with wtp 1.0. When trying to validate a wsdl
I'm getting a cvc-elt.1 error.
Due to security constraints I need to develop off-line. I have downloaded
and installed into my xml-catalog all .xsd's from
http://java.sun.com/xml/ns/j2ee/ This does not solve my problem. Anyone
have another suggestion?
|
|
|
|
|
|
|
|
Re: wtp working offline [message #155057 is a reply to message #155049] |
Thu, 05 January 2006 17:09   |
Eclipse User |
|
|
|
Originally posted by: erickson_d.yahoo.removethis.com
If your XML catalog maps to local DTDs on your file system, make sure
that your file paths contain no spaces. I can't remember now if this is
due to the core Java bug of creating a DocumentBuilder with a File
argument, or something in Eclipse itself, but XML Catalog and directory
names with spaces didn't work in WTP 0.7
Hmm... it's coming back to me now... vaguely. I think this might only
have affected the j2ee XSDs where one schema imports another -- the base
schema document was fine but the following the relative URLs failed?
Maybe.
Anyhow... spaces in paths + XML catalog = several hundred lines dumped
into the eclipse error log. On my Windows system, I moved my local
copies to one directory in the root of my drive, and re-did all the
entries in my XML Catalog.
Noel Bush wrote:
> Kihup Boo wrote:
>
>> The Target Milestone for the fix is set for 1.0.1.
>> You could do your own local build using the patch until the fix is
>> available. The steps are,
>> * Check out org.eclipse.wst.wsdl.validation
>> * Apply the patch against
>> org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLValidat or.java
>> * Build the plugin
>
>
> I have tried these steps, and I find that I am still unable to work
> offline. Moreover, when online, project startup is excruciatingly slow:
> I *think* that Eclipse/WTP is trying to retrieve a DTD, although there
> is no feedback about this anywhere -- the project just fails to start
> when I disconnect the network, and starts fine (but s-l-o-w-l-y) otherwise.
>
> This specifically seems to happen when I am starting a project that uses
> Hibernate -- I have manually placed entries in the XML Catalog for the
> Hibernate configuration DTD, but no luck.
>
>>
>> Let me know if you need detailed instructions.
>> - Kihup
>>
|
|
|
Re: wtp working offline [message #155089 is a reply to message #155057] |
Thu, 05 January 2006 17:54  |
Eclipse User |
|
|
|
Doug Erickson wrote:
> If your XML catalog maps to local DTDs on your file system, make sure
> that your file paths contain no spaces. I can't remember now if this is
> due to the core Java bug of creating a DocumentBuilder with a File
> argument, or something in Eclipse itself, but XML Catalog and directory
> names with spaces didn't work in WTP 0.7
I don't have any spaces in my paths, so this probably doesn't apply to
me. Thanks, though.
> Hmm... it's coming back to me now... vaguely. I think this might only
> have affected the j2ee XSDs where one schema imports another -- the base
> schema document was fine but the following the relative URLs failed? Maybe.
>
> Anyhow... spaces in paths + XML catalog = several hundred lines dumped
> into the eclipse error log. On my Windows system, I moved my local
> copies to one directory in the root of my drive, and re-did all the
> entries in my XML Catalog.
|
|
|
Powered by
FUDForum. Page generated in 0.03965 seconds