🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8783

Re: Parsing xml w/o the dtd file

#8783
From: Alex Colic
Date: Mon, 26 Feb 2001 14:12
21 lines
1552 bytes
Hi,

I don't know which parser you are using but you should look at the api. You
can usually pass a Boolean false to the create document call stating that
you want the document parsed without checking the DTD.

Alex

"Hawk Pan" <hawk@aspno1.com.tw> wrote in message news:3a9a2921_1@dnews...
> Hi to all,
>    Could it be possible ignoring the external entity, such as the
<!DOCTYPE
> ...,"file://c:\myxml.dtd"> when parsing a xml file? That means if there's
no
> a dtd file(myxml.dtd) which the entity references and i can still do
> parsing.
>
> thanks in advance
>                                               Hawk Feb. 26,2001
>
>
Technical Details
Message-ID: <97do6e$qtp2@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.icl.net!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail
References: <3a9a2921_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,d038245771c2880d
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-02-26 06:14:08 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.icl.net!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail
From: "Alex Colic" <alex.colic@pop-ware.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Parsing xml w/o  the dtd file
Date: Mon, 26 Feb 2001 09:12:11 -0500
Organization: Another Netscape Collabra Server User
Lines: 23
Message-ID: <97do6e$qtp2@bornews.inprise.com>
References: <3a9a2921_1@dnews>
NNTP-Posting-Host: d150-29-218.home.cgocable.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200