homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author AchimGaedke
Recipients AchimGaedke
Date 2011年12月08日.00:41:38
SpamBayes Score 4.409769e-06
Marked as misclassified No
Message-id <1323304899.35.0.878509919082.issue13551@psf.upfronthosting.co.za>
In-reply-to
Content
Hi!
I tried to use the more general xml.dom interface, no longer defaulting to minidom straight away (or using etree).
The DOM tree gained with PullDOM seem to be incomplete.
Here is the output of the program attached.
$ python pulldom_test.py
with pulldom
(<xml.dom.minidom.Document instance at 0xb722962c>, [])
with minidom
(<xml.dom.minidom.Document instance at 0xb72459ac>, [<DOM Text node "u'\n'">, <DOM Element: a at 0xb71cb74c>, <DOM Text node "u'\n'">, <DOM Element: b at 0xb71cb7ac>, <DOM Text node "u'\n'">, <DOM Element: c at 0xb71cb80c>, <DOM Text node "u'\n'">])
I'd expect the same result for both ways of populating the minidom DOM implementation.
Thanks & Cheers, Achim
History
Date User Action Args
2011年12月08日 00:41:39AchimGaedkesetrecipients: + AchimGaedke
2011年12月08日 00:41:39AchimGaedkesetmessageid: <1323304899.35.0.878509919082.issue13551@psf.upfronthosting.co.za>
2011年12月08日 00:41:38AchimGaedkelinkissue13551 messages
2011年12月08日 00:41:38AchimGaedkecreate

AltStyle によって変換されたページ (->オリジナル) /