Please help with Issue 668

View: New views
2 Messages — Rating Filter:   Alert me  

Please help with Issue 668

by uprooter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.
I'm having troubles withe external binding on my schema.
I have one project that holds a schema with annox/hyperjaxb3 annotations. I want to use the same schema in another poject to generate classes for the same entities in that schma. this project only need to do marshalling and no DB needed here.
When I try to use that schema (with -external -nv)  I get the following message:
org.xml.sax.SAXParseException: Unsupported binding namespace "http://hyperjaxb3.jvnet.org/ejb/schemas/customizations"
...
org.xml.sax.SAXParseException: Unsupported binding namespace "http://java.sun.com/xml/ns/persistence/orm"
...
org.xml.sax.SAXParseException: Unsupported binding namespace "http://annox.dev.java.net"...

JAXB issue 668 describes just the same problem but it's not assigned to anyone and i'm stuck for quite a long time with that.

your comments are welcome.


Re: Please help with Issue 668

by Wolfgang Laun-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Using XSLT to remove the unwarranted annotations from the xjb for the xjc call
should be an option.
-W


On Fri, Oct 23, 2009 at 11:19 AM, uprooter <uprooter@...> wrote:

Hello.
I'm having troubles withe external binding on my schema.
I have one project that holds a schema with annox/hyperjaxb3 annotations. I
want to use the same schema in another poject to generate classes for the
same entities in that schma. this project only need to do marshalling and no
DB needed here.
When I try to use that schema (with -external -nv)  I get the following
message:
org.xml.sax.SAXParseException: Unsupported binding namespace
"http://hyperjaxb3.jvnet.org/ejb/schemas/customizations"
...
org.xml.sax.SAXParseException: Unsupported binding namespace
"http://java.sun.com/xml/ns/persistence/orm"
...
org.xml.sax.SAXParseException: Unsupported binding namespace
"http://annox.dev.java.net"...

JAXB issue 668 describes just the same problem but it's not assigned to
anyone and i'm stuck for quite a long time with that.

your comments are welcome.


--
View this message in context: http://www.nabble.com/Please-help-with-Issue-668-tp26023199p26023199.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...