You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "walter meng (JIRA)" <xm...@xml.apache.org> on 2005/12/10 19:09:09 UTC

[jira] Created: (XMLBEANS-238) failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok

failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok
---------------------------------------------------------------------------------------------------------

         Key: XMLBEANS-238
         URL: http://issues.apache.org/jira/browse/XMLBEANS-238
     Project: XMLBeans
        Type: Bug
    Versions: Version 2.1    
 Environment: windows XP
    Reporter: walter meng
    Priority: Blocker


when compiling  schema, which includes another schema, it fails to generate the java source  and throws SystemTypeLoaderException with code=9

<xs:include schemaLocation="another_schema.xsd"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-238) failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok

Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLBEANS-238?page=comments#action_12360958 ] 

Radu Preotiuc-Pietro commented on XMLBEANS-238:
-----------------------------------------------

code=9 means IOException, see SchemaTypeLoaderException.java
There are a number of situations where this can occur, but basically your configuration on your XP box has something about it that prevents XmlBeans from reading/writing some file. Can you post a more complete stack trace to help narrow down the problem?


> failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok
> ---------------------------------------------------------------------------------------------------------
>
>          Key: XMLBEANS-238
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-238
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 2.1
>  Environment: windows XP
>     Reporter: walter meng
>     Priority: Blocker

>
> when compiling  schema, which includes another schema, it fails to generate the java source  and throws SystemTypeLoaderException with code=9
> <xs:include schemaLocation="another_schema.xsd"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-238) failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok

Posted by "Ryan Ashcraft (JIRA)" <xm...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLBEANS-238?page=comments#action_12435973 ] 
            
Ryan Ashcraft commented on XMLBEANS-238:
----------------------------------------

Additional info:

If we use the XMLBeans Ant task to jar everything up, this error is not reported.  However, it is encountered the first time that we try to access that jar.

> failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: XMLBEANS-238
>                 URL: http://issues.apache.org/jira/browse/XMLBEANS-238
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.1
>         Environment: windows XP
>            Reporter: walter meng
>            Priority: Blocker
>
> when compiling  schema, which includes another schema, it fails to generate the java source  and throws SystemTypeLoaderException with code=9
> <xs:include schemaLocation="another_schema.xsd"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-238) failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok

Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLBEANS-238?page=comments#action_12443645 ] 
            
Radu Preotiuc-Pietro commented on XMLBEANS-238:
-----------------------------------------------

I would say this is caused by the path being too long for Windows to handle. Can you try running from a different dir such that the total length of the path is shorter?
I will add a way to workaround this limitation (if that turns out indeed to be the problem) when fixing XMLBEANS-282.


> failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: XMLBEANS-238
>                 URL: http://issues.apache.org/jira/browse/XMLBEANS-238
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.1
>         Environment: windows XP
>            Reporter: walter meng
>            Priority: Blocker
>
> when compiling  schema, which includes another schema, it fails to generate the java source  and throws SystemTypeLoaderException with code=9
> <xs:include schemaLocation="another_schema.xsd"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-238) failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok

Posted by "Ryan Ashcraft (JIRA)" <xm...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLBEANS-238?page=comments#action_12435972 ] 
            
Ryan Ashcraft commented on XMLBEANS-238:
----------------------------------------

We are encountering the same issue.  Here's what XMLBeans spits out:

org.apache.xmlbeans.SchemaTypeLoaderException: C:\projects\atlas\atlas-examples\atlas-examples-service\target\xmlbeans\classes\schemaorg_apa
che_xmlbeans\javaname\org\tigris\atlas\examples\service\xml\schema\schemaTransformationRefServiceResponse\SchemaTransformationRefServiceResponseXMLDocument\SchemaTransformatio
nRefServiceResponseXML.xsb (The system cannot find the path specified) (schemaorg_apache_xmlbeans.system.s904D9D95C85AA2722A43DA36524772F0.schemaorg_apache_xmlbeans/javaname/o
rg/tigris/atlas/examples/service/xml/schema/schemaTransformationRefServiceResponse/SchemaTransformationRefServiceResponseXMLDocument/SchemaTransformationRefServiceResponseXML)
 - code 9

> failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: XMLBEANS-238
>                 URL: http://issues.apache.org/jira/browse/XMLBEANS-238
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.1
>         Environment: windows XP
>            Reporter: walter meng
>            Priority: Blocker
>
> when compiling  schema, which includes another schema, it fails to generate the java source  and throws SystemTypeLoaderException with code=9
> <xs:include schemaLocation="another_schema.xsd"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Resolved: (XMLBEANS-238) failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok

Posted by "Cezar Andrei (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cezar Andrei resolved XMLBEANS-238.
-----------------------------------

    Resolution: Duplicate

Closing since, Issue is tracked by XMLBEANS-282.

> failed to compile schema (which includes another schema) using ant task on Windows XP; windows 2000 is ok
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: XMLBEANS-238
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-238
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.1
>         Environment: windows XP
>            Reporter: walter meng
>            Priority: Blocker
>
> when compiling  schema, which includes another schema, it fails to generate the java source  and throws SystemTypeLoaderException with code=9
> <xs:include schemaLocation="another_schema.xsd"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org