-
[프로그래밍] JAXB error with conflicted name2011.09.28 PM 05:34
using JABX to genetrate XML binding classes.
the schema is based on a set of some XML files, and include this snippet
The 'name' attribute conflicts with the 'name' property and the code generation fails with the error:
Answer is use binding information
xmlns:xs="http://www.w3.org/2001/XMLSchema"
version="2.1">
and then excute with xjc extension
xjc -extension problem.xsd -b problem.xjb
then you will see the attribute "name" are renamed by xjc tool.
result is quite simple rename the conflicted one
댓글 : 0 개
user error : Error. B.