Re: [Pharo-dev] XMLParser Problem with SVG
Apparantly the config browser will load from your local package cache, which is why I wasn't getting errors. I tried from a different image with a clean package cache, and it loaded a much older version than you would get if you loaded the ConfigurationOf directly from PharoExtras/XMLParser. You really need to use the latest version. It would be nice if the Config browser would pull in the stable version from the most recent config of the package's repo on ST hub. ----- Original Message ----- From: J.F. Rick Sent: 01/05/14 09:19 AM To: Pharo Development List Subject: [Pharo-dev] XMLParser Problem with SVG I am trying to use SVG with Athens; however, the XMLParser for Pharo 3.0 cannot read normal SVG files that it used to. So, the demo of "ASVGMorph fromFile: 'lion.svg'" fails in the XMLParser (i.e., before ASVGMorph really does anything to it). It seems to download the DTD file from the Internet and then cannot properly parse it. Here is my setup: Up-to-date Pharo 3.0. Added XMLParser from the Configuration Browser.Example file can be found here: http://www.thetangentbundle.net/w/images/f/ff/lion.svg The following brings up an error: XMLDOMParser parseFileNamed: 'lion.svg' Cheers, Jeff -- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
On 06 Jan 2014, at 06:02, monty <monty.os@engineer.com> wrote:
Apparantly the config browser will load from your local package cache, which is why I wasn't getting errors. I tried from a different image with a clean package cache, and it loaded a much older version than you would get if you loaded the ConfigurationOf directly from PharoExtras/XMLParser. You really need to use the latest version.
It would be nice if the Config browser would pull in the stable version from the most recent config of the package's repo on ST hub.
Yes but right now you have to push to the configuration browser repo.
----- Original Message ----- From: J.F. Rick Sent: 01/05/14 09:19 AM To: Pharo Development List Subject: [Pharo-dev] XMLParser Problem with SVG
I am trying to use SVG with Athens; however, the XMLParser for Pharo 3.0 cannot read normal SVG files that it used to. So, the demo of "ASVGMorph fromFile: 'lion.svg'" fails in the XMLParser (i.e., before ASVGMorph really does anything to it). It seems to download the DTD file from the Internet and then cannot properly parse it. Here is my setup:
Up-to-date Pharo 3.0. Added XMLParser from the Configuration Browser. Example file can be found here: http://www.thetangentbundle.net/w/images/f/ff/lion.svg The following brings up an error: XMLDOMParser parseFileNamed: 'lion.svg'
Cheers,
Jeff
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
participants (2)
-
monty -
Stéphane Ducasse