这个错误是什么意思 [英] What does this errror mean

查看:86
本文介绍了这个错误是什么意思的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

指定的消息不符合DTD(在.net中发送SMS时)


The Specified message does not conform to DTD (While sending SMS in .net)


<MESSAGEACK>
<Err Code="65535" Desc="The Specified message does not conform to DTD"/>
</MESSAGEACK>

推荐答案

为XML提供元数据的一种方法是DOCTYPE:
http://en.wikipedia.org/wiki/DOCTYPE [ http://www.whatwg.org/specs/web- apps/current-work/multipage/syntax.html#the-doctype [ http://en.wikipedia.org/wiki/XML_Schema_%28W3C%29 [ ^ ],另请参阅外部参考.

—SA
One of the way to provide meta-data for XML is DOCTYPE:
http://en.wikipedia.org/wiki/DOCTYPE[^],
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#the-doctype[^].

It allows to describe, with some limitation, the data schema of the XML. And the XML document may or may not conform to it. The DOCTYPE schema can be provided as XML entity (or embedded in XML document) or not (especially if this is one of the standard ones); it can be just referenced or even assumed (by software). Anyway, non-conformity can be detected by some XML-processing software; that''s all.



By the way, the dominating trend is to avoid using DOCTYPE and use XML schema instead of it. Please see:
http://en.wikipedia.org/wiki/XML_Schema_%28W3C%29[^], see also the external references.

—SA


这篇关于这个错误是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆