Skip to content

Commit

Permalink
Merge pull request #14 from gcotelli/pharo11
Browse files Browse the repository at this point in the history
Add Pharo 11 to CI
  • Loading branch information
tinchodias authored Aug 31, 2023
2 parents a320622 + 425308b commit 4f9cb10
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
# Default value means that a failure in one OS cancels all jobs
fail-fast: false
matrix:
smalltalk: [ Pharo64-9.0, Pharo64-10 ]
smalltalk: [ Pharo64-9.0, Pharo64-10, Pharo64-11 ]
os: [ ubuntu-latest, windows-latest ] # macos-latest
ston: [ .ci.ston ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup smalltalkCI
uses: hpi-swa/setup-smalltalkCI@v1
with:
Expand Down
34 changes: 19 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,37 @@ XML Parser for [Pharo](http://www.pharo.org)

## Description

XMLParser provides validating SAX and DOM parsers for well-formed XML documents. It also provides a DOM API for manipulating documents, namespace support, and an optional XMLWriter for writing documents. Validation and namespace checking are enabled by default, but not resolution of external entities.
`XMLParser` provides validating SAX and DOM parsers for well-formed XML documents.
It also provides a DOM API for manipulating documents, namespace support, and an
optional `XMLWriter` for writing documents. Validation and namespace checking are
enabled by default, but not resolution of external entities.

Implements:

http://www.w3.org/TR/REC-xml/

http://www.w3.org/TR/REC-xml-names/

http://www.w3.org/TR/xml-id/

http://www.w3.org/TR/xmlbase/
- http://www.w3.org/TR/REC-xml/
- http://www.w3.org/TR/REC-xml-names/
- http://www.w3.org/TR/xml-id/
- http://www.w3.org/TR/xmlbase/

## Installation

```Smalltalk
Metacello new
baseline: 'XMLParser';
repository: 'github://pharo-contributions/XML-XMLParser/src';
load.
```
baseline: 'XMLParser';
repository: 'github://pharo-contributions/XML-XMLParser/src';
load.
```

## How to use

Use the XMLDOMParser to parse a URL:
Use the `XMLDOMParser` to parse a URL:

```Smalltalk
(XMLDOMParser parseURL: 'https://www.w3schools.com/xml/simple.xml') inspect
```

or give an XML file directly:

```Smalltalk
|xmlString|
xmlString := '<?xml version="1.0" encoding="UTF-8"?>
Expand All @@ -47,15 +49,17 @@ xmlString := '<?xml version="1.0" encoding="UTF-8"?>
(XMLDOMParser parse: xmlString) document inspect
```

Check [https://montyos.wordpress.com](https://montyos.wordpress.com) for more examples and descriptions.
Check [https://montyos.wordpress.com](https://montyos.wordpress.com) for more
examples and descriptions.

## Screenshot

![alt text](doc/images/screen001.png "Screenshot")

## LICENSE

[MIT License](LICENSE)

## History
This project was migrated from [http://smalltalkhub.com/#!/~PharoExtras/XMLParser](http://smalltalkhub.com/#!/~PharoExtras/XMLParser)

This project was migrated from [http://smalltalkhub.com/#!/~PharoExtras/XMLParser](http://smalltalkhub.com/#!/~PharoExtras/XMLParser)

0 comments on commit 4f9cb10

Please sign in to comment.