Hi, As per my understanding, if I have two "ATTLIST" declarations (for same attribute) for a element then parser is supposed to ignore second one and should use first one. But i am trying following in XMLSpy and it seems confusing. if I include second ATTLIST in same file for same element then it takes second value.
For example: DTD File
Above XML file is valid as per XMLSpy but i don't think so. it should take the first vale for attribute 'lastnma' and it should be "saxena". Please help me here. Thanks