facebook

XML schema validator takes a LONG time and does not cancel

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #217376 Reply

    OS: WinXP + SP2
    Eclipse: 3.1M2
    MyEclipse: 3.8.2

    I have a project that contains a large XML schema (file is ~2M). The MyEclipse-Validation preferences are set so that the schema validator does not run on this project. However, when I refresh the project (F5 function key), the schema validator runs. I can pring up the progress tab and/or the blocked-operation dialog and attempt to stop the workspace build, but it doesn’t have any effect. That is, the displays show that the build is cancelled, but the validator still goes merrily along.

    1. Validation of this schema takes 4+ hours (it does eventually terminate). What in the world is the schema validator doing that takes so long? Note that generating bindings with CASTOR takes only a couple of minutes, and generating bindings with JAXB takes maybe 10 minutes. Can the XML schema validator be speeded up??

    2. Particularly given the time the validation takes, I’d really like to be able to cancel the validation. Can the XML schema validator be modified so it can check for a cancel and stop in the middle of the validation? (I’m assuming that it’s only checking after it finishes with a schema file, in the current version.)

    If you want the schema, you can get it via ftp. Post or email me an email address and I’ll send particulars. I’ll try to check this forum once/day or so, but forgive me if I don’t see the posting for a bit.

    #217385 Reply

    Riyad Kalla
    Member

    rws,
    We don’t currently support Eclipse 3.1 at this time, and I wonder if that is the problem. Can you email this schema to support@genuitec.com so we can test it?

    Also please reference this thread, and even copy-paste this message into the email so we know why we are recieving this file 😉

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: XML schema validator takes a LONG time and does not cancel

You must be logged in to post in the forum log in