Lines Matching +full:use +full:- +full:external +full:- +full:names
2 :mod:`xml.sax.handler` --- Base classes for SAX handlers
40 the method in your object to resolve all external entities.
50 for the feature and property names.
58 namespace-prefixes; default).
59 | access: (parsing) read-only; (not parsing) read/write
64 | value: ``"http://xml.org/sax/features/namespace-prefixes"``
65 | true: Report the original prefixed names and attributes used for Namespace
68 optionally do not report original prefixed names (default).
69 | access: (parsing) read-only; (not parsing) read/write
74 | value: ``"http://xml.org/sax/features/string-interning"``
75 | true: All element names, prefixes, attribute names, Namespace URIs, and
76 local names are interned using the built-in intern function.
77 | false: Names are not necessarily interned, although they may be (default).
78 | access: (parsing) read-only; (not parsing) read/write
84 | true: Report all validation errors (implies external-general-entities and
85 external-parameter-entities).
87 | access: (parsing) read-only; (not parsing) read/write
92 | value: ``"http://xml.org/sax/features/external-general-entities"``
93 | true: Include all external general (text) entities.
94 | false: Do not include external general entities.
95 | access: (parsing) read-only; (not parsing) read/write
100 | value: ``"http://xml.org/sax/features/external-parameter-entities"``
101 | true: Include all external parameter entities, including the external DTD
103 | false: Do not include any external parameter entities, even the external
105 | access: (parsing) read-only; (not parsing) read/write
115 | value: ``"http://xml.org/sax/properties/lexical-handler"``
124 | value: ``"http://xml.org/sax/properties/declaration-handler"``
126 | description: An optional extension handler for DTD-related events other
133 | value: ``"http://xml.org/sax/properties/dom-node"``
137 | access: (parsing) read-only; (not parsing) read/write
142 | value: ``"http://xml.org/sax/properties/xml-string"``
146 | access: read-only
151 List of all known property names.
154 .. _content-handler-objects:
157 ----------------------
175 document-related event, even if the parser is not reporting an error. Typically,
176 the application will use this information for reporting its own errors (such as
178 information returned by the locator is probably not sufficient for use with a
182 of the events in this interface. The application should not attempt to use it at
206 Begin the scope of a prefix-URI Namespace mapping.
210 and attribute names when the ``feature_namespaces`` feature is enabled (the
213 There are cases, however, when applications need to use prefixes in character
222 guaranteed to be properly nested relative to each-other: all
231 End the scope of a prefix-URI mapping.
240 Signals the start of an element in non-namespace mode.
245 interface (see :ref:`attributes-objects`) containing the attributes of
246 the element. The object passed as *attrs* may be re-used by the parser; holding
248 To keep a copy of the attributes, use the :meth:`copy` method of the *attrs*
254 Signals the end of an element in non-namespace mode.
268 :ref:`attributes-ns-objects`)
271 as *attrs* may be re-used by the parser; holding on to a reference to it is not
273 attributes, use the :meth:`copy` method of the *attrs* object.
294 must come from the same external entity so that the Locator provides useful
303 used a more Java-like interface for this method. Since most parsers used from
305 chosen to replace it. To convert old code to the new interface, use *content*
313 Validating Parsers must use this method to report each chunk of ignorable
314 whitespace (see the W3C XML 1.0 recommendation, section 2.10): non-validating
315 parsers may also use this method if they are capable of parsing and using
320 must come from the same external entity, so that the Locator provides useful
340 The Parser will invoke this method once for each entity skipped. Non-validating
342 for example, the entity was declared in an external DTD subset). All processors
343 may skip external entities, depending on the values of the
347 .. _dtd-handler-objects:
350 ------------------
365 .. _entity-resolver-objects:
368 ----------------------
378 .. _sax-error-handler:
381 --------------------
391 the passed-in exception object.