• Home
  • Raw
  • Download

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.
51 for the feature and property names.
59 namespace-prefixes; default).
60 | access: (parsing) read-only; (not parsing) read/write
65 | value: ``"http://xml.org/sax/features/namespace-prefixes"``
66 | true: Report the original prefixed names and attributes used for Namespace
69 optionally do not report original prefixed names (default).
70 | access: (parsing) read-only; (not parsing) read/write
75 | value: ``"http://xml.org/sax/features/string-interning"``
76 | true: All element names, prefixes, attribute names, Namespace URIs, and
77 local names are interned using the built-in intern function.
78 | false: Names are not necessarily interned, although they may be (default).
79 | access: (parsing) read-only; (not parsing) read/write
85 | true: Report all validation errors (implies external-general-entities and
86 external-parameter-entities).
88 | access: (parsing) read-only; (not parsing) read/write
93 | value: ``"http://xml.org/sax/features/external-general-entities"``
94 | true: Include all external general (text) entities.
95 | false: Do not include external general entities.
96 | access: (parsing) read-only; (not parsing) read/write
101 | value: ``"http://xml.org/sax/features/external-parameter-entities"``
102 | true: Include all external parameter entities, including the external DTD
104 | false: Do not include any external parameter entities, even the external
106 | access: (parsing) read-only; (not parsing) read/write
116 | value: ``"http://xml.org/sax/properties/lexical-handler"``
125 | value: ``"http://xml.org/sax/properties/declaration-handler"``
127 | description: An optional extension handler for DTD-related events other
134 | value: ``"http://xml.org/sax/properties/dom-node"``
138 | access: (parsing) read-only; (not parsing) read/write
143 | value: ``"http://xml.org/sax/properties/xml-string"``
147 | access: read-only
152 List of all known property names.
155 .. _content-handler-objects:
158 ----------------------
176 document-related event, even if the parser is not reporting an error. Typically,
177 the application will use this information for reporting its own errors (such as
179 information returned by the locator is probably not sufficient for use with a
183 of the events in this interface. The application should not attempt to use it at
207 Begin the scope of a prefix-URI Namespace mapping.
211 and attribute names when the ``feature_namespaces`` feature is enabled (the
214 There are cases, however, when applications need to use prefixes in character
223 guaranteed to be properly nested relative to each-other: all
232 End the scope of a prefix-URI mapping.
241 Signals the start of an element in non-namespace mode.
246 interface (see :ref:`attributes-objects`) containing the attributes of
247 the element. The object passed as *attrs* may be re-used by the parser; holding
249 To keep a copy of the attributes, use the :meth:`copy` method of the *attrs*
255 Signals the end of an element in non-namespace mode.
269 :ref:`attributes-ns-objects`)
272 as *attrs* may be re-used by the parser; holding on to a reference to it is not
274 attributes, use the :meth:`copy` method of the *attrs* object.
295 must come from the same external entity so that the Locator provides useful
304 used a more Java-like interface for this method. Since most parsers used from
306 chosen to replace it. To convert old code to the new interface, use *content*
314 Validating Parsers must use this method to report each chunk of ignorable
315 whitespace (see the W3C XML 1.0 recommendation, section 2.10): non-validating
316 parsers may also use this method if they are capable of parsing and using
321 must come from the same external entity, so that the Locator provides useful
341 The Parser will invoke this method once for each entity skipped. Non-validating
343 for example, the entity was declared in an external DTD subset). All processors
344 may skip external entities, depending on the values of the
348 .. _dtd-handler-objects:
351 ------------------
366 .. _entity-resolver-objects:
369 ----------------------
379 .. _sax-error-handler:
382 --------------------
392 the passed-in exception object.