Hi,
 
I have tried what you have suggested, but even after that, my code is not running and giving the same error. Please help me.
 
The XSD starts with the following:-

<?xml version="1.0" ?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:jxb="http://java.sun.com/xml/ns/jaxb"

jxb:version="1.0"

xmlns:domainObjects="http://www.ibm.com/domainobjects"

targetNamespace="http://www.ibm.com/domainobjects"

xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"

jxb:extensionBindingPrefixes="xjc">

 

and the XML file starts with the following:-

<?xml version="1.0" encoding="UTF-8"?>

<Images xmlns:default="http://www.ibm.com/domainobjects">

where Images is the root node.
Hope to hear from you soon.
 
Thanks and Regards,
Shikha
----- Original Message -----
Sent: Monday, November 07, 2005 4:38 PM
Subject: Re: Problem with Unmarshallar

On 11/7/05, Shikha Prasad <[EMAIL PROTECTED]> wrote:

> I am new to the language and JaxME, so it will be of great help, if you can
> provide me some dummy xml, with a namespace.

Basically all you have to do is: If the schema has an attribute

    targetNamespace='...'

then the XML document must have an attribute like

    xmlns='...'

with the same value.


Jochen

--
Often it does seem a pity that Noah and his party did not miss the
boat. (Mark Twain)

Reply via email to