1 2 3 4 Previous Next 46 Replies Latest reply on May 4, 2009 3:24 AM by deruelle_jean Go to original post
      • 45. Re: problem parsing sip.xml with JBossXB
        aloubyansky

        The exception is expected in this case since pattern's condition property is bound as

        @XmlElementWrapper(name = "condition")
         @XmlElements( {
         @XmlElement(name = "and", type = AndMetaData.class),
         @XmlElement(name = "contains", type = ContainsMetaData.class),
         @XmlElement(name = "equal", type = EqualMetaData.class),
         @XmlElement(name = "exists", type = ExistsMetaData.class),
         @XmlElement(name = "not", type = NotMetaData.class),
         @XmlElement(name = "or", type = OrMetaData.class),
         @XmlElement(name = "subdomain-of", type = SubdomainOfMetaData.class)})
         public void setCondition(ConditionMetaData condition) {
         this.condition = condition;
         }

        Remove wrapping condition element.

        Unfortunately, XmlElementRef is not supported currently.

        • 46. Re: problem parsing sip.xml with JBossXB
          deruelle_jean

          Removal of the wrapping condition element did it.

          Thanks a lot ! You've been a life saver ;-)

          1 2 3 4 Previous Next