Raul Miller wrote: > On Fri, Dec 19, 2008 at 12:23 PM, John Randall > <[email protected]> wrote: >> This is actually legal but extremely annoying. See > > That's bad. > >> http://www.xml.com/pub/a/2001/12/05/sax2.html >> >> tip #2. > > When I looked at that page, I see tips, 1, 3 and 4, but no tip 2. > > I had to view source to find tip 2. > > Basically, though, it looks like the SAX interface assumes that > the code driving it will manage some of its state transition > context -- SAX by itself is not a complete implementation. > > In the context of J, however, I think that the code which drives > SAX should deal with this issue. This would be much better > than replicating that logic in almost every non-buggy application > which uses it. (Especially since this kind of scalar operation > really belongs in J's primitives, and not in application specific > code.) >
Minor note, I had to resize the window at www.xml.xom to see part of tip 2. It was over on the right side of the page, obscured by the advertising overlay. -- David Mitchell ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
