[squeak-dev] The Trunk: XML-Explorer-ct.2.mcz

Tobias Pape Das.Linux at gmx.de
Mon Jan 3 22:03:29 UTC 2022



> On 3. Jan 2022, at 22:29, Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de> wrote:
> 
> By the way, is it intended that we have this separate package for ~6 extension methods only? :-)

Yes!
In fact, thats the point!
The whole XML-stuff is supposed to work in absence of any tools, notably, the explorer.

Hence, a separate package to not make XML depend on Tools or vice versa :)

Best regards
	-Tobias

> 
> Best,
> Christoph
> Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
> Gesendet: Montag, 3. Januar 2022 22:29:12
> An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
> Betreff: [squeak-dev] The Trunk: XML-Explorer-ct.2.mcz
>  
> Christoph Thiede uploaded a new version of XML-Explorer to project The Trunk:
> http://source.squeak.org/trunk/XML-Explorer-ct.2.mcz
> 
> ==================== Summary ====================
> 
> Name: XML-Explorer-ct.2
> Author: ct
> Time: 3 January 2022, 10:29:11.972397 pm
> UUID: ab93eaa9-fa48-5f45-a686-beb9d3b8cdcc
> Ancestors: XML-Explorer-topa.1
> 
> Improves multilingual support.
> 
> =============== Diff against XML-Explorer-topa.1 ===============
> 
> Item was changed:
>   ----- Method: XMLNodeWithElements>>explorerContents (in category '*XML-Explorer') -----
>   explorerContents
>   
>          ^ self elementsAndContents collect: [:element | 
>                  | name |
>                  name := element isTag
>                          ifTrue: ['<{1}>' format: {element name}]
>                          ifFalse: [element isText
> +                                ifTrue: ['[character data]' translated]
> -                                ifTrue: ['[character data]']
>                                  ifFalse: [element]].
>                  ObjectExplorerWrapper
>                          with: element 
>                          name: (name asString contractTo: 32)
> +                        model: self ]!
> -                        model: self ]
> - !




More information about the Squeak-dev mailing list