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/
精彩评论