The children field of an DTD node should be NULL

View: New views
1 Messages — Rating Filter:   Alert me  

The children field of an DTD node should be NULL

by Rabi_huawei :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I found this thing when i print all the fields of an instance of xmlDTD. I parsed a simple xml document containg an internal DTD subset. I obtain a reference to the DTD node in the DOC and print all its field then i found that the children and last field have some address. According to the DOM specification the DTD node should not have any child node hence it should be NULL. Its not a problem as it is not affecting the API. But i am not understanding why this deviation has been done.

Thanks & Regards

Rabi