Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade the XMLParser #116

Closed
brunobuzzi opened this issue Oct 26, 2015 · 2 comments
Closed

Upgrade the XMLParser #116

brunobuzzi opened this issue Oct 26, 2015 · 2 comments

Comments

@brunobuzzi
Copy link
Owner

From Monty mail:
"Bruno, you should be able to use the newer XMLParser versions from SmalltakHub with Orbeon.

Also, loading the latest ConfigurationOfXMLSupport from SS (and elsewhere) will just forward to the ConfigurationOfXMLParser on STHub, unless you explicitly request a pre-1.3.0 version (like 1.2.xxx).

The old versions are unmaintained, slower, use more memory, and have unfixed bugs. But if you need SIXX, I think you still need to use one of the older versions."

@brunobuzzi
Copy link
Owner Author

Monty answer:
"It's ConfigurationOfXMLParser in PharoExtras/XMLParser (someone else renamed it), so your code won't work unless you rename the project XMLParser and load ConfigurationOfXMLParser. Also, you should load #default instead of #Core unless you have special needs. #default is XMLParser + XMLWriter + tests, #Core is XMLParser without tests, and #CoreWithWriting is #Core (XMLParser minus tests) + XMLWriter.

Here's the relevant part of the PharoExtras/XPath project baseline:

spec project: 'XMLParser' with: [ 
    spec
        className: 'ConfigurationOfXMLParser';
        loads: #('default');    
        versionString: #'stable';
        repository: 'http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main' ].
spec package: 'XPath-Core' with: [ spec requires: 'XMLParser' ].
spec package: 'XPath-Tests' with: [ spec requires: 'XPath-Core' ].

I recommend #stable to users; the public APIs are stable at this point"

@brunobuzzi
Copy link
Owner Author

Now ConfigurationOfXMLParser is used in it's "stable" version.
Everything working as expected !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant