2012-11-02 64 views
3

如何让Eclipse Indigo验证xml是否存在于我的classpath jar中的xsd?目前,它似乎只是针对xsd的Web发布版本进行验证。例如,我已经在我的XML如下:Eclipse xml验证

xmlns:gfe="http://www.springframework.org/schema/gemfire" 
    xsi:schemaLocation="http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire-1.2.xsd" 

在Eclipse中验证违背位于文档:http://www.springframework.org/schema/gemfire/spring-gemfire-1.2.xsd。 但是,当我在Eclipse外部运行应用程序时,验证将违背我的类路径中库jar文件中包含的xsd。由Eclipse支持的

回答