Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
facfb15b
Commit
facfb15b
authored
Nov 08, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix latex conversion glitch in property/feature descriptions.
parent
c64cb6fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
42 deletions
+51
-42
Doc/library/xml.sax.handler.rst
Doc/library/xml.sax.handler.rst
+51
-42
No files found.
Doc/library/xml.sax.handler.rst
View file @
facfb15b
...
@@ -49,52 +49,57 @@ for the feature and property names.
...
@@ -49,52 +49,57 @@ for the feature and property names.
.. data:: feature_namespaces
.. data:: feature_namespaces
Value: ``"http://xml.org/sax/features/namespaces"`` --- true: Perform Namespace
| value: ``"http://xml.org/sax/features/namespaces"``
processing. --- false: Optionally do not perform Namespace processing (implies
| true: Perform Namespace processing.
namespace-prefixes; default). --- access: (parsing) read-only; (not parsing)
| false: Optionally do not perform Namespace processing (implies
read/write
namespace-prefixes; default).
| access: (parsing) read-only; (not parsing) read/write
.. data:: feature_namespace_prefixes
.. data:: feature_namespace_prefixes
Value: ``"http://xml.org/sax/features/namespace-prefixes"`` --- true: Report
| value: ``"http://xml.org/sax/features/namespace-prefixes"``
the original prefixed names and attributes used for Namespace
| true: Report the original prefixed names and attributes used for Namespace
declarations. --- false: Do not report attributes used for Namespace
declarations.
declarations, and optionally do not report original prefixed names
| false: Do not report attributes used for Namespace declarations, and
(default). --- access: (parsing) read-only; (not parsing) read/write
optionally do not report original prefixed names (default).
| access: (parsing) read-only; (not parsing) read/write
.. data:: feature_string_interning
.. data:: feature_string_interning
Value: ``"http://xml.org/sax/features/string-interning"`` --- true: All element
| value: ``"http://xml.org/sax/features/string-interning"``
names, prefixes, attribute names, Namespace URIs, and local names are interne
d
| true: All element names, prefixes, attribute names, Namespace URIs, an
d
using the built-in intern function. --- false: Names are not necessarily
local names are interned using the built-in intern function.
interned, although they may be (default). --- access: (parsing) read-only; (not
| false: Names are not necessarily interned, although they may be (default).
parsing) read/write
| access: (parsing) read-only; (not
parsing) read/write
.. data:: feature_validation
.. data:: feature_validation
Value: ``"http://xml.org/sax/features/validation"`` --- true: Report all
| value: ``"http://xml.org/sax/features/validation"``
validation errors (implies external-general-entities and
| true: Report all validation errors (implies external-general-entities and
external-parameter-entities). --- false: Do not report validation errors. ---
external-parameter-entities).
access: (parsing) read-only; (not parsing) read/write
| false: Do not report validation errors.
| access: (parsing) read-only; (not parsing) read/write
.. data:: feature_external_ges
.. data:: feature_external_ges
Value: ``"http://xml.org/sax/features/external-general-entities"`` --- true:
| value: ``"http://xml.org/sax/features/external-general-entities"``
Include all external general (text) entities. --- false: Do not include
| true: Include all external general (text) entities.
external general entities. --- access: (parsing) read-only; (not parsing)
| false: Do not include external general entities.
read/write
| access: (parsing) read-only; (not parsing)
read/write
.. data:: feature_external_pes
.. data:: feature_external_pes
Value: ``"http://xml.org/sax/features/external-parameter-entities"`` --- true:
| value: ``"http://xml.org/sax/features/external-parameter-entities"``
Include all external parameter entities, including the external DTD subset. ---
| true: Include all external parameter entities, including the external DTD
false: Do not include any external parameter entities, even the external DTD
subset.
subset. --- access: (parsing) read-only; (not parsing) read/write
| false: Do not include any external parameter entities, even the external
DTD subset.
| access: (parsing) read-only; (not parsing) read/write
.. data:: all_features
.. data:: all_features
...
@@ -104,34 +109,38 @@ for the feature and property names.
...
@@ -104,34 +109,38 @@ for the feature and property names.
.. data:: property_lexical_handler
.. data:: property_lexical_handler
Value: ``"http://xml.org/sax/properties/lexical-handler"`` --- data type:
| value: ``"http://xml.org/sax/properties/lexical-handler"``
xml.sax.sax2lib.LexicalHandler (not supported in Python 2) --- description: An
| data type: xml.sax.sax2lib.LexicalHandler (not supported in Python 2)
optional extension handler for lexical events like comments. --- access:
| description: An optional extension handler for lexical events like
read/write
comments.
| access: read/write
.. data:: property_declaration_handler
.. data:: property_declaration_handler
Value: ``"http://xml.org/sax/properties/declaration-handler"`` --- data type:
| value: ``"http://xml.org/sax/properties/declaration-handler"``
xml.sax.sax2lib.DeclHandler (not supported in Python 2) --- description: An
| data type: xml.sax.sax2lib.DeclHandler (not supported in Python 2)
optional extension handler for DTD-related events other than notations and
| description: An optional extension handler for DTD-related events other
unparsed entities. --- access: read/write
than notations and unparsed entities.
| access: read/write
.. data:: property_dom_node
.. data:: property_dom_node
Value: ``"http://xml.org/sax/properties/dom-node"`` --- data type:
| value: ``"http://xml.org/sax/properties/dom-node"``
org.w3c.dom.Node (not supported in Python 2) --- description: When parsing,
| data type: org.w3c.dom.Node (not supported in Python 2)
the current DOM node being visited if this is a DOM iterator; when not parsing,
| description: When parsing, the current DOM node being visited if this is
the root DOM node for iteration. --- access: (parsing) read-only; (not parsing)
a DOM iterator; when not parsing, the root DOM node for iteration.
read/write
| access: (parsing) read-only; (not parsing)
read/write
.. data:: property_xml_string
.. data:: property_xml_string
Value: ``"http://xml.org/sax/properties/xml-string"`` --- data type: String ---
| value: ``"http://xml.org/sax/properties/xml-string"``
description: The literal string of characters that was the source for the
| data type: String
current event. --- access: read-only
| description: The literal string of characters that was the source for the
current event.
| access: read-only
.. data:: all_properties
.. data:: all_properties
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment