Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e0af35eb
Kaydet (Commit)
e0af35eb
authored
Eyl 20, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fill in a few more descriptions for xml.parsers.expat.
üst
2e29bfbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
5 deletions
+24
-5
libpyexpat.tex
Doc/lib/libpyexpat.tex
+24
-5
No files found.
Doc/lib/libpyexpat.tex
Dosyayı görüntüle @
e0af35eb
...
@@ -33,7 +33,9 @@ provide access to the Expat parser. Direct use of the
...
@@ -33,7 +33,9 @@ provide access to the Expat parser. Direct use of the
This module provides one exception and one type object:
This module provides one exception and one type object:
\begin{excdesc}
{
ExpatError
}
\begin{excdesc}
{
ExpatError
}
The exception raised when Expat reports an error.
The exception raised when Expat reports an error. See section
\ref
{
expaterror-objects
}
, ``ExpatError Exceptions,'' for more
information on interpreting Expat errors.
\end{excdesc}
\end{excdesc}
\begin{excdesc}
{
error
}
\begin{excdesc}
{
error
}
...
@@ -169,7 +171,7 @@ will be passed Unicode strings. If \member{returns_unicode} is 0,
...
@@ -169,7 +171,7 @@ will be passed Unicode strings. If \member{returns_unicode} is 0,
8-bit strings containing UTF-8 encoded data will be passed to the
8-bit strings containing UTF-8 encoded data will be passed to the
handlers.
handlers.
\versionchanged
[Can be changed at any time to affect the result
\versionchanged
[Can be changed at any time to affect the result
type
.
]
{
1.6
}
type]
{
1.6
}
\end{memberdesc}
\end{memberdesc}
\begin{memberdesc}
[xmlparser]
{
specified
_
attributes
}
\begin{memberdesc}
[xmlparser]
{
specified
_
attributes
}
...
@@ -514,15 +516,16 @@ such as \code{(A, B, C)}.
...
@@ -514,15 +516,16 @@ such as \code{(A, B, C)}.
The constants in the quantifier group are:
The constants in the quantifier group are:
\begin{datadescni}
{
XML
_
CQUANT
_
NONE
}
\begin{datadescni}
{
XML
_
CQUANT
_
NONE
}
No modifier is given, so it can appear exactly once, as for
\code
{
A
}
.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
CQUANT
_
OPT
}
\begin{datadescni}
{
XML
_
CQUANT
_
OPT
}
The model is option: it can appear once or not at all, as for
The model is option
al
: it can appear once or not at all, as for
\code
{
A?
}
.
\code
{
A?
}
.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
CQUANT
_
PLUS
}
\begin{datadescni}
{
XML
_
CQUANT
_
PLUS
}
The model must occur one or more times (
\code
{
A+
}
).
The model must occur one or more times (
like
\code
{
A+
}
).
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
CQUANT
_
REP
}
\begin{datadescni}
{
XML
_
CQUANT
_
REP
}
...
@@ -549,9 +552,13 @@ entity instead of an internal entity.
...
@@ -549,9 +552,13 @@ entity instead of an internal entity.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
BAD
_
CHAR
_
REF
}
\begin{datadescni}
{
XML
_
ERROR
_
BAD
_
CHAR
_
REF
}
A character reference referred to a character which is illegal in XML
(for example, character
\code
{
0
}
, or `
\code
{
\&\#
0;
}
'.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
BINARY
_
ENTITY
_
REF
}
\begin{datadescni}
{
XML
_
ERROR
_
BINARY
_
ENTITY
_
REF
}
An entity reference referred to an entity which was declared with a
notation, so cannot be parsed.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
DUPLICATE
_
ATTRIBUTE
}
\begin{datadescni}
{
XML
_
ERROR
_
DUPLICATE
_
ATTRIBUTE
}
...
@@ -562,6 +569,9 @@ An attribute was used more than once in a start tag.
...
@@ -562,6 +569,9 @@ An attribute was used more than once in a start tag.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
INVALID
_
TOKEN
}
\begin{datadescni}
{
XML
_
ERROR
_
INVALID
_
TOKEN
}
Raised when an input byte could not properly be assigned to a
character; for example, a NUL byte (value
\code
{
0
}
) in a UTF-8 input
stream.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
JUNK
_
AFTER
_
DOC
_
ELEMENT
}
\begin{datadescni}
{
XML
_
ERROR
_
JUNK
_
AFTER
_
DOC
_
ELEMENT
}
...
@@ -569,10 +579,13 @@ Something other than whitespace occurred after the document element.
...
@@ -569,10 +579,13 @@ Something other than whitespace occurred after the document element.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
MISPLACED
_
XML
_
PI
}
\begin{datadescni}
{
XML
_
ERROR
_
MISPLACED
_
XML
_
PI
}
An XML declaration was found somewhere other than the start of the
input data.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
NO
_
ELEMENTS
}
\begin{datadescni}
{
XML
_
ERROR
_
NO
_
ELEMENTS
}
The document contains no elements.
The document contains no elements (XML requires all documents to
contain exactly one top-level element)..
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
NO
_
MEMORY
}
\begin{datadescni}
{
XML
_
ERROR
_
NO
_
MEMORY
}
...
@@ -580,12 +593,16 @@ Expat was not able to allocate memory internally.
...
@@ -580,12 +593,16 @@ Expat was not able to allocate memory internally.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
PARAM
_
ENTITY
_
REF
}
\begin{datadescni}
{
XML
_
ERROR
_
PARAM
_
ENTITY
_
REF
}
A parameter entity reference was found where it was not allowed.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
PARTIAL
_
CHAR
}
\begin{datadescni}
{
XML
_
ERROR
_
PARTIAL
_
CHAR
}
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
RECURSIVE
_
ENTITY
_
REF
}
\begin{datadescni}
{
XML
_
ERROR
_
RECURSIVE
_
ENTITY
_
REF
}
An entity reference contained another reference to the same entity;
possibly via a different name, and possibly indirectly.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
SYNTAX
}
\begin{datadescni}
{
XML
_
ERROR
_
SYNTAX
}
...
@@ -597,6 +614,8 @@ An end tag did not match the innermost open start tag.
...
@@ -597,6 +614,8 @@ An end tag did not match the innermost open start tag.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
UNCLOSED
_
TOKEN
}
\begin{datadescni}
{
XML
_
ERROR
_
UNCLOSED
_
TOKEN
}
Some token (such as a start tag) was not closed before the end of the
stream or the next token was encountered.
\end{datadescni}
\end{datadescni}
\begin{datadescni}
{
XML
_
ERROR
_
UNDEFINED
_
ENTITY
}
\begin{datadescni}
{
XML
_
ERROR
_
UNDEFINED
_
ENTITY
}
...
...
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