This is a trivial academic project using Bison (GNU parser generator to work with grammar) and Flex (a fast lexical analyser generator).
#Validating a XML file with a reference to its DTD
Warning : for now, we only verify that each tag has the right children, but we do not verify the correctness of attributes. (and we do not verify many other things for sure ...).
SO DO NOT USE THIS PROJECT FOR PRODUCTION CODE
###Compiling AnalyseurXML cd src/AnalyseurXML && make clean && make
###Compiling AnalyseurDTD cd src/AnalyseurDTD && make clean && make
###Building AnalyseurXMLDTD cd src/ && make
cd src && make
##Starting Write an example.xml file containing a reference toward its DTD. This reference should be like the following line :
Then do :
./analyseXMLDTD example.xml