From stefano@apache.org Fri Feb 8 13:16:51 2002 Return-Path: Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 55114 invoked from network); 8 Feb 2002 13:16:51 -0000 Received: from unknown (HELO bluebox.betaversion.org) (62.110.41.207) by daedalus.apache.org with SMTP; 8 Feb 2002 13:16:51 -0000 Received: from apache.org (unknown [217.133.236.96]) by bluebox.betaversion.org (Postfix) with ESMTP id 6DAB1376BD for ; Fri, 8 Feb 2002 14:16:49 +0100 (CET) Message-ID: <3C63CFCA.707AAF5E@apache.org> Date: Fri, 08 Feb 2002 14:16:58 +0100 From: Stefano Mazzocchi X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: forrest-dev@xml.apache.org Subject: Re: [Patch] tweaks to DTDs and XML References: <02020819360802.01301@igacer> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David Crossley wrote: > > Hi Stefano, my usual thing when i start out on an XML > project is to validate one of the existing XML documents > to be sure that the infrastructure is set up properly. Yeah, I didn't do that... because I knew that somebody else would have done it :) I know, I know, call me captain lazy butt :) > There are some issues with Forrest, but i have sorted > most of them out and attach a collection of patches > forrest-patch.tar.gz ... > > 1) changes.xml.patch > - you were using a parameter entity to include the > file developers.xml ... evidently parameter entities are > only used in the DTD, need general entity in content. opss :) > 2) modified schemas/catalog > - Fixed typo ... IOSdia.pen => ISOdia.pen yeah, good eye > 3) schemas/catalog.xcat > This is a new file which is an OASIS XML Catalog > It has the same content as the OASIS TR 9401 Catalog > Some parsers use the new catalog. ok, great. > 4) various-dtds.patch > - Fixed declaration of external entities for various DTDs > - Were missing the mandatory system identifier. cool > 5) document-v11.dtd.patch > - Fixed declaration of external entities for ISO character entity sets. > - Were missing the mandatory system identifier. > - Note that the ISO*.pen give incorrect example invocation, > except ISOtech.pen which has the correct way. > - Changed the parameter entity names to that recommended > inside the entity sets, e.g. %dia; => %ISOdia; ... not sure why this > was needed, but the parser was giving some stange errors. oh, well, as long as it works and it's compliant I don't care. > - Fixed incorrect syntax for link.att ... missing apostrophe. cool > There are a couple of other things that i do not have > time to address. Here is what my xml parser says ... > -------- > /usr/local/cvs/xml-forrest/schemas/DTD/document-v11.dtd [352:19] : Error: duplicate declaration for element 'note' > /usr/local/cvs/xml-forrest/schemas/DTD/document-v11.dtd [486:34] : Fatal error: > content model not correctly delimited > reading entity developers: developers.xml > /usr/local/cvs/xml-forrest/changes.xml [18:11] : Error: an IDREF attribute refers to the ID 'SF' which is not present in the document Hmmm, weird. What parser are you using? -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche --------------------------------------------------------------------