On Thu, 11 Nov 2004 23:40:09 +0900, James Britt <jamesunderbarb / neurogami.com> wrote: > > I don't see the point: the reason I've put it all into a YAML file is > > that it's easier to edit it there, rather than in your source code. > I'm thinking that editing that YAML file directly means that as you add > or remove things you have to check that you're dealing with all the > valid XHTML items you might want. Once you delete something, how do you > know, sometime later, that it is an option that could be restored, other > than perhaps looking through a DTD. Having a base that is always > complete, with edits overlaid, makes it easier to rollback to the most > tolerant sanitization. How about keeping different versions of the yaml file? And once again, you don't have to overload API for something you can do directly, the way I've shown. -- Dmitry Borodaenko