RE: problems with try-ark

"Sang Yi" <[email protected]> Fri, 14 Nov 2003 09:06:23 -0800
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <52CAC2A740A8604784AE972972FD7E2E09FEDF@PASEXCHG-1.Search.Corpsys.P4pnet.net>
jonathan,
my output's the same as yours:

Python 2.3.2 (#1, Nov 12 2003, 16:24:36)=20
[GCC 2.95.2 19991024 (release)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.dom.minidom
>>> doc =3D xml.dom.minidom.parseString( '<test><me/></test>' )
>>> root =3D doc.documentElement
>>> len(root.attributes)
0
>>>=20
any other suggestions?  meanwhile, i'll review my test drive setup
again... maybe i missed something


> Yeah, that's the same version I have in 2.3, so I'm confused=20
> as to why=20
> it's failing. Can you try this:
>=20
> -----
>  >> import xml.dom.minidom
>  >> doc =3D xml.dom.minidom.parseString( '<test><me/></test>' )
>  >> root =3D doc.documentElement
>  >> len( root.attributes )
> 0
> -----
>=20
> Jonathan
>=20
> --=20


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/