Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » murderous net access during XML validation
murderous net access during XML validation [message #140299] Thu, 22 September 2005 17:19 Go to next message
Noel Bush is currently offline Noel BushFriend
Messages: 38
Registered: July 2009
Member
I'm currently using a dialup connection, and going through the painful
process of converting an existing project to a WTP project. What's
making it most painful is that, apparently, as I move XML resources
around, in some cases I'm changing the filesystem/workspace locations of
schemas and DTDs. This means, I'm guessing, that when validation
starts, since it cannot find my local schemas and DTDs, there are
attempts to retrieve the schemas and DTDs from the namespace URIs and/or
the specified schema locations. But those of you who remember the DDD
(Dark Days of Dialup) will know what that means for me. It can easily
happen that, after one false move, I'm forced to wait ten minutes
watching "workspace rebuilding" while this process plays out.

What would make this a lot better, from my point of view:

1. Display some useful information about what's going on in the
"details" view of the progress dialog. For instance, tell me that
you're trying to retrieve the schema from whatever URL, tell me that you
did or didn't get it, show me download progress, etc.

2. Offer me the ability to prohibit network access for getting schemas
or DTDs, like the "--nonet" option on xmllint. (Or is this available
somewhere in a preferences tab?)

Most of all, and I'd call this a bug:

3. Allow me to cancel this process! (I mean "Validation of <project
name> by XML Validator") I simply cannot kill it from inside Eclipse.
I have to forcibly kill Eclipse ("killall eclipse") to escape. Hitting
the little red "stop" box doesn't do it. It greys out, but the
"building workspace" thing still seems to go on forever, and I'm
prevented from doing even basic things like moving or deleting files.

But listen, thanks for this project -- what a fantastic and ambitious
collection of tools!

Thanks,
Noel
Re: murderous net access during XML validation [message #140321 is a reply to message #140299] Fri, 23 September 2005 04:59 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Hi Noel,

>I'm currently using a dialup connection, and going through the painful
>process of converting an existing project to a WTP project. What's
>making it most painful is that, apparently, as I move XML resources
>around, in some cases I'm changing the filesystem/workspace locations of
>schemas and DTDs. This means, I'm guessing, that when validation
>starts, since it cannot find my local schemas and DTDs, there are
>attempts to retrieve the schemas and DTDs from the namespace URIs and/or
>the specified schema locations. But those of you who remember the DDD
>(Dark Days of Dialup) will know what that means for me. It can easily
>happen that, after one false move, I'm forced to wait ten minutes
>watching "workspace rebuilding" while this process plays out.

This does sound painful and I've heard other reports. There was a bug in
0.7 that caused the XML validator not to use the DTD and schema files in
the cache. The fix that allows the XML validator to use the cache should
make things easier for you.

>What would make this a lot better, from my point of view:
>
>1. Display some useful information about what's going on in the
>"details" view of the progress dialog. For instance, tell me that
>you're trying to retrieve the schema from whatever URL, tell me that you
>did or didn't get it, show me download progress, etc.

Hmm. I think easier said then done but open a defect and I'll investigate
into this.

>2. Offer me the ability to prohibit network access for getting schemas
>or DTDs, like the "--nonet" option on xmllint. (Or is this available
>somewhere in a preferences tab?)

Another interesting one. This is an enhancement and will probably be
difficult to implement consistenly in the tooling but please open an
enhancement request (a bug with priority set to enhancement).

>Most of all, and I'd call this a bug:
>
>3. Allow me to cancel this process! (I mean "Validation of <project
>name> by XML Validator") I simply cannot kill it from inside Eclipse.
>I have to forcibly kill Eclipse ("killall eclipse") to escape. Hitting
>the little red "stop" box doesn't do it. It greys out, but the
>"building workspace" thing still seems to go on forever, and I'm
>prevented from doing even basic things like moving or deleting files.

Absolutely! It would be really good to get this into M9 and some of the
fixes in the validation framework should make this easier to accomplish. I
don't think there is an open bug for this so please open another one for
this.

>But listen, thanks for this project -- what a fantastic and ambitious
>collection of tools!

You're welcome. Thanks for the feedback!

Lawrence
Re: murderous net access during XML validation [message #140349 is a reply to message #140321] Fri, 23 September 2005 13:26 Go to previous message
Noel Bush is currently offline Noel BushFriend
Messages: 38
Registered: July 2009
Member
OK, thanks! I have filed reports for all three items.

Noel
Previous Topic:Unknown tag warning in JSPs
Next Topic:Tutorials and WTP
Goto Forum:
  


Current Time: Thu Apr 25 11:35:13 GMT 2024

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

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

Back to the top