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:12:17 UTC

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

The following comment has been added to this issue:

     Author: Jochen Wiedmann
    Created: Thu, 22 Jul 2004 4:10 PM
       Body:
I would like to discuss the suggested behaviour. Is it fine, to ignore the xsi:schemaLocation completely? Or is there anything, that JaxMe should do?

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAXME-17?page=comments#action_36833

---------------------------------------------------------------------
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:10 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