我正在尝试使用xsd文件生成jaxb类,但它会引发以下错误。
解析模式... [错误]尾部不允许使用内容。 /eclipse-workspace/jaxb/response%20(1).xsd的第98行无法解析模式。
这是我的文件:
response.xsd
任何帮助表示赞赏。
I am trying to generate jaxb classes using xsd file but it throws me the following error.
parsing a schema... [ERROR] Content is not allowed in trailing section. line 98 of /eclipse-workspace/jaxb/response%20(1).xsd Failed to parse a schema.
this is my file:
response.xsd
Any help is appreciated.
最满意答案
我下载了你的文件并使用XML VALIDATION验证了它,在第98行你有一个不支持的字符
在删除它并在xml验证中再次验证后,错误未发生
你必须调查什么(或为什么)产生这个角色,在这里发布一些信息或者提出另一个问题。
I downloaded your file and validate it in XML VALIDATION, on line 98 you have a not supported character
After removing it and validating again on the xml validation, the error did not happened
You have to investigate what(or why) is generating this character, post some info here or ask another question.
更多推荐
发布评论