I personally like having extensions of this sort implemented as modules, such as ns_xml. The problems with embedding such things in AOLserver and its Tcl interpreter include the fact that
- You'd have to get the aolserver.com/opennsd folks to agree to embed the changes
- Maintenance is a problem - whenever the Tcl interpreter changes internally you might be faced with having to rewrite your embedded code.
- Maintenance is (again) a problem - releasing fixes/enhancements to the XML code would have to be synchronized to the AOLserver release cycle. Interim fixes/enhancements would have to be added via patches, and most folks are loath to patch a server in a production environment.
- Footprint - those not using XML would still have it loaded into their server image, eating memory.
I'm sure there are other good reasons.
fixes