[Pharo-dev] problem while parsing xml

Stéphane Ducasse stephane.ducasse at inria.fr
Fri Dec 27 12:47:18 EST 2013


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 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/fc553cc8/attachment-0002.html>


More information about the Pharo-dev mailing list