dev@jaxb.java.net

Re: ActiveSOAP now supports JAXB 2.0

From: Ed Mooney <Ed.Mooney_at_Sun.COM>
Date: Tue, 03 May 2005 14:01:06 -0400

Attached. The schemas are at:

http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd
http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.xsd
http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd

   -- Ed

Kohsuke Kawaguchi wrote:
> Ed Mooney wrote:
>
>> I don't think so. But is it fishy that the collisions occur between
>> names in the schema being compiled and its targetNamespace
>> (http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd)?
>>
>
>
> Could you post the actual error messages? I'd like to understand what
> are causing collisions.
>


cd c:/JAXB2.0/jaxb-sqe/data/oasis/
. $SANDBOX/dot/jaxb2.0;java com.sun.tools.xjc.Driver -host webcache.east -port 8080 *.xsd
parsing a schema...
[ERROR] 'TopicExpressionType' is already defined
  line 53 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 45 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'TopicExpression' is already defined
  line 53 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 53 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'Topic' is already defined
  line 57 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 57 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'FixedTopicSet' is already defined
  line 59 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 59 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'TopicExpressionDialects' is already defined
  line 61 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 61 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'ConsumerReference' is already defined
  line 65 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 65 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'UseNotify' is already defined
  line 67 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 67 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'Precondition' is already defined
  line 69 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 69 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'Selector' is already defined
  line 71 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 71 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'SubscriptionPolicy' is already defined
  line 73 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 73 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] 'CreationTime' is already defined
  line 75 of http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd

[ERROR] (related to above error) the first definition appears here
  line 75 of file:/C:/JAXB2.0/jaxb-sqe/data/oasis/wsn-WS-BaseNotification-1.2-draft-01.xsd

Failed to parse a schema.

Compilation finished at Tue May 03 13:14:39