facebook

Validation errors in spring xml after xsd schema changed

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #300746 Reply

    cnd
    Member

    I’m using custom Spring extensions and the associated xsd has changed to allow new values in a enumerated attribute. The schema has been changed in both the version in the classpath and the version referenced in the xsi:schemaLocation attribute but the MyEclipse validation is showing any references to the new values as an error and the enumerated values in the error message are from the old schema version.

    I’ve tried restarting with the -clean option with no effect. Is there some was I can force MyEclipse to update it’s version of the xsd?

    Thanks,
    Cameron.

    #300760 Reply

    support-joy
    Member

    Cameron,

    You can change the validation by following these steps –
    From MyEclipse menu click on Window > Preferences > MyEclipse Enterprise Workench > Validation
    You can chance the settings for XML Schema Validator and add additional rules or even chance the implementation.

    #300762 Reply

    cnd
    Member

    Hi Joy,
    I’m happy with the validation settings and the document was validating correctly until I modified the xsd file the document was being validated against. My problem is that although the xsd file has changed the myeclipse validator seems to be validating the document against the old version (and thus flagging valid documents with errors)

    Cameorn.

    #300779 Reply

    Loyal Water
    Member

    Cameorn,
    You will have to go to Windows > Prefs > MyEclipse > Internet Tools > Cache and check if this xsd is cached. You will have to manually clear it.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Validation errors in spring xml after xsd schema changed

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