JAXB Components from namespace are not referenceable from schema document

Norberto Eichstaedt

Usenet Archive
Joined
Jan 9, 2004
Messages
2
Reaction score
0
Hi,

I have a XML file that uses "html:table".

<book>
<chapter>
<html:table>
<html:tbody>
.....

How should be the xsd to be created in order the accepted by the xjc utility?

I have added the namespace "html" to the schema root and created something like:

<xsd:element ref="html:table" />

But, I always get the error:

[ERROR] src-resolve 4.2:Components from namespace "www.w3.org/html"' are not referenceable from schema document.

Thanks,

Norberto
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,802
Members
249,594
Latest member
henrywalsh

Latest Threads

Top