I'm not sure if this is a missing feature or a bug, but please register a feature request and include attachments, scripts and commands that you expect to work with an explicit illustration of what is missing and what it should look like. I am unfamiliar with the DTD handling, so the illustrative details will increase the chances of implementation.
Dan Tracker is here: http://rubyforge.org/tracker/?atid=1974&group_id=494&func=browse On Jan 13, 2008, at 19:24, GlennNZ wrote: >> From looking at the api I'm guessing that the xmllib ruby bindings > can't as of yet insert default attributes as defined in the dtd. > i.e. the xmllint command: > xmllint test.xml --dtdattr > > outputs the test.xml file with all the missing default attributes. > > Currently our solution is to re parse the output of that command > although it would be preferable if the ruby bindings was able to offer > a better solution. Is this feature in the woodwork? > > Although, if there is some other ruby way of handling this, then it > would be good to hear it. > > Cheers > _______________________________________________ > libxml-devel mailing list > libxml-devel@rubyforge.org > http://rubyforge.org/mailman/listinfo/libxml-devel _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel