Lines Matching +full:use +full:- +full:external +full:- +full:names
1 :mod:`xml.sax.handler` --- Base classes for SAX handlers
12 --------------
41 the method in your object to resolve all external entities.
57 for the feature and property names.
65 namespace-prefixes; default).
66 | access: (parsing) read-only; (not parsing) read/write
71 | value: ``"http://xml.org/sax/features/namespace-prefixes"``
72 | true: Report the original prefixed names and attributes used for Namespace
75 optionally do not report original prefixed names (default).
76 | access: (parsing) read-only; (not parsing) read/write
81 | value: ``"http://xml.org/sax/features/string-interning"``
82 | true: All element names, prefixes, attribute names, Namespace URIs, and
83 local names are interned using the built-in intern function.
84 | false: Names are not necessarily interned, although they may be (default).
85 | access: (parsing) read-only; (not parsing) read/write
91 | true: Report all validation errors (implies external-general-entities and
92 external-parameter-entities).
94 | access: (parsing) read-only; (not parsing) read/write
99 | value: ``"http://xml.org/sax/features/external-general-entities"``
100 | true: Include all external general (text) entities.
101 | false: Do not include external general entities.
102 | access: (parsing) read-only; (not parsing) read/write
107 | value: ``"http://xml.org/sax/features/external-parameter-entities"``
108 | true: Include all external parameter entities, including the external DTD
110 | false: Do not include any external parameter entities, even the external
112 | access: (parsing) read-only; (not parsing) read/write
122 | value: ``"http://xml.org/sax/properties/lexical-handler"``
131 | value: ``"http://xml.org/sax/properties/declaration-handler"``
133 | description: An optional extension handler for DTD-related events other
140 | value: ``"http://xml.org/sax/properties/dom-node"``
144 | access: (parsing) read-only; (not parsing) read/write
149 | value: ``"http://xml.org/sax/properties/xml-string"``
153 | access: read-only
158 List of all known property names.
161 .. _content-handler-objects:
164 ----------------------
182 document-related event, even if the parser is not reporting an error. Typically,
183 the application will use this information for reporting its own errors (such as
185 information returned by the locator is probably not sufficient for use with a
189 of the events in this interface. The application should not attempt to use it at
213 Begin the scope of a prefix-URI Namespace mapping.
217 and attribute names when the ``feature_namespaces`` feature is enabled (the
220 There are cases, however, when applications need to use prefixes in character
229 guaranteed to be properly nested relative to each-other: all
238 End the scope of a prefix-URI mapping.
247 Signals the start of an element in non-namespace mode.
252 interface (see :ref:`attributes-objects`) containing the attributes of
253 the element. The object passed as *attrs* may be re-used by the parser; holding
255 To keep a copy of the attributes, use the :meth:`copy` method of the *attrs*
261 Signals the end of an element in non-namespace mode.
275 :ref:`attributes-ns-objects`)
278 as *attrs* may be re-used by the parser; holding on to a reference to it is not
280 attributes, use the :meth:`copy` method of the *attrs* object.
301 must come from the same external entity so that the Locator provides useful
310 used a more Java-like interface for this method. Since most parsers used from
312 chosen to replace it. To convert old code to the new interface, use *content*
320 Validating Parsers must use this method to report each chunk of ignorable
321 whitespace (see the W3C XML 1.0 recommendation, section 2.10): non-validating
322 parsers may also use this method if they are capable of parsing and using
327 must come from the same external entity, so that the Locator provides useful
347 The Parser will invoke this method once for each entity skipped. Non-validating
349 for example, the entity was declared in an external DTD subset). All processors
350 may skip external entities, depending on the values of the
354 .. _dtd-handler-objects:
357 ------------------
372 .. _entity-resolver-objects:
375 ----------------------
385 .. _sax-error-handler:
388 --------------------
398 the passed-in exception object.
423 .. _lexical-handler-objects:
426 ----------------------
437 ``'http://xml.org/sax/properties/lexical-handler'``.