[xsd-users] embedding and fgXercesLoadExternalDTD?

Boris Kolpackov boris at codesynthesis.com
Mon Apr 20 10:00:45 EDT 2015


Hi Mario,

I am not an expert in Xerces-C++ DTD support and even less so
on DTD/XML Schema interaction.

DTDs, unlike Schema, serve dual purpose: they may supply entities
(content) and grammar (validation). As a result, I would be weary
of ignoring DTDs outright. The way I would handle your situation
is by providing Xerces-C++ EntityResolver and returning a local
DTD (you could probably even do the embedding, it just won't be
parsed grammar).

Boris



More information about the xsd-users mailing list