[FIX] XML Parser elements

Michael Rueger m.rueger at acm.org
Wed Feb 6 12:09:36 UTC 2002


Torsten and all,

thanks for pointing out this bug.
Should be fixed with update 4753xml-fix-mir which is attached and in the
internal update stream.

Michael

Torsten.Bergmann at phaidros.com wrote:
> 
> Hi Michael,
> 
> |stream document|
> stream := '<?xml version="1.0" encoding="UTF-8"?>
>                          <project name="YAX">
>                                 <description>
>                                         YAX is yet another XML parser.
>                                 </description>
>                          </project>' readStream.
> document := XMLDOMParser parseDocumentFrom: stream.
> ^document elements
> 
> returns an error in XMLNodeWithEntities>>elements.
> 
> I would guess it should be implemented like this:
> 
> elements
>         ^(self entities collect: [:each | each value])
> 
> The fix is attached. If it's correct send it to the list or Dan to
> get it into the update stream.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4753xml-fix-mir.zip
Type: application/x-zip-compressed
Size: 428 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020206/a326500d/4753xml-fix-mir.bin


More information about the Squeak-dev mailing list