Fwd: Re: Some XML packages not loading under 3.4.0

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Re: Some XML packages not loading under 3.4.0

GLASS mailing list

woops... didn't mean to send private email ...



-------- Forwarded Message --------
Subject: Re: [Glass] Some XML packages not loading under 3.4.0
Date: Wed, 1 Nov 2017 10:19:50 -0700
From: Dale Henrichs [hidden email]
To: Marten Feldtmann [hidden email]


Marten,

I’ve lost power at my home (where I am working) so I don’t have internet — except via my phone — I also cannot access the VPN resources...

Anyway, the error you are getting is due to changes that we made in the parsing of literal arrays — I forget the exact details and cannot look things up at the moment, but I do have a few local stones on my laptop :)—

After an experiment I think that the test code needs to be edited to turn the offending ‘,’ into ‘#,’ and then both 3.3 and 3.4 will be happy.

Dale

Sent from my iPhone

On Nov 1, 2017, at 6:08 AM, Marten Feldtmann via Glass <[hidden email]> wrote:

I get a problem when loading the following the package (this works under 3.3.6):

GsDeployer deploy: [
  Metacello new
    baseline: 'ZincHTTPComponents';
    repository: 'github://GsDevKit/zinc:gs_master/repository';
    onLock: [:ex | ex honor ];
    load: 'Zinc-SSO-OpenID-Core' ].


Error message:


'
--transcript--'Loaded -> Collections-BitmapCharacterSet-monty.25 --- http://smalltalkhub.com/mc/PharoExtras/BitmapCharacterSet/main --- cache'
--transcript--'Loaded -> Collections-OrderPreservingDictionary-monty.33 --- http://smalltalkhub.com/mc/PharoExtras/OrderPreservingDictionary/main --- cache'
--transcript--'Loaded -> Collections-OrderPreservingDictionary-GemstoneCompatibility-monty.1 --- http://smalltalkhub.com/mc/PharoExtras/OrderPreservingDictionary/main --- cache'
--transcript--'Loaded -> XML-Parser-monty.421 --- http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main --- cache'
--transcript--'Loaded -> XML-Parser-GemstoneCompatibility-monty.25 --- http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main --- cache'
--transcript--'Evaluated -> 3.2.7 [ConfigurationOfXMLParser] >> initializeClassesForGSBaseline321'
--transcript--'Loaded -> XML-Writer-Core-monty.73 --- http://smalltalkhub.com/mc/PharoExtras/XMLWriter/main --- cache'
--transcript--'Loaded -> XML-Writer-GemstoneCompatibility-monty.7 --- http://smalltalkhub.com/mc/PharoExtras/XMLWriter/main --- cache'
--transcript--'Loaded -> XML-Writer-Tests-monty.37 --- http://smalltalkhub.com/mc/PharoExtras/XMLWriter/main --- cache'
--transcript--'Loaded -> Collections-Tests-OrderPreservingDictionary-monty.27 --- http://smalltalkhub.com/mc/PharoExtras/OrderPreservingDictionary/main --- cache'
--transcript--'Warning: The following definitions had errors while loading.  Press Proceed to try to load them again (they may work on a second pass):
  XMLParserTest>>testEntityReferenceInternalDeclaration
  XMLParserTest>>testEntityReferenceUnterminatedInEntityValue
'
ERROR 2318 , a UserDefinedError occurred (error 2318), reason:halt, Compile error in Class: #'XMLParserTest' method:    testEntityReferenceInternalDeclaration
           #('<!DOCTYPE root [
                           <!ENTITY % name "root">
                           <!ENTITY % contentModel "EMPTY">
                           <!ELEMENT %name; %contentModel;>
                   ]><root/>',
 *                           ^1                                       *******
                   '<!DOCTYPE root [
                           <!ENTITY % name "value">
                           <!ENTITY % name2 "%name;">
                   ]><root/>'
                   '<!DOCTYPE root [
                           <!ENTITY % name "value">
                           <!ENTITY name2 "%name;">
                   ]><root/>')
                   do: [:each |
                           self
                                   should: [SAXHandler parse: each]
                                   raise: XMLWellFormednessException].
           self
    (UserDefinedError)
topaz > exec iferr 1 : where
==> 1 UserDefinedError (AbstractException) >> _signalWith: @6 line 25
2 UserDefinedError (AbstractException) >> signal @2 line 47
3 XMLParserTest class (Object) >> error:        @6 line 7
4 XMLParserTest class (Behavior) >> compileMethod:category: @10 line 16
5 MCPlatformSupport class >> compile:source:classified:withStamp: @5 line 5
6 MCMethodDefinition >> load                    @3 line 3
7 MCMethodDefinition (MCDefinition) >> loadOver: @2 line 2
8 [] in MCPackageLoader >> basicLoad            @67 line 18
9 MessageNotUnderstood (AbstractException) >> _executeHandler: @8 line 11
10 MessageNotUnderstood (AbstractException) >> _signalWith: @1 line 1
11 MessageNotUnderstood (AbstractException) >> signal @2 line 47
12 MCMethodDefinition (Object) >> doesNotUnderstand: @10 line 10
13 MCMethodDefinition (Object) >> _doesNotUnderstand:args:envId:reason: @8 line 13
14 [] in MCPackageLoader >> basicLoad            @62 line 14
15 ExecBlock0 (ExecBlock) >> on:do:              @3 line 44
16 [] in MCPackageLoader >> basicLoad            @57 line 15

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass