I read a bit about internal public and other dtd and it looks like this is ok Ahhh. The bug was showing a parser problemâ¦. so I could not get that it was related to the network :)
Because monty's code downloads the DTD for validation from
http://www.musicxml.org/dtds/partwise.dtd
I should check if is the "right thing to do" because it would increase parsing time significantly. At least it should be an option.
Cheers,
Hernan
2013/12/27 Stéphane Ducasse <stephane.ducasse@inria.fr> XMLDOMParser parse: '<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> <score-partwise version="3.0"> <part-list> <score-part id="P1"> <part-name>Music</part-name> </score-part> </part-list> </score-partwise> ' readStream.
produces the error while
XMLDOMParser parse: '<?xml version="1.0" encoding="UTF-8" standalone="no"?> <score-partwise version="3.0"> <part-list> <score-part id="P1"> <part-name>Music</part-name> </score-part> </part-list> </score-partwise> ' readStream.
does not.
Stef