Verifiy that you can access this XML schema without Eclipse. - Do you get the file in your browser? - Can you call xjc with this file? mkdir xxx cd xxx xjc http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-container/drools-spring/src/main/resources/org/drools/container/spring/drools-spring-1.0.0.xsd
Both works for me. -W 2010/9/20 Mohod, Akash <[email protected]>: > Hi , > > > > I am using Drools 5.1 with Srping 3.0 . I am getting these errors working > in Eclipse :- > > > > org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema > document > 'http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-container/drools-spring/src/main/resources/org/drools/container/spring/drools-spring-1.0.0.xsd', > because 1) could not find the document; 2) the document could not be read; > 3) the root element of the document is not <xsd:schema>. > > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) > [na:1.6.0_19] > > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:96) > [na:1.6.0_19] > > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:380) > [na:1.6.0_19] > > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318) > [na:1.6.0_19] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:2541) > [na:1.6.0_19] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:2532) > [na:1.6.0_19] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:1836) > [na:1.6.0_19] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:531) > [na:1.6.0_19] > > > > Any help is appreciated. > > > > Regards, > > Akash > > > > > > ________________________________ > NOTICE: If you have received this communication in error, please destroy all > electronic and paper copies and notify the sender immediately. > Mistransmission is not intended to waive confidentiality or privilege. > Morgan Stanley reserves the right, to the extent permitted under applicable > law, to monitor electronic communications. This message is subject to terms > available at the following link: http://www.morganstanley.com/disclaimers. > If you cannot access these links, please notify us by reply message and we > will send the contents to you. By messaging with Morgan Stanley you consent > to the foregoing. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
