Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the cxml Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 13:13:18 2020 GMT+0.
• Introduction | What cxml is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
* Introduction An XML parser written in Common Lisp. Closure XML was written by Gilbert Baumann (unk6 at rz.uni-karlsruhe.de) as part of the Closure web browser. Contributions to the parser by * Henrik Motakef (hmot at henrik-motakef.de) * David Lichteblau (david@lichteblau.com) CXML implements a namespace-aware, validating XML 1.0 parser as well as the DOM Level 2 Core interfaces. Two parser interfaces are offered, one SAX-like, the other similar to StAX. CXML is licensed under Lisp-LGPL. * Documentation Please refer to http://common-lisp.net/project/cxml/ for details. The documentation is also available in the doc/ subdirectory of this source distribution, run =make= in that directory to build HTML for the XML sources (requires =xsltproc=).
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The cxml system | ||
• The cxml/dom system | ||
• The cxml/klacks system | ||
• The cxml/xml system |
Next: The cxml/dom system, Previous: Systems, Up: Systems [Contents][Index]
Sharp Lispers <sharplispers@googlegroups.com>
Gilbert Baumann
Henrik Motakef
David Lichteblau
LLGPL
Closure XML - a Common Lisp XML parser
cxml.asd (file)
Next: The cxml/klacks system, Previous: The cxml system, Up: Systems [Contents][Index]
Sharp Lispers <sharplispers@googlegroups.com>
Gilbert Baumann
Henrik Motakef
David Lichteblau
LLGPL
cxml/xml (system)
cxml.asd (file)
Next: The cxml/xml system, Previous: The cxml/dom system, Up: Systems [Contents][Index]
Sharp Lispers <sharplispers@googlegroups.com>
Gilbert Baumann
Henrik Motakef
David Lichteblau
LLGPL
cxml/xml (system)
cxml.asd (file)
Previous: The cxml/klacks system, Up: Systems [Contents][Index]
Sharp Lispers <sharplispers@googlegroups.com>
Gilbert Baumann
Henrik Motakef
David Lichteblau
LLGPL
cxml.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The cxml/dom/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
cxml.asd
Next: The cxml/dom/rune-impl․lisp file, Previous: The cxml․asd file, Up: Lisp files [Contents][Index]
cxml/dom (system)
dom/package.lisp
Next: The cxml/dom/rune-builder․lisp file, Previous: The cxml/dom/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
cxml/dom (system)
dom/dom-impl.lisp
Next: The cxml/dom/dom-sax․lisp file, Previous: The cxml/dom/rune-impl․lisp file, Up: Lisp files [Contents][Index]
rune-impl.lisp (file)
cxml/dom (system)
dom/dom-builder.lisp
Next: The cxml/klacks/package․lisp file, Previous: The cxml/dom/rune-builder․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
cxml/dom (system)
dom/dom-sax.lisp
map-document (function)
compute-attributes (function)
Next: The cxml/klacks/klacks․lisp file, Previous: The cxml/dom/dom-sax․lisp file, Up: Lisp files [Contents][Index]
cxml/klacks (system)
klacks/package.lisp
Next: The cxml/klacks/klacks-impl․lisp file, Previous: The cxml/klacks/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
cxml/klacks (system)
klacks/klacks.lisp
Next: The cxml/klacks/tap-source․lisp file, Previous: The cxml/klacks/klacks․lisp file, Up: Lisp files [Contents][Index]
klacks.lisp (file)
cxml/klacks (system)
klacks/klacks-impl.lisp
Next: The cxml/xml/package․lisp file, Previous: The cxml/klacks/klacks-impl․lisp file, Up: Lisp files [Contents][Index]
klacks-impl.lisp (file)
cxml/klacks (system)
klacks/tap-source.lisp
Next: The cxml/xml/util․lisp file, Previous: The cxml/klacks/tap-source․lisp file, Up: Lisp files [Contents][Index]
Next: The cxml/xml/sax-handler․lisp file, Previous: The cxml/xml/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
cxml/xml (system)
xml/util.lisp
Next: The cxml/xml/xml-name-rune-p․lisp file, Previous: The cxml/xml/util․lisp file, Up: Lisp files [Contents][Index]
cxml/xml (system)
xml/sax-handler.lisp
Next: The cxml/xml/split-sequence․lisp file, Previous: The cxml/xml/sax-handler․lisp file, Up: Lisp files [Contents][Index]
cxml/xml (system)
xml/xml-name-rune-p.lisp
Next: The cxml/xml/xml-parse․lisp file, Previous: The cxml/xml/xml-name-rune-p․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
cxml/xml (system)
xml/split-sequence.lisp
split-sequence-if (function)
Next: The cxml/xml/unparse․lisp file, Previous: The cxml/xml/split-sequence․lisp file, Up: Lisp files [Contents][Index]
cxml/xml (system)
xml/xml-parse.lisp
Next: The cxml/xml/xmls-compat․lisp file, Previous: The cxml/xml/xml-parse․lisp file, Up: Lisp files [Contents][Index]
xml-parse.lisp (file)
cxml/xml (system)
xml/unparse.lisp
Next: The cxml/xml/recoder․lisp file, Previous: The cxml/xml/unparse․lisp file, Up: Lisp files [Contents][Index]
xml-parse.lisp (file)
cxml/xml (system)
xml/xmls-compat.lisp
Next: The cxml/xml/xmlns-normalizer․lisp file, Previous: The cxml/xml/xmls-compat․lisp file, Up: Lisp files [Contents][Index]
xml-parse.lisp (file)
cxml/xml (system)
xml/recoder.lisp
Next: The cxml/xml/space-normalizer․lisp file, Previous: The cxml/xml/recoder․lisp file, Up: Lisp files [Contents][Index]
xml-parse.lisp (file)
cxml/xml (system)
xml/xmlns-normalizer.lisp
Next: The cxml/xml/catalog․lisp file, Previous: The cxml/xml/xmlns-normalizer․lisp file, Up: Lisp files [Contents][Index]
xml-parse.lisp (file)
cxml/xml (system)
xml/space-normalizer.lisp
Next: The cxml/xml/sax-proxy․lisp file, Previous: The cxml/xml/space-normalizer․lisp file, Up: Lisp files [Contents][Index]
xml-parse.lisp (file)
cxml/xml (system)
xml/catalog.lisp
Next: The cxml/xml/atdoc-configuration․lisp file, Previous: The cxml/xml/catalog․lisp file, Up: Lisp files [Contents][Index]
xml-parse.lisp (file)
cxml/xml (system)
xml/sax-proxy.lisp
dtd (method)
Previous: The cxml/xml/sax-proxy․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
cxml/xml (system)
xml/atdoc-configuration.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The dom package | ||
• The rune-dom package | ||
• The klacks package | ||
• The cxml-system package | ||
• The cxml package | ||
• The sax package | ||
• The cxml-xmls package |
Next: The rune-dom package, Previous: Packages, Up: Packages [Contents][Index]
package.lisp (file)
Next: The klacks package, Previous: The dom package, Up: Packages [Contents][Index]
rune-impl.lisp (file)
cxml-dom
Next: The cxml-system package, Previous: The rune-dom package, Up: Packages [Contents][Index]
package.lisp (file)
Next: The cxml package, Previous: The klacks package, Up: Packages [Contents][Index]
cxml.asd
Next: The sax package, Previous: The cxml-system package, Up: Packages [Contents][Index]
package.lisp (file)
Next: The cxml-xmls package, Previous: The cxml package, Up: Packages [Contents][Index]
sax-handler.lisp (file)
common-lisp
Previous: The sax package, Up: Packages [Contents][Index]
xmls-compat.lisp (file)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables | ||
• Exported macros | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported conditions | ||
• Exported classes |
Next: Exported macros, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
If non-nil, namespace declarations are reported as normal
attributes.
This variable has no effect unless ‘*namespace-processing*’ is
non-nil.
See also ‘*use-xmlns-namespace*’, and ‘start-element’ for a detailed description of the consequences of setting this variable.
sax-handler.lisp (file)
If non-nil (the default), namespace processing is enabled.
See also ‘start-element’ and ‘end-element’ for a detailed description of the consequences of modifying this variable, and ‘*include-xmlns-attributes*’ and ‘*use-xmlns-namespace*’ for further related options.
sax-handler.lisp (file)
catalog.lisp (file)
If this variable is nil (the default), attributes with a name like
’xmlns:x’ are not considered to be in a namespace, following the
’Namespaces in XML’ specification.
If it is non-nil, such attributes are considered to be in a namespace
with the URI ’http://www.w3.org/2000/xmlns/’, following an
incompatible change silently introduced in the errata to that spec,
and adopted by some W3C standards.
For example, an attribute like xmlns:ex=’http://example.com’ would be
reported like this:
*use-xmlns-namespace*: nil
namespace-uri: nil
local-name: nil
qname: #"xmlns:ex"
*use-xmlns-namespace*: t
namespace-uri: #"http://www.w3.org/2000/xmlns/"
local-name: #"ex"
qname: #"xmlns:ex"
Setting this variable has no effect unless both ‘*namespace-processing*’ and ‘*include-xmlns-attributes*’ are non-nil.
sax-handler.lisp (file)
Next: Exported functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
rune-impl.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
@arg[qname]{A string, evaluated.}
@arg[body]{forms, an implicit progn}
@return{The result of @code{body}.}
Writes an element to the current output sink.
This macro is a convenience wrapper around @fun{with-element*}.
@var{qname} is parsed to determine the element’s namespace prefix and local name. Then @fun{with-element*} is called on @var{body} using the resulting values.
unparse.lisp (file)
@arg[prefix]{Namespace prefix, a string (evaluated).}
@arg[lname]{Local name, a string (evaluated).}
@arg[body]{forms, an implicit progn}
@return{The result of @code{body}.}
Writes an element to the current output sink.
First, @var{prefix} is resolved to a namespace URI using the bindings
established by @fun{with-namespace}.
Next, body is evaluated as an implicit progn. During this time, attributes for the element can be specified using @fun{attribute}.
Once information on the start tag is complete, @fun{start-element}
on the current output sink, using the specified namespace prefix and
local name specified by the arguments, the namespace URI computed as
described above,and including all attributes collected so far.
Information on the start tag is considered complete once the first of
the following situations occurs:
@begin{itemize}
@item{Before any child node of the element is written, e.g. using an
inner call of @fun{with-element},}
@item{Before the body of @fun{with-ouptut-sink} is evaluated.}
@item{After the end of @var{body} has been reached.}
@end{itemize}
Finally, sax:end-element is used to write an end tag, using the same qualified name and namespace information as above.
unparse.lisp (file)
@arg[prefix]{Namespace prefix, a string (evaluated).}
@arg[uri]{Namespace URI, a string (evaluated).}
@arg[body]{forms, an implicit progn}
@return{The result of @code{body}.}
Registers @code{prefix} as a name for the namespace URI @code{uri}
for the extent of body.
Namespace bindings established by @code{with-namespace} are used by @fun{with-element} and @fun{with-element*} as well as @fun{attribute} and @fun{attribute*}.
unparse.lisp (file)
klacks.lisp (file)
@arg[var]{A symbol, not evaluated.}
@arg[body]{forms, an implicit progn}
@return{The result of @code{body}.}
Allows safe use of manual calls to SAX functions during the extent
of @fun{with-xml-output},
Determines the current output sink established by @fun{with-xml-output},
as used by convenience serialization functions. Writes delayed
serialization events to the sink. Binds local variable @code{var} to the
sink and evaluates @code{body} as an implicit progn.
The consequences are undefined if this macro is used outside of the
extent of a call to @fun{with-xml-output}.
See @fun{with-xml-output} for details on delayed events.
unparse.lisp (file)
@arg[sink]{A @class{SAX handler}, evaluated}
@arg[body]{forms}
@return{The result of calling @code{sax:end-document} on @code{sink}.}
Evaluates sink and establishes it as the current output sink for
the following "convenience serialization" macros and functions:
@fun{with-element}, @fun{with-namespace}, @fun{doctype},
@fun{with-element*}, @fun{attribute}, @fun{attribute*}, @fun{text}
@fun{comment}, @fun{processing-instruction}, @fun{unescaped}.
Before @code{body} is evaluated, @fun{sax:start-document} is signalled to the @code{sink}. Afterwards, @fun{sax:end-document} is signalled.
Note that convenience serialization delays some serialization events.
For example, @fun{with-element} delays signalling an opening tag
using @fun{sax:start-element} until it has information about all
possible attributes of the element. Because of this delay, it is
not usually safe to signal SAX events to the sink during the extent
of @code{with-xml-output}. However, @fun{with-output-sink} can be
used to force output of delayed events, allowing direct use of the
sink.
Example:
@pre{(with-xml-output (make-octet-stream-sink stream)
(with-element "foo"
(attribute "xyz" "abc")
(with-element "bar"
(attribute "blub" "bla"))
(text "Hi there.")))}
unparse.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
@arg[qname]{Qualified name, a string.}
@arg[value]{Any value understood by @fun{unparse-attribute}, in particular
strings.}
@return{undocumented}
Collects an attribute for the start tag that is currently being written.
This function may only be called during the extent of a use of
@fun{with-element} or @fun{with-element*}, and only before the first
child node has been written.
An attribute for the current element is recorded using the namespace prefix and local name specified by @var{qname}. The attribute’s namespace prefix is resolved to a namespace URI using the bindings established by @fun{with-namespace},and that namespace URI is used for the attribute.
unparse.lisp (file)
@arg[prefix]{Namespace prefix, a string.}
@arg[lname]{Local name, a string.}
@arg[value]{Any value understood by @fun{unparse-attribute}, in particular
strings.}
@return{undocumented}
Collects an attribute for the start tag that is currently being written.
This function may only be called during the extent of a use of
@fun{with-element} or @fun{with-element*}, and only before the first
child node has been written.
An attribute for the current element is recorded using the namespace prefix and local name specified by arguments. @var{prefix} is resolved to a namespace URI using the bindings established by @fun{with-namespace}, and that namespace URI is used for the attribute.
unparse.lisp (file)
@arg[data]{String.}
@return{undocumented}
Writes a CDATA section to the current output sink, using @code{data} as
its contents.
Note: It is currently the caller’s responsibily to ensure that the CDATA section will not contain forbidden character sequences.
unparse.lisp (file)
xml-parse.lisp (file)
@arg[data]{String.}
@return{undocumented}
Writes a comment to the current output sink, using @code{data} as
its contents.
Note: It is currently the caller’s responsibily to ensure that @code{data} does not contain character sequences forbidden for comments.
unparse.lisp (file)
klacks.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
klacks.lisp (file)
klacks.lisp (file)
klacks.lisp (file)
@arg[name]{Element name, a string.}
@arg[public-id]{String}
@arg[system-id]{A system ID as a @class{puri:uri}.}
@arg[internal-subset]{nil or a string}
@return{undocumented}
Writes a doctype declaration to the current output sink, using the specified name, public ID, system ID, and optionally an internal subset.
unparse.lisp (file)
klacks.lisp (file)
sax-handler.lisp (file)
sax-handler.lisp (file)
klacks.lisp (file)
klacks.lisp (file)
xml-parse.lisp (file)
sax-handler.lisp (file)
@arg[handlers]{A list of @class{SAX handler}s.}
@return{A @class{broadcast-handler}.}
Creates a SAX handler which passes every event it receives on to each
handler specified as an argument to this function.
See @class{broadcast-handler} for details.
sax-proxy.lisp (file)
catalog.lisp (file)
@arg[stream]{A character stream.}
@return{A serialization sink, i.e. a @class{SAX handler}}
Returns a handler that writes processes SAX events by writing an
equivalent XML document to @var{stream}.
The sink will return @var{stream} as a result from
@fun{sax:end-document}.
All sink creation functions share the same keyword arguments. Refer to @fun{make-octet-vector-sink} for details on keyword arguments.
unparse.lisp (file)
rune-builder.lisp (file)
xml-parse.lisp (file)
@arg[publicid]{string or nil}
@arg[systemid]{@class{puri:uri} or nil}
@return{an instance of @class{extid}}
Create an object representing the External ID composed of the specified Public ID and System ID.
xml-parse.lisp (file)
@arg[chained-handler]{A @class{SAX handler}.}
@return{A @class{SAX handler}.}
Return a SAX handler that performs @a[http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/namespaces-algorithms.html#normalizeDocumentAlgo]{DOM
3-style namespace normalization} on attribute lists in
@fun{sax:start-element} events before passing them on the next handler.
xmlns-normalizer.lisp (file)
xmls-compat.lisp (file)
@arg[stream]{An (unsigned-byte 8) stream.}
@return{A serialization sink, i.e. a @class{SAX handler}}
Returns a handler that writes processes SAX events by writing an
equivalent XML document to @var{stream}.
The sink will return @var{stream} as a result from
@fun{sax:end-document}.
All sink creation functions share the same keyword arguments. Refer to @fun{make-octet-vector-sink} for details on keyword arguments.
unparse.lisp (file)
@arg[canonical]{canonical form, one of NIL, T, 1, 2. If specified,
serialization in canonical form is enabled. The two canonical
forms are useful to allow comparisons of XML documents and their
content model by character-by-character comparisons of
their serialized representation.}
@arg[indentation]{indentation level. An integer or nil. If
specified, a pretty-printing indentation mode is enabled. Note
that indentation as implemented currently changes the content model
unconditionally, and is usually helpful only for debugging purposes.}
@arg[encoding]{the character encoding to use. A string or
keyword. Values are interpreted by Babel. nil is also allowed
and means UTF-8.}
@arg[omit-xml-declaration]{Boolean. If true, no XML declaration
is written.}
@return{A serialization sink, i.e. a @class{SAX handler}}
Returns a handler that writes processes SAX events by writing an
equivalent XML document to a newly allocated vector of
@code{(unsigned-byte 8)}.
The following values for @code{canonical} are allowed:
@begin{itemize}
@item{t or 1: Canonical XML}
@item{2: Second Canonical Form}
@item{NIL: Use a more readable non-canonical representation.}
@end{itemize}
The sink will return the vector as a result from
@fun{sax:end-document}.
An internal subset will be included in the result regardless of the canonical setting. It is the responsibility of the caller to not report an internal subset for canonical <= 1, or only notations as required for canonical = 2. For example, the include-doctype argument to dom:map-document should be set to nil for the former behaviour and :canonical-notations for the latter.
unparse.lisp (file)
recoder.lisp (file)
@return{A serialization sink, i.e. a @class{SAX handler}}
Returns a handler that writes processes SAX events by writing an equivalent XML document to a newly allocated string of unicode characters (or on implementations without unicode support: a rod).
The sink will return the string (or rod) as a result from
@fun{sax:end-document}.
All sink creation functions share the same keyword arguments. Refer to @fun{make-octet-vector-sink} for details on keyword arguments.
unparse.lisp (file)
klacks-impl.lisp (file)
@return{A serialization sink, i.e. a @class{SAX handler}}
Returns a handler that writes processes SAX events by writing an
equivalent XML document to a newly allocated string of unicode
characters.
The sink will return the string as a result from
@fun{sax:end-document}.
All sink creation functions share the same keyword arguments. Refer to @fun{make-octet-vector-sink} for details on keyword arguments.
unparse.lisp (file)
tap-source.lisp (file)
@arg[dtd]{An @class{dtd} instance.}
@arg[root]{Element name, a string.}
@return{A @class{SAX handler}.}
Create a SAX handler which validates against a DTD instance.
The document’s root element must be named @code{root}.
Used with @fun{dom:map-document}, this validates a document
object as if by re-reading it with a validating parser, except
that declarations recorded in the document instance are completely
ignored.
Example:
@pre{(let ((d (parse-file "~/test.xml" (cxml-dom:make-dom-builder)))
(x (parse-dtd-file "~/test.dtd")))
(dom:map-document (cxml:make-validator x #"foo") d))}
xml-parse.lisp (file)
space-normalizer.lisp (file)
Make a XMLS style builder. When ’include-namespace-uri is true a modified XMLS tree is generated that includes the element namespace URI rather than the qualified name prefix and also includes the namespace URI for attributes.
xmls-compat.lisp (file)
xmls-compat.lisp (file)
dom-sax.lisp (file)
xmls-compat.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
xmls-compat.lisp (file)
xmls-compat.lisp (file)
xmls-compat.lisp (file)
xmls-compat.lisp (file)
@arg[input]{A string, pathname, octet vector, or stream.}
@arg[handler]{A @class{SAX handler}}
@arg[validate]{Boolean. Defaults to @code{nil}. If true, parse in
validating mode, i.e. assert that the document contains a DOCTYPE
declaration and conforms to the DTD declared.}
@arg[dtd]{unless @code{nil}, an extid instance specifying the external
subset to load. This options overrides the extid specified in the
document type declaration, if any. See below for @fun{make-extid}.
This option is useful for verification purposes together with the
@var{root} and @var{disallow-internal-subset} arguments.}
@arg[root]{The expected root element name, or @code{nil} (the default).
If specified, this argument overrides the name stated in the input’s
DOCTYPE (if any).}
@arg[entity-resolver]{@code{nil} or a function of two arguments which
is invoked for every entity referenced by the document with the
entity’s Public ID (a rod) and System ID (an URI object) as arguments.
The function may either return nil, CXML will then try to resolve the
entity as usual. Alternatively it may return a Common Lisp stream
specialized on @code{(unsigned-byte 8)} which will be used instead.
(It may also signal an error, of course, which can be useful to prohibit
parsed XML documents from including arbitrary files readable by
the parser.)}
@arg[disallow-internal-subset]{Boolean. If true, signal
an error if the document contains an internal subset.}
@arg[recode]{Boolean. (Ignored on Lisps with Unicode
support.) Recode rods to UTF-8 strings. Defaults to true.
Make sure to use @fun{utf8-dom:make-dom-builder} if this
option is enabled and @fun{rune-dom:make-dom-builder}
otherwise.}
@return{The value returned by @fun{sax:end-document} on @var{handler}.}
Parse an XML document from @var{input}, which can be a string, pathname,
octet vector, or stream.
Return values from this function depend on the SAX handler used.
This is an old-style convenience wrapper around the new-style interface
@fun{parse}.
Parse an XML document from @var{filename}, and signal SAX events to
@var{handler} while doing so.
All SAX parsing functions share the same keyword arguments. Refer to @fun{parse} for details on keyword arguments.
xml-parse.lisp (file)
@arg[filename]{An pathname designator.}
@arg[handler]{A @class{SAX handler}}
@return{A @class{dtd} instance.}
Parse @a[http://www.w3.org/TR/2000/REC-xml-20001006#NT-extSubset]{declarations}
from @var{filename} and return an object representing the DTD,
suitable as an argument to @code{validate} with @fun{parse}.
xml-parse.lisp (file)
@arg[stream]{An (unsigned-byte 8) stream.}
@arg[handler]{A @class{SAX handler}}
@return{A @class{dtd} instance.}
Parse @a[http://www.w3.org/TR/2000/REC-xml-20001006#NT-extSubset]{declarations}
from @var{stream} and return an object representing the DTD,
suitable as an argument to @code{validate} with @fun{parse}.
xml-parse.lisp (file)
@arg[uri]{a string or nil}
@arg[qname]{a string or nil}
@arg[handler]{a @class{SAX handler}}
@arg[public-id]{a string or nil}
@arg[system-id]{a @type{puri:uri} or nil}
@arg[entity-resolver]{@code{nil} or a function of two arguments which
is invoked for every entity referenced by the document with the
entity’s Public ID (a rod) and System ID (an URI object) as arguments.
The function may either return nil, CXML will then try to resolve the
entity as usual. Alternatively it may return a Common Lisp stream
specialized on @code{(unsigned-byte 8)} which will be used instead.
(It may also signal an error, of course, which can be useful to prohibit
parsed XML documents from including arbitrary files readable by
the parser.)}
@arg[recode]{Boolean. (Ignored on Lisps with Unicode
support.) Recode rods to UTF-8 strings. Defaults to true.
Make sure to use @fun{utf8-dom:make-dom-builder} if this
option is enabled and @fun{rune-dom:make-dom-builder}
otherwise.}
@return{The value returned by @fun{sax:end-document} on @var{handler}.}
Simulate parsing of a document with a document element @var{qname}
having no attributes except for an optional namespace
declaration to @var{uri}. If an external ID is specified
(@var{system-id}, @var{public-id}), find, parse, and report
this DTD as if with @fun{parse-file}, using the specified
entity resolver.
xml-parse.lisp (file)
@arg[filename]{An pathname designator.}
@arg[handler]{A @class{SAX handler}}
@return{The value returned by @fun{sax:end-document} on @var{handler}.}
This is an old-style convenience wrapper around the new-style interface
@fun{parse}.
Parse an XML document from @var{filename}, and signal SAX events to
@var{handler} while doing so.
All SAX parsing functions share the same keyword arguments. Refer to @fun{parse} for details on keyword arguments.
xml-parse.lisp (file)
@arg[octets]{An (unsigned-byte 8) vector.}
@arg[handler]{A @class{SAX handler}}
@return{The value returned by @fun{sax:end-document} on @var{handler}.}
This is an old-style convenience wrapper around the new-style interface
@fun{parse}.
Parse an XML document from @var{octets}, and signal SAX events to
@var{handler} while doing so.
All SAX parsing functions share the same keyword arguments. Refer to @fun{parse} for details on keyword arguments.
xml-parse.lisp (file)
@arg[string]{An string of unicode characters.}
@arg[handler]{A @class{SAX handler}}
@return{The value returned by @fun{sax:end-document} on @var{handler}.}
This is an old-style convenience wrapper around the new-style interface
@fun{parse}.
Parse an XML document from @var{string}, and signal SAX events to
@var{handler} while doing so.
Note: This function assumes that @var{string} has already been decoded into
Unicode runes and ignores the encoding specified in the XML declaration,
if any.
All SAX parsing functions share the same keyword arguments. Refer to @fun{parse} for details on keyword arguments.
xml-parse.lisp (file)
@arg[stream]{An (unsigned-byte 8) stream}
@arg[handler]{A @class{SAX handler}}
@return{The value returned by @fun{sax:end-document} on @var{handler}.}
This is an old-style convenience wrapper around the new-style interface
@fun{parse}.
Parse an XML document from @var{stream}, and signal SAX events to
@var{handler} while doing so.
All SAX parsing functions share the same keyword arguments. Refer to @fun{parse} for details on keyword arguments.
xml-parse.lisp (file)
@arg[target]{String.}
@arg[data]{String.}
@return{undocumented}
Writes a processing instruction to the current output sink, using
@code{target} and @code{data} as its contents.
Note: It is currently the caller’s responsibily to ensure that @code{target} and @code{data} do not contain character sequences forbidden for processing instruction contents.
unparse.lisp (file)
xml-parse.lisp (file)
catalog.lisp (file)
catalog.lisp (file)
klacks.lisp (file)
klacks.lisp (file)
klacks.lisp (file)
klacks.lisp (file)
@arg[data]{String.}
@return{undocumented}
Writes a text node to the current output sink, using @code{data} as
its contents.
Note: It is currently the caller’s responsibily to ensure that @code{data} does not contain characters forbidden for character data.
unparse.lisp (file)
@arg[data]{String.}
@return{undocumented}
If supported by the current output sink, writes character data directly
to the sink’s target.
Use of this function is often an indicator of bad design. Avoid it if you can. (Implementation note: This function is supported because XSLT’s XML output method requires it.)
unparse.lisp (file)
xml-parse.lisp (file)
Next: Exported conditions, Previous: Exported functions, Up: Exported definitions [Contents][Index]
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called when an attribute declaration is seen in a DTD.
type one of :CDATA, :ID, :IDREF, :IDREFS,
:ENTITY, :ENTITIES, :NMTOKEN, :NMTOKENS,
(:NOTATION <name>*), or (:ENUMERATION <name>*)
default :REQUIRED, :IMPLIED, (:FIXED content), or (:DEFAULT content)
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
sax-handler.lisp (file)
(setf attribute-local-name) (generic function)
attribute-local-name (generic function)
sax-handler.lisp (file)
sax-handler.lisp (file)
(setf attribute-namespace-uri) (generic function)
attribute-namespace-uri (generic function)
sax-handler.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
sax-handler.lisp (file)
(setf attribute-qname) (generic function)
attribute-qname (generic function)
sax-handler.lisp (file)
sax-handler.lisp (file)
(setf attribute-specified-p) (generic function)
attribute-specified-p (generic function)
sax-handler.lisp (file)
sax-handler.lisp (file)
(setf attribute-value) (generic function)
attribute-value (generic function)
sax-handler.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
@arg[instance]{A @class{broadcast-handler}}
@return{A list of @class{SAX handler}s.}
Returns the list of SAX handlers that arechained to this broadcast handler.
(setf broadcast-handler-handlers) (generic function)
automatically generated reader method
sax-proxy.lisp (file)
broadcast-handler-handlers (generic function)
automatically generated writer method
sax-proxy.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called for textual element content.
The data is passed as a rod, with all entity references resolved. It is possible that the character content of an element is reported via multiple subsequent calls to this generic function.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
space-normalizer.lisp (file)
recoder.lisp (file)
xmls-compat.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
rune-impl.lisp (file)
Return an approximation of the current column number, or NIL.
sax-handler.lisp (file)
klacks.lisp (file)
xml-parse.lisp (file)
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
automatically generated reader method
klacks-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called when a element declaration is seen in a DTD. Model is not a string, but a nested list, with *, ?, +, OR, and AND being the operators, rods as names, :EMPTY and :PCDATA as special tokens. (AND represents sequences.)
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called at the end of parsing a CDATA section.
Handlers only have to implement this if they are interested in the lexical structure of the parsed document. The content of the CDATA section is reported via the ‘characters’ generic function like all other textual content.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
Called at the end of parsing a document.
This is always the last function called in the parsing process.
In contrast to all of the other methods, the return value of this gf
is significant, it will be returned by the parse-file/stream/string function.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
catalog.lisp (file)
recoder.lisp (file)
xmls-compat.lisp (file)
unparse.lisp (file)
Called at the end of parsing a DTD.
sax-handler.lisp (file)
klacks-impl.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
Called to report the end of an element.
See the documentation for ‘start-element’ for a description of the parameters.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
catalog.lisp (file)
space-normalizer.lisp (file)
xmlns-normalizer.lisp (file)
recoder.lisp (file)
xmls-compat.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
Called after processing of the internal subset has finished, if present.
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
Called when a prefix -> namespace-uri mapping goes out of scope.
This will always be called immediatly after the ‘end-element’ event
for the element on which the namespace is declared. The order of the
end-prefix-mapping events is otherwise not guaranteed.
Clients don’t usually have to implement this except under special circumstances, for example when they have to deal with qualified names in textual content. The parser will handle namespaces of elements and attributes on its own.
sax-handler.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called between sax:end-dtd and sax:end-document to register an entity resolver, a function of two arguments: An entity name and SAX handler. When called, the resolver function will parse the named entity’s data.
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
Called when a parsed external entity declaration is seen in a DTD.
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
klacks-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called when an internal entity declaration is seen in a DTD.
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Return an approximation of the current line number, or NIL.
sax-handler.lisp (file)
klacks.lisp (file)
xml-parse.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called when a notation declaration is seen while parsing a DTD.
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
klacks.lisp (file)
tap-source.lisp (file)
klacks-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called when a processing instruction is read.
Both target and data are rods.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
@arg[instance]{A @class{sax-proxy}.}
@return{A @class{SAX handler}s.}
Returns the SAX handler that is chained to this SAX proxy.
sax-proxy.lisp (file)
sax-proxy.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
Set the SAX-PARSER instance of this handler.
sax-handler.lisp (file)
sax-proxy.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
sax-handler.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
unparse.lisp (file)
automatically generated reader method
unparse.lisp (file)
automatically generated writer method
unparse.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
Called at the beginning of parsing a CDATA section.
Handlers only have to implement this if they are interested in the lexical structure of the parsed document. The content of the CDATA section is reported via the ‘characters’ generic function like all other textual content.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
Called at the beginning of the parsing process,
before any element, processing instruction or comment is reported.
Handlers that need to maintain internal state may use this to perform any neccessary initializations.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
Called at the beginning of parsing a DTD.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
Called to report the beginning of an element.
There will always be a corresponding call to end-element, even in the
case of an empty element (i.e. <foo/>).
If the value of *namespaces* is non-nil, namespace-uri, local-name and
qname are rods. If it is nil, namespace-uri and local-name are always
nil, and it is not an error if the qname is not a well-formed
qualified element name (for example, if it contains more than one
colon).
The attributes parameter is a list (in arbitrary order) of instances of the ‘attribute’ structure class. The for their namespace-uri and local-name properties, the same rules as for the element name apply. Additionally, namespace-declaring attributes (those whose name is "xmlns" or starts with "xmlns:") are only included if *include-xmlns-attributes* is non-nil.
sax-handler.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
catalog.lisp (file)
space-normalizer.lisp (file)
xmlns-normalizer.lisp (file)
recoder.lisp (file)
xmls-compat.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
Reports that an internal subset is present. Called before any definition from the internal subset is reported.
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
Called when the scope of a new prefix -> namespace-uri mapping begins.
This will always be called immediatly before the ‘start-element’ event
for the element on which the namespaces are declared.
Clients don’t usually have to implement this except under special circumstances, for example when they have to deal with qualified names in textual content. The parser will handle namespaces of elements and attributes on its own.
sax-handler.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
Return the URI of the document being parsed. This is either the main document, or the entity’s system ID while contents of a parsed general external entity are being processed.
sax-handler.lisp (file)
klacks.lisp (file)
xml-parse.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
automatically generated reader method
rune-impl.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Called for unescaped element content. Beware dragons.
sax-handler.lisp (file)
sax-proxy.lisp (file)
unparse.lisp (file)
unparse.lisp (file)
Called when an unparsed entity declaration is seen in a DTD.
sax-handler.lisp (file)
klacks-impl.lisp (file)
rune-builder.lisp (file)
sax-proxy.lisp (file)
recoder.lisp (file)
unparse.lisp (file)
Reports that an internal subset is present, but has not been parsed and is available as a string.
sax-handler.lisp (file)
unparse.lisp (file)
rune-impl.lisp (file)
Return the [Base URI] of the current element. This URI can differ from the value returned by SAX:SYSTEM-ID if xml:base attributes are present.
sax-handler.lisp (file)
klacks.lisp (file)
xml-parse.lisp (file)
Next: Exported classes, Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
klacks.lisp (file)
xml-parse-error (condition)
Reports the violation of a validity constraint.
xml-parse.lisp (file)
xml-parse-error (condition)
This condition is signalled for all well-formedness violations.
Note for validating mode: Sometimes violations of well-formedness are
first detected as validity errors by the parser and signalled as
instances of @class{validity-error} rather
than well-formedness-violation.
xml-parse.lisp (file)
xml-parse-error (condition)
end-of-xstream (condition)
Superclass of all conditions signalled by the CXML parser.
xml-parse.lisp (file)
simple-error (condition)
Previous: Exported conditions, Up: Exported definitions [Contents][Index]
sax-handler.lisp (file)
sax-parser-mixin (class)
package.lisp (file)
node (class)
attribute (class)
A SAX handler which passes every event it receives on to each of several
chained handlers, somewhat similar to the way a @foo{broadcast-stream}
works.
You can subclass @foo{broadcast-handler} to modify the events
before they are being passed on. Define methods on your handler
class for the events to be modified. All other events will pass
through to the chained handlers unmodified.
Broadcast handler functions return the result of calling the event
function on the last handler in the list. In particular,
the overall result from @foo{sax:end-document} will be ignored
for all other handlers.
@see-slot{broadcast-handler-handlers}
sax-proxy.lisp (file)
abstract-handler (class)
sax-proxy (class)
:handlers
broadcast-handler-handlers (generic function)
(setf broadcast-handler-handlers) (generic function)
package.lisp (file)
text (class)
cdata-section (class)
package.lisp (file)
node (class)
package.lisp (file)
character-data (class)
comment (class)
sax-handler.lisp (file)
abstract-handler (class)
sax-handler.lisp (file)
content-handler (class)
package.lisp (file)
node (class)
document (class)
package.lisp (file)
node (class)
document-fragment (class)
package.lisp (file)
node (class)
document-type (class)
package.lisp (file)
node (class)
element (class)
package.lisp (file)
node (class)
entity (class)
package.lisp (file)
node (class)
entity-reference (class)
package.lisp (file)
standard-object (class)
named-node-map (class)
package.lisp (file)
standard-object (class)
package.lisp (file)
node (class)
notation (class)
package.lisp (file)
node (class)
processing-instruction (class)
sax-handler.lisp (file)
standard-object (class)
sax-handler.lisp (file)
standard-object (class)
abstract-handler (class)
sax-parser (generic function)
@class{sax-proxy} is a subclass of @class{broadcast-handler} which
sends events to exactly one chained handler.
This class is still included for compatibility with older versions of
CXML which did not include the more general @class{broadcast-handler}
yet, but has been retrofitted as a subclass of the latter.
@see-slot{proxy-chained-handler}
sax-proxy.lisp (file)
broadcast-handler (class)
klacks.lisp (file)
standard-object (class)
tap-source.lisp (file)
source (class)
:upstream-source
upstream-source (generic function)
(setf upstream-source) (generic function)
:dribble-handler
dribble-handler (generic function)
(setf dribble-handler) (generic function)
seen-event-p (generic function)
(setf seen-event-p) (generic function)
document-done-p (generic function)
(setf document-done-p) (generic function)
package.lisp (file)
character-data (class)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal constants | ||
• Internal special variables | ||
• Internal macros | ||
• Internal functions | ||
• Internal generic functions | ||
• Internal conditions | ||
• Internal structures | ||
• Internal classes | ||
• Internal types |
Next: Internal special variables, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
Pessimistic approximation of the number of bits of fixnums.
xml-parse.lisp (file)
Pessimistic approximation of the largest bit-mask, still being a fixnum.
xml-parse.lisp (file)
Next: Internal macros, Previous: Internal constants, Up: Internal definitions [Contents][Index]
catalog.lisp (file)
rune-impl.lisp (file)
xml-parse.lisp (file)
unparse.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
catalog.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
unparse.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
xmlns-normalizer.lisp (file)
Next: Internal functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
rune-impl.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
Read data from ‘input’ until ‘predicate’ applied to the read char
turns true. Then execute ‘body’ with ‘res’, ‘res-start’, ‘res-end’
bound to denote a subsequence (of RUNEs) containing the read portion.
The rune upon which ‘predicate’ turned true is neither consumed from
the stream, nor included in ‘res’.
Keep the predicate short, this it may be included more than once into the macro’s expansion.
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
klacks-impl.lisp (file)
xml-parse.lisp (file)
Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
rune-impl.lisp (file)
xml-parse.lisp (file)
catalog.lisp (file)
xml-parse.lisp (file)
klacks-impl.lisp (file)
rune-impl.lisp (file)
sax-handler.lisp (file)
rune-impl.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
Adjust an array by copying and thus ensures, that result is a SIMPLE-ARRAY.
xml-parse.lisp (file)
rune-impl.lisp (file)
rune-impl.lisp (file)
atdoc-configuration.lisp (file)
atdoc-configuration.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
rune-impl.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
rune-impl.lisp (file)
xml-parse.lisp (file)
catalog.lisp (file)
catalog.lisp (file)
catalog.lisp (file)
catalog.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
dom-sax.lisp (file)
xmls-compat.lisp (file)
xmls-compat.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
catalog.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
catalog.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
rune-impl.lisp (file)
sax-handler.lisp (file)
xml-parse.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
decode-qname name => namespace-uri, prefix, local-name
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
catalog.lisp (file)
catalog.lisp (file)
catalog.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
rune-impl.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
unparse.lisp (file)
unparse.lisp (file)
xml-parse.lisp (file)
rune-impl.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
catalog.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)
xml-parse.lisp (file)