错误:内容不被允许在尾部(ERROR: Content is not allowed in trailing section)

编程入门 行业动态 更新时间:2024-10-27 17:12:50
错误:内容不被允许在尾部(ERROR: Content is not allowed in trailing section)

我正在尝试使用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

here

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.

更多推荐

本文发布于:2023-07-29 18:35:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1318687.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:尾部   不被   错误   内容   ERROR

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!