开发者

XML DTD Problem

开发者 https://www.devze.com 2023-02-20 00:12 出处:网络
Code: <?xml version=\"1.0\"?> <!DOCTYPE email [ <!ELEMENT em开发者_开发知识库ail (text)>

Code:

    <?xml version="1.0"?>
    <!DOCTYPE email [
    <!ELEMENT em开发者_开发知识库ail (text)>
    <!ElEMENT text (#PCDATA)>
    ]>
    <email>
    <text>Dear John....;-).</text>
  </email>

The document is not well formed.

Please help


The case is wrong is this line:

<!ElEMENT text (#PCDATA)>

ElEMENT needs to be all upper-case.

Answer brought to you courtesy of http://www.validome.org/xml/validate/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号