r562 - in python-xml/trunk: debian demo/dom demo/xmlproc

Fabio Tranchitella kobold at alioth.debian.org
Mon Dec 18 20:17:58 CET 2006


Author: kobold
Date: 2006-12-18 20:17:57 +0100 (Mon, 18 Dec 2006)
New Revision: 562

Modified:
   python-xml/trunk/debian/changelog
   python-xml/trunk/debian/control
   python-xml/trunk/demo/dom/generate_xml1.py
   python-xml/trunk/demo/xmlproc/catalog.soc
Log:
Changes for the new release.


Modified: python-xml/trunk/debian/changelog
===================================================================
--- python-xml/trunk/debian/changelog	2006-12-18 17:11:38 UTC (rev 561)
+++ python-xml/trunk/debian/changelog	2006-12-18 19:17:57 UTC (rev 562)
@@ -1,3 +1,15 @@
+python-xml (0.8.4-6) unstable; urgency=medium
+
+  * Fixes for documentation and examples:
+    + Applied patch to demo/dom/generate_xml1.py. (Closes: #399410)
+    + Applied patch to demo/xmlproc/catalog.soc. (Closes: #298008)
+  * debian/control:
+    + move debhelper to build-depends. (Closes: #392630)
+    + xbel: recommends xml-core to provide a catalog mapping onto
+      the XBEL DTDs. (Closes: #386720)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Mon, 18 Dec 2006 20:12:06 +0100
+
 python-xml (0.8.4-5) unstable; urgency=low
 
   * Convert to Python policy 0.4, using python-central. Closes: #373368.

Modified: python-xml/trunk/debian/control
===================================================================
--- python-xml/trunk/debian/control	2006-12-18 17:11:38 UTC (rev 561)
+++ python-xml/trunk/debian/control	2006-12-18 19:17:57 UTC (rev 562)
@@ -36,6 +36,7 @@
 Architecture: all
 Section: web
 Depends: sgml-base
+Recommends: xml-core
 Description: XML Bookmark Exchange Language
  The XML Bookmark Exchange Language (XBEL) is a rich interchange
  format for "bookmark" data as used by most web browsers.

Modified: python-xml/trunk/demo/dom/generate_xml1.py
===================================================================
--- python-xml/trunk/demo/dom/generate_xml1.py	2006-12-18 17:11:38 UTC (rev 561)
+++ python-xml/trunk/demo/dom/generate_xml1.py	2006-12-18 19:17:57 UTC (rev 562)
@@ -14,16 +14,16 @@
     #Create a document using document element namespace URI, doc element
     #name and doctype.  This automatically creates a document element
     #which is the single element child of the document
-    doc = implementation.createHTMLDocument('', 'mydoc', dt)
+    doc = implementation.createDocument(None, 'mydoc', dt)
 
     #Get the document element
     doc_elem = doc.documentElement
 
     #Create an element: the Document instanmce acts as a factory
-    new_elem = doc.createElementNS('', 'spam')
+    new_elem = doc.createElementNS(None, 'spam')
 
     #Create an attribute on the new element
-    new_elem.setAttributeNS('', 'eggs', 'sunnysideup')
+    new_elem.setAttributeNS(None, 'eggs', 'sunnysideup')
 
     #Create a text node
     new_text = doc.createTextNode('some text here...')
@@ -35,5 +35,5 @@
     doc_elem.appendChild(new_elem)
 
     #Print out the resulting document
-    import xml.doc.ext
-    xml.doc.ext.Print(doc)
+    from xml.dom import ext
+    ext.Print(doc)

Modified: python-xml/trunk/demo/xmlproc/catalog.soc
===================================================================
--- python-xml/trunk/demo/xmlproc/catalog.soc	2006-12-18 17:11:38 UTC (rev 561)
+++ python-xml/trunk/demo/xmlproc/catalog.soc	2006-12-18 19:17:57 UTC (rev 562)
@@ -13,7 +13,3 @@
 PUBLIC "+//IDN python.org//DTD XML Bookmark Exchange Language 1.0//EN//XML"
        "dtds/xbel-1.0.dtd"
 
--- If we can't find a system identifier for the public identifier here, 
-   then go to James Tauber's public catalog                             --
-
-DELEGATE "" "http://www.schema.net/public-text/catalog.soc"
\ No newline at end of file




More information about the pkg-zope-commits mailing list