Re: [patch] removal of chiuldElement attributes in dispspec files
David Malcolm <[email protected]>
| Newsgroups | gmane.editors.conglomerate.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2004-10-13 at 18:30 -0400, Douglas Burke wrote: > The attached patch changes occurrences of > > <header-info childElement="foo"></header-info> > > to > > <header-info xpath="normalize-space(child::foo)"/> > > in the dispspec file since the code does nothing with the childElement > attribute. I've also changed the DTD to remove the childElement attribute. Hmmm.... looks like the cong-dispspec-element-gxx.h was broken, and had the attribute "tag" rather than "childElement" for this, which was meant to initialise tagname; this failing would have caused failures in cong_dispspec_element_header_info_get_xpath_expression So this got me thinking: should we fix childElement, or get rid of it? Having two ways to do it felt overcomplex, so I decided to get rid of it. So I've applied your patch to the dispspecs directory, and hacked out the rest of the support from the dispspec loaders from the src directory. > > I added two header-info attributes to the docbook.xds; one for bridgehead > and one for example. Good stuff. You also fixed the xds validatation script, looks much better now. Thanks! Dave > > Doug