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

commits at source.squeak.org commits at source.squeak.org
Mon Jan 3 21:29:12 UTC 2022


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