Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 47822 invoked from network); 23 Jan 2005 13:23:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Jan 2005 13:23:05 -0000 Received: (qmail 57181 invoked by uid 500); 23 Jan 2005 13:23:05 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 57155 invoked by uid 500); 23 Jan 2005 13:23:04 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 57141 invoked by uid 99); 23 Jan 2005 13:23:04 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from nitweb2.nit.at (HELO nitweb2.nit-mail.com) (212.152.181.195) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 23 Jan 2005 05:23:04 -0800 Received: from localhost (M109P016.adsl.highway.telekom.at [62.47.181.144]) by nitweb2.nit-mail.com (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id j0NDMucW022296 for ; Sun, 23 Jan 2005 14:23:01 +0100 Date: Sun, 23 Jan 2005 14:22:50 +0100 From: Ron Blaschke X-Mailer: The Bat! (v3.0.1.33) Professional Reply-To: Ron Blaschke X-Priority: 3 (Normal) Message-ID: <286400949.20050123142250@rblasch.org> To: dev@forrest.apache.org Subject: Re: License & Copyright concerns Re: [plugins] pod-input auto install In-Reply-To: <20050123014440.GA18983@igg.indexgeo.com.au> References: <103458924.20050121212348@rblasch.org> <1106423430.5952.35.camel@onnadayr.ca> <912971649.20050122215602@rblasch.org> <20050123014440.GA18983@igg.indexgeo.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David Crossley wrote: > Ron Blaschke wrote: >> Rick Tessner wrote: [snip] >> If not, can anybody recommend a DTD parser that is available under the >> Apache License? jpod uses it to resolve E formatting codes, >> which are akin to &entity; in XML. > Forrest has its internal Catalog Entity Resolver to handle that. > Anyway, i am not sure what you mean by "DTD parser". > Forrest includes NekoDTD if that task is what you mean. Sorry, guess I am too deep into the code, not spelling things out. Pod supports entities as E, akin to &entity; in XML. But instead of just passing them on (E -> ü), I thought it would be good to resolve them locally. So, what I am actually needing is a library that would return "�" when I'd ask for "uuml". Since the entities are already available as DTDs (ISOlat1.pen, ...) I reckoned I might as well just use them. Therefore, I parse the DTDs, grab the entity and ask for its "literal value". In other words: final DTDParser parser = new DTDParser(); parser.parse(...); final Entity entity = parser.getDocType().getEntity(entityName); if (entity != null) { return entity.getLiteralValue(); } Ron