mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Spelling and grammar fixes
Fixes bug 743172, bug 743489, bug 769632, bug 782400 and a few other misspellings.
This commit is contained in:
parent
576912fa04
commit
8bbe4508ef
18
ChangeLog
18
ChangeLog
@ -1929,7 +1929,7 @@ Mon Jun 12 12:54:25 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
|
||||
* tree.c: Fixed xmlGetNodePath() to generate the node test "*"
|
||||
for elements in the default namespace, rather than generating
|
||||
an unprefixed named node test and loosing the namespace
|
||||
an unprefixed named node test and losing the namespace
|
||||
information.
|
||||
|
||||
Fri Jun 9 21:45:02 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
@ -2305,7 +2305,7 @@ Mon Mar 6 14:21:08 CET 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
* tree.c: Simplified usage of the internal xmlNsMap. Added a
|
||||
"strict" lookup for namespaces based on a prefix. Fixed a
|
||||
namespace processing issue in the clone-node function, which
|
||||
occured if a @ctxt argument was given.
|
||||
occurred if a @ctxt argument was given.
|
||||
|
||||
Fri Mar 3 17:44:10 CET 2006 Rob Richards <rrichards@ctindustries.net>
|
||||
|
||||
@ -3951,7 +3951,7 @@ Thu Jun 30 15:01:52 CEST 2005 Daniel Veillard <daniel@veillard.com>
|
||||
* README: updated
|
||||
* debugXML.c: fix a bug raised by bill on IRC
|
||||
* relaxng.c: fix a leak in weird circumstances
|
||||
* runsuite.c Makefile.am: standalone test tool agaisnt
|
||||
* runsuite.c Makefile.am: standalone test tool against
|
||||
the regression suites, work in progress
|
||||
|
||||
Tue Jun 28 08:30:26 CEST 2005 Daniel Veillard <daniel@veillard.com>
|
||||
@ -4356,7 +4356,7 @@ Fri Apr 8 21:58:04 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
* xmlschemas.c: Added substitution group constraints; changed
|
||||
the build of the pre-computed substitution groups. Channeled
|
||||
errors during xsi assembling of schemas to the validation
|
||||
context. Fixed a big memory leak, which occured when using
|
||||
context. Fixed a big memory leak, which occurred when using
|
||||
IDCs: the precomputed value of attributes was not freed if
|
||||
the attribute did not resolve to an IDC field (discovered
|
||||
with the help of Randy J. Ray's schema, posted to the
|
||||
@ -4551,7 +4551,7 @@ Mon Mar 21 22:58:37 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
|
||||
Mon Mar 21 21:09:07 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
|
||||
* xmlschemas.c: Fixed a segfault, which occured during bubbling
|
||||
* xmlschemas.c: Fixed a segfault, which occurred during bubbling
|
||||
of IDC nodes (bug #170779 and #170778, reported by GUY Fabrice):
|
||||
a variable was missed to be reset in a loop. Deactivated bubbling,
|
||||
if not referenced by a keyref.
|
||||
@ -11220,7 +11220,7 @@ Fri Mar 7 19:29:40 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
* test/xsdtest/xsdtest.xml uri.c: after and exchange with James
|
||||
Clark it appeared I had bug in URI parsing code ...
|
||||
* relaxng.c include/libxml/relaxng.h: completely revamped error
|
||||
reporting to not loose message from optional parts.
|
||||
reporting to not lose message from optional parts.
|
||||
* xmllint.c: added timing for RNG validation steps
|
||||
* result/relaxng/*: updated the result, all error messages changed
|
||||
|
||||
@ -13182,7 +13182,7 @@ Thu Aug 1 12:17:30 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||
xmlNewCharEncodingHandler as requested in #89415
|
||||
* python/generator.py python/setup.py.in: applied cleanup
|
||||
patches from Marc-Andre Lemburg
|
||||
* tree.c: fixing bug #89332 on a specific case of loosing
|
||||
* tree.c: fixing bug #89332 on a specific case of losing
|
||||
the XML-1.0 namespace on xml:xxx attributes
|
||||
|
||||
Wed Jul 31 23:27:42 2002 Aleksey Sanin <aleksey@aleksey.com>
|
||||
@ -15356,7 +15356,7 @@ Sat Oct 6 15:27:12 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
Sat Oct 6 15:07:14 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xpath.c: fixing #61673 part I, do not loose doc information
|
||||
* xpath.c: fixing #61673 part I, do not lose doc information
|
||||
when copying result value trees.
|
||||
|
||||
Sat Oct 6 11:58:58 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
||||
@ -15970,7 +15970,7 @@ Tue Jul 10 17:47:09 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||
Mon Jul 9 22:06:53 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||
|
||||
* valid.c: fixed "Internal: MIXED struct bad" when #CDATA elements
|
||||
validation occured on content with element child
|
||||
validation occurred on content with element child
|
||||
|
||||
Mon Jul 9 17:59:08 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||
|
||||
|
2
SAX2.c
2
SAX2.c
@ -2311,7 +2311,7 @@ xmlSAX2StartElementNs(void *ctx,
|
||||
} else {
|
||||
/*
|
||||
* any out of memory error would already have been raised
|
||||
* but we can't be garanteed it's the actual error due to the
|
||||
* but we can't be guaranteed it's the actual error due to the
|
||||
* API, best is to skip in this case
|
||||
*/
|
||||
continue;
|
||||
|
4
buf.c
4
buf.c
@ -49,7 +49,7 @@ struct _xmlBuf {
|
||||
size_t use; /* The buffer size used */
|
||||
size_t size; /* The buffer size */
|
||||
xmlBufferPtr buffer; /* wrapper for an old buffer */
|
||||
int error; /* an error code if a failure occured */
|
||||
int error; /* an error code if a failure occurred */
|
||||
};
|
||||
|
||||
#ifdef WITH_BUFFER_COMPAT
|
||||
@ -701,7 +701,7 @@ xmlBufUse(const xmlBufPtr buf)
|
||||
* used in the buffer. It does not account for the terminating zero
|
||||
* usually needed
|
||||
*
|
||||
* Returns the amount or 0 if none or an error occured
|
||||
* Returns the amount or 0 if none or an error occurred
|
||||
*/
|
||||
|
||||
size_t
|
||||
|
@ -2931,7 +2931,7 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
|
||||
fprintf(ctxt->output, "\tvalidate check the document for errors\n");
|
||||
#endif /* LIBXML_VALID_ENABLED */
|
||||
#ifdef LIBXML_SCHEMAS_ENABLED
|
||||
fprintf(ctxt->output, "\trelaxng rng validate the document agaisnt the Relax-NG schemas\n");
|
||||
fprintf(ctxt->output, "\trelaxng rng validate the document against the Relax-NG schemas\n");
|
||||
#endif
|
||||
fprintf(ctxt->output, "\tgrep string search for a string in the subtree\n");
|
||||
#ifdef LIBXML_VALID_ENABLED
|
||||
|
6
dict.c
6
dict.c
@ -533,7 +533,7 @@ xmlDictComputeFastQKey(const xmlChar *prefix, int plen,
|
||||
*
|
||||
* Create a new dictionary
|
||||
*
|
||||
* Returns the newly created dictionary, or NULL if an error occured.
|
||||
* Returns the newly created dictionary, or NULL if an error occurred.
|
||||
*/
|
||||
xmlDictPtr
|
||||
xmlDictCreate(void) {
|
||||
@ -580,7 +580,7 @@ xmlDictCreate(void) {
|
||||
* new dictionary, then in @sub, and if not found are created in the
|
||||
* new dictionary.
|
||||
*
|
||||
* Returns the newly created dictionary, or NULL if an error occured.
|
||||
* Returns the newly created dictionary, or NULL if an error occurred.
|
||||
*/
|
||||
xmlDictPtr
|
||||
xmlDictCreateSub(xmlDictPtr sub) {
|
||||
@ -699,7 +699,7 @@ xmlDictGrow(xmlDictPtr dict, size_t size) {
|
||||
} else {
|
||||
/*
|
||||
* we don't have much ways to alert from herei
|
||||
* result is loosing an entry and unicity garantee
|
||||
* result is losing an entry and unicity guarantee
|
||||
*/
|
||||
ret = -1;
|
||||
}
|
||||
|
@ -1368,7 +1368,7 @@ Gansterer),<br />
|
||||
Hendricks), aliasing bug exposed by gcc4 on s390, xmlTextReaderNext bug
|
||||
(Rob Richards), Schemas decimal type fixes (William Brack),
|
||||
xmlByteConsumed static buffer (Ben Maurer).</li>
|
||||
<li>improvement: speedup parsing comments and DTDs, dictionnary support for
|
||||
<li>improvement: speedup parsing comments and DTDs, dictionary support for
|
||||
hash tables, Schemas Identity constraints (Kasimier), streaming XPath
|
||||
subset, xmlTextReaderReadString added (Bjorn Reese), Schemas canonical
|
||||
values handling (Kasimier), add xmlTextReaderByteConsumed (Aron
|
||||
@ -1558,7 +1558,7 @@ Gansterer),<br />
|
||||
URI on SYSTEM lookup failure, XInclude parse flags inheritance (William),
|
||||
XInclude and XPointer fixes for entities (William), XML parser bug
|
||||
reported by Holger Rauch, nanohttp fd leak (William), regexps char
|
||||
groups '-' handling (William), dictionnary reference counting problems,
|
||||
groups '-' handling (William), dictionary reference counting problems,
|
||||
do not close stderr.</li>
|
||||
<li>performance patches from Petr Pajas</li>
|
||||
<li>Documentation fixes: XML_CATALOG_FILES in man pages (Mike Hommey)</li>
|
||||
@ -1613,14 +1613,14 @@ Gansterer),<br />
|
||||
Fleck), doc (Sven Zimmerman), I/O example.</li>
|
||||
<li>Python bindings: fixes (William), enum support (Stéphane Bidoul),
|
||||
structured error reporting (Stéphane Bidoul)</li>
|
||||
<li>XInclude: various fixes for conformance, problem related to dictionnary
|
||||
<li>XInclude: various fixes for conformance, problem related to dictionary
|
||||
references (William & me), recursion (William)</li>
|
||||
<li>xmlWriter: indentation (Lucas Brasilino), memory leaks (Alfred
|
||||
Mickautsch),</li>
|
||||
<li>xmlSchemas: normalizedString datatype (John Belmonte)</li>
|
||||
<li>code cleanup for strings functions (William)</li>
|
||||
<li>Windows: compiler patches (Mark Vakoc)</li>
|
||||
<li>Parser optimizations, a few new XPath and dictionnary APIs for future
|
||||
<li>Parser optimizations, a few new XPath and dictionary APIs for future
|
||||
XSLT optimizations.</li>
|
||||
</ul><h3>2.6.4: Dec 24 2003</h3><ul>
|
||||
<li>Windows build fixes (Igor Zlatkovic)</li>
|
||||
@ -1705,8 +1705,8 @@ Gansterer),<br />
|
||||
of change</li>
|
||||
<li>Increased the library modularity, far more options can be stripped out,
|
||||
a --with-minimum configuration will weight around 160KBytes</li>
|
||||
<li>Use per parser and per document dictionnary, allocate names and small
|
||||
text nodes from the dictionnary</li>
|
||||
<li>Use per parser and per document dictionary, allocate names and small
|
||||
text nodes from the dictionary</li>
|
||||
<li>Switch to a SAX2 like parser rewrote most of the XML parser core,
|
||||
provides namespace resolution and defaulted attributes, minimize memory
|
||||
allocations and copies, namespace checking and specific error handling,
|
||||
@ -1753,7 +1753,7 @@ Gansterer),<br />
|
||||
(William), xmlCleanupParser (Marc Liyanage), CDATA output (William), HTTP
|
||||
error handling.</li>
|
||||
<li>xmllint options: --dtdvalidfpi for Tobias Reif, --sax1 for compat
|
||||
testing, --nodict for building without tree dictionnary, --nocdata to
|
||||
testing, --nodict for building without tree dictionary, --nocdata to
|
||||
replace CDATA by text, --nsclean to remove surperfluous namespace
|
||||
declarations</li>
|
||||
<li>added xml2-config --libtool-libs option from Kevin P. Fleming</li>
|
||||
|
16
doc/xml.html
16
doc/xml.html
@ -532,7 +532,7 @@ look at reports there regularly and it's good to have a reminder when a bug
|
||||
is still open. Be sure to specify that the bug is for the package libxml2.</p>
|
||||
|
||||
<p>For small problems you can try to get help on IRC, the #xml channel on
|
||||
irc.gnome.org (port 6667) usually have a few person subscribed which may help
|
||||
irc.gnome.org (port 6667) usually has a few people subscribed which may help
|
||||
(but there is no guarantee and if a real issue is raised it should go on the
|
||||
mailing-list for archival).</p>
|
||||
|
||||
@ -2141,7 +2141,7 @@ Gansterer),<br/>
|
||||
Hendricks), aliasing bug exposed by gcc4 on s390, xmlTextReaderNext bug
|
||||
(Rob Richards), Schemas decimal type fixes (William Brack),
|
||||
xmlByteConsumed static buffer (Ben Maurer).</li>
|
||||
<li>improvement: speedup parsing comments and DTDs, dictionnary support for
|
||||
<li>improvement: speedup parsing comments and DTDs, dictionary support for
|
||||
hash tables, Schemas Identity constraints (Kasimier), streaming XPath
|
||||
subset, xmlTextReaderReadString added (Bjorn Reese), Schemas canonical
|
||||
values handling (Kasimier), add xmlTextReaderByteConsumed (Aron
|
||||
@ -2361,7 +2361,7 @@ Gansterer),<br/>
|
||||
URI on SYSTEM lookup failure, XInclude parse flags inheritance (William),
|
||||
XInclude and XPointer fixes for entities (William), XML parser bug
|
||||
reported by Holger Rauch, nanohttp fd leak (William), regexps char
|
||||
groups '-' handling (William), dictionnary reference counting problems,
|
||||
groups '-' handling (William), dictionary reference counting problems,
|
||||
do not close stderr.</li>
|
||||
<li>performance patches from Petr Pajas</li>
|
||||
<li>Documentation fixes: XML_CATALOG_FILES in man pages (Mike Hommey)</li>
|
||||
@ -2425,14 +2425,14 @@ Gansterer),<br/>
|
||||
Fleck), doc (Sven Zimmerman), I/O example.</li>
|
||||
<li>Python bindings: fixes (William), enum support (Stéphane Bidoul),
|
||||
structured error reporting (Stéphane Bidoul)</li>
|
||||
<li>XInclude: various fixes for conformance, problem related to dictionnary
|
||||
<li>XInclude: various fixes for conformance, problem related to dictionary
|
||||
references (William & me), recursion (William)</li>
|
||||
<li>xmlWriter: indentation (Lucas Brasilino), memory leaks (Alfred
|
||||
Mickautsch),</li>
|
||||
<li>xmlSchemas: normalizedString datatype (John Belmonte)</li>
|
||||
<li>code cleanup for strings functions (William)</li>
|
||||
<li>Windows: compiler patches (Mark Vakoc)</li>
|
||||
<li>Parser optimizations, a few new XPath and dictionnary APIs for future
|
||||
<li>Parser optimizations, a few new XPath and dictionary APIs for future
|
||||
XSLT optimizations.</li>
|
||||
</ul>
|
||||
|
||||
@ -2532,8 +2532,8 @@ Gansterer),<br/>
|
||||
of change</li>
|
||||
<li>Increased the library modularity, far more options can be stripped out,
|
||||
a --with-minimum configuration will weight around 160KBytes</li>
|
||||
<li>Use per parser and per document dictionnary, allocate names and small
|
||||
text nodes from the dictionnary</li>
|
||||
<li>Use per parser and per document dictionary, allocate names and small
|
||||
text nodes from the dictionary</li>
|
||||
<li>Switch to a SAX2 like parser rewrote most of the XML parser core,
|
||||
provides namespace resolution and defaulted attributes, minimize memory
|
||||
allocations and copies, namespace checking and specific error handling,
|
||||
@ -2580,7 +2580,7 @@ Gansterer),<br/>
|
||||
(William), xmlCleanupParser (Marc Liyanage), CDATA output (William), HTTP
|
||||
error handling.</li>
|
||||
<li>xmllint options: --dtdvalidfpi for Tobias Reif, --sax1 for compat
|
||||
testing, --nodict for building without tree dictionnary, --nocdata to
|
||||
testing, --nodict for building without tree dictionary, --nocdata to
|
||||
replace CDATA by text, --nsclean to remove surperfluous namespace
|
||||
declarations</li>
|
||||
<li>added xml2-config --libtool-libs option from Kevin P. Fleming</li>
|
||||
|
4
error.c
4
error.c
@ -853,7 +853,7 @@ xmlParserValidityWarning(void *ctx, const char *msg, ...)
|
||||
* Get the last global error registered. This is per thread if compiled
|
||||
* with thread support.
|
||||
*
|
||||
* Returns NULL if no error occured or a pointer to the error
|
||||
* Returns NULL if no error occurred or a pointer to the error
|
||||
*/
|
||||
xmlErrorPtr
|
||||
xmlGetLastError(void)
|
||||
@ -910,7 +910,7 @@ xmlResetLastError(void)
|
||||
*
|
||||
* Get the last parsing error registered.
|
||||
*
|
||||
* Returns NULL if no error occured or a pointer to the error
|
||||
* Returns NULL if no error occurred or a pointer to the error
|
||||
*/
|
||||
xmlErrorPtr
|
||||
xmlCtxtGetLastError(void *ctx)
|
||||
|
4
hash.c
4
hash.c
@ -168,7 +168,7 @@ xmlHashComputeQKey(xmlHashTablePtr table,
|
||||
*
|
||||
* Create a new xmlHashTablePtr.
|
||||
*
|
||||
* Returns the newly created object, or NULL if an error occured.
|
||||
* Returns the newly created object, or NULL if an error occurred.
|
||||
*/
|
||||
xmlHashTablePtr
|
||||
xmlHashCreate(int size) {
|
||||
@ -202,7 +202,7 @@ xmlHashCreate(int size) {
|
||||
*
|
||||
* Create a new xmlHashTablePtr which will use @dict as the internal dictionary
|
||||
*
|
||||
* Returns the newly created object, or NULL if an error occured.
|
||||
* Returns the newly created object, or NULL if an error occurred.
|
||||
*/
|
||||
xmlHashTablePtr
|
||||
xmlHashCreateDict(int size, xmlDictPtr dict) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Description: internal interfaces for the XML Schemas handling
|
||||
* and schema validity checking
|
||||
* The Schemas development is a Work In Progress.
|
||||
* Some of those interfaces are not garanteed to be API or ABI stable !
|
||||
* Some of those interfaces are not guaranteed to be API or ABI stable !
|
||||
*
|
||||
* Copy: See Copyright for the status of this software.
|
||||
*
|
||||
|
@ -393,7 +393,7 @@ typedef void * xmlTextReaderLocatorPtr;
|
||||
* @arg: the user argument
|
||||
* @msg: the message
|
||||
* @severity: the severity of the error
|
||||
* @locator: a locator indicating where the error occured
|
||||
* @locator: a locator indicating where the error occurred
|
||||
*
|
||||
* Signature of an error callback from a reader parser
|
||||
*/
|
||||
|
@ -170,7 +170,7 @@ main()
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
|
||||
echo "*** exact error that occurred. This usually means LIBXML was incorrectly installed"
|
||||
echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the xml2-config script: $XML2_CONFIG" ])
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
|
4
list.c
4
list.c
@ -347,7 +347,7 @@ void xmlListDelete(xmlListPtr l)
|
||||
*
|
||||
* Remove the first instance associated to data in the list
|
||||
*
|
||||
* Returns 1 if a deallocation occured, or 0 if not found
|
||||
* Returns 1 if a deallocation occurred, or 0 if not found
|
||||
*/
|
||||
int
|
||||
xmlListRemoveFirst(xmlListPtr l, void *data)
|
||||
@ -372,7 +372,7 @@ xmlListRemoveFirst(xmlListPtr l, void *data)
|
||||
*
|
||||
* Remove the last instance associated to data in the list
|
||||
*
|
||||
* Returns 1 if a deallocation occured, or 0 if not found
|
||||
* Returns 1 if a deallocation occurred, or 0 if not found
|
||||
*/
|
||||
int
|
||||
xmlListRemoveLast(xmlListPtr l, void *data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Description: internal interfaces for the XML Schemas handling
|
||||
* and schema validity checking
|
||||
* The Schemas development is a Work In Progress.
|
||||
* Some of those interfaces are not garanteed to be API or
|
||||
* Some of those interfaces are not guaranteed to be API or
|
||||
* ABI stable !
|
||||
*
|
||||
* Copy: See Copyright for the status of this software.
|
||||
|
@ -624,7 +624,7 @@
|
||||
* @arg: the user argument
|
||||
* @msg: the message
|
||||
* @severity: the severity of the error
|
||||
* @locator: a locator indicating where the error occured
|
||||
* @locator: a locator indicating where the error occurred
|
||||
*
|
||||
* Signature of an error callback from a reader parser
|
||||
|
||||
|
6
parser.c
6
parser.c
@ -8491,7 +8491,7 @@ xmlParseAttribute(xmlParserCtxtPtr ctxt, xmlChar **value) {
|
||||
ctxt->instate = XML_PARSER_CONTENT;
|
||||
} else {
|
||||
xmlFatalErrMsgStr(ctxt, XML_ERR_ATTRIBUTE_WITHOUT_VALUE,
|
||||
"Specification mandate value for attribute %s\n", name);
|
||||
"Specification mandates value for attribute %s\n", name);
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
@ -9224,7 +9224,7 @@ xmlParseAttribute2(xmlParserCtxtPtr ctxt,
|
||||
ctxt->instate = XML_PARSER_CONTENT;
|
||||
} else {
|
||||
xmlFatalErrMsgStr(ctxt, XML_ERR_ATTRIBUTE_WITHOUT_VALUE,
|
||||
"Specification mandate value for attribute %s\n",
|
||||
"Specification mandates value for attribute %s\n",
|
||||
name);
|
||||
return (NULL);
|
||||
}
|
||||
@ -11144,7 +11144,7 @@ xmlParseGetLasts(xmlParserCtxtPtr ctxt, const xmlChar **lastlt,
|
||||
* Check that the block of characters is okay as SCdata content [20]
|
||||
*
|
||||
* Returns the number of bytes to pass if okay, a negative index where an
|
||||
* UTF-8 error occured otherwise
|
||||
* UTF-8 error occurred otherwise
|
||||
*/
|
||||
static int
|
||||
xmlCheckCdataPush(const xmlChar *utf, int len, int complete) {
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
valid.c
6
valid.c
@ -5738,7 +5738,7 @@ xmlValidatePushElement(xmlValidCtxtPtr ctxt, xmlDocPtr doc,
|
||||
xmlElementPtr elemDecl;
|
||||
|
||||
/*
|
||||
* Check the new element agaisnt the content model of the new elem.
|
||||
* Check the new element against the content model of the new elem.
|
||||
*/
|
||||
if (state->elemDecl != NULL) {
|
||||
elemDecl = state->elemDecl;
|
||||
@ -5830,7 +5830,7 @@ xmlValidatePushCData(xmlValidCtxtPtr ctxt, const xmlChar *data, int len) {
|
||||
xmlElementPtr elemDecl;
|
||||
|
||||
/*
|
||||
* Check the new element agaisnt the content model of the new elem.
|
||||
* Check the new element against the content model of the new elem.
|
||||
*/
|
||||
if (state->elemDecl != NULL) {
|
||||
elemDecl = state->elemDecl;
|
||||
@ -5904,7 +5904,7 @@ xmlValidatePopElement(xmlValidCtxtPtr ctxt, xmlDocPtr doc ATTRIBUTE_UNUSED,
|
||||
xmlElementPtr elemDecl;
|
||||
|
||||
/*
|
||||
* Check the new element agaisnt the content model of the new elem.
|
||||
* Check the new element against the content model of the new elem.
|
||||
*/
|
||||
if (state->elemDecl != NULL) {
|
||||
elemDecl = state->elemDecl;
|
||||
|
34
xmlschemas.c
34
xmlschemas.c
@ -15892,7 +15892,7 @@ xmlSchemaParseCheckCOSValidDefault(xmlSchemaParserCtxtPtr pctxt,
|
||||
* STATUS: (seems) complete
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckCTPropsCorrect(xmlSchemaParserCtxtPtr pctxt,
|
||||
@ -16139,7 +16139,7 @@ xmlSchemaCheckCOSDerivedOK(xmlSchemaAbstractCtxtPtr actxt,
|
||||
* (1.4.3.2.2.2) "Particle Valid (Extension)"
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckCOSCTExtends(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -16396,7 +16396,7 @@ xmlSchemaCheckCOSCTExtends(xmlSchemaParserCtxtPtr ctxt,
|
||||
* Validation Rule: Checking complex type subsumption
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckDerivationOKRestriction(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -16586,7 +16586,7 @@ xmlSchemaCheckDerivationOKRestriction(xmlSchemaParserCtxtPtr ctxt,
|
||||
* (3.4.6) Constraints on Complex Type Definition Schema Components
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckCTComponent(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -16616,7 +16616,7 @@ xmlSchemaCheckCTComponent(xmlSchemaParserCtxtPtr ctxt,
|
||||
* Complex Type Definition Representation OK (src-ct)
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckSRCCT(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -16785,7 +16785,7 @@ xmlSchemaCheckSRCCT(xmlSchemaParserCtxtPtr ctxt,
|
||||
* STATUS: complete
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckParticleRangeOK(int rmin, int rmax,
|
||||
@ -16815,7 +16815,7 @@ xmlSchemaCheckParticleRangeOK(int rmin, int rmax,
|
||||
* CLARIFY: (3.2.2)
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckRCaseNameAndTypeOK(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -16920,7 +16920,7 @@ xmlSchemaCheckRCaseNameAndTypeOK(xmlSchemaParserCtxtPtr ctxt,
|
||||
* STATUS: complete
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckRCaseNSCompat(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -16964,7 +16964,7 @@ xmlSchemaCheckRCaseNSCompat(xmlSchemaParserCtxtPtr ctxt,
|
||||
* STATUS: TODO
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckRCaseRecurseAsIfGroup(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -16990,7 +16990,7 @@ xmlSchemaCheckRCaseRecurseAsIfGroup(xmlSchemaParserCtxtPtr ctxt,
|
||||
* STATUS: complete
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckRCaseNSSubset(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -17040,7 +17040,7 @@ xmlSchemaCheckRCaseNSSubset(xmlSchemaParserCtxtPtr ctxt,
|
||||
* STATUS: TODO
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckCOSParticleRestrict(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -17081,7 +17081,7 @@ xmlSchemaCheckCOSParticleRestrict(xmlSchemaParserCtxtPtr ctxt,
|
||||
* STATUS: TODO: subst-groups
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckRCaseNSRecurseCheckCardinality(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -17136,7 +17136,7 @@ xmlSchemaCheckRCaseNSRecurseCheckCardinality(xmlSchemaParserCtxtPtr ctxt,
|
||||
* TODO: subst-groups
|
||||
*
|
||||
* Returns 0 if the constraints are satisfied, a positive
|
||||
* error code if not and -1 if an internal error occured.
|
||||
* error code if not and -1 if an internal error occurred.
|
||||
*/
|
||||
static int
|
||||
xmlSchemaCheckRCaseRecurse(xmlSchemaParserCtxtPtr ctxt,
|
||||
@ -17766,7 +17766,7 @@ xmlSchemaDeriveAndValidateFacets(xmlSchemaParserCtxtPtr pctxt,
|
||||
return (0);
|
||||
internal_error:
|
||||
PERROR_INT("xmlSchemaDeriveAndValidateFacets",
|
||||
"an error occured");
|
||||
"an error occurred");
|
||||
return (-1);
|
||||
}
|
||||
|
||||
@ -21415,7 +21415,7 @@ exit_failure:
|
||||
ctxt->ownsConstructor = 0;
|
||||
}
|
||||
PERROR_INT2("xmlSchemaParse",
|
||||
"An internal error occured");
|
||||
"An internal error occurred");
|
||||
ctxt->schema = NULL;
|
||||
return(NULL);
|
||||
}
|
||||
@ -26096,7 +26096,7 @@ xmlSchemaValidatorPopElem(xmlSchemaValidCtxtPtr vctxt)
|
||||
|
||||
/*
|
||||
* Get hold of the still expected content, since a further
|
||||
* call to xmlRegExecPushString() will loose this information.
|
||||
* call to xmlRegExecPushString() will lose this information.
|
||||
*/
|
||||
xmlRegExecNextValues(inode->regexCtxt,
|
||||
&nbval, &nbneg, &values[0], &terminal);
|
||||
@ -27152,7 +27152,7 @@ root_found:
|
||||
}
|
||||
if (ret < 0) {
|
||||
/*
|
||||
* VAL TODO: A reader error occured; what to do here?
|
||||
* VAL TODO: A reader error occurred; what to do here?
|
||||
*/
|
||||
ret = 1;
|
||||
goto exit;
|
||||
|
@ -822,7 +822,7 @@ xmlCheckUTF8(const unsigned char *utf)
|
||||
* @len: the number of characters in the array
|
||||
*
|
||||
* storage size of an UTF8 string
|
||||
* the behaviour is not garanteed if the input string is not UTF-8
|
||||
* the behaviour is not guaranteed if the input string is not UTF-8
|
||||
*
|
||||
* Returns the storage size of
|
||||
* the first 'len' characters of ARRAY
|
||||
|
Loading…
x
Reference in New Issue
Block a user