It's strange because "Smalltalk platformName" (the typo "plateform" is only in your post, not the source method) worked fine in my personal 5.0 image and for both stable and development 5.0 CI builds, but failed for development but not stable 3.0 and 4.0 builds.
There is a new release which fixes the issue, but it is a bit more complex than using OSPlatform because XMLWriter and all XMLParser related libs target all Pharo versions back to 1.4 and recent Squeak/GemStone(gsDevKit) releases, so assuming OSPlatform is present is a non-starter. Thanks for the report. > Sent: Tuesday, July 05, 2016 at 4:41 AM > From: "Cyril Ferlicot Delbecque" <[email protected]> > To: "Pharo Development List" <[email protected]>, monty > <[email protected]> > Subject: XMLWriter does not load in development in Pharo > > Hi, > > There was a commit in XMLWriter using `Smalltalk plateformName > asLowercase beginsWith: 'win'` in the initialisation of the writer > class. #plateformName does not exist in the Pharo image so it's > impossible to load the development version of XMLWriter in Pharo at the > moment. > > Instead I think it should use `OSPlatform current isWindows`. Or even > better: `OSPlatform current lineEnding`. Since I don't know if XMLWriter > is a Pharo project or if it's loadable in other Smalltalk I prefer to > send a mail instead of changing the code myself. > > -- > Cyril Ferlicot > > http://www.synectique.eu > > 165 Avenue Bretagne > Lille 59000 France > >
