here is the source of my test.xml
<?xml version="1.0"?>
<!DOCTYPE cars [
<!ELEMENT car (brand, type) >
<!ELEMENT brand (#PCDATA) >
<!ELEMENT type (#PCDATA) >
]>
<car>
<brand>sad</brand>
<brand>asd</brand>
</car>
shouldnt i get an error because the brand is put in twice now? same goes for when i use #REQUIRED, when
i leave it empty, it still wont show any errors
<?xml version="1.0"?>
<!DOCTYPE cars [
<!ELEMENT car (brand, type) >
<!ELEMENT brand (#PCDATA) >
<!ELEMENT type (#PCDATA) >
]>
<car>
<brand>sad</brand>
<brand>asd</brand>
</car>
shouldnt i get an error because the brand is put in twice now? same goes for when i use #REQUIRED, when
i leave it empty, it still wont show any errors