JAXB Components from namespace are not referenceable from schema document

  • Thread starter Norberto Eichstaedt
  • Start date
N

Norberto Eichstaedt

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
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top