• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB compile

 
Brian Mulholland
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to set up JAXB to build classes when my eclipse builds. Another project here has this set up by an ex-employee but we need to update it to a more recent version. I think I am doing the equivalent of everything he did, but I keep getting warnings (and other errors) like the following:



I have confirmed that I can reach the url. The offending tag in my xsd is:



Ideas?
 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... update it to a more recent version

Of what? JAXB?
 
Brian Mulholland
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Updating JAXB. The third complaint of the error message (that it doesn't start with <xsd:schema>, is true. The file at the end of that URL starts with <xs:schema> not xsd. It seems like that little 'd' might be the source of my problems. But why does the XML parser think that is appropriate? I see nothing in my project or any xsd file that attempts to create an xsd namespace. In fact, a text search of my entire project confirms that xsd only occurs as file name suffixes, and in comments. The URL it blows up on is in a schema I downloaded that defines the Atom feed, and is publicly in use, and the reference it blows up on is public, from w3c.

I saw some forum posts implying that there was a validation bug in past versions, but I am updating to 2.2.1.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic