[Pharo-dev] problem while parsing xml

Hernán Morales Durand hernan.morales at gmail.com
Fri Dec 27 12:25:12 EST 2013


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 at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131227/bf48702a/attachment-0002.html>


More information about the Pharo-dev mailing list