- 14 Mar, 2001 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
can be called from a start tag handler. When the corresponding end tag is read the flag is cleared. However, it didn't get cleared when the start tag was for an empty element of the type <tag .../>. This modification fixes the problem.
-
- 09 Şub, 2001 1 kayıt (commit)
-
-
Eric S. Raymond yazdı
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 12 Ara, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
-
- 06 Ara, 2000 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
- Use new Error class (subclass of RuntimeError so is backward compatible) which is raised when RuntimeError used to be raised. - Report original attribute name in error messages instead of name mangled with namespace URL.
-
- 31 Agu, 2000 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
Since the application never gets to see the namespace abbreviation used in the XML document, but some applications may need to know them, we provide this method.
-
- 16 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
-
- 10 Tem, 2000 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
an attribute value was not escaped, you could get two syntax errors: one about a missing semicolon and one about an unknown entity. Now you get only one about a bogus ampersand.
-
- 04 Tem, 2000 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
- Actually count the linefeeds in a the CDATA content. - Don't call the endtag handler for an unmatched endtag (this makes the base class simpler since it doesn't have to deal with unopened endtags). - If the __init__ method is called with keyword argument translate_attribute_references=0, don't attempt to translate character and entity references in attribute values.
-
- 28 Haz, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 21 Haz, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
These two fixes were approved by me. Peter Kropf: There's a problem with the xmllib module when used with JPython. Specifically, the JPython re module has trouble with the () characters in strings passed into re.compile. Spiros Papadimitriou: I just downloaded xmllib.py ver. 0.3 from python.org and there seems to be a slight typo: Line 654 ("tag = self.stack[-1][0]" in parse_endtag), is indented one level more than it should be. I just thought I'd let you know...
-
- 04 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
*this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
-
- 26 Agu, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
""" Added some optional arguments to the XMLParser __init__ method to specify that selected non-standard constructs are to be accepted. Also removed the documentation for handle_entityrefs since it isn't used. """ The version is incremented to 0.3.
-
- 08 Haz, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
all processing instruction target names containing 'xml' were rejected, instead (as the standard rejects) only the name 'xml' itself (or case variants thereof).
-
- 02 Şub, 1999 2 kayıt (commit)
-
-
Guido van Rossum yazdı
"""Sjoerd's version stores unbound methods. that's not good enough ;-) Here's an alternative implementation of fixdict."""
-
Guido van Rossum yazdı
Fix leaking of instances by removing the elements variable that we created on closing the parser. The elements variable is now created in the reset() method, so that the sequence close(); reset(); ... works. Also, add the name of the entity reference that wasn't found to the error message.
-
- 01 Şub, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
from Python 1.5.1: If after __init__ finishes no new elements variable was created, this patch will search the instance's namespace for all attributes whose name start with start_ or end_ and put their value in a new elements instance variable.
-
- 22 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 21 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- Fixed a bug where a syntax error was reported when a document started with white space. (White space at the start of a document is valid if there is no XML declaration.) - Improved the speed quite a bit for documents that don't make use of namespaces.
-
- 18 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Here is my current version of xmllib.py and the documentation. This version has some API changes with respect to the version currently in Python (also the one in 1.5.2a). This version supports XML namespaces.
-
- 08 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
In literal mode, also don't do anything about entity and character references, or about closing CDATA elements.
-
- 07 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
When literal mode is entered it should exit automatically when the matching close tag of the last unclosed open tag is encountered. This patch fixes this.
-
- 19 Eki, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
<sometag attrib=">"> correctly. Also changed comparisons of re matches and searches into explicit comparisons with None. (Sjoerd Mullender)
-
- 03 Nis, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 26 Mar, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 29 Ock, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
The main incompatibility is that the error reporting method is now called as parser.syntax_error(msg) instead of parser.syntax_error(lineno, msg) This new version also has some code to deal with the <?xml?> and <!DOCTYPE> tags at the start of an XML document. The documentation has been updated, and a small test module has been created.
-
- 18 Kas, 1997 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-