Ant bug (generate buildfile) in EA 10.1.3.0.3?

When I try to create a new Ant buildfile from project for my JSF project using EA (10.1.3.0.3), I receive the following error:<br>
<br>
Could not complete Generate Ant buildfile because it would result in an invalid document.<br>
<br>
Details:<br>
oracle.bali.xml.model.XmlInvalidOnCommitException: SCHWERWIEGEND: Wert <br>des Attributs id nicht vom Typ ID<br>
<br>
Der Wert muss folgenden Typ aufweisen:<br>
<br>
Typ-Name: ID<br>
Primitive-Typ string<br>
...<br>
...<br>
...<br>
<br>
Is that a bug?<br>
<br>
Regards,<br>
Matthias

Yes, this is a bug in the Early Access release. This can happen, for example, if there is a library in your project whose name contains a character such as a colon, single quote, slash, backslash, parenthesis, question mark, etc. In that case changing the library name should work around the issue.
-Matt Hawkins
Oracle JDeveloper

Similar Messages

  • [svn:fx-3.x] 13067: Fix for html-wrapper ant task generates incorrect wrapper files for flash player version detection .

    Revision: 13067
    Revision: 13067
    Author:   [email protected]
    Date:     2009-12-17 12:48:20 -0800 (Thu, 17 Dec 2009)
    Log Message:
    Fix for html-wrapper ant task generates incorrect wrapper files for flash player version detection.
    QE notes: None.
    Doc notes: None
    Bugs: SDK-18826
    Reviewed By: Paul
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-18826
    Modified Paths:
        flex/sdk/branches/3.x/modules/antTasks/src/flex/ant/HtmlWrapperTask.java

    Could you try creating a new Firefox profile to see if that helps?
    8. Make a new profile
    Chris

  • What are common HTML bugs generated by Dreamweaver CS4 itself?

    When a link works in browser but fails on server where do you start looking for the cause of problem and its possible solution? What are some of the common HTML bugs that are often generated by Dreamweaver CS4 itself? What are some of dos and don'ts when you are making corrections in the code page? Thank you for your response.

    When a link works in browser but fails on server where do you start looking for the cause of problem and its possible solution? What are some of the common HTML bugs that are often generated by Dreamweaver CS4 itself? What are some of dos and don'ts when you are making corrections in the code page? Thank you for your response.

  • ECLIPSE, ANT and generating WAR files...

    I'm trying to configure my Eclipse Ant Builder, so that I can have the WAR of my web-app generated in a single task.
    The "build.xml" that Eclipse generates as a result of the "Export" task does good (obviously!), but I'd like to add a "generate-war" task, which (depending on the "build" task) should also create the WAR, adding all the needed resources into it.
    The problem I'm facing is about the external libraries that I want to be included in the "WEB-INF/lib" directory of the WAR.
    Infact, I'd like them to be "loaded" directly from the classpath, that is directly from the "path" element created by eclipse during the Export task.
    So, in "build.xml" I have:
        <path id="MyWebApp.classpath">
            <path refid="Database.userclasspath"/>
            <path refid="JavaHelp.userclasspath"/>
        </path>where, for example:
        <path id="Database.userclasspath">
            <pathelement location="path-to-jar"/>
            <pathelement location="path-to-another-jar"/>
        </path>And in "build-user.xml" I want to make a target capable of copying all the jars referenced by "MyWebApp.classpath", discovering them automatically.
    The problem is that the "copy" tasks need a fileset or a dir, whereas what I have is a path reference...
    Has anyone been involved in the same?
    Thanks in advance for your help!!

    I don't know what you mean by "reproducing what eclipse does". Eclipse will use the projects java build path, and you can add the jars from your WEB-INF/lib directory to this path.
    If you really don't want to put the jars in WEB-INF/lib then:
    <property environment="env"/>
    <property name="xxx.jar" location="${env.CATALINA_HOME}/common/lib/xxx.jar"/> // for example
    <path id="webapp.base.classpath">
      <pathelement location="${xxx.jar}"/> // refer to the property not the file directly
    </path>
    // etc ...

  • Jwsc Ant task generates [ERROR] - A document style operation must not have

    If the wsdlc Ant task is run on a WSDL file to generate the JWSC file and subsequently the jwsc task is run an error gets generated:
    [ERROR] - A document style operation must not have a non header INOUT or OUT Parameter.

    If the wsdlc Ant task is run on a WSDL file to generate the JWSC file and subsequently the jwsc task is run an error gets generated:
    [ERROR] - A document style operation must not have a non header INOUT or OUT Parameter.

  • BUG:generate accessors not doing anything on abstract class

    I can't get a source file (abstract class) to generate accessors. I am using 10.1.3.0.0 production release. Concrete classes generate accessors fine.
    Here is how to reproduce the problem:
    Create an interface MyInterface with getMyThing() and setMyThing(String thing)
    Create an abstract class that implements MyInterface
    add a property and select generate accessor either from the source or from the menu "source"
    nothing happens
    remove the abstract keyword and the interface implementation -- generate accessors work fine
    Message was edited by:
    jgammon

    actually -- jdev version is 10.1.3.0.4 (SU1) build is JDEVADF_10.1.3_NT_060125.0900.3673

  • Bug: generate java objects generates error and does not terminate

    During the build of java object generation...the following error occurs (below),
    the generation progress dialog does not close,
    and the process does not terminate.
    Any suggestions?
    Thank you.
    Albert
    va.lang.NullPointerException
         at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
         at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)
    ADF configuration: Release 3 (10.1.3)
    ADF Business Components     10.1.3.36.73
    CVS Version     Internal to Oracle JDeveloper 10g (client-only)
    Java™ Platform     1.5.0_05
    Oracle IDE     10.1.3.36.73
    PMD     JDeveloper Extension 1.8
    Struts Modeler Version     10.1.3.36.73
    UML Modelers Version     10.1.3.36.73
    Versioning Support     10.1.3.36.73
    Other Configuration:
    Os Name     Microsoft Windows Xp Home Edition
    Version     5.1.2600 Service Pack 2 Build 2600
    Os Manufacturer     Microsoft Corporation
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Schema:
    Create Table Example.Questions
    Qid Number Not Null,
    Testid Number,
    Question Varchar2(4000),
    Answer Char(4) Default 'Zzzz' Not Null
    Create Table Example.Testgenhistory
    Testgenhistory_Testid Number Not Null,
    Testid Number Not Null,
    Requestor Varchar2(100),
    Daterequested Date Default Systimestamp
    Create Table Example.Testmaster
    Testid Number Not Null,
    Testname Varchar2(100),
    Ownerrequestor Varchar2(100) Default '[email protected]' Not Null,
    Testdatelastmodified Date
    Create Table Example.Users
    Requestor Varchar2(100) Not Null,
    Adminauthority Number Default 0 Not Null
    Alter Table Example.Questions
    Add Constraint Questions_Pk Primary Key
    Qid
    Enable
    Alter Table Example.Testgenhistory
    Add Constraint Testgenhistory_Pk Primary Key
    Testgenhistory_Testid
    Enable
    Alter Table Example.Testmaster
    Add Constraint Testmaster_Pk Primary Key
    Testid
    Enable
    Alter Table Example.Users
    Add Constraint Users_Pk Primary Key
    Requestor
    Enable
    Alter Table Example.Questions
    Add Constraint Questions_Testmaster_Fk1 Foreign Key
    Testid
    References Myschema.Testmaster
    Testid
    ) Enable
    Alter Table Example.Testgenhistory
    Add Constraint Testgenhistory_Users_Fk1 Foreign Key
    Requestor
    References Myschema.Users
    Requestor
    ) Enable
    Alter Table Example.Testgenhistory
    Add Constraint Testgenhistory_Testmaster_Fk Foreign Key
    Testid
    References Myschema.Testmaster
    Testid
    ) Enable
    Create Index Example.Testmaster_Index1 On Example.Testmaster (Testid);
    Create Sequence Example.Qidseq Increment By 1 Start With 1 Minvalue 1 ;
    Create Sequence Example.Testidseq Increment By 1 Start With 1 Minvalue 1 ;

    Hi Anuj,
    Sorry for the reply delay. I didn't get a notification of reply on the post.
    I am still able to get the error message dialog, along with the failure for the generation to terminate. (reproduced today 4/22/06 and others seem to be seeing it as well).
    I can't identify anything specific in the steps.
    Basically...
    created a new application with ejb, adf, toplink
    choose new project
    choose toplink generate java objects
    choose an existing validated database connection
    select objects (all 4 tables in my little schema)
    click through (...next...next...) to finish
    locks up and dialog appears
    I made a video of the steps, including verifying the database connection. If you want to see it, I'll email it to you.
    here it is today (I've applied all updates available up to today):
    ava.lang.NullPointerException
         at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
         at oracle.toplink.addin.log      .updateTask(POJOGenerationLoggingAdapter.java:42)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)

  • Ant bug in Macbook Air

    An ant just crawled into my macbook air, will it damage the hardware? It went inside my computer, and I don't know what to do!

    As long as it doesn't step onto the circtury, you should be fine. Hopefully it dies and doesn't reproduce as above.
    Just hope for the best! Good luck

  • CS4 selection marquee marching ants - bug

    In Photoshop CS4 tryout in Mac OS X 10.5.5: Selection marquee is incorrectly drawn one pixel to the left of the actual selection. Simply create a new document, like 800 x 600 pixels, then select all (Command+A). The "marching ants" selection marquee is shifted one pixel to the left of where it should be. Can anyone confirm?
    I'm unsure how to report this to Adobe. They don't make it very easy.
    -a

    Well, since it appears as if a pixel is being split by a marquee selection, and since by definition a pixel
    cannot
    be divided, then it's a display anomaly.
    What you'll have to figure out is what region the marquee actually defines when you see what appears to be a line of marching ants running through the center of a pixel. Does the "partial" pixel end up inside or outside of the selection?
    Then again, depending on the type of work being done, it may not really matter much, from a visual standpoint.

  • Bug Generated in NT 4.0 sp 5

    I recently installed Oracle Forms 6i and Reports 6i. Now though not all the time when I am logging off my workstation (standalone not on a network)the system crashes to the dreaded blue screen to preform a physical dump and the sys locks up causing me to have to hit the computers reset button. When I look at the Event Viewer in Administrative Tools is see the following entry for this event: Event Viewer - System Log on \\NTWKS 6/5/00
    The computer has rebooted from a bugcheck. The bugcheck was: 0x0000000a (0x05010055, 0x00000002, 0x00000000, 0x80129df7). Microsoft Windows NT [v15.1381]. A full dump was not saved.
    Has anyone else discovered this problem after installing Oracle Forms 6i and Reports 6i.
    Thanks,
    Glenn

    To quote Metalink Note 161818.1 (Oracle Server (RDBMS) Releases Support Status Summary)
    "Terminology Used in this Article
    Patch Set
    *Patch sets are cumulative. For example, 10.1.0.4 includes all the fixes in 10.1.0.3 as well as new fixes for 10.1.0.4.*      "

  • How to use the build file generated by Jdev to automate bpel deployment

    Hi everyone I am trying to deploy bpel jar files and human task ear files using ant. When i use the ant which is generated by Jdev I am gettinng an error
    C:\Documents and Settings\254876\Desktop\BPEL_ANT>ant
    Buildfile: build.xml
    deployTaskForm:
    BUILD FAILED
    C:\Documents and Settings\254876\Desktop\BPEL_ANT\build.xml:39: Could not create
    task or type of type: deployTaskForm.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'deployTaskForm'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.

    Ensure JDEV and SOA versions are in sync.

  • AddDataSourceConnectionPool not working with ant on upgrade to 10.1.3.4

    Hi,
    Following script is used to create connectionpools ...
    <project name="MyProject" default="dist" basedir="." xmlns:oracle="antlib:oracle">
    <description>simple example build file</description>
         <property file="ant-oracle.properties"/>
         <import file="ant-oracle.xml"/>
    <target name="dist" description="generate the distribution" >
         <oracle:addDataSourceConnectionPool
         deployerUri="deployer:oc4j:opmn://localhost:6003/home"
         userid="oc4jadmin"
         password="spatial1"
         applicationName="default"
         name="ScottConnectionPool"
         factoryClass="oracle.jdbc.pool.OracleDataSource"
         dbUser="scott"
         dbPassword="tiger"
         url="jdbc:oracle:thin:@localhost:1521:xe"/>
    </target>
    </project>
    the script works fine with 10.1.3.1; but when the server is upgraded to 10.1.3.4, it gives the following exception ->
    BUILD FAILED
    +/home/oracle/ant_test/build.xml:17: Could not create task or type of type: antlib:oracle:addDataSourceConnectionPool.+
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'antlib:oracle:addDataSourceConnectionPool'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    +libraries present in ${ant.home}/lib/optional/ , or alternatively,+
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    +<presetdef> or <macrodef> but have spelt wrong or not+
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 0 seconds
    I believe the admin_client.jar has got updated after the upgrade ... do I have to do anything else after the patch upgrade? ...
    Thanks,
    Nimesh

    The names are updated to the following (although the documentation doesn't reflect this):
    addDataSourceConnectionPool == createJDBCConnectionPool
    addManagedDataSource == createManagedDataSource
    addNativeDataSource == createNativeDataSource
    testDataSourceConnectionPool == testConnectionPool
    Hope it helps ...
    Cheers!
    Nimesh

  • How to compile a class from a Servlet using ant!!!

    Hi I have the following problem:
    I have a Servlet that must compile a java class.
    Here is the code that i use to compile:
    File buildFile = new File(build.xml path);
    String[] arg = { "-buildfile", buildFile.toString(), "compile" };
    Properties userProps = null;
    ClassLoader loader = ClassLoader.getSystemClassLoader();
    Main.start(arg, userProps, loader);
    The build.xml file was written correctly, infact if i lunch the command ant by dos it is correctly done.
    When I put my application in tomcat/webapps and try to compile with code above I have the following error:
    BUILD FAILED C:\......: Could not create task or type of type: property.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'property'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries implementing the functionality were not found at the time you yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using <presetdef> or <macrodef> but have spelt wrong or not defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath
    Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug.

    Java code Snippet
    import org.apache.tools.ant.*;// ant.jar
    String SourceDir="c:\java";
         String DestinationDir="c:\classes";
         Project project = new Project();
         try
    String baseDir = getServletContext().getRealPath( "/WEB-INF/build/");//Build.xml should be in this folder or else make use of the build folder here
         File buildFile = new File( baseDir, "build.xml");
         project.setUserProperty( "SourceDir", SourceDir);
         project.setUserProperty( "DestinationDir", DestinationDir);
         project.setUserProperty( "ant.file", buildFile.getAbsolutePath());
         project.setBaseDir( new File( baseDir));
         project.init();
         ProjectHelper.configureProject( project, buildFile);
         project.executeTarget(project.getDefaultTarget());
         catch (Exception e)
    Build.xml
    <?xml version="1.0"?>
    <project name="Sample" default="compile" basedir=".">
         <property name="SrcDir" value="${SourceDir}"/>
         <property name="DestnDir" value="${DestinationDir}"/>
         <target name="compile">
              <javac srcdir="${SrcDir}" destdir="${DestnDir">
                   <classpath > <!-- If any supporting jars required to compile the file add this-->
                        <fileset dir="${SrcDir}" includes="*.jar" />
                   </classpath>
              </javac>
         </target>
    </project>

  • A simple question about istrue of Ant.

    Hello everyone,
    I have written the folllowing scripts, just want to output "Foo is true." when the property foo is set to true. But when using Eclipse to run the simple script, there are something wrong. Could anyone help to check what is the wrong with my shell scripts?
    Source codes,
    <project default="Trivial">
    <target name="Trivial">
    <echo>Target trivial is running.</echo>
    <property name="foo" value="true" />
    <istrue value="${foo}" />
    <then>
    <echo> Foo is true. </echo>
    </then>
    </target>
    </project>
    Error messages,
    Buildfile: C:\Documents and Settings\Admin\TestBuild.xml
    Trivial:
    [echo] Target trivial is running.
    BUILD FAILED: C:\Documents and Settings\Admin\TestBuild.xml:5: Could not create task or type of type: istrue.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'istrue'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 391 milliseconds
    thanks in advance,
    George

    Thanks jfbriere!
    It's a - little bit - more complicated than that to
    write conditional steps in "pure" ANT. The following
    is an example that works:
    <project default="Trivial_2">
    <target name="Trivial">
    <echo>Target trivial is running.</echo>
    <property name="foo" value="true" />
    <condition property="fooistrue">
    <istrue value="${foo}" />
    </condition>
    </target>
    <target name="Trivial_2" depends="Trivial"
    ial" if="fooistrue">
    <echo> Foo is true. </echo>
    </target>
    </project>Of course, if you want a real <if> task (with <then>
    and <else>) you'll have to install [url
    http://ant-contrib.sourceforge.net/tasks/tasks/index.h
    tml]AntContrib which is a third party library.Regards
    I have tried your method and it works cool!
    regards,
    George

  • Ant autotype does not seem to recognize xsd:include

    Hi
    I am currently using WebLogic 7.0. I was trying to use ant autotype to generate
    java classes based on a schema. I ran into a problem that the autotype does not
    seem to include the other schema files listed with xsd:include. I could only get
    around the problem by literally copy and paste the complex types definition into
    the calling schema file. Below are the two schemas that illustrate the problem.
    x.xsd includes y.xsd but however the EmployeeBean listed in y.xsd results in a
    unresolve type with autotype. Problem only goes away if EmployeeBean definition
    is listed in x.xsd.
    Any help is much appreciated.
    ==========================================================
    x.xsd
    ==========================================================
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <xsd:schema xmlns:ofx="http://ofx.net/v3.0"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://ofx.net/v3.0">
    <xsd:include schemaLocation="y.xsd" />
    <xsd:complexType name="Company">
    <xsd:sequence>
    <xsd:element name="XYZ" type="ofx:EmployeeBean" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ==========================================================
    y.xsd
    ==========================================================
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <xsd:schema targetNamespace="http://ofx.net/v3.0"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ofx="http://ofx.net/v3.0">
    <xsd:complexType name="EmployeeBean">
         <xsd:sequence>
         <xsd:element name="name"
              type="xsd:string"
              nillable="true"
              minOccurs="1"
              maxOccurs="1">
         </xsd:element>
         <xsd:element name="id"
              type="xsd:int"
              minOccurs="1"
              maxOccurs="1">
         </xsd:element>
         </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    =============================================================

    Actually imports will work in most cases, though some bug fixes have
    been made since and will show up in future releases.
    --Scott
    In article <[email protected]>,
    Bruce Stephens <[email protected]> wrote:
    Hello,
    At the moment, we handle wsdl imports as done by SOAPBuilders Round
    3, but not schema imports. Look for this in the upcoming release;
    Contact Michael Bamford ([email protected]) if you would like
    to be on the Beta.
    Thanks,
    Bruce
    Sooleng Lau wrote:
    Thank you for the response and info. What about schema import, is
    it handled by weblogic 7.0 at the moment ? What is the upcoming
    release, is it WebLogic 7.1 ?
    Thank you.
    Soo Leng
    Bruce Stephens <[email protected]> wrote:
    Hello,
    Schema include is a known problem that will be corrected in the upcoming
    release.
    The workaround at this point is the cut and paste :-( you described.
    Bruce
    Sooleng Lau wrote:
    Hi
    I am currently using WebLogic 7.0. I was trying to use ant autotypeto generate
    java classes based on a schema. I ran into a problem that the autotypedoes not
    seem to include the other schema files listed with xsd:include. I couldonly get
    around the problem by literally copy and paste the complex types definitioninto
    the calling schema file. Below are the two schemas that illustratethe problem.
    x.xsd includes y.xsd but however the EmployeeBean listed in y.xsd resultsin a
    unresolve type with autotype. Problem only goes away if EmployeeBeandefinition
    is listed in x.xsd.
    Any help is much appreciated.
    ==========================================================
    x.xsd
    ==========================================================
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <xsd:schema xmlns:ofx="http://ofx.net/v3.0"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://ofx.net/v3.0">
    <xsd:include schemaLocation="y.xsd" />
    <xsd:complexType name="Company">
    <xsd:sequence>
    <xsd:element name="XYZ" type="ofx:EmployeeBean" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ==========================================================
    y.xsd
    ==========================================================
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <xsd:schema targetNamespace="http://ofx.net/v3.0"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ofx="http://ofx.net/v3.0">
    <xsd:complexType name="EmployeeBean">
    <xsd:sequence>
    <xsd:element name="name"
    type="xsd:string"
    nillable="true"
    minOccurs="1"
    maxOccurs="1">
    </xsd:element>
    <xsd:element name="id"
    type="xsd:int"
    minOccurs="1"
    maxOccurs="1">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    =============================================================

Maybe you are looking for