You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by ja...@ws.apache.org on 2004/07/23 01:10:17 UTC

[jira] Assigned: (JAXME-17) UnMarshalling Schema Aware instance document throws SAXParseException

Message:

   The following issue has been re-assigned.

   Assignee: Jochen Wiedmann (mailto:jochen@apache.org)
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAXME-17

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAXME-17
    Summary: UnMarshalling Schema Aware instance document throws SAXParseException
       Type: Bug

     Status: Open
   Priority: Major

    Project: JaxMe

   Assignee: Jochen Wiedmann
   Reporter: John Conlon

    Created: Thu, 22 Jul 2004 8:35 AM
    Updated: Thu, 22 Jul 2004 4:08 PM
Environment: Linux Red Hat 9.0; Sun JDK 1.4.2-b28 JaxMe 0.3 release candidate 

Description:
UnMarshal a schema aware instance document throws:

 org.xml.sax.SAXParseException: Unknown attribute: 'schemaLocation' in
namespace 'http://www.w3.org/2001/XMLSchema-instance'

Here is an example instance:
<?xml version = "1.0" encoding = "UTF-8"?>
<TestConfiguration
          xmlns = "http://www.verticon.com/jaxb/schema"
          xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation = "http://www.verticon.com/jaxb/schema
          Config.xsd">
          <ChildTwo name="defaultExample" type="jython">
            <Commands>
              Hello World
             </Commands>
          </ChildTwo>
</TestConfiguration>


Note 1. Works with the Sun RI.  
Note 2. I can unmarshal this instance if it does not reference a schema.  (by removing 
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation = "http://www.verticon.com/jaxb/schema
          Config.xsd"
)



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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