Go XML Schema Validation Possible?

agolangf · · 981 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Is this comment true . &#34;Go cannot check for validity of any document against a schema&#34; Is there a library to do this?</p> <hr/>**评论:**<br/><br/>T3hDot: <pre><p>I don&#39;t know off the top of my head, but that&#39;s a silly statement to make. Of course Go CAN do it. It&#39;s just a story of whether or not someone&#39;s written the code yet.</p></pre>antigiven: <pre><p>Context: <a href="https://jan.newmarch.name/go/xml/chapter-xml.html" rel="nofollow">https://jan.newmarch.name/go/xml/chapter-xml.html</a></p> <p>They&#39;re talking about the encoding/xml package. And yes it&#39;s true that the encoding/xml package does not do that.</p> <p>Searching godoc.org reveals one package: <a href="https://godoc.org/github.com/krolaw/xsd" rel="nofollow">https://godoc.org/github.com/krolaw/xsd</a></p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

981 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传