I've got an XML document, with a DTD. Just to see what happens, I tried to make the XML incorrect, but no errors came up. Why would that be?
XML :
test.dtd :Code:<?xml version="1.0"?> <!DOCTYPE test SYSTEM "test.dtd"> <test> <crap/><crap/><crap/> </test>
From what I understand, I should be getting errors about the document or the dtd or something, but nothing is coming up as wrong.Code:<!ELEMENT test (testelement)> <!ELEMENT testelement (#PCDATA)>
![]()




Reply With Quote