Thread: Question
View Single Post
Old 08-14-2002, 11:52 PM   #44
Muse
EQ Atlas Webmaster
 
Join Date: Aug 2002
Posts: 67
Default Schemas and DTDs

I think the part that is being overlooked in your comments Ak is that all XML, in order to be used, must be validated. Somewhere (it looks like psychogears found where this is in the .exe) it has a file that will check the .xml files that are on our computer to make sure they are valid. Some, it doesn't care about (the ones you deleted). Some, it does. Within those, the Schema or DTD states how often and in what order the Elements must appear. They can do this in a few ways, but the aboutSIDL.doc mentions one way, the minOccurs and maxOccurs attributes.

It's likely that within the DTD/Schema (that we don't have access to) that is used to verify the PlayerWindow.xml file, there is a PetHP minOccurs=1 maxOccurs=* bit. This also explains why you get an XML error, because this validation is an XML process and not a .exe process. The PlayerWindow.xml file, however, is mandated by the .exe because they didn't anticipate us doing away with such a key window.
__________________
Muse
EQ Atlas
Muse is offline   Reply With Quote