Split XML into several packages

Project:GNU Smalltalk
Component:XML
Category:task
Priority:normal
Assigned:Unassigned
Status:fixed
Description

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

#1 submitted by Robin Redeker on Fri, 09/28/2007 - 09:14

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.

#2 submitted by Paolo Bonzini on Fri, 09/28/2007 - 09:25

Starting from a syntax-converted version, it should be much easier.

#3 submitted by Paolo Bonzini on Fri, 09/28/2007 - 09:45

(By the way, this task was indeed inspired by your Expat bindings).

#4 submitted by Paolo Bonzini on Tue, 10/09/2007 - 08:34

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*.

#5 submitted by Paolo Bonzini on Mon, 11/05/2007 - 20:26
Status:active» fixed

Fixed in patch-625.

User login