Re: [xmlenc-devel] Late Merry Christmas
Brought to you by:
znerd
From: Ernst de H. <zn...@Fr...> - 2003-01-01 06:07:23
|
Hi Henri, > 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]. What exactly do you mean? > http://www.flamefew.net/~hen/xmlwriter-design.jpg Looks very good! Communication using UML diagrams is really nice. > SimpleXml and XmlStream [sits on xmlenc, needs updating] are the active > workers while the DelegatingXmlWriter's are Decorators [and might get > named thus]. The class XMLStream was renamed to XMLOutputter, after discussion with Pete. > PrettyPrinting pretty prints on top of one of the other two [though it's > not working atm]. Ah, real nice! > EmptyElement handles the different strategies for null/"". This one then wraps another instance, I presume? And what is the default behaviour for other XmlWriters? > Formatted handles DateFormat and NumberFormat, though I think it should > be a bit more generic and map Classes to Formats. How exactly are these formats used? I can't see a use for them. Doesn't mean there is none though... :-) > SchemaChecking [JarvWriter currently] uses JARV api to check the xml > being output to a xml schema/dtd/relax-ng. Wow, sounds good! > 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. Is this just the Factory pattern? > I'm not sure what's in 0.19 of xmlenc, will need to update my code from > the 0.18 I was using. See the release notes on sourceforge. Mainly rename of XMLStream to XMLOutputter, stag(String) to startTag(String) and etag() to endTag(). Ernst -- Ernst de Haan Development Team Leader Wanadoo Nederland B.V. The Lord has truly risen! Merry Christmas and a blessed New Year! |