Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Implementing a DTD-based XML validator [Thread Next] Re: Implementing a DTD-based XML validatorTo: NULL Date: 6/4/2009 12:55:00 AM Fri, 29 May 2009 13:38:08 +0100, /Tom Anderson/: > Call me mad, but i'm interested in writing an XML validator. Not as part > of a parser, but operating on DOM-like objects in a program. JAXP 1.3 provides validation API which is implemented [1] by Xerces2 and which could operate on already parsed and built DOM. > Can anyone direct me > to anything i can read online where i can learn about this? That could > be in English or source code - presumably, there are numerous > open-source projects which have implemented XML validators, right? You could read the Xerces2 Implementation API documentation [2] - packages like org.apache.xerces.impl.dtd.models and org.apache.xerces.impl.xs.models. You could browse the sources [3] as well. [1] http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/package-summary.html [2] http://xerces.apache.org/xerces2-j/javadocs/xerces2/index.html [3] http://xerces.apache.org/xerces2-j/source-repository.html -- Stanimir | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
