Hi,

I am new to Xerces but have successfully got a DOMLSParser to work in C++ -
in as far as I can load a document and find its nodes.

However the

   parseURI( pszFilename );

takes forever (over a minute) validating according to a DOCTYPE statement of
the form:

<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0
Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd";>

I want to replace the reference to the DTD by a reference to a copy on my
machine when calling parseURI( ).

It looks to me like I need to use the DOMLSResourseResolver and DOMLSInput
classes but the documentation requires a level of knowledge and
understanding which I do not have.

Is there any sample code anywhere showing exactly how to do this?

Dave
David Webber
Mozart Music Software
http://www.mozart.co.uk
For discussion and support see
http://www.mozart.co.uk/mozartists/mailinglist.htm



Reply via email to