From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c9d14a9b4208ef0b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-20 10:11:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3CE92E3E.907E487F@despammed.com> From: Wes Groleau Reply-To: wesgroleau@despammed.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: XML generator References: <3CE02EE1.8FEBD4DE@despammed.com> <3CE03784.DD40698E@despammed.com> <3CE14210.AC3FC998@despammed.com> <3CE2875B.F2A54C0D@despammed.com> <3CE2DF3C.682F07C4@despammed.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 20 May 2002 12:11:26 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1021914698 151.168.144.162 (Mon, 20 May 2002 12:11:38 CDT) NNTP-Posting-Date: Mon, 20 May 2002 12:11:38 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:24427 Date: 2002-05-20T12:11:26-05:00 List-Id: > I'd be worried if you're writing XML for which a valid DTD cannot be > produced... The original "requirements" were a set of sample XML files without DTD refs. I generated a DTD by reverse engineering when I inherited the tool. The tool currently has no XML knowledge at a low level. It writes out fragments that have to be made valid XML by keeping the sequence of calls correct. So instead of something like Element (Tag => X, attributes => (...), content => Element ( ... which would presumably prevent syntax errors, we have more like Write ("<"); ... conditionals Write ("X"); ... conditionals Write ( ... attributes ...etc. ... ... Write (">"); -- Let's see, which tag ends here, -- and is it a start tag or an end tag? I think this illustrates why I'm looking to find or write something different. :-) -- Wes Groleau http://freepages.rootsweb.com/~wgroleau