XML latest package version

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

XML latest package version

BrunoBB
Hi All,

I'm fixing [1] and for that my GemStone app will be installed from the scratch.

My project dependency on XML Parser is defined at [2].

But there are two Compiler errors when loading XML Parser:
First:
ConfigurationOfOrderPreservingDictionary(class)>>catalogKeywords
'catalogKeywords???^ #( collection dictionary ordered order-preserving )?'

XPathFunctionSetTest>>testSize
'testSize??| set size |???set := self emptySet.??size := 0.??self assert: set size = size.??self functions do: [:each |.???set add: each.???size := size + 1.???self assert: set size = size].'

It seems that the code is somehow corrupted....

Is this the correct place to report this ?

Regards,
Bruno

[1]
https://github.com/brunobuzzi/OrbeonBridgeForGemStone/issues/116

[2]
Baseline:
        spec for: #common do: [
        spec blessing: #baseline.
                spec repository: 'http://ss3.gemtalksystems.com/ss/OrbeonBridge'.
                spec project: 'XMLParser' with: [
                        spec className: 'ConfigurationOfXMLParser';
                                loads: #('default');
                                versionString: '#stable';
                                repository: 'http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main'].

                spec project: 'XPath' with: [
                        spec className: 'ConfigurationOfXPath';
                                loads: #('default');
                                versionString: '#stable';
                                file: 'ConfigurationOfXPath';
                                repository: 'http://www.smalltalkhub.com/mc/PharoExtras/XPath/main'].

Version
                spec project: 'XMLParser' with: '2.5.9'.
                spec project: 'XPath' with: '1.5.8'.

                spec package: 'XPath-Core' with: 'XPath-Core-monty.68'.
                spec package: 'XPath-Tests' with: 'XPath-Tests-monty.59'.
Reply | Threaded
Open this post in threaded view
|

Re: XML latest package version

GLASS mailing list
Bruno, this is the right place to report these errors ... at least to
start  ....

  I'm going to guess that perhaps the packages were written with some
Unicode characters embedded in them (WideString instances) ---
Monticello mcz packages do not handle > 8 bit characters at all and when
GemStone attempts to read these packages it appears to be corruption ...

To repair the packages, I think that you need to load the packages into
Pharo, move the offending characters and then save the package again ...
sometimes the offending characters can be embedded in the commit
comments which can make things very difficult --- in this case the
solution is save the packages out into a FileTree repository (FileTree
repositories encode all strings as UTF8 when writing to disk) edit out
the offending characters (you can use vi to edit the meta data to remove
the offending characters from commit comments if necessary) ....

If you want me to try to futz with this I can do it, but I have to leave
work early this afternoon and might not be able to get to it until
sometime over the weekend ...

Dale

On 01/29/2016 10:51 AM, BrunoBB via Glass wrote:

> Hi All,
>
> I'm fixing [1] and for that my GemStone app will be installed from the
> scratch.
>
> My project dependency on XML Parser is defined at [2].
>
> But there are two Compiler errors when loading XML Parser:
> First:
> ConfigurationOfOrderPreservingDictionary(class)>>catalogKeywords
> 'catalogKeywords???^ #( collection dictionary ordered order-preserving )?'
>
> XPathFunctionSetTest>>testSize
> 'testSize??| set size |???set := self emptySet.??size := 0.??self assert:
> set size = size.??self functions do: [:each |.???set add: each.???size :=
> size + 1.???self assert: set size = size].'
>
> It seems that the code is somehow corrupted....
>
> Is this the correct place to report this ?
>
> Regards,
> Bruno
>
> [1]
> https://github.com/brunobuzzi/OrbeonBridgeForGemStone/issues/116
>
> [2]
> Baseline:
> spec for: #common do: [
>          spec blessing: #baseline.
> spec repository: 'http://ss3.gemtalksystems.com/ss/OrbeonBridge'.
> spec project: 'XMLParser' with: [
> spec className: 'ConfigurationOfXMLParser';
> loads: #('default');
> versionString: '#stable';
> repository:
> 'http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main'].
>
> spec project: 'XPath' with: [
> spec className: 'ConfigurationOfXPath';
> loads: #('default');
> versionString: '#stable';
> file: 'ConfigurationOfXPath';
> repository: 'http://www.smalltalkhub.com/mc/PharoExtras/XPath/main'].
>
> Version
> spec project: 'XMLParser' with: '2.5.9'.
> spec project: 'XPath' with: '1.5.8'.
>
> spec package: 'XPath-Core' with: 'XPath-Core-monty.68'.
> spec package: 'XPath-Tests' with: 'XPath-Tests-monty.59'.
>
>
>
> --
> View this message in context: http://forum.world.st/XML-latest-package-version-tp4874853.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: XML latest package version

BrunoBB
Dale,

As far as i tested there are only two errors. The methods are pretty short.

This can be fixed in my GS installation (just edit the source code) and then submit the MCZ to the XML repository.

I do not know if developers of XML Parser agreed with a MCZ to be upload by an "external" developer...

Regards,
Bruno
Reply | Threaded
Open this post in threaded view
|

Re: XML latest package version

GLASS mailing list
If editing works for you, then I will look closer at those packages and
see if I can spot the problem (when I have time). I don't think those
methods would compile in Pharo either so there's some corruption going
on --- and that's usually caused by >8 bit characters ....

Dale

On 01/29/2016 11:17 AM, BrunoBB via Glass wrote:

> Dale,
>
> As far as i tested there are only two errors. The methods are pretty short.
>
> This can be fixed in my GS installation (just edit the source code) and then
> submit the MCZ to the XML repository.
>
> I do not know if developers of XML Parser agreed with a MCZ to be upload by
> an "external" developer...
>
> Regards,
> Bruno
>
>
>
> --
> View this message in context: http://forum.world.st/XML-latest-package-version-tp4874853p4874855.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: XML latest package version

GLASS mailing list
In reply to this post by BrunoBB
Regarding the "external developers" most of the projects appreciate the
fact that their work is being used by a wider community and welcome
fixes and patches from external developers...

Dale

On 01/29/2016 11:17 AM, BrunoBB via Glass wrote:

> Dale,
>
> As far as i tested there are only two errors. The methods are pretty short.
>
> This can be fixed in my GS installation (just edit the source code) and then
> submit the MCZ to the XML repository.
>
> I do not know if developers of XML Parser agreed with a MCZ to be upload by
> an "external" developer...
>
> Regards,
> Bruno
>
>
>
> --
> View this message in context: http://forum.world.st/XML-latest-package-version-tp4874853p4874855.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

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