Maybe I'm missing something in your scenario, but whenever I've seen that error it has meant something is wrong with something in my XML. With your error message, I'd suggest looking at ../X/Y/SchemaExample.xsd as a starting point. Is this file well-formed?
What makes you think its an issue that requires entity resolvers? -jacobd On Mon, May 11, 2009 at 3:15 PM, Michael Xenakis <michael....@gmail.com> wrote: > Hi everybody, > > i get the error on the Subject with the above details: > > at > org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:667) > at org.apache.xmlbeans.XmlBeans.compileXsd(XmlBeans.java:553) > > My problem is that i have a lot of XSDs that have imports with the above > format: > <import namespace="http://blahblahzdoing.com" > SchemaLocation="./../X/Y/Z/SchemaExample.xsd"/> > > is there any way i can solve this problem?I've studied a little bit the > EntityResolver but i don't think that it could help me (and by the way i > can't fully understand the way it works- (stupid :-( ) ). Is there any > XmlOptions (or something ) that can solve my problem? By the way, i've > already used the "setLoadUseDefaultResolver()" before the > XmlBeans.compileXsd(compilationObjects.toArray(ArrayOfSchemas[],XmlBeans.getBuiltinTypeSystem(),Xmloptions) > method... but nothing... > > Also, this feature is mandatory for my project and it's urgent , so i would > be thankful for quick and right answers! > > Thanks in Advance, > > Mike > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org > For additional commands, e-mail: user-h...@xmlbeans.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: user-h...@xmlbeans.apache.org