From: Henri Y. <ba...@ge...> - 2002-12-27 08:30:47
|
Sorry for being quiet recently, would you believe it was because I was working on xmlwriter? :) I've got a nightly build going, which I can happily do for xmlenc if you want too [would be easiest to put a maven project.xml in the home dir, but I can work around it and use ant instead, currently xmlenc doesn't build for me but I assume it's my fault]. I've pulled the xmlwriter code apart and put in various new bits. It's odd reading the xmlenc mailing list, moving to startTag and endTag was a direction I was going too :) Had a complaint about 'Entity' being the wrong word to use. A design may be seen at: http://www.flamefew.net/~hen/xmlwriter-design.jpg SimpleXml and XmlStream [sits on xmlenc, needs updating] are the active workers while the DelegatingXmlWriter's are Decorators [and might get named thus]. PrettyPrinting pretty prints on top of one of the other two [though it's not working atm]. EmptyElement handles the different strategies for null/"". Formatted handles DateFormat and NumberFormat, though I think it should be a bit more generic and map Classes to Formats. SchemaChecking [JarvWriter currently] uses JARV api to check the xml being output to a xml schema/dtd/relax-ng. XmlIOFactory doesn't exist, but was what I was envisioning being the facade behind which lots of this would hide. Not too sure exactly how this would look though. I'll do a cvs tag tomorrow and start pushing things in. I'm not sure what's in 0.19 of xmlenc, will need to update my code from the 0.18 I was using. Hen |