Re: nsgmls
Christophe Gaubert <[email protected]> Wed, 07 Jul 2004 13:36:07 +0200
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Message-ID | <[email protected]> |
[email protected] a écrit : > I have no experience with docbook myself, but it is of course somewhat > amazing that such a DTD should contain faulty definitions or faulty > syntax (I have also never worked with "functions" in a DTD). Since the > rule, however, is "if nsgmls finds fault with something, then > something must be wrong", something must be wrong. > > Maybe the master DTD file refers to a file (possibly containing those > function definitions?) which is not found? Try to analyze the complete > output; messages about unretrievable files can typically be found > among the first lines; they are typically the reason for a tremendous > amount of subsequent errors. "Missing file" is the only possibility I > can think of for now, but there are surely others. Thank you for your long answer. In fact, someone has found the solution in another list ([email protected]) : I have to give the xml.dcl file to nsgmls : nsgmls -wxml -s /usr/share/sgml/xml.dcl MyFile.xml With this command, it remains a warning : nsgmls:/usr/share/sgml/xml.dcl:1:W: SGML declaration was not implied And the solution is : [on one line] nsgmls -wxml -wno-explicit-sgml-decl -s /usr/share/sgml/xml.dcl MyFile.xml At this time, I don't know what is this file xml.dcl. I will search later... Christophe ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com