Skip to content

Zebralt/simple-xml-dtd-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DTD Validator for XML

December 2017

This is a project I realized during my M2 Data & Knowledge, in the Web Data Models course. The goal was to reproduce the process of DTD validation of a XML document.

In this project, we process the streaming format of XML and a simplified version of DTD.

XML :

0 a
0 b
1 b
0 c
1 c
0 d
1 d
1 a

DTD :

a (bc)*d
b _
c _
d _

The code is found in the file validator.py. To be able to perform DTD validation, there is a small regex engine, whose tests are in testRegex.py.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages