[
https://issues.apache.org/jira/browse/CXF-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585364#action_12585364
]
Glen Mazza commented on CXF-1500:
---------------------------------
I don't know what we can do about it--that error message comes from xjc, CXF is
probably just dutifully returning it without modification. I wonder if the
problem is that we are using an older version of xjc with CXF, or if we are
using a different processing mechanism (StAX? SAX?) than xjc standalone that
results in line numbers not being available.
> Very unhelpful error message for wsdl2java problem with documentation
> annotations
> ---------------------------------------------------------------------------------
>
> Key: CXF-1500
> URL: https://issues.apache.org/jira/browse/CXF-1500
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.1
> Reporter: Benson Margulies
> Attachments: RosetteTextAnalyzer.wsdl
>
>
> I am trying to run wsdl2java on a WSDL file with some doc annotations. I get
> the following. I will attach the file. It doesn't have the annotations on
> line 0!
> bim-1330% $CXF_HOME/bin/wsdl2java -d src -server
> /home/benson/x/tip/webservices/doc/en/RosetteTextAnalyzer.wsdl
> WSDLToJava Error: Thrown by JAXB : Unexpected <annotation> appears at line 0
> column 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.