------=_NextPart_000_00A6_01BD6C4E.4500EF60
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_00A7_01BD6C4E.4500EF60"
------=_NextPart_001_00A7_01BD6C4E.4500EF60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The Java Crypto Extensions allow you to request a generic implementation =
of an algorithm or a specific implementation. This is bases on having a =
set of "Providers" and a set of engine classes (essentially class =
factories). When calling getInstance() on the appropriate engine class =
you can specify either that you want any implementation of the algorithm =
or that you want a specific implementation from a specific provider. =
Providers are installed by editing a configuration file or by adding =
them dynamically using Security.addProvider(). Providers are ordered so =
a request for a generic implementation will be serviced by the first =
provider found which offers that algorithm.
It might be possible to do such a thing for SAX parsers, but you would =
really have to have an agreed set of functions that parsers did or did =
not implement. If you would then be able to say:
"give me an instance of a parser that at minimum does this, this and =
this"
or
"give me an instance of the IBM parser"
you should also be able to say
"give me an instance of the IBM parser that does this, that and the =
other"
This raises two questions:
1/ Could everybody agree on the set of functions?
2/ Is there a real need for a general solution to the problem of working =
with several parsers?
-----Original Message-----
From: Andrew n marshall <amarshal@usc.edu>
To: Xml-Dev List <xml-dev@ic.ac.uk>
Date: 16 April 1998 16:15
Subject: SAX: Parser Factory class
=20
=20
While it is great that there are so many SAX parsers available, the =
thing that bothers me is that my application has to know what Parser to =
load in just to use SAX. And this means that even is a SAX parser is =
available on the users machine, they may still have to download the one =
I use to to run my application.
=20
If there is already a solution for this, then please let me know.
------=_NextPart_001_00A7_01BD6C4E.4500EF60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
------=_NextPart_001_00A7_01BD6C4E.4500EF60-- ------=_NextPart_000_00A6_01BD6C4E.4500EF60 Content-Type: text/x-vcard; name="John Wilson.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="John Wilson.vcf" BEGIN:VCARD VERSION:2.1 N:Wilson;John;G. FN:John Wilson ORG:The Wilson Partnership TEL;WORK;VOICE:+44 1296 641072 TEL;CELL;VOICE:+44 976 611010 TEL;WORK;FAX:+44 1296 641874 ADR;WORK;ENCODING=3DQUOTED-PRINTABLE:;;5 Market = Hill=3D0D=3D0AWhitchurch;Aylesbury;Buckinghamshire;HP22 4JB;UK LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:5 Market = Hill=3D0D=3D0AWhitchurch=3D0D=3D0AAylesbury, Buckinghamshire HP22 = 4JB=3D0D=3D =3D0AUK URL: URL:http://www.wilson.co.uk/ EMAIL;PREF;INTERNET:tug@wilson.co.uk REV:19980420T102005Z END:VCARD ------=_NextPart_000_00A6_01BD6C4E.4500EF60-- xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@ic.ac.uk the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)-----Original = Message-----
From:=20 Andrew n marshall <amarshal@usc.edu>
To:=20 Xml-Dev List <xml-dev@ic.ac.uk>
Date: = 16=20 April 1998 16:15
Subject: SAX: Parser Factory=20 classWhile it is great that there are so many SAX parsers = available, the=20 thing that bothers me is that my application has to know what Parser = to load=20 in just to use SAX. And this means that even is a SAX = parser is=20 available on the users machine, they may still have to download the = one I=20 use to to run my application.If=20 there is already a solution for this, then please let me=20 know.