org.xml.sax.SAXParseException: 'root' is already defined
--------------------------------------------------------

                 Key: MJAXB-32
                 URL: http://jira.codehaus.org/browse/MJAXB-32
             Project: Maven 2.x JAXB 2.1 Plugin
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: >mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_16
Java home: C:\java\jdk160_16\jre
Default locale: de_CH, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
            Reporter: rupert thurner
            Priority: Critical
         Attachments: mulitple-schema-testcase.zip

having two schemas in the same location and using:

           <configuration>
                        <schemaDirectory>src/main/resources</schemaDirectory>
                        <schemaFiles>test-input.xsd,deploy.xsd</schemaFiles>
           </configuration>

results in:
  mvn compile
     org.xml.sax.SAXParseException: 'root' is already defined
     ....

doing 2 separate runs work having only one of the files in schemaFiles. xjc 
native as well work.



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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to