是否有任何已定义的原子联合 xml 模式?
RFC 4287 仅包含附录 B 中的 Relax NG 紧凑模式。
Is there any defined atom syndication xml schema?
RFC 4287 only contains a Relax NG compact schema in appendix B.
http://www.kbcafe.com/rss/atom.xsd.xml" kbcafe.com/rss/atom.xsd.xml(网络存档版本,因为原始版本不再可用)
http://www.kbcafe.com/rss/atom.xsd.xml (A Web Archive version since the original is no longer available)
http:不应使用 //www.kbcafe.com/rss/atom.xsd.xml,因为它甚至无法检测丢失的 标签。
https://tools. oasis-open.org/version-control/browse/wsvn/cmis/trunk/SchemaProject/schema/ATOM.xsd 已损坏,xmllint 使用时报告错误:
xmllint
复杂类型“atomPersonConstruct”:内容模型不是确定性的。
RFC 包含relax ng 紧凑规范: https: //validator.w3.org/feed/docs/rfc4287.html#rfc.section.B
在trang的帮助下,.rnc文件可以从紧凑格式转换为基于 XML 的 .rng 文件。 这又可以与 xmllint 一起使用:
trang
.rnc
.rng
$ xmllint --noout --relaxng atom.rng feed.atom feed.atom:4: element feed: Relax-NG validity error : Expecting an element updated, got nothing feed.atom:16: element entry: Relax-NG validity error : Invalid sequence in interleave feed.atom:16: element entry: Relax-NG validity error : Element feed failed to validate content feed.atom fails to validate
http://www.kbcafe.com/rss/atom.xsd.xml should not be used, since it does not even detect missing <id> tags.
<id>
https://tools.oasis-open.org/version-control/browse/wsvn/cmis/trunk/SchemaProject/schema/ATOM.xsd is broken, xmllint reports an error when using it:
complex type 'atomPersonConstruct': The content model is not determinist.
The RFC contains a relax ng compact specification: https://validator.w3.org/feed/docs/rfc4287.html#rfc.section.B
With the help of trang that .rnc file can be converted from the compact format to the XML-based .rng file. This in turn can be used with xmllint:
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
http://www.kbcafe.com/rss/atom.xsd.xml" kbcafe.com/rss/atom.xsd.xml(网络存档版本,因为原始版本不再可用)
http://www.kbcafe.com/rss/atom.xsd.xml (A Web Archive version since the original is no longer available)
什么不起作用
http:不应使用 //www.kbcafe.com/rss/atom.xsd.xml,因为它甚至无法检测丢失的
标签。https://tools. oasis-open.org/version-control/browse/wsvn/cmis/trunk/SchemaProject/schema/ATOM.xsd 已损坏,
xmllint
使用时报告错误:什么有效
RFC 包含relax ng 紧凑规范: https: //validator.w3.org/feed/docs/rfc4287.html#rfc.section.B
在
trang
的帮助下,.rnc
文件可以从紧凑格式转换为基于 XML 的.rng
文件。 这又可以与 xmllint 一起使用:What does not work
http://www.kbcafe.com/rss/atom.xsd.xml should not be used, since it does not even detect missing
<id>
tags.https://tools.oasis-open.org/version-control/browse/wsvn/cmis/trunk/SchemaProject/schema/ATOM.xsd is broken,
xmllint
reports an error when using it:What does work
The RFC contains a relax ng compact specification: https://validator.w3.org/feed/docs/rfc4287.html#rfc.section.B
With the help of
trang
that.rnc
file can be converted from the compact format to the XML-based.rng
file. This in turn can be used withxmllint
: