Re: Should I use sax?

Chris Burdess <[email protected]> Mon, 22 May 2006 16:31:39 +0100
Newsgroups gmane.text.xml.sax.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-1-353491168
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed

Roberto Cosenza wrote:
> I have one more question:
> Parsing a document which contains the fragment
> <a href=3D"mylink.html" >mylink</a>, generates events also for the
> a-attribute 'shape=3D"rect"', which is not given in input!!
> Is there any way to turn this behavior off? It seems like the =20
> parser is
> inserting some implicit attributes here and there...

If your Attributes object can be cast to an Attributes2 (feature "use-=20=

attributes2"), you can use the isSpecified method of Attributes2 to =20
determine whether you need to output this attribute explicitly.
--=20
=E7=8A=AC Chris Burdess
   "They that can give up essential liberty to obtain a little safety
   deserve neither liberty nor safety." - Benjamin Franklin





--Apple-Mail-1-353491168
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD4DBQFEcdlg3qhNIztqvgMRAoT2AJdeudGvzRXKcVKsdayHcsEbGmwgAKC1TAgC
VW/mXBQjQWdeFKmTjD5gnA==
=YKmR
-----END PGP SIGNATURE-----

--Apple-Mail-1-353491168--


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel