🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2340

SAX2 Entity Event Handling

#2340
From: Nout Hoozemans
Date: Fri, 26 Jan 2001 12:03
18 lines
2409 bytes
Hello!

I am working on a converter that translates XML to something my software can
read. The converter is based on the SAX2 interface, using events to
recognize elements and such. I have only recently started this project, and
haven't much experience, with java or XML.
The idea is that the entities and notations in the XML file should be parsed
when they are referenced to in the document.
At this moment, the converter I've written doesnt see entities at all. It
recognizes the ENTITY type in attributes, but that's about it.
Is there any way to achieve this?
Is there any way to recognize entities via SAX2 at all?
What am I doing wrong?

I'd appreciate it if you sent a copy of your answer to nout@hoozemans.nl, or
nout@geenpunt.nl.

and, thanks.
Technical Details
Message-ID: <94rp39$cha$2@newshost.accu.uu.nl>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!surfnet.nl!ruu.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 116143,55ecc7f39bf8ef9c,start
X-Google-Attributes: gid116143,public
X-Google-Thread: 1089d0,55ecc7f39bf8ef9c,start
X-Google-Attributes: gid1089d0,public
X-Google-Thread: f5d71,55ecc7f39bf8ef9c,start
X-Google-Attributes: gidf5d71,public
X-Google-Thread: 10a146,55ecc7f39bf8ef9c,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: fecd1,55ecc7f39bf8ef9c,start
X-Google-Attributes: gidfecd1,public
X-Google-Thread: 111d6b,55ecc7f39bf8ef9c,start
X-Google-Attributes: gid111d6b,public
X-Google-Thread: f6cb0,55ecc7f39bf8ef9c,start
X-Google-Attributes: gidf6cb0,public
X-Google-Thread: f74b3,55ecc7f39bf8ef9c,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-01-26 04:03:55 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!surfnet.nl!ruu.nl!not-for-mail
From: "Nout Hoozemans" <nout@hoozemans.nl>
Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.java.language,cn.bbs.comp.lang.java,comp.lang.java,comp.lang.java.api,comp.lang.java.developer,comp.lang.java.misc,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.lang.java.tech
Subject: SAX2 Entity Event Handling
Date: Fri, 26 Jan 2001 13:03:11 +0100
Organization: Academic Computer Centre Utrecht, (ACCU)
Lines: 22
Message-ID: <94rp39$cha$2@newshost.accu.uu.nl>
NNTP-Posting-Host: ibb0137.ibb.uu.nl
Keywords: SAX, SAX2, Entity, Notation, Event
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400