Hi Mike, OK, any help you can give on the catalogs would be greatly appreciated. That was my original intent, but the work hasn't been completed because I have no experience with XML catalogs.
thanks, Michelle Michael Pogue wrote: > I've been thinking about that.... > > I don't think the best approach is to make N copies (in this case, N = > 36) of the dtd and entities file. If we do that in the repository, > they will diverge. It would be better to keep them in one place (like > "common"), but have the validation script reference them there. > > The best way to fix this is probably to use XML catalogs. It looks > like the .dtd and sun-iso files are referenced via PUBLIC entities, so > this should work. > > Mike > > michelle olson wrote: >> >> >> Michael Pogue wrote: >>> That's better, but it still generates errors, because the entities >>> are actually defined elsewhere. It turns out that copying >>> "common/sun-iso-map.xml" to the DYNMCTRCGGD directory does make it >>> work the rest of the way! >> OK, cool, I'm glad you've made progress, I eagerly await a push >> notification! :) >>> >>> I verified that "xmllint --valid --noout DYNMCTRCGGD.book" complains >>> (correctly) when I insert validity errors into the .book file, the >>> sun-iso-map.xml file, and into the chapter1.xml file. So, I think >>> we have a validation process that works now. >>> >>> We should make it easier to use, though! >> OK, so I'll put a copy of the correctly named dtd and the sun-iso-map >> files into each book directory in the next update of the >> consolidation. Then, we should update the instructions to make >> explicit that xmllint should be run on the book file. What else can >> we do to make it easier? >> >> thanks, >> Michelle >>> >>> Mike >>> >>> michelle olson wrote: >>> ... >>>> Thanks for continuing to work on this. I found a couple things that >>>> might also help Rainer. So, try doing the following: >>>> >>>> -copy the xsolbook.dtd from the 20080215/common directory to your >>>> DYNMCTRCGGD directory. >>>> -rename the xsolbook.dtd file to solbook.dtd. >>>> -issue the xmllint --valid --noout DYNMCTRCGGD.book >>>> >>> ...
