Split XML into several packages
| Project: | GNU Smalltalk |
| Component: | XML |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
SAX, DOM and the parser are logically separate parts but they are included in a single package. This is necessary in order to support other parsers such as Expat.
Updates
I've thought about this too when writing the Expat
binding. But currently I just do a <prereq>XML</prereq>.
But splitting XML.st up would be indeed very useful
for maintenance reasons (i lost a bit the overview
in that big file :).
If I find the time I might even do this.
Starting from a syntax-converted version, it should be much easier.
(By the way, this task was indeed inspired by your Expat bindings).
I split the big single source code file into several smaller ones, and abstracted parts of XMLParser into a superclass SAXParser. It is still one big package, but it is easier to separate it (Robin, wanna try?...) and from SAXParser you can derive your Expat parser. That's done in *bonzini@gnu.org--2004b/patch-598*.
| Status: | active | » fixed |
Fixed in patch-625.
