JAXB Locator - missing dependency?

Posted by Wouter Lievens on Stack Overflow See other posts from Stack Overflow or by Wouter Lievens
Published on 2010-05-25T15:10:17Z Indexed on 2010/05/26 7:21 UTC
Read the original article Hit count: 351

Filed under:
|
|
|
|

On my current project we generate JAXB beans from an XSD file. We need line number information on the beans (beyond XSD validation errors!) so I used the -Xlocator option specified here:

http://java.sun.com/webservices/docs/1.6/jaxb/xjc.html

However, I'm missing the Locator class. The jar file referenced to on that six-year old page can't be found anywhere, as I don't see a download for JWSDP on any site at all.

Is XJC dead? Should I be using something else?

© Stack Overflow or respective owner

Related posts about java

Related posts about Xml