diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/Makefile.am b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..9a5c0d030439aac57c6e93eb43d4042827046668 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/Makefile.am @@ -0,0 +1,71 @@ +devhelpdir = $(datadir)/gtk-doc/html/libxml2 + +dist_devhelp_DATA = \ + libxml2.devhelp2 \ + $(HTML_FILES) \ + $(EXTRA_FORMAT) + +HTML_FILES = \ + general.html \ + index.html \ + $(HTML_MODULES) + +HTML_MODULES= \ + libxml2-c14n.html \ + libxml2-catalog.html \ + libxml2-chvalid.html \ + libxml2-debugXML.html \ + libxml2-dict.html \ + libxml2-encoding.html \ + libxml2-entities.html \ + libxml2-globals.html \ + libxml2-hash.html \ + libxml2-HTMLparser.html \ + libxml2-HTMLtree.html \ + libxml2-list.html \ + libxml2-nanoftp.html \ + libxml2-nanohttp.html \ + libxml2-parser.html \ + libxml2-parserInternals.html \ + libxml2-pattern.html \ + libxml2-relaxng.html \ + libxml2-SAX2.html \ + libxml2-SAX.html \ + libxml2-schemasInternals.html \ + libxml2-schematron.html \ + libxml2-threads.html \ + libxml2-tree.html \ + libxml2-uri.html \ + libxml2-valid.html \ + libxml2-xinclude.html \ + libxml2-xlink.html \ + libxml2-xmlautomata.html \ + libxml2-xmlerror.html \ + libxml2-xmlexports.html \ + libxml2-xmlIO.html \ + libxml2-xmlmemory.html \ + libxml2-xmlmodule.html \ + libxml2-xmlreader.html \ + libxml2-xmlregexp.html \ + libxml2-xmlsave.html \ + libxml2-xmlschemas.html \ + libxml2-xmlschemastypes.html \ + libxml2-xmlstring.html \ + libxml2-xmlunicode.html \ + libxml2-xmlversion.html \ + libxml2-xmlwriter.html \ + libxml2-xpath.html \ + libxml2-xpathInternals.html \ + libxml2-xpointer.html + +EXTRA_FORMAT= \ + home.png \ + left.png \ + right.png \ + up.png \ + style.css + +EXTRA_DIST = devhelp2.xsl html.xsl meson.build + +rebuild: + (cd $(srcdir) && $(XSLTPROC) -o libxml2.devhelp2 devhelp2.xsl ../libxml2-api.xml) diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/devhelp2.xsl b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/devhelp2.xsl new file mode 100644 index 0000000000000000000000000000000000000000..d04dc5001727282854ec707f9395e86592050cbc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/devhelp2.xsl @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="concat(@name, ': ', summary)"/> + + + + + + + + + + + + + + + + + + + + + +

+

-

+

+ +

WARNING: this module is deprecated !

+
+

Author(s):

+
+

Synopsis

+
+	    
+	  
+
+
+

Description

+
+
+

Details

+
+ + + + + +
+
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/general.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/general.html new file mode 100644 index 0000000000000000000000000000000000000000..8b7ae7ba8ac82d377684bef2ca5e583b5495f0cb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/general.html @@ -0,0 +1,21 @@ + + + +libxml2: + + + + + + + + + + + + + +

libxml2 API Modules

+

HTMLparser - interface for an HTML 4.0 non-verifying parser
HTMLtree - specific APIs to process HTML tree, especially serialization
SAX - Old SAX version 1 handler, deprecated
SAX2 - SAX2 parser interface used to build the DOM tree
c14n - Provide Canonical XML and Exclusive XML Canonicalization
catalog - interfaces to the Catalog handling system
chvalid - Unicode character range checking
debugXML - Tree debugging APIs
dict - string dictionary
encoding - interface for the encoding conversion functions
entities - interface for the XML entities handling
globals - interface for all global variables of the library
hash - Chained hash tables
list - lists interfaces
nanoftp - minimal FTP implementation
nanohttp - minimal HTTP implementation
parser - the core parser module
parserInternals - internals routines and limits exported by the parser.
pattern - pattern expression handling
relaxng - implementation of the Relax-NG validation
schemasInternals - internal interfaces for XML Schemas
schematron - XML Schematron implementation
threads - interfaces for thread handling
tree - interfaces for tree manipulation
uri - library of generic URI related routines
valid - The DTD validation
xinclude - implementation of XInclude
xlink - unfinished XLink detection module
xmlIO - interface for the I/O interfaces used by the parser
xmlautomata - API to build regexp automata
xmlerror - error handling
xmlexports - macros for marking symbols as exportable/importable.
xmlmemory - interface for the memory allocator
xmlmodule - dynamic module loading
xmlreader - the XMLReader implementation
xmlregexp - regular expressions handling
xmlsave - the XML document serializer
xmlschemas - incomplete XML Schemas structure implementation
xmlschemastypes - implementation of XML Schema Datatypes
xmlstring - set of routines to process strings
xmlunicode - Unicode character APIs
xmlversion - compile-time version information
xmlwriter - text writing API for XML
xpath - XML Path Language implementation
xpathInternals - internal interfaces for XML Path Language implementation
xpointer - API to handle XML Pointers

+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/html.xsl b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/html.xsl new file mode 100644 index 0000000000000000000000000000000000000000..3fce938c5552c1e7e96cf0188ebd3cd24a670c21 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/html.xsl @@ -0,0 +1,609 @@ + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + void + + + + + + + + + ,
+ + + + + + + +
+
+ ); + + +
+ + + + + + + typedef + + + + + + + + + + + + ( + + void + + + + + + + + + ,
+ + + + + + + +
+
+ ); + + +
+ + + + + + + + typedef + + + + + + ; + + + + + + #define + + + ( + + + + , + + + ) + + ; + + + + + + + + + + +
+

Structure

+
+     {
+
+    
+      The content of this structure is not made public by the API.
+
+    
+    
+            
+	
+	  
+	
+		
+	
+	
+	  	: 
+	  
+	    
+	  
+	
+	
+
+    
+    } 
+    
+    ;
+
+    
+

+ + + +

+ +

+
+ + + +
+

Typedef

+
+    
+      
+    
+     
+    
+    ;
+
+    
+

+ + + +

+ +

+
+ + + +
+

Variable

+
+    
+      
+    
+     
+    
+    ;
+
+    
+

+ + + +

+ +

+
+ + + +
+

Enum

+
+    enum 
+    
+     {
+
+    
+      
+          
+      
+      
+         = 
+	
+      
+      
+         /* 
+	
+         */
+      
+      
+
+    
+    };
+
+    
+

+ + + +

+ +

+
+ + + +
+

Macro

+
+    #define 
+    
+    
+      (
+      
+        
+	
+	  , 
+	
+      
+      )
+    
+    ;
+
+    
+

+ + + +

+ +
+ + + + + + +
: + + + +
+
+ + +

+
+ + + + + + +
+

()

+
+    
+      
+    
+    	
+    
+    
+      	
+    
+    
+      	
+    
+    	(
+    
+      void
+    
+    
+      
+        
+      
+       
+      
+      
+        , 
+ + + + + + + +
+
+ )
+ + +
+

+ + + +

+ + +
+ + + + + + + + + + + + +
: + + + +
Returns: + + + +
+
+

+
+ + + + + + +
+

Function type

+
+    
+      
+    
+    	
+    
+    
+      	
+    
+    
+      	
+    
+    	(
+    
+      void
+    
+    
+      
+        
+      
+       
+      
+      
+        , 
+ + + + + + + +
+
+ )
+ + +
+

+ + + +

+ + +
+ + + + + + + + + + + + +
: + + + +
Returns: + + + +
+
+

+
+ + + + + + + + + <xsl:value-of select="concat(@name, ': ', summary)"/> + + + + + + + + + + + + + + + + + + +

libxml2 API Modules

+

+ + -
+
+

+ + +
+
+ + + + + + + + libxml2 Reference Manual + + + + + + + + + + + + +

libxml2 Reference Manual

+

Libxml2 is the XML C parser and toolkit developed for the Gnome project +(but usable outside of the Gnome platform), it is free software available +under the MIT +License. XML itself is a metalanguage to design markup languages, i.e. +text language where semantic and structure are added to the content using +extra "markup" information enclosed between angle brackets. HTML is the most +well-known markup language. Though the library is written in C, a variety of +language bindings make it available in other environments.

+

Libxml2 implements a number of existing standards related to markup +languages:

+ + + +
+
+ +
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/index.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/index.html new file mode 100644 index 0000000000000000000000000000000000000000..66c4ff859f6488fda6c00c11a49af8cf76d66df9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/index.html @@ -0,0 +1,62 @@ + + + +libxml2 Reference Manual + + + + + + + + + +

libxml2 Reference Manual

+

Libxml2 is the XML C parser and toolkit developed for the Gnome project +(but usable outside of the Gnome platform), it is free software available +under the MIT +License. XML itself is a metalanguage to design markup languages, i.e. +text language where semantic and structure are added to the content using +extra "markup" information enclosed between angle brackets. HTML is the most +well-known markup language. Though the library is written in C, a variety of +language bindings make it available in other environments.

+

Libxml2 implements a number of existing standards related to markup +languages:

+ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-HTMLparser.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-HTMLparser.html new file mode 100644 index 0000000000000000000000000000000000000000..22942a88fa5ea16dbe20b968aad21d7de0d12e27 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-HTMLparser.html @@ -0,0 +1,1462 @@ + + + +HTMLparser: interface for an HTML 4.0 non-verifying parser + + + + + + + + + + + + + +

HTMLparser

+

HTMLparser - interface for an HTML 4.0 non-verifying parser

+

this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define htmlDefaultSubelement(elt);
+#define htmlElementAllowedHereDesc(parent, elt);
+#define htmlRequiredAttrs(elt);
+typedef xmlDocPtr htmlDocPtr;
+typedef struct _htmlElemDesc htmlElemDesc;
+typedef htmlElemDesc * htmlElemDescPtr;
+typedef struct _htmlEntityDesc htmlEntityDesc;
+typedef htmlEntityDesc * htmlEntityDescPtr;
+typedef xmlNodePtr htmlNodePtr;
+typedef xmlParserCtxt htmlParserCtxt;
+typedef xmlParserCtxtPtr htmlParserCtxtPtr;
+typedef xmlParserInput htmlParserInput;
+typedef xmlParserInputPtr htmlParserInputPtr;
+typedef xmlParserNodeInfo htmlParserNodeInfo;
+typedef enum htmlParserOption;
+typedef xmlSAXHandler htmlSAXHandler;
+typedef xmlSAXHandlerPtr htmlSAXHandlerPtr;
+typedef enum htmlStatus;
+int	UTF8ToHtml			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen); +htmlStatus htmlAttrAllowed (const htmlElemDesc * elt,
const xmlChar * attr,
int legacy); +int htmlAutoCloseTag (htmlDocPtr doc,
const xmlChar * name,
htmlNodePtr elem); +htmlParserCtxtPtr htmlCreateFileParserCtxt (const char * filename,
const char * encoding); +htmlParserCtxtPtr htmlCreateMemoryParserCtxt (const char * buffer,
int size); +htmlParserCtxtPtr htmlCreatePushParserCtxt (htmlSAXHandlerPtr sax,
void * user_data,
const char * chunk,
int size,
const char * filename,
xmlCharEncoding enc); +htmlDocPtr htmlCtxtParseDocument (htmlParserCtxtPtr ctxt,
xmlParserInputPtr input); +htmlDocPtr htmlCtxtReadDoc (htmlParserCtxtPtr ctxt,
const xmlChar * str,
const char * URL,
const char * encoding,
int options); +htmlDocPtr htmlCtxtReadFd (htmlParserCtxtPtr ctxt,
int fd,
const char * URL,
const char * encoding,
int options); +htmlDocPtr htmlCtxtReadFile (htmlParserCtxtPtr ctxt,
const char * filename,
const char * encoding,
int options); +htmlDocPtr htmlCtxtReadIO (htmlParserCtxtPtr ctxt,
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options); +htmlDocPtr htmlCtxtReadMemory (htmlParserCtxtPtr ctxt,
const char * buffer,
int size,
const char * URL,
const char * encoding,
int options); +void htmlCtxtReset (htmlParserCtxtPtr ctxt); +int htmlCtxtUseOptions (htmlParserCtxtPtr ctxt,
int options); +int htmlElementAllowedHere (const htmlElemDesc * parent,
const xmlChar * elt); +htmlStatus htmlElementStatusHere (const htmlElemDesc * parent,
const htmlElemDesc * elt); +int htmlEncodeEntities (unsigned char * out,
int * outlen,
const unsigned char * in,
int * inlen,
int quoteChar); +const htmlEntityDesc * htmlEntityLookup (const xmlChar * name); +const htmlEntityDesc * htmlEntityValueLookup (unsigned int value); +void htmlFreeParserCtxt (htmlParserCtxtPtr ctxt); +int htmlHandleOmittedElem (int val); +void htmlInitAutoClose (void); +int htmlIsAutoClosed (htmlDocPtr doc,
htmlNodePtr elem); +int htmlIsScriptAttribute (const xmlChar * name); +htmlParserCtxtPtr htmlNewParserCtxt (void); +htmlParserCtxtPtr htmlNewSAXParserCtxt (const htmlSAXHandler * sax,
void * userData); +htmlStatus htmlNodeStatus (htmlNodePtr node,
int legacy); +int htmlParseCharRef (htmlParserCtxtPtr ctxt); +int htmlParseChunk (htmlParserCtxtPtr ctxt,
const char * chunk,
int size,
int terminate); +htmlDocPtr htmlParseDoc (const xmlChar * cur,
const char * encoding); +int htmlParseDocument (htmlParserCtxtPtr ctxt); +void htmlParseElement (htmlParserCtxtPtr ctxt); +const htmlEntityDesc * htmlParseEntityRef (htmlParserCtxtPtr ctxt,
const xmlChar ** str); +htmlDocPtr htmlParseFile (const char * filename,
const char * encoding); +htmlDocPtr htmlReadDoc (const xmlChar * str,
const char * url,
const char * encoding,
int options); +htmlDocPtr htmlReadFd (int fd,
const char * url,
const char * encoding,
int options); +htmlDocPtr htmlReadFile (const char * filename,
const char * encoding,
int options); +htmlDocPtr htmlReadIO (xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * url,
const char * encoding,
int options); +htmlDocPtr htmlReadMemory (const char * buffer,
int size,
const char * url,
const char * encoding,
int options); +htmlDocPtr htmlSAXParseDoc (const xmlChar * cur,
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData); +htmlDocPtr htmlSAXParseFile (const char * filename,
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData); +const htmlElemDesc * htmlTagLookup (const xmlChar * tag); +
+
+

Description

+
+

Details

+
+
+

+Macro htmlDefaultSubelement

+
#define htmlDefaultSubelement(elt);
+
+

Returns the default subelement for this element

+
++ + + + +
elt:HTML element
+
+
+
+

+Macro htmlElementAllowedHereDesc

+
#define htmlElementAllowedHereDesc(parent, elt);
+
+

Checks whether an HTML element description may be a direct child of the specified element. Returns 1 if allowed; 0 otherwise.

+
++ + + + + + + + + + +
parent:HTML parent element
elt:HTML element
+
+
+
+

+Macro htmlRequiredAttrs

+
#define htmlRequiredAttrs(elt);
+
+

Returns the attributes required for the specified element.

+
++ + + + +
elt:HTML element
+
+
+
+

+Typedef htmlDocPtr

+
xmlDocPtr htmlDocPtr;
+
+

+
+
+
+

+Structure htmlElemDesc

+
struct _htmlElemDesc {
+    const char *	name	: The tag name
+    char	startTag	: Whether the start tag can be implied
+    char	endTag	: Whether the end tag can be implied
+    char	saveEndTag	: Whether the end tag should be saved
+    char	empty	: Is this an empty element ?
+    char	depr	: Is this a deprecated element ?
+    char	dtd	: 1: only in Loose DTD, 2: only Frameset one
+    char	isinline	: is this a block 0 or inline 1 element
+    const char *	desc	: the description NRK Jan.2003 * New fields encapsulating HTML structur
+    const char **	subelts	: allowed sub-elements of this element
+    const char *	defaultsubelt	: subelement for suggested auto-repair if necessary or NULL
+    const char **	attrs_opt	: Optional Attributes
+    const char **	attrs_depr	: Additional deprecated attributes
+    const char **	attrs_req	: Required attributes
+} htmlElemDesc;
+
+

+
+
+
+

+Typedef htmlElemDescPtr

+
htmlElemDesc * htmlElemDescPtr;
+
+

+
+
+
+

+Structure htmlEntityDesc

+
struct _htmlEntityDesc {
+    unsigned int	value	: the UNICODE value for the character
+    const char *	name	: The entity name
+    const char *	desc	: the description
+} htmlEntityDesc;
+
+

+
+
+
+

+Typedef htmlEntityDescPtr

+
htmlEntityDesc * htmlEntityDescPtr;
+
+

+
+
+
+

+Typedef htmlNodePtr

+
xmlNodePtr htmlNodePtr;
+
+

+
+
+
+

+Typedef htmlParserCtxt

+
xmlParserCtxt htmlParserCtxt;
+
+

+
+
+
+

+Typedef htmlParserCtxtPtr

+
xmlParserCtxtPtr htmlParserCtxtPtr;
+
+

+
+
+
+

+Typedef htmlParserInput

+
xmlParserInput htmlParserInput;
+
+

+
+
+
+

+Typedef htmlParserInputPtr

+
xmlParserInputPtr htmlParserInputPtr;
+
+

+
+
+
+

+Typedef htmlParserNodeInfo

+
xmlParserNodeInfo htmlParserNodeInfo;
+
+

+
+
+
+

+Enum htmlParserOption

+
enum htmlParserOption {
+    HTML_PARSE_RECOVER = 1 /* Relaxed parsing */
+    HTML_PARSE_NODEFDTD = 4 /* do not default a doctype if not found */
+    HTML_PARSE_NOERROR = 32 /* suppress error reports */
+    HTML_PARSE_NOWARNING = 64 /* suppress warning reports */
+    HTML_PARSE_PEDANTIC = 128 /* pedantic error reporting */
+    HTML_PARSE_NOBLANKS = 256 /* remove blank nodes */
+    HTML_PARSE_NONET = 2048 /* Forbid network access */
+    HTML_PARSE_NOIMPLIED = 8192 /* Do not add implied html/body... elements */
+    HTML_PARSE_COMPACT = 65536 /* compact small text nodes */
+    HTML_PARSE_IGNORE_ENC = 2097152 /*  ignore internal document encoding hint */
+};
+
+

+
+
+
+

+Typedef htmlSAXHandler

+
xmlSAXHandler htmlSAXHandler;
+
+

+
+
+
+

+Typedef htmlSAXHandlerPtr

+
xmlSAXHandlerPtr htmlSAXHandlerPtr;
+
+

+
+
+
+

+Enum htmlStatus

+
enum htmlStatus {
+    HTML_NA = 0 /* something we don't check at all */
+    HTML_INVALID = 1
+    HTML_DEPRECATED = 2
+    HTML_VALID = 4
+    HTML_REQUIRED = 12 /*  VALID bit set so ( & HTML_VALID ) is TRUE */
+};
+
+

+
+
+
+

+Variable htmlDefaultSAXHandler

+
const xmlSAXHandlerV1 htmlDefaultSAXHandler;
+
+

DEPRECATED: This handler is unused and will be removed from future versions. Default old SAX v1 handler for HTML, builds the DOM tree

+
+
+
+

+UTF8ToHtml ()

+
int	UTF8ToHtml			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
+
+

Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out.

+
++ + + + + + + + + + + + + + + + + + + + + + +
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
Returns:0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.
+
+
+
+

+htmlAttrAllowed ()

+
htmlStatus	htmlAttrAllowed		(const htmlElemDesc * elt, 
const xmlChar * attr,
int legacy)
+
+

Checks whether an attribute is valid for an element Has full knowledge of Required and Deprecated attributes

+
++ + + + + + + + + + + + + + + + + + +
elt:HTML element
attr:HTML attribute +
legacy:whether to allow deprecated attributes
Returns:one of HTML_REQUIRED, HTML_VALID, HTML_DEPRECATED, HTML_INVALID +
+
+
+
+

+htmlAutoCloseTag ()

+
int	htmlAutoCloseTag		(htmlDocPtr doc, 
const xmlChar * name,
htmlNodePtr elem)
+
+

The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if the element or one of it's children would autoclose the given tag.

+
++ + + + + + + + + + + + + + + + + + +
doc:the HTML document
name:The tag name
elem:the HTML element
Returns:1 if autoclose, 0 otherwise
+
+
+
+

+htmlCreateFileParserCtxt ()

+
htmlParserCtxtPtr	htmlCreateFileParserCtxt	(const char * filename, 
const char * encoding)
+
+

DEPRECATED: Use htmlNewParserCtxt and htmlCtxtReadFile. Create a parser context to read from a file. A non-NULL encoding overrides encoding declarations in the document. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

+
++ + + + + + + + + + + + + + +
filename:the filename
encoding:optional encoding
Returns:the new parser context or NULL if a memory allocation failed.
+
+
+
+

+htmlCreateMemoryParserCtxt ()

+
htmlParserCtxtPtr	htmlCreateMemoryParserCtxt	(const char * buffer, 
int size)
+
+

DEPRECATED: Use htmlNewParserCtxt and htmlCtxtReadMemory. Create a parser context for an HTML in-memory document. The input buffer must not contain any terminating null bytes.

+
++ + + + + + + + + + + + + + +
buffer:a pointer to a char array
size:the size of the array
Returns:the new parser context or NULL
+
+
+
+

+htmlCreatePushParserCtxt ()

+
htmlParserCtxtPtr	htmlCreatePushParserCtxt	(htmlSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename,
xmlCharEncoding enc)
+
+

Create a parser context for using the HTML parser in push mode.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
sax:a SAX handler (optional)
user_data:The user data returned on SAX callbacks (optional)
chunk:a pointer to an array of chars (optional)
size:number of chars in the array
filename:only used for error reporting (optional)
enc:encoding (deprecated, pass XML_CHAR_ENCODING_NONE)
Returns:the new parser context or NULL if a memory allocation failed.
+
+
+
+

+htmlCtxtParseDocument ()

+
htmlDocPtr	htmlCtxtParseDocument	(htmlParserCtxtPtr ctxt, 
xmlParserInputPtr input)
+
+

Parse an HTML document and return the resulting document tree. Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
ctxt:an HTML parser context
input:parser input
Returns:the resulting document tree or NULL
+
+
+
+

+htmlCtxtReadDoc ()

+
htmlDocPtr	htmlCtxtReadDoc		(htmlParserCtxtPtr ctxt, 
const xmlChar * str,
const char * URL,
const char * encoding,
int options)
+
+

Parse an HTML in-memory document and build a tree. See htmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an HTML parser context
str:a pointer to a zero terminated string
URL:only used for error reporting (optional)
encoding:the document encoding (optional)
options:a combination of htmlParserOptions
Returns:the resulting document tree
+
+
+
+

+htmlCtxtReadFd ()

+
htmlDocPtr	htmlCtxtReadFd		(htmlParserCtxtPtr ctxt, 
int fd,
const char * URL,
const char * encoding,
int options)
+
+

Parse an HTML from a file descriptor and build a tree. See htmlCtxtUseOptions for details. NOTE that the file descriptor will not be closed when the context is freed or reset.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an HTML parser context
fd:an open file descriptor
URL:only used for error reporting (optional)
encoding:the document encoding (optinal)
options:a combination of htmlParserOptions
Returns:the resulting document tree
+
+
+
+

+htmlCtxtReadFile ()

+
htmlDocPtr	htmlCtxtReadFile	(htmlParserCtxtPtr ctxt, 
const char * filename,
const char * encoding,
int options)
+
+

Parse an HTML file from the filesystem, the network or a user-defined resource loader. See xmlNewInputURL and htmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:an HTML parser context
filename:a file or URL
encoding:the document encoding (optional)
options:a combination of htmlParserOptions
Returns:the resulting document tree
+
+
+
+

+htmlCtxtReadIO ()

+
htmlDocPtr	htmlCtxtReadIO		(htmlParserCtxtPtr ctxt, 
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
+
+

Parse an HTML document from I/O functions and source and build a tree. See xmlNewInputIO and htmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an HTML parser context
ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of htmlParserOption(s)
Returns:the resulting document tree
+
+
+
+

+htmlCtxtReadMemory ()

+
htmlDocPtr	htmlCtxtReadMemory	(htmlParserCtxtPtr ctxt, 
const char * buffer,
int size,
const char * URL,
const char * encoding,
int options)
+
+

Parse an HTML in-memory document and build a tree. The input buffer must not contain any terminating null bytes. See htmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an HTML parser context
buffer:a pointer to a char array
size:the size of the array
URL:only used for error reporting (optional)
encoding:the document encoding (optinal)
options:a combination of htmlParserOptions
Returns:the resulting document tree
+
+
+
+

+htmlCtxtReset ()

+
void	htmlCtxtReset			(htmlParserCtxtPtr ctxt)
+
+

Reset a parser context

+
++ + + + +
ctxt:an HTML parser context
+
+
+
+

+htmlCtxtUseOptions ()

+
int	htmlCtxtUseOptions		(htmlParserCtxtPtr ctxt, 
int options)
+
+

Applies the options to the parser context

+
++ + + + + + + + + + + + + + +
ctxt:an HTML parser context
options:a combination of htmlParserOption(s)
Returns:0 in case of success, the set of unknown or unimplemented options in case of error.
+
+
+
+

+htmlElementAllowedHere ()

+
int	htmlElementAllowedHere		(const htmlElemDesc * parent, 
const xmlChar * elt)
+
+

Checks whether an HTML element may be a direct child of a parent element. Note - doesn't check for deprecated elements

+
++ + + + + + + + + + + + + + +
parent:HTML parent element
elt:HTML element
Returns:1 if allowed; 0 otherwise.
+
+
+
+

+htmlElementStatusHere ()

+
htmlStatus	htmlElementStatusHere	(const htmlElemDesc * parent, 
const htmlElemDesc * elt)
+
+

Checks whether an HTML element may be a direct child of a parent element. and if so whether it is valid or deprecated.

+
++ + + + + + + + + + + + + + +
parent:HTML parent element
elt:HTML element
Returns:one of HTML_VALID, HTML_DEPRECATED, HTML_INVALID +
+
+
+
+

+htmlEncodeEntities ()

+
int	htmlEncodeEntities		(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen,
int quoteChar)
+
+

Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
quoteChar:the quote character to escape (' or ") or zero.
Returns:0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.
+
+
+
+

+htmlEntityLookup ()

+
const htmlEntityDesc *	htmlEntityLookup	(const xmlChar * name)
+
+

Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed.

+
++ + + + + + + + + + +
name:the entity name
Returns:the associated htmlEntityDescPtr if found, NULL otherwise.
+
+
+
+

+htmlEntityValueLookup ()

+
const htmlEntityDesc *	htmlEntityValueLookup	(unsigned int value)
+
+

Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed.

+
++ + + + + + + + + + +
value:the entity's unicode value
Returns:the associated htmlEntityDescPtr if found, NULL otherwise.
+
+
+
+

+htmlFreeParserCtxt ()

+
void	htmlFreeParserCtxt		(htmlParserCtxtPtr ctxt)
+
+

Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed.

+
++ + + + +
ctxt:an HTML parser context
+
+
+
+

+htmlHandleOmittedElem ()

+
int	htmlHandleOmittedElem		(int val)
+
+

DEPRECATED: Use HTML_PARSE_NOIMPLIED Set and return the previous value for handling HTML omitted tags.

+
++ + + + + + + + + + +
val:int 0 or 1
Returns:the last value for 0 for no handling, 1 for auto insertion.
+
+
+
+

+htmlInitAutoClose ()

+
void	htmlInitAutoClose		(void)
+
+

DEPRECATED: This is a no-op.

+
+
+
+

+htmlIsAutoClosed ()

+
int	htmlIsAutoClosed		(htmlDocPtr doc, 
htmlNodePtr elem)
+
+

The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child

+
++ + + + + + + + + + + + + + +
doc:the HTML document
elem:the HTML element
Returns:1 if autoclosed, 0 otherwise
+
+
+
+

+htmlIsScriptAttribute ()

+
int	htmlIsScriptAttribute		(const xmlChar * name)
+
+

Check if an attribute is of content type Script

+
++ + + + + + + + + + +
name:an attribute name
Returns:1 is the attribute is a script 0 otherwise
+
+
+
+

+htmlNewParserCtxt ()

+
htmlParserCtxtPtr	htmlNewParserCtxt	(void)
+
+

Allocate and initialize a new HTML parser context. This can be used to parse HTML documents into DOM trees with functions like xmlCtxtReadFile or xmlCtxtReadMemory. See htmlCtxtUseOptions for parser options. See xmlCtxtSetErrorHandler for advanced error handling. See xmlNewInputURL, xmlNewInputMemory, xmlNewInputIO and similar functions for advanced input control. See htmlNewSAXParserCtxt for custom SAX parsers.

+
++ + + + +
Returns:the htmlParserCtxtPtr or NULL in case of allocation error
+
+
+
+

+htmlNewSAXParserCtxt ()

+
htmlParserCtxtPtr	htmlNewSAXParserCtxt	(const htmlSAXHandler * sax, 
void * userData)
+
+

Allocate and initialize a new HTML SAX parser context. If userData is NULL, the parser context will be passed as user data. Available since 2.11.0. If you want support older versions, it's best to invoke htmlNewParserCtxt and set ctxt->sax with struct assignment. Also see htmlNewParserCtxt.

+
++ + + + + + + + + + + + + + +
sax:SAX handler
userData:user data
Returns:the htmlParserCtxtPtr or NULL in case of allocation error
+
+
+
+

+htmlNodeStatus ()

+
htmlStatus	htmlNodeStatus		(htmlNodePtr node, 
int legacy)
+
+

Checks whether the tree node is valid. Experimental (the author only uses the HTML enhancements in a SAX parser)

+
++ + + + + + + + + + + + + + +
node:an htmlNodePtr in a tree
legacy:whether to allow deprecated elements (YES is faster here for Element nodes)
Returns:for Element nodes, a return from htmlElementAllowedHere (if legacy allowed) or htmlElementStatusHere (otherwise). for Attribute nodes, a return from htmlAttrAllowed for other nodes, HTML_NA (no checks performed)
+
+
+
+

+htmlParseCharRef ()

+
int	htmlParseCharRef		(htmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';'

+
++ + + + + + + + + + +
ctxt:an HTML parser context
Returns:the value parsed (as an int)
+
+
+
+

+htmlParseChunk ()

+
int	htmlParseChunk			(htmlParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)
+
+

Parse a chunk of memory in push parser mode. Assumes that the parser context was initialized with htmlCreatePushParserCtxt. The last chunk, which will often be empty, must be marked with the @terminate flag. With the default SAX callbacks, the resulting document will be available in ctxt->myDoc. This pointer will not be freed by the library. If the document isn't well-formed, ctxt->myDoc is set to NULL.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:an HTML parser context
chunk:chunk of memory
size:size of chunk in bytes
terminate:last chunk indicator
Returns:an xmlParserErrors code (0 on success).
+
+
+
+

+htmlParseDoc ()

+
htmlDocPtr	htmlParseDoc		(const xmlChar * cur, 
const char * encoding)
+
+

DEPRECATED: Use htmlReadDoc. Parse an HTML in-memory document and build a tree. This function uses deprecated global parser options.

+
++ + + + + + + + + + + + + + +
cur:a pointer to an array of xmlChar +
encoding:the encoding (optional)
Returns:the resulting document tree
+
+
+
+

+htmlParseDocument ()

+
int	htmlParseDocument		(htmlParserCtxtPtr ctxt)
+
+

Parse an HTML document and invoke the SAX handlers. This is useful if you're only interested in custom SAX callbacks. If you want a document tree, use htmlCtxtParseDocument.

+
++ + + + + + + + + + +
ctxt:an HTML parser context
Returns:0, -1 in case of error.
+
+
+
+

+htmlParseElement ()

+
void	htmlParseElement		(htmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an HTML element, this is highly recursive this is kept for compatibility with previous code versions [39] element ::= EmptyElemTag | STag content ETag [41] Attribute ::= Name Eq AttValue

+
++ + + + +
ctxt:an HTML parser context
+
+
+
+

+htmlParseEntityRef ()

+
const htmlEntityDesc *	htmlParseEntityRef	(htmlParserCtxtPtr ctxt, 
const xmlChar ** str)
+
+

DEPRECATED: Internal function, don't use. parse an HTML ENTITY references [68] EntityRef ::= '&' Name ';'

+
++ + + + + + + + + + + + + + +
ctxt:an HTML parser context
str:location to store the entity name
Returns:the associated htmlEntityDescPtr if found, or NULL otherwise, if non-NULL *str will have to be freed by the caller.
+
+
+
+

+htmlParseFile ()

+
htmlDocPtr	htmlParseFile		(const char * filename, 
const char * encoding)
+
+

Parse an HTML file and build a tree. See xmlNewInputURL for details.

+
++ + + + + + + + + + + + + + +
filename:the filename
encoding:encoding (optional)
Returns:the resulting document tree
+
+
+
+

+htmlReadDoc ()

+
htmlDocPtr	htmlReadDoc		(const xmlChar * str, 
const char * url,
const char * encoding,
int options)
+
+

Convenience function to parse an HTML document from a zero-terminated string. See htmlCtxtReadDoc for details.

+
++ + + + + + + + + + + + + + + + + + + + + + +
str:a pointer to a zero terminated string
url:only used for error reporting (optoinal)
encoding:the document encoding (optional)
options:a combination of htmlParserOptions
Returns:the resulting document tree.
+
+
+
+

+htmlReadFd ()

+
htmlDocPtr	htmlReadFd		(int fd, 
const char * url,
const char * encoding,
int options)
+
+

Convenience function to parse an HTML document from a file descriptor. NOTE that the file descriptor will not be closed when the context is freed or reset. See htmlCtxtReadFd for details.

+
++ + + + + + + + + + + + + + + + + + + + + + +
fd:an open file descriptor
url:only used for error reporting (optional)
encoding:the document encoding, or NULL
options:a combination of htmlParserOptions
Returns:the resulting document tree
+
+
+
+

+htmlReadFile ()

+
htmlDocPtr	htmlReadFile		(const char * filename, 
const char * encoding,
int options)
+
+

Convenience function to parse an HTML file from the filesystem, the network or a global user-defined resource loader. See htmlCtxtReadFile for details.

+
++ + + + + + + + + + + + + + + + + + +
filename:a file or URL
encoding:the document encoding (optional)
options:a combination of htmlParserOptions
Returns:the resulting document tree.
+
+
+
+

+htmlReadIO ()

+
htmlDocPtr	htmlReadIO		(xmlInputReadCallback ioread, 
xmlInputCloseCallback ioclose,
void * ioctx,
const char * url,
const char * encoding,
int options)
+
+

Convenience function to parse an HTML document from I/O functions and context. See htmlCtxtReadIO for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ioread:an I/O read function
ioclose:an I/O close function (optional)
ioctx:an I/O handler
url:only used for error reporting (optional)
encoding:the document encoding (optional)
options:a combination of htmlParserOption(s)
Returns:the resulting document tree
+
+
+
+

+htmlReadMemory ()

+
htmlDocPtr	htmlReadMemory		(const char * buffer, 
int size,
const char * url,
const char * encoding,
int options)
+
+

Convenience function to parse an HTML document from memory. The input buffer must not contain any terminating null bytes. See htmlCtxtReadMemory for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
buffer:a pointer to a char array
size:the size of the array
url:only used for error reporting (optional)
encoding:the document encoding, or NULL
options:a combination of htmlParserOption(s)
Returns:the resulting document tree
+
+
+
+

+htmlSAXParseDoc ()

+
htmlDocPtr	htmlSAXParseDoc		(const xmlChar * cur, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)
+
+

DEPRECATED: Use htmlNewSAXParserCtxt and htmlCtxtReadDoc. Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree.

+
++ + + + + + + + + + + + + + + + + + + + + + +
cur:a pointer to an array of xmlChar +
encoding:a free form C string describing the HTML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree unless SAX is NULL or the document is not well formed.
+
+
+
+

+htmlSAXParseFile ()

+
htmlDocPtr	htmlSAXParseFile	(const char * filename, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)
+
+

DEPRECATED: Use htmlNewSAXParserCtxt and htmlCtxtReadFile. parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

+
++ + + + + + + + + + + + + + + + + + + + + + +
filename:the filename
encoding:encoding (optional)
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree unless SAX is NULL or the document is not well formed.
+
+
+
+

+htmlTagLookup ()

+
const htmlElemDesc *	htmlTagLookup	(const xmlChar * tag)
+
+

Lookup the HTML tag in the ElementTable

+
++ + + + + + + + + + +
tag:The tag name in lowercase
Returns:the related htmlElemDescPtr or NULL if not found.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-HTMLtree.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-HTMLtree.html new file mode 100644 index 0000000000000000000000000000000000000000..7e60ab6134640d50d3736a5a12c9317401e0741e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-HTMLtree.html @@ -0,0 +1,587 @@ + + + +HTMLtree: specific APIs to process HTML tree, especially serialization + + + + + + + + + + + + + + +

HTMLtree

+

HTMLtree - specific APIs to process HTML tree, especially serialization

+

this module implements a few function needed to process tree in an HTML specific way.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define HTML_COMMENT_NODE;
+#define HTML_ENTITY_REF_NODE;
+#define HTML_PI_NODE;
+#define HTML_PRESERVE_NODE;
+#define HTML_TEXT_NODE;
+void	htmlDocContentDumpFormatOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format); +void htmlDocContentDumpOutput (xmlOutputBufferPtr buf,
xmlDocPtr cur,
const char * encoding); +int htmlDocDump (FILE * f,
xmlDocPtr cur); +void htmlDocDumpMemory (xmlDocPtr cur,
xmlChar ** mem,
int * size); +void htmlDocDumpMemoryFormat (xmlDocPtr cur,
xmlChar ** mem,
int * size,
int format); +const xmlChar * htmlGetMetaEncoding (htmlDocPtr doc); +int htmlIsBooleanAttr (const xmlChar * name); +htmlDocPtr htmlNewDoc (const xmlChar * URI,
const xmlChar * ExternalID); +htmlDocPtr htmlNewDocNoDtD (const xmlChar * URI,
const xmlChar * ExternalID); +int htmlNodeDump (xmlBufferPtr buf,
xmlDocPtr doc,
xmlNodePtr cur); +void htmlNodeDumpFile (FILE * out,
xmlDocPtr doc,
xmlNodePtr cur); +int htmlNodeDumpFileFormat (FILE * out,
xmlDocPtr doc,
xmlNodePtr cur,
const char * encoding,
int format); +void htmlNodeDumpFormatOutput (xmlOutputBufferPtr buf,
xmlDocPtr doc,
xmlNodePtr cur,
const char * encoding,
int format); +void htmlNodeDumpOutput (xmlOutputBufferPtr buf,
xmlDocPtr doc,
xmlNodePtr cur,
const char * encoding); +int htmlSaveFile (const char * filename,
xmlDocPtr cur); +int htmlSaveFileEnc (const char * filename,
xmlDocPtr cur,
const char * encoding); +int htmlSaveFileFormat (const char * filename,
xmlDocPtr cur,
const char * encoding,
int format); +int htmlSetMetaEncoding (htmlDocPtr doc,
const xmlChar * encoding); +
+
+

Description

+
+

Details

+
+
+

+Macro HTML_COMMENT_NODE

+
#define HTML_COMMENT_NODE;
+
+

Macro. A comment in a HTML document is really implemented the same way as a comment in an XML document.

+
+
+
+

+Macro HTML_ENTITY_REF_NODE

+
#define HTML_ENTITY_REF_NODE;
+
+

Macro. An entity reference in a HTML document is really implemented the same way as an entity reference in an XML document.

+
+
+
+

+Macro HTML_PI_NODE

+
#define HTML_PI_NODE;
+
+

Macro. A processing instruction in a HTML document is really implemented the same way as a processing instruction in an XML document.

+
+
+
+

+Macro HTML_PRESERVE_NODE

+
#define HTML_PRESERVE_NODE;
+
+

Macro. A preserved node in a HTML document is really implemented the same way as a CDATA section in an XML document.

+
+
+
+

+Macro HTML_TEXT_NODE

+
#define HTML_TEXT_NODE;
+
+

Macro. A text node in a HTML document is really implemented the same way as a text node in an XML document.

+
+
+
+

+htmlDocContentDumpFormatOutput ()

+
void	htmlDocContentDumpFormatOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format)
+
+

Dump an HTML document.

+
++ + + + + + + + + + + + + + + + + + +
buf:the HTML buffer output
cur:the document
encoding:the encoding string (unused)
format:should formatting spaces been added
+
+
+
+

+htmlDocContentDumpOutput ()

+
void	htmlDocContentDumpOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding)
+
+

Dump an HTML document. Formatting return/spaces are added.

+
++ + + + + + + + + + + + + + +
buf:the HTML buffer output
cur:the document
encoding:the encoding string (unused)
+
+
+
+

+htmlDocDump ()

+
int	htmlDocDump			(FILE * f, 
xmlDocPtr cur)
+
+

Dump an HTML document to an open FILE.

+
++ + + + + + + + + + + + + + +
f:the FILE*
cur:the document
Returns:the number of byte written or -1 in case of failure.
+
+
+
+

+htmlDocDumpMemory ()

+
void	htmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
+
+

Dump an HTML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory.

+
++ + + + + + + + + + + + + + +
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length
+
+
+
+

+htmlDocDumpMemoryFormat ()

+
void	htmlDocDumpMemoryFormat		(xmlDocPtr cur, 
xmlChar ** mem,
int * size,
int format)
+
+

Dump an HTML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory.

+
++ + + + + + + + + + + + + + + + + + +
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length
format:should formatting spaces been added
+
+
+
+

+htmlGetMetaEncoding ()

+
const xmlChar *	htmlGetMetaEncoding	(htmlDocPtr doc)
+
+

Encoding definition lookup in the Meta tags

+
++ + + + + + + + + + +
doc:the document
Returns:the current encoding as flagged in the HTML source
+
+
+
+

+htmlIsBooleanAttr ()

+
int	htmlIsBooleanAttr		(const xmlChar * name)
+
+

Determine if a given attribute is a boolean attribute.

+
++ + + + + + + + + + +
name:the name of the attribute to check
Returns:false if the attribute is not boolean, true otherwise.
+
+
+
+

+htmlNewDoc ()

+
htmlDocPtr	htmlNewDoc		(const xmlChar * URI, 
const xmlChar * ExternalID)
+
+

Creates a new HTML document

+
++ + + + + + + + + + + + + + +
URI:URI for the dtd, or NULL
ExternalID:the external ID of the DTD, or NULL
Returns:a new document
+
+
+
+

+htmlNewDocNoDtD ()

+
htmlDocPtr	htmlNewDocNoDtD		(const xmlChar * URI, 
const xmlChar * ExternalID)
+
+

Creates a new HTML document without a DTD node if @URI and @ExternalID are NULL

+
++ + + + + + + + + + + + + + +
URI:URI for the dtd, or NULL
ExternalID:the external ID of the DTD, or NULL
Returns:a new document, do not initialize the DTD if not provided
+
+
+
+

+htmlNodeDump ()

+
int	htmlNodeDump			(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur)
+
+

Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added.

+
++ + + + + + + + + + + + + + + + + + +
buf:the HTML buffer output
doc:the document
cur:the current node
Returns:the number of byte written or -1 in case of error
+
+
+
+

+htmlNodeDumpFile ()

+
void	htmlNodeDumpFile		(FILE * out, 
xmlDocPtr doc,
xmlNodePtr cur)
+
+

Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added.

+
++ + + + + + + + + + + + + + +
out:the FILE pointer
doc:the document
cur:the current node
+
+
+
+

+htmlNodeDumpFileFormat ()

+
int	htmlNodeDumpFileFormat		(FILE * out, 
xmlDocPtr doc,
xmlNodePtr cur,
const char * encoding,
int format)
+
+

Dump an HTML node, recursive behaviour,children are printed too. TODO: if encoding == NULL try to save in the doc encoding

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
out:the FILE pointer
doc:the document
cur:the current node
encoding:the document encoding
format:should formatting spaces been added
Returns:the number of byte written or -1 in case of failure.
+
+
+
+

+htmlNodeDumpFormatOutput ()

+
void	htmlNodeDumpFormatOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
const char * encoding,
int format)
+
+

Dump an HTML node, recursive behaviour,children are printed too.

+
++ + + + + + + + + + + + + + + + + + + + + + +
buf:the HTML buffer output
doc:the document
cur:the current node
encoding:the encoding string (unused)
format:should formatting spaces been added
+
+
+
+

+htmlNodeDumpOutput ()

+
void	htmlNodeDumpOutput		(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
const char * encoding)
+
+

Dump an HTML node, recursive behaviour,children are printed too, and formatting returns/spaces are added.

+
++ + + + + + + + + + + + + + + + + + +
buf:the HTML buffer output
doc:the document
cur:the current node
encoding:the encoding string (unused)
+
+
+
+

+htmlSaveFile ()

+
int	htmlSaveFile			(const char * filename, 
xmlDocPtr cur)
+
+

Dump an HTML document to a file. If @filename is "-" the stdout file is used.

+
++ + + + + + + + + + + + + + +
filename:the filename (or URL)
cur:the document
Returns:the number of byte written or -1 in case of failure.
+
+
+
+

+htmlSaveFileEnc ()

+
int	htmlSaveFileEnc			(const char * filename, 
xmlDocPtr cur,
const char * encoding)
+
+

Dump an HTML document to a file using a given encoding and formatting returns/spaces are added.

+
++ + + + + + + + + + + + + + + + + + +
filename:the filename
cur:the document
encoding:the document encoding
Returns:the number of byte written or -1 in case of failure.
+
+
+
+

+htmlSaveFileFormat ()

+
int	htmlSaveFileFormat		(const char * filename, 
xmlDocPtr cur,
const char * encoding,
int format)
+
+

Dump an HTML document to a file using a given encoding.

+
++ + + + + + + + + + + + + + + + + + + + + + +
filename:the filename
cur:the document
encoding:the document encoding
format:should formatting spaces been added
Returns:the number of byte written or -1 in case of failure.
+
+
+
+

+htmlSetMetaEncoding ()

+
int	htmlSetMetaEncoding		(htmlDocPtr doc, 
const xmlChar * encoding)
+
+

Sets the current encoding in the Meta tags NOTE: this will not change the document content encoding, just the META flag associated.

+
++ + + + + + + + + + + + + + +
doc:the document
encoding:the encoding string
Returns:0 in case of success and -1 in case of error
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-SAX.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-SAX.html new file mode 100644 index 0000000000000000000000000000000000000000..612ab4e85cd3e70ef8d093a525906752b8ccd518 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-SAX.html @@ -0,0 +1,943 @@ + + + +SAX: Old SAX version 1 handler, deprecated + + + + + + + + + + + + + + +

SAX

+

SAX - Old SAX version 1 handler, deprecated

+

DEPRECATED set of SAX version 1 interfaces used to build the DOM tree.

+

WARNING: this module is deprecated !

+

Author(s): Daniel Veillard

+
+

Synopsis

+
void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value); +void attributeDecl (void * ctx,
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree); +void cdataBlock (void * ctx,
const xmlChar * value,
int len); +void characters (void * ctx,
const xmlChar * ch,
int len); +int checkNamespace (void * ctx,
xmlChar * namespace); +void comment (void * ctx,
const xmlChar * value); +void elementDecl (void * ctx,
const xmlChar * name,
int type,
xmlElementContentPtr content); +void endDocument (void * ctx); +void endElement (void * ctx,
const xmlChar * name); +void entityDecl (void * ctx,
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content); +void externalSubset (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID); +int getColumnNumber (void * ctx); +xmlEntityPtr getEntity (void * ctx,
const xmlChar * name); +int getLineNumber (void * ctx); +xmlNsPtr getNamespace (void * ctx); +xmlEntityPtr getParameterEntity (void * ctx,
const xmlChar * name); +const xmlChar * getPublicId (void * ctx); +const xmlChar * getSystemId (void * ctx); +void globalNamespace (void * ctx,
const xmlChar * href,
const xmlChar * prefix); +int hasExternalSubset (void * ctx); +int hasInternalSubset (void * ctx); +void ignorableWhitespace (void * ctx,
const xmlChar * ch,
int len); +void inithtmlDefaultSAXHandler (xmlSAXHandlerV1 * hdlr); +void initxmlDefaultSAXHandler (xmlSAXHandlerV1 * hdlr,
int warning); +void internalSubset (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID); +int isStandalone (void * ctx); +void namespaceDecl (void * ctx,
const xmlChar * href,
const xmlChar * prefix); +void notationDecl (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId); +void processingInstruction (void * ctx,
const xmlChar * target,
const xmlChar * data); +void reference (void * ctx,
const xmlChar * name); +xmlParserInputPtr resolveEntity (void * ctx,
const xmlChar * publicId,
const xmlChar * systemId); +void setDocumentLocator (void * ctx,
xmlSAXLocatorPtr loc); +void setNamespace (void * ctx,
const xmlChar * name); +void startDocument (void * ctx); +void startElement (void * ctx,
const xmlChar * fullname,
const xmlChar ** atts); +void unparsedEntityDecl (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName); +
+
+

Description

+
+

Details

+
+
+

+attribute ()

+
void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
+
+

Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element. DEPRECATED: use xmlSAX2Attribute()

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
fullname:The attribute name, including namespace prefix
value:The attribute value
+
+
+
+

+attributeDecl ()

+
void	attributeDecl			(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+
+

An attribute definition has been parsed DEPRECATED: use xmlSAX2AttributeDecl()

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set
+
+
+
+

+cdataBlock ()

+
void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)
+
+

called when a pcdata block has been parsed DEPRECATED: use xmlSAX2CDataBlock()

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length
+
+
+
+

+characters ()

+
void	characters			(void * ctx, 
const xmlChar * ch,
int len)
+
+

receiving some chars from the parser. DEPRECATED: use xmlSAX2Characters()

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar +
+
+
+
+

+checkNamespace ()

+
int	checkNamespace			(void * ctx, 
xmlChar * namespace)
+
+

Check that the current element namespace is the same as the one read upon parsing. DEPRECATED

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
namespace:the namespace to check against
Returns:1 if true 0 otherwise
+
+
+
+

+comment ()

+
void	comment			(void * ctx, 
const xmlChar * value)
+
+

A comment has been parsed. DEPRECATED: use xmlSAX2Comment()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
value:the comment content
+
+
+
+

+elementDecl ()

+
void	elementDecl			(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
+
+

An element definition has been parsed DEPRECATED: use xmlSAX2ElementDecl()

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree
+
+
+
+

+endDocument ()

+
void	endDocument			(void * ctx)
+
+

called when the document end has been detected. DEPRECATED: use xmlSAX2EndDocument()

+
++ + + + +
ctx:the user data (XML parser context)
+
+
+
+

+endElement ()

+
void	endElement			(void * ctx, 
const xmlChar * name)
+
+

called when the end of an element has been detected. DEPRECATED: use xmlSAX2EndElement()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
name:The element name
+
+
+
+

+entityDecl ()

+
void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+
+

An entity definition has been parsed DEPRECATED: use xmlSAX2EntityDecl()

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).
+
+
+
+

+externalSubset ()

+
void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

Callback on external subset declaration. DEPRECATED: use xmlSAX2ExternalSubset()

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)
+
+
+
+

+getColumnNumber ()

+
int	getColumnNumber			(void * ctx)
+
+

Provide the column number of the current parsing point. DEPRECATED: use xmlSAX2GetColumnNumber()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:an int
+
+
+
+

+getEntity ()

+
xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)
+
+

Get an entity by name DEPRECATED: use xmlSAX2GetEntity()

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.
+
+
+
+

+getLineNumber ()

+
int	getLineNumber			(void * ctx)
+
+

Provide the line number of the current parsing point. DEPRECATED: use xmlSAX2GetLineNumber()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:an int
+
+
+
+

+getNamespace ()

+
xmlNsPtr	getNamespace		(void * ctx)
+
+

Get the current element namespace. DEPRECATED

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:the xmlNsPtr or NULL if none
+
+
+
+

+getParameterEntity ()

+
xmlEntityPtr	getParameterEntity	(void * ctx, 
const xmlChar * name)
+
+

Get a parameter entity by name DEPRECATED: use xmlSAX2GetParameterEntity()

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.
+
+
+
+

+getPublicId ()

+
const xmlChar *	getPublicId		(void * ctx)
+
+

Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" DEPRECATED: use xmlSAX2GetPublicId()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:a xmlChar *
+
+
+
+

+getSystemId ()

+
const xmlChar *	getSystemId		(void * ctx)
+
+

Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd DEPRECATED: use xmlSAX2GetSystemId()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:a xmlChar *
+
+
+
+

+globalNamespace ()

+
void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
+

An old global namespace has been parsed. DEPRECATED

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
href:the namespace associated URN
prefix:the namespace prefix
+
+
+
+

+hasExternalSubset ()

+
int	hasExternalSubset		(void * ctx)
+
+

Does this document has an external subset DEPRECATED: use xmlSAX2HasExternalSubset()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+hasInternalSubset ()

+
int	hasInternalSubset		(void * ctx)
+
+

Does this document has an internal subset DEPRECATED: use xmlSAX2HasInternalSubset()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+ignorableWhitespace ()

+
void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)
+
+

receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters DEPRECATED: use xmlSAX2IgnorableWhitespace()

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar +
+
+
+
+

+inithtmlDefaultSAXHandler ()

+
void	inithtmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
+
+

Initialize the default HTML SAX version 1 handler DEPRECATED: use xmlSAX2InitHtmlDefaultSAXHandler() for the new SAX2 blocks

+
++ + + + +
hdlr:the SAX handler
+
+
+
+

+initxmlDefaultSAXHandler ()

+
void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)
+
+

Initialize the default XML SAX version 1 handler DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks

+
++ + + + + + + + + + +
hdlr:the SAX handler
warning:flag if non-zero sets the handler warning procedure
+
+
+
+

+internalSubset ()

+
void	internalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

Callback on internal subset declaration. DEPRECATED: use xmlSAX2InternalSubset()

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)
+
+
+
+

+isStandalone ()

+
int	isStandalone			(void * ctx)
+
+

Is this document tagged standalone ? DEPRECATED: use xmlSAX2IsStandalone()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+namespaceDecl ()

+
void	namespaceDecl			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
+

A namespace has been parsed. DEPRECATED

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
href:the namespace associated URN
prefix:the namespace prefix
+
+
+
+

+notationDecl ()

+
void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+
+

What to do when a notation declaration has been parsed. DEPRECATED: use xmlSAX2NotationDecl()

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity
+
+
+
+

+processingInstruction ()

+
void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+
+

A processing instruction has been parsed. DEPRECATED: use xmlSAX2ProcessingInstruction()

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
target:the target name
data:the PI data's
+
+
+
+

+reference ()

+
void	reference			(void * ctx, 
const xmlChar * name)
+
+

called when an entity reference is detected. DEPRECATED: use xmlSAX2Reference()

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
+
+
+
+

+resolveEntity ()

+
xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+
+

The entity loader, to control the loading of external entities, the application can either: - override this resolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine DEPRECATED: use xmlSAX2ResolveEntity()

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.
+
+
+
+

+setDocumentLocator ()

+
void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)
+
+

Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case. DEPRECATED

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
loc:A SAX Locator
+
+
+
+

+setNamespace ()

+
void	setNamespace			(void * ctx, 
const xmlChar * name)
+
+

Set the current element namespace. DEPRECATED

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
name:the namespace prefix
+
+
+
+

+startDocument ()

+
void	startDocument			(void * ctx)
+
+

called when the document start being processed. DEPRECATED: use xmlSAX2StartDocument()

+
++ + + + +
ctx:the user data (XML parser context)
+
+
+
+

+startElement ()

+
void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
+
+

called when an opening tag has been processed. DEPRECATED: use xmlSAX2StartElement()

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
fullname:The element name, including namespace prefix
atts:An array of name/value attributes pairs, NULL terminated
+
+
+
+

+unparsedEntityDecl ()

+
void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+
+

What to do when an unparsed entity declaration is parsed DEPRECATED: use xmlSAX2UnparsedEntityDecl()

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-SAX2.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-SAX2.html new file mode 100644 index 0000000000000000000000000000000000000000..410229ce96caf778054dd9c91442a4e02dcef002 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-SAX2.html @@ -0,0 +1,940 @@ + + + +SAX2: SAX2 parser interface used to build the DOM tree + + + + + + + + + + + + + + +

SAX2

+

SAX2 - SAX2 parser interface used to build the DOM tree

+

those are the default SAX2 interfaces used by the library when building DOM tree.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
void	htmlDefaultSAXHandlerInit	(void);
+void	xmlDefaultSAXHandlerInit	(void);
+void	xmlSAX2AttributeDecl		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree); +void xmlSAX2CDataBlock (void * ctx,
const xmlChar * value,
int len); +void xmlSAX2Characters (void * ctx,
const xmlChar * ch,
int len); +void xmlSAX2Comment (void * ctx,
const xmlChar * value); +void xmlSAX2ElementDecl (void * ctx,
const xmlChar * name,
int type,
xmlElementContentPtr content); +void xmlSAX2EndDocument (void * ctx); +void xmlSAX2EndElement (void * ctx,
const xmlChar * name); +void xmlSAX2EndElementNs (void * ctx,
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI); +void xmlSAX2EntityDecl (void * ctx,
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content); +void xmlSAX2ExternalSubset (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID); +int xmlSAX2GetColumnNumber (void * ctx); +xmlEntityPtr xmlSAX2GetEntity (void * ctx,
const xmlChar * name); +int xmlSAX2GetLineNumber (void * ctx); +xmlEntityPtr xmlSAX2GetParameterEntity (void * ctx,
const xmlChar * name); +const xmlChar * xmlSAX2GetPublicId (void * ctx); +const xmlChar * xmlSAX2GetSystemId (void * ctx); +int xmlSAX2HasExternalSubset (void * ctx); +int xmlSAX2HasInternalSubset (void * ctx); +void xmlSAX2IgnorableWhitespace (void * ctx,
const xmlChar * ch,
int len); +void xmlSAX2InitDefaultSAXHandler (xmlSAXHandler * hdlr,
int warning); +void xmlSAX2InitHtmlDefaultSAXHandler (xmlSAXHandler * hdlr); +void xmlSAX2InternalSubset (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID); +int xmlSAX2IsStandalone (void * ctx); +void xmlSAX2NotationDecl (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId); +void xmlSAX2ProcessingInstruction (void * ctx,
const xmlChar * target,
const xmlChar * data); +void xmlSAX2Reference (void * ctx,
const xmlChar * name); +xmlParserInputPtr xmlSAX2ResolveEntity (void * ctx,
const xmlChar * publicId,
const xmlChar * systemId); +void xmlSAX2SetDocumentLocator (void * ctx,
xmlSAXLocatorPtr loc); +void xmlSAX2StartDocument (void * ctx); +void xmlSAX2StartElement (void * ctx,
const xmlChar * fullname,
const xmlChar ** atts); +void xmlSAX2StartElementNs (void * ctx,
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes); +void xmlSAX2UnparsedEntityDecl (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName); +int xmlSAXDefaultVersion (int version); +int xmlSAXVersion (xmlSAXHandler * hdlr,
int version); +
+
+

Description

+
+

Details

+
+
+

+htmlDefaultSAXHandlerInit ()

+
void	htmlDefaultSAXHandlerInit	(void)
+
+

DEPRECATED: This function is a no-op. Call xmlInitParser to initialize the library.

+
+
+
+

+xmlDefaultSAXHandlerInit ()

+
void	xmlDefaultSAXHandlerInit	(void)
+
+

DEPRECATED: This function is a no-op. Call xmlInitParser to initialize the library. Initialize the default SAX2 handler

+
+
+
+

+xmlSAX2AttributeDecl ()

+
void	xmlSAX2AttributeDecl		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+
+

An attribute definition has been parsed

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set
+
+
+
+

+xmlSAX2CDataBlock ()

+
void	xmlSAX2CDataBlock		(void * ctx, 
const xmlChar * value,
int len)
+
+

called when a pcdata block has been parsed

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length
+
+
+
+

+xmlSAX2Characters ()

+
void	xmlSAX2Characters		(void * ctx, 
const xmlChar * ch,
int len)
+
+

receiving some chars from the parser.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar +
+
+
+
+

+xmlSAX2Comment ()

+
void	xmlSAX2Comment			(void * ctx, 
const xmlChar * value)
+
+

A xmlSAX2Comment has been parsed.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
value:the xmlSAX2Comment content
+
+
+
+

+xmlSAX2ElementDecl ()

+
void	xmlSAX2ElementDecl		(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
+
+

An element definition has been parsed

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree
+
+
+
+

+xmlSAX2EndDocument ()

+
void	xmlSAX2EndDocument		(void * ctx)
+
+

called when the document end has been detected.

+
++ + + + +
ctx:the user data (XML parser context)
+
+
+
+

+xmlSAX2EndElement ()

+
void	xmlSAX2EndElement		(void * ctx, 
const xmlChar * name)
+
+

called when the end of an element has been detected.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
name:The element name
+
+
+
+

+xmlSAX2EndElementNs ()

+
void	xmlSAX2EndElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI)
+
+

SAX2 callback when an element end has been detected by the parser. It provides the namespace information for the element.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available
+
+
+
+

+xmlSAX2EntityDecl ()

+
void	xmlSAX2EntityDecl		(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+
+

An entity definition has been parsed

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).
+
+
+
+

+xmlSAX2ExternalSubset ()

+
void	xmlSAX2ExternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

Callback on external subset declaration.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)
+
+
+
+

+xmlSAX2GetColumnNumber ()

+
int	xmlSAX2GetColumnNumber		(void * ctx)
+
+

Provide the column number of the current parsing point.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:an int
+
+
+
+

+xmlSAX2GetEntity ()

+
xmlEntityPtr	xmlSAX2GetEntity	(void * ctx, 
const xmlChar * name)
+
+

Get an entity by name

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.
+
+
+
+

+xmlSAX2GetLineNumber ()

+
int	xmlSAX2GetLineNumber		(void * ctx)
+
+

Provide the line number of the current parsing point.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:an int
+
+
+
+

+xmlSAX2GetParameterEntity ()

+
xmlEntityPtr	xmlSAX2GetParameterEntity	(void * ctx, 
const xmlChar * name)
+
+

Get a parameter entity by name

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.
+
+
+
+

+xmlSAX2GetPublicId ()

+
const xmlChar *	xmlSAX2GetPublicId	(void * ctx)
+
+

Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN"

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:a xmlChar *
+
+
+
+

+xmlSAX2GetSystemId ()

+
const xmlChar *	xmlSAX2GetSystemId	(void * ctx)
+
+

Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:a xmlChar *
+
+
+
+

+xmlSAX2HasExternalSubset ()

+
int	xmlSAX2HasExternalSubset	(void * ctx)
+
+

Does this document has an external subset

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+xmlSAX2HasInternalSubset ()

+
int	xmlSAX2HasInternalSubset	(void * ctx)
+
+

Does this document has an internal subset

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+xmlSAX2IgnorableWhitespace ()

+
void	xmlSAX2IgnorableWhitespace	(void * ctx, 
const xmlChar * ch,
int len)
+
+

receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use xmlSAX2Characters

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar +
+
+
+
+

+xmlSAX2InitDefaultSAXHandler ()

+
void	xmlSAX2InitDefaultSAXHandler	(xmlSAXHandler * hdlr, 
int warning)
+
+

Initialize the default XML SAX2 handler

+
++ + + + + + + + + + +
hdlr:the SAX handler
warning:flag if non-zero sets the handler warning procedure
+
+
+
+

+xmlSAX2InitHtmlDefaultSAXHandler ()

+
void	xmlSAX2InitHtmlDefaultSAXHandler	(xmlSAXHandler * hdlr)
+
+

Initialize the default HTML SAX2 handler

+
++ + + + +
hdlr:the SAX handler
+
+
+
+

+xmlSAX2InternalSubset ()

+
void	xmlSAX2InternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

Callback on internal subset declaration.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)
+
+
+
+

+xmlSAX2IsStandalone ()

+
int	xmlSAX2IsStandalone		(void * ctx)
+
+

Is this document tagged standalone ?

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+xmlSAX2NotationDecl ()

+
void	xmlSAX2NotationDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+
+

What to do when a notation declaration has been parsed.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity
+
+
+
+

+xmlSAX2ProcessingInstruction ()

+
void	xmlSAX2ProcessingInstruction	(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+
+

A processing instruction has been parsed.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
target:the target name
data:the PI data's
+
+
+
+

+xmlSAX2Reference ()

+
void	xmlSAX2Reference		(void * ctx, 
const xmlChar * name)
+
+

called when an entity xmlSAX2Reference is detected.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
+
+
+
+

+xmlSAX2ResolveEntity ()

+
xmlParserInputPtr	xmlSAX2ResolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+
+

The entity loader, to control the loading of external entities, the application can either: - override this xmlSAX2ResolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.
+
+
+
+

+xmlSAX2SetDocumentLocator ()

+
void	xmlSAX2SetDocumentLocator	(void * ctx, 
xmlSAXLocatorPtr loc)
+
+

Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
loc:A SAX Locator
+
+
+
+

+xmlSAX2StartDocument ()

+
void	xmlSAX2StartDocument		(void * ctx)
+
+

called when the document start being processed.

+
++ + + + +
ctx:the user data (XML parser context)
+
+
+
+

+xmlSAX2StartElement ()

+
void	xmlSAX2StartElement		(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
+
+

called when an opening tag has been processed.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
fullname:The element name, including namespace prefix
atts:An array of name/value attributes pairs, NULL terminated
+
+
+
+

+xmlSAX2StartElementNs ()

+
void	xmlSAX2StartElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes)
+
+

SAX2 callback when an element start has been detected by the parser. It provides the namespace information for the element, as well as the new namespace declarations on the element.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available
nb_namespaces:number of namespace definitions on that node
namespaces:pointer to the array of prefix/URI pairs namespace definitions
nb_attributes:the number of attributes on that node
nb_defaulted:the number of defaulted attributes.
attributes:pointer to the array of (localname/prefix/URI/value/end) attribute values.
+
+
+
+

+xmlSAX2UnparsedEntityDecl ()

+
void	xmlSAX2UnparsedEntityDecl	(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+
+

What to do when an unparsed entity declaration is parsed

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation
+
+
+
+

+xmlSAXDefaultVersion ()

+
int	xmlSAXDefaultVersion		(int version)
+
+

DEPRECATED: Use parser option XML_PARSE_SAX1. Set the default version of SAX used globally by the library. By default, during initialization the default is set to 2. Note that it is generally a better coding style to use xmlSAXVersion() to set up the version explicitly for a given parsing context.

+
++ + + + + + + + + + +
version:the version, 1 or 2
Returns:the previous value in case of success and -1 in case of error.
+
+
+
+

+xmlSAXVersion ()

+
int	xmlSAXVersion			(xmlSAXHandler * hdlr, 
int version)
+
+

Initialize the default XML SAX handler according to the version

+
++ + + + + + + + + + + + + + +
hdlr:the SAX handler
version:the version, 1 or 2
Returns:0 in case of success and -1 in case of error.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-c14n.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-c14n.html new file mode 100644 index 0000000000000000000000000000000000000000..b2cef08993316b8a015c6eae939b59fba745f507 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-c14n.html @@ -0,0 +1,253 @@ + + + +c14n: Provide Canonical XML and Exclusive XML Canonicalization + + + + + + + + + + + + + + +

c14n

+

c14n - Provide Canonical XML and Exclusive XML Canonicalization

+

the c14n modules provides a "Canonical XML" implementation

+

Author(s): Aleksey Sanin <aleksey@aleksey.com>

+
+

Synopsis

+
typedef enum xmlC14NMode;
+int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int mode,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlChar ** doc_txt_ptr); +int xmlC14NDocSave (xmlDocPtr doc,
xmlNodeSetPtr nodes,
int mode,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
const char * filename,
int compression); +int xmlC14NDocSaveTo (xmlDocPtr doc,
xmlNodeSetPtr nodes,
int mode,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf); +int xmlC14NExecute (xmlDocPtr doc,
xmlC14NIsVisibleCallback is_visible_callback,
void * user_data,
int mode,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf); +typedef int xmlC14NIsVisibleCallback (void * user_data,
xmlNodePtr node,
xmlNodePtr parent); +
+
+

Description

+
+

Details

+
+
+

+Enum xmlC14NMode

+
enum xmlC14NMode {
+    XML_C14N_1_0 = 0 /* Original C14N 1.0 spec */
+    XML_C14N_EXCLUSIVE_1_0 = 1 /* Exclusive C14N 1.0 spec */
+    XML_C14N_1_1 = 2 /*  C14N 1.1 spec */
+};
+
+

+
+
+
+

+Function type xmlC14NIsVisibleCallback

+
int	xmlC14NIsVisibleCallback	(void * user_data, 
xmlNodePtr node,
xmlNodePtr parent)
+
+

Signature for a C14N callback on visible nodes

+
++ + + + + + + + + + + + + + + + + + +
user_data:user data
node:the current node
parent:the parent node
Returns:1 if the node should be included
+
+
+
+

+xmlC14NDocDumpMemory ()

+
int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int mode,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlChar ** doc_txt_ptr)
+
+

Dumps the canonized image of given XML document into memory. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
mode:the c14n mode (see @xmlC14NMode)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
doc_txt_ptr:the memory pointer for allocated canonical XML text; the caller of this functions is responsible for calling xmlFree() to free allocated memory
Returns:the number of bytes written on success or a negative value on fail
+
+
+
+

+xmlC14NDocSave ()

+
int	xmlC14NDocSave			(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int mode,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
const char * filename,
int compression)
+
+

Dumps the canonized image of given XML document into the file. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
mode:the c14n mode (see @xmlC14NMode)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
filename:the filename to store canonical XML image
compression:the compression level (zlib required): -1 - libxml default, 0 - uncompressed, >0 - compression level
Returns:the number of bytes written success or a negative value on fail
+
+
+
+

+xmlC14NDocSaveTo ()

+
int	xmlC14NDocSaveTo		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int mode,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
+
+

Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
mode:the c14n mode (see @xmlC14NMode)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
buf:the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output
Returns:non-negative value on success or a negative value on fail
+
+
+
+

+xmlC14NExecute ()

+
int	xmlC14NExecute			(xmlDocPtr doc, 
xmlC14NIsVisibleCallback is_visible_callback,
void * user_data,
int mode,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
+
+

Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the XML document for canonization
is_visible_callback:the function to use to determine is node visible or not
user_data:the first parameter for @is_visible_callback function (in most cases, it is nodes set)
mode:the c14n mode (see @xmlC14NMode)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
buf:the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output
Returns:non-negative value on success or a negative value on fail
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-catalog.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-catalog.html new file mode 100644 index 0000000000000000000000000000000000000000..39d65dcd6b66f7b1b5862238fc140eb35b36f08d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-catalog.html @@ -0,0 +1,887 @@ + + + +catalog: interfaces to the Catalog handling system + + + + + + + + + + + + + + +

catalog

+

catalog - interfaces to the Catalog handling system

+

the catalog module implements the support for XML Catalogs and SGML catalogs

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define XML_CATALOGS_NAMESPACE;
+#define XML_CATALOG_PI;
+typedef struct _xmlCatalog xmlCatalog;
+typedef enum xmlCatalogAllow;
+typedef enum xmlCatalogPrefer;
+typedef xmlCatalog * xmlCatalogPtr;
+int	xmlACatalogAdd			(xmlCatalogPtr catal, 
const xmlChar * type,
const xmlChar * orig,
const xmlChar * replace); +void xmlACatalogDump (xmlCatalogPtr catal,
FILE * out); +int xmlACatalogRemove (xmlCatalogPtr catal,
const xmlChar * value); +xmlChar * xmlACatalogResolve (xmlCatalogPtr catal,
const xmlChar * pubID,
const xmlChar * sysID); +xmlChar * xmlACatalogResolvePublic (xmlCatalogPtr catal,
const xmlChar * pubID); +xmlChar * xmlACatalogResolveSystem (xmlCatalogPtr catal,
const xmlChar * sysID); +xmlChar * xmlACatalogResolveURI (xmlCatalogPtr catal,
const xmlChar * URI); +int xmlCatalogAdd (const xmlChar * type,
const xmlChar * orig,
const xmlChar * replace); +void * xmlCatalogAddLocal (void * catalogs,
const xmlChar * URL); +void xmlCatalogCleanup (void); +int xmlCatalogConvert (void); +void xmlCatalogDump (FILE * out); +void xmlCatalogFreeLocal (void * catalogs); +xmlCatalogAllow xmlCatalogGetDefaults (void); +const xmlChar * xmlCatalogGetPublic (const xmlChar * pubID); +const xmlChar * xmlCatalogGetSystem (const xmlChar * sysID); +int xmlCatalogIsEmpty (xmlCatalogPtr catal); +xmlChar * xmlCatalogLocalResolve (void * catalogs,
const xmlChar * pubID,
const xmlChar * sysID); +xmlChar * xmlCatalogLocalResolveURI (void * catalogs,
const xmlChar * URI); +int xmlCatalogRemove (const xmlChar * value); +xmlChar * xmlCatalogResolve (const xmlChar * pubID,
const xmlChar * sysID); +xmlChar * xmlCatalogResolvePublic (const xmlChar * pubID); +xmlChar * xmlCatalogResolveSystem (const xmlChar * sysID); +xmlChar * xmlCatalogResolveURI (const xmlChar * URI); +int xmlCatalogSetDebug (int level); +xmlCatalogPrefer xmlCatalogSetDefaultPrefer (xmlCatalogPrefer prefer); +void xmlCatalogSetDefaults (xmlCatalogAllow allow); +int xmlConvertSGMLCatalog (xmlCatalogPtr catal); +void xmlFreeCatalog (xmlCatalogPtr catal); +void xmlInitializeCatalog (void); +xmlCatalogPtr xmlLoadACatalog (const char * filename); +int xmlLoadCatalog (const char * filename); +void xmlLoadCatalogs (const char * pathss); +xmlCatalogPtr xmlLoadSGMLSuperCatalog (const char * filename); +xmlCatalogPtr xmlNewCatalog (int sgml); +xmlDocPtr xmlParseCatalogFile (const char * filename); +
+
+

Description

+
+

Details

+
+
+

+Macro XML_CATALOGS_NAMESPACE

+
#define XML_CATALOGS_NAMESPACE;
+
+

The namespace for the XML Catalogs elements.

+
+
+
+

+Macro XML_CATALOG_PI

+
#define XML_CATALOG_PI;
+
+

The specific XML Catalog Processing Instruction name.

+
+
+
+

+Structure xmlCatalog

+
struct _xmlCatalog {
+The content of this structure is not made public by the API.
+} xmlCatalog;
+
+

+
+
+ +
+
+

+Enum xmlCatalogPrefer

+
enum xmlCatalogPrefer {
+    XML_CATA_PREFER_NONE = 0
+    XML_CATA_PREFER_PUBLIC = 1
+    XML_CATA_PREFER_SYSTEM = 2
+};
+
+

+
+
+
+

+Typedef xmlCatalogPtr

+
xmlCatalog * xmlCatalogPtr;
+
+

+
+
+
+

+xmlACatalogAdd ()

+
int	xmlACatalogAdd			(xmlCatalogPtr catal, 
const xmlChar * type,
const xmlChar * orig,
const xmlChar * replace)
+
+

Add an entry in the catalog, it may overwrite existing but different entries.

+
++ + + + + + + + + + + + + + + + + + + + + + +
catal:a Catalog
type:the type of record to add to the catalog
orig:the system, public or prefix to match
replace:the replacement value for the match
Returns:0 if successful, -1 otherwise
+
+
+
+

+xmlACatalogDump ()

+
void	xmlACatalogDump			(xmlCatalogPtr catal, 
FILE * out)
+
+

Dump the given catalog to the given file.

+
++ + + + + + + + + + +
catal:a Catalog
out:the file.
+
+
+
+

+xmlACatalogRemove ()

+
int	xmlACatalogRemove		(xmlCatalogPtr catal, 
const xmlChar * value)
+
+

Remove an entry from the catalog

+
++ + + + + + + + + + + + + + +
catal:a Catalog
value:the value to remove
Returns:the number of entries removed if successful, -1 otherwise
+
+
+
+

+xmlACatalogResolve ()

+
xmlChar *	xmlACatalogResolve	(xmlCatalogPtr catal, 
const xmlChar * pubID,
const xmlChar * sysID)
+
+

Do a complete resolution lookup of an External Identifier

+
++ + + + + + + + + + + + + + + + + + +
catal:a Catalog
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.
+
+
+
+

+xmlACatalogResolvePublic ()

+
xmlChar *	xmlACatalogResolvePublic	(xmlCatalogPtr catal, 
const xmlChar * pubID)
+
+

Try to lookup the catalog local reference associated to a public ID in that catalog

+
++ + + + + + + + + + + + + + +
catal:a Catalog
pubID:the public ID string
Returns:the local resource if found or NULL otherwise, the value returned must be freed by the caller.
+
+
+
+

+xmlACatalogResolveSystem ()

+
xmlChar *	xmlACatalogResolveSystem	(xmlCatalogPtr catal, 
const xmlChar * sysID)
+
+

Try to lookup the catalog resource for a system ID

+
++ + + + + + + + + + + + + + +
catal:a Catalog
sysID:the system ID string
Returns:the resource if found or NULL otherwise, the value returned must be freed by the caller.
+
+
+
+

+xmlACatalogResolveURI ()

+
xmlChar *	xmlACatalogResolveURI	(xmlCatalogPtr catal, 
const xmlChar * URI)
+
+

Do a complete resolution lookup of an URI

+
++ + + + + + + + + + + + + + +
catal:a Catalog
URI:the URI
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.
+
+
+
+

+xmlCatalogAdd ()

+
int	xmlCatalogAdd			(const xmlChar * type, 
const xmlChar * orig,
const xmlChar * replace)
+
+

Add an entry in the catalog, it may overwrite existing but different entries. If called before any other catalog routine, allows to override the default shared catalog put in place by xmlInitializeCatalog();

+
++ + + + + + + + + + + + + + + + + + +
type:the type of record to add to the catalog
orig:the system, public or prefix to match
replace:the replacement value for the match
Returns:0 if successful, -1 otherwise
+
+
+
+

+xmlCatalogAddLocal ()

+
void *	xmlCatalogAddLocal		(void * catalogs, 
const xmlChar * URL)
+
+

Add the new entry to the catalog list

+
++ + + + + + + + + + + + + + +
catalogs:a document's list of catalogs
URL:the URL to a new local catalog
Returns:the updated list
+
+
+
+

+xmlCatalogCleanup ()

+
void	xmlCatalogCleanup		(void)
+
+

Free up all the memory associated with catalogs

+
+
+
+

+xmlCatalogConvert ()

+
int	xmlCatalogConvert		(void)
+
+

Convert all the SGML catalog entries as XML ones

+
++ + + + +
Returns:the number of entries converted if successful, -1 otherwise
+
+
+
+

+xmlCatalogDump ()

+
void	xmlCatalogDump			(FILE * out)
+
+

Dump all the global catalog content to the given file.

+
++ + + + +
out:the file.
+
+
+
+

+xmlCatalogFreeLocal ()

+
void	xmlCatalogFreeLocal		(void * catalogs)
+
+

Free up the memory associated to the catalog list

+
++ + + + +
catalogs:a document's list of catalogs
+
+
+
+

+xmlCatalogGetDefaults ()

+
xmlCatalogAllow	xmlCatalogGetDefaults	(void)
+
+

Used to get the user preference w.r.t. to what catalogs should be accepted

+
++ + + + +
Returns:the current xmlCatalogAllow value
+
+
+
+

+xmlCatalogGetPublic ()

+
const xmlChar *	xmlCatalogGetPublic	(const xmlChar * pubID)
+
+

Try to lookup the catalog reference associated to a public ID DEPRECATED, use xmlCatalogResolvePublic()

+
++ + + + + + + + + + +
pubID:the public ID string
Returns:the resource if found or NULL otherwise.
+
+
+
+

+xmlCatalogGetSystem ()

+
const xmlChar *	xmlCatalogGetSystem	(const xmlChar * sysID)
+
+

Try to lookup the catalog reference associated to a system ID DEPRECATED, use xmlCatalogResolveSystem()

+
++ + + + + + + + + + +
sysID:the system ID string
Returns:the resource if found or NULL otherwise.
+
+
+
+

+xmlCatalogIsEmpty ()

+
int	xmlCatalogIsEmpty		(xmlCatalogPtr catal)
+
+

Check is a catalog is empty

+
++ + + + + + + + + + +
catal:should this create an SGML catalog
Returns:1 if the catalog is empty, 0 if not, amd -1 in case of error.
+
+
+
+

+xmlCatalogLocalResolve ()

+
xmlChar *	xmlCatalogLocalResolve	(void * catalogs, 
const xmlChar * pubID,
const xmlChar * sysID)
+
+

Do a complete resolution lookup of an External Identifier using a document's private catalog list

+
++ + + + + + + + + + + + + + + + + + +
catalogs:a document's list of catalogs
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.
+
+
+
+

+xmlCatalogLocalResolveURI ()

+
xmlChar *	xmlCatalogLocalResolveURI	(void * catalogs, 
const xmlChar * URI)
+
+

Do a complete resolution lookup of an URI using a document's private catalog list

+
++ + + + + + + + + + + + + + +
catalogs:a document's list of catalogs
URI:the URI
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.
+
+
+
+

+xmlCatalogRemove ()

+
int	xmlCatalogRemove		(const xmlChar * value)
+
+

Remove an entry from the catalog

+
++ + + + + + + + + + +
value:the value to remove
Returns:the number of entries removed if successful, -1 otherwise
+
+
+
+

+xmlCatalogResolve ()

+
xmlChar *	xmlCatalogResolve	(const xmlChar * pubID, 
const xmlChar * sysID)
+
+

Do a complete resolution lookup of an External Identifier

+
++ + + + + + + + + + + + + + +
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.
+
+
+
+

+xmlCatalogResolvePublic ()

+
xmlChar *	xmlCatalogResolvePublic	(const xmlChar * pubID)
+
+

Try to lookup the catalog reference associated to a public ID

+
++ + + + + + + + + + +
pubID:the public ID string
Returns:the resource if found or NULL otherwise, the value returned must be freed by the caller.
+
+
+
+

+xmlCatalogResolveSystem ()

+
xmlChar *	xmlCatalogResolveSystem	(const xmlChar * sysID)
+
+

Try to lookup the catalog resource for a system ID

+
++ + + + + + + + + + +
sysID:the system ID string
Returns:the resource if found or NULL otherwise, the value returned must be freed by the caller.
+
+
+
+

+xmlCatalogResolveURI ()

+
xmlChar *	xmlCatalogResolveURI	(const xmlChar * URI)
+
+

Do a complete resolution lookup of an URI

+
++ + + + + + + + + + +
URI:the URI
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.
+
+
+
+

+xmlCatalogSetDebug ()

+
int	xmlCatalogSetDebug		(int level)
+
+

Used to set the debug level for catalog operation, 0 disable debugging, 1 enable it

+
++ + + + + + + + + + +
level:the debug level of catalogs required
Returns:the previous value of the catalog debugging level
+
+
+
+

+xmlCatalogSetDefaultPrefer ()

+
xmlCatalogPrefer	xmlCatalogSetDefaultPrefer	(xmlCatalogPrefer prefer)
+
+

Allows to set the preference between public and system for deletion in XML Catalog resolution. C.f. section 4.1.1 of the spec Values accepted are XML_CATA_PREFER_PUBLIC or XML_CATA_PREFER_SYSTEM

+
++ + + + + + + + + + +
prefer:the default preference for delegation
Returns:the previous value of the default preference for delegation
+
+
+
+

+xmlCatalogSetDefaults ()

+
void	xmlCatalogSetDefaults		(xmlCatalogAllow allow)
+
+

Used to set the user preference w.r.t. to what catalogs should be accepted

+
++ + + + +
allow:what catalogs should be accepted
+
+
+
+

+xmlConvertSGMLCatalog ()

+
int	xmlConvertSGMLCatalog		(xmlCatalogPtr catal)
+
+

Convert all the SGML catalog entries as XML ones

+
++ + + + + + + + + + +
catal:the catalog
Returns:the number of entries converted if successful, -1 otherwise
+
+
+
+

+xmlFreeCatalog ()

+
void	xmlFreeCatalog			(xmlCatalogPtr catal)
+
+

Free the memory allocated to a Catalog

+
++ + + + +
catal:a Catalog
+
+
+
+

+xmlInitializeCatalog ()

+
void	xmlInitializeCatalog		(void)
+
+

Do the catalog initialization. this function is not thread safe, catalog initialization should preferably be done once at startup

+
+
+
+

+xmlLoadACatalog ()

+
xmlCatalogPtr	xmlLoadACatalog		(const char * filename)
+
+

Load the catalog and build the associated data structures. This can be either an XML Catalog or an SGML Catalog It will recurse in SGML CATALOG entries. On the other hand XML Catalogs are not handled recursively.

+
++ + + + + + + + + + +
filename:a file path
Returns:the catalog parsed or NULL in case of error
+
+
+
+

+xmlLoadCatalog ()

+
int	xmlLoadCatalog			(const char * filename)
+
+

Load the catalog and makes its definitions effective for the default external entity loader. It will recurse in SGML CATALOG entries. this function is not thread safe, catalog initialization should preferably be done once at startup

+
++ + + + + + + + + + +
filename:a file path
Returns:0 in case of success -1 in case of error
+
+
+
+

+xmlLoadCatalogs ()

+
void	xmlLoadCatalogs			(const char * pathss)
+
+

Load the catalogs and makes their definitions effective for the default external entity loader. this function is not thread safe, catalog initialization should preferably be done once at startup

+
++ + + + +
pathss:a list of directories separated by a colon or a space.
+
+
+
+

+xmlLoadSGMLSuperCatalog ()

+
xmlCatalogPtr	xmlLoadSGMLSuperCatalog	(const char * filename)
+
+

Load an SGML super catalog. It won't expand CATALOG or DELEGATE references. This is only needed for manipulating SGML Super Catalogs like adding and removing CATALOG or DELEGATE entries.

+
++ + + + + + + + + + +
filename:a file path
Returns:the catalog parsed or NULL in case of error
+
+
+
+

+xmlNewCatalog ()

+
xmlCatalogPtr	xmlNewCatalog		(int sgml)
+
+

create a new Catalog.

+
++ + + + + + + + + + +
sgml:should this create an SGML catalog
Returns:the xmlCatalogPtr or NULL in case of error
+
+
+
+

+xmlParseCatalogFile ()

+
xmlDocPtr	xmlParseCatalogFile	(const char * filename)
+
+

parse an XML file and build a tree. It's like xmlParseFile() except it bypass all catalog lookups.

+
++ + + + + + + + + + +
filename:the filename
Returns:the resulting document tree or NULL in case of error
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-chvalid.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-chvalid.html new file mode 100644 index 0000000000000000000000000000000000000000..121c9ffad05ea7ddc36541ebc22c1a16b7dd1ad7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-chvalid.html @@ -0,0 +1,581 @@ + + + +chvalid: Unicode character range checking + + + + + + + + + + + + + + +

chvalid

+

chvalid - Unicode character range checking

+

this module exports interfaces for the character range validation APIs This file is automatically generated from the cvs source definition files using the genChRanges.py Python script

+

Author(s): William Brack <wbrack@mmm.com.hk>

+
+

Synopsis

+
#define xmlIsBaseCharQ(c);
+#define xmlIsBaseChar_ch(c);
+#define xmlIsBlankQ(c);
+#define xmlIsBlank_ch(c);
+#define xmlIsCharQ(c);
+#define xmlIsChar_ch(c);
+#define xmlIsCombiningQ(c);
+#define xmlIsDigitQ(c);
+#define xmlIsDigit_ch(c);
+#define xmlIsExtenderQ(c);
+#define xmlIsExtender_ch(c);
+#define xmlIsIdeographicQ(c);
+#define xmlIsPubidCharQ(c);
+#define xmlIsPubidChar_ch(c);
+typedef struct _xmlChLRange xmlChLRange;
+typedef xmlChLRange * xmlChLRangePtr;
+typedef struct _xmlChRangeGroup xmlChRangeGroup;
+typedef xmlChRangeGroup * xmlChRangeGroupPtr;
+typedef struct _xmlChSRange xmlChSRange;
+typedef xmlChSRange * xmlChSRangePtr;
+int	xmlCharInRange			(unsigned int val, 
const xmlChRangeGroup * rptr); +int xmlIsBaseChar (unsigned int ch); +int xmlIsBlank (unsigned int ch); +int xmlIsChar (unsigned int ch); +int xmlIsCombining (unsigned int ch); +int xmlIsDigit (unsigned int ch); +int xmlIsExtender (unsigned int ch); +int xmlIsIdeographic (unsigned int ch); +int xmlIsPubidChar (unsigned int ch); +
+
+

Description

+
+

Details

+
+
+

+Macro xmlIsBaseCharQ

+
#define xmlIsBaseCharQ(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsBaseChar_ch

+
#define xmlIsBaseChar_ch(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsBlankQ

+
#define xmlIsBlankQ(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsBlank_ch

+
#define xmlIsBlank_ch(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsCharQ

+
#define xmlIsCharQ(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsChar_ch

+
#define xmlIsChar_ch(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsCombiningQ

+
#define xmlIsCombiningQ(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsDigitQ

+
#define xmlIsDigitQ(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsDigit_ch

+
#define xmlIsDigit_ch(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsExtenderQ

+
#define xmlIsExtenderQ(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsExtender_ch

+
#define xmlIsExtender_ch(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsIdeographicQ

+
#define xmlIsIdeographicQ(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsPubidCharQ

+
#define xmlIsPubidCharQ(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Macro xmlIsPubidChar_ch

+
#define xmlIsPubidChar_ch(c);
+
+

Automatically generated by genChRanges.py

+
++ + + + +
c:char to validate
+
+
+
+

+Structure xmlChLRange

+
struct _xmlChLRange {
+    unsigned int	low
+    unsigned int	high
+} xmlChLRange;
+
+

+
+
+
+

+Typedef xmlChLRangePtr

+
xmlChLRange * xmlChLRangePtr;
+
+

+
+
+
+

+Structure xmlChRangeGroup

+
struct _xmlChRangeGroup {
+    int	nbShortRange
+    int	nbLongRange
+    const xmlChSRange *	shortRange	: points to an array of ranges
+    const xmlChLRange *	longRange
+} xmlChRangeGroup;
+
+

+
+
+
+

+Typedef xmlChRangeGroupPtr

+
xmlChRangeGroup * xmlChRangeGroupPtr;
+
+

+
+
+
+

+Structure xmlChSRange

+
struct _xmlChSRange {
+    unsigned short	low
+    unsigned short	high
+} xmlChSRange;
+
+

+
+
+
+

+Typedef xmlChSRangePtr

+
xmlChSRange * xmlChSRangePtr;
+
+

+
+
+
+

+Variable xmlIsBaseCharGroup

+
const xmlChRangeGroup xmlIsBaseCharGroup;
+
+

+
+
+
+

+Variable xmlIsCharGroup

+
const xmlChRangeGroup xmlIsCharGroup;
+
+

+
+
+
+

+Variable xmlIsCombiningGroup

+
const xmlChRangeGroup xmlIsCombiningGroup;
+
+

+
+
+
+

+Variable xmlIsDigitGroup

+
const xmlChRangeGroup xmlIsDigitGroup;
+
+

+
+
+
+

+Variable xmlIsExtenderGroup

+
const xmlChRangeGroup xmlIsExtenderGroup;
+
+

+
+
+
+

+Variable xmlIsIdeographicGroup

+
const xmlChRangeGroup xmlIsIdeographicGroup;
+
+

+
+
+
+

+Variable xmlIsPubidChar_tab

+
const unsigned charxmlIsPubidChar_tab[256] xmlIsPubidChar_tab;
+
+

+
+
+
+

+xmlCharInRange ()

+
int	xmlCharInRange			(unsigned int val, 
const xmlChRangeGroup * rptr)
+
+

Does a binary search of the range table to determine if char is valid

+
++ + + + + + + + + + + + + + +
val:character to be validated
rptr:pointer to range to be used to validate
Returns:true if character valid, false otherwise
+
+
+
+

+xmlIsBaseChar ()

+
int	xmlIsBaseChar			(unsigned int ch)
+
+

This function is DEPRECATED. Use xmlIsBaseChar_ch or xmlIsBaseCharQ instead

+
++ + + + + + + + + + +
ch:character to validate
Returns:true if argument valid, false otherwise
+
+
+
+

+xmlIsBlank ()

+
int	xmlIsBlank			(unsigned int ch)
+
+

This function is DEPRECATED. Use xmlIsBlank_ch or xmlIsBlankQ instead

+
++ + + + + + + + + + +
ch:character to validate
Returns:true if argument valid, false otherwise
+
+
+
+

+xmlIsChar ()

+
int	xmlIsChar			(unsigned int ch)
+
+

This function is DEPRECATED. Use xmlIsChar_ch or xmlIsCharQ instead

+
++ + + + + + + + + + +
ch:character to validate
Returns:true if argument valid, false otherwise
+
+
+
+

+xmlIsCombining ()

+
int	xmlIsCombining			(unsigned int ch)
+
+

This function is DEPRECATED. Use xmlIsCombiningQ instead

+
++ + + + + + + + + + +
ch:character to validate
Returns:true if argument valid, false otherwise
+
+
+
+

+xmlIsDigit ()

+
int	xmlIsDigit			(unsigned int ch)
+
+

This function is DEPRECATED. Use xmlIsDigit_ch or xmlIsDigitQ instead

+
++ + + + + + + + + + +
ch:character to validate
Returns:true if argument valid, false otherwise
+
+
+
+

+xmlIsExtender ()

+
int	xmlIsExtender			(unsigned int ch)
+
+

This function is DEPRECATED. Use xmlIsExtender_ch or xmlIsExtenderQ instead

+
++ + + + + + + + + + +
ch:character to validate
Returns:true if argument valid, false otherwise
+
+
+
+

+xmlIsIdeographic ()

+
int	xmlIsIdeographic		(unsigned int ch)
+
+

This function is DEPRECATED. Use xmlIsIdeographicQ instead

+
++ + + + + + + + + + +
ch:character to validate
Returns:true if argument valid, false otherwise
+
+
+
+

+xmlIsPubidChar ()

+
int	xmlIsPubidChar			(unsigned int ch)
+
+

This function is DEPRECATED. Use xmlIsPubidChar_ch or xmlIsPubidCharQ instead

+
++ + + + + + + + + + +
ch:character to validate
Returns:true if argument valid, false otherwise
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-debugXML.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-debugXML.html new file mode 100644 index 0000000000000000000000000000000000000000..ec134dc1c455963b7dcd1881d69cb72047394c99 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-debugXML.html @@ -0,0 +1,873 @@ + + + +debugXML: Tree debugging APIs + + + + + + + + + + + + + + +

debugXML

+

debugXML - Tree debugging APIs

+

Interfaces to a set of routines used for debugging the tree produced by the XML parser.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlShellCtxt xmlShellCtxt;
+typedef xmlShellCtxt * xmlShellCtxtPtr;
+const char *	xmlBoolToText		(int boolval);
+int	xmlDebugCheckDocument		(FILE * output, 
xmlDocPtr doc); +void xmlDebugDumpAttr (FILE * output,
xmlAttrPtr attr,
int depth); +void xmlDebugDumpAttrList (FILE * output,
xmlAttrPtr attr,
int depth); +void xmlDebugDumpDTD (FILE * output,
xmlDtdPtr dtd); +void xmlDebugDumpDocument (FILE * output,
xmlDocPtr doc); +void xmlDebugDumpDocumentHead (FILE * output,
xmlDocPtr doc); +void xmlDebugDumpEntities (FILE * output,
xmlDocPtr doc); +void xmlDebugDumpNode (FILE * output,
xmlNodePtr node,
int depth); +void xmlDebugDumpNodeList (FILE * output,
xmlNodePtr node,
int depth); +void xmlDebugDumpOneNode (FILE * output,
xmlNodePtr node,
int depth); +void xmlDebugDumpString (FILE * output,
const xmlChar * str); +int xmlLsCountNode (xmlNodePtr node); +void xmlLsOneNode (FILE * output,
xmlNodePtr node); +void xmlShell (xmlDocPtr doc,
const char * filename,
xmlShellReadlineFunc input,
FILE * output); +int xmlShellBase (xmlShellCtxtPtr ctxt,
char * arg,
xmlNodePtr node,
xmlNodePtr node2); +int xmlShellCat (xmlShellCtxtPtr ctxt,
char * arg,
xmlNodePtr node,
xmlNodePtr node2); +typedef int xmlShellCmd (xmlShellCtxtPtr ctxt,
char * arg,
xmlNodePtr node,
xmlNodePtr node2); +int xmlShellDir (xmlShellCtxtPtr ctxt,
char * arg,
xmlNodePtr node,
xmlNodePtr node2); +int xmlShellDu (xmlShellCtxtPtr ctxt,
char * arg,
xmlNodePtr tree,
xmlNodePtr node2); +int xmlShellList (xmlShellCtxtPtr ctxt,
char * arg,
xmlNodePtr node,
xmlNodePtr node2); +int xmlShellLoad (xmlShellCtxtPtr ctxt,
char * filename,
xmlNodePtr node,
xmlNodePtr node2); +void xmlShellPrintNode (xmlNodePtr node); +void xmlShellPrintXPathError (int errorType,
const char * arg); +void xmlShellPrintXPathResult (xmlXPathObjectPtr list); +int xmlShellPwd (xmlShellCtxtPtr ctxt,
char * buffer,
xmlNodePtr node,
xmlNodePtr node2); +typedef char * xmlShellReadlineFunc (char * prompt); +int xmlShellSave (xmlShellCtxtPtr ctxt,
char * filename,
xmlNodePtr node,
xmlNodePtr node2); +int xmlShellValidate (xmlShellCtxtPtr ctxt,
char * dtd,
xmlNodePtr node,
xmlNodePtr node2); +int xmlShellWrite (xmlShellCtxtPtr ctxt,
char * filename,
xmlNodePtr node,
xmlNodePtr node2); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlShellCtxt

+
struct _xmlShellCtxt {
+    char *	filename
+    xmlDocPtr	doc
+    xmlNodePtr	node
+    xmlXPathContextPtr	pctxt
+    int	loaded
+    FILE *	output
+    xmlShellReadlineFunc	input
+} xmlShellCtxt;
+
+

+
+
+
+

+Typedef xmlShellCtxtPtr

+
xmlShellCtxt * xmlShellCtxtPtr;
+
+

+
+
+
+

+Function type xmlShellCmd

+
int	xmlShellCmd			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
+
+

This is a generic signature for the XML shell functions.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:a shell context
arg:a string argument
node:a first node
node2:a second node
Returns:an int, negative returns indicating errors.
+
+
+
+

+Function type xmlShellReadlineFunc

+
char *	xmlShellReadlineFunc		(char * prompt)
+
+

This is a generic signature for the XML shell input function.

+
++ + + + + + + + + + +
prompt:a string prompt
Returns:a string which will be freed by the Shell.
+
+
+
+

+xmlBoolToText ()

+
const char *	xmlBoolToText		(int boolval)
+
+

Convenient way to turn bool into text

+
++ + + + + + + + + + +
boolval:a bool to turn into text
Returns:a pointer to either "True" or "False"
+
+
+
+

+xmlDebugCheckDocument ()

+
int	xmlDebugCheckDocument		(FILE * output, 
xmlDocPtr doc)
+
+

Check the document for potential content problems, and output the errors to @output

+
++ + + + + + + + + + + + + + +
output:the FILE * for the output
doc:the document
Returns:the number of errors found
+
+
+
+

+xmlDebugDumpAttr ()

+
void	xmlDebugDumpAttr		(FILE * output, 
xmlAttrPtr attr,
int depth)
+
+

Dumps debug information for the attribute

+
++ + + + + + + + + + + + + + +
output:the FILE * for the output
attr:the attribute +
depth:the indentation level.
+
+
+
+

+xmlDebugDumpAttrList ()

+
void	xmlDebugDumpAttrList		(FILE * output, 
xmlAttrPtr attr,
int depth)
+
+

Dumps debug information for the attribute list

+
++ + + + + + + + + + + + + + +
output:the FILE * for the output
attr:the attribute list
depth:the indentation level.
+
+
+
+

+xmlDebugDumpDTD ()

+
void	xmlDebugDumpDTD			(FILE * output, 
xmlDtdPtr dtd)
+
+

Dumps debug information for the DTD

+
++ + + + + + + + + + +
output:the FILE * for the output
dtd:the DTD
+
+
+
+

+xmlDebugDumpDocument ()

+
void	xmlDebugDumpDocument		(FILE * output, 
xmlDocPtr doc)
+
+

Dumps debug information for the document, it's recursive

+
++ + + + + + + + + + +
output:the FILE * for the output
doc:the document
+
+
+
+

+xmlDebugDumpDocumentHead ()

+
void	xmlDebugDumpDocumentHead	(FILE * output, 
xmlDocPtr doc)
+
+

Dumps debug information concerning the document, not recursive

+
++ + + + + + + + + + +
output:the FILE * for the output
doc:the document
+
+
+
+

+xmlDebugDumpEntities ()

+
void	xmlDebugDumpEntities		(FILE * output, 
xmlDocPtr doc)
+
+

Dumps debug information for all the entities in use by the document

+
++ + + + + + + + + + +
output:the FILE * for the output
doc:the document
+
+
+
+

+xmlDebugDumpNode ()

+
void	xmlDebugDumpNode		(FILE * output, 
xmlNodePtr node,
int depth)
+
+

Dumps debug information for the element node, it is recursive

+
++ + + + + + + + + + + + + + +
output:the FILE * for the output
node:the node
depth:the indentation level.
+
+
+
+

+xmlDebugDumpNodeList ()

+
void	xmlDebugDumpNodeList		(FILE * output, 
xmlNodePtr node,
int depth)
+
+

Dumps debug information for the list of element node, it is recursive

+
++ + + + + + + + + + + + + + +
output:the FILE * for the output
node:the node list
depth:the indentation level.
+
+
+
+

+xmlDebugDumpOneNode ()

+
void	xmlDebugDumpOneNode		(FILE * output, 
xmlNodePtr node,
int depth)
+
+

Dumps debug information for the element node, it is not recursive

+
++ + + + + + + + + + + + + + +
output:the FILE * for the output
node:the node
depth:the indentation level.
+
+
+
+

+xmlDebugDumpString ()

+
void	xmlDebugDumpString		(FILE * output, 
const xmlChar * str)
+
+

Dumps information about the string, shorten it if necessary

+
++ + + + + + + + + + +
output:the FILE * for the output
str:the string
+
+
+
+

+xmlLsCountNode ()

+
int	xmlLsCountNode			(xmlNodePtr node)
+
+

Count the children of @node.

+
++ + + + + + + + + + +
node:the node to count
Returns:the number of children of @node.
+
+
+
+

+xmlLsOneNode ()

+
void	xmlLsOneNode			(FILE * output, 
xmlNodePtr node)
+
+

Dump to @output the type and name of @node.

+
++ + + + + + + + + + +
output:the FILE * for the output
node:the node to dump
+
+
+
+

+xmlShell ()

+
void	xmlShell			(xmlDocPtr doc, 
const char * filename,
xmlShellReadlineFunc input,
FILE * output)
+
+

Implements the XML shell This allow to load, validate, view, modify and save a document using a environment similar to a UNIX commandline.

+
++ + + + + + + + + + + + + + + + + + +
doc:the initial document
filename:the output buffer
input:the line reading function
output:the output FILE*, defaults to stdout if NULL
+
+
+
+

+xmlShellBase ()

+
int	xmlShellBase			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "base" dumps the current XML base of the node

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
arg:unused
node:a node
node2:unused
Returns:0
+
+
+
+

+xmlShellCat ()

+
int	xmlShellCat			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "cat" dumps the serialization node content (XML or HTML).

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
arg:unused
node:a node
node2:unused
Returns:0
+
+
+
+

+xmlShellDir ()

+
int	xmlShellDir			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "dir" dumps information about the node (namespace, attributes, content).

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
arg:unused
node:a node
node2:unused
Returns:0
+
+
+
+

+xmlShellDu ()

+
int	xmlShellDu			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr tree,
xmlNodePtr node2)
+
+

Implements the XML shell function "du" show the structure of the subtree under node @tree If @tree is null, the command works on the current node.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
arg:unused
tree:a node defining a subtree
node2:unused
Returns:0 or -1 in case of error
+
+
+
+

+xmlShellList ()

+
int	xmlShellList			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "ls" Does an Unix like listing of the given node (like a directory)

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
arg:unused
node:a node
node2:unused
Returns:0
+
+
+
+

+xmlShellLoad ()

+
int	xmlShellLoad			(xmlShellCtxtPtr ctxt, 
char * filename,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "load" loads a new document specified by the filename

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
filename:the file name
node:unused
node2:unused
Returns:0 or -1 if loading failed
+
+
+
+

+xmlShellPrintNode ()

+
void	xmlShellPrintNode		(xmlNodePtr node)
+
+

Print node to the output FILE

+
++ + + + +
node:a non-null node to print to the output FILE
+
+
+
+

+xmlShellPrintXPathError ()

+
void	xmlShellPrintXPathError		(int errorType, 
const char * arg)
+
+

Print the xpath error to libxml default error channel

+
++ + + + + + + + + + +
errorType:valid xpath error id
arg:the argument that cause xpath to fail
+
+
+
+

+xmlShellPrintXPathResult ()

+
void	xmlShellPrintXPathResult	(xmlXPathObjectPtr list)
+
+

Prints result to the output FILE

+
++ + + + +
list:a valid result generated by an xpath evaluation
+
+
+
+

+xmlShellPwd ()

+
int	xmlShellPwd			(xmlShellCtxtPtr ctxt, 
char * buffer,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "pwd" Show the full path from the root to the node, if needed building thumblers when similar elements exists at a given ancestor level. The output is compatible with XPath commands.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
buffer:the output buffer
node:a node
node2:unused
Returns:0 or -1 in case of error
+
+
+
+

+xmlShellSave ()

+
int	xmlShellSave			(xmlShellCtxtPtr ctxt, 
char * filename,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "save" Write the current document to the filename, or it's original name

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
filename:the file name (optional)
node:unused
node2:unused
Returns:0 or -1 in case of error
+
+
+
+

+xmlShellValidate ()

+
int	xmlShellValidate		(xmlShellCtxtPtr ctxt, 
char * dtd,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "validate" Validate the document, if a DTD path is provided, then the validation is done against the given DTD.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
dtd:the DTD URI (optional)
node:unused
node2:unused
Returns:0 or -1 in case of error
+
+
+
+

+xmlShellWrite ()

+
int	xmlShellWrite			(xmlShellCtxtPtr ctxt, 
char * filename,
xmlNodePtr node,
xmlNodePtr node2)
+
+

Implements the XML shell function "write" Write the current node to the filename, it saves the serialization of the subtree under the @node specified

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the shell context
filename:the file name
node:a node in the tree
node2:unused
Returns:0 or -1 in case of error
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-dict.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-dict.html new file mode 100644 index 0000000000000000000000000000000000000000..d2a56c10b8283b7590242c6a0f5e5b38c9a3bdad --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-dict.html @@ -0,0 +1,341 @@ + + + +dict: string dictionary + + + + + + + + + + + + + + +

dict

+

dict - string dictionary

+

dictionary of reusable strings, just used to avoid allocation and freeing operations.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlDict xmlDict;
+typedef xmlDict * xmlDictPtr;
+void	xmlDictCleanup			(void);
+xmlDictPtr	xmlDictCreate		(void);
+xmlDictPtr	xmlDictCreateSub	(xmlDictPtr sub);
+const xmlChar *	xmlDictExists		(xmlDictPtr dict, 
const xmlChar * name,
int len); +void xmlDictFree (xmlDictPtr dict); +size_t xmlDictGetUsage (xmlDictPtr dict); +const xmlChar * xmlDictLookup (xmlDictPtr dict,
const xmlChar * name,
int len); +int xmlDictOwns (xmlDictPtr dict,
const xmlChar * str); +const xmlChar * xmlDictQLookup (xmlDictPtr dict,
const xmlChar * prefix,
const xmlChar * name); +int xmlDictReference (xmlDictPtr dict); +size_t xmlDictSetLimit (xmlDictPtr dict,
size_t limit); +int xmlDictSize (xmlDictPtr dict); +int xmlInitializeDict (void); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlDict

+
struct _xmlDict {
+The content of this structure is not made public by the API.
+} xmlDict;
+
+

+
+
+
+

+Typedef xmlDictPtr

+
xmlDict * xmlDictPtr;
+
+

+
+
+
+

+xmlDictCleanup ()

+
void	xmlDictCleanup			(void)
+
+

DEPRECATED: This function is a no-op. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all.

+
+
+
+

+xmlDictCreate ()

+
xmlDictPtr	xmlDictCreate		(void)
+
+

Create a new dictionary

+
++ + + + +
Returns:the newly created dictionary, or NULL if an error occurred.
+
+
+
+

+xmlDictCreateSub ()

+
xmlDictPtr	xmlDictCreateSub	(xmlDictPtr sub)
+
+

Create a new dictionary, inheriting strings from the read-only dictionary @sub. On lookup, strings are first searched in the new dictionary, then in @sub, and if not found are created in the new dictionary.

+
++ + + + + + + + + + +
sub:an existing dictionary
Returns:the newly created dictionary, or NULL if an error occurred.
+
+
+
+

+xmlDictExists ()

+
const xmlChar *	xmlDictExists		(xmlDictPtr dict, 
const xmlChar * name,
int len)
+
+

Check if a string exists in the dictionary.

+
++ + + + + + + + + + + + + + + + + + +
dict:the dictionary
name:the name of the userdata
len:the length of the name, if -1 it is recomputed
Returns:the internal copy of the name or NULL if not found.
+
+
+
+

+xmlDictFree ()

+
void	xmlDictFree			(xmlDictPtr dict)
+
+

Free the hash @dict and its contents. The userdata is deallocated with @f if provided.

+
++ + + + +
dict:the dictionary
+
+
+
+

+xmlDictGetUsage ()

+
size_t	xmlDictGetUsage			(xmlDictPtr dict)
+
+

Get how much memory is used by a dictionary for strings Added in 2.9.0

+
++ + + + + + + + + + +
dict:the dictionary
Returns:the amount of strings allocated
+
+
+
+

+xmlDictLookup ()

+
const xmlChar *	xmlDictLookup		(xmlDictPtr dict, 
const xmlChar * name,
int len)
+
+

Lookup a string and add it to the dictionary if it wasn't found.

+
++ + + + + + + + + + + + + + + + + + +
dict:dictionary
name:string key
len:length of the key, if -1 it is recomputed
Returns:the interned copy of the string or NULL if a memory allocation failed.
+
+
+
+

+xmlDictOwns ()

+
int	xmlDictOwns			(xmlDictPtr dict, 
const xmlChar * str)
+
+

check if a string is owned by the dictionary

+
++ + + + + + + + + + + + + + +
dict:the dictionary
str:the string
Returns:1 if true, 0 if false and -1 in case of error -1 in case of error
+
+
+
+

+xmlDictQLookup ()

+
const xmlChar *	xmlDictQLookup		(xmlDictPtr dict, 
const xmlChar * prefix,
const xmlChar * name)
+
+

Lookup the QName @prefix:@name and add it to the dictionary if it wasn't found.

+
++ + + + + + + + + + + + + + + + + + +
dict:the dictionary
prefix:the prefix
name:the name
Returns:the interned copy of the string or NULL if a memory allocation failed.
+
+
+
+

+xmlDictReference ()

+
int	xmlDictReference		(xmlDictPtr dict)
+
+

Increment the reference counter of a dictionary

+
++ + + + + + + + + + +
dict:the dictionary
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlDictSetLimit ()

+
size_t	xmlDictSetLimit			(xmlDictPtr dict, 
size_t limit)
+
+

Set a size limit for the dictionary Added in 2.9.0

+
++ + + + + + + + + + + + + + +
dict:the dictionary
limit:the limit in bytes
Returns:the previous limit of the dictionary or 0
+
+
+
+

+xmlDictSize ()

+
int	xmlDictSize			(xmlDictPtr dict)
+
+

Query the number of elements installed in the hash @dict.

+
++ + + + + + + + + + +
dict:the dictionary
Returns:the number of elements in the dictionary or -1 in case of error
+
+
+
+

+xmlInitializeDict ()

+
int	xmlInitializeDict		(void)
+
+

DEPRECATED: Alias for xmlInitParser.

+
++ + + + +
Returns:0.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-encoding.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-encoding.html new file mode 100644 index 0000000000000000000000000000000000000000..f656c169e1ab36b17f92fa3a5c599e005e778e2c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-encoding.html @@ -0,0 +1,671 @@ + + + +encoding: interface for the encoding conversion functions + + + + + + + + + + + + + + +

encoding

+

encoding - interface for the encoding conversion functions

+

interface for the encoding conversion functions needed for XML basic encoding and iconv() support. Related specs are rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies [ISO-10646] UTF-8 and UTF-16 in Annexes [ISO-8859-1] ISO Latin-1 characters codes. [UNICODE] The Unicode Consortium, "The Unicode Standard -- Worldwide Character Encoding -- Version 1.0", Addison- Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is described in Unicode Technical Report #4. [US-ASCII] Coded Character Set--7-bit American Standard Code for Information Interchange, ANSI X3.4-1986.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef enum xmlCharEncError;
+typedef enum xmlCharEncoding;
+typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
+typedef xmlCharEncodingHandler * xmlCharEncodingHandlerPtr;
+int	UTF8Toisolat1			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen); +int isolat1ToUTF8 (unsigned char * out,
int * outlen,
const unsigned char * in,
int * inlen); +int xmlAddEncodingAlias (const char * name,
const char * alias); +int xmlCharEncCloseFunc (xmlCharEncodingHandler * handler); +int xmlCharEncFirstLine (xmlCharEncodingHandler * handler,
xmlBufferPtr out,
xmlBufferPtr in); +int xmlCharEncInFunc (xmlCharEncodingHandler * handler,
xmlBufferPtr out,
xmlBufferPtr in); +int xmlCharEncOutFunc (xmlCharEncodingHandler * handler,
xmlBufferPtr out,
xmlBufferPtr in); +typedef int xmlCharEncodingInputFunc (unsigned char * out,
int * outlen,
const unsigned char * in,
int * inlen); +typedef int xmlCharEncodingOutputFunc (unsigned char * out,
int * outlen,
const unsigned char * in,
int * inlen); +void xmlCleanupCharEncodingHandlers (void); +void xmlCleanupEncodingAliases (void); +int xmlDelEncodingAlias (const char * alias); +xmlCharEncoding xmlDetectCharEncoding (const unsigned char * in,
int len); +xmlCharEncodingHandlerPtr xmlFindCharEncodingHandler (const char * name); +xmlCharEncodingHandlerPtr xmlGetCharEncodingHandler (xmlCharEncoding enc); +const char * xmlGetCharEncodingName (xmlCharEncoding enc); +const char * xmlGetEncodingAlias (const char * alias); +void xmlInitCharEncodingHandlers (void); +int xmlLookupCharEncodingHandler (xmlCharEncoding enc,
xmlCharEncodingHandler ** out); +xmlCharEncodingHandlerPtr xmlNewCharEncodingHandler (const char * name,
xmlCharEncodingInputFunc input,
xmlCharEncodingOutputFunc output); +int xmlOpenCharEncodingHandler (const char * name,
int output,
xmlCharEncodingHandler ** out); +xmlCharEncoding xmlParseCharEncoding (const char * name); +void xmlRegisterCharEncodingHandler (xmlCharEncodingHandlerPtr handler); +
+
+

Description

+
+

Details

+
+ +
+
+

+Enum xmlCharEncoding

+
enum xmlCharEncoding {
+    XML_CHAR_ENCODING_ERROR = -1 /* No char encoding detected */
+    XML_CHAR_ENCODING_NONE = 0 /* No char encoding detected */
+    XML_CHAR_ENCODING_UTF8 = 1 /* UTF-8 */
+    XML_CHAR_ENCODING_UTF16LE = 2 /* UTF-16 little endian */
+    XML_CHAR_ENCODING_UTF16BE = 3 /* UTF-16 big endian */
+    XML_CHAR_ENCODING_UCS4LE = 4 /* UCS-4 little endian */
+    XML_CHAR_ENCODING_UCS4BE = 5 /* UCS-4 big endian */
+    XML_CHAR_ENCODING_EBCDIC = 6 /* EBCDIC uh! */
+    XML_CHAR_ENCODING_UCS4_2143 = 7 /* UCS-4 unusual ordering */
+    XML_CHAR_ENCODING_UCS4_3412 = 8 /* UCS-4 unusual ordering */
+    XML_CHAR_ENCODING_UCS2 = 9 /* UCS-2 */
+    XML_CHAR_ENCODING_8859_1 = 10 /* ISO-8859-1 ISO Latin 1 */
+    XML_CHAR_ENCODING_8859_2 = 11 /* ISO-8859-2 ISO Latin 2 */
+    XML_CHAR_ENCODING_8859_3 = 12 /* ISO-8859-3 */
+    XML_CHAR_ENCODING_8859_4 = 13 /* ISO-8859-4 */
+    XML_CHAR_ENCODING_8859_5 = 14 /* ISO-8859-5 */
+    XML_CHAR_ENCODING_8859_6 = 15 /* ISO-8859-6 */
+    XML_CHAR_ENCODING_8859_7 = 16 /* ISO-8859-7 */
+    XML_CHAR_ENCODING_8859_8 = 17 /* ISO-8859-8 */
+    XML_CHAR_ENCODING_8859_9 = 18 /* ISO-8859-9 */
+    XML_CHAR_ENCODING_2022_JP = 19 /* ISO-2022-JP */
+    XML_CHAR_ENCODING_SHIFT_JIS = 20 /* Shift_JIS */
+    XML_CHAR_ENCODING_EUC_JP = 21 /* EUC-JP */
+    XML_CHAR_ENCODING_ASCII = 22 /*  pure ASCII */
+};
+
+

+
+
+
+

+Structure xmlCharEncodingHandler

+
struct _xmlCharEncodingHandler {
+    char *	name
+    xmlCharEncodingInputFunc	input
+    xmlCharEncodingOutputFunc	output
+    iconv_t	iconv_in
+    iconv_t	iconv_out
+    struct _uconv_t *	uconv_in
+    struct _uconv_t *	uconv_out
+} xmlCharEncodingHandler;
+
+

+
+
+
+

+Typedef xmlCharEncodingHandlerPtr

+
xmlCharEncodingHandler * xmlCharEncodingHandlerPtr;
+
+

+
+
+
+

+Function type xmlCharEncodingInputFunc

+
int	xmlCharEncodingInputFunc	(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
+
+

Take a block of chars in the original encoding and try to convert it to an UTF-8 block of chars out.

+
++ + + + + + + + + + + + + + + + + + + + + + +
out:a pointer to an array of bytes to store the UTF-8 result
outlen:the length of @out
in:a pointer to an array of chars in the original encoding
inlen:the length of @in
Returns:the number of bytes written, -1 if lack of space, or -2 if the transcoding failed. The value of @inlen after return is the number of octets consumed if the return value is positive, else unpredictiable. The value of @outlen after return is the number of octets consumed.
+
+
+
+

+Function type xmlCharEncodingOutputFunc

+
int	xmlCharEncodingOutputFunc	(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
+
+

Take a block of UTF-8 chars in and try to convert it to another encoding. Note: a first call designed to produce heading info is called with in = NULL. If stateful this should also initialize the encoder state.

+
++ + + + + + + + + + + + + + + + + + + + + + +
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
Returns:the number of bytes written, -1 if lack of space, or -2 if the transcoding failed. The value of @inlen after return is the number of octets consumed if the return value is positive, else unpredictiable. The value of @outlen after return is the number of octets produced.
+
+
+
+

+UTF8Toisolat1 ()

+
int	UTF8Toisolat1			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
+
+

Take a block of UTF-8 chars in and try to convert it to an ISO Latin 1 block of chars out.

+
++ + + + + + + + + + + + + + + + + + + + + + +
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
Returns:the number of bytes written or an XML_ENC_ERR code. The value of @inlen after return is the number of octets consumed if the return value is positive, else unpredictable. The value of @outlen after return is the number of octets produced.
+
+
+
+

+isolat1ToUTF8 ()

+
int	isolat1ToUTF8			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
+
+

Take a block of ISO Latin 1 chars in and try to convert it to an UTF-8 block of chars out.

+
++ + + + + + + + + + + + + + + + + + + + + + +
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of ISO Latin 1 chars
inlen:the length of @in
Returns:the number of bytes written or an XML_ENC_ERR code. The value of @inlen after return is the number of octets consumed if the return value is positive, else unpredictable. The value of @outlen after return is the number of octets produced.
+
+
+
+

+xmlAddEncodingAlias ()

+
int	xmlAddEncodingAlias		(const char * name, 
const char * alias)
+
+

Registers an alias @alias for an encoding named @name. Existing alias will be overwritten.

+
++ + + + + + + + + + + + + + +
name:the encoding name as parsed, in UTF-8 format (ASCII actually)
alias:the alias name as parsed, in UTF-8 format (ASCII actually)
Returns:0 in case of success, -1 in case of error
+
+
+
+

+xmlCharEncCloseFunc ()

+
int	xmlCharEncCloseFunc		(xmlCharEncodingHandler * handler)
+
+

Generic front-end for encoding handler close function

+
++ + + + + + + + + + +
handler:char encoding transformation data structure
Returns:0 if success, or -1 in case of error
+
+
+
+

+xmlCharEncFirstLine ()

+
int	xmlCharEncFirstLine		(xmlCharEncodingHandler * handler, 
xmlBufferPtr out,
xmlBufferPtr in)
+
+

DEPERECATED: Don't use.

+
++ + + + + + + + + + + + + + + + + + +
handler:char encoding transformation data structure
out:an xmlBuffer for the output.
in:an xmlBuffer for the input
Returns:the number of bytes written or an XML_ENC_ERR code.
+
+
+
+

+xmlCharEncInFunc ()

+
int	xmlCharEncInFunc		(xmlCharEncodingHandler * handler, 
xmlBufferPtr out,
xmlBufferPtr in)
+
+

Generic front-end for the encoding handler input function

+
++ + + + + + + + + + + + + + + + + + +
handler:char encoding transformation data structure
out:an xmlBuffer for the output.
in:an xmlBuffer for the input
Returns:the number of bytes written or an XML_ENC_ERR code.
+
+
+
+

+xmlCharEncOutFunc ()

+
int	xmlCharEncOutFunc		(xmlCharEncodingHandler * handler, 
xmlBufferPtr out,
xmlBufferPtr in)
+
+

Generic front-end for the encoding handler output function a first call with @in == NULL has to be made firs to initiate the output in case of non-stateless encoding needing to initiate their state or the output (like the BOM in UTF16). In case of UTF8 sequence conversion errors for the given encoder, the content will be automatically remapped to a CharRef sequence.

+
++ + + + + + + + + + + + + + + + + + +
handler:char encoding transformation data structure
out:an xmlBuffer for the output.
in:an xmlBuffer for the input
Returns:the number of bytes written or an XML_ENC_ERR code.
+
+
+
+

+xmlCleanupCharEncodingHandlers ()

+
void	xmlCleanupCharEncodingHandlers	(void)
+
+

DEPRECATED: This function will be made private. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all. Cleanup the memory allocated for the char encoding support, it unregisters all the encoding handlers and the aliases.

+
+
+
+

+xmlCleanupEncodingAliases ()

+
void	xmlCleanupEncodingAliases	(void)
+
+

Unregisters all aliases

+
+
+
+

+xmlDelEncodingAlias ()

+
int	xmlDelEncodingAlias		(const char * alias)
+
+

Unregisters an encoding alias @alias

+
++ + + + + + + + + + +
alias:the alias name as parsed, in UTF-8 format (ASCII actually)
Returns:0 in case of success, -1 in case of error
+
+
+
+

+xmlDetectCharEncoding ()

+
xmlCharEncoding	xmlDetectCharEncoding	(const unsigned char * in, 
int len)
+
+

Guess the encoding of the entity using the first bytes of the entity content according to the non-normative appendix F of the XML-1.0 recommendation.

+
++ + + + + + + + + + + + + + +
in:a pointer to the first bytes of the XML entity, must be at least 2 bytes long (at least 4 if encoding is UTF4 variant).
len:pointer to the length of the buffer
Returns:one of the XML_CHAR_ENCODING_... values.
+
+
+
+

+xmlFindCharEncodingHandler ()

+
xmlCharEncodingHandlerPtr	xmlFindCharEncodingHandler	(const char * name)
+
+

DEPRECATED: Use xmlOpenCharEncodingHandler which has better error reporting.

+
++ + + + + + + + + + +
name:a string describing the char encoding.
Returns:the handler or NULL if no handler was found or an error occurred.
+
+
+
+

+xmlGetCharEncodingHandler ()

+
xmlCharEncodingHandlerPtr	xmlGetCharEncodingHandler	(xmlCharEncoding enc)
+
+

DEPRECATED: Use xmlLookupCharEncodingHandler which has better error reporting.

+
++ + + + + + + + + + +
enc:an xmlCharEncoding value.
Returns:the handler or NULL if no handler was found or an error occurred.
+
+
+
+

+xmlGetCharEncodingName ()

+
const char *	xmlGetCharEncodingName	(xmlCharEncoding enc)
+
+

The "canonical" name for XML encoding. C.f. http://www.w3.org/TR/REC-xml#charencoding Section 4.3.3 Character Encoding in Entities

+
++ + + + + + + + + + +
enc:the encoding
Returns:the canonical name for the given encoding
+
+
+
+

+xmlGetEncodingAlias ()

+
const char *	xmlGetEncodingAlias	(const char * alias)
+
+

Lookup an encoding name for the given alias.

+
++ + + + + + + + + + +
alias:the alias name as parsed, in UTF-8 format (ASCII actually)
Returns:NULL if not found, otherwise the original name
+
+
+
+

+xmlInitCharEncodingHandlers ()

+
void	xmlInitCharEncodingHandlers	(void)
+
+

DEPRECATED: Alias for xmlInitParser.

+
+
+
+

+xmlLookupCharEncodingHandler ()

+
int	xmlLookupCharEncodingHandler	(xmlCharEncoding enc, 
xmlCharEncodingHandler ** out)
+
+

Find or create a handler matching the encoding. If no default or registered handler could be found, try to create a handler using iconv or ICU if supported. The handler must be closed with xmlCharEncCloseFunc. Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
enc:an xmlCharEncoding value.
out:pointer to result
Returns:an xmlParserErrors error code.
+
+
+
+

+xmlNewCharEncodingHandler ()

+
xmlCharEncodingHandlerPtr	xmlNewCharEncodingHandler	(const char * name, 
xmlCharEncodingInputFunc input,
xmlCharEncodingOutputFunc output)
+
+

Create and registers an xmlCharEncodingHandler.

+
++ + + + + + + + + + + + + + + + + + +
name:the encoding name, in UTF-8 format (ASCII actually)
input:the xmlCharEncodingInputFunc to read that encoding
output:the xmlCharEncodingOutputFunc to write that encoding
Returns:the xmlCharEncodingHandlerPtr created (or NULL in case of error).
+
+
+
+

+xmlOpenCharEncodingHandler ()

+
int	xmlOpenCharEncodingHandler	(const char * name, 
int output,
xmlCharEncodingHandler ** out)
+
+

Find or create a handler matching the encoding. If no default or registered handler could be found, try to create a handler using iconv or ICU if supported. The handler must be closed with xmlCharEncCloseFunc. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + +
name:a string describing the char encoding.
output:boolean, use handler for output
out:pointer to result
Returns:an xmlParserErrors error code.
+
+
+
+

+xmlParseCharEncoding ()

+
xmlCharEncoding	xmlParseCharEncoding	(const char * name)
+
+

Compare the string to the encoding schemes already known. Note that the comparison is case insensitive accordingly to the section [XML] 4.3.3 Character Encoding in Entities.

+
++ + + + + + + + + + +
name:the encoding name as parsed, in UTF-8 format (ASCII actually)
Returns:one of the XML_CHAR_ENCODING_... values or XML_CHAR_ENCODING_NONE if not recognized.
+
+
+
+

+xmlRegisterCharEncodingHandler ()

+
void	xmlRegisterCharEncodingHandler	(xmlCharEncodingHandlerPtr handler)
+
+

Register the char encoding handler, surprising, isn't it ?

+
++ + + + +
handler:the xmlCharEncodingHandlerPtr handler block
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-entities.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-entities.html new file mode 100644 index 0000000000000000000000000000000000000000..243f35444734ec5eeddbf2db5b063a7fe8ca6a7d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-entities.html @@ -0,0 +1,556 @@ + + + +entities: interface for the XML entities handling + + + + + + + + + + + + + + +

entities

+

entities - interface for the XML entities handling

+

this module provides some of the entity API needed for the parser and applications.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlHashTable xmlEntitiesTable;
+typedef xmlEntitiesTable * xmlEntitiesTablePtr;
+typedef enum xmlEntityType;
+xmlEntityPtr	xmlAddDocEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content); +xmlEntityPtr xmlAddDtdEntity (xmlDocPtr doc,
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content); +int xmlAddEntity (xmlDocPtr doc,
int extSubset,
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content,
xmlEntityPtr * out); +void xmlCleanupPredefinedEntities (void); +xmlEntitiesTablePtr xmlCopyEntitiesTable (xmlEntitiesTablePtr table); +xmlEntitiesTablePtr xmlCreateEntitiesTable (void); +void xmlDumpEntitiesTable (xmlBufferPtr buf,
xmlEntitiesTablePtr table); +void xmlDumpEntityDecl (xmlBufferPtr buf,
xmlEntityPtr ent); +const xmlChar * xmlEncodeEntities (xmlDocPtr doc,
const xmlChar * input); +xmlChar * xmlEncodeEntitiesReentrant (xmlDocPtr doc,
const xmlChar * input); +xmlChar * xmlEncodeSpecialChars (const xmlDoc * doc,
const xmlChar * input); +void xmlFreeEntitiesTable (xmlEntitiesTablePtr table); +void xmlFreeEntity (xmlEntityPtr entity); +xmlEntityPtr xmlGetDocEntity (const xmlDoc * doc,
const xmlChar * name); +xmlEntityPtr xmlGetDtdEntity (xmlDocPtr doc,
const xmlChar * name); +xmlEntityPtr xmlGetParameterEntity (xmlDocPtr doc,
const xmlChar * name); +xmlEntityPtr xmlGetPredefinedEntity (const xmlChar * name); +void xmlInitializePredefinedEntities (void); +xmlEntityPtr xmlNewEntity (xmlDocPtr doc,
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlEntitiesTable

+
struct _xmlHashTable {
+The content of this structure is not made public by the API.
+} xmlEntitiesTable;
+
+

+
+
+
+

+Typedef xmlEntitiesTablePtr

+
xmlEntitiesTable * xmlEntitiesTablePtr;
+
+

+
+
+ +
+
+

+xmlAddDocEntity ()

+
xmlEntityPtr	xmlAddDocEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
+
+

Register a new entity for this document.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the document
name:the entity name
type:the entity type XML_xxx_yyy_ENTITY
ExternalID:the entity external ID if available
SystemID:the entity system ID if available
content:the entity content
Returns:a pointer to the entity or NULL in case of error
+
+
+
+

+xmlAddDtdEntity ()

+
xmlEntityPtr	xmlAddDtdEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
+
+

Register a new entity for this document DTD external subset.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the document
name:the entity name
type:the entity type XML_xxx_yyy_ENTITY
ExternalID:the entity external ID if available
SystemID:the entity system ID if available
content:the entity content
Returns:a pointer to the entity or NULL in case of error
+
+
+
+

+xmlAddEntity ()

+
int	xmlAddEntity			(xmlDocPtr doc, 
int extSubset,
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content,
xmlEntityPtr * out)
+
+

Register a new entity for this document. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the document
extSubset:add to the external or internal subset
name:the entity name
type:the entity type XML_xxx_yyy_ENTITY
ExternalID:the entity external ID if available
SystemID:the entity system ID if available
content:the entity content
out:pointer to resulting entity (optional)
Returns:an xmlParserErrors error code.
+
+
+
+

+xmlCleanupPredefinedEntities ()

+
void	xmlCleanupPredefinedEntities	(void)
+
+

Cleanup up the predefined entities table. Deprecated call

+
+
+
+

+xmlCopyEntitiesTable ()

+
xmlEntitiesTablePtr	xmlCopyEntitiesTable	(xmlEntitiesTablePtr table)
+
+

Build a copy of an entity table.

+
++ + + + + + + + + + +
table:An entity table
Returns:the new xmlEntitiesTablePtr or NULL in case of error.
+
+
+
+

+xmlCreateEntitiesTable ()

+
xmlEntitiesTablePtr	xmlCreateEntitiesTable	(void)
+
+

create and initialize an empty entities hash table. This really doesn't make sense and should be deprecated

+
++ + + + +
Returns:the xmlEntitiesTablePtr just created or NULL in case of error.
+
+
+
+

+xmlDumpEntitiesTable ()

+
void	xmlDumpEntitiesTable		(xmlBufferPtr buf, 
xmlEntitiesTablePtr table)
+
+

This will dump the content of the entity table as an XML DTD definition

+
++ + + + + + + + + + +
buf:An XML buffer.
table:An entity table
+
+
+
+

+xmlDumpEntityDecl ()

+
void	xmlDumpEntityDecl		(xmlBufferPtr buf, 
xmlEntityPtr ent)
+
+

This will dump the content of the entity table as an XML DTD definition

+
++ + + + + + + + + + +
buf:An XML buffer.
ent:An entity table
+
+
+
+

+xmlEncodeEntities ()

+
const xmlChar *	xmlEncodeEntities	(xmlDocPtr doc, 
const xmlChar * input)
+
+

TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary compatibility People must migrate their code to xmlEncodeEntitiesReentrant ! This routine will issue a warning when encountered.

+
++ + + + + + + + + + + + + + +
doc:the document containing the string
input:A string to convert to XML.
Returns:NULL
+
+
+
+

+xmlEncodeEntitiesReentrant ()

+
xmlChar *	xmlEncodeEntitiesReentrant	(xmlDocPtr doc, 
const xmlChar * input)
+
+

Do a global encoding of a string, replacing the predefined entities and non ASCII values with their entities and CharRef counterparts. Contrary to xmlEncodeEntities, this routine is reentrant, and result must be deallocated.

+
++ + + + + + + + + + + + + + +
doc:the document containing the string
input:A string to convert to XML.
Returns:A newly allocated string with the substitution done.
+
+
+
+

+xmlEncodeSpecialChars ()

+
xmlChar *	xmlEncodeSpecialChars	(const xmlDoc * doc, 
const xmlChar * input)
+
+

Do a global encoding of a string, replacing the predefined entities this routine is reentrant, and result must be deallocated.

+
++ + + + + + + + + + + + + + +
doc:the document containing the string
input:A string to convert to XML.
Returns:A newly allocated string with the substitution done.
+
+
+
+

+xmlFreeEntitiesTable ()

+
void	xmlFreeEntitiesTable		(xmlEntitiesTablePtr table)
+
+

Deallocate the memory used by an entities hash table.

+
++ + + + +
table:An entity table
+
+
+
+

+xmlFreeEntity ()

+
void	xmlFreeEntity			(xmlEntityPtr entity)
+
+

Frees the entity.

+
++ + + + +
entity:an entity
+
+
+
+

+xmlGetDocEntity ()

+
xmlEntityPtr	xmlGetDocEntity		(const xmlDoc * doc, 
const xmlChar * name)
+
+

Do an entity lookup in the document entity hash table and

+
++ + + + + + + + + + + + + + +
doc:the document referencing the entity
name:the entity name
Returns:the corresponding entity, otherwise a lookup is done in the predefined entities too. Returns A pointer to the entity structure or NULL if not found.
+
+
+
+

+xmlGetDtdEntity ()

+
xmlEntityPtr	xmlGetDtdEntity		(xmlDocPtr doc, 
const xmlChar * name)
+
+

Do an entity lookup in the DTD entity hash table and

+
++ + + + + + + + + + + + + + +
doc:the document referencing the entity
name:the entity name
Returns:the corresponding entity, if found. Note: the first argument is the document node, not the DTD node. Returns A pointer to the entity structure or NULL if not found.
+
+
+
+

+xmlGetParameterEntity ()

+
xmlEntityPtr	xmlGetParameterEntity	(xmlDocPtr doc, 
const xmlChar * name)
+
+

Do an entity lookup in the internal and external subsets and

+
++ + + + + + + + + + + + + + +
doc:the document referencing the entity
name:the entity name
Returns:the corresponding parameter entity, if found. Returns A pointer to the entity structure or NULL if not found.
+
+
+
+

+xmlGetPredefinedEntity ()

+
xmlEntityPtr	xmlGetPredefinedEntity	(const xmlChar * name)
+
+

Check whether this name is an predefined entity.

+
++ + + + + + + + + + +
name:the entity name
Returns:NULL if not, otherwise the entity
+
+
+
+

+xmlInitializePredefinedEntities ()

+
void	xmlInitializePredefinedEntities	(void)
+
+

Set up the predefined entities. Deprecated call

+
+
+
+

+xmlNewEntity ()

+
xmlEntityPtr	xmlNewEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
+
+

Create a new entity, this differs from xmlAddDocEntity() that if the document is NULL or has no internal subset defined, then an unlinked entity structure will be returned, it is then the responsibility of the caller to link it to the document later or free it when not needed anymore.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the document
name:the entity name
type:the entity type XML_xxx_yyy_ENTITY
ExternalID:the entity external ID if available
SystemID:the entity system ID if available
content:the entity content
Returns:a pointer to the entity or NULL in case of error
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-globals.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-globals.html new file mode 100644 index 0000000000000000000000000000000000000000..bf8bbd171a4bb3fb1dcd5a4fc17378996493bd67 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-globals.html @@ -0,0 +1,86 @@ + + + +globals: interface for all global variables of the library + + + + + + + + + + + + + + +

globals

+

globals - interface for all global variables of the library

+

Deprecated, don't use

+

Author(s):

+
+

Synopsis

+
typedef struct _xmlGlobalState xmlGlobalState;
+typedef xmlGlobalState * xmlGlobalStatePtr;
+xmlGlobalStatePtr	xmlGetGlobalState	(void);
+void	xmlInitializeGlobalState	(xmlGlobalStatePtr gs);
+
+
+

Description

+
+

Details

+
+
+

+Structure xmlGlobalState

+
struct _xmlGlobalState {
+The content of this structure is not made public by the API.
+} xmlGlobalState;
+
+

+
+
+
+

+Typedef xmlGlobalStatePtr

+
xmlGlobalState * xmlGlobalStatePtr;
+
+

+
+
+
+

+xmlGetGlobalState ()

+
xmlGlobalStatePtr	xmlGetGlobalState	(void)
+
+

DEPRECATED

+
++ + + + +
Returns:NULL.
+
+
+
+

+xmlInitializeGlobalState ()

+
void	xmlInitializeGlobalState	(xmlGlobalStatePtr gs)
+
+

DEPRECATED: No-op.

+
++ + + + +
gs:a pointer to a newly allocated global state
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-hash.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-hash.html new file mode 100644 index 0000000000000000000000000000000000000000..026356518a2700f36828ba52086dd6180b74a5e3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-hash.html @@ -0,0 +1,1100 @@ + + + +hash: Chained hash tables + + + + + + + + + + + + + + +

hash

+

hash - Chained hash tables

+

This module implements the hash table support used in various places in the library.

+

Author(s): Bjorn Reese <bjorn.reese@systematic.dk>

+
+

Synopsis

+
#define XML_CAST_FPTR(fptr);
+typedef struct _xmlHashTable xmlHashTable;
+typedef xmlHashTable * xmlHashTablePtr;
+int	xmlHashAdd			(xmlHashTablePtr hash, 
const xmlChar * key,
void * payload); +int xmlHashAdd2 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
void * payload); +int xmlHashAdd3 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
void * payload); +int xmlHashAddEntry (xmlHashTablePtr hash,
const xmlChar * key,
void * payload); +int xmlHashAddEntry2 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
void * payload); +int xmlHashAddEntry3 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
void * payload); +typedef void * xmlHashCopier (void * payload,
const xmlChar * name); +xmlHashTablePtr xmlHashCopy (xmlHashTablePtr hash,
xmlHashCopier copy); +xmlHashTablePtr xmlHashCopySafe (xmlHashTablePtr hash,
xmlHashCopier copyFunc,
xmlHashDeallocator deallocFunc); +xmlHashTablePtr xmlHashCreate (int size); +xmlHashTablePtr xmlHashCreateDict (int size,
xmlDictPtr dict); +typedef void xmlHashDeallocator (void * payload,
const xmlChar * name); +void xmlHashDefaultDeallocator (void * entry,
const xmlChar * key); +void xmlHashFree (xmlHashTablePtr hash,
xmlHashDeallocator dealloc); +void * xmlHashLookup (xmlHashTablePtr hash,
const xmlChar * key); +void * xmlHashLookup2 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2); +void * xmlHashLookup3 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3); +void * xmlHashQLookup (xmlHashTablePtr hash,
const xmlChar * prefix,
const xmlChar * name); +void * xmlHashQLookup2 (xmlHashTablePtr hash,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2); +void * xmlHashQLookup3 (xmlHashTablePtr hash,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2,
const xmlChar * prefix3,
const xmlChar * name3); +int xmlHashRemoveEntry (xmlHashTablePtr hash,
const xmlChar * key,
xmlHashDeallocator dealloc); +int xmlHashRemoveEntry2 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
xmlHashDeallocator dealloc); +int xmlHashRemoveEntry3 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
xmlHashDeallocator dealloc); +void xmlHashScan (xmlHashTablePtr hash,
xmlHashScanner scan,
void * data); +void xmlHashScan3 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
xmlHashScanner scan,
void * data); +void xmlHashScanFull (xmlHashTablePtr hash,
xmlHashScannerFull scan,
void * data); +void xmlHashScanFull3 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
xmlHashScannerFull scan,
void * data); +typedef void xmlHashScanner (void * payload,
void * data,
const xmlChar * name); +typedef void xmlHashScannerFull (void * payload,
void * data,
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3); +int xmlHashSize (xmlHashTablePtr hash); +int xmlHashUpdateEntry (xmlHashTablePtr hash,
const xmlChar * key,
void * payload,
xmlHashDeallocator dealloc); +int xmlHashUpdateEntry2 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
void * payload,
xmlHashDeallocator dealloc); +int xmlHashUpdateEntry3 (xmlHashTablePtr hash,
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
void * payload,
xmlHashDeallocator dealloc); +
+
+

Description

+
+

Details

+
+
+

+Macro XML_CAST_FPTR

+
#define XML_CAST_FPTR(fptr);
+
+

Macro to do a casting from an object pointer to a function pointer without encountering a warning from gcc #define XML_CAST_FPTR(fptr) (*(void **)(&fptr)) This macro violated ISO C aliasing rules (gcc4 on s390 broke) so it is disabled now

+
++ + + + +
fptr:pointer to a function
+
+
+
+

+Structure xmlHashTable

+
struct _xmlHashTable {
+The content of this structure is not made public by the API.
+} xmlHashTable;
+
+

+
+
+
+

+Typedef xmlHashTablePtr

+
xmlHashTable * xmlHashTablePtr;
+
+

+
+
+
+

+Function type xmlHashCopier

+
void *	xmlHashCopier			(void * payload, 
const xmlChar * name)
+
+

Callback to copy data from a hash.

+
++ + + + + + + + + + + + + + +
payload:the data in the hash
name:the name associated
Returns:a copy of the data or NULL in case of error.
+
+
+
+

+Function type xmlHashDeallocator

+
void	xmlHashDeallocator		(void * payload, 
const xmlChar * name)
+
+

Callback to free data from a hash.

+
++ + + + + + + + + + +
payload:the data in the hash
name:the name associated
+
+
+
+

+Function type xmlHashScanner

+
void	xmlHashScanner			(void * payload, 
void * data,
const xmlChar * name)
+
+

Callback when scanning data in a hash with the simple scanner.

+
++ + + + + + + + + + + + + + +
payload:the data in the hash
data:extra scanner data
name:the name associated
+
+
+
+

+Function type xmlHashScannerFull

+
void	xmlHashScannerFull		(void * payload, 
void * data,
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3)
+
+

Callback when scanning data in a hash with the full scanner.

+
++ + + + + + + + + + + + + + + + + + + + + + +
payload:the data in the hash
data:extra scanner data
name:the name associated
name2:the second name associated
name3:the third name associated
+
+
+
+

+xmlHashAdd ()

+
int	xmlHashAdd			(xmlHashTablePtr hash, 
const xmlChar * key,
void * payload)
+
+

Add a hash table entry. If an entry with this key already exists, payload will not be updated and 0 is returned. This return value can't be distinguished from out-of-memory errors, so this function should be used with care. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + +
hash:hash table
key:string key
payload:pointer to the payload
Returns:1 on success, 0 if an entry exists and -1 in case of error.
+
+
+
+

+xmlHashAdd2 ()

+
int	xmlHashAdd2			(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
void * payload)
+
+

Add a hash table entry with two strings as key. See xmlHashAdd. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
payload:pointer to the payload
Returns:1 on success, 0 if an entry exists and -1 in case of error.
+
+
+
+

+xmlHashAdd3 ()

+
int	xmlHashAdd3			(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
void * payload)
+
+

Add a hash table entry with three strings as key. See xmlHashAdd. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
key3:third string key
payload:pointer to the payload
Returns:1 on success, 0 if an entry exists and -1 in case of error.
+
+
+
+

+xmlHashAddEntry ()

+
int	xmlHashAddEntry			(xmlHashTablePtr hash, 
const xmlChar * key,
void * payload)
+
+

Add a hash table entry. If an entry with this key already exists, payload will not be updated and -1 is returned. This return value can't be distinguished from out-of-memory errors, so this function should be used with care. NOTE: This function doesn't allow to distinguish malloc failures from existing entries. Use xmlHashAdd instead.

+
++ + + + + + + + + + + + + + + + + + +
hash:hash table
key:string key
payload:pointer to the payload
Returns:0 on success and -1 in case of error.
+
+
+
+

+xmlHashAddEntry2 ()

+
int	xmlHashAddEntry2		(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
void * payload)
+
+

Add a hash table entry with two strings as key. See xmlHashAddEntry.

+
++ + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
payload:pointer to the payload
Returns:0 on success and -1 in case of error.
+
+
+
+

+xmlHashAddEntry3 ()

+
int	xmlHashAddEntry3		(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
void * payload)
+
+

Add a hash table entry with three strings as key. See xmlHashAddEntry.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
key3:third string key
payload:pointer to the payload
Returns:0 on success and -1 in case of error.
+
+
+
+

+xmlHashCopy ()

+
xmlHashTablePtr	xmlHashCopy		(xmlHashTablePtr hash, 
xmlHashCopier copy)
+
+

DEPRECATED: Leaks memory in error case. Copy the hash table using @copy to copy payloads.

+
++ + + + + + + + + + + + + + +
hash:hash table
copy:copier function for items in the hash
Returns:the new table or NULL if a memory allocation failed.
+
+
+
+

+xmlHashCopySafe ()

+
xmlHashTablePtr	xmlHashCopySafe		(xmlHashTablePtr hash, 
xmlHashCopier copyFunc,
xmlHashDeallocator deallocFunc)
+
+

Copy the hash table using @copyFunc to copy payloads. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + +
hash:hash table
copyFunc:copier function for items in the hash
deallocFunc:deallocation function in case of errors
Returns:the new table or NULL if a memory allocation failed.
+
+
+
+

+xmlHashCreate ()

+
xmlHashTablePtr	xmlHashCreate		(int size)
+
+

Create a new hash table. Set size to zero if the number of entries can't be estimated.

+
++ + + + + + + + + + +
size:initial size of the hash table
Returns:the newly created object, or NULL if a memory allocation failed.
+
+
+
+

+xmlHashCreateDict ()

+
xmlHashTablePtr	xmlHashCreateDict	(int size, 
xmlDictPtr dict)
+
+

Create a new hash table backed by a dictionary. This can reduce resource usage considerably if most keys passed to API functions originate from this dictionary.

+
++ + + + + + + + + + + + + + +
size:the size of the hash table
dict:a dictionary to use for the hash
Returns:the newly created object, or NULL if a memory allocation failed.
+
+
+
+

+xmlHashDefaultDeallocator ()

+
void	xmlHashDefaultDeallocator	(void * entry, 
const xmlChar * key)
+
+

Free a hash table entry with xmlFree.

+
++ + + + + + + + + + +
entry:hash table entry
key:the entry's string key
+
+
+
+

+xmlHashFree ()

+
void	xmlHashFree			(xmlHashTablePtr hash, 
xmlHashDeallocator dealloc)
+
+

Free the hash and its contents. The payload is deallocated with @dealloc if provided.

+
++ + + + + + + + + + +
hash:hash table
dealloc:deallocator function or NULL
+
+
+
+

+xmlHashLookup ()

+
void *	xmlHashLookup			(xmlHashTablePtr hash, 
const xmlChar * key)
+
+

Find the entry specified by @key.

+
++ + + + + + + + + + + + + + +
hash:hash table
key:string key
Returns:a pointer to the payload or NULL if no entry was found.
+
+
+
+

+xmlHashLookup2 ()

+
void *	xmlHashLookup2			(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2)
+
+

Find the payload specified by the (@key, @key2) tuple.

+
++ + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
Returns:a pointer to the payload or NULL if no entry was found.
+
+
+
+

+xmlHashLookup3 ()

+
void *	xmlHashLookup3			(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3)
+
+

Find the payload specified by the (@key, @key2, @key3) tuple.

+
++ + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
key3:third string key
Returns:a pointer to the payload or NULL if no entry was found.
+
+
+
+

+xmlHashQLookup ()

+
void *	xmlHashQLookup			(xmlHashTablePtr hash, 
const xmlChar * prefix,
const xmlChar * name)
+
+

Find the payload specified by the QName @prefix:@name or @name.

+
++ + + + + + + + + + + + + + + + + + +
hash:hash table
prefix:prefix of the string key
name:local name of the string key
Returns:a pointer to the payload or NULL if no entry was found.
+
+
+
+

+xmlHashQLookup2 ()

+
void *	xmlHashQLookup2			(xmlHashTablePtr hash, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2)
+
+

Find the payload specified by the QNames tuple.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
prefix:first prefix
name:first local name
prefix2:second prefix
name2:second local name
Returns:a pointer to the payload or NULL if no entry was found.
+
+
+
+

+xmlHashQLookup3 ()

+
void *	xmlHashQLookup3			(xmlHashTablePtr hash, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2,
const xmlChar * prefix3,
const xmlChar * name3)
+
+

Find the payload specified by the QNames tuple.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
prefix:first prefix
name:first local name
prefix2:second prefix
name2:second local name
prefix3:third prefix
name3:third local name
Returns:a pointer to the payload or NULL if no entry was found.
+
+
+
+

+xmlHashRemoveEntry ()

+
int	xmlHashRemoveEntry		(xmlHashTablePtr hash, 
const xmlChar * key,
xmlHashDeallocator dealloc)
+
+

Find the entry specified by the @key and remove it from the hash table. Payload will be freed with @dealloc.

+
++ + + + + + + + + + + + + + + + + + +
hash:hash table
key:string key
dealloc:deallocator function for removed item or NULL
Returns:0 on success and -1 if no entry was found.
+
+
+
+

+xmlHashRemoveEntry2 ()

+
int	xmlHashRemoveEntry2		(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
xmlHashDeallocator dealloc)
+
+

Remove an entry with two strings as key. See xmlHashRemoveEntry.

+
++ + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
dealloc:deallocator function for removed item or NULL
Returns:0 on success and -1 in case of error.
+
+
+
+

+xmlHashRemoveEntry3 ()

+
int	xmlHashRemoveEntry3		(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
xmlHashDeallocator dealloc)
+
+

Remove an entry with three strings as key. See xmlHashRemoveEntry.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
key3:third string key
dealloc:deallocator function for removed item or NULL
Returns:0 on success and -1 in case of error.
+
+
+
+

+xmlHashScan ()

+
void	xmlHashScan			(xmlHashTablePtr hash, 
xmlHashScanner scan,
void * data)
+
+

Scan the hash @table and apply @scan to each value.

+
++ + + + + + + + + + + + + + +
hash:hash table
scan:scanner function for items in the hash
data:extra data passed to @scan
+
+
+
+

+xmlHashScan3 ()

+
void	xmlHashScan3			(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
xmlHashScanner scan,
void * data)
+
+

Scan the hash @table and apply @scan to each value matching (@key, @key2, @key3) tuple. If one of the keys is null, the comparison is considered to match.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key or NULL
key2:second string key or NULL
key3:third string key or NULL
scan:scanner function for items in the hash
data:extra data passed to @scan
+
+
+
+

+xmlHashScanFull ()

+
void	xmlHashScanFull			(xmlHashTablePtr hash, 
xmlHashScannerFull scan,
void * data)
+
+

Scan the hash @table and apply @scan to each value.

+
++ + + + + + + + + + + + + + +
hash:hash table
scan:scanner function for items in the hash
data:extra data passed to @scan
+
+
+
+

+xmlHashScanFull3 ()

+
void	xmlHashScanFull3		(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
xmlHashScannerFull scan,
void * data)
+
+

Scan the hash @table and apply @scan to each value matching (@key, @key2, @key3) tuple. If one of the keys is null, the comparison is considered to match.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key or NULL
key2:second string key or NULL
key3:third string key or NULL
scan:scanner function for items in the hash
data:extra data passed to @scan
+
+
+
+

+xmlHashSize ()

+
int	xmlHashSize			(xmlHashTablePtr hash)
+
+

Query the number of elements in the hash table.

+
++ + + + + + + + + + +
hash:hash table
Returns:the number of elements in the hash table or -1 in case of error.
+
+
+
+

+xmlHashUpdateEntry ()

+
int	xmlHashUpdateEntry		(xmlHashTablePtr hash, 
const xmlChar * key,
void * payload,
xmlHashDeallocator dealloc)
+
+

Add a hash table entry. If an entry with this key already exists, the old payload will be freed and updated with the new value.

+
++ + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:string key
payload:pointer to the payload
dealloc:deallocator function for replaced item or NULL
Returns:0 in case of success, -1 if a memory allocation failed.
+
+
+
+

+xmlHashUpdateEntry2 ()

+
int	xmlHashUpdateEntry2		(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
void * payload,
xmlHashDeallocator dealloc)
+
+

Add a hash table entry with two strings as key. See xmlHashUpdateEntry.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
payload:pointer to the payload
dealloc:deallocator function for replaced item or NULL
Returns:0 on success and -1 in case of error.
+
+
+
+

+xmlHashUpdateEntry3 ()

+
int	xmlHashUpdateEntry3		(xmlHashTablePtr hash, 
const xmlChar * key,
const xmlChar * key2,
const xmlChar * key3,
void * payload,
xmlHashDeallocator dealloc)
+
+

Add a hash table entry with three strings as key. See xmlHashUpdateEntry.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
hash:hash table
key:first string key
key2:second string key
key3:third string key
payload:pointer to the payload
dealloc:deallocator function for replaced item or NULL
Returns:0 on success and -1 in case of error.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-list.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-list.html new file mode 100644 index 0000000000000000000000000000000000000000..6d188020d6b2b92878b0506c7b767adaf8c2ccc8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-list.html @@ -0,0 +1,730 @@ + + + +list: lists interfaces + + + + + + + + + + + + + + +

list

+

list - lists interfaces

+

this module implement the list support used in various place in the library.

+

Author(s): Gary Pennington <Gary.Pennington@uk.sun.com>

+
+

Synopsis

+
typedef struct _xmlLink xmlLink;
+typedef xmlLink * xmlLinkPtr;
+typedef struct _xmlList xmlList;
+typedef xmlList * xmlListPtr;
+void *	xmlLinkGetData			(xmlLinkPtr lk);
+int	xmlListAppend			(xmlListPtr l, 
void * data); +void xmlListClear (xmlListPtr l); +int xmlListCopy (xmlListPtr cur,
xmlListPtr old); +xmlListPtr xmlListCreate (xmlListDeallocator deallocator,
xmlListDataCompare compare); +typedef int xmlListDataCompare (const void * data0,
const void * data1); +typedef void xmlListDeallocator (xmlLinkPtr lk); +void xmlListDelete (xmlListPtr l); +xmlListPtr xmlListDup (xmlListPtr old); +int xmlListEmpty (xmlListPtr l); +xmlLinkPtr xmlListEnd (xmlListPtr l); +xmlLinkPtr xmlListFront (xmlListPtr l); +int xmlListInsert (xmlListPtr l,
void * data); +void xmlListMerge (xmlListPtr l1,
xmlListPtr l2); +void xmlListPopBack (xmlListPtr l); +void xmlListPopFront (xmlListPtr l); +int xmlListPushBack (xmlListPtr l,
void * data); +int xmlListPushFront (xmlListPtr l,
void * data); +int xmlListRemoveAll (xmlListPtr l,
void * data); +int xmlListRemoveFirst (xmlListPtr l,
void * data); +int xmlListRemoveLast (xmlListPtr l,
void * data); +void xmlListReverse (xmlListPtr l); +void * xmlListReverseSearch (xmlListPtr l,
void * data); +void xmlListReverseWalk (xmlListPtr l,
xmlListWalker walker,
void * user); +void * xmlListSearch (xmlListPtr l,
void * data); +int xmlListSize (xmlListPtr l); +void xmlListSort (xmlListPtr l); +void xmlListWalk (xmlListPtr l,
xmlListWalker walker,
void * user); +typedef int xmlListWalker (const void * data,
void * user); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlLink

+
struct _xmlLink {
+The content of this structure is not made public by the API.
+} xmlLink;
+
+

+
+
+
+

+Typedef xmlLinkPtr

+
xmlLink * xmlLinkPtr;
+
+

+
+
+
+

+Structure xmlList

+
struct _xmlList {
+The content of this structure is not made public by the API.
+} xmlList;
+
+

+
+
+
+

+Typedef xmlListPtr

+
xmlList * xmlListPtr;
+
+

+
+
+
+

+Function type xmlListDataCompare

+
int	xmlListDataCompare		(const void * data0, 
const void * data1)
+
+

Callback function used to compare 2 data.

+
++ + + + + + + + + + + + + + +
data0:the first data
data1:the second data
Returns:0 is equality, -1 or 1 otherwise depending on the ordering.
+
+
+
+

+Function type xmlListDeallocator

+
void	xmlListDeallocator		(xmlLinkPtr lk)
+
+

Callback function used to free data from a list.

+
++ + + + +
lk:the data to deallocate
+
+
+
+

+Function type xmlListWalker

+
int	xmlListWalker			(const void * data, 
void * user)
+
+

Callback function used when walking a list with xmlListWalk().

+
++ + + + + + + + + + + + + + +
data:the data found in the list
user:extra user provided data to the walker
Returns:0 to stop walking the list, 1 otherwise.
+
+
+
+

+xmlLinkGetData ()

+
void *	xmlLinkGetData			(xmlLinkPtr lk)
+
+

See Returns.

+
++ + + + + + + + + + +
lk:a link
Returns:a pointer to the data referenced from this link
+
+
+
+

+xmlListAppend ()

+
int	xmlListAppend			(xmlListPtr l, 
void * data)
+
+

Insert data in the ordered list at the end for this value

+
++ + + + + + + + + + + + + + +
l:a list
data:the data
Returns:0 in case of success, 1 in case of failure
+
+
+
+

+xmlListClear ()

+
void	xmlListClear			(xmlListPtr l)
+
+

Remove the all data in the list

+
++ + + + +
l:a list
+
+
+
+

+xmlListCopy ()

+
int	xmlListCopy			(xmlListPtr cur, 
xmlListPtr old)
+
+

Move all the element from the old list in the new list

+
++ + + + + + + + + + + + + + +
cur:the new list
old:the old list
Returns:0 in case of success 1 in case of error
+
+
+
+

+xmlListCreate ()

+
xmlListPtr	xmlListCreate		(xmlListDeallocator deallocator, 
xmlListDataCompare compare)
+
+

Create a new list

+
++ + + + + + + + + + + + + + +
deallocator:an optional deallocator function
compare:an optional comparison function
Returns:the new list or NULL in case of error
+
+
+
+

+xmlListDelete ()

+
void	xmlListDelete			(xmlListPtr l)
+
+

Deletes the list and its associated data

+
++ + + + +
l:a list
+
+
+
+

+xmlListDup ()

+
xmlListPtr	xmlListDup		(xmlListPtr old)
+
+

Duplicate the list

+
++ + + + + + + + + + +
old:the list
Returns:a new copy of the list or NULL in case of error
+
+
+
+

+xmlListEmpty ()

+
int	xmlListEmpty			(xmlListPtr l)
+
+

Is the list empty ?

+
++ + + + + + + + + + +
l:a list
Returns:1 if the list is empty, 0 if not empty and -1 in case of error
+
+
+
+

+xmlListEnd ()

+
xmlLinkPtr	xmlListEnd		(xmlListPtr l)
+
+

Get the last element in the list

+
++ + + + + + + + + + +
l:a list
Returns:the last element in the list, or NULL
+
+
+
+

+xmlListFront ()

+
xmlLinkPtr	xmlListFront		(xmlListPtr l)
+
+

Get the first element in the list

+
++ + + + + + + + + + +
l:a list
Returns:the first element in the list, or NULL
+
+
+
+

+xmlListInsert ()

+
int	xmlListInsert			(xmlListPtr l, 
void * data)
+
+

Insert data in the ordered list at the beginning for this value

+
++ + + + + + + + + + + + + + +
l:a list
data:the data
Returns:0 in case of success, 1 in case of failure
+
+
+
+

+xmlListMerge ()

+
void	xmlListMerge			(xmlListPtr l1, 
xmlListPtr l2)
+
+

include all the elements of the second list in the first one and clear the second list

+
++ + + + + + + + + + +
l1:the original list
l2:the new list
+
+
+
+

+xmlListPopBack ()

+
void	xmlListPopBack			(xmlListPtr l)
+
+

Removes the last element in the list

+
++ + + + +
l:a list
+
+
+
+

+xmlListPopFront ()

+
void	xmlListPopFront			(xmlListPtr l)
+
+

Removes the first element in the list

+
++ + + + +
l:a list
+
+
+
+

+xmlListPushBack ()

+
int	xmlListPushBack			(xmlListPtr l, 
void * data)
+
+

add the new data at the end of the list

+
++ + + + + + + + + + + + + + +
l:a list
data:new data
Returns:1 if successful, 0 otherwise
+
+
+
+

+xmlListPushFront ()

+
int	xmlListPushFront		(xmlListPtr l, 
void * data)
+
+

add the new data at the beginning of the list

+
++ + + + + + + + + + + + + + +
l:a list
data:new data
Returns:1 if successful, 0 otherwise
+
+
+
+

+xmlListRemoveAll ()

+
int	xmlListRemoveAll		(xmlListPtr l, 
void * data)
+
+

Remove the all instance associated to data in the list

+
++ + + + + + + + + + + + + + +
l:a list
data:list data
Returns:the number of deallocation, or 0 if not found
+
+
+
+

+xmlListRemoveFirst ()

+
int	xmlListRemoveFirst		(xmlListPtr l, 
void * data)
+
+

Remove the first instance associated to data in the list

+
++ + + + + + + + + + + + + + +
l:a list
data:list data
Returns:1 if a deallocation occurred, or 0 if not found
+
+
+
+

+xmlListRemoveLast ()

+
int	xmlListRemoveLast		(xmlListPtr l, 
void * data)
+
+

Remove the last instance associated to data in the list

+
++ + + + + + + + + + + + + + +
l:a list
data:list data
Returns:1 if a deallocation occurred, or 0 if not found
+
+
+
+

+xmlListReverse ()

+
void	xmlListReverse			(xmlListPtr l)
+
+

Reverse the order of the elements in the list

+
++ + + + +
l:a list
+
+
+
+

+xmlListReverseSearch ()

+
void *	xmlListReverseSearch		(xmlListPtr l, 
void * data)
+
+

Search the list in reverse order for an existing value of @data

+
++ + + + + + + + + + + + + + +
l:a list
data:a search value
Returns:the value associated to @data or NULL in case of error
+
+
+
+

+xmlListReverseWalk ()

+
void	xmlListReverseWalk		(xmlListPtr l, 
xmlListWalker walker,
void * user)
+
+

Walk all the element of the list in reverse order and apply the walker function to it

+
++ + + + + + + + + + + + + + +
l:a list
walker:a processing function
user:a user parameter passed to the walker function
+
+
+
+

+xmlListSearch ()

+
void *	xmlListSearch			(xmlListPtr l, 
void * data)
+
+

Search the list for an existing value of @data

+
++ + + + + + + + + + + + + + +
l:a list
data:a search value
Returns:the value associated to @data or NULL in case of error
+
+
+
+

+xmlListSize ()

+
int	xmlListSize			(xmlListPtr l)
+
+

Get the number of elements in the list

+
++ + + + + + + + + + +
l:a list
Returns:the number of elements in the list or -1 in case of error
+
+
+
+

+xmlListSort ()

+
void	xmlListSort			(xmlListPtr l)
+
+

Sort all the elements in the list

+
++ + + + +
l:a list
+
+
+
+

+xmlListWalk ()

+
void	xmlListWalk			(xmlListPtr l, 
xmlListWalker walker,
void * user)
+
+

Walk all the element of the first from first to last and apply the walker function to it

+
++ + + + + + + + + + + + + + +
l:a list
walker:a processing function
user:a user parameter passed to the walker function
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-nanoftp.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-nanoftp.html new file mode 100644 index 0000000000000000000000000000000000000000..8b62576c751313f51860ab12581a3ad65a906333 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-nanoftp.html @@ -0,0 +1,651 @@ + + + +nanoftp: minimal FTP implementation + + + + + + + + + + + + + + +

nanoftp

+

nanoftp - minimal FTP implementation

+

minimal FTP implementation allowing to fetch resources like external subset. This module is DEPRECATED, do not use any of its functions.

+

WARNING: this module is deprecated !

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define INVALID_SOCKET;
+#define SOCKET;
+typedef void ftpDataCallback			(void * userData, 
const char * data,
int len); +typedef void ftpListCallback (void * userData,
const char * filename,
const char * attrib,
const char * owner,
const char * group,
unsigned long size,
int links,
int year,
const char * month,
int day,
int hour,
int minute); +int xmlNanoFTPCheckResponse (void * ctx); +void xmlNanoFTPCleanup (void); +int xmlNanoFTPClose (void * ctx); +int xmlNanoFTPCloseConnection (void * ctx); +int xmlNanoFTPConnect (void * ctx); +void * xmlNanoFTPConnectTo (const char * server,
int port); +int xmlNanoFTPCwd (void * ctx,
const char * directory); +int xmlNanoFTPDele (void * ctx,
const char * file); +void xmlNanoFTPFreeCtxt (void * ctx); +int xmlNanoFTPGet (void * ctx,
ftpDataCallback callback,
void * userData,
const char * filename); +SOCKET xmlNanoFTPGetConnection (void * ctx); +int xmlNanoFTPGetResponse (void * ctx); +SOCKET xmlNanoFTPGetSocket (void * ctx,
const char * filename); +void xmlNanoFTPInit (void); +int xmlNanoFTPList (void * ctx,
ftpListCallback callback,
void * userData,
const char * filename); +void * xmlNanoFTPNewCtxt (const char * URL); +void * xmlNanoFTPOpen (const char * URL); +void xmlNanoFTPProxy (const char * host,
int port,
const char * user,
const char * passwd,
int type); +int xmlNanoFTPQuit (void * ctx); +int xmlNanoFTPRead (void * ctx,
void * dest,
int len); +void xmlNanoFTPScanProxy (const char * URL); +int xmlNanoFTPUpdateURL (void * ctx,
const char * URL); +
+
+

Description

+
+

Details

+
+
+

+Macro INVALID_SOCKET

+
#define INVALID_SOCKET;
+
+

macro used to provide portability of code to windows sockets the value to be used when the socket is not valid

+
+
+
+

+Macro SOCKET

+
#define SOCKET;
+
+

macro used to provide portability of code to windows sockets

+
+
+
+

+Function type ftpDataCallback

+
void	ftpDataCallback			(void * userData, 
const char * data,
int len)
+
+

A callback for the xmlNanoFTPGet command.

+
++ + + + + + + + + + + + + + +
userData:the user provided context
data:the data received
len:its size in bytes
+
+
+
+

+Function type ftpListCallback

+
void	ftpListCallback			(void * userData, 
const char * filename,
const char * attrib,
const char * owner,
const char * group,
unsigned long size,
int links,
int year,
const char * month,
int day,
int hour,
int minute)
+
+

A callback for the xmlNanoFTPList command. Note that only one of year and day:minute are specified.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
userData:user provided data for the callback
filename:the file name (including "->" when links are shown)
attrib:the attribute string
owner:the owner string
group:the group string
size:the file size
links:the link count
year:the year
month:the month
day:the day
hour:the hour
minute:the minute
+
+
+
+

+xmlNanoFTPCheckResponse ()

+
int	xmlNanoFTPCheckResponse		(void * ctx)
+
+

Check if there is a response from the FTP server after a command.

+
++ + + + + + + + + + +
ctx:an FTP context
Returns:the code number, or 0
+
+
+
+

+xmlNanoFTPCleanup ()

+
void	xmlNanoFTPCleanup		(void)
+
+

Cleanup the FTP protocol layer. This cleanup proxy information.

+
+
+
+

+xmlNanoFTPClose ()

+
int	xmlNanoFTPClose			(void * ctx)
+
+

Close the connection and both control and transport

+
++ + + + + + + + + + +
ctx:an FTP context
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+xmlNanoFTPCloseConnection ()

+
int	xmlNanoFTPCloseConnection	(void * ctx)
+
+

Close the data connection from the server

+
++ + + + + + + + + + +
ctx:an FTP context
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+xmlNanoFTPConnect ()

+
int	xmlNanoFTPConnect		(void * ctx)
+
+

Tries to open a control connection

+
++ + + + + + + + + + +
ctx:an FTP context
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+xmlNanoFTPConnectTo ()

+
void *	xmlNanoFTPConnectTo		(const char * server, 
int port)
+
+

Tries to open a control connection to the given server/port

+
++ + + + + + + + + + + + + + +
server:an FTP server name
port:the port (use 21 if 0)
Returns:an fTP context or NULL if it failed
+
+
+
+

+xmlNanoFTPCwd ()

+
int	xmlNanoFTPCwd			(void * ctx, 
const char * directory)
+
+

Tries to change the remote directory

+
++ + + + + + + + + + + + + + +
ctx:an FTP context
directory:a directory on the server
Returns:-1 in case of error, 1 if CWD worked, 0 if it failed
+
+
+
+

+xmlNanoFTPDele ()

+
int	xmlNanoFTPDele			(void * ctx, 
const char * file)
+
+

Tries to delete an item (file or directory) from server

+
++ + + + + + + + + + + + + + +
ctx:an FTP context
file:a file or directory on the server
Returns:-1 in case of error, 1 if DELE worked, 0 if it failed
+
+
+
+

+xmlNanoFTPFreeCtxt ()

+
void	xmlNanoFTPFreeCtxt		(void * ctx)
+
+

Frees the context after closing the connection.

+
++ + + + +
ctx:an FTP context
+
+
+
+

+xmlNanoFTPGet ()

+
int	xmlNanoFTPGet			(void * ctx, 
ftpDataCallback callback,
void * userData,
const char * filename)
+
+

Fetch the given file from the server. All data are passed back in the callbacks. The last callback has a size of 0 block.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctx:an FTP context
callback:the user callback
userData:the user callback data
filename:the file to retrieve
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+xmlNanoFTPGetConnection ()

+
SOCKET	xmlNanoFTPGetConnection		(void * ctx)
+
+

Try to open a data connection to the server. Currently only passive mode is supported.

+
++ + + + + + + + + + +
ctx:an FTP context
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+xmlNanoFTPGetResponse ()

+
int	xmlNanoFTPGetResponse		(void * ctx)
+
+

Get the response from the FTP server after a command.

+
++ + + + + + + + + + +
ctx:an FTP context
Returns:the code number
+
+
+
+

+xmlNanoFTPGetSocket ()

+
SOCKET	xmlNanoFTPGetSocket		(void * ctx, 
const char * filename)
+
+

Initiate fetch of the given file from the server.

+
++ + + + + + + + + + + + + + +
ctx:an FTP context
filename:the file to retrieve (or NULL if path is in context).
Returns:the socket for the data connection, or <0 in case of error
+
+
+
+

+xmlNanoFTPInit ()

+
void	xmlNanoFTPInit			(void)
+
+

Initialize the FTP protocol layer. Currently it just checks for proxy information, and get the hostname

+
+
+
+

+xmlNanoFTPList ()

+
int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
const char * filename)
+
+

Do a listing on the server. All files info are passed back in the callbacks.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctx:an FTP context
callback:the user callback
userData:the user callback data
filename:optional files to list
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+xmlNanoFTPNewCtxt ()

+
void *	xmlNanoFTPNewCtxt		(const char * URL)
+
+

Allocate and initialize a new FTP context.

+
++ + + + + + + + + + +
URL:The URL used to initialize the context
Returns:an FTP context or NULL in case of error.
+
+
+
+

+xmlNanoFTPOpen ()

+
void *	xmlNanoFTPOpen			(const char * URL)
+
+

Start to fetch the given ftp:// resource

+
++ + + + + + + + + + +
URL:the URL to the resource
Returns:an FTP context, or NULL
+
+
+
+

+xmlNanoFTPProxy ()

+
void	xmlNanoFTPProxy			(const char * host, 
int port,
const char * user,
const char * passwd,
int type)
+
+

Setup the FTP proxy information. This can also be done by using ftp_proxy ftp_proxy_user and ftp_proxy_password environment variables.

+
++ + + + + + + + + + + + + + + + + + + + + + +
host:the proxy host name
port:the proxy port
user:the proxy user name
passwd:the proxy password
type:the type of proxy 1 for using SITE, 2 for USER a@b
+
+
+
+

+xmlNanoFTPQuit ()

+
int	xmlNanoFTPQuit			(void * ctx)
+
+

Send a QUIT command to the server

+
++ + + + + + + + + + +
ctx:an FTP context
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+xmlNanoFTPRead ()

+
int	xmlNanoFTPRead			(void * ctx, 
void * dest,
int len)
+
+

This function tries to read @len bytes from the existing FTP connection and saves them in @dest. This is a blocking call.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the FTP context
dest:a buffer
len:the buffer length
Returns:the number of byte read. 0 is an indication of an end of connection. -1 indicates a parameter error.
+
+
+
+

+xmlNanoFTPScanProxy ()

+
void	xmlNanoFTPScanProxy		(const char * URL)
+
+

(Re)Initialize the FTP Proxy context by parsing the URL and finding the protocol host port it indicates. Should be like ftp://myproxy/ or ftp://myproxy:3128/ A NULL URL cleans up proxy information.

+
++ + + + +
URL:The proxy URL used to initialize the proxy context
+
+
+
+

+xmlNanoFTPUpdateURL ()

+
int	xmlNanoFTPUpdateURL		(void * ctx, 
const char * URL)
+
+

Update an FTP context by parsing the URL and finding new path it indicates. If there is an error in the protocol, hostname, port or other information, the error is raised. It indicates a new connection has to be established.

+
++ + + + + + + + + + + + + + +
ctx:an FTP context
URL:The URL used to update the context
Returns:0 if Ok, -1 in case of error (other host).
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-nanohttp.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-nanohttp.html new file mode 100644 index 0000000000000000000000000000000000000000..aa382eac0a4b0acea3adf16b69af0fa3027ee9da --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-nanohttp.html @@ -0,0 +1,446 @@ + + + +nanohttp: minimal HTTP implementation + + + + + + + + + + + + + + +

nanohttp

+

nanohttp - minimal HTTP implementation

+

minimal HTTP implementation allowing to fetch resources like external subset.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
const char *	xmlNanoHTTPAuthHeader	(void * ctx);
+void	xmlNanoHTTPCleanup		(void);
+void	xmlNanoHTTPClose		(void * ctx);
+int	xmlNanoHTTPContentLength	(void * ctx);
+const char *	xmlNanoHTTPEncoding	(void * ctx);
+int	xmlNanoHTTPFetch		(const char * URL, 
const char * filename,
char ** contentType); +void xmlNanoHTTPInit (void); +void * xmlNanoHTTPMethod (const char * URL,
const char * method,
const char * input,
char ** contentType,
const char * headers,
int ilen); +void * xmlNanoHTTPMethodRedir (const char * URL,
const char * method,
const char * input,
char ** contentType,
char ** redir,
const char * headers,
int ilen); +const char * xmlNanoHTTPMimeType (void * ctx); +void * xmlNanoHTTPOpen (const char * URL,
char ** contentType); +void * xmlNanoHTTPOpenRedir (const char * URL,
char ** contentType,
char ** redir); +int xmlNanoHTTPRead (void * ctx,
void * dest,
int len); +const char * xmlNanoHTTPRedir (void * ctx); +int xmlNanoHTTPReturnCode (void * ctx); +int xmlNanoHTTPSave (void * ctxt,
const char * filename); +void xmlNanoHTTPScanProxy (const char * URL); +
+
+

Description

+
+

Details

+
+
+

+xmlNanoHTTPAuthHeader ()

+
const char *	xmlNanoHTTPAuthHeader	(void * ctx)
+
+

Get the authentication header of an HTTP context

+
++ + + + + + + + + + +
ctx:the HTTP context
Returns:the stashed value of the WWW-Authenticate or Proxy-Authenticate header.
+
+
+
+

+xmlNanoHTTPCleanup ()

+
void	xmlNanoHTTPCleanup		(void)
+
+

Cleanup the HTTP protocol layer.

+
+
+
+

+xmlNanoHTTPClose ()

+
void	xmlNanoHTTPClose		(void * ctx)
+
+

This function closes an HTTP context, it ends up the connection and free all data related to it.

+
++ + + + +
ctx:the HTTP context
+
+
+
+

+xmlNanoHTTPContentLength ()

+
int	xmlNanoHTTPContentLength	(void * ctx)
+
+

Provides the specified content length from the HTTP header.

+
++ + + + + + + + + + +
ctx:the HTTP context
Returns:the specified content length from the HTTP header. Note that a value of -1 indicates that the content length element was not included in the response header.
+
+
+
+

+xmlNanoHTTPEncoding ()

+
const char *	xmlNanoHTTPEncoding	(void * ctx)
+
+

Provides the specified encoding if specified in the HTTP headers.

+
++ + + + + + + + + + +
ctx:the HTTP context
Returns:the specified encoding or NULL if not available
+
+
+
+

+xmlNanoHTTPFetch ()

+
int	xmlNanoHTTPFetch		(const char * URL, 
const char * filename,
char ** contentType)
+
+

This function try to fetch the indicated resource via HTTP GET and save it's content in the file.

+
++ + + + + + + + + + + + + + + + + + +
URL:The URL to load
filename:the filename where the content should be saved
contentType:if available the Content-Type information will be returned at that location
Returns:-1 in case of failure, 0 in case of success. The contentType, if provided must be freed by the caller
+
+
+
+

+xmlNanoHTTPInit ()

+
void	xmlNanoHTTPInit			(void)
+
+

Initialize the HTTP protocol layer. Currently it just checks for proxy information

+
+
+
+

+xmlNanoHTTPMethod ()

+
void *	xmlNanoHTTPMethod		(const char * URL, 
const char * method,
const char * input,
char ** contentType,
const char * headers,
int ilen)
+
+

This function try to open a connection to the indicated resource via HTTP using the given @method, adding the given extra headers and the input buffer for the request content.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
URL:The URL to load
method:the HTTP method to use
input:the input string if any
contentType:the Content-Type information IN and OUT
headers:the extra headers
ilen:input length
Returns:NULL in case of failure, otherwise a request handler. The contentType, if provided must be freed by the caller
+
+
+
+

+xmlNanoHTTPMethodRedir ()

+
void *	xmlNanoHTTPMethodRedir		(const char * URL, 
const char * method,
const char * input,
char ** contentType,
char ** redir,
const char * headers,
int ilen)
+
+

This function try to open a connection to the indicated resource via HTTP using the given @method, adding the given extra headers and the input buffer for the request content.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
URL:The URL to load
method:the HTTP method to use
input:the input string if any
contentType:the Content-Type information IN and OUT
redir:the redirected URL OUT
headers:the extra headers
ilen:input length
Returns:NULL in case of failure, otherwise a request handler. The contentType, or redir, if provided must be freed by the caller
+
+
+
+

+xmlNanoHTTPMimeType ()

+
const char *	xmlNanoHTTPMimeType	(void * ctx)
+
+

Provides the specified Mime-Type if specified in the HTTP headers.

+
++ + + + + + + + + + +
ctx:the HTTP context
Returns:the specified Mime-Type or NULL if not available
+
+
+
+

+xmlNanoHTTPOpen ()

+
void *	xmlNanoHTTPOpen			(const char * URL, 
char ** contentType)
+
+

This function try to open a connection to the indicated resource via HTTP GET.

+
++ + + + + + + + + + + + + + +
URL:The URL to load
contentType:if available the Content-Type information will be returned at that location
Returns:NULL in case of failure, otherwise a request handler. The contentType, if provided must be freed by the caller
+
+
+
+

+xmlNanoHTTPOpenRedir ()

+
void *	xmlNanoHTTPOpenRedir		(const char * URL, 
char ** contentType,
char ** redir)
+
+

This function try to open a connection to the indicated resource via HTTP GET.

+
++ + + + + + + + + + + + + + + + + + +
URL:The URL to load
contentType:if available the Content-Type information will be returned at that location
redir:if available the redirected URL will be returned
Returns:NULL in case of failure, otherwise a request handler. The contentType, if provided must be freed by the caller
+
+
+
+

+xmlNanoHTTPRead ()

+
int	xmlNanoHTTPRead			(void * ctx, 
void * dest,
int len)
+
+

This function tries to read @len bytes from the existing HTTP connection and saves them in @dest. This is a blocking call.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the HTTP context
dest:a buffer
len:the buffer length
Returns:the number of byte read. 0 is an indication of an end of connection. -1 indicates a parameter error.
+
+
+
+

+xmlNanoHTTPRedir ()

+
const char *	xmlNanoHTTPRedir	(void * ctx)
+
+

Provides the specified redirection URL if available from the HTTP header.

+
++ + + + + + + + + + +
ctx:the HTTP context
Returns:the specified redirection URL or NULL if not redirected.
+
+
+
+

+xmlNanoHTTPReturnCode ()

+
int	xmlNanoHTTPReturnCode		(void * ctx)
+
+

Get the latest HTTP return code received

+
++ + + + + + + + + + +
ctx:the HTTP context
Returns:the HTTP return code for the request.
+
+
+
+

+xmlNanoHTTPSave ()

+
int	xmlNanoHTTPSave			(void * ctxt, 
const char * filename)
+
+

This function saves the output of the HTTP transaction to a file It closes and free the context at the end

+
++ + + + + + + + + + + + + + +
ctxt:the HTTP context
filename:the filename where the content should be saved
Returns:-1 in case of failure, 0 in case of success.
+
+
+
+

+xmlNanoHTTPScanProxy ()

+
void	xmlNanoHTTPScanProxy		(const char * URL)
+
+

(Re)Initialize the HTTP Proxy context by parsing the URL and finding the protocol host port it indicates. Should be like http://myproxy/ or http://myproxy:3128/ A NULL URL cleans up proxy information.

+
++ + + + +
URL:The proxy URL used to initialize the proxy context
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-parser.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-parser.html new file mode 100644 index 0000000000000000000000000000000000000000..5813629c238a6439850995c9f83d15881e429df0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-parser.html @@ -0,0 +1,3486 @@ + + + +parser: the core parser module + + + + + + + + + + + + + + +

parser

+

parser - the core parser module

+

Interfaces, constants and types related to the XML parser

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define XML_DEFAULT_VERSION;
+#define XML_SAX2_MAGIC;
+typedef struct _xmlAttrHashBucket xmlAttrHashBucket;
+typedef enum xmlFeature;
+typedef enum xmlParserInputState;
+typedef enum xmlParserMode;
+typedef struct _xmlParserNodeInfo xmlParserNodeInfo;
+typedef xmlParserNodeInfo * xmlParserNodeInfoPtr;
+typedef struct _xmlParserNodeInfoSeq xmlParserNodeInfoSeq;
+typedef xmlParserNodeInfoSeq * xmlParserNodeInfoSeqPtr;
+typedef struct _xmlParserNsData xmlParserNsData;
+typedef enum xmlParserOption;
+typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1;
+typedef xmlSAXHandlerV1 * xmlSAXHandlerV1Ptr;
+typedef struct _xmlStartTag xmlStartTag;
+typedef void attributeDeclSAXFunc		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree); +typedef void attributeSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * value); +typedef void cdataBlockSAXFunc (void * ctx,
const xmlChar * value,
int len); +typedef void charactersSAXFunc (void * ctx,
const xmlChar * ch,
int len); +typedef void commentSAXFunc (void * ctx,
const xmlChar * value); +typedef void elementDeclSAXFunc (void * ctx,
const xmlChar * name,
int type,
xmlElementContentPtr content); +typedef void endDocumentSAXFunc (void * ctx); +typedef void endElementNsSAX2Func (void * ctx,
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI); +typedef void endElementSAXFunc (void * ctx,
const xmlChar * name); +typedef void entityDeclSAXFunc (void * ctx,
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content); +typedef void errorSAXFunc (void * ctx,
const char * msg,
... ...); +typedef void externalSubsetSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID); +typedef void fatalErrorSAXFunc (void * ctx,
const char * msg,
... ...); +typedef xmlEntityPtr getEntitySAXFunc (void * ctx,
const xmlChar * name); +typedef xmlEntityPtr getParameterEntitySAXFunc (void * ctx,
const xmlChar * name); +typedef int hasExternalSubsetSAXFunc (void * ctx); +typedef int hasInternalSubsetSAXFunc (void * ctx); +typedef void ignorableWhitespaceSAXFunc (void * ctx,
const xmlChar * ch,
int len); +typedef void internalSubsetSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID); +typedef int isStandaloneSAXFunc (void * ctx); +typedef void notationDeclSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId); +typedef void processingInstructionSAXFunc (void * ctx,
const xmlChar * target,
const xmlChar * data); +typedef void referenceSAXFunc (void * ctx,
const xmlChar * name); +typedef xmlParserInputPtr resolveEntitySAXFunc (void * ctx,
const xmlChar * publicId,
const xmlChar * systemId); +typedef void setDocumentLocatorSAXFunc (void * ctx,
xmlSAXLocatorPtr loc); +typedef void startDocumentSAXFunc (void * ctx); +typedef void startElementNsSAX2Func (void * ctx,
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes); +typedef void startElementSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar ** atts); +typedef void unparsedEntityDeclSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName); +typedef void warningSAXFunc (void * ctx,
const char * msg,
... ...); +long xmlByteConsumed (xmlParserCtxtPtr ctxt); +void xmlCleanupGlobals (void); +void xmlCleanupParser (void); +void xmlClearNodeInfoSeq (xmlParserNodeInfoSeqPtr seq); +void xmlClearParserCtxt (xmlParserCtxtPtr ctxt); +xmlParserCtxtPtr xmlCreateDocParserCtxt (const xmlChar * str); +xmlParserCtxtPtr xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax,
void * user_data,
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
xmlCharEncoding enc); +xmlParserCtxtPtr xmlCreatePushParserCtxt (xmlSAXHandlerPtr sax,
void * user_data,
const char * chunk,
int size,
const char * filename); +xmlDocPtr xmlCtxtParseDocument (xmlParserCtxtPtr ctxt,
xmlParserInputPtr input); +xmlDocPtr xmlCtxtReadDoc (xmlParserCtxtPtr ctxt,
const xmlChar * str,
const char * URL,
const char * encoding,
int options); +xmlDocPtr xmlCtxtReadFd (xmlParserCtxtPtr ctxt,
int fd,
const char * URL,
const char * encoding,
int options); +xmlDocPtr xmlCtxtReadFile (xmlParserCtxtPtr ctxt,
const char * filename,
const char * encoding,
int options); +xmlDocPtr xmlCtxtReadIO (xmlParserCtxtPtr ctxt,
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options); +xmlDocPtr xmlCtxtReadMemory (xmlParserCtxtPtr ctxt,
const char * buffer,
int size,
const char * URL,
const char * encoding,
int options); +void xmlCtxtReset (xmlParserCtxtPtr ctxt); +int xmlCtxtResetPush (xmlParserCtxtPtr ctxt,
const char * chunk,
int size,
const char * filename,
const char * encoding); +void xmlCtxtSetErrorHandler (xmlParserCtxtPtr ctxt,
xmlStructuredErrorFunc handler,
void * data); +void xmlCtxtSetMaxAmplification (xmlParserCtxtPtr ctxt,
unsigned maxAmpl); +int xmlCtxtSetOptions (xmlParserCtxtPtr ctxt,
int options); +int xmlCtxtUseOptions (xmlParserCtxtPtr ctxt,
int options); +typedef xmlParserInputPtr xmlExternalEntityLoader (const char * URL,
const char * ID,
xmlParserCtxtPtr context); +void xmlFreeParserCtxt (xmlParserCtxtPtr ctxt); +xmlExternalEntityLoader xmlGetExternalEntityLoader (void); +int xmlGetFeature (xmlParserCtxtPtr ctxt,
const char * name,
void * result); +int xmlGetFeaturesList (int * len,
const char ** result); +int xmlHasFeature (xmlFeature feature); +xmlDtdPtr xmlIOParseDTD (xmlSAXHandlerPtr sax,
xmlParserInputBufferPtr input,
xmlCharEncoding enc); +void xmlInitGlobals (void); +void xmlInitNodeInfoSeq (xmlParserNodeInfoSeqPtr seq); +void xmlInitParser (void); +int xmlInitParserCtxt (xmlParserCtxtPtr ctxt); +int xmlKeepBlanksDefault (int val); +int xmlLineNumbersDefault (int val); +xmlParserInputPtr xmlLoadExternalEntity (const char * URL,
const char * ID,
xmlParserCtxtPtr ctxt); +xmlParserInputPtr xmlNewIOInputStream (xmlParserCtxtPtr ctxt,
xmlParserInputBufferPtr buf,
xmlCharEncoding enc); +xmlParserCtxtPtr xmlNewParserCtxt (void); +xmlParserCtxtPtr xmlNewSAXParserCtxt (const xmlSAXHandler * sax,
void * userData); +int xmlParseBalancedChunkMemory (xmlDocPtr doc,
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst); +int xmlParseBalancedChunkMemoryRecover (xmlDocPtr doc,
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * listOut,
int recover); +int xmlParseChunk (xmlParserCtxtPtr ctxt,
const char * chunk,
int size,
int terminate); +int xmlParseCtxtExternalEntity (xmlParserCtxtPtr ctxt,
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * listOut); +xmlDtdPtr xmlParseDTD (const xmlChar * ExternalID,
const xmlChar * SystemID); +xmlDocPtr xmlParseDoc (const xmlChar * cur); +int xmlParseDocument (xmlParserCtxtPtr ctxt); +xmlDocPtr xmlParseEntity (const char * filename); +int xmlParseExtParsedEnt (xmlParserCtxtPtr ctxt); +int xmlParseExternalEntity (xmlDocPtr doc,
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * list); +xmlDocPtr xmlParseFile (const char * filename); +xmlParserErrors xmlParseInNodeContext (xmlNodePtr node,
const char * data,
int datalen,
int options,
xmlNodePtr * lst); +xmlDocPtr xmlParseMemory (const char * buffer,
int size); +void xmlParserAddNodeInfo (xmlParserCtxtPtr ctxt,
xmlParserNodeInfoPtr info); +const xmlParserNodeInfo * xmlParserFindNodeInfo (xmlParserCtxtPtr ctx,
xmlNodePtr node); +unsigned long xmlParserFindNodeInfoIndex (xmlParserNodeInfoSeqPtr seq,
xmlNodePtr node); +typedef void xmlParserInputDeallocate (xmlChar * str); +int xmlParserInputGrow (xmlParserInputPtr in,
int len); +int xmlParserInputRead (xmlParserInputPtr in,
int len); +int xmlPedanticParserDefault (int val); +xmlDocPtr xmlReadDoc (const xmlChar * cur,
const char * URL,
const char * encoding,
int options); +xmlDocPtr xmlReadFd (int fd,
const char * URL,
const char * encoding,
int options); +xmlDocPtr xmlReadFile (const char * filename,
const char * encoding,
int options); +xmlDocPtr xmlReadIO (xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options); +xmlDocPtr xmlReadMemory (const char * buffer,
int size,
const char * url,
const char * encoding,
int options); +xmlDocPtr xmlRecoverDoc (const xmlChar * cur); +xmlDocPtr xmlRecoverFile (const char * filename); +xmlDocPtr xmlRecoverMemory (const char * buffer,
int size); +xmlDtdPtr xmlSAXParseDTD (xmlSAXHandlerPtr sax,
const xmlChar * ExternalID,
const xmlChar * SystemID); +xmlDocPtr xmlSAXParseDoc (xmlSAXHandlerPtr sax,
const xmlChar * cur,
int recovery); +xmlDocPtr xmlSAXParseEntity (xmlSAXHandlerPtr sax,
const char * filename); +xmlDocPtr xmlSAXParseFile (xmlSAXHandlerPtr sax,
const char * filename,
int recovery); +xmlDocPtr xmlSAXParseFileWithData (xmlSAXHandlerPtr sax,
const char * filename,
int recovery,
void * data); +xmlDocPtr xmlSAXParseMemory (xmlSAXHandlerPtr sax,
const char * buffer,
int size,
int recovery); +xmlDocPtr xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax,
const char * buffer,
int size,
int recovery,
void * data); +int xmlSAXUserParseFile (xmlSAXHandlerPtr sax,
void * user_data,
const char * filename); +int xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
void * user_data,
const char * buffer,
int size); +void xmlSetExternalEntityLoader (xmlExternalEntityLoader f); +int xmlSetFeature (xmlParserCtxtPtr ctxt,
const char * name,
void * value); +void xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt,
const xmlChar * buffer,
const char * filename); +void xmlStopParser (xmlParserCtxtPtr ctxt); +int xmlSubstituteEntitiesDefault (int val); +int xmlThrDefDoValidityCheckingDefaultValue (int v); +int xmlThrDefGetWarningsDefaultValue (int v); +int xmlThrDefKeepBlanksDefaultValue (int v); +int xmlThrDefLineNumbersDefaultValue (int v); +int xmlThrDefLoadExtDtdDefaultValue (int v); +int xmlThrDefParserDebugEntities (int v); +int xmlThrDefPedanticParserDefaultValue (int v); +int xmlThrDefSubstituteEntitiesDefaultValue (int v); +
+
+

Description

+
+

Details

+
+
+

+Macro XML_DEFAULT_VERSION

+
#define XML_DEFAULT_VERSION;
+
+

The default version of XML used: 1.0

+
+
+
+

+Macro XML_SAX2_MAGIC

+
#define XML_SAX2_MAGIC;
+
+

Special constant found in SAX2 blocks initialized fields

+
+
+
+

+Structure xmlAttrHashBucket

+
struct _xmlAttrHashBucket {
+The content of this structure is not made public by the API.
+} xmlAttrHashBucket;
+
+

+
+
+
+

+Enum xmlFeature

+
enum xmlFeature {
+    XML_WITH_THREAD = 1
+    XML_WITH_TREE = 2
+    XML_WITH_OUTPUT = 3
+    XML_WITH_PUSH = 4
+    XML_WITH_READER = 5
+    XML_WITH_PATTERN = 6
+    XML_WITH_WRITER = 7
+    XML_WITH_SAX1 = 8
+    XML_WITH_FTP = 9
+    XML_WITH_HTTP = 10
+    XML_WITH_VALID = 11
+    XML_WITH_HTML = 12
+    XML_WITH_LEGACY = 13
+    XML_WITH_C14N = 14
+    XML_WITH_CATALOG = 15
+    XML_WITH_XPATH = 16
+    XML_WITH_XPTR = 17
+    XML_WITH_XINCLUDE = 18
+    XML_WITH_ICONV = 19
+    XML_WITH_ISO8859X = 20
+    XML_WITH_UNICODE = 21
+    XML_WITH_REGEXP = 22
+    XML_WITH_AUTOMATA = 23
+    XML_WITH_EXPR = 24
+    XML_WITH_SCHEMAS = 25
+    XML_WITH_SCHEMATRON = 26
+    XML_WITH_MODULES = 27
+    XML_WITH_DEBUG = 28
+    XML_WITH_DEBUG_MEM = 29
+    XML_WITH_DEBUG_RUN = 30 /* unused */
+    XML_WITH_ZLIB = 31
+    XML_WITH_ICU = 32
+    XML_WITH_LZMA = 33
+    XML_WITH_NONE = 99999 /*  just to be sure of allocation size */
+};
+
+

+
+
+
+

+Enum xmlParserInputState

+
enum xmlParserInputState {
+    XML_PARSER_EOF = -1 /* nothing is to be parsed */
+    XML_PARSER_START = 0 /* nothing has been parsed */
+    XML_PARSER_MISC = 1 /* Misc* before int subset */
+    XML_PARSER_PI = 2 /* Within a processing instruction */
+    XML_PARSER_DTD = 3 /* within some DTD content */
+    XML_PARSER_PROLOG = 4 /* Misc* after internal subset */
+    XML_PARSER_COMMENT = 5 /* within a comment */
+    XML_PARSER_START_TAG = 6 /* within a start tag */
+    XML_PARSER_CONTENT = 7 /* within the content */
+    XML_PARSER_CDATA_SECTION = 8 /* within a CDATA section */
+    XML_PARSER_END_TAG = 9 /* within a closing tag */
+    XML_PARSER_ENTITY_DECL = 10 /* within an entity declaration */
+    XML_PARSER_ENTITY_VALUE = 11 /* within an entity value in a decl */
+    XML_PARSER_ATTRIBUTE_VALUE = 12 /* within an attribute value */
+    XML_PARSER_SYSTEM_LITERAL = 13 /* within a SYSTEM value */
+    XML_PARSER_EPILOG = 14 /* the Misc* after the last end tag */
+    XML_PARSER_IGNORE = 15 /* within an IGNORED section */
+    XML_PARSER_PUBLIC_LITERAL = 16 /* within a PUBLIC value */
+    XML_PARSER_XML_DECL = 17 /*  before XML decl (but after BOM) */
+};
+
+

+
+
+
+

+Enum xmlParserMode

+
enum xmlParserMode {
+    XML_PARSE_UNKNOWN = 0
+    XML_PARSE_DOM = 1
+    XML_PARSE_SAX = 2
+    XML_PARSE_PUSH_DOM = 3
+    XML_PARSE_PUSH_SAX = 4
+    XML_PARSE_READER = 5
+};
+
+

+
+
+
+

+Structure xmlParserNodeInfo

+
struct _xmlParserNodeInfo {
+    const struct _xmlNode *	node	: Position & line # that text that created the node begins & ends on
+    unsigned long	begin_pos
+    unsigned long	begin_line
+    unsigned long	end_pos
+    unsigned long	end_line
+} xmlParserNodeInfo;
+
+

+
+
+
+

+Typedef xmlParserNodeInfoPtr

+
xmlParserNodeInfo * xmlParserNodeInfoPtr;
+
+

+
+
+
+

+Structure xmlParserNodeInfoSeq

+
struct _xmlParserNodeInfoSeq {
+    unsigned long	maximum
+    unsigned long	length
+    xmlParserNodeInfo *	buffer
+} xmlParserNodeInfoSeq;
+
+

+
+
+
+

+Typedef xmlParserNodeInfoSeqPtr

+
xmlParserNodeInfoSeq * xmlParserNodeInfoSeqPtr;
+
+

+
+
+
+

+Structure xmlParserNsData

+
struct _xmlParserNsData {
+The content of this structure is not made public by the API.
+} xmlParserNsData;
+
+

+
+
+
+

+Enum xmlParserOption

+
enum xmlParserOption {
+    XML_PARSE_RECOVER = 1 /* recover on errors */
+    XML_PARSE_NOENT = 2 /* substitute entities */
+    XML_PARSE_DTDLOAD = 4 /* load the external subset */
+    XML_PARSE_DTDATTR = 8 /* default DTD attributes */
+    XML_PARSE_DTDVALID = 16 /* validate with the DTD */
+    XML_PARSE_NOERROR = 32 /* suppress error reports */
+    XML_PARSE_NOWARNING = 64 /* suppress warning reports */
+    XML_PARSE_PEDANTIC = 128 /* pedantic error reporting */
+    XML_PARSE_NOBLANKS = 256 /* remove blank nodes */
+    XML_PARSE_SAX1 = 512 /* use the SAX1 interface internally */
+    XML_PARSE_XINCLUDE = 1024 /* Implement XInclude substitution */
+    XML_PARSE_NONET = 2048 /* Forbid network access */
+    XML_PARSE_NODICT = 4096 /* Do not reuse the context dictionary */
+    XML_PARSE_NSCLEAN = 8192 /* remove redundant namespaces declarations */
+    XML_PARSE_NOCDATA = 16384 /* merge CDATA as text nodes */
+    XML_PARSE_NOXINCNODE = 32768 /* do not generate XINCLUDE START/END nodes */
+    XML_PARSE_COMPACT = 65536 /* compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree) */
+    XML_PARSE_OLD10 = 131072 /* parse using XML-1.0 before update 5 */
+    XML_PARSE_NOBASEFIX = 262144 /* do not fixup XINCLUDE xml:base uris */
+    XML_PARSE_HUGE = 524288 /* relax any hardcoded limit from the parser */
+    XML_PARSE_OLDSAX = 1048576 /* parse using SAX2 interface before 2.7.0 */
+    XML_PARSE_IGNORE_ENC = 2097152 /* ignore internal document encoding hint */
+    XML_PARSE_BIG_LINES = 4194304 /* Store big lines numbers in text PSVI field */
+    XML_PARSE_NO_XXE = 8388608 /*  disable loading of external content */
+};
+
+

+
+
+
+

+Structure xmlSAXHandlerV1

+
struct _xmlSAXHandlerV1 {
+    internalSubsetSAXFunc	internalSubset
+    isStandaloneSAXFunc	isStandalone
+    hasInternalSubsetSAXFunc	hasInternalSubset
+    hasExternalSubsetSAXFunc	hasExternalSubset
+    resolveEntitySAXFunc	resolveEntity
+    getEntitySAXFunc	getEntity
+    entityDeclSAXFunc	entityDecl
+    notationDeclSAXFunc	notationDecl
+    attributeDeclSAXFunc	attributeDecl
+    elementDeclSAXFunc	elementDecl
+    unparsedEntityDeclSAXFunc	unparsedEntityDecl
+    setDocumentLocatorSAXFunc	setDocumentLocator
+    startDocumentSAXFunc	startDocument
+    endDocumentSAXFunc	endDocument
+    startElementSAXFunc	startElement
+    endElementSAXFunc	endElement
+    referenceSAXFunc	reference
+    charactersSAXFunc	characters
+    ignorableWhitespaceSAXFunc	ignorableWhitespace
+    processingInstructionSAXFunc	processingInstruction
+    commentSAXFunc	comment
+    warningSAXFunc	warning
+    errorSAXFunc	error
+    fatalErrorSAXFunc	fatalError	: unused error() get all the errors
+    getParameterEntitySAXFunc	getParameterEntity
+    cdataBlockSAXFunc	cdataBlock
+    externalSubsetSAXFunc	externalSubset
+    unsigned int	initialized
+} xmlSAXHandlerV1;
+
+

+
+
+
+

+Typedef xmlSAXHandlerV1Ptr

+
xmlSAXHandlerV1 * xmlSAXHandlerV1Ptr;
+
+

+
+
+
+

+Structure xmlStartTag

+
struct _xmlStartTag {
+The content of this structure is not made public by the API.
+} xmlStartTag;
+
+

+
+
+
+

+Function type attributeDeclSAXFunc

+
void	attributeDeclSAXFunc		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+
+

An attribute definition has been parsed.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set
+
+
+
+

+Function type attributeSAXFunc

+
void	attributeSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * value)
+
+

Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The attribute name, including namespace prefix
value:The attribute value
+
+
+
+

+Function type cdataBlockSAXFunc

+
void	cdataBlockSAXFunc		(void * ctx, 
const xmlChar * value,
int len)
+
+

Called when a pcdata block has been parsed.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length
+
+
+
+

+Function type charactersSAXFunc

+
void	charactersSAXFunc		(void * ctx, 
const xmlChar * ch,
int len)
+
+

Receiving some chars from the parser.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar +
+
+
+
+

+Function type commentSAXFunc

+
void	commentSAXFunc			(void * ctx, 
const xmlChar * value)
+
+

A comment has been parsed.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
value:the comment content
+
+
+
+

+Function type elementDeclSAXFunc

+
void	elementDeclSAXFunc		(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
+
+

An element definition has been parsed.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree
+
+
+
+

+Function type endDocumentSAXFunc

+
void	endDocumentSAXFunc		(void * ctx)
+
+

Called when the document end has been detected.

+
++ + + + +
ctx:the user data (XML parser context)
+
+
+
+

+Function type endElementNsSAX2Func

+
void	endElementNsSAX2Func		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI)
+
+

SAX2 callback when an element end has been detected by the parser. It provides the namespace information for the element.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available
+
+
+
+

+Function type endElementSAXFunc

+
void	endElementSAXFunc		(void * ctx, 
const xmlChar * name)
+
+

Called when the end of an element has been detected.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
name:The element name
+
+
+
+

+Function type entityDeclSAXFunc

+
void	entityDeclSAXFunc		(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+
+

An entity definition has been parsed.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).
+
+
+
+

+Function type errorSAXFunc

+
void	errorSAXFunc			(void * ctx, 
const char * msg,
... ...)
+
+

Display and format an error messages, callback.

+
++ + + + + + + + + + + + + + +
ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display
+
+
+
+

+Function type externalSubsetSAXFunc

+
void	externalSubsetSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

Callback on external subset declaration.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)
+
+
+
+

+Function type fatalErrorSAXFunc

+
void	fatalErrorSAXFunc		(void * ctx, 
const char * msg,
... ...)
+
+

Display and format fatal error messages, callback. Note: so far fatalError() SAX callbacks are not used, error() get all the callbacks for errors.

+
++ + + + + + + + + + + + + + +
ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display
+
+
+
+

+Function type getEntitySAXFunc

+
xmlEntityPtr	getEntitySAXFunc	(void * ctx, 
const xmlChar * name)
+
+

Get an entity by name.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.
+
+
+
+

+Function type getParameterEntitySAXFunc

+
xmlEntityPtr	getParameterEntitySAXFunc	(void * ctx, 
const xmlChar * name)
+
+

Get a parameter entity by name.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.
+
+
+
+

+Function type hasExternalSubsetSAXFunc

+
int	hasExternalSubsetSAXFunc	(void * ctx)
+
+

Does this document has an external subset?

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+Function type hasInternalSubsetSAXFunc

+
int	hasInternalSubsetSAXFunc	(void * ctx)
+
+

Does this document has an internal subset.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+Function type ignorableWhitespaceSAXFunc

+
void	ignorableWhitespaceSAXFunc	(void * ctx, 
const xmlChar * ch,
int len)
+
+

Receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar +
+
+
+
+

+Function type internalSubsetSAXFunc

+
void	internalSubsetSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

Callback on internal subset declaration.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)
+
+
+
+

+Function type isStandaloneSAXFunc

+
int	isStandaloneSAXFunc		(void * ctx)
+
+

Is this document tagged standalone?

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
Returns:1 if true
+
+
+
+

+Function type notationDeclSAXFunc

+
void	notationDeclSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+
+

What to do when a notation declaration has been parsed.

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity
+
+
+
+

+Function type processingInstructionSAXFunc

+
void	processingInstructionSAXFunc	(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+
+

A processing instruction has been parsed.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
target:the target name
data:the PI data's
+
+
+
+

+Function type referenceSAXFunc

+
void	referenceSAXFunc		(void * ctx, 
const xmlChar * name)
+
+

Called when an entity reference is detected.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
name:The entity name
+
+
+
+

+Function type resolveEntitySAXFunc

+
xmlParserInputPtr	resolveEntitySAXFunc	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+
+

Callback: The entity loader, to control the loading of external entities, the application can either: - override this resolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine

+
++ + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.
+
+
+
+

+Function type setDocumentLocatorSAXFunc

+
void	setDocumentLocatorSAXFunc	(void * ctx, 
xmlSAXLocatorPtr loc)
+
+

Receive the document locator at startup, actually xmlDefaultSAXLocator. Everything is available on the context, so this is useless in our case.

+
++ + + + + + + + + + +
ctx:the user data (XML parser context)
loc:A SAX Locator
+
+
+
+

+Function type startDocumentSAXFunc

+
void	startDocumentSAXFunc		(void * ctx)
+
+

Called when the document start being processed.

+
++ + + + +
ctx:the user data (XML parser context)
+
+
+
+

+Function type startElementNsSAX2Func

+
void	startElementNsSAX2Func		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes)
+
+

SAX2 callback when an element start has been detected by the parser. It provides the namespace information for the element, as well as the new namespace declarations on the element.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available
nb_namespaces:number of namespace definitions on that node
namespaces:pointer to the array of prefix/URI pairs namespace definitions
nb_attributes:the number of attributes on that node
nb_defaulted:the number of defaulted attributes. The defaulted ones are at the end of the array
attributes:pointer to the array of (localname/prefix/URI/value/end) attribute values.
+
+
+
+

+Function type startElementSAXFunc

+
void	startElementSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar ** atts)
+
+

Called when an opening tag has been processed.

+
++ + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The element name, including namespace prefix
atts:An array of name/value attributes pairs, NULL terminated
+
+
+
+

+Function type unparsedEntityDeclSAXFunc

+
void	unparsedEntityDeclSAXFunc	(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+
+

What to do when an unparsed entity declaration is parsed.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation
+
+
+
+

+Function type warningSAXFunc

+
void	warningSAXFunc			(void * ctx, 
const char * msg,
... ...)
+
+

Display and format a warning messages, callback.

+
++ + + + + + + + + + + + + + +
ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display
+
+
+
+

+Function type xmlExternalEntityLoader

+
xmlParserInputPtr	xmlExternalEntityLoader	(const char * URL, 
const char * ID,
xmlParserCtxtPtr context)
+
+

External entity loaders types.

+
++ + + + + + + + + + + + + + + + + + +
URL:The System ID of the resource requested
ID:The Public ID of the resource requested
context:the XML parser context
Returns:the entity input parser.
+
+
+
+

+Function type xmlParserInputDeallocate

+
void	xmlParserInputDeallocate	(xmlChar * str)
+
+

Callback for freeing some parser input allocations.

+
++ + + + +
str:the string to deallocate
+
+
+
+

+Variable oldXMLWDcompatibility

+
const int oldXMLWDcompatibility;
+
+

Global setting, DEPRECATED.

+
+
+
+

+Variable xmlDefaultSAXHandler

+
const xmlSAXHandlerV1 xmlDefaultSAXHandler;
+
+

DEPRECATED: This handler is unused and will be removed from future versions. Default SAX version1 handler for XML, builds the DOM tree

+
+
+
+

+Variable xmlDefaultSAXLocator

+
const xmlSAXLocator xmlDefaultSAXLocator;
+
+

DEPRECATED: Don't use The default SAX Locator { getPublicId, getSystemId, getLineNumber, getColumnNumber}

+
+
+
+

+Variable xmlParserDebugEntities

+
const int xmlParserDebugEntities;
+
+

DEPRECATED: Don't use Global setting, asking the parser to print out debugging information. while handling entities. Disabled by default

+
+
+
+

+Variable xmlParserVersion

+
const char * const xmlParserVersion;
+
+

Constant string describing the internal version of the library

+
+
+
+

+xmlByteConsumed ()

+
long	xmlByteConsumed			(xmlParserCtxtPtr ctxt)
+
+

This function provides the current index of the parser relative to the start of the current entity. This function is computed in bytes from the beginning starting at zero and finishing at the size in byte of the file if parsing a file. The function is of constant cost if the input is UTF-8 but can be costly if run on non-UTF-8 input.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the index in bytes from the beginning of the entity or -1 in case the index could not be computed.
+
+
+
+

+xmlCleanupGlobals ()

+
void	xmlCleanupGlobals		(void)
+
+

DEPRECATED: This function is a no-op. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all.

+
+
+
+

+xmlCleanupParser ()

+
void	xmlCleanupParser		(void)
+
+

This function name is somewhat misleading. It does not clean up parser state, it cleans up memory allocated by the library itself. It is a cleanup function for the XML library. It tries to reclaim all related global memory allocated for the library processing. It doesn't deallocate any document related memory. One should call xmlCleanupParser() only when the process has finished using the library and all XML/HTML documents built with it. See also xmlInitParser() which has the opposite function of preparing the library for operations. WARNING: if your application is multithreaded or has plugin support calling this may crash the application if another thread or a plugin is still using libxml2. It's sometimes very hard to guess if libxml2 is in use in the application, some libraries or plugins may use it without notice. In case of doubt abstain from calling this function or do it just before calling exit() to avoid leak reports from valgrind !

+
+
+
+

+xmlClearNodeInfoSeq ()

+
void	xmlClearNodeInfoSeq		(xmlParserNodeInfoSeqPtr seq)
+
+

DEPRECATED: Don't use. -- Clear (release memory and reinitialize) node info sequence

+
++ + + + +
seq:a node info sequence pointer
+
+
+
+

+xmlClearParserCtxt ()

+
void	xmlClearParserCtxt		(xmlParserCtxtPtr ctxt)
+
+

Clear (release owned resources) and reinitialize a parser context

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlCreateDocParserCtxt ()

+
xmlParserCtxtPtr	xmlCreateDocParserCtxt	(const xmlChar * str)
+
+

Creates a parser context for an XML in-memory document.

+
++ + + + + + + + + + +
str:a pointer to an array of xmlChar +
Returns:the new parser context or NULL
+
+
+
+

+xmlCreateIOParserCtxt ()

+
xmlParserCtxtPtr	xmlCreateIOParserCtxt	(xmlSAXHandlerPtr sax, 
void * user_data,
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
xmlCharEncoding enc)
+
+

Create a parser context for using the XML parser with an existing I/O stream

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
sax:a SAX handler (optional)
user_data:user data for SAX callbacks (optional)
ioread:an I/O read function
ioclose:an I/O close function (optional)
ioctx:an I/O handler
enc:the charset encoding if known (deprecated)
Returns:the new parser context or NULL
+
+
+
+

+xmlCreatePushParserCtxt ()

+
xmlParserCtxtPtr	xmlCreatePushParserCtxt	(xmlSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename)
+
+

Create a parser context for using the XML parser in push mode. See xmlParseChunk. Passing an initial chunk is useless and deprecated. @filename is used as base URI to fetch external entities and for error reports.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
sax:a SAX handler (optional)
user_data:user data for SAX callbacks (optional)
chunk:initial chunk (optional, deprecated)
size:size of initial chunk in bytes
filename:file name or URI (optional)
Returns:the new parser context or NULL in case of error.
+
+
+
+

+xmlCtxtParseDocument ()

+
xmlDocPtr	xmlCtxtParseDocument	(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr input)
+
+

Parse an XML document and return the resulting document tree. Takes ownership of the input object. Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
input:parser input
Returns:the resulting document tree or NULL
+
+
+
+

+xmlCtxtReadDoc ()

+
xmlDocPtr	xmlCtxtReadDoc		(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
const char * URL,
const char * encoding,
int options)
+
+

Parse an XML in-memory document and build a tree. @URL is used as base to resolve external entities and for error reporting. See xmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
str:a pointer to a zero terminated string
URL:base URL (optional)
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlCtxtReadFd ()

+
xmlDocPtr	xmlCtxtReadFd		(xmlParserCtxtPtr ctxt, 
int fd,
const char * URL,
const char * encoding,
int options)
+
+

Parse an XML document from a file descriptor and build a tree. NOTE that the file descriptor will not be closed when the context is freed or reset. @URL is used as base to resolve external entities and for error reporting. See xmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
fd:an open file descriptor
URL:base URL (optional)
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlCtxtReadFile ()

+
xmlDocPtr	xmlCtxtReadFile		(xmlParserCtxtPtr ctxt, 
const char * filename,
const char * encoding,
int options)
+
+

Parse an XML file from the filesystem, the network or a user-defined resource loader. See xmlNewInputURL and xmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
filename:a file or URL
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlCtxtReadIO ()

+
xmlDocPtr	xmlCtxtReadIO		(xmlParserCtxtPtr ctxt, 
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
+
+

parse an XML document from I/O functions and source and build a tree. This reuses the existing @ctxt parser context @URL is used as base to resolve external entities and for error reporting. See xmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlCtxtReadMemory ()

+
xmlDocPtr	xmlCtxtReadMemory	(xmlParserCtxtPtr ctxt, 
const char * buffer,
int size,
const char * URL,
const char * encoding,
int options)
+
+

Parse an XML in-memory document and build a tree. The input buffer must not contain a terminating null byte. @URL is used as base to resolve external entities and for error reporting. See xmlCtxtUseOptions for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
buffer:a pointer to a char array
size:the size of the array
URL:base URL (optional)
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlCtxtReset ()

+
void	xmlCtxtReset			(xmlParserCtxtPtr ctxt)
+
+

Reset a parser context

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlCtxtResetPush ()

+
int	xmlCtxtResetPush		(xmlParserCtxtPtr ctxt, 
const char * chunk,
int size,
const char * filename,
const char * encoding)
+
+

Reset a push parser context

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
chunk:a pointer to an array of chars
size:number of chars in the array
filename:an optional file name or URI
encoding:the document encoding, or NULL
Returns:0 in case of success and 1 in case of error
+
+
+
+

+xmlCtxtSetErrorHandler ()

+
void	xmlCtxtSetErrorHandler		(xmlParserCtxtPtr ctxt, 
xmlStructuredErrorFunc handler,
void * data)
+
+

Register a callback function that will be called on errors and warnings. If handler is NULL, the error handler will be deactivated. This is the recommended way to collect errors from the parser and takes precedence over all other error reporting mechanisms. These are (in order of precedence): - per-context structured handler (xmlCtxtSetErrorHandler) - per-context structured "serror" SAX handler - global structured handler (xmlSetStructuredErrorFunc) - per-context generic "error" and "warning" SAX handlers - global generic handler (xmlSetGenericErrorFunc) - print to stderr Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
handler:error handler
data:data for error handler
+
+
+
+

+xmlCtxtSetMaxAmplification ()

+
void	xmlCtxtSetMaxAmplification	(xmlParserCtxtPtr ctxt, 
unsigned maxAmpl)
+
+

To protect against exponential entity expansion ("billion laughs"), the size of serialized output is (roughly) limited to the input size multiplied by this factor. The default value is 5. When working with documents making heavy use of entity expansion, it can be necessary to increase the value. For security reasons, this should only be considered when processing trusted input.

+
++ + + + + + + + + + +
ctxt:an XML parser context
maxAmpl:maximum amplification factor
+
+
+
+

+xmlCtxtSetOptions ()

+
int	xmlCtxtSetOptions		(xmlParserCtxtPtr ctxt, 
int options)
+
+

Applies the options to the parser context. Unset options are cleared. Available since 2.13.0. With older versions, you can use xmlCtxtUseOptions. XML_PARSE_RECOVER Enable "recovery" mode which allows non-wellformed documents. How this mode behaves exactly is unspecified and may change without further notice. Use of this feature is DISCOURAGED. XML_PARSE_NOENT Despite the confusing name, this option enables substitution of entities. The resulting tree won't contain any entity reference nodes. This option also enables loading of external entities (both general and parameter entities) which is dangerous. If you process untrusted data, it's recommended to set the XML_PARSE_NO_XXE option to disable loading of external entities. XML_PARSE_DTDLOAD Enables loading of an external DTD and the loading and substitution of external parameter entities. Has no effect if XML_PARSE_NO_XXE is set. XML_PARSE_DTDATTR Adds default attributes from the DTD to the result document. Implies XML_PARSE_DTDLOAD, but loading of external content can be disabled with XML_PARSE_NO_XXE. XML_PARSE_DTDVALID This option enables DTD validation which requires to load external DTDs and external entities (both general and parameter entities) unless XML_PARSE_NO_XXE was set. XML_PARSE_NO_XXE Disables loading of external DTDs or entities. XML_PARSE_NOERROR Disable error and warning reports to the error handlers. Errors are still accessible with xmlCtxtGetLastError. XML_PARSE_NOWARNING Disable warning reports. XML_PARSE_PEDANTIC Enable some pedantic warnings. XML_PARSE_NOBLANKS Remove some text nodes containing only whitespace from the result document. Which nodes are removed depends on DTD element declarations or a conservative heuristic. The reindenting feature of the serialization code relies on this option to be set when parsing. Use of this option is DISCOURAGED. XML_PARSE_SAX1 Always invoke the deprecated SAX1 startElement and endElement handlers. This option is DEPRECATED. XML_PARSE_NONET Disable network access with the builtin HTTP and FTP clients. XML_PARSE_NODICT Create a document without interned strings, making all strings separate memory allocations. XML_PARSE_NSCLEAN Remove redundant namespace declarations from the result document. XML_PARSE_NOCDATA Output normal text nodes instead of CDATA nodes. XML_PARSE_COMPACT Store small strings directly in the node struct to save memory. XML_PARSE_OLD10 Use old Name productions from before XML 1.0 Fifth Edition. This options is DEPRECATED. XML_PARSE_HUGE Relax some internal limits. Maximum size of text nodes, tags, comments, processing instructions, CDATA sections, entity values normal: 10M huge: 1B Maximum size of names, system literals, pubid literals normal: 50K huge: 10M Maximum nesting depth of elements normal: 256 huge: 2048 Maximum nesting depth of entities normal: 20 huge: 40 XML_PARSE_OLDSAX Enable an unspecified legacy mode for SAX parsers. This option is DEPRECATED. XML_PARSE_IGNORE_ENC Ignore the encoding in the XML declaration. This option is mostly unneeded these days. The only effect is to enforce UTF-8 decoding of ASCII-like data. XML_PARSE_BIG_LINES Enable reporting of line numbers larger than 65535.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
options:a bitmask of xmlParserOption values
Returns:0 in case of success, the set of unknown or unimplemented options in case of error.
+
+
+
+

+xmlCtxtUseOptions ()

+
int	xmlCtxtUseOptions		(xmlParserCtxtPtr ctxt, 
int options)
+
+

DEPRECATED: Use xmlCtxtSetOptions. Applies the options to the parser context. The following options are never cleared and can only be enabled: XML_PARSE_NOERROR XML_PARSE_NOWARNING XML_PARSE_NONET XML_PARSE_NSCLEAN XML_PARSE_NOCDATA XML_PARSE_COMPACT XML_PARSE_OLD10 XML_PARSE_HUGE XML_PARSE_OLDSAX XML_PARSE_IGNORE_ENC XML_PARSE_BIG_LINES

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
options:a combination of xmlParserOption +
Returns:0 in case of success, the set of unknown or unimplemented options in case of error.
+
+
+
+

+xmlFreeParserCtxt ()

+
void	xmlFreeParserCtxt		(xmlParserCtxtPtr ctxt)
+
+

Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed.

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlGetExternalEntityLoader ()

+
xmlExternalEntityLoader	xmlGetExternalEntityLoader	(void)
+
+

Get the default external entity resolver function for the application

+
++ + + + +
Returns:the xmlExternalEntityLoader function pointer
+
+
+
+

+xmlGetFeature ()

+
int	xmlGetFeature			(xmlParserCtxtPtr ctxt, 
const char * name,
void * result)
+
+

Read the current value of one feature of this parser instance

+
++ + + + + + + + + + + + + + + + + + +
ctxt:an XML/HTML parser context
name:the feature name
result:location to store the result
Returns:-1 in case or error, 0 otherwise
+
+
+
+

+xmlGetFeaturesList ()

+
int	xmlGetFeaturesList		(int * len, 
const char ** result)
+
+

Copy at most *@len feature names into the @result array

+
++ + + + + + + + + + + + + + +
len:the length of the features name array (input/output)
result:an array of string to be filled with the features name.
Returns:-1 in case or error, or the total number of features, len is updated with the number of strings copied, strings must not be deallocated
+
+
+
+

+xmlHasFeature ()

+
int	xmlHasFeature			(xmlFeature feature)
+
+

Examines if the library has been compiled with a given feature.

+
++ + + + + + + + + + +
feature:the feature to be examined
Returns:a non-zero value if the feature exist, otherwise zero. Returns zero (0) if the feature does not exist or an unknown unknown feature is requested, non-zero otherwise.
+
+
+
+

+xmlIOParseDTD ()

+
xmlDtdPtr	xmlIOParseDTD		(xmlSAXHandlerPtr sax, 
xmlParserInputBufferPtr input,
xmlCharEncoding enc)
+
+

Load and parse a DTD

+
++ + + + + + + + + + + + + + + + + + +
sax:the SAX handler block or NULL
input:an Input Buffer
enc:the charset encoding if known
Returns:the resulting xmlDtdPtr or NULL in case of error. @input will be freed by the function in any case.
+
+
+
+

+xmlInitGlobals ()

+
void	xmlInitGlobals			(void)
+
+

DEPRECATED: Alias for xmlInitParser.

+
+
+
+

+xmlInitNodeInfoSeq ()

+
void	xmlInitNodeInfoSeq		(xmlParserNodeInfoSeqPtr seq)
+
+

DEPRECATED: Don't use. -- Initialize (set to initial state) node info sequence

+
++ + + + +
seq:a node info sequence pointer
+
+
+
+

+xmlInitParser ()

+
void	xmlInitParser			(void)
+
+

Initialization function for the XML parser. Call once from the main thread before using the library in multithreaded programs.

+
+
+
+

+xmlInitParserCtxt ()

+
int	xmlInitParserCtxt		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function which will be made private in a future version. Initialize a parser context

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlKeepBlanksDefault ()

+
int	xmlKeepBlanksDefault		(int val)
+
+

DEPRECATED: Use the modern options API with XML_PARSE_NOBLANKS. Set and return the previous value for default blanks text nodes support. The 1.x version of the parser used an heuristic to try to detect ignorable white spaces. As a result the SAX callback was generating xmlSAX2IgnorableWhitespace() callbacks instead of characters() one, and when using the DOM output text nodes containing those blanks were not generated. The 2.x and later version will switch to the XML standard way and ignorableWhitespace() are only generated when running the parser in validating mode and when the current element doesn't allow CDATA or mixed content. This function is provided as a way to force the standard behavior on 1.X libs and to switch back to the old mode for compatibility when running 1.X client code on 2.X . Upgrade of 1.X code should be done by using xmlIsBlankNode() commodity function to detect the "empty" nodes generated. This value also affect autogeneration of indentation when saving code if blanks sections are kept, indentation is not generated.

+
++ + + + + + + + + + +
val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.
+
+
+
+

+xmlLineNumbersDefault ()

+
int	xmlLineNumbersDefault		(int val)
+
+

DEPRECATED: The modern options API always enables line numbers. Set and return the previous value for enabling line numbers in elements contents. This may break on old application and is turned off by default.

+
++ + + + + + + + + + +
val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.
+
+
+
+

+xmlLoadExternalEntity ()

+
xmlParserInputPtr	xmlLoadExternalEntity	(const char * URL, 
const char * ID,
xmlParserCtxtPtr ctxt)
+
+

+
++ + + + + + + + + + + + + + + + + + +
URL:the URL for the entity to load
ID:the Public ID for the entity to load
ctxt:the context in which the entity is called or NULL
Returns:the xmlParserInputPtr or NULL
+
+
+
+

+xmlNewIOInputStream ()

+
xmlParserInputPtr	xmlNewIOInputStream	(xmlParserCtxtPtr ctxt, 
xmlParserInputBufferPtr buf,
xmlCharEncoding enc)
+
+

Create a new input stream structure encapsulating the @input into a stream suitable for the parser.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
buf:an input buffer
enc:the charset encoding if known
Returns:the new input stream or NULL
+
+
+
+

+xmlNewParserCtxt ()

+
xmlParserCtxtPtr	xmlNewParserCtxt	(void)
+
+

Allocate and initialize a new parser context.

+
++ + + + +
Returns:the xmlParserCtxtPtr or NULL
+
+
+
+

+xmlNewSAXParserCtxt ()

+
xmlParserCtxtPtr	xmlNewSAXParserCtxt	(const xmlSAXHandler * sax, 
void * userData)
+
+

Allocate and initialize a new SAX parser context. If userData is NULL, the parser context will be passed as user data. Available since 2.11.0. If you want support older versions, it's best to invoke xmlNewParserCtxt and set ctxt->sax with struct assignment.

+
++ + + + + + + + + + + + + + +
sax:SAX handler
userData:user data
Returns:the xmlParserCtxtPtr or NULL if memory allocation failed.
+
+
+
+

+xmlParseBalancedChunkMemory ()

+
int	xmlParseBalancedChunkMemory	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst)
+
+

Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the document the chunk pertains to (must not be NULL)
sax:the SAX handler block (possibly NULL)
user_data:The user data returned on SAX callbacks (possibly NULL)
depth:Used for loop detection, use 0
string:the input string in UTF8 or ISO-Latin (zero terminated)
lst:the return value for the set of parsed nodes
Returns:0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise
+
+
+
+

+xmlParseBalancedChunkMemoryRecover ()

+
int	xmlParseBalancedChunkMemoryRecover	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * listOut,
int recover)
+
+

Parse a well-balanced chunk of an XML document The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the document the chunk pertains to (must not be NULL)
sax:the SAX handler block (possibly NULL)
user_data:The user data returned on SAX callbacks (possibly NULL)
depth:Used for loop detection, use 0
string:the input string in UTF8 or ISO-Latin (zero terminated)
listOut:the return value for the set of parsed nodes
recover:return nodes even if the data is broken (use 0)
Returns:0 if the chunk is well balanced, or thehe parser error code otherwise. In case recover is set to 1, the nodelist will not be empty even if the parsed chunk is not well balanced, assuming the parsing succeeded to some extent.
+
+
+
+

+xmlParseChunk ()

+
int	xmlParseChunk			(xmlParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)
+
+

Parse a chunk of memory in push parser mode. Assumes that the parser context was initialized with xmlCreatePushParserCtxt. The last chunk, which will often be empty, must be marked with the @terminate flag. With the default SAX callbacks, the resulting document will be available in ctxt->myDoc. This pointer will not be freed by the library. If the document isn't well-formed, ctxt->myDoc is set to NULL. The push parser doesn't support recovery mode.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
chunk:chunk of memory
size:size of chunk in bytes
terminate:last chunk indicator
Returns:an xmlParserErrors code (0 on success).
+
+
+
+

+xmlParseCtxtExternalEntity ()

+
int	xmlParseCtxtExternalEntity	(xmlParserCtxtPtr ctxt, 
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * listOut)
+
+

Parse an external general entity within an existing parsing context An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the existing parsing context
URL:the URL for the entity to load
ID:the System ID for the entity to load
listOut:the return value for the set of parsed nodes
Returns:0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise
+
+
+
+

+xmlParseDTD ()

+
xmlDtdPtr	xmlParseDTD		(const xmlChar * ExternalID, 
const xmlChar * SystemID)
+
+

Load and parse an external subset.

+
++ + + + + + + + + + + + + + +
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.
+
+
+
+

+xmlParseDoc ()

+
xmlDocPtr	xmlParseDoc		(const xmlChar * cur)
+
+

DEPRECATED: Use xmlReadDoc. parse an XML in-memory document and build a tree.

+
++ + + + + + + + + + +
cur:a pointer to an array of xmlChar +
Returns:the resulting document tree
+
+
+
+

+xmlParseDocument ()

+
int	xmlParseDocument		(xmlParserCtxtPtr ctxt)
+
+

Parse an XML document and invoke the SAX handlers. This is useful if you're only interested in custom SAX callbacks. If you want a document tree, use xmlCtxtParseDocument.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:0, -1 in case of error.
+
+
+
+

+xmlParseEntity ()

+
xmlDocPtr	xmlParseEntity		(const char * filename)
+
+

parse an XML external entity out of context and build a tree. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk

+
++ + + + + + + + + + +
filename:the filename
Returns:the resulting document tree
+
+
+
+

+xmlParseExtParsedEnt ()

+
int	xmlParseExtParsedEnt		(xmlParserCtxtPtr ctxt)
+
+

parse a general parsed entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:0, -1 in case of error. the parser context is augmented as a result of the parsing.
+
+
+
+

+xmlParseExternalEntity ()

+
int	xmlParseExternalEntity		(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * list)
+
+

DEPRECATED: Use xmlParseCtxtExternalEntity. Parse an external general entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
doc:the document the chunk pertains to
sax:the SAX handler block (possibly NULL)
user_data:The user data returned on SAX callbacks (possibly NULL)
depth:Used for loop detection, use 0
URL:the URL for the entity to load
ID:the System ID for the entity to load
list:the return value for the set of parsed nodes
Returns:0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise
+
+
+
+

+xmlParseFile ()

+
xmlDocPtr	xmlParseFile		(const char * filename)
+
+

DEPRECATED: Use xmlReadFile. parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

+
++ + + + + + + + + + +
filename:the filename
Returns:the resulting document tree if the file was wellformed, NULL otherwise.
+
+
+
+

+xmlParseInNodeContext ()

+
xmlParserErrors	xmlParseInNodeContext	(xmlNodePtr node, 
const char * data,
int datalen,
int options,
xmlNodePtr * lst)
+
+

Parse a well-balanced chunk of an XML document within the context (DTD, namespaces, etc ...) of the given node. The allowed sequence for the data is a Well Balanced Chunk defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
node:the context node
data:the input string
datalen:the input string length in bytes
options:a combination of xmlParserOption +
lst:the return value for the set of parsed nodes
Returns: +XML_ERR_OK if the chunk is well balanced, and the parser error code otherwise
+
+
+
+

+xmlParseMemory ()

+
xmlDocPtr	xmlParseMemory		(const char * buffer, 
int size)
+
+

DEPRECATED: Use xmlReadMemory. parse an XML in-memory block and build a tree.

+
++ + + + + + + + + + + + + + +
buffer:an pointer to a char array
size:the size of the array
Returns:the resulting document tree
+
+
+
+

+xmlParserAddNodeInfo ()

+
void	xmlParserAddNodeInfo		(xmlParserCtxtPtr ctxt, 
xmlParserNodeInfoPtr info)
+
+

DEPRECATED: Don't use. Insert node info record into the sorted sequence

+
++ + + + + + + + + + +
ctxt:an XML parser context
info:a node info sequence pointer
+
+
+
+

+xmlParserFindNodeInfo ()

+
const xmlParserNodeInfo *	xmlParserFindNodeInfo	(xmlParserCtxtPtr ctx, 
xmlNodePtr node)
+
+

DEPRECATED: Don't use. Find the parser node info struct for a given node

+
++ + + + + + + + + + + + + + +
ctx:an XML parser context
node:an XML node within the tree
Returns:an xmlParserNodeInfo block pointer or NULL
+
+
+
+

+xmlParserFindNodeInfoIndex ()

+
unsigned long	xmlParserFindNodeInfoIndex	(xmlParserNodeInfoSeqPtr seq, 
xmlNodePtr node)
+
+

DEPRECATED: Don't use. xmlParserFindNodeInfoIndex : Find the index that the info record for the given node is or should be at in a sorted sequence

+
++ + + + + + + + + + + + + + +
seq:a node info sequence pointer
node:an XML node pointer
Returns:a long indicating the position of the record
+
+
+
+

+xmlParserInputGrow ()

+
int	xmlParserInputGrow		(xmlParserInputPtr in, 
int len)
+
+

DEPRECATED: Don't use. This function increase the input for the parser. It tries to preserve pointers to the input buffer, and keep already read data

+
++ + + + + + + + + + + + + + +
in:an XML parser input
len:an indicative size for the lookahead
Returns:the amount of char read, or -1 in case of error, 0 indicate the end of this entity
+
+
+
+

+xmlParserInputRead ()

+
int	xmlParserInputRead		(xmlParserInputPtr in, 
int len)
+
+

DEPRECATED: This function was internal and is deprecated.

+
++ + + + + + + + + + + + + + +
in:an XML parser input
len:an indicative size for the lookahead
Returns:-1 as this is an error to use it.
+
+
+
+

+xmlPedanticParserDefault ()

+
int	xmlPedanticParserDefault	(int val)
+
+

DEPRECATED: Use the modern options API with XML_PARSE_PEDANTIC. Set and return the previous value for enabling pedantic warnings.

+
++ + + + + + + + + + +
val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.
+
+
+
+

+xmlReadDoc ()

+
xmlDocPtr	xmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
+
+

Convenience function to parse an XML document from a zero-terminated string. See xmlCtxtReadDoc for details.

+
++ + + + + + + + + + + + + + + + + + + + + + +
cur:a pointer to a zero terminated string
URL:base URL (optional)
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlReadFd ()

+
xmlDocPtr	xmlReadFd		(int fd, 
const char * URL,
const char * encoding,
int options)
+
+

Parse an XML from a file descriptor and build a tree. See xmlCtxtReadFd for details. NOTE that the file descriptor will not be closed when the context is freed or reset.

+
++ + + + + + + + + + + + + + + + + + + + + + +
fd:an open file descriptor
URL:base URL (optional)
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlReadFile ()

+
xmlDocPtr	xmlReadFile		(const char * filename, 
const char * encoding,
int options)
+
+

Convenience function to parse an XML file from the filesystem, the network or a global user-define resource loader. See xmlCtxtReadFile for details.

+
++ + + + + + + + + + + + + + + + + + +
filename:a file or URL
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlReadIO ()

+
xmlDocPtr	xmlReadIO		(xmlInputReadCallback ioread, 
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
+
+

Parse an XML document from I/O functions and context and build a tree. See xmlCtxtReadIO for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ioread:an I/O read function
ioclose:an I/O close function (optional)
ioctx:an I/O handler
URL:base URL (optional)
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlReadMemory ()

+
xmlDocPtr	xmlReadMemory		(const char * buffer, 
int size,
const char * url,
const char * encoding,
int options)
+
+

Parse an XML in-memory document and build a tree. The input buffer must not contain a terminating null byte. See xmlCtxtReadMemory for details.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
buffer:a pointer to a char array
size:the size of the array
url:base URL (optional)
encoding:the document encoding (optional)
options:a combination of xmlParserOption +
Returns:the resulting document tree
+
+
+
+

+xmlRecoverDoc ()

+
xmlDocPtr	xmlRecoverDoc		(const xmlChar * cur)
+
+

DEPRECATED: Use xmlReadDoc with XML_PARSE_RECOVER. parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a attempt to build a tree is tried anyway

+
++ + + + + + + + + + +
cur:a pointer to an array of xmlChar +
Returns:the resulting document tree or NULL in case of failure
+
+
+
+

+xmlRecoverFile ()

+
xmlDocPtr	xmlRecoverFile		(const char * filename)
+
+

DEPRECATED: Use xmlReadFile with XML_PARSE_RECOVER. parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. In the case the document is not Well Formed, it attempts to build a tree anyway

+
++ + + + + + + + + + +
filename:the filename
Returns:the resulting document tree or NULL in case of failure
+
+
+
+

+xmlRecoverMemory ()

+
xmlDocPtr	xmlRecoverMemory	(const char * buffer, 
int size)
+
+

DEPRECATED: Use xmlReadMemory with XML_PARSE_RECOVER. parse an XML in-memory block and build a tree. In the case the document is not Well Formed, an attempt to build a tree is tried anyway

+
++ + + + + + + + + + + + + + +
buffer:an pointer to a char array
size:the size of the array
Returns:the resulting document tree or NULL in case of error
+
+
+
+

+xmlSAXParseDTD ()

+
xmlDtdPtr	xmlSAXParseDTD		(xmlSAXHandlerPtr sax, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

DEPRECATED: Don't use. Load and parse an external subset.

+
++ + + + + + + + + + + + + + + + + + +
sax:the SAX handler block
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.
+
+
+
+

+xmlSAXParseDoc ()

+
xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
const xmlChar * cur,
int recovery)
+
+

DEPRECATED: Use xmlNewSAXParserCtxt and xmlCtxtReadDoc. parse an XML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

+
++ + + + + + + + + + + + + + + + + + +
sax:the SAX handler block
cur:a pointer to an array of xmlChar +
recovery:work in recovery mode, i.e. tries to read no Well Formed documents
Returns:the resulting document tree
+
+
+
+

+xmlSAXParseEntity ()

+
xmlDocPtr	xmlSAXParseEntity	(xmlSAXHandlerPtr sax, 
const char * filename)
+
+

DEPRECATED: Don't use. parse an XML external entity out of context and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk

+
++ + + + + + + + + + + + + + +
sax:the SAX handler block
filename:the filename
Returns:the resulting document tree
+
+
+
+

+xmlSAXParseFile ()

+
xmlDocPtr	xmlSAXParseFile		(xmlSAXHandlerPtr sax, 
const char * filename,
int recovery)
+
+

DEPRECATED: Use xmlNewSAXParserCtxt and xmlCtxtReadFile. parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

+
++ + + + + + + + + + + + + + + + + + +
sax:the SAX handler block
filename:the filename
recovery:work in recovery mode, i.e. tries to read no Well Formed documents
Returns:the resulting document tree
+
+
+
+

+xmlSAXParseFileWithData ()

+
xmlDocPtr	xmlSAXParseFileWithData	(xmlSAXHandlerPtr sax, 
const char * filename,
int recovery,
void * data)
+
+

DEPRECATED: Use xmlNewSAXParserCtxt and xmlCtxtReadFile. parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. User data (void *) is stored within the parser context in the context's _private member, so it is available nearly everywhere in libxml

+
++ + + + + + + + + + + + + + + + + + + + + + +
sax:the SAX handler block
filename:the filename
recovery:work in recovery mode, i.e. tries to read no Well Formed documents
data:the userdata
Returns:the resulting document tree
+
+
+
+

+xmlSAXParseMemory ()

+
xmlDocPtr	xmlSAXParseMemory	(xmlSAXHandlerPtr sax, 
const char * buffer,
int size,
int recovery)
+
+

DEPRECATED: Use xmlNewSAXParserCtxt and xmlCtxtReadMemory. parse an XML in-memory block and use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

+
++ + + + + + + + + + + + + + + + + + + + + + +
sax:the SAX handler block
buffer:an pointer to a char array
size:the size of the array
recovery:work in recovery mode, i.e. tries to read not Well Formed documents
Returns:the resulting document tree
+
+
+
+

+xmlSAXParseMemoryWithData ()

+
xmlDocPtr	xmlSAXParseMemoryWithData	(xmlSAXHandlerPtr sax, 
const char * buffer,
int size,
int recovery,
void * data)
+
+

DEPRECATED: Use xmlNewSAXParserCtxt and xmlCtxtReadMemory. parse an XML in-memory block and use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. User data (void *) is stored within the parser context in the context's _private member, so it is available nearly everywhere in libxml

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
sax:the SAX handler block
buffer:an pointer to a char array
size:the size of the array
recovery:work in recovery mode, i.e. tries to read no Well Formed documents
data:the userdata
Returns:the resulting document tree
+
+
+
+

+xmlSAXUserParseFile ()

+
int	xmlSAXUserParseFile		(xmlSAXHandlerPtr sax, 
void * user_data,
const char * filename)
+
+

DEPRECATED: Use xmlNewSAXParserCtxt and xmlCtxtReadFile. parse an XML file and call the given SAX handler routines. Automatic support for ZLIB/Compress compressed document is provided

+
++ + + + + + + + + + + + + + + + + + +
sax:a SAX handler
user_data:The user data returned on SAX callbacks
filename:a file name
Returns:0 in case of success or a error number otherwise
+
+
+
+

+xmlSAXUserParseMemory ()

+
int	xmlSAXUserParseMemory		(xmlSAXHandlerPtr sax, 
void * user_data,
const char * buffer,
int size)
+
+

DEPRECATED: Use xmlNewSAXParserCtxt and xmlCtxtReadMemory. parse an XML in-memory buffer and call the given SAX handler routines.

+
++ + + + + + + + + + + + + + + + + + + + + + +
sax:a SAX handler
user_data:The user data returned on SAX callbacks
buffer:an in-memory XML document input
size:the length of the XML document in bytes
Returns:0 in case of success or a error number otherwise
+
+
+
+

+xmlSetExternalEntityLoader ()

+
void	xmlSetExternalEntityLoader	(xmlExternalEntityLoader f)
+
+

Changes the defaultexternal entity resolver function for the application

+
++ + + + +
f:the new entity resolver function
+
+
+
+

+xmlSetFeature ()

+
int	xmlSetFeature			(xmlParserCtxtPtr ctxt, 
const char * name,
void * value)
+
+

Change the current value of one feature of this parser instance

+
++ + + + + + + + + + + + + + + + + + +
ctxt:an XML/HTML parser context
name:the feature name
value:pointer to the location of the new value
Returns:-1 in case or error, 0 otherwise
+
+
+
+

+xmlSetupParserForBuffer ()

+
void	xmlSetupParserForBuffer		(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer,
const char * filename)
+
+

DEPRECATED: Don't use. Setup the parser context to parse a new buffer; Clears any prior contents from the parser context. The buffer parameter must not be NULL, but the filename parameter can be

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
buffer:a xmlChar * buffer
filename:a file name
+
+
+
+

+xmlStopParser ()

+
void	xmlStopParser			(xmlParserCtxtPtr ctxt)
+
+

Blocks further parser processing

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlSubstituteEntitiesDefault ()

+
int	xmlSubstituteEntitiesDefault	(int val)
+
+

DEPRECATED: Use the modern options API with XML_PARSE_NOENT. Set and return the previous value for default entity support. Initially the parser always keep entity references instead of substituting entity values in the output. This function has to be used to change the default parser behavior SAX::substituteEntities() has to be used for changing that on a file by file basis.

+
++ + + + + + + + + + +
val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.
+
+
+
+

+xmlThrDefDoValidityCheckingDefaultValue ()

+
int	xmlThrDefDoValidityCheckingDefaultValue	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefGetWarningsDefaultValue ()

+
int	xmlThrDefGetWarningsDefaultValue	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefKeepBlanksDefaultValue ()

+
int	xmlThrDefKeepBlanksDefaultValue	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefLineNumbersDefaultValue ()

+
int	xmlThrDefLineNumbersDefaultValue	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefLoadExtDtdDefaultValue ()

+
int	xmlThrDefLoadExtDtdDefaultValue	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefParserDebugEntities ()

+
int	xmlThrDefParserDebugEntities	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefPedanticParserDefaultValue ()

+
int	xmlThrDefPedanticParserDefaultValue	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefSubstituteEntitiesDefaultValue ()

+
int	xmlThrDefSubstituteEntitiesDefaultValue	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-parserInternals.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-parserInternals.html new file mode 100644 index 0000000000000000000000000000000000000000..13adbc876c0c89ab35ed3bd8fc28e926da4a3695 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-parserInternals.html @@ -0,0 +1,2532 @@ + + + +parserInternals: internals routines and limits exported by the parser. + + + + + + + + + + + + + + +

parserInternals

+

parserInternals - internals routines and limits exported by the parser.

+

this module exports a number of internal parsing routines they are not really all intended for applications but can prove useful doing low level processing.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define INPUT_CHUNK;
+#define IS_ASCII_DIGIT(c);
+#define IS_ASCII_LETTER(c);
+#define IS_BASECHAR(c);
+#define IS_BLANK(c);
+#define IS_BLANK_CH(c);
+#define IS_BYTE_CHAR(c);
+#define IS_CHAR(c);
+#define IS_CHAR_CH(c);
+#define IS_COMBINING(c);
+#define IS_COMBINING_CH(c);
+#define IS_DIGIT(c);
+#define IS_DIGIT_CH(c);
+#define IS_EXTENDER(c);
+#define IS_EXTENDER_CH(c);
+#define IS_IDEOGRAPHIC(c);
+#define IS_LETTER(c);
+#define IS_LETTER_CH(c);
+#define IS_PUBIDCHAR(c);
+#define IS_PUBIDCHAR_CH(c);
+#define XML_MAX_DICTIONARY_LIMIT;
+#define XML_MAX_HUGE_LENGTH;
+#define XML_MAX_LOOKUP_LIMIT;
+#define XML_MAX_NAMELEN;
+#define XML_MAX_NAME_LENGTH;
+#define XML_MAX_TEXT_LENGTH;
+#define XML_SUBSTITUTE_BOTH;
+#define XML_SUBSTITUTE_NONE;
+#define XML_SUBSTITUTE_PEREF;
+#define XML_SUBSTITUTE_REF;
+xmlParserInputPtr	inputPop	(xmlParserCtxtPtr ctxt);
+int	inputPush			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr value); +const xmlChar * namePop (xmlParserCtxtPtr ctxt); +int namePush (xmlParserCtxtPtr ctxt,
const xmlChar * value); +xmlNodePtr nodePop (xmlParserCtxtPtr ctxt); +int nodePush (xmlParserCtxtPtr ctxt,
xmlNodePtr value); +int xmlCheckLanguageID (const xmlChar * lang); +int xmlCopyChar (int len,
xmlChar * out,
int val); +int xmlCopyCharMultiByte (xmlChar * out,
int val); +xmlParserCtxtPtr xmlCreateEntityParserCtxt (const xmlChar * URL,
const xmlChar * ID,
const xmlChar * base); +xmlParserCtxtPtr xmlCreateFileParserCtxt (const char * filename); +xmlParserCtxtPtr xmlCreateMemoryParserCtxt (const char * buffer,
int size); +xmlParserCtxtPtr xmlCreateURLParserCtxt (const char * filename,
int options); +void xmlCtxtErrMemory (xmlParserCtxtPtr ctxt); +int xmlCurrentChar (xmlParserCtxtPtr ctxt,
int * len); +xmlChar * xmlDecodeEntities (xmlParserCtxtPtr ctxt,
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3); +typedef void xmlEntityReferenceFunc (xmlEntityPtr ent,
xmlNodePtr firstNode,
xmlNodePtr lastNode); +void xmlFreeInputStream (xmlParserInputPtr input); +void xmlHandleEntity (xmlParserCtxtPtr ctxt,
xmlEntityPtr entity); +int xmlIsLetter (int c); +xmlChar * xmlNamespaceParseNCName (xmlParserCtxtPtr ctxt); +xmlChar * xmlNamespaceParseNSDef (xmlParserCtxtPtr ctxt); +xmlChar * xmlNamespaceParseQName (xmlParserCtxtPtr ctxt,
xmlChar ** prefix); +xmlParserInputPtr xmlNewEntityInputStream (xmlParserCtxtPtr ctxt,
xmlEntityPtr ent); +xmlParserInputPtr xmlNewInputFromFile (xmlParserCtxtPtr ctxt,
const char * filename); +xmlParserInputPtr xmlNewInputStream (xmlParserCtxtPtr ctxt); +xmlParserInputPtr xmlNewStringInputStream (xmlParserCtxtPtr ctxt,
const xmlChar * buffer); +void xmlNextChar (xmlParserCtxtPtr ctxt); +xmlChar * xmlParseAttValue (xmlParserCtxtPtr ctxt); +const xmlChar * xmlParseAttribute (xmlParserCtxtPtr ctxt,
xmlChar ** value); +void xmlParseAttributeListDecl (xmlParserCtxtPtr ctxt); +int xmlParseAttributeType (xmlParserCtxtPtr ctxt,
xmlEnumerationPtr * tree); +void xmlParseCDSect (xmlParserCtxtPtr ctxt); +void xmlParseCharData (xmlParserCtxtPtr ctxt,
int cdata); +int xmlParseCharRef (xmlParserCtxtPtr ctxt); +void xmlParseComment (xmlParserCtxtPtr ctxt); +void xmlParseContent (xmlParserCtxtPtr ctxt); +int xmlParseDefaultDecl (xmlParserCtxtPtr ctxt,
xmlChar ** value); +void xmlParseDocTypeDecl (xmlParserCtxtPtr ctxt); +void xmlParseElement (xmlParserCtxtPtr ctxt); +xmlElementContentPtr xmlParseElementChildrenContentDecl (xmlParserCtxtPtr ctxt,
int inputchk); +int xmlParseElementContentDecl (xmlParserCtxtPtr ctxt,
const xmlChar * name,
xmlElementContentPtr * result); +int xmlParseElementDecl (xmlParserCtxtPtr ctxt); +xmlElementContentPtr xmlParseElementMixedContentDecl (xmlParserCtxtPtr ctxt,
int inputchk); +xmlChar * xmlParseEncName (xmlParserCtxtPtr ctxt); +const xmlChar * xmlParseEncodingDecl (xmlParserCtxtPtr ctxt); +void xmlParseEndTag (xmlParserCtxtPtr ctxt); +void xmlParseEntityDecl (xmlParserCtxtPtr ctxt); +xmlEntityPtr xmlParseEntityRef (xmlParserCtxtPtr ctxt); +xmlChar * xmlParseEntityValue (xmlParserCtxtPtr ctxt,
xmlChar ** orig); +int xmlParseEnumeratedType (xmlParserCtxtPtr ctxt,
xmlEnumerationPtr * tree); +xmlEnumerationPtr xmlParseEnumerationType (xmlParserCtxtPtr ctxt); +xmlChar * xmlParseExternalID (xmlParserCtxtPtr ctxt,
xmlChar ** publicID,
int strict); +void xmlParseExternalSubset (xmlParserCtxtPtr ctxt,
const xmlChar * ExternalID,
const xmlChar * SystemID); +void xmlParseMarkupDecl (xmlParserCtxtPtr ctxt); +void xmlParseMisc (xmlParserCtxtPtr ctxt); +const xmlChar * xmlParseName (xmlParserCtxtPtr ctxt); +void xmlParseNamespace (xmlParserCtxtPtr ctxt); +xmlChar * xmlParseNmtoken (xmlParserCtxtPtr ctxt); +void xmlParseNotationDecl (xmlParserCtxtPtr ctxt); +xmlEnumerationPtr xmlParseNotationType (xmlParserCtxtPtr ctxt); +void xmlParsePEReference (xmlParserCtxtPtr ctxt); +void xmlParsePI (xmlParserCtxtPtr ctxt); +const xmlChar * xmlParsePITarget (xmlParserCtxtPtr ctxt); +xmlChar * xmlParsePubidLiteral (xmlParserCtxtPtr ctxt); +xmlChar * xmlParseQuotedString (xmlParserCtxtPtr ctxt); +void xmlParseReference (xmlParserCtxtPtr ctxt); +int xmlParseSDDecl (xmlParserCtxtPtr ctxt); +const xmlChar * xmlParseStartTag (xmlParserCtxtPtr ctxt); +xmlChar * xmlParseSystemLiteral (xmlParserCtxtPtr ctxt); +void xmlParseTextDecl (xmlParserCtxtPtr ctxt); +xmlChar * xmlParseVersionInfo (xmlParserCtxtPtr ctxt); +xmlChar * xmlParseVersionNum (xmlParserCtxtPtr ctxt); +void xmlParseXMLDecl (xmlParserCtxtPtr ctxt); +void xmlParserHandlePEReference (xmlParserCtxtPtr ctxt); +void xmlParserHandleReference (xmlParserCtxtPtr ctxt); +void xmlParserInputShrink (xmlParserInputPtr in); +xmlChar xmlPopInput (xmlParserCtxtPtr ctxt); +int xmlPushInput (xmlParserCtxtPtr ctxt,
xmlParserInputPtr input); +xmlChar * xmlScanName (xmlParserCtxtPtr ctxt); +void xmlSetEntityReferenceFunc (xmlEntityReferenceFunc func); +int xmlSkipBlankChars (xmlParserCtxtPtr ctxt); +xmlChar * xmlSplitQName (xmlParserCtxtPtr ctxt,
const xmlChar * name,
xmlChar ** prefixOut); +int xmlStringCurrentChar (xmlParserCtxtPtr ctxt,
const xmlChar * cur,
int * len); +xmlChar * xmlStringDecodeEntities (xmlParserCtxtPtr ctxt,
const xmlChar * str,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3); +xmlChar * xmlStringLenDecodeEntities (xmlParserCtxtPtr ctxt,
const xmlChar * str,
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3); +int xmlSwitchEncoding (xmlParserCtxtPtr ctxt,
xmlCharEncoding enc); +int xmlSwitchEncodingName (xmlParserCtxtPtr ctxt,
const char * encoding); +int xmlSwitchInputEncoding (xmlParserCtxtPtr ctxt,
xmlParserInputPtr input,
xmlCharEncodingHandlerPtr handler); +int xmlSwitchToEncoding (xmlParserCtxtPtr ctxt,
xmlCharEncodingHandlerPtr handler); +
+
+

Description

+
+

Details

+
+
+

+Macro INPUT_CHUNK

+
#define INPUT_CHUNK;
+
+

The parser tries to always have that amount of input ready. One of the point is providing context when reporting errors.

+
+
+
+

+Macro IS_ASCII_DIGIT

+
#define IS_ASCII_DIGIT(c);
+
+

Macro to check [0-9]

+
++ + + + +
c:an xmlChar value
+
+
+
+

+Macro IS_ASCII_LETTER

+
#define IS_ASCII_LETTER(c);
+
+

Macro to check [a-zA-Z]

+
++ + + + +
c:an xmlChar value
+
+
+
+

+Macro IS_BASECHAR

+
#define IS_BASECHAR(c);
+
+

Macro to check the following production in the XML spec: [85] BaseChar ::= ... long list see REC ...

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_BLANK

+
#define IS_BLANK(c);
+
+

Macro to check the following production in the XML spec: [3] S ::= (#x20 | #x9 | #xD | #xA)+

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_BLANK_CH

+
#define IS_BLANK_CH(c);
+
+

Behaviour same as IS_BLANK

+
++ + + + +
c:an xmlChar value (normally unsigned char)
+
+
+
+

+Macro IS_BYTE_CHAR

+
#define IS_BYTE_CHAR(c);
+
+

Macro to check the following production in the XML spec: [2] Char ::= #x9 | #xA | #xD | [#x20...] any byte character in the accepted range

+
++ + + + +
c:an byte value (int)
+
+
+
+

+Macro IS_CHAR

+
#define IS_CHAR(c);
+
+

Macro to check the following production in the XML spec: [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_CHAR_CH

+
#define IS_CHAR_CH(c);
+
+

Behaves like IS_CHAR on single-byte value

+
++ + + + +
c:an xmlChar (usually an unsigned char)
+
+
+
+

+Macro IS_COMBINING

+
#define IS_COMBINING(c);
+
+

Macro to check the following production in the XML spec: [87] CombiningChar ::= ... long list see REC ...

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_COMBINING_CH

+
#define IS_COMBINING_CH(c);
+
+

Always false (all combining chars > 0xff)

+
++ + + + +
c:an xmlChar (usually an unsigned char)
+
+
+
+

+Macro IS_DIGIT

+
#define IS_DIGIT(c);
+
+

Macro to check the following production in the XML spec: [88] Digit ::= ... long list see REC ...

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_DIGIT_CH

+
#define IS_DIGIT_CH(c);
+
+

Behaves like IS_DIGIT but with a single byte argument

+
++ + + + +
c:an xmlChar value (usually an unsigned char)
+
+
+
+

+Macro IS_EXTENDER

+
#define IS_EXTENDER(c);
+
+

Macro to check the following production in the XML spec: [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 | #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] | [#x309D-#x309E] | [#x30FC-#x30FE]

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_EXTENDER_CH

+
#define IS_EXTENDER_CH(c);
+
+

Behaves like IS_EXTENDER but with a single-byte argument

+
++ + + + +
c:an xmlChar value (usually an unsigned char)
+
+
+
+

+Macro IS_IDEOGRAPHIC

+
#define IS_IDEOGRAPHIC(c);
+
+

Macro to check the following production in the XML spec: [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029]

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_LETTER

+
#define IS_LETTER(c);
+
+

Macro to check the following production in the XML spec: [84] Letter ::= BaseChar | Ideographic

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_LETTER_CH

+
#define IS_LETTER_CH(c);
+
+

Macro behaves like IS_LETTER, but only check base chars

+
++ + + + +
c:an xmlChar value (normally unsigned char)
+
+
+
+

+Macro IS_PUBIDCHAR

+
#define IS_PUBIDCHAR(c);
+
+

Macro to check the following production in the XML spec: [13] PubidChar ::= #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]

+
++ + + + +
c:an UNICODE value (int)
+
+
+
+

+Macro IS_PUBIDCHAR_CH

+
#define IS_PUBIDCHAR_CH(c);
+
+

Same as IS_PUBIDCHAR but for single-byte value

+
++ + + + +
c:an xmlChar value (normally unsigned char)
+
+
+
+

+Macro XML_MAX_DICTIONARY_LIMIT

+
#define XML_MAX_DICTIONARY_LIMIT;
+
+

Maximum size allowed by the parser for a dictionary by default This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it. Introduced in 2.9.0

+
+
+
+

+Macro XML_MAX_HUGE_LENGTH

+
#define XML_MAX_HUGE_LENGTH;
+
+

Maximum size allowed when XML_PARSE_HUGE is set.

+
+
+
+

+Macro XML_MAX_LOOKUP_LIMIT

+
#define XML_MAX_LOOKUP_LIMIT;
+
+

Maximum size allowed by the parser for ahead lookup This is an upper boundary enforced by the parser to avoid bad behaviour on "unfriendly' content Introduced in 2.9.0

+
+
+
+

+Macro XML_MAX_NAMELEN

+
#define XML_MAX_NAMELEN;
+
+

Identifiers can be longer, but this will be more costly at runtime.

+
+
+
+

+Macro XML_MAX_NAME_LENGTH

+
#define XML_MAX_NAME_LENGTH;
+
+

Maximum size allowed for a markup identifier. This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it. Note that with the use of parsing dictionaries overriding the limit may result in more runtime memory usage in face of "unfriendly' content Introduced in 2.9.0

+
+
+
+

+Macro XML_MAX_TEXT_LENGTH

+
#define XML_MAX_TEXT_LENGTH;
+
+

Maximum size allowed for a single text node when building a tree. This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE option to override it. Introduced in 2.9.0

+
+
+
+

+Macro XML_SUBSTITUTE_BOTH

+
#define XML_SUBSTITUTE_BOTH;
+
+

Both general and parameter entities need to be substituted.

+
+
+
+

+Macro XML_SUBSTITUTE_NONE

+
#define XML_SUBSTITUTE_NONE;
+
+

If no entities need to be substituted.

+
+
+
+

+Macro XML_SUBSTITUTE_PEREF

+
#define XML_SUBSTITUTE_PEREF;
+
+

Whether parameter entities need to be substituted.

+
+
+
+

+Macro XML_SUBSTITUTE_REF

+
#define XML_SUBSTITUTE_REF;
+
+

Whether general entities need to be substituted.

+
+
+
+

+Function type xmlEntityReferenceFunc

+
void	xmlEntityReferenceFunc		(xmlEntityPtr ent, 
xmlNodePtr firstNode,
xmlNodePtr lastNode)
+
+

Callback function used when one needs to be able to track back the provenance of a chunk of nodes inherited from an entity replacement.

+
++ + + + + + + + + + + + + + +
ent:the entity
firstNode:the fist node in the chunk
lastNode:the last nod in the chunk
+
+
+
+

+Variable xmlParserMaxDepth

+
const unsigned int xmlParserMaxDepth;
+
+

arbitrary depth limit for the XML documents that we allow to process. This is not a limitation of the parser but a safety boundary feature. It can be disabled with the XML_PARSE_HUGE parser option.

+
+
+
+

+Variable xmlStringComment

+
const xmlCharxmlStringComment[] xmlStringComment;
+
+

+
+
+
+

+Variable xmlStringText

+
const xmlCharxmlStringText[] xmlStringText;
+
+

+
+
+
+

+Variable xmlStringTextNoenc

+
const xmlCharxmlStringTextNoenc[] xmlStringTextNoenc;
+
+

+
+
+
+

+inputPop ()

+
xmlParserInputPtr	inputPop	(xmlParserCtxtPtr ctxt)
+
+

Pops the top parser input from the input stack

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the input just removed
+
+
+
+

+inputPush ()

+
int	inputPush			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr value)
+
+

Pushes a new parser input on top of the input stack

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
value:the parser input
Returns:-1 in case of error, the index in the stack otherwise
+
+
+
+

+namePop ()

+
const xmlChar *	namePop			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, do not use. Pops the top element name from the name stack

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the name just removed
+
+
+
+

+namePush ()

+
int	namePush			(xmlParserCtxtPtr ctxt, 
const xmlChar * value)
+
+

DEPRECATED: Internal function, do not use. Pushes a new element name on top of the name stack

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
value:the element name
Returns:-1 in case of error, the index in the stack otherwise
+
+
+
+

+nodePop ()

+
xmlNodePtr	nodePop			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, do not use. Pops the top element node from the node stack

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the node just removed
+
+
+
+

+nodePush ()

+
int	nodePush			(xmlParserCtxtPtr ctxt, 
xmlNodePtr value)
+
+

DEPRECATED: Internal function, do not use. Pushes a new element node on top of the node stack

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
value:the element node
Returns:-1 in case of error, the index in the stack otherwise
+
+
+
+

+xmlCheckLanguageID ()

+
int	xmlCheckLanguageID		(const xmlChar * lang)
+
+

DEPRECATED: Internal function, do not use. Checks that the value conforms to the LanguageID production: NOTE: this is somewhat deprecated, those productions were removed from the XML Second edition. [33] LanguageID ::= Langcode ('-' Subcode)* [34] Langcode ::= ISO639Code | IanaCode | UserCode [35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] | [A-Z]) [36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+ [37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+ [38] Subcode ::= ([a-z] | [A-Z])+ The current REC reference the successors of RFC 1766, currently 5646 http://www.rfc-editor.org/rfc/rfc5646.txt langtag = language ["-" script] ["-" region] *("-" variant) *("-" extension) ["-" privateuse] language = 2*3ALPHA ; shortest ISO 639 code ["-" extlang] ; sometimes followed by ; extended language subtags / 4ALPHA ; or reserved for future use / 5*8ALPHA ; or registered language subtag extlang = 3ALPHA ; selected ISO 639 codes *2("-" 3ALPHA) ; permanently reserved script = 4ALPHA ; ISO 15924 code region = 2ALPHA ; ISO 3166-1 code / 3DIGIT ; UN M.49 code variant = 5*8alphanum ; registered variants / (DIGIT 3alphanum) extension = singleton 1*("-" (2*8alphanum)) ; Single alphanumerics ; "x" reserved for private use singleton = DIGIT ; 0 - 9 / %x41-57 ; A - W / %x59-5A ; Y - Z / %x61-77 ; a - w / %x79-7A ; y - z it sounds right to still allow Irregular i-xxx IANA and user codes too The parser below doesn't try to cope with extension or privateuse that could be added but that's not interoperable anyway

+
++ + + + + + + + + + +
lang:pointer to the string value
Returns:1 if correct 0 otherwise
+
+
+
+

+xmlCopyChar ()

+
int	xmlCopyChar			(int len, 
xmlChar * out,
int val)
+
+

append the char value in the array

+
++ + + + + + + + + + + + + + + + + + +
len:Ignored, compatibility
out:pointer to an array of xmlChar +
val:the char value
Returns:the number of xmlChar written
+
+
+
+

+xmlCopyCharMultiByte ()

+
int	xmlCopyCharMultiByte		(xmlChar * out, 
int val)
+
+

append the char value in the array

+
++ + + + + + + + + + + + + + +
out:pointer to an array of xmlChar +
val:the char value
Returns:the number of xmlChar written
+
+
+
+

+xmlCreateEntityParserCtxt ()

+
xmlParserCtxtPtr	xmlCreateEntityParserCtxt	(const xmlChar * URL, 
const xmlChar * ID,
const xmlChar * base)
+
+

DEPRECATED: Use xmlNewInputURL. Create a parser context for an external entity Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

+
++ + + + + + + + + + + + + + + + + + +
URL:the entity URL
ID:the entity PUBLIC ID
base:a possible base for the target URI
Returns:the new parser context or NULL
+
+
+
+

+xmlCreateFileParserCtxt ()

+
xmlParserCtxtPtr	xmlCreateFileParserCtxt	(const char * filename)
+
+

DEPRECATED: Use xmlNewParserCtxt and xmlCtxtReadFile. Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

+
++ + + + + + + + + + +
filename:the filename
Returns:the new parser context or NULL
+
+
+
+

+xmlCreateMemoryParserCtxt ()

+
xmlParserCtxtPtr	xmlCreateMemoryParserCtxt	(const char * buffer, 
int size)
+
+

Create a parser context for an XML in-memory document. The input buffer must not contain a terminating null byte.

+
++ + + + + + + + + + + + + + +
buffer:a pointer to a char array
size:the size of the array
Returns:the new parser context or NULL
+
+
+
+

+xmlCreateURLParserCtxt ()

+
xmlParserCtxtPtr	xmlCreateURLParserCtxt	(const char * filename, 
int options)
+
+

DEPRECATED: Use xmlNewParserCtxt and xmlCtxtReadFile. Create a parser context for a file or URL content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time and for file accesses

+
++ + + + + + + + + + + + + + +
filename:the filename or URL
options:a combination of xmlParserOption +
Returns:the new parser context or NULL
+
+
+
+

+xmlCtxtErrMemory ()

+
void	xmlCtxtErrMemory		(xmlParserCtxtPtr ctxt)
+
+

Handle an out-of-memory error. Available since 2.13.0.

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlCurrentChar ()

+
int	xmlCurrentChar			(xmlParserCtxtPtr ctxt, 
int * len)
+
+

DEPRECATED: Internal function, do not use. The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer. Implement the end of line normalization: 2.11 End-of-Line Handling Wherever an external parsed entity or the literal entity value of an internal parsed entity contains either the literal two-character sequence "#xD#xA" or a standalone literal #xD, an XML processor must pass to the application the single character #xA. This behavior can conveniently be produced by normalizing all line breaks to #xA on input, before parsing.)

+
++ + + + + + + + + + + + + + +
ctxt:the XML parser context
len:pointer to the length of the char read
Returns:the current char value and its length
+
+
+
+

+xmlDecodeEntities ()

+
xmlChar *	xmlDecodeEntities	(xmlParserCtxtPtr ctxt, 
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+
+

This function is deprecated, we now always process entities content through xmlStringDecodeEntities TODO: remove it in next major release. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';'

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the parser context
len:the len to decode (in bytes !), -1 for no size limit
what:combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF +
end:an end marker xmlChar, 0 if none
end2:an end marker xmlChar, 0 if none
end3:an end marker xmlChar, 0 if none
Returns:A newly allocated string with the substitution done. The caller must deallocate it !
+
+
+
+

+xmlFreeInputStream ()

+
void	xmlFreeInputStream		(xmlParserInputPtr input)
+
+

Free up an input stream.

+
++ + + + +
input:an xmlParserInputPtr +
+
+
+
+

+xmlHandleEntity ()

+
void	xmlHandleEntity			(xmlParserCtxtPtr ctxt, 
xmlEntityPtr entity)
+
+

Default handling of defined entities, when should we define a new input stream ? When do we just handle that as a set of chars ? OBSOLETE: to be removed at some point.

+
++ + + + + + + + + + +
ctxt:an XML parser context
entity:an XML entity pointer.
+
+
+
+

+xmlIsLetter ()

+
int	xmlIsLetter			(int c)
+
+

Check whether the character is allowed by the production [84] Letter ::= BaseChar | Ideographic

+
++ + + + + + + + + + +
c:an unicode character (int)
Returns:0 if not, non-zero otherwise
+
+
+
+

+xmlNamespaceParseNCName ()

+
xmlChar *	xmlNamespaceParseNCName	(xmlParserCtxtPtr ctxt)
+
+

parse an XML namespace name. TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the namespace name or NULL
+
+
+
+

+xmlNamespaceParseNSDef ()

+
xmlChar *	xmlNamespaceParseNSDef	(xmlParserCtxtPtr ctxt)
+
+

parse a namespace prefix declaration TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. [NS 1] NSDef ::= PrefixDef Eq SystemLiteral [NS 2] PrefixDef ::= 'xmlns' (':' NCName)?

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the namespace name
+
+
+
+

+xmlNamespaceParseQName ()

+
xmlChar *	xmlNamespaceParseQName	(xmlParserCtxtPtr ctxt, 
xmlChar ** prefix)
+
+

TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. parse an XML qualified name [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
prefix:a xmlChar **
Returns:the local part, and prefix is updated to get the Prefix if any.
+
+
+
+

+xmlNewEntityInputStream ()

+
xmlParserInputPtr	xmlNewEntityInputStream	(xmlParserCtxtPtr ctxt, 
xmlEntityPtr ent)
+
+

DEPRECATED: Internal function, do not use. Create a new input stream based on an xmlEntityPtr

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
ent:an Entity pointer
Returns:the new input stream or NULL
+
+
+
+

+xmlNewInputFromFile ()

+
xmlParserInputPtr	xmlNewInputFromFile	(xmlParserCtxtPtr ctxt, 
const char * filename)
+
+

Create a new input stream based on a file or an URL.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
filename:the filename to use as entity
Returns:the new input stream or NULL in case of error
+
+
+
+

+xmlNewInputStream ()

+
xmlParserInputPtr	xmlNewInputStream	(xmlParserCtxtPtr ctxt)
+
+

Create a new input stream structure.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the new input stream or NULL
+
+
+
+

+xmlNewStringInputStream ()

+
xmlParserInputPtr	xmlNewStringInputStream	(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer)
+
+

Create a new input stream based on a memory buffer.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
buffer:an memory buffer
Returns:the new input stream
+
+
+
+

+xmlNextChar ()

+
void	xmlNextChar			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, do not use. Skip to the next char input char.

+
++ + + + +
ctxt:the XML parser context
+
+
+
+

+xmlParseAttValue ()

+
xmlChar *	xmlParseAttValue	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse a value for an attribute Note: the parser won't do substitution of entities here, this will be handled later in xmlStringGetNodeList [10] AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'" 3.3.3 Attribute-Value Normalization: Before the value of an attribute is passed to the application or checked for validity, the XML processor must normalize it as follows: - a character reference is processed by appending the referenced character to the attribute value - an entity reference is processed by recursively processing the replacement text of the entity - a whitespace character (#x20, #xD, #xA, #x9) is processed by appending #x20 to the normalized value, except that only a single #x20 is appended for a "#xD#xA" sequence that is part of an external parsed entity or the literal entity value of an internal parsed entity - other characters are processed by appending them to the normalized value If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by a single space (#x20) character. All attributes for which no declaration has been read should be treated by a non-validating parser as if declared CDATA.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the AttValue parsed or NULL. The value has to be freed by the caller.
+
+
+
+

+xmlParseAttribute ()

+
const xmlChar *	xmlParseAttribute	(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
+
+

DEPRECATED: Internal function, don't use. parse an attribute [41] Attribute ::= Name Eq AttValue [ WFC: No External Entity References ] Attribute values cannot contain direct or indirect entity references to external entities. [ WFC: No < in Attribute Values ] The replacement text of any entity referred to directly or indirectly in an attribute value (other than "&lt;") must not contain a <. [ VC: Attribute Value Type ] The attribute must have been declared; the value must be of the type declared for it. [25] Eq ::= S? '=' S? With namespace: [NS 11] Attribute ::= QName Eq AttValue Also the case QName == xmlns:??? is handled independently as a namespace definition.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
value:a xmlChar ** used to store the value of the attribute +
Returns:the attribute name, and the value in *value.
+
+
+
+

+xmlParseAttributeListDecl ()

+
void	xmlParseAttributeListDecl	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse an attribute list declaration for an element. Always consumes '<!'. [52] AttlistDecl ::= '<!ATTLIST' S Name AttDef* S? '>' [53] AttDef ::= S Name S AttType S DefaultDecl

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseAttributeType ()

+
int	xmlParseAttributeType		(xmlParserCtxtPtr ctxt, 
xmlEnumerationPtr * tree)
+
+

DEPRECATED: Internal function, don't use. parse the Attribute list def for an element [54] AttType ::= StringType | TokenizedType | EnumeratedType [55] StringType ::= 'CDATA' [56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' | 'ENTITIES' | 'NMTOKEN' | 'NMTOKENS' Validity constraints for attribute values syntax are checked in xmlValidateAttributeValue() [ VC: ID ] Values of type ID must match the Name production. A name must not appear more than once in an XML document as a value of this type; i.e., ID values must uniquely identify the elements which bear them. [ VC: One ID per Element Type ] No element type may have more than one ID attribute specified. [ VC: ID Attribute Default ] An ID attribute must have a declared default of #IMPLIED or #REQUIRED. [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names; each IDREF Name must match the value of an ID attribute on some element in the XML document; i.e. IDREF values must match the value of some ID attribute. [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names; each Entity Name must match the name of an unparsed entity declared in the DTD. [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
tree:the enumeration tree built while parsing
Returns:the attribute type
+
+
+
+

+xmlParseCDSect ()

+
void	xmlParseCDSect			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse escaped pure raw content. Always consumes '<!['. [18] CDSect ::= CDStart CData CDEnd [19] CDStart ::= '<![CDATA[' [20] Data ::= (Char* - (Char* ']]>' Char*)) [21] CDEnd ::= ']]>'

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseCharData ()

+
void	xmlParseCharData		(xmlParserCtxtPtr ctxt, 
int cdata)
+
+

DEPRECATED: Internal function, don't use.

+
++ + + + + + + + + + +
ctxt:an XML parser context
cdata:unused
+
+
+
+

+xmlParseCharRef ()

+
int	xmlParseCharRef			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse a numeric character reference. Always consumes '&'. [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' [ WFC: Legal Character ] Characters referred to using character references must match the production for Char.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the value parsed (as an int), 0 in case of error
+
+
+
+

+xmlParseComment ()

+
void	xmlParseComment			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse an XML (SGML) comment. Always consumes '<!'. The spec says that "For compatibility, the string "--" (double-hyphen) must not occur within comments. " [15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseContent ()

+
void	xmlParseContent			(xmlParserCtxtPtr ctxt)
+
+

Parse XML element content. This is useful if you're only interested in custom SAX callbacks. If you want a node list, use xmlParseInNodeContext.

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseDefaultDecl ()

+
int	xmlParseDefaultDecl		(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
+
+

DEPRECATED: Internal function, don't use. Parse an attribute default declaration [60] DefaultDecl ::= '#REQUIRED' | '#IMPLIED' | (('#FIXED' S)? AttValue) [ VC: Required Attribute ] if the default declaration is the keyword #REQUIRED, then the attribute must be specified for all elements of the type in the attribute-list declaration. [ VC: Attribute Default Legal ] The declared default value must meet the lexical constraints of the declared attribute type c.f. xmlValidateAttributeDecl() [ VC: Fixed Attribute Default ] if an attribute has a default value declared with the #FIXED keyword, instances of that attribute must match the default value. [ WFC: No < in Attribute Values ] handled in xmlParseAttValue()

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
value:Receive a possible fixed default value for the attribute +
Returns:XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED or XML_ATTRIBUTE_FIXED.
+
+
+
+

+xmlParseDocTypeDecl ()

+
void	xmlParseDocTypeDecl		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse a DOCTYPE declaration [28] doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S? ('[' (markupdecl | PEReference | S)* ']' S?)? '>' [ VC: Root Element Type ] The Name in the document type declaration must match the element type of the root element.

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseElement ()

+
void	xmlParseElement			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML element [39] element ::= EmptyElemTag | STag content ETag [ WFC: Element Type Match ] The Name in an element's end-tag must match the element type in the start-tag.

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseElementChildrenContentDecl ()

+
xmlElementContentPtr	xmlParseElementChildrenContentDecl	(xmlParserCtxtPtr ctxt, 
int inputchk)
+
+

DEPRECATED: Internal function, don't use. parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [47] children ::= (choice | seq) ('?' | '*' | '+')? [48] cp ::= (Name | choice | seq) ('?' | '*' | '+')? [49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')' [50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')' [ VC: Proper Group/PE Nesting ] applies to [49] and [50] TODO Parameter-entity replacement text must be properly nested with parenthesized groups. That is to say, if either of the opening or closing parentheses in a choice, seq, or Mixed construct is contained in the replacement text for a parameter entity, both must be contained in the same replacement text. For interoperability, if a parameter-entity reference appears in a choice, seq, or Mixed construct, its replacement text should not be empty, and neither the first nor last non-blank character of the replacement text should be a connector (| or ,).

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
inputchk:the input used for the current entity, needed for boundary checks
Returns:the tree of xmlElementContentPtr describing the element hierarchy.
+
+
+
+

+xmlParseElementContentDecl ()

+
int	xmlParseElementContentDecl	(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlElementContentPtr * result)
+
+

DEPRECATED: Internal function, don't use. parse the declaration for an Element content either Mixed or Children, the cases EMPTY and ANY are handled directly in xmlParseElementDecl [46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children

+
++ + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
name:the name of the element being defined.
result:the Element Content pointer will be stored here if any
Returns:the type of element content XML_ELEMENT_TYPE_xxx
+
+
+
+

+xmlParseElementDecl ()

+
int	xmlParseElementDecl		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse an element declaration. Always consumes '<!'. [45] elementdecl ::= '<!ELEMENT' S Name S contentspec S? '>' [ VC: Unique Element Type Declaration ] No element type may be declared more than once

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the type of the element, or -1 in case of error
+
+
+
+

+xmlParseElementMixedContentDecl ()

+
xmlElementContentPtr	xmlParseElementMixedContentDecl	(xmlParserCtxtPtr ctxt, 
int inputchk)
+
+

DEPRECATED: Internal function, don't use. parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [51] Mixed ::= '(' S? '#PCDATA' (S? '|' S? Name)* S? ')*' | '(' S? '#PCDATA' S? ')' [ VC: Proper Group/PE Nesting ] applies to [51] too (see [49]) [ VC: No Duplicate Types ] The same name must not appear more than once in a single mixed-content declaration.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
inputchk:the input used for the current entity, needed for boundary checks
Returns:the list of the xmlElementContentPtr describing the element choices
+
+
+
+

+xmlParseEncName ()

+
xmlChar *	xmlParseEncName		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse the XML encoding name [81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the encoding name value or NULL
+
+
+
+

+xmlParseEncodingDecl ()

+
const xmlChar *	xmlParseEncodingDecl	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse the XML encoding declaration [80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'") this setups the conversion filters.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the encoding value or NULL
+
+
+
+

+xmlParseEndTag ()

+
void	xmlParseEndTag			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an end of tag [42] ETag ::= '</' Name S? '>' With namespace [NS 9] ETag ::= '</' QName S? '>'

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseEntityDecl ()

+
void	xmlParseEntityDecl		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse an entity declaration. Always consumes '<!'. [70] EntityDecl ::= GEDecl | PEDecl [71] GEDecl ::= '<!ENTITY' S Name S EntityDef S? '>' [72] PEDecl ::= '<!ENTITY' S '%' S Name S PEDef S? '>' [73] EntityDef ::= EntityValue | (ExternalID NDataDecl?) [74] PEDef ::= EntityValue | ExternalID [76] NDataDecl ::= S 'NDATA' S Name [ VC: Notation Declared ] The Name must match the declared name of a notation.

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseEntityRef ()

+
xmlEntityPtr	xmlParseEntityRef	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the xmlEntityPtr if found, or NULL otherwise.
+
+
+
+

+xmlParseEntityValue ()

+
xmlChar *	xmlParseEntityValue	(xmlParserCtxtPtr ctxt, 
xmlChar ** orig)
+
+

DEPRECATED: Internal function, don't use. parse a value for ENTITY declarations [9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' | "'" ([^%&'] | PEReference | Reference)* "'"

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
orig:if non-NULL store a copy of the original entity value
Returns:the EntityValue parsed with reference substituted or NULL
+
+
+
+

+xmlParseEnumeratedType ()

+
int	xmlParseEnumeratedType		(xmlParserCtxtPtr ctxt, 
xmlEnumerationPtr * tree)
+
+

DEPRECATED: Internal function, don't use. parse an Enumerated attribute type. [57] EnumeratedType ::= NotationType | Enumeration [58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
tree:the enumeration tree built while parsing
Returns: +XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION +
+
+
+
+

+xmlParseEnumerationType ()

+
xmlEnumerationPtr	xmlParseEnumerationType	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an Enumeration attribute type. [59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')' [ VC: Enumeration ] Values of this type must match one of the Nmtoken tokens in the declaration

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the enumeration attribute tree built while parsing
+
+
+
+

+xmlParseExternalID ()

+
xmlChar *	xmlParseExternalID	(xmlParserCtxtPtr ctxt, 
xmlChar ** publicID,
int strict)
+
+

DEPRECATED: Internal function, don't use. Parse an External ID or a Public ID NOTE: Productions [75] and [83] interact badly since [75] can generate 'PUBLIC' S PubidLiteral S SystemLiteral [75] ExternalID ::= 'SYSTEM' S SystemLiteral | 'PUBLIC' S PubidLiteral S SystemLiteral [83] PublicID ::= 'PUBLIC' S PubidLiteral

+
++ + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
publicID:a xmlChar** receiving PubidLiteral
strict:indicate whether we should restrict parsing to only production [75], see NOTE below
Returns:the function returns SystemLiteral and in the second case publicID receives PubidLiteral, is strict is off it is possible to return NULL and have publicID set.
+
+
+
+

+xmlParseExternalSubset ()

+
void	xmlParseExternalSubset		(xmlParserCtxtPtr ctxt, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

parse Markup declarations from an external subset [30] extSubset ::= textDecl? extSubsetDecl [31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
ExternalID:the external identifier
SystemID:the system identifier (or URL)
+
+
+
+

+xmlParseMarkupDecl ()

+
void	xmlParseMarkupDecl		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse markup declarations. Always consumes '<!' or '<?'. [29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl | NotationDecl | PI | Comment [ VC: Proper Declaration/PE Nesting ] Parameter-entity replacement text must be properly nested with markup declarations. That is to say, if either the first character or the last character of a markup declaration (markupdecl above) is contained in the replacement text for a parameter-entity reference, both must be contained in the same replacement text. [ WFC: PEs in Internal Subset ] In the internal DTD subset, parameter-entity references can occur only where markup declarations can occur, not within markup declarations. (This does not apply to references that occur in external parameter entities or to the external subset.)

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseMisc ()

+
void	xmlParseMisc			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML Misc* optional field. [27] Misc ::= Comment | PI | S

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseName ()

+
const xmlChar *	xmlParseName		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML name. [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (#x20 Name)*

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the Name parsed or NULL
+
+
+
+

+xmlParseNamespace ()

+
void	xmlParseNamespace		(xmlParserCtxtPtr ctxt)
+
+

xmlParseNamespace: parse specific PI '<?namespace ...' constructs. This is what the older xml-name Working Draft specified, a bunch of other stuff may still rely on it, so support is still here as if it was declared on the root of the Tree:-( TODO: remove from library To be removed at next drop of binary compatibility

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseNmtoken ()

+
xmlChar *	xmlParseNmtoken		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML Nmtoken. [7] Nmtoken ::= (NameChar)+ [8] Nmtokens ::= Nmtoken (#x20 Nmtoken)*

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the Nmtoken parsed or NULL
+
+
+
+

+xmlParseNotationDecl ()

+
void	xmlParseNotationDecl		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse a notation declaration. Always consumes '<!'. [82] NotationDecl ::= '<!NOTATION' S Name S (ExternalID | PublicID) S? '>' Hence there is actually 3 choices: 'PUBLIC' S PubidLiteral 'PUBLIC' S PubidLiteral S SystemLiteral and 'SYSTEM' S SystemLiteral See the NOTE on xmlParseExternalID().

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseNotationType ()

+
xmlEnumerationPtr	xmlParseNotationType	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an Notation attribute type. Note: the leading 'NOTATION' S part has already being parsed... [58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')' [ VC: Notation Attributes ] Values of this type must match one of the notation names included in the declaration; all notation names in the declaration must be declared.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the notation attribute tree built while parsing
+
+
+
+

+xmlParsePEReference ()

+
void	xmlParsePEReference		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse a parameter entity reference. Always consumes '%'. The entity content is handled directly by pushing it's content as a new input stream. [69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled.

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParsePI ()

+
void	xmlParsePI			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML Processing Instruction. [16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>' The processing is transferred to SAX once parsed.

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParsePITarget ()

+
const xmlChar *	xmlParsePITarget	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse the name of a PI [17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the PITarget name or NULL
+
+
+
+

+xmlParsePubidLiteral ()

+
xmlChar *	xmlParsePubidLiteral	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML public literal [12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the PubidLiteral parsed or NULL.
+
+
+
+

+xmlParseQuotedString ()

+
xmlChar *	xmlParseQuotedString	(xmlParserCtxtPtr ctxt)
+
+

Parse and return a string between quotes or doublequotes TODO: Deprecated, to be removed at next drop of binary compatibility

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the string parser or NULL.
+
+
+
+

+xmlParseReference ()

+
void	xmlParseReference		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse and handle entity references in content, depending on the SAX interface, this may end-up in a call to character() if this is a CharRef, a predefined entity, if there is no reference() callback. or if the parser was asked to switch to that mode. Always consumes '&'. [67] Reference ::= EntityRef | CharRef

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseSDDecl ()

+
int	xmlParseSDDecl			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse the XML standalone declaration [32] SDDecl ::= S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) [ VC: Standalone Document Declaration ] TODO The standalone document declaration must have the value "no" if any external markup declarations contain declarations of: - attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or - entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or - attributes with values subject to normalization, where the attribute appears in the document with a value which will change as a result of normalization, or - element types with element content, if white space occurs directly within any instance of those types.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:1 if standalone="yes" 0 if standalone="no" -2 if standalone attribute is missing or invalid (A standalone value of -2 means that the XML declaration was found, but no value was specified for the standalone attribute).
+
+
+
+

+xmlParseStartTag ()

+
const xmlChar *	xmlParseStartTag	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. Parse a start tag. Always consumes '<'. [40] STag ::= '<' Name (S Attribute)* S? '>' [ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag. [44] EmptyElemTag ::= '<' Name (S Attribute)* S? '/>' [ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag. With namespace: [NS 8] STag ::= '<' QName (S Attribute)* S? '>' [NS 10] EmptyElement ::= '<' QName (S Attribute)* S? '/>'

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the element name parsed
+
+
+
+

+xmlParseSystemLiteral ()

+
xmlChar *	xmlParseSystemLiteral	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML Literal [11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the SystemLiteral parsed or NULL
+
+
+
+

+xmlParseTextDecl ()

+
void	xmlParseTextDecl		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>'

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParseVersionInfo ()

+
xmlChar *	xmlParseVersionInfo	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse the XML version. [24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ") [25] Eq ::= S? '=' S?

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the version string, e.g. "1.0"
+
+
+
+

+xmlParseVersionNum ()

+
xmlChar *	xmlParseVersionNum	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse the XML version value. [26] VersionNum ::= '1.' [0-9]+ In practice allow [0-9].[0-9]+ at that level

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the string giving the XML version number, or NULL
+
+
+
+

+xmlParseXMLDecl ()

+
void	xmlParseXMLDecl			(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, don't use. parse an XML declaration header [23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'

+
++ + + + +
ctxt:an XML parser context
+
+
+
+

+xmlParserHandlePEReference ()

+
void	xmlParserHandlePEReference	(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, do not use. [69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled. A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xml#entproc i.e. - Included in literal in entity values - Included as Parameter Entity reference within DTDs

+
++ + + + +
ctxt:the parser context
+
+
+
+

+xmlParserHandleReference ()

+
void	xmlParserHandleReference	(xmlParserCtxtPtr ctxt)
+
+

TODO: Remove, now deprecated ... the test is done directly in the content parsing routines. [67] Reference ::= EntityRef | CharRef [68] EntityRef ::= '&' Name ';' [ WFC: Entity Declared ] the Name given in the entity reference must match that in an entity declaration, except that well-formed documents need not declare any of the following entities: amp, lt, gt, apos, quot. [ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xml#entproc

+
++ + + + +
ctxt:the parser context
+
+
+
+

+xmlParserInputShrink ()

+
void	xmlParserInputShrink		(xmlParserInputPtr in)
+
+

DEPRECATED: Don't use. This function removes used input for the parser.

+
++ + + + +
in:an XML parser input
+
+
+
+

+xmlPopInput ()

+
xmlChar	xmlPopInput			(xmlParserCtxtPtr ctxt)
+
+

xmlPopInput: the current input pointed by ctxt->input came to an end pop it and return the next char.

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the current xmlChar in the parser context
+
+
+
+

+xmlPushInput ()

+
int	xmlPushInput			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr input)
+
+

Push an input stream onto the stack. This makes the parser use an input returned from advanced functions like xmlNewInputURL or xmlNewInputMemory.

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
input:an XML parser input fragment (entity, XML fragment ...).
Returns:-1 in case of error or the index in the input stack
+
+
+
+

+xmlScanName ()

+
xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)
+
+

Trickery: parse an XML name but without consuming the input flow Needed for rollback cases. Used only when parsing entities references. TODO: seems deprecated now, only used in the default part of xmlParserHandleReference [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (S Name)*

+
++ + + + + + + + + + +
ctxt:an XML parser context
Returns:the Name parsed or NULL
+
+
+
+

+xmlSetEntityReferenceFunc ()

+
void	xmlSetEntityReferenceFunc	(xmlEntityReferenceFunc func)
+
+

Set the function to call call back when a xml reference has been made

+
++ + + + +
func:A valid function
+
+
+
+

+xmlSkipBlankChars ()

+
int	xmlSkipBlankChars		(xmlParserCtxtPtr ctxt)
+
+

DEPRECATED: Internal function, do not use. Skip whitespace in the input stream.

+
++ + + + + + + + + + +
ctxt:the XML parser context
Returns:the number of space chars skipped
+
+
+
+

+xmlSplitQName ()

+
xmlChar *	xmlSplitQName		(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlChar ** prefixOut)
+
+

parse an UTF8 encoded XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName

+
++ + + + + + + + + + + + + + + + + + +
ctxt:an XML parser context
name:an XML parser context
prefixOut:a xmlChar **
Returns:the local part, and prefix is updated to get the Prefix if any.
+
+
+
+

+xmlStringCurrentChar ()

+
int	xmlStringCurrentChar		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
int * len)
+
+

DEPRECATED: Internal function, do not use. The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the XML parser context
cur:pointer to the beginning of the char
len:pointer to the length of the char read
Returns:the current char value and its length
+
+
+
+

+xmlStringDecodeEntities ()

+
xmlChar *	xmlStringDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+
+

DEPRECATED: Internal function, don't use.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the parser context
str:the input string
what:combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF +
end:an end marker xmlChar, 0 if none
end2:an end marker xmlChar, 0 if none
end3:an end marker xmlChar, 0 if none
Returns:A newly allocated string with the substitution done. The caller must deallocate it !
+
+
+
+

+xmlStringLenDecodeEntities ()

+
xmlChar *	xmlStringLenDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+
+

DEPRECATED: Internal function, don't use.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the parser context
str:the input string
len:the string length
what:combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF +
end:an end marker xmlChar, 0 if none
end2:an end marker xmlChar, 0 if none
end3:an end marker xmlChar, 0 if none
Returns:A newly allocated string with the substitution done. The caller must deallocate it !
+
+
+
+

+xmlSwitchEncoding ()

+
int	xmlSwitchEncoding		(xmlParserCtxtPtr ctxt, 
xmlCharEncoding enc)
+
+

Use encoding specified by enum to decode input data. This overrides the encoding found in the XML declaration. This function can also be used to override the encoding of chunks passed to xmlParseChunk.

+
++ + + + + + + + + + + + + + +
ctxt:the parser context
enc:the encoding value (number)
Returns:0 in case of success, -1 otherwise
+
+
+
+

+xmlSwitchEncodingName ()

+
int	xmlSwitchEncodingName		(xmlParserCtxtPtr ctxt, 
const char * encoding)
+
+

Use specified encoding to decode input data. This overrides the encoding found in the XML declaration. This function can also be used to override the encoding of chunks passed to xmlParseChunk. Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
ctxt:the parser context
encoding:the encoding name
Returns:0 in case of success, -1 otherwise
+
+
+
+

+xmlSwitchInputEncoding ()

+
int	xmlSwitchInputEncoding		(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr input,
xmlCharEncodingHandlerPtr handler)
+
+

DEPRECATED: Internal function, don't use. Use encoding handler to decode input data.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the parser context, only for error reporting
input:the input stream
handler:the encoding handler
Returns:0 in case of success, -1 otherwise
+
+
+
+

+xmlSwitchToEncoding ()

+
int	xmlSwitchToEncoding		(xmlParserCtxtPtr ctxt, 
xmlCharEncodingHandlerPtr handler)
+
+

Use encoding handler to decode input data. This function can be used to enforce the encoding of chunks passed to xmlParseChunk.

+
++ + + + + + + + + + + + + + +
ctxt:the parser context
handler:the encoding handler
Returns:0 in case of success, -1 otherwise
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-pattern.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-pattern.html new file mode 100644 index 0000000000000000000000000000000000000000..332ca7b8fe9620c7e48d1027afbac3c0e21bf578 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-pattern.html @@ -0,0 +1,484 @@ + + + +pattern: pattern expression handling + + + + + + + + + + + + + + +

pattern

+

pattern - pattern expression handling

+

allows to compile and test pattern expressions for nodes either in a tree or based on a parser state.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlPattern xmlPattern;
+typedef enum xmlPatternFlags;
+typedef xmlPattern * xmlPatternPtr;
+typedef struct _xmlStreamCtxt xmlStreamCtxt;
+typedef xmlStreamCtxt * xmlStreamCtxtPtr;
+void	xmlFreePattern			(xmlPatternPtr comp);
+void	xmlFreePatternList		(xmlPatternPtr comp);
+void	xmlFreeStreamCtxt		(xmlStreamCtxtPtr stream);
+int	xmlPatternCompileSafe		(const xmlChar * pattern, 
xmlDict * dict,
int flags,
const xmlChar ** namespaces,
xmlPatternPtr * patternOut); +int xmlPatternFromRoot (xmlPatternPtr comp); +xmlStreamCtxtPtr xmlPatternGetStreamCtxt (xmlPatternPtr comp); +int xmlPatternMatch (xmlPatternPtr comp,
xmlNodePtr node); +int xmlPatternMaxDepth (xmlPatternPtr comp); +int xmlPatternMinDepth (xmlPatternPtr comp); +int xmlPatternStreamable (xmlPatternPtr comp); +xmlPatternPtr xmlPatterncompile (const xmlChar * pattern,
xmlDict * dict,
int flags,
const xmlChar ** namespaces); +int xmlStreamPop (xmlStreamCtxtPtr stream); +int xmlStreamPush (xmlStreamCtxtPtr stream,
const xmlChar * name,
const xmlChar * ns); +int xmlStreamPushAttr (xmlStreamCtxtPtr stream,
const xmlChar * name,
const xmlChar * ns); +int xmlStreamPushNode (xmlStreamCtxtPtr stream,
const xmlChar * name,
const xmlChar * ns,
int nodeType); +int xmlStreamWantsAnyNode (xmlStreamCtxtPtr streamCtxt); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlPattern

+
struct _xmlPattern {
+The content of this structure is not made public by the API.
+} xmlPattern;
+
+

+
+
+
+

+Enum xmlPatternFlags

+
enum xmlPatternFlags {
+    XML_PATTERN_DEFAULT = 0 /* simple pattern match */
+    XML_PATTERN_XPATH = 1 /* standard XPath pattern */
+    XML_PATTERN_XSSEL = 2 /* XPath subset for schema selector */
+    XML_PATTERN_XSFIELD = 4 /*  XPath subset for schema field */
+};
+
+

+
+
+
+

+Typedef xmlPatternPtr

+
xmlPattern * xmlPatternPtr;
+
+

+
+
+
+

+Structure xmlStreamCtxt

+
struct _xmlStreamCtxt {
+The content of this structure is not made public by the API.
+} xmlStreamCtxt;
+
+

+
+
+
+

+Typedef xmlStreamCtxtPtr

+
xmlStreamCtxt * xmlStreamCtxtPtr;
+
+

+
+
+
+

+xmlFreePattern ()

+
void	xmlFreePattern			(xmlPatternPtr comp)
+
+

Free up the memory allocated by @comp

+
++ + + + +
comp:an XSLT comp
+
+
+
+

+xmlFreePatternList ()

+
void	xmlFreePatternList		(xmlPatternPtr comp)
+
+

Free up the memory allocated by all the elements of @comp

+
++ + + + +
comp:an XSLT comp list
+
+
+
+

+xmlFreeStreamCtxt ()

+
void	xmlFreeStreamCtxt		(xmlStreamCtxtPtr stream)
+
+

Free the stream context

+
++ + + + +
stream:the stream context
+
+
+
+

+xmlPatternCompileSafe ()

+
int	xmlPatternCompileSafe		(const xmlChar * pattern, 
xmlDict * dict,
int flags,
const xmlChar ** namespaces,
xmlPatternPtr * patternOut)
+
+

Compile a pattern. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
pattern:the pattern to compile
dict:an optional dictionary for interned strings
flags:compilation flags, see xmlPatternFlags +
namespaces:the prefix definitions, array of [URI, prefix] or NULL
patternOut:output pattern
Returns:0 on success, 1 on error, -1 if a memory allocation failed.
+
+
+
+

+xmlPatternFromRoot ()

+
int	xmlPatternFromRoot		(xmlPatternPtr comp)
+
+

Check if the pattern must be looked at from the root.

+
++ + + + + + + + + + +
comp:the precompiled pattern
Returns:1 if true, 0 if false and -1 in case of error
+
+
+
+

+xmlPatternGetStreamCtxt ()

+
xmlStreamCtxtPtr	xmlPatternGetStreamCtxt	(xmlPatternPtr comp)
+
+

Get a streaming context for that pattern Use xmlFreeStreamCtxt to free the context.

+
++ + + + + + + + + + +
comp:the precompiled pattern
Returns:a pointer to the context or NULL in case of failure
+
+
+
+

+xmlPatternMatch ()

+
int	xmlPatternMatch			(xmlPatternPtr comp, 
xmlNodePtr node)
+
+

Test whether the node matches the pattern

+
++ + + + + + + + + + + + + + +
comp:the precompiled pattern
node:a node
Returns:1 if it matches, 0 if it doesn't and -1 in case of failure
+
+
+
+

+xmlPatternMaxDepth ()

+
int	xmlPatternMaxDepth		(xmlPatternPtr comp)
+
+

Check the maximum depth reachable by a pattern

+
++ + + + + + + + + + +
comp:the precompiled pattern
Returns:-2 if no limit (using //), otherwise the depth, and -1 in case of error
+
+
+
+

+xmlPatternMinDepth ()

+
int	xmlPatternMinDepth		(xmlPatternPtr comp)
+
+

Check the minimum depth reachable by a pattern, 0 mean the / or . are part of the set.

+
++ + + + + + + + + + +
comp:the precompiled pattern
Returns:-1 in case of error otherwise the depth,
+
+
+
+

+xmlPatternStreamable ()

+
int	xmlPatternStreamable		(xmlPatternPtr comp)
+
+

Check if the pattern is streamable i.e. xmlPatternGetStreamCtxt() should work.

+
++ + + + + + + + + + +
comp:the precompiled pattern
Returns:1 if streamable, 0 if not and -1 in case of error.
+
+
+
+

+xmlPatterncompile ()

+
xmlPatternPtr	xmlPatterncompile	(const xmlChar * pattern, 
xmlDict * dict,
int flags,
const xmlChar ** namespaces)
+
+

Compile a pattern.

+
++ + + + + + + + + + + + + + + + + + + + + + +
pattern:the pattern to compile
dict:an optional dictionary for interned strings
flags:compilation flags, see xmlPatternFlags +
namespaces:the prefix definitions, array of [URI, prefix] or NULL
Returns:the compiled form of the pattern or NULL in case of error
+
+
+
+

+xmlStreamPop ()

+
int	xmlStreamPop			(xmlStreamCtxtPtr stream)
+
+

push one level from the stream.

+
++ + + + + + + + + + +
stream:the stream context
Returns:-1 in case of error, 0 otherwise.
+
+
+
+

+xmlStreamPush ()

+
int	xmlStreamPush			(xmlStreamCtxtPtr stream, 
const xmlChar * name,
const xmlChar * ns)
+
+

Push new data onto the stream. NOTE: if the call xmlPatterncompile() indicated a dictionary, then strings for name and ns will be expected to come from the dictionary. Both @name and @ns being NULL means the / i.e. the root of the document. This can also act as a reset. Otherwise the function will act as if it has been given an element-node.

+
++ + + + + + + + + + + + + + + + + + +
stream:the stream context
name:the current name
ns:the namespace name
Returns:-1 in case of error, 1 if the current state in the stream is a match and 0 otherwise.
+
+
+
+

+xmlStreamPushAttr ()

+
int	xmlStreamPushAttr		(xmlStreamCtxtPtr stream, 
const xmlChar * name,
const xmlChar * ns)
+
+

Push new attribute data onto the stream. NOTE: if the call xmlPatterncompile() indicated a dictionary, then strings for name and ns will be expected to come from the dictionary. Both @name and @ns being NULL means the / i.e. the root of the document. This can also act as a reset. Otherwise the function will act as if it has been given an attribute-node.

+
++ + + + + + + + + + + + + + + + + + +
stream:the stream context
name:the current name
ns:the namespace name
Returns:-1 in case of error, 1 if the current state in the stream is a match and 0 otherwise.
+
+
+
+

+xmlStreamPushNode ()

+
int	xmlStreamPushNode		(xmlStreamCtxtPtr stream, 
const xmlChar * name,
const xmlChar * ns,
int nodeType)
+
+

Push new data onto the stream. NOTE: if the call xmlPatterncompile() indicated a dictionary, then strings for name and ns will be expected to come from the dictionary. Both @name and @ns being NULL means the / i.e. the root of the document. This can also act as a reset. Different from xmlStreamPush() this function can be fed with nodes of type: element-, attribute-, text-, cdata-section-, comment- and processing-instruction-node.

+
++ + + + + + + + + + + + + + + + + + + + + + +
stream:the stream context
name:the current name
ns:the namespace name
nodeType:the type of the node being pushed
Returns:-1 in case of error, 1 if the current state in the stream is a match and 0 otherwise.
+
+
+
+

+xmlStreamWantsAnyNode ()

+
int	xmlStreamWantsAnyNode		(xmlStreamCtxtPtr streamCtxt)
+
+

Query if the streaming pattern additionally needs to be fed with text-, cdata-section-, comment- and processing-instruction-nodes. If the result is 0 then only element-nodes and attribute-nodes need to be pushed.

+
++ + + + + + + + + + +
streamCtxt:the stream context
Returns:1 in case of need of nodes of the above described types, 0 otherwise. -1 on API errors.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-relaxng.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-relaxng.html new file mode 100644 index 0000000000000000000000000000000000000000..7a01a4d236e2d459fdd158e3698187b381476f07 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-relaxng.html @@ -0,0 +1,792 @@ + + + +relaxng: implementation of the Relax-NG validation + + + + + + + + + + + + + + +

relaxng

+

relaxng - implementation of the Relax-NG validation

+

implementation of the Relax-NG validation

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlRelaxNG xmlRelaxNG;
+typedef struct _xmlRelaxNGParserCtxt xmlRelaxNGParserCtxt;
+typedef xmlRelaxNGParserCtxt * xmlRelaxNGParserCtxtPtr;
+typedef enum xmlRelaxNGParserFlag;
+typedef xmlRelaxNG * xmlRelaxNGPtr;
+typedef struct _xmlRelaxNGValidCtxt xmlRelaxNGValidCtxt;
+typedef xmlRelaxNGValidCtxt * xmlRelaxNGValidCtxtPtr;
+typedef enum xmlRelaxNGValidErr;
+void	xmlRelaxNGCleanupTypes		(void);
+void	xmlRelaxNGDump			(FILE * output, 
xmlRelaxNGPtr schema); +void xmlRelaxNGDumpTree (FILE * output,
xmlRelaxNGPtr schema); +void xmlRelaxNGFree (xmlRelaxNGPtr schema); +void xmlRelaxNGFreeParserCtxt (xmlRelaxNGParserCtxtPtr ctxt); +void xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxtPtr ctxt); +int xmlRelaxNGGetParserErrors (xmlRelaxNGParserCtxtPtr ctxt,
xmlRelaxNGValidityErrorFunc * err,
xmlRelaxNGValidityWarningFunc * warn,
void ** ctx); +int xmlRelaxNGGetValidErrors (xmlRelaxNGValidCtxtPtr ctxt,
xmlRelaxNGValidityErrorFunc * err,
xmlRelaxNGValidityWarningFunc * warn,
void ** ctx); +int xmlRelaxNGInitTypes (void); +xmlRelaxNGParserCtxtPtr xmlRelaxNGNewDocParserCtxt (xmlDocPtr doc); +xmlRelaxNGParserCtxtPtr xmlRelaxNGNewMemParserCtxt (const char * buffer,
int size); +xmlRelaxNGParserCtxtPtr xmlRelaxNGNewParserCtxt (const char * URL); +xmlRelaxNGValidCtxtPtr xmlRelaxNGNewValidCtxt (xmlRelaxNGPtr schema); +xmlRelaxNGPtr xmlRelaxNGParse (xmlRelaxNGParserCtxtPtr ctxt); +void xmlRelaxNGSetParserErrors (xmlRelaxNGParserCtxtPtr ctxt,
xmlRelaxNGValidityErrorFunc err,
xmlRelaxNGValidityWarningFunc warn,
void * ctx); +void xmlRelaxNGSetParserStructuredErrors (xmlRelaxNGParserCtxtPtr ctxt,
xmlStructuredErrorFunc serror,
void * ctx); +void xmlRelaxNGSetValidErrors (xmlRelaxNGValidCtxtPtr ctxt,
xmlRelaxNGValidityErrorFunc err,
xmlRelaxNGValidityWarningFunc warn,
void * ctx); +void xmlRelaxNGSetValidStructuredErrors (xmlRelaxNGValidCtxtPtr ctxt,
xmlStructuredErrorFunc serror,
void * ctx); +int xmlRelaxNGValidateDoc (xmlRelaxNGValidCtxtPtr ctxt,
xmlDocPtr doc); +int xmlRelaxNGValidateFullElement (xmlRelaxNGValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem); +int xmlRelaxNGValidatePopElement (xmlRelaxNGValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem); +int xmlRelaxNGValidatePushCData (xmlRelaxNGValidCtxtPtr ctxt,
const xmlChar * data,
int len); +int xmlRelaxNGValidatePushElement (xmlRelaxNGValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem); +typedef void xmlRelaxNGValidityErrorFunc (void * ctx,
const char * msg,
... ...); +typedef void xmlRelaxNGValidityWarningFunc (void * ctx,
const char * msg,
... ...); +int xmlRelaxParserSetFlag (xmlRelaxNGParserCtxtPtr ctxt,
int flags); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlRelaxNG

+
struct _xmlRelaxNG {
+The content of this structure is not made public by the API.
+} xmlRelaxNG;
+
+

+
+
+
+

+Structure xmlRelaxNGParserCtxt

+
struct _xmlRelaxNGParserCtxt {
+The content of this structure is not made public by the API.
+} xmlRelaxNGParserCtxt;
+
+

+
+
+
+

+Typedef xmlRelaxNGParserCtxtPtr

+
xmlRelaxNGParserCtxt * xmlRelaxNGParserCtxtPtr;
+
+

+
+
+
+

+Enum xmlRelaxNGParserFlag

+
enum xmlRelaxNGParserFlag {
+    XML_RELAXNGP_NONE = 0
+    XML_RELAXNGP_FREE_DOC = 1
+    XML_RELAXNGP_CRNG = 2
+};
+
+

+
+
+
+

+Typedef xmlRelaxNGPtr

+
xmlRelaxNG * xmlRelaxNGPtr;
+
+

+
+
+
+

+Structure xmlRelaxNGValidCtxt

+
struct _xmlRelaxNGValidCtxt {
+The content of this structure is not made public by the API.
+} xmlRelaxNGValidCtxt;
+
+

+
+
+
+

+Typedef xmlRelaxNGValidCtxtPtr

+
xmlRelaxNGValidCtxt * xmlRelaxNGValidCtxtPtr;
+
+

+
+
+ +
+
+

+Function type xmlRelaxNGValidityErrorFunc

+
void	xmlRelaxNGValidityErrorFunc	(void * ctx, 
const char * msg,
... ...)
+
+

Signature of an error callback from a Relax-NG validation

+
++ + + + + + + + + + + + + + +
ctx:the validation context
msg:the message
...:extra arguments
+
+
+
+

+Function type xmlRelaxNGValidityWarningFunc

+
void	xmlRelaxNGValidityWarningFunc	(void * ctx, 
const char * msg,
... ...)
+
+

Signature of a warning callback from a Relax-NG validation

+
++ + + + + + + + + + + + + + +
ctx:the validation context
msg:the message
...:extra arguments
+
+
+
+

+xmlRelaxNGCleanupTypes ()

+
void	xmlRelaxNGCleanupTypes		(void)
+
+

DEPRECATED: This function will be made private. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all. Cleanup the default Schemas type library associated to RelaxNG

+
+
+
+

+xmlRelaxNGDump ()

+
void	xmlRelaxNGDump			(FILE * output, 
xmlRelaxNGPtr schema)
+
+

Dump a RelaxNG structure back

+
++ + + + + + + + + + +
output:the file output
schema:a schema structure
+
+
+
+

+xmlRelaxNGDumpTree ()

+
void	xmlRelaxNGDumpTree		(FILE * output, 
xmlRelaxNGPtr schema)
+
+

Dump the transformed RelaxNG tree.

+
++ + + + + + + + + + +
output:the file output
schema:a schema structure
+
+
+
+

+xmlRelaxNGFree ()

+
void	xmlRelaxNGFree			(xmlRelaxNGPtr schema)
+
+

Deallocate a RelaxNG structure.

+
++ + + + +
schema:a schema structure
+
+
+
+

+xmlRelaxNGFreeParserCtxt ()

+
void	xmlRelaxNGFreeParserCtxt	(xmlRelaxNGParserCtxtPtr ctxt)
+
+

Free the resources associated to the schema parser context

+
++ + + + +
ctxt:the schema parser context
+
+
+
+

+xmlRelaxNGFreeValidCtxt ()

+
void	xmlRelaxNGFreeValidCtxt		(xmlRelaxNGValidCtxtPtr ctxt)
+
+

Free the resources associated to the schema validation context

+
++ + + + +
ctxt:the schema validation context
+
+
+
+

+xmlRelaxNGGetParserErrors ()

+
int	xmlRelaxNGGetParserErrors	(xmlRelaxNGParserCtxtPtr ctxt, 
xmlRelaxNGValidityErrorFunc * err,
xmlRelaxNGValidityWarningFunc * warn,
void ** ctx)
+
+

Get the callback information used to handle errors for a validation context

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:a Relax-NG validation context
err:the error callback result
warn:the warning callback result
ctx:contextual data for the callbacks result
Returns:-1 in case of failure, 0 otherwise.
+
+
+
+

+xmlRelaxNGGetValidErrors ()

+
int	xmlRelaxNGGetValidErrors	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlRelaxNGValidityErrorFunc * err,
xmlRelaxNGValidityWarningFunc * warn,
void ** ctx)
+
+

Get the error and warning callback information

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:a Relax-NG validation context
err:the error function result
warn:the warning function result
ctx:the functions context result
Returns:-1 in case of error and 0 otherwise
+
+
+
+

+xmlRelaxNGInitTypes ()

+
int	xmlRelaxNGInitTypes		(void)
+
+

Initialize the default type libraries.

+
++ + + + +
Returns:0 in case of success and -1 in case of error.
+
+
+
+

+xmlRelaxNGNewDocParserCtxt ()

+
xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewDocParserCtxt	(xmlDocPtr doc)
+
+

Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally.

+
++ + + + + + + + + + +
doc:a preparsed document tree
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlRelaxNGNewMemParserCtxt ()

+
xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewMemParserCtxt	(const char * buffer, 
int size)
+
+

Create an XML RelaxNGs parse context for that memory buffer expected to contain an XML RelaxNGs file.

+
++ + + + + + + + + + + + + + +
buffer:a pointer to a char array containing the schemas
size:the size of the array
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlRelaxNGNewParserCtxt ()

+
xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewParserCtxt	(const char * URL)
+
+

Create an XML RelaxNGs parse context for that file/resource expected to contain an XML RelaxNGs file.

+
++ + + + + + + + + + +
URL:the location of the schema
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlRelaxNGNewValidCtxt ()

+
xmlRelaxNGValidCtxtPtr	xmlRelaxNGNewValidCtxt	(xmlRelaxNGPtr schema)
+
+

Create an XML RelaxNGs validation context based on the given schema

+
++ + + + + + + + + + +
schema:a precompiled XML RelaxNGs
Returns:the validation context or NULL in case of error
+
+
+
+

+xmlRelaxNGParse ()

+
xmlRelaxNGPtr	xmlRelaxNGParse		(xmlRelaxNGParserCtxtPtr ctxt)
+
+

parse a schema definition resource and build an internal XML Schema structure which can be used to validate instances.

+
++ + + + + + + + + + +
ctxt:a Relax-NG parser context
Returns:the internal XML RelaxNG structure built from the resource or NULL in case of error
+
+
+
+

+xmlRelaxNGSetParserErrors ()

+
void	xmlRelaxNGSetParserErrors	(xmlRelaxNGParserCtxtPtr ctxt, 
xmlRelaxNGValidityErrorFunc err,
xmlRelaxNGValidityWarningFunc warn,
void * ctx)
+
+

DEPRECATED: Use xmlRelaxNGSetParserStructuredErrors. Set the callback functions used to handle errors for a validation context

+
++ + + + + + + + + + + + + + + + + + +
ctxt:a Relax-NG validation context
err:the error callback
warn:the warning callback
ctx:contextual data for the callbacks
+
+
+
+

+xmlRelaxNGSetParserStructuredErrors ()

+
void	xmlRelaxNGSetParserStructuredErrors	(xmlRelaxNGParserCtxtPtr ctxt, 
xmlStructuredErrorFunc serror,
void * ctx)
+
+

Set the callback functions used to handle errors for a parsing context

+
++ + + + + + + + + + + + + + +
ctxt:a Relax-NG parser context
serror:the error callback
ctx:contextual data for the callbacks
+
+
+
+

+xmlRelaxNGSetValidErrors ()

+
void	xmlRelaxNGSetValidErrors	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlRelaxNGValidityErrorFunc err,
xmlRelaxNGValidityWarningFunc warn,
void * ctx)
+
+

DEPRECATED: Use xmlRelaxNGSetValidStructuredErrors. Set the error and warning callback information

+
++ + + + + + + + + + + + + + + + + + +
ctxt:a Relax-NG validation context
err:the error function
warn:the warning function
ctx:the functions context
+
+
+
+

+xmlRelaxNGSetValidStructuredErrors ()

+
void	xmlRelaxNGSetValidStructuredErrors	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlStructuredErrorFunc serror,
void * ctx)
+
+

Set the structured error callback

+
++ + + + + + + + + + + + + + +
ctxt:a Relax-NG validation context
serror:the structured error function
ctx:the functions context
+
+
+
+

+xmlRelaxNGValidateDoc ()

+
int	xmlRelaxNGValidateDoc		(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc)
+
+

Validate a document tree in memory.

+
++ + + + + + + + + + + + + + +
ctxt:a Relax-NG validation context
doc:a parsed document tree
Returns:0 if the document is valid, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlRelaxNGValidateFullElement ()

+
int	xmlRelaxNGValidateFullElement	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
+
+

Validate a full subtree when xmlRelaxNGValidatePushElement() returned 0 and the content of the node has been expanded.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
elem:an element instance
Returns:1 if no validation problem was found or -1 in case of error.
+
+
+
+

+xmlRelaxNGValidatePopElement ()

+
int	xmlRelaxNGValidatePopElement	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
+
+

Pop the element end from the RelaxNG validation stack.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the RelaxNG validation context
doc:a document instance
elem:an element instance
Returns:1 if no validation problem was found or 0 otherwise
+
+
+
+

+xmlRelaxNGValidatePushCData ()

+
int	xmlRelaxNGValidatePushCData	(xmlRelaxNGValidCtxtPtr ctxt, 
const xmlChar * data,
int len)
+
+

check the CData parsed for validation in the current stack

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the RelaxNG validation context
data:some character data read
len:the length of the data
Returns:1 if no validation problem was found or -1 otherwise
+
+
+
+

+xmlRelaxNGValidatePushElement ()

+
int	xmlRelaxNGValidatePushElement	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
+
+

Push a new element start on the RelaxNG validation stack.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
elem:an element instance
Returns:1 if no validation problem was found or 0 if validating the element requires a full node, and -1 in case of error.
+
+
+
+

+xmlRelaxParserSetFlag ()

+
int	xmlRelaxParserSetFlag		(xmlRelaxNGParserCtxtPtr ctxt, 
int flags)
+
+

Semi private function used to pass information to a parser context which are a combination of xmlRelaxNGParserFlag .

+
++ + + + + + + + + + + + + + +
ctxt:a RelaxNG parser context
flags:a set of flags values
Returns:0 if success and -1 in case of error
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-schemasInternals.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-schemasInternals.html new file mode 100644 index 0000000000000000000000000000000000000000..8c45bdf8d47f571a10c69672d05a85a60402debe --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-schemasInternals.html @@ -0,0 +1,1303 @@ + + + +schemasInternals: internal interfaces for XML Schemas + + + + + + + + + + + + + + +

schemasInternals

+

schemasInternals - internal interfaces for XML Schemas

+

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 guaranteed to be API or ABI stable !

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define XML_SCHEMAS_ANYATTR_LAX;
+#define XML_SCHEMAS_ANYATTR_SKIP;
+#define XML_SCHEMAS_ANYATTR_STRICT;
+#define XML_SCHEMAS_ANY_LAX;
+#define XML_SCHEMAS_ANY_SKIP;
+#define XML_SCHEMAS_ANY_STRICT;
+#define XML_SCHEMAS_ATTRGROUP_GLOBAL;
+#define XML_SCHEMAS_ATTRGROUP_HAS_REFS;
+#define XML_SCHEMAS_ATTRGROUP_MARKED;
+#define XML_SCHEMAS_ATTRGROUP_REDEFINED;
+#define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED;
+#define XML_SCHEMAS_ATTR_FIXED;
+#define XML_SCHEMAS_ATTR_GLOBAL;
+#define XML_SCHEMAS_ATTR_INTERNAL_RESOLVED;
+#define XML_SCHEMAS_ATTR_NSDEFAULT;
+#define XML_SCHEMAS_ATTR_USE_OPTIONAL;
+#define XML_SCHEMAS_ATTR_USE_PROHIBITED;
+#define XML_SCHEMAS_ATTR_USE_REQUIRED;
+#define XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION;
+#define XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION;
+#define XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION;
+#define XML_SCHEMAS_ELEM_ABSTRACT;
+#define XML_SCHEMAS_ELEM_BLOCK_ABSENT;
+#define XML_SCHEMAS_ELEM_BLOCK_EXTENSION;
+#define XML_SCHEMAS_ELEM_BLOCK_RESTRICTION;
+#define XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION;
+#define XML_SCHEMAS_ELEM_CIRCULAR;
+#define XML_SCHEMAS_ELEM_DEFAULT;
+#define XML_SCHEMAS_ELEM_FINAL_ABSENT;
+#define XML_SCHEMAS_ELEM_FINAL_EXTENSION;
+#define XML_SCHEMAS_ELEM_FINAL_RESTRICTION;
+#define XML_SCHEMAS_ELEM_FIXED;
+#define XML_SCHEMAS_ELEM_GLOBAL;
+#define XML_SCHEMAS_ELEM_INTERNAL_CHECKED;
+#define XML_SCHEMAS_ELEM_INTERNAL_RESOLVED;
+#define XML_SCHEMAS_ELEM_NILLABLE;
+#define XML_SCHEMAS_ELEM_NSDEFAULT;
+#define XML_SCHEMAS_ELEM_REF;
+#define XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD;
+#define XML_SCHEMAS_ELEM_TOPLEVEL;
+#define XML_SCHEMAS_FACET_COLLAPSE;
+#define XML_SCHEMAS_FACET_PRESERVE;
+#define XML_SCHEMAS_FACET_REPLACE;
+#define XML_SCHEMAS_FACET_UNKNOWN;
+#define XML_SCHEMAS_FINAL_DEFAULT_EXTENSION;
+#define XML_SCHEMAS_FINAL_DEFAULT_LIST;
+#define XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION;
+#define XML_SCHEMAS_FINAL_DEFAULT_UNION;
+#define XML_SCHEMAS_INCLUDING_CONVERT_NS;
+#define XML_SCHEMAS_QUALIF_ATTR;
+#define XML_SCHEMAS_QUALIF_ELEM;
+#define XML_SCHEMAS_TYPE_ABSTRACT;
+#define XML_SCHEMAS_TYPE_BLOCK_DEFAULT;
+#define XML_SCHEMAS_TYPE_BLOCK_EXTENSION;
+#define XML_SCHEMAS_TYPE_BLOCK_RESTRICTION;
+#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE;
+#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION;
+#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION;
+#define XML_SCHEMAS_TYPE_FACETSNEEDVALUE;
+#define XML_SCHEMAS_TYPE_FINAL_DEFAULT;
+#define XML_SCHEMAS_TYPE_FINAL_EXTENSION;
+#define XML_SCHEMAS_TYPE_FINAL_LIST;
+#define XML_SCHEMAS_TYPE_FINAL_RESTRICTION;
+#define XML_SCHEMAS_TYPE_FINAL_UNION;
+#define XML_SCHEMAS_TYPE_FIXUP_1;
+#define XML_SCHEMAS_TYPE_GLOBAL;
+#define XML_SCHEMAS_TYPE_HAS_FACETS;
+#define XML_SCHEMAS_TYPE_INTERNAL_INVALID;
+#define XML_SCHEMAS_TYPE_INTERNAL_RESOLVED;
+#define XML_SCHEMAS_TYPE_MARKED;
+#define XML_SCHEMAS_TYPE_MIXED;
+#define XML_SCHEMAS_TYPE_NORMVALUENEEDED;
+#define XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD;
+#define XML_SCHEMAS_TYPE_REDEFINED;
+#define XML_SCHEMAS_TYPE_VARIETY_ABSENT;
+#define XML_SCHEMAS_TYPE_VARIETY_ATOMIC;
+#define XML_SCHEMAS_TYPE_VARIETY_LIST;
+#define XML_SCHEMAS_TYPE_VARIETY_UNION;
+#define XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE;
+#define XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE;
+#define XML_SCHEMAS_TYPE_WHITESPACE_REPLACE;
+#define XML_SCHEMAS_WILDCARD_COMPLETE;
+typedef struct _xmlSchemaAnnot xmlSchemaAnnot;
+typedef xmlSchemaAnnot * xmlSchemaAnnotPtr;
+typedef struct _xmlSchemaAttribute xmlSchemaAttribute;
+typedef struct _xmlSchemaAttributeGroup xmlSchemaAttributeGroup;
+typedef xmlSchemaAttributeGroup * xmlSchemaAttributeGroupPtr;
+typedef struct _xmlSchemaAttributeLink xmlSchemaAttributeLink;
+typedef xmlSchemaAttributeLink * xmlSchemaAttributeLinkPtr;
+typedef xmlSchemaAttribute * xmlSchemaAttributePtr;
+typedef enum xmlSchemaContentType;
+typedef struct _xmlSchemaElement xmlSchemaElement;
+typedef xmlSchemaElement * xmlSchemaElementPtr;
+typedef struct _xmlSchemaFacet xmlSchemaFacet;
+typedef struct _xmlSchemaFacetLink xmlSchemaFacetLink;
+typedef xmlSchemaFacetLink * xmlSchemaFacetLinkPtr;
+typedef xmlSchemaFacet * xmlSchemaFacetPtr;
+typedef struct _xmlSchemaNotation xmlSchemaNotation;
+typedef xmlSchemaNotation * xmlSchemaNotationPtr;
+typedef struct _xmlSchemaType xmlSchemaType;
+typedef struct _xmlSchemaTypeLink xmlSchemaTypeLink;
+typedef xmlSchemaTypeLink * xmlSchemaTypeLinkPtr;
+typedef xmlSchemaType * xmlSchemaTypePtr;
+typedef enum xmlSchemaTypeType;
+typedef struct _xmlSchemaVal xmlSchemaVal;
+typedef xmlSchemaVal * xmlSchemaValPtr;
+typedef enum xmlSchemaValType;
+typedef struct _xmlSchemaWildcard xmlSchemaWildcard;
+typedef struct _xmlSchemaWildcardNs xmlSchemaWildcardNs;
+typedef xmlSchemaWildcardNs * xmlSchemaWildcardNsPtr;
+typedef xmlSchemaWildcard * xmlSchemaWildcardPtr;
+void	xmlSchemaFreeType		(xmlSchemaTypePtr type);
+void	xmlSchemaFreeWildcard		(xmlSchemaWildcardPtr wildcard);
+
+
+

Description

+
+

Details

+
+
+

+Macro XML_SCHEMAS_ANYATTR_LAX

+
#define XML_SCHEMAS_ANYATTR_LAX;
+
+

Ignore validation non definition on attributes Obsolete, not used anymore.

+
+
+
+

+Macro XML_SCHEMAS_ANYATTR_SKIP

+
#define XML_SCHEMAS_ANYATTR_SKIP;
+
+

Skip unknown attribute from validation Obsolete, not used anymore.

+
+
+
+

+Macro XML_SCHEMAS_ANYATTR_STRICT

+
#define XML_SCHEMAS_ANYATTR_STRICT;
+
+

Apply strict validation rules on attributes Obsolete, not used anymore.

+
+
+
+

+Macro XML_SCHEMAS_ANY_LAX

+
#define XML_SCHEMAS_ANY_LAX;
+
+

Used by wildcards. Validate if type found, don't worry if not found

+
+
+
+

+Macro XML_SCHEMAS_ANY_SKIP

+
#define XML_SCHEMAS_ANY_SKIP;
+
+

Skip unknown attribute from validation

+
+
+
+

+Macro XML_SCHEMAS_ANY_STRICT

+
#define XML_SCHEMAS_ANY_STRICT;
+
+

Used by wildcards. Apply strict validation rules

+
+
+
+

+Macro XML_SCHEMAS_ATTRGROUP_GLOBAL

+
#define XML_SCHEMAS_ATTRGROUP_GLOBAL;
+
+

The attribute group has been defined.

+
+
+
+

+Macro XML_SCHEMAS_ATTRGROUP_HAS_REFS

+
#define XML_SCHEMAS_ATTRGROUP_HAS_REFS;
+
+

Whether this attr. group contains attr. group references.

+
+
+
+

+Macro XML_SCHEMAS_ATTRGROUP_MARKED

+
#define XML_SCHEMAS_ATTRGROUP_MARKED;
+
+

Marks the attr group as marked; used for circular checks.

+
+
+
+

+Macro XML_SCHEMAS_ATTRGROUP_REDEFINED

+
#define XML_SCHEMAS_ATTRGROUP_REDEFINED;
+
+

The attr group was redefined.

+
+
+
+

+Macro XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED

+
#define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED;
+
+

The attribute wildcard has been built.

+
+
+
+

+Macro XML_SCHEMAS_ATTR_FIXED

+
#define XML_SCHEMAS_ATTR_FIXED;
+
+

the attribute has a fixed value

+
+
+
+

+Macro XML_SCHEMAS_ATTR_GLOBAL

+
#define XML_SCHEMAS_ATTR_GLOBAL;
+
+

allow elements in no namespace

+
+
+
+

+Macro XML_SCHEMAS_ATTR_INTERNAL_RESOLVED

+
#define XML_SCHEMAS_ATTR_INTERNAL_RESOLVED;
+
+

this is set when the "type" and "ref" references have been resolved.

+
+
+
+

+Macro XML_SCHEMAS_ATTR_NSDEFAULT

+
#define XML_SCHEMAS_ATTR_NSDEFAULT;
+
+

allow elements in no namespace

+
+
+
+

+Macro XML_SCHEMAS_ATTR_USE_OPTIONAL

+
#define XML_SCHEMAS_ATTR_USE_OPTIONAL;
+
+

The attribute is optional.

+
+
+
+

+Macro XML_SCHEMAS_ATTR_USE_PROHIBITED

+
#define XML_SCHEMAS_ATTR_USE_PROHIBITED;
+
+

Used by wildcards. The attribute is prohibited.

+
+
+
+

+Macro XML_SCHEMAS_ATTR_USE_REQUIRED

+
#define XML_SCHEMAS_ATTR_USE_REQUIRED;
+
+

The attribute is required.

+
+
+
+

+Macro XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION

+
#define XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION;
+
+

the schema has "extension" in the set of blockDefault.

+
+
+
+

+Macro XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION

+
#define XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION;
+
+

the schema has "restriction" in the set of blockDefault.

+
+
+
+

+Macro XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION

+
#define XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION;
+
+

the schema has "substitution" in the set of blockDefault.

+
+
+
+

+Macro XML_SCHEMAS_ELEM_ABSTRACT

+
#define XML_SCHEMAS_ELEM_ABSTRACT;
+
+

the element is abstract

+
+
+
+

+Macro XML_SCHEMAS_ELEM_BLOCK_ABSENT

+
#define XML_SCHEMAS_ELEM_BLOCK_ABSENT;
+
+

the "block" attribute is absent

+
+
+
+

+Macro XML_SCHEMAS_ELEM_BLOCK_EXTENSION

+
#define XML_SCHEMAS_ELEM_BLOCK_EXTENSION;
+
+

disallowed substitutions are absent

+
+
+
+

+Macro XML_SCHEMAS_ELEM_BLOCK_RESTRICTION

+
#define XML_SCHEMAS_ELEM_BLOCK_RESTRICTION;
+
+

disallowed substitutions: "restriction"

+
+
+
+

+Macro XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION

+
#define XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION;
+
+

disallowed substitutions: "substitution"

+
+
+
+

+Macro XML_SCHEMAS_ELEM_CIRCULAR

+
#define XML_SCHEMAS_ELEM_CIRCULAR;
+
+

a helper flag for the search of circular references.

+
+
+
+

+Macro XML_SCHEMAS_ELEM_DEFAULT

+
#define XML_SCHEMAS_ELEM_DEFAULT;
+
+

the element has a default value

+
+
+
+

+Macro XML_SCHEMAS_ELEM_FINAL_ABSENT

+
#define XML_SCHEMAS_ELEM_FINAL_ABSENT;
+
+

substitution group exclusions are absent

+
+
+
+

+Macro XML_SCHEMAS_ELEM_FINAL_EXTENSION

+
#define XML_SCHEMAS_ELEM_FINAL_EXTENSION;
+
+

substitution group exclusions: "extension"

+
+
+
+

+Macro XML_SCHEMAS_ELEM_FINAL_RESTRICTION

+
#define XML_SCHEMAS_ELEM_FINAL_RESTRICTION;
+
+

substitution group exclusions: "restriction"

+
+
+
+

+Macro XML_SCHEMAS_ELEM_FIXED

+
#define XML_SCHEMAS_ELEM_FIXED;
+
+

the element has a fixed value

+
+
+
+

+Macro XML_SCHEMAS_ELEM_GLOBAL

+
#define XML_SCHEMAS_ELEM_GLOBAL;
+
+

the element is global

+
+
+
+

+Macro XML_SCHEMAS_ELEM_INTERNAL_CHECKED

+
#define XML_SCHEMAS_ELEM_INTERNAL_CHECKED;
+
+

this is set when the elem decl has been checked against all constraints

+
+
+
+

+Macro XML_SCHEMAS_ELEM_INTERNAL_RESOLVED

+
#define XML_SCHEMAS_ELEM_INTERNAL_RESOLVED;
+
+

this is set when "type", "ref", "substitutionGroup" references have been resolved.

+
+
+
+

+Macro XML_SCHEMAS_ELEM_NILLABLE

+
#define XML_SCHEMAS_ELEM_NILLABLE;
+
+

the element is nillable

+
+
+
+

+Macro XML_SCHEMAS_ELEM_NSDEFAULT

+
#define XML_SCHEMAS_ELEM_NSDEFAULT;
+
+

allow elements in no namespace Obsolete, not used anymore.

+
+
+
+

+Macro XML_SCHEMAS_ELEM_REF

+
#define XML_SCHEMAS_ELEM_REF;
+
+

the element is a reference to a type

+
+
+
+

+Macro XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD

+
#define XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD;
+
+

the declaration is a substitution group head

+
+
+
+

+Macro XML_SCHEMAS_ELEM_TOPLEVEL

+
#define XML_SCHEMAS_ELEM_TOPLEVEL;
+
+

the element is top level obsolete: use XML_SCHEMAS_ELEM_GLOBAL instead

+
+
+
+

+Macro XML_SCHEMAS_FACET_COLLAPSE

+
#define XML_SCHEMAS_FACET_COLLAPSE;
+
+

collapse the types of the facet

+
+
+
+

+Macro XML_SCHEMAS_FACET_PRESERVE

+
#define XML_SCHEMAS_FACET_PRESERVE;
+
+

preserve the type of the facet

+
+
+
+

+Macro XML_SCHEMAS_FACET_REPLACE

+
#define XML_SCHEMAS_FACET_REPLACE;
+
+

replace the type of the facet

+
+
+
+

+Macro XML_SCHEMAS_FACET_UNKNOWN

+
#define XML_SCHEMAS_FACET_UNKNOWN;
+
+

unknown facet handling

+
+
+
+

+Macro XML_SCHEMAS_FINAL_DEFAULT_EXTENSION

+
#define XML_SCHEMAS_FINAL_DEFAULT_EXTENSION;
+
+

the schema has "extension" in the set of finalDefault.

+
+
+
+

+Macro XML_SCHEMAS_FINAL_DEFAULT_LIST

+
#define XML_SCHEMAS_FINAL_DEFAULT_LIST;
+
+

the schema has "list" in the set of finalDefault.

+
+
+
+

+Macro XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION

+
#define XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION;
+
+

the schema has "restriction" in the set of finalDefault.

+
+
+
+

+Macro XML_SCHEMAS_FINAL_DEFAULT_UNION

+
#define XML_SCHEMAS_FINAL_DEFAULT_UNION;
+
+

the schema has "union" in the set of finalDefault.

+
+
+
+

+Macro XML_SCHEMAS_INCLUDING_CONVERT_NS

+
#define XML_SCHEMAS_INCLUDING_CONVERT_NS;
+
+

the schema is currently including an other schema with no target namespace.

+
+
+
+

+Macro XML_SCHEMAS_QUALIF_ATTR

+
#define XML_SCHEMAS_QUALIF_ATTR;
+
+

Reflects attributeFormDefault == qualified in an XML schema document.

+
+
+
+

+Macro XML_SCHEMAS_QUALIF_ELEM

+
#define XML_SCHEMAS_QUALIF_ELEM;
+
+

Reflects elementFormDefault == qualified in an XML schema document.

+
+
+
+

+Macro XML_SCHEMAS_TYPE_ABSTRACT

+
#define XML_SCHEMAS_TYPE_ABSTRACT;
+
+

the simple/complexType is abstract.

+
+
+
+

+Macro XML_SCHEMAS_TYPE_BLOCK_DEFAULT

+
#define XML_SCHEMAS_TYPE_BLOCK_DEFAULT;
+
+

the complexType did not specify 'block' so use the default of the <schema> item.

+
+
+
+

+Macro XML_SCHEMAS_TYPE_BLOCK_EXTENSION

+
#define XML_SCHEMAS_TYPE_BLOCK_EXTENSION;
+
+

the complexType has a 'block' of "extension".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_BLOCK_RESTRICTION

+
#define XML_SCHEMAS_TYPE_BLOCK_RESTRICTION;
+
+

the complexType has a 'block' of "restriction".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

+
#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE;
+
+

Marks the item as a builtin primitive.

+
+
+
+

+Macro XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION

+
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION;
+
+

the simple or complex type has a derivation method of "extension".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION

+
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION;
+
+

the simple or complex type has a derivation method of "restriction".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_FACETSNEEDVALUE

+
#define XML_SCHEMAS_TYPE_FACETSNEEDVALUE;
+
+

indicates if the facets need a computed value

+
+
+
+

+Macro XML_SCHEMAS_TYPE_FINAL_DEFAULT

+
#define XML_SCHEMAS_TYPE_FINAL_DEFAULT;
+
+

the simpleType has a final of "default".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_FINAL_EXTENSION

+
#define XML_SCHEMAS_TYPE_FINAL_EXTENSION;
+
+

the complexType has a final of "extension".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_FINAL_LIST

+
#define XML_SCHEMAS_TYPE_FINAL_LIST;
+
+

the simpleType has a final of "list".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_FINAL_RESTRICTION

+
#define XML_SCHEMAS_TYPE_FINAL_RESTRICTION;
+
+

the simpleType/complexType has a final of "restriction".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_FINAL_UNION

+
#define XML_SCHEMAS_TYPE_FINAL_UNION;
+
+

the simpleType has a final of "union".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_FIXUP_1

+
#define XML_SCHEMAS_TYPE_FIXUP_1;
+
+

First stage of fixup was done.

+
+
+
+

+Macro XML_SCHEMAS_TYPE_GLOBAL

+
#define XML_SCHEMAS_TYPE_GLOBAL;
+
+

the type is global

+
+
+
+

+Macro XML_SCHEMAS_TYPE_HAS_FACETS

+
#define XML_SCHEMAS_TYPE_HAS_FACETS;
+
+

has facets

+
+
+
+

+Macro XML_SCHEMAS_TYPE_INTERNAL_INVALID

+
#define XML_SCHEMAS_TYPE_INTERNAL_INVALID;
+
+

indicates that the type is invalid

+
+
+
+

+Macro XML_SCHEMAS_TYPE_INTERNAL_RESOLVED

+
#define XML_SCHEMAS_TYPE_INTERNAL_RESOLVED;
+
+

indicates that the type was typefixed

+
+
+
+

+Macro XML_SCHEMAS_TYPE_MARKED

+
#define XML_SCHEMAS_TYPE_MARKED;
+
+

Marks the item as marked; used for circular checks.

+
+
+
+

+Macro XML_SCHEMAS_TYPE_MIXED

+
#define XML_SCHEMAS_TYPE_MIXED;
+
+

the element content type is mixed

+
+
+
+

+Macro XML_SCHEMAS_TYPE_NORMVALUENEEDED

+
#define XML_SCHEMAS_TYPE_NORMVALUENEEDED;
+
+

indicates if the facets (pattern) need a normalized value

+
+
+
+

+Macro XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD

+
#define XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD;
+
+

the complexType owns an attribute wildcard, i.e. it can be freed by the complexType

+
+
+
+

+Macro XML_SCHEMAS_TYPE_REDEFINED

+
#define XML_SCHEMAS_TYPE_REDEFINED;
+
+

The type was redefined.

+
+
+
+

+Macro XML_SCHEMAS_TYPE_VARIETY_ABSENT

+
#define XML_SCHEMAS_TYPE_VARIETY_ABSENT;
+
+

the simpleType has a variety of "absent". TODO: Actually not necessary :-/, since if none of the variety flags occur then it's automatically absent.

+
+
+
+

+Macro XML_SCHEMAS_TYPE_VARIETY_ATOMIC

+
#define XML_SCHEMAS_TYPE_VARIETY_ATOMIC;
+
+

the simpleType has a variety of "union".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_VARIETY_LIST

+
#define XML_SCHEMAS_TYPE_VARIETY_LIST;
+
+

the simpleType has a variety of "list".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_VARIETY_UNION

+
#define XML_SCHEMAS_TYPE_VARIETY_UNION;
+
+

the simpleType has a variety of "union".

+
+
+
+

+Macro XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE

+
#define XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE;
+
+

a whitespace-facet value of "collapse"

+
+
+
+

+Macro XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE

+
#define XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE;
+
+

a whitespace-facet value of "preserve"

+
+
+
+

+Macro XML_SCHEMAS_TYPE_WHITESPACE_REPLACE

+
#define XML_SCHEMAS_TYPE_WHITESPACE_REPLACE;
+
+

a whitespace-facet value of "replace"

+
+
+
+

+Macro XML_SCHEMAS_WILDCARD_COMPLETE

+
#define XML_SCHEMAS_WILDCARD_COMPLETE;
+
+

If the wildcard is complete.

+
+
+
+

+Structure xmlSchemaAnnot

+
struct _xmlSchemaAnnot {
+    struct _xmlSchemaAnnot *	next
+    xmlNodePtr	content	: the annotation
+} xmlSchemaAnnot;
+
+

+
+
+
+

+Typedef xmlSchemaAnnotPtr

+
xmlSchemaAnnot * xmlSchemaAnnotPtr;
+
+

+
+
+
+

+Structure xmlSchemaAttribute

+
struct _xmlSchemaAttribute {
+    xmlSchemaTypeType	type
+    struct _xmlSchemaAttribute *	next	: the next attribute (not used?)
+    const xmlChar *	name	: the name of the declaration
+    const xmlChar *	id	: Deprecated; not used
+    const xmlChar *	ref	: Deprecated; not used
+    const xmlChar *	refNs	: Deprecated; not used
+    const xmlChar *	typeName	: the local name of the type definition
+    const xmlChar *	typeNs	: the ns URI of the type definition
+    xmlSchemaAnnotPtr	annot
+    xmlSchemaTypePtr	base	: Deprecated; not used
+    int	occurs	: Deprecated; not used
+    const xmlChar *	defValue	: The initial value of the value constraint
+    xmlSchemaTypePtr	subtypes	: the type definition
+    xmlNodePtr	node
+    const xmlChar *	targetNamespace
+    int	flags
+    const xmlChar *	refPrefix	: Deprecated; not used
+    xmlSchemaValPtr	defVal	: The compiled value constraint
+    xmlSchemaAttributePtr	refDecl	: Deprecated; not used
+} xmlSchemaAttribute;
+
+

+
+
+
+

+Structure xmlSchemaAttributeGroup

+
struct _xmlSchemaAttributeGroup {
+    xmlSchemaTypeType	type	: The kind of type
+    struct _xmlSchemaAttribute *	next	: the next attribute if in a group ...
+    const xmlChar *	name
+    const xmlChar *	id
+    const xmlChar *	ref	: Deprecated; not used
+    const xmlChar *	refNs	: Deprecated; not used
+    xmlSchemaAnnotPtr	annot
+    xmlSchemaAttributePtr	attributes	: Deprecated; not used
+    xmlNodePtr	node
+    int	flags
+    xmlSchemaWildcardPtr	attributeWildcard
+    const xmlChar *	refPrefix	: Deprecated; not used
+    xmlSchemaAttributeGroupPtr	refItem	: Deprecated; not used
+    const xmlChar *	targetNamespace
+    void *	attrUses
+} xmlSchemaAttributeGroup;
+
+

+
+
+
+

+Typedef xmlSchemaAttributeGroupPtr

+
xmlSchemaAttributeGroup * xmlSchemaAttributeGroupPtr;
+
+

+
+
+
+

+Structure xmlSchemaAttributeLink

+
struct _xmlSchemaAttributeLink {
+    struct _xmlSchemaAttributeLink *	next	: the next attribute link ...
+    struct _xmlSchemaAttribute *	attr	: the linked attribute
+} xmlSchemaAttributeLink;
+
+

+
+
+
+

+Typedef xmlSchemaAttributeLinkPtr

+
xmlSchemaAttributeLink * xmlSchemaAttributeLinkPtr;
+
+

+
+
+
+

+Typedef xmlSchemaAttributePtr

+
xmlSchemaAttribute * xmlSchemaAttributePtr;
+
+

+
+
+ +
+
+

+Structure xmlSchemaElement

+
struct _xmlSchemaElement {
+    xmlSchemaTypeType	type	: The kind of type
+    struct _xmlSchemaType *	next	: Not used?
+    const xmlChar *	name
+    const xmlChar *	id	: Deprecated; not used
+    const xmlChar *	ref	: Deprecated; not used
+    const xmlChar *	refNs	: Deprecated; not used
+    xmlSchemaAnnotPtr	annot
+    xmlSchemaTypePtr	subtypes	: the type definition
+    xmlSchemaAttributePtr	attributes
+    xmlNodePtr	node
+    int	minOccurs	: Deprecated; not used
+    int	maxOccurs	: Deprecated; not used
+    int	flags
+    const xmlChar *	targetNamespace
+    const xmlChar *	namedType
+    const xmlChar *	namedTypeNs
+    const xmlChar *	substGroup
+    const xmlChar *	substGroupNs
+    const xmlChar *	scope
+    const xmlChar *	value	: The original value of the value constraint.
+    struct _xmlSchemaElement *	refDecl	: This will now be used for the substitution group affiliation
+    xmlRegexpPtr	contModel	: Obsolete for WXS, maybe used for RelaxNG
+    xmlSchemaContentType	contentType
+    const xmlChar *	refPrefix	: Deprecated; not used
+    xmlSchemaValPtr	defVal	: The compiled value constraint.
+    void *	idcs	: The identity-constraint defs
+} xmlSchemaElement;
+
+

+
+
+
+

+Typedef xmlSchemaElementPtr

+
xmlSchemaElement * xmlSchemaElementPtr;
+
+

+
+
+
+

+Structure xmlSchemaFacet

+
struct _xmlSchemaFacet {
+    xmlSchemaTypeType	type	: The kind of type
+    struct _xmlSchemaFacet *	next	: the next type if in a sequence ...
+    const xmlChar *	value	: The original value
+    const xmlChar *	id	: Obsolete
+    xmlSchemaAnnotPtr	annot
+    xmlNodePtr	node
+    int	fixed	: XML_SCHEMAS_FACET_PRESERVE, etc.
+    int	whitespace
+    xmlSchemaValPtr	val	: The compiled value
+    xmlRegexpPtr	regexp	: The regex for patterns
+} xmlSchemaFacet;
+
+

+
+
+
+

+Structure xmlSchemaFacetLink

+
struct _xmlSchemaFacetLink {
+    struct _xmlSchemaFacetLink *	next	: the next facet link ...
+    xmlSchemaFacetPtr	facet	: the linked facet
+} xmlSchemaFacetLink;
+
+

+
+
+
+

+Typedef xmlSchemaFacetLinkPtr

+
xmlSchemaFacetLink * xmlSchemaFacetLinkPtr;
+
+

+
+
+
+

+Typedef xmlSchemaFacetPtr

+
xmlSchemaFacet * xmlSchemaFacetPtr;
+
+

+
+
+
+

+Structure xmlSchemaNotation

+
struct _xmlSchemaNotation {
+    xmlSchemaTypeType	type	: The kind of type
+    const xmlChar *	name
+    xmlSchemaAnnotPtr	annot
+    const xmlChar *	identifier
+    const xmlChar *	targetNamespace
+} xmlSchemaNotation;
+
+

+
+
+
+

+Typedef xmlSchemaNotationPtr

+
xmlSchemaNotation * xmlSchemaNotationPtr;
+
+

+
+
+
+

+Structure xmlSchemaType

+
struct _xmlSchemaType {
+    xmlSchemaTypeType	type	: The kind of type
+    struct _xmlSchemaType *	next	: the next type if in a sequence ...
+    const xmlChar *	name
+    const xmlChar *	id	: Deprecated; not used
+    const xmlChar *	ref	: Deprecated; not used
+    const xmlChar *	refNs	: Deprecated; not used
+    xmlSchemaAnnotPtr	annot
+    xmlSchemaTypePtr	subtypes
+    xmlSchemaAttributePtr	attributes	: Deprecated; not used
+    xmlNodePtr	node
+    int	minOccurs	: Deprecated; not used
+    int	maxOccurs	: Deprecated; not used
+    int	flags
+    xmlSchemaContentType	contentType
+    const xmlChar *	base	: Base type's local name
+    const xmlChar *	baseNs	: Base type's target namespace
+    xmlSchemaTypePtr	baseType	: The base type component
+    xmlSchemaFacetPtr	facets	: Local facets
+    struct _xmlSchemaType *	redef	: Deprecated; not used
+    int	recurse	: Obsolete
+    xmlSchemaAttributeLinkPtr *	attributeUses	: Deprecated; not used
+    xmlSchemaWildcardPtr	attributeWildcard
+    int	builtInType	: Type of built-in types.
+    xmlSchemaTypeLinkPtr	memberTypes	: member-types if a union type.
+    xmlSchemaFacetLinkPtr	facetSet	: All facets (incl. inherited)
+    const xmlChar *	refPrefix	: Deprecated; not used
+    xmlSchemaTypePtr	contentTypeDef	: Used for the simple content of complex types. Could we use @subtypes
+    xmlRegexpPtr	contModel	: Holds the automaton of the content model
+    const xmlChar *	targetNamespace
+    void *	attrUses
+} xmlSchemaType;
+
+

+
+
+
+

+Structure xmlSchemaTypeLink

+
struct _xmlSchemaTypeLink {
+    struct _xmlSchemaTypeLink *	next	: the next type link ...
+    xmlSchemaTypePtr	type	: the linked type
+} xmlSchemaTypeLink;
+
+

+
+
+
+

+Typedef xmlSchemaTypeLinkPtr

+
xmlSchemaTypeLink * xmlSchemaTypeLinkPtr;
+
+

+
+
+
+

+Typedef xmlSchemaTypePtr

+
xmlSchemaType * xmlSchemaTypePtr;
+
+

+
+
+ +
+
+

+Structure xmlSchemaVal

+
struct _xmlSchemaVal {
+The content of this structure is not made public by the API.
+} xmlSchemaVal;
+
+

+
+
+
+

+Typedef xmlSchemaValPtr

+
xmlSchemaVal * xmlSchemaValPtr;
+
+

+
+
+ +
+
+

+Structure xmlSchemaWildcard

+
struct _xmlSchemaWildcard {
+    xmlSchemaTypeType	type	: The kind of type
+    const xmlChar *	id	: Deprecated; not used
+    xmlSchemaAnnotPtr	annot
+    xmlNodePtr	node
+    int	minOccurs	: Deprecated; not used
+    int	maxOccurs	: Deprecated; not used
+    int	processContents
+    int	any	: Indicates if the ns constraint is of ##any
+    xmlSchemaWildcardNsPtr	nsSet	: The list of allowed namespaces
+    xmlSchemaWildcardNsPtr	negNsSet	: The negated namespace
+    int	flags
+} xmlSchemaWildcard;
+
+

+
+
+
+

+Structure xmlSchemaWildcardNs

+
struct _xmlSchemaWildcardNs {
+    struct _xmlSchemaWildcardNs *	next	: the next constraint link ...
+    const xmlChar *	value	: the value
+} xmlSchemaWildcardNs;
+
+

+
+
+
+

+Typedef xmlSchemaWildcardNsPtr

+
xmlSchemaWildcardNs * xmlSchemaWildcardNsPtr;
+
+

+
+
+
+

+Typedef xmlSchemaWildcardPtr

+
xmlSchemaWildcard * xmlSchemaWildcardPtr;
+
+

+
+
+
+

+xmlSchemaFreeType ()

+
void	xmlSchemaFreeType		(xmlSchemaTypePtr type)
+
+

Deallocate a Schema Type structure.

+
++ + + + +
type:a schema type structure
+
+
+
+

+xmlSchemaFreeWildcard ()

+
void	xmlSchemaFreeWildcard		(xmlSchemaWildcardPtr wildcard)
+
+

Deallocates a wildcard structure.

+
++ + + + +
wildcard:a wildcard structure
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-schematron.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-schematron.html new file mode 100644 index 0000000000000000000000000000000000000000..00ee0c79bd1a5bd7af05f96a82334c85454f1a90 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-schematron.html @@ -0,0 +1,382 @@ + + + +schematron: XML Schematron implementation + + + + + + + + + + + + + + +

schematron

+

schematron - XML Schematron implementation

+

interface to the XML Schematron validity checking.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlSchematron xmlSchematron;
+typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt;
+typedef xmlSchematronParserCtxt * xmlSchematronParserCtxtPtr;
+typedef xmlSchematron * xmlSchematronPtr;
+typedef struct _xmlSchematronValidCtxt xmlSchematronValidCtxt;
+typedef xmlSchematronValidCtxt * xmlSchematronValidCtxtPtr;
+typedef enum xmlSchematronValidOptions;
+void	xmlSchematronFree		(xmlSchematronPtr schema);
+void	xmlSchematronFreeParserCtxt	(xmlSchematronParserCtxtPtr ctxt);
+void	xmlSchematronFreeValidCtxt	(xmlSchematronValidCtxtPtr ctxt);
+xmlSchematronParserCtxtPtr	xmlSchematronNewDocParserCtxt	(xmlDocPtr doc);
+xmlSchematronParserCtxtPtr	xmlSchematronNewMemParserCtxt	(const char * buffer, 
int size); +xmlSchematronParserCtxtPtr xmlSchematronNewParserCtxt (const char * URL); +xmlSchematronValidCtxtPtr xmlSchematronNewValidCtxt (xmlSchematronPtr schema,
int options); +xmlSchematronPtr xmlSchematronParse (xmlSchematronParserCtxtPtr ctxt); +void xmlSchematronSetValidStructuredErrors (xmlSchematronValidCtxtPtr ctxt,
xmlStructuredErrorFunc serror,
void * ctx); +int xmlSchematronValidateDoc (xmlSchematronValidCtxtPtr ctxt,
xmlDocPtr instance); +typedef void xmlSchematronValidityErrorFunc (void * ctx,
const char * msg,
... ...); +typedef void xmlSchematronValidityWarningFunc (void * ctx,
const char * msg,
... ...); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlSchematron

+
struct _xmlSchematron {
+The content of this structure is not made public by the API.
+} xmlSchematron;
+
+

+
+
+
+

+Structure xmlSchematronParserCtxt

+
struct _xmlSchematronParserCtxt {
+The content of this structure is not made public by the API.
+} xmlSchematronParserCtxt;
+
+

+
+
+
+

+Typedef xmlSchematronParserCtxtPtr

+
xmlSchematronParserCtxt * xmlSchematronParserCtxtPtr;
+
+

+
+
+
+

+Typedef xmlSchematronPtr

+
xmlSchematron * xmlSchematronPtr;
+
+

+
+
+
+

+Structure xmlSchematronValidCtxt

+
struct _xmlSchematronValidCtxt {
+The content of this structure is not made public by the API.
+} xmlSchematronValidCtxt;
+
+

+
+
+
+

+Typedef xmlSchematronValidCtxtPtr

+
xmlSchematronValidCtxt * xmlSchematronValidCtxtPtr;
+
+

+
+
+
+

+Enum xmlSchematronValidOptions

+
enum xmlSchematronValidOptions {
+    XML_SCHEMATRON_OUT_QUIET = 1 /* quiet no report */
+    XML_SCHEMATRON_OUT_TEXT = 2 /* build a textual report */
+    XML_SCHEMATRON_OUT_XML = 4 /* output SVRL */
+    XML_SCHEMATRON_OUT_ERROR = 8 /* output via xmlStructuredErrorFunc */
+    XML_SCHEMATRON_OUT_FILE = 256 /* output to a file descriptor */
+    XML_SCHEMATRON_OUT_BUFFER = 512 /* output to a buffer */
+    XML_SCHEMATRON_OUT_IO = 1024 /*  output to I/O mechanism */
+};
+
+

+
+
+
+

+Function type xmlSchematronValidityErrorFunc

+
void	xmlSchematronValidityErrorFunc	(void * ctx, 
const char * msg,
... ...)
+
+

Signature of an error callback from a Schematron validation

+
++ + + + + + + + + + + + + + +
ctx:the validation context
msg:the message
...:extra arguments
+
+
+
+

+Function type xmlSchematronValidityWarningFunc

+
void	xmlSchematronValidityWarningFunc	(void * ctx, 
const char * msg,
... ...)
+
+

Signature of a warning callback from a Schematron validation

+
++ + + + + + + + + + + + + + +
ctx:the validation context
msg:the message
...:extra arguments
+
+
+
+

+xmlSchematronFree ()

+
void	xmlSchematronFree		(xmlSchematronPtr schema)
+
+

Deallocate a Schematron structure.

+
++ + + + +
schema:a schema structure
+
+
+
+

+xmlSchematronFreeParserCtxt ()

+
void	xmlSchematronFreeParserCtxt	(xmlSchematronParserCtxtPtr ctxt)
+
+

Free the resources associated to the schema parser context

+
++ + + + +
ctxt:the schema parser context
+
+
+
+

+xmlSchematronFreeValidCtxt ()

+
void	xmlSchematronFreeValidCtxt	(xmlSchematronValidCtxtPtr ctxt)
+
+

Free the resources associated to the schema validation context

+
++ + + + +
ctxt:the schema validation context
+
+
+
+

+xmlSchematronNewDocParserCtxt ()

+
xmlSchematronParserCtxtPtr	xmlSchematronNewDocParserCtxt	(xmlDocPtr doc)
+
+

Create an XML Schematrons parse context for that document. NB. The document may be modified during the parsing process.

+
++ + + + + + + + + + +
doc:a preparsed document tree
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlSchematronNewMemParserCtxt ()

+
xmlSchematronParserCtxtPtr	xmlSchematronNewMemParserCtxt	(const char * buffer, 
int size)
+
+

Create an XML Schematrons parse context for that memory buffer expected to contain an XML Schematrons file.

+
++ + + + + + + + + + + + + + +
buffer:a pointer to a char array containing the schemas
size:the size of the array
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlSchematronNewParserCtxt ()

+
xmlSchematronParserCtxtPtr	xmlSchematronNewParserCtxt	(const char * URL)
+
+

Create an XML Schematrons parse context for that file/resource expected to contain an XML Schematrons file.

+
++ + + + + + + + + + +
URL:the location of the schema
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlSchematronNewValidCtxt ()

+
xmlSchematronValidCtxtPtr	xmlSchematronNewValidCtxt	(xmlSchematronPtr schema, 
int options)
+
+

Create an XML Schematrons validation context based on the given schema.

+
++ + + + + + + + + + + + + + +
schema:a precompiled XML Schematrons
options:a set of xmlSchematronValidOptions +
Returns:the validation context or NULL in case of error
+
+
+
+

+xmlSchematronParse ()

+
xmlSchematronPtr	xmlSchematronParse	(xmlSchematronParserCtxtPtr ctxt)
+
+

parse a schema definition resource and build an internal XML Schema structure which can be used to validate instances.

+
++ + + + + + + + + + +
ctxt:a schema validation context
Returns:the internal XML Schematron structure built from the resource or NULL in case of error
+
+
+
+

+xmlSchematronSetValidStructuredErrors ()

+
void	xmlSchematronSetValidStructuredErrors	(xmlSchematronValidCtxtPtr ctxt, 
xmlStructuredErrorFunc serror,
void * ctx)
+
+

Set the structured error callback

+
++ + + + + + + + + + + + + + +
ctxt:a Schematron validation context
serror:the structured error function
ctx:the functions context
+
+
+
+

+xmlSchematronValidateDoc ()

+
int	xmlSchematronValidateDoc	(xmlSchematronValidCtxtPtr ctxt, 
xmlDocPtr instance)
+
+

Validate a tree instance against the schematron

+
++ + + + + + + + + + + + + + +
ctxt:the schema validation context
instance:the document instance tree
Returns:0 in case of success, -1 in case of internal error and an error count otherwise.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-threads.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-threads.html new file mode 100644 index 0000000000000000000000000000000000000000..6efceb7bfaf5fb8299e6226c0116a947d4ea8fa3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-threads.html @@ -0,0 +1,286 @@ + + + +threads: interfaces for thread handling + + + + + + + + + + + + + + +

threads

+

threads - interfaces for thread handling

+

set of generic threading related routines should work with pthreads, Windows native or TLS threads

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlMutex xmlMutex;
+typedef xmlMutex * xmlMutexPtr;
+typedef struct _xmlRMutex xmlRMutex;
+typedef xmlRMutex * xmlRMutexPtr;
+int	xmlCheckThreadLocalStorage	(void);
+void	xmlCleanupThreads		(void);
+void	xmlFreeMutex			(xmlMutexPtr tok);
+void	xmlFreeRMutex			(xmlRMutexPtr tok);
+int	xmlGetThreadId			(void);
+void	xmlInitThreads			(void);
+int	xmlIsMainThread			(void);
+void	xmlLockLibrary			(void);
+void	xmlMutexLock			(xmlMutexPtr tok);
+void	xmlMutexUnlock			(xmlMutexPtr tok);
+xmlMutexPtr	xmlNewMutex		(void);
+xmlRMutexPtr	xmlNewRMutex		(void);
+void	xmlRMutexLock			(xmlRMutexPtr tok);
+void	xmlRMutexUnlock			(xmlRMutexPtr tok);
+void	xmlUnlockLibrary		(void);
+
+
+

Description

+
+

Details

+
+
+

+Structure xmlMutex

+
struct _xmlMutex {
+The content of this structure is not made public by the API.
+} xmlMutex;
+
+

+
+
+
+

+Typedef xmlMutexPtr

+
xmlMutex * xmlMutexPtr;
+
+

+
+
+
+

+Structure xmlRMutex

+
struct _xmlRMutex {
+The content of this structure is not made public by the API.
+} xmlRMutex;
+
+

+
+
+
+

+Typedef xmlRMutexPtr

+
xmlRMutex * xmlRMutexPtr;
+
+

+
+
+
+

+xmlCheckThreadLocalStorage ()

+
int	xmlCheckThreadLocalStorage	(void)
+
+

Check whether thread-local storage could be allocated. In cross-platform code running in multithreaded environments, this function should be called once in each thread before calling other library functions to make sure that thread-local storage was allocated properly.

+
++ + + + +
Returns:0 on success or -1 if a memory allocation failed. A failed allocation signals a typically fatal and irrecoverable out-of-memory situation. Don't call any library functions in this case. This function never fails if the library is compiled with support for thread-local storage. This function never fails for the "main" thread which is the first thread calling xmlInitParser. Available since v2.12.0.
+
+
+
+

+xmlCleanupThreads ()

+
void	xmlCleanupThreads		(void)
+
+

DEPRECATED: This function is a no-op. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all.

+
+
+
+

+xmlFreeMutex ()

+
void	xmlFreeMutex			(xmlMutexPtr tok)
+
+

Free a mutex.

+
++ + + + +
tok:the simple mutex
+
+
+
+

+xmlFreeRMutex ()

+
void	xmlFreeRMutex			(xmlRMutexPtr tok)
+
+

xmlRFreeMutex() is used to reclaim resources associated with a reentrant mutex.

+
++ + + + +
tok:the reentrant mutex
+
+
+
+

+xmlGetThreadId ()

+
int	xmlGetThreadId			(void)
+
+

DEPRECATED: Internal function, do not use. xmlGetThreadId() find the current thread ID number Note that this is likely to be broken on some platforms using pthreads as the specification doesn't mandate pthread_t to be an integer type

+
++ + + + +
Returns:the current thread ID number
+
+
+
+

+xmlInitThreads ()

+
void	xmlInitThreads			(void)
+
+

DEPRECATED: Alias for xmlInitParser.

+
+
+
+

+xmlIsMainThread ()

+
int	xmlIsMainThread			(void)
+
+

DEPRECATED: Internal function, do not use. Check whether the current thread is the main thread.

+
++ + + + +
Returns:1 if the current thread is the main thread, 0 otherwise
+
+
+
+

+xmlLockLibrary ()

+
void	xmlLockLibrary			(void)
+
+

xmlLockLibrary() is used to take out a re-entrant lock on the libxml2 library.

+
+
+
+

+xmlMutexLock ()

+
void	xmlMutexLock			(xmlMutexPtr tok)
+
+

xmlMutexLock() is used to lock a libxml2 token.

+
++ + + + +
tok:the simple mutex
+
+
+
+

+xmlMutexUnlock ()

+
void	xmlMutexUnlock			(xmlMutexPtr tok)
+
+

xmlMutexUnlock() is used to unlock a libxml2 token.

+
++ + + + +
tok:the simple mutex
+
+
+
+

+xmlNewMutex ()

+
xmlMutexPtr	xmlNewMutex		(void)
+
+

xmlNewMutex() is used to allocate a libxml2 token struct for use in synchronizing access to data.

+
++ + + + +
Returns:a new simple mutex pointer or NULL in case of error
+
+
+
+

+xmlNewRMutex ()

+
xmlRMutexPtr	xmlNewRMutex		(void)
+
+

xmlRNewMutex() is used to allocate a reentrant mutex for use in synchronizing access to data. token_r is a re-entrant lock and thus useful for synchronizing access to data structures that may be manipulated in a recursive fashion.

+
++ + + + +
Returns:the new reentrant mutex pointer or NULL in case of error
+
+
+
+

+xmlRMutexLock ()

+
void	xmlRMutexLock			(xmlRMutexPtr tok)
+
+

xmlRMutexLock() is used to lock a libxml2 token_r.

+
++ + + + +
tok:the reentrant mutex
+
+
+
+

+xmlRMutexUnlock ()

+
void	xmlRMutexUnlock			(xmlRMutexPtr tok)
+
+

xmlRMutexUnlock() is used to unlock a libxml2 token_r.

+
++ + + + +
tok:the reentrant mutex
+
+
+
+

+xmlUnlockLibrary ()

+
void	xmlUnlockLibrary		(void)
+
+

xmlUnlockLibrary() is used to release a re-entrant lock on the libxml2 library.

+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-tree.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..814163a4b1af0ff116c8775f6fd872d1e763d58a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-tree.html @@ -0,0 +1,5556 @@ + + + +tree: interfaces for tree manipulation + + + + + + + + + + + + + + +

tree

+

tree - interfaces for tree manipulation

+

this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define BASE_BUFFER_SIZE;
+#define LIBXML2_NEW_BUFFER;
+#define XML_GET_CONTENT;
+#define XML_GET_LINE;
+#define XML_LOCAL_NAMESPACE;
+#define XML_XML_ID;
+#define XML_XML_NAMESPACE;
+#define xmlChildrenNode;
+#define xmlRootNode;
+typedef struct _xmlAttr xmlAttr;
+typedef xmlAttr * xmlAttrPtr;
+typedef struct _xmlAttribute xmlAttribute;
+typedef enum xmlAttributeDefault;
+typedef xmlAttribute * xmlAttributePtr;
+typedef enum xmlAttributeType;
+typedef struct _xmlBuf xmlBuf;
+typedef xmlBuf * xmlBufPtr;
+typedef struct _xmlBuffer xmlBuffer;
+typedef enum xmlBufferAllocationScheme;
+typedef xmlBuffer * xmlBufferPtr;
+typedef struct _xmlDOMWrapCtxt xmlDOMWrapCtxt;
+typedef xmlDOMWrapCtxt * xmlDOMWrapCtxtPtr;
+typedef struct _xmlDoc xmlDoc;
+typedef enum xmlDocProperties;
+typedef xmlDoc * xmlDocPtr;
+typedef struct _xmlDtd xmlDtd;
+typedef xmlDtd * xmlDtdPtr;
+typedef struct _xmlElement xmlElement;
+typedef struct _xmlElementContent xmlElementContent;
+typedef enum xmlElementContentOccur;
+typedef xmlElementContent * xmlElementContentPtr;
+typedef enum xmlElementContentType;
+typedef xmlElement * xmlElementPtr;
+typedef enum xmlElementType;
+typedef enum xmlElementTypeVal;
+typedef struct _xmlEntity xmlEntity;
+typedef xmlEntity * xmlEntityPtr;
+typedef struct _xmlEnumeration xmlEnumeration;
+typedef xmlEnumeration * xmlEnumerationPtr;
+typedef struct _xmlID xmlID;
+typedef xmlID * xmlIDPtr;
+typedef struct _xmlNode xmlNode;
+typedef xmlNode * xmlNodePtr;
+typedef struct _xmlNotation xmlNotation;
+typedef xmlNotation * xmlNotationPtr;
+typedef struct _xmlNs xmlNs;
+typedef xmlNs * xmlNsPtr;
+typedef xmlElementType xmlNsType;
+typedef struct _xmlOutputBuffer xmlOutputBuffer;
+typedef xmlOutputBuffer * xmlOutputBufferPtr;
+typedef struct _xmlParserCtxt xmlParserCtxt;
+typedef xmlParserCtxt * xmlParserCtxtPtr;
+typedef struct _xmlParserInput xmlParserInput;
+typedef struct _xmlParserInputBuffer xmlParserInputBuffer;
+typedef xmlParserInputBuffer * xmlParserInputBufferPtr;
+typedef xmlParserInput * xmlParserInputPtr;
+typedef struct _xmlRef xmlRef;
+typedef xmlRef * xmlRefPtr;
+typedef struct _xmlSAXHandler xmlSAXHandler;
+typedef xmlSAXHandler * xmlSAXHandlerPtr;
+typedef struct _xmlSAXLocator xmlSAXLocator;
+typedef xmlSAXLocator * xmlSAXLocatorPtr;
+xmlNodePtr	xmlAddChild		(xmlNodePtr parent, 
xmlNodePtr cur); +xmlNodePtr xmlAddChildList (xmlNodePtr parent,
xmlNodePtr cur); +xmlNodePtr xmlAddNextSibling (xmlNodePtr prev,
xmlNodePtr cur); +xmlNodePtr xmlAddPrevSibling (xmlNodePtr next,
xmlNodePtr cur); +xmlNodePtr xmlAddSibling (xmlNodePtr node,
xmlNodePtr cur); +void xmlAttrSerializeTxtContent (xmlBufferPtr buf,
xmlDocPtr doc,
xmlAttrPtr attr,
const xmlChar * string); +xmlChar * xmlBufContent (const xmlBuf * buf); +xmlChar * xmlBufEnd (xmlBufPtr buf); +int xmlBufGetNodeContent (xmlBufPtr buf,
const xmlNode * cur); +size_t xmlBufNodeDump (xmlBufPtr buf,
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format); +size_t xmlBufShrink (xmlBufPtr buf,
size_t len); +size_t xmlBufUse (const xmlBufPtr buf); +int xmlBufferAdd (xmlBufferPtr buf,
const xmlChar * str,
int len); +int xmlBufferAddHead (xmlBufferPtr buf,
const xmlChar * str,
int len); +int xmlBufferCCat (xmlBufferPtr buf,
const char * str); +int xmlBufferCat (xmlBufferPtr buf,
const xmlChar * str); +const xmlChar * xmlBufferContent (const xmlBuffer * buf); +xmlBufferPtr xmlBufferCreate (void); +xmlBufferPtr xmlBufferCreateSize (size_t size); +xmlBufferPtr xmlBufferCreateStatic (void * mem,
size_t size); +xmlChar * xmlBufferDetach (xmlBufferPtr buf); +int xmlBufferDump (FILE * file,
xmlBufferPtr buf); +void xmlBufferEmpty (xmlBufferPtr buf); +void xmlBufferFree (xmlBufferPtr buf); +int xmlBufferGrow (xmlBufferPtr buf,
unsigned int len); +int xmlBufferLength (const xmlBuffer * buf); +int xmlBufferResize (xmlBufferPtr buf,
unsigned int size); +void xmlBufferSetAllocationScheme (xmlBufferPtr buf,
xmlBufferAllocationScheme scheme); +int xmlBufferShrink (xmlBufferPtr buf,
unsigned int len); +void xmlBufferWriteCHAR (xmlBufferPtr buf,
const xmlChar * string); +void xmlBufferWriteChar (xmlBufferPtr buf,
const char * string); +void xmlBufferWriteQuotedString (xmlBufferPtr buf,
const xmlChar * string); +xmlChar * xmlBuildQName (const xmlChar * ncname,
const xmlChar * prefix,
xmlChar * memory,
int len); +unsigned long xmlChildElementCount (xmlNodePtr parent); +xmlDocPtr xmlCopyDoc (xmlDocPtr doc,
int recursive); +xmlDtdPtr xmlCopyDtd (xmlDtdPtr dtd); +xmlNsPtr xmlCopyNamespace (xmlNsPtr cur); +xmlNsPtr xmlCopyNamespaceList (xmlNsPtr cur); +xmlNodePtr xmlCopyNode (xmlNodePtr node,
int extended); +xmlNodePtr xmlCopyNodeList (xmlNodePtr node); +xmlAttrPtr xmlCopyProp (xmlNodePtr target,
xmlAttrPtr cur); +xmlAttrPtr xmlCopyPropList (xmlNodePtr target,
xmlAttrPtr cur); +xmlDtdPtr xmlCreateIntSubset (xmlDocPtr doc,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID); +typedef xmlNsPtr xmlDOMWrapAcquireNsFunction (xmlDOMWrapCtxtPtr ctxt,
xmlNodePtr node,
const xmlChar * nsName,
const xmlChar * nsPrefix); +int xmlDOMWrapAdoptNode (xmlDOMWrapCtxtPtr ctxt,
xmlDocPtr sourceDoc,
xmlNodePtr node,
xmlDocPtr destDoc,
xmlNodePtr destParent,
int options); +int xmlDOMWrapCloneNode (xmlDOMWrapCtxtPtr ctxt,
xmlDocPtr sourceDoc,
xmlNodePtr node,
xmlNodePtr * resNode,
xmlDocPtr destDoc,
xmlNodePtr destParent,
int deep,
int options); +void xmlDOMWrapFreeCtxt (xmlDOMWrapCtxtPtr ctxt); +xmlDOMWrapCtxtPtr xmlDOMWrapNewCtxt (void); +int xmlDOMWrapReconcileNamespaces (xmlDOMWrapCtxtPtr ctxt,
xmlNodePtr elem,
int options); +int xmlDOMWrapRemoveNode (xmlDOMWrapCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr node,
int options); +xmlDeregisterNodeFunc xmlDeregisterNodeDefault (xmlDeregisterNodeFunc func); +typedef void xmlDeregisterNodeFunc (xmlNodePtr node); +xmlNodePtr xmlDocCopyNode (xmlNodePtr node,
xmlDocPtr doc,
int extended); +xmlNodePtr xmlDocCopyNodeList (xmlDocPtr doc,
xmlNodePtr node); +int xmlDocDump (FILE * f,
xmlDocPtr cur); +void xmlDocDumpFormatMemory (xmlDocPtr cur,
xmlChar ** mem,
int * size,
int format); +void xmlDocDumpFormatMemoryEnc (xmlDocPtr out_doc,
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding,
int format); +void xmlDocDumpMemory (xmlDocPtr cur,
xmlChar ** mem,
int * size); +void xmlDocDumpMemoryEnc (xmlDocPtr out_doc,
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding); +int xmlDocFormatDump (FILE * f,
xmlDocPtr cur,
int format); +xmlNodePtr xmlDocGetRootElement (const xmlDoc * doc); +xmlNodePtr xmlDocSetRootElement (xmlDocPtr doc,
xmlNodePtr root); +void xmlElemDump (FILE * f,
xmlDocPtr doc,
xmlNodePtr cur); +xmlNodePtr xmlFirstElementChild (xmlNodePtr parent); +void xmlFreeDoc (xmlDocPtr cur); +void xmlFreeDtd (xmlDtdPtr cur); +void xmlFreeNode (xmlNodePtr cur); +void xmlFreeNodeList (xmlNodePtr cur); +void xmlFreeNs (xmlNsPtr cur); +void xmlFreeNsList (xmlNsPtr cur); +void xmlFreeProp (xmlAttrPtr cur); +void xmlFreePropList (xmlAttrPtr cur); +xmlBufferAllocationScheme xmlGetBufferAllocationScheme (void); +int xmlGetCompressMode (void); +int xmlGetDocCompressMode (const xmlDoc * doc); +xmlDtdPtr xmlGetIntSubset (const xmlDoc * doc); +xmlNodePtr xmlGetLastChild (const xmlNode * parent); +long xmlGetLineNo (const xmlNode * node); +xmlChar * xmlGetNoNsProp (const xmlNode * node,
const xmlChar * name); +xmlChar * xmlGetNodePath (const xmlNode * node); +xmlNsPtr * xmlGetNsList (const xmlDoc * doc,
const xmlNode * node); +int xmlGetNsListSafe (const xmlDoc * doc,
const xmlNode * node,
xmlNsPtr ** out); +xmlChar * xmlGetNsProp (const xmlNode * node,
const xmlChar * name,
const xmlChar * nameSpace); +xmlChar * xmlGetProp (const xmlNode * node,
const xmlChar * name); +xmlAttrPtr xmlHasNsProp (const xmlNode * node,
const xmlChar * name,
const xmlChar * nameSpace); +xmlAttrPtr xmlHasProp (const xmlNode * node,
const xmlChar * name); +int xmlIsBlankNode (const xmlNode * node); +int xmlIsXHTML (const xmlChar * systemID,
const xmlChar * publicID); +xmlNodePtr xmlLastElementChild (xmlNodePtr parent); +xmlNodePtr xmlNewCDataBlock (xmlDocPtr doc,
const xmlChar * content,
int len); +xmlNodePtr xmlNewCharRef (xmlDocPtr doc,
const xmlChar * name); +xmlNodePtr xmlNewChild (xmlNodePtr parent,
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content); +xmlNodePtr xmlNewComment (const xmlChar * content); +xmlDocPtr xmlNewDoc (const xmlChar * version); +xmlNodePtr xmlNewDocComment (xmlDocPtr doc,
const xmlChar * content); +xmlNodePtr xmlNewDocFragment (xmlDocPtr doc); +xmlNodePtr xmlNewDocNode (xmlDocPtr doc,
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content); +xmlNodePtr xmlNewDocNodeEatName (xmlDocPtr doc,
xmlNsPtr ns,
xmlChar * name,
const xmlChar * content); +xmlNodePtr xmlNewDocPI (xmlDocPtr doc,
const xmlChar * name,
const xmlChar * content); +xmlAttrPtr xmlNewDocProp (xmlDocPtr doc,
const xmlChar * name,
const xmlChar * value); +xmlNodePtr xmlNewDocRawNode (xmlDocPtr doc,
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content); +xmlNodePtr xmlNewDocText (const xmlDoc * doc,
const xmlChar * content); +xmlNodePtr xmlNewDocTextLen (xmlDocPtr doc,
const xmlChar * content,
int len); +xmlDtdPtr xmlNewDtd (xmlDocPtr doc,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID); +xmlNsPtr xmlNewGlobalNs (xmlDocPtr doc,
const xmlChar * href,
const xmlChar * prefix); +xmlNodePtr xmlNewNode (xmlNsPtr ns,
const xmlChar * name); +xmlNodePtr xmlNewNodeEatName (xmlNsPtr ns,
xmlChar * name); +xmlNsPtr xmlNewNs (xmlNodePtr node,
const xmlChar * href,
const xmlChar * prefix); +xmlAttrPtr xmlNewNsProp (xmlNodePtr node,
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value); +xmlAttrPtr xmlNewNsPropEatName (xmlNodePtr node,
xmlNsPtr ns,
xmlChar * name,
const xmlChar * value); +xmlNodePtr xmlNewPI (const xmlChar * name,
const xmlChar * content); +xmlAttrPtr xmlNewProp (xmlNodePtr node,
const xmlChar * name,
const xmlChar * value); +xmlNodePtr xmlNewReference (const xmlDoc * doc,
const xmlChar * name); +xmlNodePtr xmlNewText (const xmlChar * content); +xmlNodePtr xmlNewTextChild (xmlNodePtr parent,
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content); +xmlNodePtr xmlNewTextLen (const xmlChar * content,
int len); +xmlNodePtr xmlNextElementSibling (xmlNodePtr node); +int xmlNodeAddContent (xmlNodePtr cur,
const xmlChar * content); +int xmlNodeAddContentLen (xmlNodePtr cur,
const xmlChar * content,
int len); +int xmlNodeBufGetContent (xmlBufferPtr buffer,
const xmlNode * cur); +int xmlNodeDump (xmlBufferPtr buf,
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format); +void xmlNodeDumpOutput (xmlOutputBufferPtr buf,
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format,
const char * encoding); +int xmlNodeGetAttrValue (const xmlNode * node,
const xmlChar * name,
const xmlChar * nsUri,
xmlChar ** out); +xmlChar * xmlNodeGetBase (const xmlDoc * doc,
const xmlNode * cur); +int xmlNodeGetBaseSafe (const xmlDoc * doc,
const xmlNode * cur,
xmlChar ** baseOut); +xmlChar * xmlNodeGetContent (const xmlNode * cur); +xmlChar * xmlNodeGetLang (const xmlNode * cur); +int xmlNodeGetSpacePreserve (const xmlNode * cur); +int xmlNodeIsText (const xmlNode * node); +xmlChar * xmlNodeListGetRawString (const xmlDoc * doc,
const xmlNode * list,
int inLine); +xmlChar * xmlNodeListGetString (xmlDocPtr doc,
const xmlNode * list,
int inLine); +int xmlNodeSetBase (xmlNodePtr cur,
const xmlChar * uri); +int xmlNodeSetContent (xmlNodePtr cur,
const xmlChar * content); +int xmlNodeSetContentLen (xmlNodePtr cur,
const xmlChar * content,
int len); +int xmlNodeSetLang (xmlNodePtr cur,
const xmlChar * lang); +void xmlNodeSetName (xmlNodePtr cur,
const xmlChar * name); +int xmlNodeSetSpacePreserve (xmlNodePtr cur,
int val); +xmlNodePtr xmlPreviousElementSibling (xmlNodePtr node); +int xmlReconciliateNs (xmlDocPtr doc,
xmlNodePtr tree); +xmlRegisterNodeFunc xmlRegisterNodeDefault (xmlRegisterNodeFunc func); +typedef void xmlRegisterNodeFunc (xmlNodePtr node); +int xmlRemoveProp (xmlAttrPtr cur); +xmlNodePtr xmlReplaceNode (xmlNodePtr old,
xmlNodePtr cur); +int xmlSaveFile (const char * filename,
xmlDocPtr cur); +int xmlSaveFileEnc (const char * filename,
xmlDocPtr cur,
const char * encoding); +int xmlSaveFileTo (xmlOutputBufferPtr buf,
xmlDocPtr cur,
const char * encoding); +int xmlSaveFormatFile (const char * filename,
xmlDocPtr cur,
int format); +int xmlSaveFormatFileEnc (const char * filename,
xmlDocPtr cur,
const char * encoding,
int format); +int xmlSaveFormatFileTo (xmlOutputBufferPtr buf,
xmlDocPtr cur,
const char * encoding,
int format); +xmlNsPtr xmlSearchNs (xmlDocPtr doc,
xmlNodePtr node,
const xmlChar * nameSpace); +xmlNsPtr xmlSearchNsByHref (xmlDocPtr doc,
xmlNodePtr node,
const xmlChar * href); +void xmlSetBufferAllocationScheme (xmlBufferAllocationScheme scheme); +void xmlSetCompressMode (int mode); +void xmlSetDocCompressMode (xmlDocPtr doc,
int mode); +int xmlSetListDoc (xmlNodePtr list,
xmlDocPtr doc); +void xmlSetNs (xmlNodePtr node,
xmlNsPtr ns); +xmlAttrPtr xmlSetNsProp (xmlNodePtr node,
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value); +xmlAttrPtr xmlSetProp (xmlNodePtr node,
const xmlChar * name,
const xmlChar * value); +int xmlSetTreeDoc (xmlNodePtr tree,
xmlDocPtr doc); +xmlChar * xmlSplitQName2 (const xmlChar * name,
xmlChar ** prefix); +const xmlChar * xmlSplitQName3 (const xmlChar * name,
int * len); +xmlNodePtr xmlStringGetNodeList (const xmlDoc * doc,
const xmlChar * value); +xmlNodePtr xmlStringLenGetNodeList (const xmlDoc * doc,
const xmlChar * value,
int len); +int xmlTextConcat (xmlNodePtr node,
const xmlChar * content,
int len); +xmlNodePtr xmlTextMerge (xmlNodePtr first,
xmlNodePtr second); +xmlBufferAllocationScheme xmlThrDefBufferAllocScheme (xmlBufferAllocationScheme v); +int xmlThrDefDefaultBufferSize (int v); +xmlDeregisterNodeFunc xmlThrDefDeregisterNodeDefault (xmlDeregisterNodeFunc func); +xmlRegisterNodeFunc xmlThrDefRegisterNodeDefault (xmlRegisterNodeFunc func); +void xmlUnlinkNode (xmlNodePtr cur); +int xmlUnsetNsProp (xmlNodePtr node,
xmlNsPtr ns,
const xmlChar * name); +int xmlUnsetProp (xmlNodePtr node,
const xmlChar * name); +int xmlValidateNCName (const xmlChar * value,
int space); +int xmlValidateNMToken (const xmlChar * value,
int space); +int xmlValidateName (const xmlChar * value,
int space); +int xmlValidateQName (const xmlChar * value,
int space); +
+
+

Description

+
+

Details

+
+
+

+Macro BASE_BUFFER_SIZE

+
#define BASE_BUFFER_SIZE;
+
+

default buffer size 4000.

+
+
+
+

+Macro LIBXML2_NEW_BUFFER

+
#define LIBXML2_NEW_BUFFER;
+
+

Macro used to express that the API use the new buffers for xmlParserInputBuffer and xmlOutputBuffer. The change was introduced in 2.9.0.

+
+
+
+

+Macro XML_GET_CONTENT

+
#define XML_GET_CONTENT;
+
+

Macro to extract the content pointer of a node.

+
+
+
+

+Macro XML_GET_LINE

+
#define XML_GET_LINE;
+
+

Macro to extract the line number of an element node.

+
+
+
+

+Macro XML_LOCAL_NAMESPACE

+
#define XML_LOCAL_NAMESPACE;
+
+

A namespace declaration node.

+
+
+
+

+Macro XML_XML_ID

+
#define XML_XML_ID;
+
+

This is the name for the special xml:id attribute

+
+
+
+

+Macro XML_XML_NAMESPACE

+
#define XML_XML_NAMESPACE;
+
+

This is the namespace for the special xml: prefix predefined in the XML Namespace specification.

+
+
+
+

+Macro xmlChildrenNode

+
#define xmlChildrenNode;
+
+

Macro for compatibility naming layer with libxml1. Maps to "children."

+
+
+
+

+Macro xmlRootNode

+
#define xmlRootNode;
+
+

Macro for compatibility naming layer with libxml1. Maps to "children".

+
+
+
+

+Structure xmlAttr

+
struct _xmlAttr {
+    void *	_private	: application data
+    xmlElementType	type	: XML_ATTRIBUTE_NODE, must be second !
+    const xmlChar *	name	: the name of the property
+    struct _xmlNode *	children	: the value of the property
+    struct _xmlNode *	last	: NULL
+    struct _xmlNode *	parent	: child->parent link
+    struct _xmlAttr *	next	: next sibling link
+    struct _xmlAttr *	prev	: previous sibling link
+    struct _xmlDoc *	doc	: the containing document
+    xmlNs *	ns	: pointer to the associated namespace
+    xmlAttributeType	atype	: the attribute type if validating
+    void *	psvi	: for type/PSVI information
+    struct _xmlID *	id	: the ID struct
+} xmlAttr;
+
+

+
+
+
+

+Typedef xmlAttrPtr

+
xmlAttr * xmlAttrPtr;
+
+

+
+
+
+

+Structure xmlAttribute

+
struct _xmlAttribute {
+    void *	_private	: application data
+    xmlElementType	type	: XML_ATTRIBUTE_DECL, must be second !
+    const xmlChar *	name	: Attribute name
+    struct _xmlNode *	children	: NULL
+    struct _xmlNode *	last	: NULL
+    struct _xmlDtd *	parent	: -> DTD
+    struct _xmlNode *	next	: next sibling link
+    struct _xmlNode *	prev	: previous sibling link
+    struct _xmlDoc *	doc	: the containing document
+    struct _xmlAttribute *	nexth	: next in hash table
+    xmlAttributeType	atype	: The attribute type
+    xmlAttributeDefault	def	: the default
+    const xmlChar *	defaultValue	: or the default value
+    xmlEnumerationPtr	tree	: or the enumeration tree if any
+    const xmlChar *	prefix	: the namespace prefix if any
+    const xmlChar *	elem	: Element holding the attribute
+} xmlAttribute;
+
+

+
+
+
+

+Enum xmlAttributeDefault

+
enum xmlAttributeDefault {
+    XML_ATTRIBUTE_NONE = 1
+    XML_ATTRIBUTE_REQUIRED = 2
+    XML_ATTRIBUTE_IMPLIED = 3
+    XML_ATTRIBUTE_FIXED = 4
+};
+
+

+
+
+
+

+Typedef xmlAttributePtr

+
xmlAttribute * xmlAttributePtr;
+
+

+
+
+ +
+
+

+Structure xmlBuf

+
struct _xmlBuf {
+The content of this structure is not made public by the API.
+} xmlBuf;
+
+

+
+
+
+

+Typedef xmlBufPtr

+
xmlBuf * xmlBufPtr;
+
+

A pointer to a buffer structure, the actual structure internals are not public

+
+
+
+

+Structure xmlBuffer

+
struct _xmlBuffer {
+    xmlChar *	content	: The buffer content UTF8
+    unsigned int	use	: The buffer size used
+    unsigned int	size	: The buffer size
+    xmlBufferAllocationScheme	alloc	: The realloc method
+    xmlChar *	contentIO	: in IO mode we may have a different base
+} xmlBuffer;
+
+

+
+
+
+

+Enum xmlBufferAllocationScheme

+
enum xmlBufferAllocationScheme {
+    XML_BUFFER_ALLOC_DOUBLEIT = 1 /* double each time one need to grow */
+    XML_BUFFER_ALLOC_EXACT = 2 /* grow only to the minimal size */
+    XML_BUFFER_ALLOC_IMMUTABLE = 3 /* immutable buffer, deprecated */
+    XML_BUFFER_ALLOC_IO = 4 /* special allocation scheme used for I/O */
+    XML_BUFFER_ALLOC_HYBRID = 5 /* exact up to a threshold, and doubleit thereafter */
+    XML_BUFFER_ALLOC_BOUNDED = 6 /*  limit the upper size of the buffer */
+};
+
+

+
+
+
+

+Typedef xmlBufferPtr

+
xmlBuffer * xmlBufferPtr;
+
+

+
+
+
+

+Structure xmlDOMWrapCtxt

+
struct _xmlDOMWrapCtxt {
+    void *	_private	: * The type of this context, just in case we need specialized * context
+    int	type	: * Internal namespace map used for various operations. *
+    void *	namespaceMap	: * Use this one to acquire an xmlNsPtr intended for node->ns. * (Note t
+    xmlDOMWrapAcquireNsFunction	getNsForNodeFunc
+} xmlDOMWrapCtxt;
+
+

+
+
+
+

+Typedef xmlDOMWrapCtxtPtr

+
xmlDOMWrapCtxt * xmlDOMWrapCtxtPtr;
+
+

+
+
+
+

+Structure xmlDoc

+
struct _xmlDoc {
+    void *	_private	: application data
+    xmlElementType	type	: XML_DOCUMENT_NODE, must be second !
+    char *	name	: name/filename/URI of the document
+    struct _xmlNode *	children	: the document tree
+    struct _xmlNode *	last	: last child link
+    struct _xmlNode *	parent	: child->parent link
+    struct _xmlNode *	next	: next sibling link
+    struct _xmlNode *	prev	: previous sibling link
+    struct _xmlDoc *	doc	: autoreference to itself End of common part
+    int	compression	: level of zlib compression
+    int	standalone	: standalone document (no external refs) 1 if standalone="yes" 0 if sta
+    struct _xmlDtd *	intSubset	: the document internal subset
+    struct _xmlDtd *	extSubset	: the document external subset
+    struct _xmlNs *	oldNs	: Global namespace, the old way
+    const xmlChar *	version	: the XML version string
+    const xmlChar *	encoding	: actual encoding, if any
+    void *	ids	: Hash table for ID attributes if any
+    void *	refs	: Hash table for IDREFs attributes if any
+    const xmlChar *	URL	: The URI for that document
+    int	charset	: unused
+    struct _xmlDict *	dict	: dict used to allocate names or NULL
+    void *	psvi	: for type/PSVI information
+    int	parseFlags	: set of xmlParserOption used to parse the document
+    int	properties	: set of xmlDocProperties for this document set at the end of parsing
+} xmlDoc;
+
+

+
+
+
+

+Enum xmlDocProperties

+
enum xmlDocProperties {
+    XML_DOC_WELLFORMED = 1 /* document is XML well formed */
+    XML_DOC_NSVALID = 2 /* document is Namespace valid */
+    XML_DOC_OLD10 = 4 /* parsed with old XML-1.0 parser */
+    XML_DOC_DTDVALID = 8 /* DTD validation was successful */
+    XML_DOC_XINCLUDE = 16 /* XInclude substitution was done */
+    XML_DOC_USERBUILT = 32 /* Document was built using the API and not by parsing an instance */
+    XML_DOC_INTERNAL = 64 /* built for internal processing */
+    XML_DOC_HTML = 128 /*  parsed or built HTML document */
+};
+
+

+
+
+
+

+Typedef xmlDocPtr

+
xmlDoc * xmlDocPtr;
+
+

+
+
+
+

+Structure xmlDtd

+
struct _xmlDtd {
+    void *	_private	: application data
+    xmlElementType	type	: XML_DTD_NODE, must be second !
+    const xmlChar *	name	: Name of the DTD
+    struct _xmlNode *	children	: the value of the property link
+    struct _xmlNode *	last	: last child link
+    struct _xmlDoc *	parent	: child->parent link
+    struct _xmlNode *	next	: next sibling link
+    struct _xmlNode *	prev	: previous sibling link
+    struct _xmlDoc *	doc	: the containing document End of common part
+    void *	notations	: Hash table for notations if any
+    void *	elements	: Hash table for elements if any
+    void *	attributes	: Hash table for attributes if any
+    void *	entities	: Hash table for entities if any
+    const xmlChar *	ExternalID	: External identifier for PUBLIC DTD
+    const xmlChar *	SystemID	: URI for a SYSTEM or PUBLIC DTD
+    void *	pentities	: Hash table for param entities if any
+} xmlDtd;
+
+

+
+
+
+

+Typedef xmlDtdPtr

+
xmlDtd * xmlDtdPtr;
+
+

+
+
+
+

+Structure xmlElement

+
struct _xmlElement {
+    void *	_private	: application data
+    xmlElementType	type	: XML_ELEMENT_DECL, must be second !
+    const xmlChar *	name	: Element name
+    struct _xmlNode *	children	: NULL
+    struct _xmlNode *	last	: NULL
+    struct _xmlDtd *	parent	: -> DTD
+    struct _xmlNode *	next	: next sibling link
+    struct _xmlNode *	prev	: previous sibling link
+    struct _xmlDoc *	doc	: the containing document
+    xmlElementTypeVal	etype	: The type
+    xmlElementContentPtr	content	: the allowed element content
+    xmlAttributePtr	attributes	: List of the declared attributes
+    const xmlChar *	prefix	: the namespace prefix if any
+    xmlRegexpPtr	contModel	: the validating regexp
+    void *	contModel
+} xmlElement;
+
+

+
+
+
+

+Structure xmlElementContent

+
struct _xmlElementContent {
+    xmlElementContentType	type	: PCDATA, ELEMENT, SEQ or OR
+    xmlElementContentOccur	ocur	: ONCE, OPT, MULT or PLUS
+    const xmlChar *	name	: Element name
+    struct _xmlElementContent *	c1	: first child
+    struct _xmlElementContent *	c2	: second child
+    struct _xmlElementContent *	parent	: parent
+    const xmlChar *	prefix	: Namespace prefix
+} xmlElementContent;
+
+

+
+
+ +
+
+

+Typedef xmlElementContentPtr

+
xmlElementContent * xmlElementContentPtr;
+
+

+
+
+ +
+
+

+Typedef xmlElementPtr

+
xmlElement * xmlElementPtr;
+
+

+
+
+
+

+Enum xmlElementType

+
enum xmlElementType {
+    XML_ELEMENT_NODE = 1
+    XML_ATTRIBUTE_NODE = 2
+    XML_TEXT_NODE = 3
+    XML_CDATA_SECTION_NODE = 4
+    XML_ENTITY_REF_NODE = 5
+    XML_ENTITY_NODE = 6 /* unused */
+    XML_PI_NODE = 7
+    XML_COMMENT_NODE = 8
+    XML_DOCUMENT_NODE = 9
+    XML_DOCUMENT_TYPE_NODE = 10 /* unused */
+    XML_DOCUMENT_FRAG_NODE = 11
+    XML_NOTATION_NODE = 12 /* unused */
+    XML_HTML_DOCUMENT_NODE = 13
+    XML_DTD_NODE = 14
+    XML_ELEMENT_DECL = 15
+    XML_ATTRIBUTE_DECL = 16
+    XML_ENTITY_DECL = 17
+    XML_NAMESPACE_DECL = 18
+    XML_XINCLUDE_START = 19
+    XML_XINCLUDE_END = 20 /*  XML_DOCB_DOCUMENT_NODE= 21 removed */
+};
+
+

+
+
+ +
+
+

+Structure xmlEntity

+
struct _xmlEntity {
+    void *	_private	: application data
+    xmlElementType	type	: XML_ENTITY_DECL, must be second !
+    const xmlChar *	name	: Entity name
+    struct _xmlNode *	children	: First child link
+    struct _xmlNode *	last	: Last child link
+    struct _xmlDtd *	parent	: -> DTD
+    struct _xmlNode *	next	: next sibling link
+    struct _xmlNode *	prev	: previous sibling link
+    struct _xmlDoc *	doc	: the containing document
+    xmlChar *	orig	: content without ref substitution
+    xmlChar *	content	: content or ndata if unparsed
+    int	length	: the content length
+    xmlEntityType	etype	: The entity type
+    const xmlChar *	ExternalID	: External identifier for PUBLIC
+    const xmlChar *	SystemID	: URI for a SYSTEM or PUBLIC Entity
+    struct _xmlEntity *	nexte	: unused
+    const xmlChar *	URI	: the full URI as computed
+    int	owner	: unused
+    int	flags	: various flags
+    unsigned long	expandedSize	: expanded size
+} xmlEntity;
+
+

+
+
+
+

+Typedef xmlEntityPtr

+
xmlEntity * xmlEntityPtr;
+
+

+
+
+
+

+Structure xmlEnumeration

+
struct _xmlEnumeration {
+    struct _xmlEnumeration *	next	: next one
+    const xmlChar *	name	: Enumeration name
+} xmlEnumeration;
+
+

+
+
+
+

+Typedef xmlEnumerationPtr

+
xmlEnumeration * xmlEnumerationPtr;
+
+

+
+
+
+

+Structure xmlID

+
struct _xmlID {
+    struct _xmlID *	next	: next ID
+    const xmlChar *	value	: The ID name
+    xmlAttrPtr	attr	: The attribute holding it
+    const xmlChar *	name	: The attribute if attr is not available
+    int	lineno	: The line number if attr is not available
+    struct _xmlDoc *	doc	: The document holding the ID
+} xmlID;
+
+

+
+
+
+

+Typedef xmlIDPtr

+
xmlID * xmlIDPtr;
+
+

+
+
+
+

+Structure xmlNode

+
struct _xmlNode {
+    void *	_private	: application data
+    xmlElementType	type	: type number, must be second !
+    const xmlChar *	name	: the name of the node, or the entity
+    struct _xmlNode *	children	: parent->childs link
+    struct _xmlNode *	last	: last child link
+    struct _xmlNode *	parent	: child->parent link
+    struct _xmlNode *	next	: next sibling link
+    struct _xmlNode *	prev	: previous sibling link
+    struct _xmlDoc *	doc	: the containing document End of common part
+    xmlNs *	ns	: pointer to the associated namespace
+    xmlChar *	content	: the content
+    struct _xmlAttr *	properties	: properties list
+    xmlNs *	nsDef	: namespace definitions on this node
+    void *	psvi	: for type/PSVI information
+    unsigned short	line	: line number
+    unsigned short	extra	: extra data for XPath/XSLT
+} xmlNode;
+
+

+
+
+
+

+Typedef xmlNodePtr

+
xmlNode * xmlNodePtr;
+
+

+
+
+
+

+Structure xmlNotation

+
struct _xmlNotation {
+    const xmlChar *	name	: Notation name
+    const xmlChar *	PublicID	: Public identifier, if any
+    const xmlChar *	SystemID	: System identifier, if any
+} xmlNotation;
+
+

+
+
+
+

+Typedef xmlNotationPtr

+
xmlNotation * xmlNotationPtr;
+
+

+
+
+
+

+Structure xmlNs

+
struct _xmlNs {
+    struct _xmlNs *	next	: next Ns link for this node
+    xmlNsType	type	: global or local
+    const xmlChar *	href	: URL for the namespace
+    const xmlChar *	prefix	: prefix for the namespace
+    void *	_private	: application data
+    struct _xmlDoc *	context	: normally an xmlDoc
+} xmlNs;
+
+

+
+
+
+

+Typedef xmlNsPtr

+
xmlNs * xmlNsPtr;
+
+

+
+
+
+

+Typedef xmlNsType

+
xmlElementType xmlNsType;
+
+

+
+
+
+

+Structure xmlOutputBuffer

+
struct _xmlOutputBuffer {
+    void *	context
+    xmlOutputWriteCallback	writecallback
+    xmlOutputCloseCallback	closecallback
+    xmlCharEncodingHandlerPtr	encoder	: I18N conversions to UTF-8
+    xmlBufPtr	buffer	: Local buffer encoded in UTF-8 or ISOLatin
+    xmlBufPtr	conv	: if encoder != NULL buffer for output
+    int	written	: total number of byte written
+    int	error
+} xmlOutputBuffer;
+
+

+
+
+
+

+Typedef xmlOutputBufferPtr

+
xmlOutputBuffer * xmlOutputBufferPtr;
+
+

+
+
+
+

+Structure xmlParserCtxt

+
struct _xmlParserCtxt {
+    struct _xmlSAXHandler *	sax	: The SAX handler
+    void *	userData	: For SAX interface only, used by DOM build
+    xmlDocPtr	myDoc	: the document being built
+    int	wellFormed	: is the document well formed
+    int	replaceEntities	: shall we replace entities ?
+    const xmlChar *	version	: the XML version string
+    const xmlChar *	encoding	: the declared encoding, if any
+    int	standalone	: standalone document
+    int	html	: an HTML(1) document * 3 is HTML after <head> * 10 is HTML after <body
+    xmlParserInputPtr	input	: Current input stream
+    int	inputNr	: Number of current input streams
+    int	inputMax	: Max number of input streams
+    xmlParserInputPtr *	inputTab	: stack of inputs Node analysis stack only used for DOM building
+    xmlNodePtr	node	: Current parsed Node
+    int	nodeNr	: Depth of the parsing stack
+    int	nodeMax	: Max depth of the parsing stack
+    xmlNodePtr *	nodeTab	: array of nodes
+    int	record_info	: Whether node info should be kept
+    xmlParserNodeInfoSeq	node_seq	: info about each node parsed
+    int	errNo	: error code
+    int	hasExternalSubset	: reference and external subset
+    int	hasPErefs	: the internal subset has PE refs
+    int	external	: unused
+    int	valid	: is the document valid
+    int	validate	: shall we try to validate ?
+    xmlValidCtxt	vctxt	: The validity context
+    xmlParserInputState	instate	: push parser state
+    int	token	: unused
+    char *	directory	: unused Node name stack
+    const xmlChar *	name	: Current parsed Node
+    int	nameNr	: Depth of the parsing stack
+    int	nameMax	: Max depth of the parsing stack
+    const xmlChar * *	nameTab	: array of nodes
+    long	nbChars	: unused
+    long	checkIndex	: used by progressive parsing lookup
+    int	keepBlanks	: ugly but ...
+    int	disableSAX	: SAX callbacks are disabled
+    int	inSubset	: Parsing is in int 1/ext 2 subset
+    const xmlChar *	intSubName	: name of subset
+    xmlChar *	extSubURI	: URI of external subset
+    xmlChar *	extSubSystem	: SYSTEM ID of external subset xml:space values
+    int *	space	: Should the parser preserve spaces
+    int	spaceNr	: Depth of the parsing stack
+    int	spaceMax	: Max depth of the parsing stack
+    int *	spaceTab	: array of space infos
+    int	depth	: to prevent entity substitution loops
+    xmlParserInputPtr	entity	: unused
+    int	charset	: unused
+    int	nodelen	: Those two fields are there to
+    int	nodemem	: Speed up large node parsing
+    int	pedantic	: signal pedantic warnings
+    void *	_private	: For user data, libxml won't touch it
+    int	loadsubset	: should the external subset be loaded
+    int	linenumbers	: set line number in element content
+    void *	catalogs	: document's own catalog
+    int	recovery	: run in recovery mode
+    int	progressive	: unused
+    xmlDictPtr	dict	: dictionary for the parser
+    const xmlChar * *	atts	: array for the attributes callbacks
+    int	maxatts	: the size of the array
+    int	docdict	: * pre-interned strings *
+    const xmlChar *	str_xml
+    const xmlChar *	str_xmlns
+    const xmlChar *	str_xml_ns	: * Everything below is used only by the new SAX mode *
+    int	sax2	: operating in the new SAX mode
+    int	nsNr	: the number of inherited namespaces
+    int	nsMax	: the size of the arrays
+    const xmlChar * *	nsTab	: the array of prefix/namespace name
+    unsigned *	attallocs	: which attribute were allocated
+    xmlStartTag *	pushTab	: array of data for push
+    xmlHashTablePtr	attsDefault	: defaulted attributes if any
+    xmlHashTablePtr	attsSpecial	: non-CDATA attributes if any
+    int	nsWellFormed	: is the document XML Namespace okay
+    int	options	: * Those fields are needed only for streaming parsing so far *
+    int	dictNames	: Use dictionary names for the tree
+    int	freeElemsNr	: number of freed element nodes
+    xmlNodePtr	freeElems	: List of freed element nodes
+    int	freeAttrsNr	: number of freed attributes nodes
+    xmlAttrPtr	freeAttrs	: * the complete error information for the last error. *
+    xmlError	lastError
+    xmlParserMode	parseMode	: the parser mode
+    unsigned long	nbentities	: unused
+    unsigned long	sizeentities	: size of external entities for use by HTML non-recursive parser
+    xmlParserNodeInfo *	nodeInfo	: Current NodeInfo
+    int	nodeInfoNr	: Depth of the parsing stack
+    int	nodeInfoMax	: Max depth of the parsing stack
+    xmlParserNodeInfo *	nodeInfoTab	: array of nodeInfos
+    int	input_id	: we need to label inputs
+    unsigned long	sizeentcopy	: volume of entity copy
+    int	endCheckState	: quote state for push parser
+    unsigned short	nbErrors	: number of errors
+    unsigned short	nbWarnings	: number of warnings
+    unsigned	maxAmpl	: maximum amplification factor
+    xmlParserNsData *	nsdb	: namespace database
+    unsigned	attrHashMax	: allocated size
+    xmlAttrHashBucket *	attrHash	: atttribute hash table
+    xmlStructuredErrorFunc	errorHandler
+    void *	errorCtxt
+} xmlParserCtxt;
+
+

+
+
+
+

+Typedef xmlParserCtxtPtr

+
xmlParserCtxt * xmlParserCtxtPtr;
+
+

+
+
+
+

+Structure xmlParserInput

+
struct _xmlParserInput {
+    xmlParserInputBufferPtr	buf	: UTF-8 encoded buffer
+    const char *	filename	: The file analyzed, if any
+    const char *	directory	: unused
+    const xmlChar *	base	: Base of the array to parse
+    const xmlChar *	cur	: Current char being parsed
+    const xmlChar *	end	: end of the array to parse
+    int	length	: unused
+    int	line	: Current line
+    int	col	: Current column
+    unsigned long	consumed	: How many xmlChars already consumed
+    xmlParserInputDeallocate	free	: function to deallocate the base
+    const xmlChar *	encoding	: unused
+    const xmlChar *	version	: the version string for entity
+    int	flags	: Flags
+    int	id	: an unique identifier for the entity
+    unsigned long	parentConsumed	: unused
+    xmlEntityPtr	entity	: entity, if any
+} xmlParserInput;
+
+

+
+
+
+

+Structure xmlParserInputBuffer

+
struct _xmlParserInputBuffer {
+    void *	context
+    xmlInputReadCallback	readcallback
+    xmlInputCloseCallback	closecallback
+    xmlCharEncodingHandlerPtr	encoder	: I18N conversions to UTF-8
+    xmlBufPtr	buffer	: Local buffer encoded in UTF-8
+    xmlBufPtr	raw	: if encoder != NULL buffer for raw input
+    int	compressed	: -1=unknown, 0=not compressed, 1=compressed
+    int	error
+    unsigned long	rawconsumed	: amount consumed from raw
+} xmlParserInputBuffer;
+
+

+
+
+
+

+Typedef xmlParserInputBufferPtr

+
xmlParserInputBuffer * xmlParserInputBufferPtr;
+
+

+
+
+
+

+Typedef xmlParserInputPtr

+
xmlParserInput * xmlParserInputPtr;
+
+

+
+
+
+

+Structure xmlRef

+
struct _xmlRef {
+    struct _xmlRef *	next	: next Ref
+    const xmlChar *	value	: The Ref name
+    xmlAttrPtr	attr	: The attribute holding it
+    const xmlChar *	name	: The attribute if attr is not available
+    int	lineno	: The line number if attr is not available
+} xmlRef;
+
+

+
+
+
+

+Typedef xmlRefPtr

+
xmlRef * xmlRefPtr;
+
+

+
+
+
+

+Structure xmlSAXHandler

+
struct _xmlSAXHandler {
+    internalSubsetSAXFunc	internalSubset
+    isStandaloneSAXFunc	isStandalone
+    hasInternalSubsetSAXFunc	hasInternalSubset
+    hasExternalSubsetSAXFunc	hasExternalSubset
+    resolveEntitySAXFunc	resolveEntity
+    getEntitySAXFunc	getEntity
+    entityDeclSAXFunc	entityDecl
+    notationDeclSAXFunc	notationDecl
+    attributeDeclSAXFunc	attributeDecl
+    elementDeclSAXFunc	elementDecl
+    unparsedEntityDeclSAXFunc	unparsedEntityDecl
+    setDocumentLocatorSAXFunc	setDocumentLocator
+    startDocumentSAXFunc	startDocument
+    endDocumentSAXFunc	endDocument	: * `startElement` and `endElement` are only used by the legacy SAX1 * i
+    startElementSAXFunc	startElement
+    endElementSAXFunc	endElement
+    referenceSAXFunc	reference
+    charactersSAXFunc	characters
+    ignorableWhitespaceSAXFunc	ignorableWhitespace
+    processingInstructionSAXFunc	processingInstruction
+    commentSAXFunc	comment
+    warningSAXFunc	warning
+    errorSAXFunc	error
+    fatalErrorSAXFunc	fatalError	: unused error() get all the errors
+    getParameterEntitySAXFunc	getParameterEntity
+    cdataBlockSAXFunc	cdataBlock
+    externalSubsetSAXFunc	externalSubset	: * `initialized` should always be set to XML_SAX2_MAGIC to enable the *
+    unsigned int	initialized	: * The following members are only used by the SAX2 interface. *
+    void *	_private
+    startElementNsSAX2Func	startElementNs
+    endElementNsSAX2Func	endElementNs
+    xmlStructuredErrorFunc	serror
+} xmlSAXHandler;
+
+

+
+
+
+

+Typedef xmlSAXHandlerPtr

+
xmlSAXHandler * xmlSAXHandlerPtr;
+
+

+
+
+
+

+Structure xmlSAXLocator

+
struct _xmlSAXLocator {
+    const xmlChar *(*getPublicId)	getPublicId
+    const xmlChar *(*getSystemId)	getSystemId
+    int(*getLineNumber)	getLineNumber
+    int(*getColumnNumber)	getColumnNumber
+} xmlSAXLocator;
+
+

+
+
+
+

+Typedef xmlSAXLocatorPtr

+
xmlSAXLocator * xmlSAXLocatorPtr;
+
+

+
+
+
+

+Function type xmlDOMWrapAcquireNsFunction

+
xmlNsPtr	xmlDOMWrapAcquireNsFunction	(xmlDOMWrapCtxtPtr ctxt, 
xmlNodePtr node,
const xmlChar * nsName,
const xmlChar * nsPrefix)
+
+

A function called to acquire namespaces (xmlNs) from the wrapper.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:a DOM wrapper context
node:the context node (element or attribute)
nsName:the requested namespace name
nsPrefix:the requested namespace prefix
Returns:an xmlNsPtr or NULL in case of an error.
+
+
+
+

+Function type xmlDeregisterNodeFunc

+
void	xmlDeregisterNodeFunc		(xmlNodePtr node)
+
+

Signature for the deregistration callback of a discarded node

+
++ + + + +
node:the current node
+
+
+
+

+Function type xmlRegisterNodeFunc

+
void	xmlRegisterNodeFunc		(xmlNodePtr node)
+
+

Signature for the registration callback of a created node

+
++ + + + +
node:the current node
+
+
+
+

+xmlAddChild ()

+
xmlNodePtr	xmlAddChild		(xmlNodePtr parent, 
xmlNodePtr cur)
+
+

Unlink @cur and append it to the children of @parent. If @cur is a text node, it may be merged with an adjacent text node and freed. In this case the text node containing the merged content is returned. If @cur is an attribute node, it is appended to the attributes of @parent. If the attribute list contains an attribute with a name matching @elem, the old attribute is destroyed. General notes: Move operations like xmlAddChild can cause element or attribute nodes to reference namespaces that aren't declared in one of their ancestors. This can lead to use-after-free errors if the elements containing the declarations are freed later, especially when moving nodes from one document to another. You should consider calling xmlReconciliateNs after a move operation to normalize namespaces. Another option is to call xmlDOMWrapAdoptNode with the target parent before moving a node. For the most part, move operations don't check whether the resulting tree structure is valid. Users must make sure that parent nodes only receive children of valid types. Inserted child nodes must never be an ancestor of the parent node to avoid cycles in the tree structure. In general, only document, document fragments, elements and attributes should be used as parent nodes. When moving a node between documents and a memory allocation fails, the node's content will be corrupted and it will be unlinked. In this case, the node must be freed manually. Moving DTDs between documents isn't supported.

+
++ + + + + + + + + + + + + + +
parent:the parent node
cur:the child node
Returns:@elem or a sibling if @elem was merged. Returns NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlAddChildList ()

+
xmlNodePtr	xmlAddChildList		(xmlNodePtr parent, 
xmlNodePtr cur)
+
+

Append a node list to another node. See xmlAddChild.

+
++ + + + + + + + + + + + + + +
parent:the parent node
cur:the first node in the list
Returns:the last child or NULL in case of error.
+
+
+
+

+xmlAddNextSibling ()

+
xmlNodePtr	xmlAddNextSibling	(xmlNodePtr prev, 
xmlNodePtr cur)
+
+

Unlinks @cur and inserts it as next sibling after @prev. Unlike xmlAddChild this function does not merge text nodes. If @cur is an attribute node, it is inserted after attribute @prev. If the attribute list contains an attribute with a name matching @cur, the old attribute is destroyed. See the notes in xmlAddChild.

+
++ + + + + + + + + + + + + + +
prev:the target node
cur:the new node
Returns:@cur or a sibling if @cur was merged. Returns NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlAddPrevSibling ()

+
xmlNodePtr	xmlAddPrevSibling	(xmlNodePtr next, 
xmlNodePtr cur)
+
+

Unlinks @cur and inserts it as previous sibling before @next. Unlike xmlAddChild this function does not merge text nodes. If @cur is an attribute node, it is inserted before attribute @next. If the attribute list contains an attribute with a name matching @cur, the old attribute is destroyed. See the notes in xmlAddChild.

+
++ + + + + + + + + + + + + + +
next:the target node
cur:the new node
Returns:@cur or a sibling if @cur was merged. Returns NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlAddSibling ()

+
xmlNodePtr	xmlAddSibling		(xmlNodePtr node, 
xmlNodePtr cur)
+
+

Unlinks @cur and inserts it as last sibling of @node. If @cur is a text node, it may be merged with an adjacent text node and freed. In this case the text node containing the merged content is returned. If @cur is an attribute node, it is appended to the attribute list containing @node. If the attribute list contains an attribute with a name matching @cur, the old attribute is destroyed. See the notes in xmlAddChild.

+
++ + + + + + + + + + + + + + +
node:the target node
cur:the new node
Returns:@cur or a sibling if @cur was merged. Returns NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlAttrSerializeTxtContent ()

+
void	xmlAttrSerializeTxtContent	(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlAttrPtr attr,
const xmlChar * string)
+
+

Serialize text attribute values to an xml simple buffer

+
++ + + + + + + + + + + + + + + + + + +
buf:the XML buffer output
doc:the document
attr:the attribute node
string:the text content
+
+
+
+

+xmlBufContent ()

+
xmlChar *	xmlBufContent		(const xmlBuf * buf)
+
+

Function to extract the content of a buffer

+
++ + + + + + + + + + +
buf:the buffer
Returns:the internal content
+
+
+
+

+xmlBufEnd ()

+
xmlChar *	xmlBufEnd		(xmlBufPtr buf)
+
+

Function to extract the end of the content of a buffer

+
++ + + + + + + + + + +
buf:the buffer
Returns:the end of the internal content or NULL in case of error
+
+
+
+

+xmlBufGetNodeContent ()

+
int	xmlBufGetNodeContent		(xmlBufPtr buf, 
const xmlNode * cur)
+
+

Read the value of a node @cur, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted. Fills up the buffer @buf with this value

+
++ + + + + + + + + + + + + + +
buf:a buffer xmlBufPtr +
cur:the node being read
Returns:0 in case of success and -1 in case of error.
+
+
+
+

+xmlBufNodeDump ()

+
size_t	xmlBufNodeDump			(xmlBufPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format)
+
+

Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
Returns:the number of bytes written to the buffer, in case of error 0 is returned or @buf stores the error
+
+
+
+

+xmlBufShrink ()

+
size_t	xmlBufShrink			(xmlBufPtr buf, 
size_t len)
+
+

Remove the beginning of an XML buffer. NOTE that this routine behaviour differs from xmlBufferShrink() as it will return 0 on error instead of -1 due to size_t being used as the return type.

+
++ + + + + + + + + + + + + + +
buf:the buffer to dump
len:the number of xmlChar to remove
Returns:the number of byte removed or 0 in case of failure
+
+
+
+

+xmlBufUse ()

+
size_t	xmlBufUse			(const xmlBufPtr buf)
+
+

Function to get the length of a buffer

+
++ + + + + + + + + + +
buf:the buffer
Returns:the length of data in the internal content
+
+
+
+

+xmlBufferAdd ()

+
int	xmlBufferAdd			(xmlBufferPtr buf, 
const xmlChar * str,
int len)
+
+

Add a string range to an XML buffer. if len == -1, the length of str is recomputed.

+
++ + + + + + + + + + + + + + + + + + +
buf:the buffer to dump
str:the #xmlChar string
len:the number of #xmlChar to add
Returns:0 successful, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlBufferAddHead ()

+
int	xmlBufferAddHead		(xmlBufferPtr buf, 
const xmlChar * str,
int len)
+
+

Add a string range to the beginning of an XML buffer. if len == -1, the length of @str is recomputed.

+
++ + + + + + + + + + + + + + + + + + +
buf:the buffer
str:the #xmlChar string
len:the number of #xmlChar to add
Returns:0 successful, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlBufferCCat ()

+
int	xmlBufferCCat			(xmlBufferPtr buf, 
const char * str)
+
+

Append a zero terminated C string to an XML buffer.

+
++ + + + + + + + + + + + + + +
buf:the buffer to dump
str:the C char string
Returns:0 successful, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlBufferCat ()

+
int	xmlBufferCat			(xmlBufferPtr buf, 
const xmlChar * str)
+
+

Append a zero terminated string to an XML buffer.

+
++ + + + + + + + + + + + + + +
buf:the buffer to add to
str:the #xmlChar string
Returns:0 successful, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlBufferContent ()

+
const xmlChar *	xmlBufferContent	(const xmlBuffer * buf)
+
+

Function to extract the content of a buffer

+
++ + + + + + + + + + +
buf:the buffer
Returns:the internal content
+
+
+
+

+xmlBufferCreate ()

+
xmlBufferPtr	xmlBufferCreate		(void)
+
+

routine to create an XML buffer.

+
++ + + + +
Returns:the new structure.
+
+
+
+

+xmlBufferCreateSize ()

+
xmlBufferPtr	xmlBufferCreateSize	(size_t size)
+
+

routine to create an XML buffer.

+
++ + + + + + + + + + +
size:initial size of buffer
Returns:the new structure.
+
+
+
+

+xmlBufferCreateStatic ()

+
xmlBufferPtr	xmlBufferCreateStatic	(void * mem, 
size_t size)
+
+

+
++ + + + + + + + + + + + + + +
mem:the memory area
size:the size in byte
Returns:an XML buffer initialized with bytes.
+
+
+
+

+xmlBufferDetach ()

+
xmlChar *	xmlBufferDetach		(xmlBufferPtr buf)
+
+

Remove the string contained in a buffer and gie it back to the caller. The buffer is reset to an empty content. This doesn't work with immutable buffers as they can't be reset.

+
++ + + + + + + + + + +
buf:the buffer
Returns:the previous string contained by the buffer.
+
+
+
+

+xmlBufferDump ()

+
int	xmlBufferDump			(FILE * file, 
xmlBufferPtr buf)
+
+

Dumps an XML buffer to a FILE *.

+
++ + + + + + + + + + + + + + +
file:the file output
buf:the buffer to dump
Returns:the number of #xmlChar written
+
+
+
+

+xmlBufferEmpty ()

+
void	xmlBufferEmpty			(xmlBufferPtr buf)
+
+

empty a buffer.

+
++ + + + +
buf:the buffer
+
+
+
+

+xmlBufferFree ()

+
void	xmlBufferFree			(xmlBufferPtr buf)
+
+

Frees an XML buffer. It frees both the content and the structure which encapsulate it.

+
++ + + + +
buf:the buffer to free
+
+
+
+

+xmlBufferGrow ()

+
int	xmlBufferGrow			(xmlBufferPtr buf, 
unsigned int len)
+
+

Grow the available space of an XML buffer.

+
++ + + + + + + + + + + + + + +
buf:the buffer
len:the minimum free size to allocate
Returns:the new available space or -1 in case of error
+
+
+
+

+xmlBufferLength ()

+
int	xmlBufferLength			(const xmlBuffer * buf)
+
+

Function to get the length of a buffer

+
++ + + + + + + + + + +
buf:the buffer
Returns:the length of data in the internal content
+
+
+
+

+xmlBufferResize ()

+
int	xmlBufferResize			(xmlBufferPtr buf, 
unsigned int size)
+
+

Resize a buffer to accommodate minimum size of @size.

+
++ + + + + + + + + + + + + + +
buf:the buffer to resize
size:the desired size
Returns:0 in case of problems, 1 otherwise
+
+
+
+

+xmlBufferSetAllocationScheme ()

+
void	xmlBufferSetAllocationScheme	(xmlBufferPtr buf, 
xmlBufferAllocationScheme scheme)
+
+

Sets the allocation scheme for this buffer

+
++ + + + + + + + + + +
buf:the buffer to tune
scheme:allocation scheme to use
+
+
+
+

+xmlBufferShrink ()

+
int	xmlBufferShrink			(xmlBufferPtr buf, 
unsigned int len)
+
+

Remove the beginning of an XML buffer.

+
++ + + + + + + + + + + + + + +
buf:the buffer to dump
len:the number of xmlChar to remove
Returns:the number of #xmlChar removed, or -1 in case of failure.
+
+
+
+

+xmlBufferWriteCHAR ()

+
void	xmlBufferWriteCHAR		(xmlBufferPtr buf, 
const xmlChar * string)
+
+

routine which manages and grows an output buffer. This one adds xmlChars at the end of the buffer.

+
++ + + + + + + + + + +
buf:the XML buffer
string:the string to add
+
+
+
+

+xmlBufferWriteChar ()

+
void	xmlBufferWriteChar		(xmlBufferPtr buf, 
const char * string)
+
+

routine which manage and grows an output buffer. This one add C chars at the end of the array.

+
++ + + + + + + + + + +
buf:the XML buffer output
string:the string to add
+
+
+
+

+xmlBufferWriteQuotedString ()

+
void	xmlBufferWriteQuotedString	(xmlBufferPtr buf, 
const xmlChar * string)
+
+

routine which manage and grows an output buffer. This one writes a quoted or double quoted #xmlChar string, checking first if it holds quote or double-quotes internally

+
++ + + + + + + + + + +
buf:the XML buffer output
string:the string to add
+
+
+
+

+xmlBuildQName ()

+
xmlChar *	xmlBuildQName		(const xmlChar * ncname, 
const xmlChar * prefix,
xmlChar * memory,
int len)
+
+

Builds the QName @prefix:@ncname in @memory if there is enough space and prefix is not NULL nor empty, otherwise allocate a new string. If prefix is NULL or empty it returns ncname.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ncname:the Name
prefix:the prefix
memory:preallocated memory
len:preallocated memory length
Returns:the new string which must be freed by the caller if different from @memory and @ncname or NULL in case of error
+
+
+
+

+xmlChildElementCount ()

+
unsigned long	xmlChildElementCount	(xmlNodePtr parent)
+
+

Count the number of child nodes which are elements. Note that entity references are not expanded.

+
++ + + + + + + + + + +
parent:the parent node
Returns:the number of element children or 0 if arguments are invalid.
+
+
+
+

+xmlCopyDoc ()

+
xmlDocPtr	xmlCopyDoc		(xmlDocPtr doc, 
int recursive)
+
+

Copy a document. If recursive, the content tree will be copied too as well as DTD, namespaces and entities.

+
++ + + + + + + + + + + + + + +
doc:the document
recursive:if not zero do a recursive copy.
Returns:the copied document or NULL if a memory allocation failed.
+
+
+
+

+xmlCopyDtd ()

+
xmlDtdPtr	xmlCopyDtd		(xmlDtdPtr dtd)
+
+

Copy a DTD.

+
++ + + + + + + + + + +
dtd:the DTD
Returns:the copied DTD or NULL if a memory allocation failed.
+
+
+
+

+xmlCopyNamespace ()

+
xmlNsPtr	xmlCopyNamespace	(xmlNsPtr cur)
+
+

Copy a namespace.

+
++ + + + + + + + + + +
cur:the namespace
Returns:the copied namespace or NULL if a memory allocation failed.
+
+
+
+

+xmlCopyNamespaceList ()

+
xmlNsPtr	xmlCopyNamespaceList	(xmlNsPtr cur)
+
+

Copy a namespace list.

+
++ + + + + + + + + + +
cur:the first namespace
Returns:the head of the copied list or NULL if a memory allocation failed.
+
+
+
+

+xmlCopyNode ()

+
xmlNodePtr	xmlCopyNode		(xmlNodePtr node, 
int extended)
+
+

Copy a node. Use of this function is DISCOURAGED in favor of xmlDocCopyNode.

+
++ + + + + + + + + + + + + + +
node:the node
extended:if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable)
Returns:the copied node or NULL if a memory allocation failed.
+
+
+
+

+xmlCopyNodeList ()

+
xmlNodePtr	xmlCopyNodeList		(xmlNodePtr node)
+
+

Copy a node list and all children. Use of this function is DISCOURAGED in favor of xmlDocCopyNodeList.

+
++ + + + + + + + + + +
node:the first node in the list.
Returns:the head of the copied list or NULL if a memory allocation failed.
+
+
+
+

+xmlCopyProp ()

+
xmlAttrPtr	xmlCopyProp		(xmlNodePtr target, 
xmlAttrPtr cur)
+
+

Create a copy of the attribute. This function sets the parent pointer of the copy to @target but doesn't set the attribute on the target element. Users should consider to set the attribute by calling xmlAddChild afterwards or reset the parent pointer to NULL.

+
++ + + + + + + + + + + + + + +
target:the element where the attribute will be grafted
cur:the attribute +
Returns:the copied attribute or NULL if a memory allocation failed.
+
+
+
+

+xmlCopyPropList ()

+
xmlAttrPtr	xmlCopyPropList		(xmlNodePtr target, 
xmlAttrPtr cur)
+
+

Create a copy of an attribute list. This function sets the parent pointers of the copied attributes to @target but doesn't set the attributes on the target element.

+
++ + + + + + + + + + + + + + +
target:the element where the attributes will be grafted
cur:the first attribute +
Returns:the head of the copied list or NULL if a memory allocation failed.
+
+
+
+

+xmlCreateIntSubset ()

+
xmlDtdPtr	xmlCreateIntSubset	(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

Create a DTD node. If a document is provided and it already has an internal subset, the existing DTD object is returned without creating a new object. If the document has no internal subset, it will be set to the created DTD.

+
++ + + + + + + + + + + + + + + + + + + + + + +
doc:the document pointer (optional)
name:the DTD name (optional)
ExternalID:the external (PUBLIC) ID (optional)
SystemID:the system ID (optional)
Returns:a pointer to the new or existing DTD object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlDOMWrapAdoptNode ()

+
int	xmlDOMWrapAdoptNode		(xmlDOMWrapCtxtPtr ctxt, 
xmlDocPtr sourceDoc,
xmlNodePtr node,
xmlDocPtr destDoc,
xmlNodePtr destParent,
int options)
+
+

References of out-of scope ns-decls are remapped to point to @destDoc: 1) If @destParent is given, then nsDef entries on element-nodes are used 2) If *no* @destParent is given, then @destDoc->oldNs entries are used This is the case when you have an unlinked node and just want to move it to the context of If @destParent is given, it ensures that the tree is namespace wellformed by creating additional ns-decls where needed. Note that, since prefixes of already existent ns-decls can be shadowed by this process, it could break QNames in attribute values or element content. NOTE: This function was not intensively tested.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the optional context for custom processing
sourceDoc:the optional sourceDoc
node:the node to start with
destDoc:the destination doc
destParent:the optional new parent of @node in @destDoc
options:option flags
Returns:0 if the operation succeeded, 1 if a node of unsupported type was given, 2 if a node of not yet supported type was given and -1 on API/internal errors.
+
+
+
+

+xmlDOMWrapCloneNode ()

+
int	xmlDOMWrapCloneNode		(xmlDOMWrapCtxtPtr ctxt, 
xmlDocPtr sourceDoc,
xmlNodePtr node,
xmlNodePtr * resNode,
xmlDocPtr destDoc,
xmlNodePtr destParent,
int deep,
int options)
+
+

References of out-of scope ns-decls are remapped to point to @destDoc: 1) If @destParent is given, then nsDef entries on element-nodes are used 2) If *no* @destParent is given, then @destDoc->oldNs entries are used. This is the case when you don't know already where the cloned branch will be added to. If @destParent is given, it ensures that the tree is namespace wellformed by creating additional ns-decls where needed. Note that, since prefixes of already existent ns-decls can be shadowed by this process, it could break QNames in attribute values or element content. TODO: 1) What to do with XInclude? Currently this returns an error for XInclude.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the optional context for custom processing
sourceDoc:the optional sourceDoc
node:the node to start with
resNode:the clone of the given @node
destDoc:the destination doc
destParent:the optional new parent of @node in @destDoc
deep:descend into child if set
options:option flags
Returns:0 if the operation succeeded, 1 if a node of unsupported (or not yet supported) type was given, -1 on API/internal errors.
+
+
+
+

+xmlDOMWrapFreeCtxt ()

+
void	xmlDOMWrapFreeCtxt		(xmlDOMWrapCtxtPtr ctxt)
+
+

Frees the DOM-wrapper context.

+
++ + + + +
ctxt:the DOM-wrapper context
+
+
+
+

+xmlDOMWrapNewCtxt ()

+
xmlDOMWrapCtxtPtr	xmlDOMWrapNewCtxt	(void)
+
+

Allocates and initializes a new DOM-wrapper context.

+
++ + + + +
Returns:the xmlDOMWrapCtxtPtr or NULL in case of an internal error.
+
+
+
+

+xmlDOMWrapReconcileNamespaces ()

+
int	xmlDOMWrapReconcileNamespaces	(xmlDOMWrapCtxtPtr ctxt, 
xmlNodePtr elem,
int options)
+
+

Ensures that ns-references point to ns-decls hold on element-nodes. Ensures that the tree is namespace wellformed by creating additional ns-decls where needed. Note that, since prefixes of already existent ns-decls can be shadowed by this process, it could break QNames in attribute values or element content. NOTE: This function was not intensively tested.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:DOM wrapper context, unused at the moment
elem:the element-node
options:option flags
Returns:0 if succeeded, -1 otherwise and on API/internal errors.
+
+
+
+

+xmlDOMWrapRemoveNode ()

+
int	xmlDOMWrapRemoveNode		(xmlDOMWrapCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr node,
int options)
+
+

Unlinks the given node from its owner. This will substitute ns-references to node->nsDef for ns-references to doc->oldNs, thus ensuring the removed branch to be autark wrt ns-references. NOTE: This function was not intensively tested.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:a DOM wrapper context
doc:the doc
node:the node to be removed.
options:set of options, unused at the moment
Returns:0 on success, 1 if the node is not supported, -1 on API and internal errors.
+
+
+
+

+xmlDeregisterNodeDefault ()

+
xmlDeregisterNodeFunc	xmlDeregisterNodeDefault	(xmlDeregisterNodeFunc func)
+
+

DEPRECATED: don't use Registers a callback for node destruction

+
++ + + + + + + + + + +
func:function pointer to the new DeregisterNodeFunc
Returns:the previous value of the deregistration function
+
+
+
+

+xmlDocCopyNode ()

+
xmlNodePtr	xmlDocCopyNode		(xmlNodePtr node, 
xmlDocPtr doc,
int extended)
+
+

Copy a node into another document.

+
++ + + + + + + + + + + + + + + + + + +
node:the node
doc:the document
extended:if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable)
Returns:the copied node or NULL if a memory allocation failed.
+
+
+
+

+xmlDocCopyNodeList ()

+
xmlNodePtr	xmlDocCopyNodeList	(xmlDocPtr doc, 
xmlNodePtr node)
+
+

Copy a node list and all children into a new document.

+
++ + + + + + + + + + + + + + +
doc:the target document
node:the first node in the list.
Returns:the head of the copied list or NULL if a memory allocation failed.
+
+
+
+

+xmlDocDump ()

+
int	xmlDocDump			(FILE * f, 
xmlDocPtr cur)
+
+

Dump an XML document to an open FILE.

+
++ + + + + + + + + + + + + + +
f:the FILE*
cur:the document
Returns:the number of bytes written or -1 in case of failure.
+
+
+
+

+xmlDocDumpFormatMemory ()

+
void	xmlDocDumpFormatMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size,
int format)
+
+

Dump an XML document in memory and return the #xmlChar * and it's size. It's up to the caller to free the memory with xmlFree(). Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

+
++ + + + + + + + + + + + + + + + + + +
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length
format:should formatting spaces been added
+
+
+
+

+xmlDocDumpFormatMemoryEnc ()

+
void	xmlDocDumpFormatMemoryEnc	(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding,
int format)
+
+

Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree(). Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

+
++ + + + + + + + + + + + + + + + + + + + + + +
out_doc:Document to generate XML text from
doc_txt_ptr:Memory pointer for allocated XML text
doc_txt_len:Length of the generated XML text
txt_encoding:Character encoding to use when generating XML text
format:should formatting spaces been added
+
+
+
+

+xmlDocDumpMemory ()

+
void	xmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
+
+

Dump an XML document in memory and return the #xmlChar * and it's size in bytes. It's up to the caller to free the memory with xmlFree(). The resulting byte array is zero terminated, though the last 0 is not included in the returned size.

+
++ + + + + + + + + + + + + + +
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length
+
+
+
+

+xmlDocDumpMemoryEnc ()

+
void	xmlDocDumpMemoryEnc		(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding)
+
+

Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree().

+
++ + + + + + + + + + + + + + + + + + +
out_doc:Document to generate XML text from
doc_txt_ptr:Memory pointer for allocated XML text
doc_txt_len:Length of the generated XML text
txt_encoding:Character encoding to use when generating XML text
+
+
+
+

+xmlDocFormatDump ()

+
int	xmlDocFormatDump		(FILE * f, 
xmlDocPtr cur,
int format)
+
+

Dump an XML document to an open FILE.

+
++ + + + + + + + + + + + + + + + + + +
f:the FILE*
cur:the document
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called
+
+
+
+

+xmlDocGetRootElement ()

+
xmlNodePtr	xmlDocGetRootElement	(const xmlDoc * doc)
+
+

Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).

+
++ + + + + + + + + + +
doc:the document
Returns:the root element or NULL if no element was found.
+
+
+
+

+xmlDocSetRootElement ()

+
xmlNodePtr	xmlDocSetRootElement	(xmlDocPtr doc, 
xmlNodePtr root)
+
+

Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). @root must be an element node. It is unlinked before insertion.

+
++ + + + + + + + + + + + + + +
doc:the document
root:the new document root element, if root is NULL no action is taken, to remove a node from a document use xmlUnlinkNode(root) instead.
Returns:the unlinked old root element or NULL if the document didn't have a root element or a memory allocation failed.
+
+
+
+

+xmlElemDump ()

+
void	xmlElemDump			(FILE * f, 
xmlDocPtr doc,
xmlNodePtr cur)
+
+

Dump an XML/HTML node, recursive behaviour, children are printed too.

+
++ + + + + + + + + + + + + + +
f:the FILE * for the output
doc:the document
cur:the current node
+
+
+
+

+xmlFirstElementChild ()

+
xmlNodePtr	xmlFirstElementChild	(xmlNodePtr parent)
+
+

Find the first child node which is an element. Note that entity references are not expanded.

+
++ + + + + + + + + + +
parent:the parent node
Returns:the first element or NULL if parent has no children.
+
+
+
+

+xmlFreeDoc ()

+
void	xmlFreeDoc			(xmlDocPtr cur)
+
+

Free a document including all children and associated DTDs.

+
++ + + + +
cur:pointer to the document
+
+
+
+

+xmlFreeDtd ()

+
void	xmlFreeDtd			(xmlDtdPtr cur)
+
+

Free a DTD structure.

+
++ + + + +
cur:the DTD structure to free up
+
+
+
+

+xmlFreeNode ()

+
void	xmlFreeNode			(xmlNodePtr cur)
+
+

Free a node including all the children. This doesn't unlink the node from the tree. Call xmlUnlinkNode first unless @cur is a root node.

+
++ + + + +
cur:the node
+
+
+
+

+xmlFreeNodeList ()

+
void	xmlFreeNodeList			(xmlNodePtr cur)
+
+

Free a node list including all children.

+
++ + + + +
cur:the first node in the list
+
+
+
+

+xmlFreeNs ()

+
void	xmlFreeNs			(xmlNsPtr cur)
+
+

Free an xmlNs object.

+
++ + + + +
cur:the namespace pointer
+
+
+
+

+xmlFreeNsList ()

+
void	xmlFreeNsList			(xmlNsPtr cur)
+
+

Free a list of xmlNs objects.

+
++ + + + +
cur:the first namespace pointer
+
+
+
+

+xmlFreeProp ()

+
void	xmlFreeProp			(xmlAttrPtr cur)
+
+

Free an attribute including all children.

+
++ + + + +
cur:an attribute +
+
+
+
+

+xmlFreePropList ()

+
void	xmlFreePropList			(xmlAttrPtr cur)
+
+

Free an attribute list including all children.

+
++ + + + +
cur:the first attribute in the list
+
+
+
+

+xmlGetBufferAllocationScheme ()

+
xmlBufferAllocationScheme	xmlGetBufferAllocationScheme	(void)
+
+

Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, improves performance XML_BUFFER_ALLOC_HYBRID - use exact sizes on small strings to keep memory usage tight in normal usage, and doubleit on large strings to avoid pathological performance.

+
++ + + + +
Returns:the current allocation scheme
+
+
+
+

+xmlGetCompressMode ()

+
int	xmlGetCompressMode		(void)
+
+

DEPRECATED: Use xmlGetDocCompressMode get the default compression mode used, ZLIB based.

+
++ + + + +
Returns:0 (uncompressed) to 9 (max compression)
+
+
+
+

+xmlGetDocCompressMode ()

+
int	xmlGetDocCompressMode		(const xmlDoc * doc)
+
+

get the compression ratio for a document, ZLIB based

+
++ + + + + + + + + + +
doc:the document
Returns:0 (uncompressed) to 9 (max compression)
+
+
+
+

+xmlGetIntSubset ()

+
xmlDtdPtr	xmlGetIntSubset		(const xmlDoc * doc)
+
+

Get the internal subset of a document.

+
++ + + + + + + + + + +
doc:the document pointer
Returns:a pointer to the DTD object or NULL if not found.
+
+
+
+

+xmlGetLastChild ()

+
xmlNodePtr	xmlGetLastChild		(const xmlNode * parent)
+
+

Find the last child of a node.

+
++ + + + + + + + + + +
parent:the parent node
Returns:the last child or NULL if parent has no children.
+
+
+
+

+xmlGetLineNo ()

+
long	xmlGetLineNo			(const xmlNode * node)
+
+

Get line number of @node. Try to override the limitation of lines being store in 16 bits ints if XML_PARSE_BIG_LINES parser option was used

+
++ + + + + + + + + + +
node:valid node
Returns:the line number if successful, -1 otherwise
+
+
+
+

+xmlGetNoNsProp ()

+
xmlChar *	xmlGetNoNsProp		(const xmlNode * node, 
const xmlChar * name)
+
+

Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values. This function is similar to xmlGetProp except it will accept only an attribute in no namespace. NOTE: This function doesn't allow to distinguish malloc failures from missing attributes. It's more robust to use xmlNodeGetAttrValue.

+
++ + + + + + + + + + + + + + +
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found or a memory allocation failed. It's up to the caller to free the memory with xmlFree().
+
+
+
+

+xmlGetNodePath ()

+
xmlChar *	xmlGetNodePath		(const xmlNode * node)
+
+

Build a structure based Path for the given node

+
++ + + + + + + + + + +
node:a node
Returns:the new path or NULL in case of error. The caller must free the returned string
+
+
+
+

+xmlGetNsList ()

+
xmlNsPtr *	xmlGetNsList		(const xmlDoc * doc, 
const xmlNode * node)
+
+

Find all in-scope namespaces of a node. Use xmlGetNsListSafe for better error reporting.

+
++ + + + + + + + + + + + + + +
doc:the document
node:the current node
Returns:a NULL terminated array of namespace pointers that must be freed by the caller or NULL if no namespaces were found or a memory allocation failed.
+
+
+
+

+xmlGetNsListSafe ()

+
int	xmlGetNsListSafe		(const xmlDoc * doc, 
const xmlNode * node,
xmlNsPtr ** out)
+
+

Find all in-scope namespaces of a node. @out returns a NULL terminated array of namespace pointers that must be freed by the caller. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + +
doc:the document
node:the current node
out:the returned namespace array
Returns:0 on success, 1 if no namespaces were found, -1 if a memory allocation failed.
+
+
+
+

+xmlGetNsProp ()

+
xmlChar *	xmlGetNsProp		(const xmlNode * node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
+

Search and get the value of an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values. NOTE: This function doesn't allow to distinguish malloc failures from missing attributes. It's more robust to use xmlNodeGetAttrValue.

+
++ + + + + + + + + + + + + + + + + + +
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute value or NULL if not found or a memory allocation failed. It's up to the caller to free the memory with xmlFree().
+
+
+
+

+xmlGetProp ()

+
xmlChar *	xmlGetProp		(const xmlNode * node, 
const xmlChar * name)
+
+

Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values. NOTE: This function acts independently of namespaces associated to the attribute. Use xmlGetNsProp() or xmlGetNoNsProp() for namespace aware processing. NOTE: This function doesn't allow to distinguish malloc failures from missing attributes. It's more robust to use xmlNodeGetAttrValue.

+
++ + + + + + + + + + + + + + +
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found or a memory allocation failed. It's up to the caller to free the memory with xmlFree().
+
+
+
+

+xmlHasNsProp ()

+
xmlAttrPtr	xmlHasNsProp		(const xmlNode * node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
+

Search for an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values. Note that a namespace of NULL indicates to use the default namespace.

+
++ + + + + + + + + + + + + + + + + + +
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute or the attribute declaration or NULL if neither was found. Also returns NULL if a memory allocation failed making this function unreliable.
+
+
+
+

+xmlHasProp ()

+
xmlAttrPtr	xmlHasProp		(const xmlNode * node, 
const xmlChar * name)
+
+

Search an attribute associated to a node This function also looks in DTD attribute declaration for #FIXED or default declaration values.

+
++ + + + + + + + + + + + + + +
node:the node
name:the attribute name
Returns:the attribute or the attribute declaration or NULL if neither was found. Also returns NULL if a memory allocation failed making this function unreliable.
+
+
+
+

+xmlIsBlankNode ()

+
int	xmlIsBlankNode			(const xmlNode * node)
+
+

Checks whether this node is an empty or whitespace only (and possibly ignorable) text-node.

+
++ + + + + + + + + + +
node:the node
Returns:1 yes, 0 no
+
+
+
+

+xmlIsXHTML ()

+
int	xmlIsXHTML			(const xmlChar * systemID, 
const xmlChar * publicID)
+
+

Try to find if the document correspond to an XHTML DTD

+
++ + + + + + + + + + + + + + +
systemID:the system identifier
publicID:the public identifier
Returns:1 if true, 0 if not and -1 in case of error
+
+
+
+

+xmlLastElementChild ()

+
xmlNodePtr	xmlLastElementChild	(xmlNodePtr parent)
+
+

Find the last child node which is an element. Note that entity references are not expanded.

+
++ + + + + + + + + + +
parent:the parent node
Returns:the last element or NULL if parent has no children.
+
+
+
+

+xmlNewCDataBlock ()

+
xmlNodePtr	xmlNewCDataBlock	(xmlDocPtr doc, 
const xmlChar * content,
int len)
+
+

Create a CDATA section node.

+
++ + + + + + + + + + + + + + + + + + +
doc:the target document (optional)
content:raw text content (optional)
len:size of text content
Returns:a pointer to the new node object or NULL if a memory allocation failed.
+
+
+
+

+xmlNewCharRef ()

+
xmlNodePtr	xmlNewCharRef		(xmlDocPtr doc, 
const xmlChar * name)
+
+

This function is MISNAMED. It doesn't create a character reference but an entity reference. Create an empty entity reference node. This function doesn't attempt to look up the entity in @doc. Entity names like '&entity;' are handled as well.

+
++ + + + + + + + + + + + + + +
doc:the target document (optional)
name:the entity name
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewChild ()

+
xmlNodePtr	xmlNewChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
+

Create a new child element and append it to a parent element. If @ns is NULL, the newly created element inherits the namespace of the parent. If provided, @content is expected to be a valid XML attribute value possibly containing character and entity references. Text and entity reference node will be added to the child element, see xmlNewDocNode.

+
++ + + + + + + + + + + + + + + + + + + + + + +
parent:the parent node
ns:a namespace (optional)
name:the name of the child
content:text content with XML references (optional)
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewComment ()

+
xmlNodePtr	xmlNewComment		(const xmlChar * content)
+
+

Use of this function is DISCOURAGED in favor of xmlNewDocComment. Create a comment node.

+
++ + + + + + + + + + +
content:the comment content (optional)
Returns:a pointer to the new node object or NULL if a memory allocation failed.
+
+
+
+

+xmlNewDoc ()

+
xmlDocPtr	xmlNewDoc		(const xmlChar * version)
+
+

Creates a new XML document. If version is NULL, "1.0" is used.

+
++ + + + + + + + + + +
version:XML version string like "1.0" (optional)
Returns:a new document or NULL if a memory allocation failed.
+
+
+
+

+xmlNewDocComment ()

+
xmlNodePtr	xmlNewDocComment	(xmlDocPtr doc, 
const xmlChar * content)
+
+

Create a comment node.

+
++ + + + + + + + + + + + + + +
doc:the document
content:the comment content
Returns:a pointer to the new node object or NULL if a memory allocation failed.
+
+
+
+

+xmlNewDocFragment ()

+
xmlNodePtr	xmlNewDocFragment	(xmlDocPtr doc)
+
+

Create a document fragment node.

+
++ + + + + + + + + + +
doc:the target document (optional)
Returns:a pointer to the new node object or NULL if a memory allocation failed.
+
+
+
+

+xmlNewDocNode ()

+
xmlNodePtr	xmlNewDocNode		(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
+

Create an element node. If provided, @content is expected to be a valid XML attribute value possibly containing character and entity references. Syntax errors and references to undeclared entities are ignored silently. Only references are handled, nested elements, comments or PIs are not. See xmlNewDocRawNode for an alternative. General notes on object creation: Each node and all its children are associated with the same document. The document should be provided when creating nodes to avoid a performance penalty when adding the node to a document tree. Note that a document only owns nodes reachable from the root node. Unlinked subtrees must be freed manually.

+
++ + + + + + + + + + + + + + + + + + + + + + +
doc:the target document
ns:namespace (optional)
name:the node name
content:text content with XML references (optional)
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewDocNodeEatName ()

+
xmlNodePtr	xmlNewDocNodeEatName	(xmlDocPtr doc, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * content)
+
+

Create an element node. Like xmlNewDocNode, but the @name string will be used directly without making a copy. Takes ownership of @name which will also be freed on error.

+
++ + + + + + + + + + + + + + + + + + + + + + +
doc:the target document
ns:namespace (optional)
name:the node name
content:text content with XML references (optional)
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewDocPI ()

+
xmlNodePtr	xmlNewDocPI		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * content)
+
+

Create a processing instruction object.

+
++ + + + + + + + + + + + + + + + + + +
doc:the target document (optional)
name:the processing instruction target
content:the PI content (optional)
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewDocProp ()

+
xmlAttrPtr	xmlNewDocProp		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * value)
+
+

Create an attribute object. If provided, @value is expected to be a valid XML attribute value possibly containing character and entity references. Syntax errors and references to undeclared entities are ignored silently. If you want to pass a raw string, see xmlNewProp.

+
++ + + + + + + + + + + + + + + + + + +
doc:the target document (optional)
name:the name of the attribute +
value: +attribute value with XML references (optional)
Returns:a pointer to the attribute or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewDocRawNode ()

+
xmlNodePtr	xmlNewDocRawNode	(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
+

Create an element node. If provided, @value should be a raw, unescaped string.

+
++ + + + + + + + + + + + + + + + + + + + + + +
doc:the target document
ns:namespace (optional)
name:the node name
content:raw text content (optional)
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewDocText ()

+
xmlNodePtr	xmlNewDocText		(const xmlDoc * doc, 
const xmlChar * content)
+
+

Create a new text node.

+
++ + + + + + + + + + + + + + +
doc:the target document
content:raw text content (optional)
Returns:a pointer to the new node object or NULL if a memory allocation failed.
+
+
+
+

+xmlNewDocTextLen ()

+
xmlNodePtr	xmlNewDocTextLen	(xmlDocPtr doc, 
const xmlChar * content,
int len)
+
+

Create a new text node.

+
++ + + + + + + + + + + + + + + + + + +
doc:the target document
content:raw text content (optional)
len:size of text content
Returns:a pointer to the new node object or NULL if a memory allocation failed.
+
+
+
+

+xmlNewDtd ()

+
xmlDtdPtr	xmlNewDtd		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
+

Create a DTD node. If a document is provided, it is an error if it already has an external subset. If the document has no external subset, it will be set to the created DTD. To create an internal subset, use xmlCreateIntSubset().

+
++ + + + + + + + + + + + + + + + + + + + + + +
doc:the document pointer (optional)
name:the DTD name (optional)
ExternalID:the external ID (optional)
SystemID:the system ID (optional)
Returns:a pointer to the new DTD object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewGlobalNs ()

+
xmlNsPtr	xmlNewGlobalNs		(xmlDocPtr doc, 
const xmlChar * href,
const xmlChar * prefix)
+
+

Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!!

+
++ + + + + + + + + + + + + + + + + + +
doc:the document carrying the namespace
href:the URI associated
prefix:the prefix for the namespace
Returns:NULL this functionality had been removed
+
+
+
+

+xmlNewNode ()

+
xmlNodePtr	xmlNewNode		(xmlNsPtr ns, 
const xmlChar * name)
+
+

Create an element node. Use of this function is DISCOURAGED in favor of xmlNewDocNode.

+
++ + + + + + + + + + + + + + +
ns:namespace (optional)
name:the node name
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewNodeEatName ()

+
xmlNodePtr	xmlNewNodeEatName	(xmlNsPtr ns, 
xmlChar * name)
+
+

Create an element node. Use of this function is DISCOURAGED in favor of xmlNewDocNodeEatName. Like xmlNewNode, but the @name string will be used directly without making a copy. Takes ownership of @name which will also be freed on error.

+
++ + + + + + + + + + + + + + +
ns:namespace (optional)
name:the node name
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewNs ()

+
xmlNsPtr	xmlNewNs		(xmlNodePtr node, 
const xmlChar * href,
const xmlChar * prefix)
+
+

Create a new namespace. For a default namespace, @prefix should be NULL. The namespace URI in @href is not checked. You should make sure to pass a valid URI. If @node is provided, it must be an element node. The namespace will be appended to the node's namespace declarations. It is an error if the node already has a definition for the prefix or default namespace.

+
++ + + + + + + + + + + + + + + + + + +
node:the element carrying the namespace (optional)
href:the URI associated
prefix:the prefix for the namespace (optional)
Returns:a new namespace pointer or NULL if arguments are invalid, the prefix is already in use or a memory allocation failed.
+
+
+
+

+xmlNewNsProp ()

+
xmlAttrPtr	xmlNewNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)
+
+

Create an attribute object. If provided, @value should be a raw, unescaped string. If @node is provided, the created attribute will be appended without checking for duplicate names. It is an error if @node is not an element.

+
++ + + + + + + + + + + + + + + + + + + + + + +
node:the parent node (optional)
ns:the namespace (optional)
name:the local name of the attribute +
value:the value of the attribute (optional)
Returns:a pointer to the attribute or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewNsPropEatName ()

+
xmlAttrPtr	xmlNewNsPropEatName	(xmlNodePtr node, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * value)
+
+

Like xmlNewNsProp, but the @name string will be used directly without making a copy. Takes ownership of @name which will also be freed on error.

+
++ + + + + + + + + + + + + + + + + + + + + + +
node:the parent node (optional)
ns:the namespace (optional)
name:the local name of the attribute +
value:the value of the attribute (optional)
Returns:a pointer to the attribute or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewPI ()

+
xmlNodePtr	xmlNewPI		(const xmlChar * name, 
const xmlChar * content)
+
+

Create a processing instruction node. Use of this function is DISCOURAGED in favor of xmlNewDocPI.

+
++ + + + + + + + + + + + + + +
name:the processing instruction target
content:the PI content (optional)
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewProp ()

+
xmlAttrPtr	xmlNewProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
+
+

Create an attribute node. If provided, @value should be a raw, unescaped string. If @node is provided, the created attribute will be appended without checking for duplicate names. It is an error if @node is not an element.

+
++ + + + + + + + + + + + + + + + + + +
node:the parent node (optional)
name:the name of the attribute +
value:the value of the attribute (optional)
Returns:a pointer to the attribute or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewReference ()

+
xmlNodePtr	xmlNewReference		(const xmlDoc * doc, 
const xmlChar * name)
+
+

Create a new entity reference node, linking the result with the entity in @doc if found. Entity names like '&entity;' are handled as well.

+
++ + + + + + + + + + + + + + +
doc:the target document (optional)
name:the entity name
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewText ()

+
xmlNodePtr	xmlNewText		(const xmlChar * content)
+
+

Create a text node. Use of this function is DISCOURAGED in favor of xmlNewDocText.

+
++ + + + + + + + + + +
content:raw text content (optional)
Returns:a pointer to the new node object or NULL if a memory allocation failed.
+
+
+
+

+xmlNewTextChild ()

+
xmlNodePtr	xmlNewTextChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
+

Create a new child element and append it to a parent element. If @ns is NULL, the newly created element inherits the namespace of the parent. If @content is provided, a text node will be added to the child element, see xmlNewDocRawNode.

+
++ + + + + + + + + + + + + + + + + + + + + + +
parent:the parent node
ns:a namespace (optional)
name:the name of the child
content:raw text content of the child (optional)
Returns:a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlNewTextLen ()

+
xmlNodePtr	xmlNewTextLen		(const xmlChar * content, 
int len)
+
+

Use of this function is DISCOURAGED in favor of xmlNewDocTextLen.

+
++ + + + + + + + + + + + + + +
content:raw text content (optional)
len:size of text content
Returns:a pointer to the new node object or NULL if a memory allocation failed.
+
+
+
+

+xmlNextElementSibling ()

+
xmlNodePtr	xmlNextElementSibling	(xmlNodePtr node)
+
+

Find the closest following sibling which is a element. Note that entity references are not expanded.

+
++ + + + + + + + + + +
node:the current node
Returns:the sibling or NULL if no sibling was found.
+
+
+
+

+xmlNodeAddContent ()

+
int	xmlNodeAddContent		(xmlNodePtr cur, 
const xmlChar * content)
+
+

Append the extra substring to the node content. NOTE: In contrast to xmlNodeSetContent(), @content is supposed to be raw text, so unescaped XML special chars are allowed, entity references are not supported.

+
++ + + + + + + + + + + + + + +
cur:the node being modified
content:extra content
Returns:0 on success, 1 on error, -1 if a memory allocation failed.
+
+
+
+

+xmlNodeAddContentLen ()

+
int	xmlNodeAddContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
+
+

Append the extra substring to the node content. NOTE: In contrast to xmlNodeSetContentLen(), @content is supposed to be raw text, so unescaped XML special chars are allowed, entity references are not supported.

+
++ + + + + + + + + + + + + + + + + + +
cur:the node being modified
content:extra content
len:the size of @content
Returns:0 on success, 1 on error, -1 if a memory allocation failed.
+
+
+
+

+xmlNodeBufGetContent ()

+
int	xmlNodeBufGetContent		(xmlBufferPtr buffer, 
const xmlNode * cur)
+
+

Read the value of a node @cur, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted. Fills up the buffer @buffer with this value

+
++ + + + + + + + + + + + + + +
buffer:a buffer
cur:the node being read
Returns:0 in case of success and -1 in case of error.
+
+
+
+

+xmlNodeDump ()

+
int	xmlNodeDump			(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format)
+
+

Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called. Since this is using xmlBuffer structures it is limited to 2GB and somehow deprecated, use xmlNodeDumpOutput() instead.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
Returns:the number of bytes written to the buffer or -1 in case of error
+
+
+
+

+xmlNodeDumpOutput ()

+
void	xmlNodeDumpOutput		(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format,
const char * encoding)
+
+

Dump an XML node, recursive behaviour, children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
encoding:an optional encoding string
+
+
+
+

+xmlNodeGetAttrValue ()

+
int	xmlNodeGetAttrValue		(const xmlNode * node, 
const xmlChar * name,
const xmlChar * nsUri,
xmlChar ** out)
+
+

Search and get the value of an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. The returned value must be freed by the caller. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + + + + + +
node:the node
name:the attribute name
nsUri:the URI of the namespace
out:the returned string
Returns:0 on success, 1 if no attribute was found, -1 if a memory allocation failed.
+
+
+
+

+xmlNodeGetBase ()

+
xmlChar *	xmlNodeGetBase		(const xmlDoc * doc, 
const xmlNode * cur)
+
+

See xmlNodeGetBaseSafe. This function doesn't allow to distinguish memory allocation failures from a non-existing base.

+
++ + + + + + + + + + + + + + +
doc:the document the node pertains to
cur:the node being checked
Returns:a pointer to the base URL, or NULL if not found It's up to the caller to free the memory with xmlFree().
+
+
+
+

+xmlNodeGetBaseSafe ()

+
int	xmlNodeGetBaseSafe		(const xmlDoc * doc, 
const xmlNode * cur,
xmlChar ** baseOut)
+
+

Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI from the Encapsulating Entity However it does not return the document base (5.1.3), use doc->URL in this case Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + +
doc:the document the node pertains to
cur:the node being checked
baseOut:pointer to base
Returns:0 in case of success, 1 if a URI or argument is invalid, -1 if a memory allocation failed.
+
+
+
+

+xmlNodeGetContent ()

+
xmlChar *	xmlNodeGetContent	(const xmlNode * cur)
+
+

Read the value of a node, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted.

+
++ + + + + + + + + + +
cur:the node being read
Returns:a new #xmlChar * or NULL if no content is available. It's up to the caller to free the memory with xmlFree().
+
+
+
+

+xmlNodeGetLang ()

+
xmlChar *	xmlNodeGetLang		(const xmlNode * cur)
+
+

Searches the language of a node, i.e. the values of the xml:lang attribute or the one carried by the nearest ancestor.

+
++ + + + + + + + + + +
cur:the node being checked
Returns:a pointer to the lang value, or NULL if not found It's up to the caller to free the memory with xmlFree().
+
+
+
+

+xmlNodeGetSpacePreserve ()

+
int	xmlNodeGetSpacePreserve		(const xmlNode * cur)
+
+

Searches the space preserving behaviour of a node, i.e. the values of the xml:space attribute or the one carried by the nearest ancestor.

+
++ + + + + + + + + + +
cur:the node being checked
Returns:-1 if xml:space is not inherited, 0 if "default", 1 if "preserve"
+
+
+
+

+xmlNodeIsText ()

+
int	xmlNodeIsText			(const xmlNode * node)
+
+

Is this node a Text node ?

+
++ + + + + + + + + + +
node:the node
Returns:1 yes, 0 no
+
+
+
+

+xmlNodeListGetRawString ()

+
xmlChar *	xmlNodeListGetRawString	(const xmlDoc * doc, 
const xmlNode * list,
int inLine)
+
+

Serializes attribute children (text and entity reference nodes) into a string. An empty list produces an empty string. If @inLine is true, entity references will be substituted. Otherwise, entity references will be kept and special characters like '&' will be escaped.

+
++ + + + + + + + + + + + + + + + + + +
doc:a document (optional)
list:a node list of attribute children (optional)
inLine:whether entity references are substituted
Returns:a string or NULL if a memory allocation failed.
+
+
+
+

+xmlNodeListGetString ()

+
xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
const xmlNode * list,
int inLine)
+
+

Serializes attribute children (text and entity reference nodes) into a string. An empty list produces an empty string. If @inLine is true, entity references will be substituted. Otherwise, entity references will be kept and special characters like '&' as well as non-ASCII chars will be escaped. See xmlNodeListGetRawString for an alternative option.

+
++ + + + + + + + + + + + + + + + + + +
doc:a document (optional)
list:a node list of attribute children (optional)
inLine:whether entity references are substituted
Returns:a string or NULL if a memory allocation failed.
+
+
+
+

+xmlNodeSetBase ()

+
int	xmlNodeSetBase			(xmlNodePtr cur, 
const xmlChar * uri)
+
+

Set (or reset) the base URI of a node, i.e. the value of the xml:base attribute.

+
++ + + + + + + + + + + + + + +
cur:the node being changed
uri:the new base URI
Returns:0 on success, -1 on error.
+
+
+
+

+xmlNodeSetContent ()

+
int	xmlNodeSetContent		(xmlNodePtr cur, 
const xmlChar * content)
+
+

Replace the text content of a node. Sets the raw text content of text, CDATA, comment or PI nodes. For element and attribute nodes, removes all children and replaces them by parsing @content which is expected to be a valid XML attribute value possibly containing character and entity references. Syntax errors and references to undeclared entities are ignored silently. Unfortunately, there isn't an API to pass raw content directly. An inefficient work-around is to escape the content with xmlEncodeSpecialChars before passing it. A better trick is clearing the old content with xmlNodeSetContent(node, NULL) first and then calling xmlNodeAddContent(node, content). Unlike this function, xmlNodeAddContent accepts raw text.

+
++ + + + + + + + + + + + + + +
cur:the node being modified
content:the new value of the content
Returns:0 on success, 1 on error, -1 if a memory allocation failed.
+
+
+
+

+xmlNodeSetContentLen ()

+
int	xmlNodeSetContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
+
+

See xmlNodeSetContent.

+
++ + + + + + + + + + + + + + + + + + +
cur:the node being modified
content:the new value of the content
len:the size of @content
Returns:0 on success, 1 on error, -1 if a memory allocation failed.
+
+
+
+

+xmlNodeSetLang ()

+
int	xmlNodeSetLang			(xmlNodePtr cur, 
const xmlChar * lang)
+
+

Set the language of a node, i.e. the values of the xml:lang attribute.

+
++ + + + + + + + + + + + + + +
cur:the node being changed
lang:the language description
Returns:0 on success, 1 if arguments are invalid, -1 if a memory allocation failed.
+
+
+
+

+xmlNodeSetName ()

+
void	xmlNodeSetName			(xmlNodePtr cur, 
const xmlChar * name)
+
+

Set (or reset) the name of a node.

+
++ + + + + + + + + + +
cur:the node being changed
name:the new tag name
+
+
+
+

+xmlNodeSetSpacePreserve ()

+
int	xmlNodeSetSpacePreserve		(xmlNodePtr cur, 
int val)
+
+

Set (or reset) the space preserving behaviour of a node, i.e. the value of the xml:space attribute.

+
++ + + + + + + + + + + + + + +
cur:the node being changed
val:the xml:space value ("0": default, 1: "preserve")
Returns:0 on success, 1 if arguments are invalid, -1 if a memory allocation failed.
+
+
+
+

+xmlPreviousElementSibling ()

+
xmlNodePtr	xmlPreviousElementSibling	(xmlNodePtr node)
+
+

Find the closest preceding sibling which is a element. Note that entity references are not expanded.

+
++ + + + + + + + + + +
node:the current node
Returns:the sibling or NULL if no sibling was found.
+
+
+
+

+xmlReconciliateNs ()

+
int	xmlReconciliateNs		(xmlDocPtr doc, 
xmlNodePtr tree)
+
+

This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outside the subtree or invalid/masked. As much as possible the function try to reuse the existing namespaces found in the new environment. If not possible the new namespaces are redeclared on @tree at the top of the given subtree.

+
++ + + + + + + + + + + + + + +
doc:the document
tree:a node defining the subtree to reconciliate
Returns:0 on success or -1 in case of error.
+
+
+
+

+xmlRegisterNodeDefault ()

+
xmlRegisterNodeFunc	xmlRegisterNodeDefault	(xmlRegisterNodeFunc func)
+
+

DEPRECATED: don't use Registers a callback for node creation

+
++ + + + + + + + + + +
func:function pointer to the new RegisterNodeFunc
Returns:the old value of the registration function
+
+
+
+

+xmlRemoveProp ()

+
int	xmlRemoveProp			(xmlAttrPtr cur)
+
+

Unlink and free an attribute including all children. Note this doesn't work for namespace declarations. The attribute must have a non-NULL parent pointer.

+
++ + + + + + + + + + +
cur:an attribute +
Returns:0 on success or -1 if the attribute was not found or arguments are invalid.
+
+
+
+

+xmlReplaceNode ()

+
xmlNodePtr	xmlReplaceNode		(xmlNodePtr old, 
xmlNodePtr cur)
+
+

Unlink the old node. If @cur is provided, it is unlinked and inserted in place of @old. It is an error if @old has no parent. Unlike xmlAddChild, this function doesn't merge text nodes or delete duplicate attributes. See the notes in xmlAddChild.

+
++ + + + + + + + + + + + + + +
old:the old node
cur:the node (optional)
Returns:@old or NULL if arguments are invalid or a memory allocation failed.
+
+
+
+

+xmlSaveFile ()

+
int	xmlSaveFile			(const char * filename, 
xmlDocPtr cur)
+
+

Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used.

+
++ + + + + + + + + + + + + + +
filename:the filename (or URL)
cur:the document
Returns:the number of bytes written or -1 in case of failure.
+
+
+
+

+xmlSaveFileEnc ()

+
int	xmlSaveFileEnc			(const char * filename, 
xmlDocPtr cur,
const char * encoding)
+
+

Dump an XML document, converting it to the given encoding

+
++ + + + + + + + + + + + + + + + + + +
filename:the filename (or URL)
cur:the document
encoding:the name of an encoding (or NULL)
Returns:the number of bytes written or -1 in case of failure.
+
+
+
+

+xmlSaveFileTo ()

+
int	xmlSaveFileTo			(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding)
+
+

Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.

+
++ + + + + + + + + + + + + + + + + + +
buf:an output I/O buffer
cur:the document
encoding:the encoding if any assuming the I/O layer handles the transcoding
Returns:the number of bytes written or -1 in case of failure.
+
+
+
+

+xmlSaveFormatFile ()

+
int	xmlSaveFormatFile		(const char * filename, 
xmlDocPtr cur,
int format)
+
+

Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

+
++ + + + + + + + + + + + + + + + + + +
filename:the filename (or URL)
cur:the document
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure.
+
+
+
+

+xmlSaveFormatFileEnc ()

+
int	xmlSaveFormatFileEnc		(const char * filename, 
xmlDocPtr cur,
const char * encoding,
int format)
+
+

Dump an XML document to a file or an URL.

+
++ + + + + + + + + + + + + + + + + + + + + + +
filename:the filename or URL to output
cur:the document being saved
encoding:the name of the encoding to use or NULL.
format:should formatting spaces be added.
Returns:the number of bytes written or -1 in case of error. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called
+
+
+
+

+xmlSaveFormatFileTo ()

+
int	xmlSaveFormatFileTo		(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format)
+
+

Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.

+
++ + + + + + + + + + + + + + + + + + + + + + +
buf:an output I/O buffer
cur:the document
encoding:the encoding if any assuming the I/O layer handles the transcoding
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure.
+
+
+
+

+xmlSearchNs ()

+
xmlNsPtr	xmlSearchNs		(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * nameSpace)
+
+

Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. @nameSpace can be NULL, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't declare the namespace within those you will be in troubles !!! A warning is generated to cover this case.

+
++ + + + + + + + + + + + + + + + + + +
doc:the document
node:the current node
nameSpace:the namespace prefix
Returns:the namespace pointer or NULL if no namespace was found or a memory allocation failed. Allocations can only fail if the "xml" namespace is queried.
+
+
+
+

+xmlSearchNsByHref ()

+
xmlNsPtr	xmlSearchNsByHref	(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * href)
+
+

Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return NULL otherwise.

+
++ + + + + + + + + + + + + + + + + + +
doc:the document
node:the current node
href:the namespace value
Returns:the namespace pointer or NULL if no namespace was found or a memory allocation failed. Allocations can only fail if the "xml" namespace is queried.
+
+
+
+

+xmlSetBufferAllocationScheme ()

+
void	xmlSetBufferAllocationScheme	(xmlBufferAllocationScheme scheme)
+
+

Set the buffer allocation method. Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, improves performance

+
++ + + + +
scheme:allocation method to use
+
+
+
+

+xmlSetCompressMode ()

+
void	xmlSetCompressMode		(int mode)
+
+

DEPRECATED: Use xmlSetDocCompressMode set the default compression mode used, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression)

+
++ + + + +
mode:the compression ratio
+
+
+
+

+xmlSetDocCompressMode ()

+
void	xmlSetDocCompressMode		(xmlDocPtr doc, 
int mode)
+
+

set the compression ratio for a document, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression)

+
++ + + + + + + + + + +
doc:the document
mode:the compression ratio
+
+
+
+

+xmlSetListDoc ()

+
int	xmlSetListDoc			(xmlNodePtr list, 
xmlDocPtr doc)
+
+

Associate all subtrees in @list with a new document. Internal function, see xmlSetTreeDoc.

+
++ + + + + + + + + + + + + + +
list:a node list
doc:new document
Returns:0 on success. If a memory allocation fails, returns -1. All subtrees will be updated on failure but some strings may be lost.
+
+
+
+

+xmlSetNs ()

+
void	xmlSetNs			(xmlNodePtr node, 
xmlNsPtr ns)
+
+

Set the namespace of an element or attribute node. Passing a NULL namespace unsets the namespace.

+
++ + + + + + + + + + +
node:a node in the document
ns:a namespace pointer (optional)
+
+
+
+

+xmlSetNsProp ()

+
xmlAttrPtr	xmlSetNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)
+
+

Set (or reset) an attribute carried by a node. The ns structure must be in scope, this is not checked

+
++ + + + + + + + + + + + + + + + + + + + + + +
node:the node
ns:the namespace definition
name:the attribute name
value:the attribute value
Returns:the attribute pointer.
+
+
+
+

+xmlSetProp ()

+
xmlAttrPtr	xmlSetProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
+
+

Set (or reset) an attribute carried by a node. If @name has a prefix, then the corresponding namespace-binding will be used, if in scope; it is an error it there's no such ns-binding for the prefix in scope.

+
++ + + + + + + + + + + + + + + + + + +
node:the node
name:the attribute name (a QName)
value:the attribute value
Returns:the attribute pointer.
+
+
+
+

+xmlSetTreeDoc ()

+
int	xmlSetTreeDoc			(xmlNodePtr tree, 
xmlDocPtr doc)
+
+

This is an internal function which shouldn't be used. It is invoked by functions like xmlAddChild, xmlAddSibling or xmlReplaceNode. @tree must be the root node of an unlinked subtree. Associate all nodes in a tree with a new document. Also copy strings from the old document's dictionary and remove ID attributes from the old ID table.

+
++ + + + + + + + + + + + + + +
tree:root of a subtree
doc:new document
Returns:0 on success. If a memory allocation fails, returns -1. The whole tree will be updated on failure but some strings may be lost.
+
+
+
+

+xmlSplitQName2 ()

+
xmlChar *	xmlSplitQName2		(const xmlChar * name, 
xmlChar ** prefix)
+
+

DEPRECATED: This function doesn't report malloc failures. parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName

+
++ + + + + + + + + + + + + + +
name:the full QName
prefix:a xmlChar **
Returns:NULL if the name doesn't have a prefix. Otherwise, returns the local part, and prefix is updated to get the Prefix. Both the return value and the prefix must be freed by the caller.
+
+
+
+

+xmlSplitQName3 ()

+
const xmlChar *	xmlSplitQName3		(const xmlChar * name, 
int * len)
+
+

parse an XML qualified name string,i

+
++ + + + + + + + + + + + + + +
name:the full QName
len:an int *
Returns:NULL if it is not a Qualified Name, otherwise, update len with the length in byte of the prefix and return a pointer to the start of the name without the prefix
+
+
+
+

+xmlStringGetNodeList ()

+
xmlNodePtr	xmlStringGetNodeList	(const xmlDoc * doc, 
const xmlChar * value)
+
+

DEPRECATED: Use xmlNodeSetContent. Parse an attribute value and build a node list containing only text and entity reference nodes. The resulting nodes will be associated with the document if provided. The document is also used to look up entities. The input is not validated. Syntax errors or references to undeclared entities will be ignored silently with unspecified results.

+
++ + + + + + + + + + + + + + +
doc:a document (optional)
value:an attribute value
Returns:a pointer to the first child or NULL if a memory allocation failed.
+
+
+
+

+xmlStringLenGetNodeList ()

+
xmlNodePtr	xmlStringLenGetNodeList	(const xmlDoc * doc, 
const xmlChar * value,
int len)
+
+

DEPRECATED: Use xmlNodeSetContentLen. See xmlStringGetNodeList.

+
++ + + + + + + + + + + + + + + + + + +
doc:a document (optional)
value:an attribute value
len:maximum length of the attribute value
Returns:a pointer to the first child or NULL if a memory allocation failed.
+
+
+
+

+xmlTextConcat ()

+
int	xmlTextConcat			(xmlNodePtr node, 
const xmlChar * content,
int len)
+
+

Concat the given string at the end of the existing node content. If @len is -1, the string length will be calculated.

+
++ + + + + + + + + + + + + + + + + + +
node:the node
content:the content
len:@content length
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+xmlTextMerge ()

+
xmlNodePtr	xmlTextMerge		(xmlNodePtr first, 
xmlNodePtr second)
+
+

Merge the second text node into the first. The second node is unlinked and freed.

+
++ + + + + + + + + + + + + + +
first:the first text node
second:the second text node being merged
Returns:the first text node augmented or NULL in case of error.
+
+
+
+

+xmlThrDefBufferAllocScheme ()

+
xmlBufferAllocationScheme	xmlThrDefBufferAllocScheme	(xmlBufferAllocationScheme v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefDefaultBufferSize ()

+
int	xmlThrDefDefaultBufferSize	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefDeregisterNodeDefault ()

+
xmlDeregisterNodeFunc	xmlThrDefDeregisterNodeDefault	(xmlDeregisterNodeFunc func)
+
+

+
++ + + + + + + + + + +
func:
Returns:
+
+
+
+

+xmlThrDefRegisterNodeDefault ()

+
xmlRegisterNodeFunc	xmlThrDefRegisterNodeDefault	(xmlRegisterNodeFunc func)
+
+

+
++ + + + + + + + + + +
func:
Returns:
+
+
+
+

+xmlUnlinkNode ()

+
void	xmlUnlinkNode			(xmlNodePtr cur)
+
+

Unlink a node from its tree. The node is not freed. Unless it is reinserted, it must be managed manually and freed eventually by calling xmlFreeNode.

+
++ + + + +
cur:the node
+
+
+
+

+xmlUnsetNsProp ()

+
int	xmlUnsetNsProp			(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name)
+
+

Remove an attribute carried by a node.

+
++ + + + + + + + + + + + + + + + + + +
node:the node
ns:the namespace definition
name:the attribute name
Returns:0 if successful, -1 if not found
+
+
+
+

+xmlUnsetProp ()

+
int	xmlUnsetProp			(xmlNodePtr node, 
const xmlChar * name)
+
+

Remove an attribute carried by a node. This handles only attributes in no namespace.

+
++ + + + + + + + + + + + + + +
node:the node
name:the attribute name
Returns:0 if successful, -1 if not found
+
+
+
+

+xmlValidateNCName ()

+
int	xmlValidateNCName		(const xmlChar * value, 
int space)
+
+

Check that a value conforms to the lexical space of NCName

+
++ + + + + + + + + + + + + + +
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlValidateNMToken ()

+
int	xmlValidateNMToken		(const xmlChar * value, 
int space)
+
+

Check that a value conforms to the lexical space of NMToken

+
++ + + + + + + + + + + + + + +
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlValidateName ()

+
int	xmlValidateName			(const xmlChar * value, 
int space)
+
+

Check that a value conforms to the lexical space of Name

+
++ + + + + + + + + + + + + + +
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlValidateQName ()

+
int	xmlValidateQName		(const xmlChar * value, 
int space)
+
+

Check that a value conforms to the lexical space of QName

+
++ + + + + + + + + + + + + + +
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-uri.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-uri.html new file mode 100644 index 0000000000000000000000000000000000000000..04f90899877b19f7d1993748c7af91d05b2f039d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-uri.html @@ -0,0 +1,499 @@ + + + +uri: library of generic URI related routines + + + + + + + + + + + + + + +

uri

+

uri - library of generic URI related routines

+

library of generic URI related routines Implements RFC 2396

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlURI xmlURI;
+typedef xmlURI * xmlURIPtr;
+xmlChar *	xmlBuildRelativeURI	(const xmlChar * URI, 
const xmlChar * base); +int xmlBuildRelativeURISafe (const xmlChar * URI,
const xmlChar * base,
xmlChar ** valPtr); +xmlChar * xmlBuildURI (const xmlChar * URI,
const xmlChar * base); +int xmlBuildURISafe (const xmlChar * URI,
const xmlChar * base,
xmlChar ** valPtr); +xmlChar * xmlCanonicPath (const xmlChar * path); +xmlURIPtr xmlCreateURI (void); +void xmlFreeURI (xmlURIPtr uri); +int xmlNormalizeURIPath (char * path); +xmlURIPtr xmlParseURI (const char * str); +xmlURIPtr xmlParseURIRaw (const char * str,
int raw); +int xmlParseURIReference (xmlURIPtr uri,
const char * str); +int xmlParseURISafe (const char * str,
xmlURIPtr * uriOut); +xmlChar * xmlPathToURI (const xmlChar * path); +void xmlPrintURI (FILE * stream,
xmlURIPtr uri); +xmlChar * xmlSaveUri (xmlURIPtr uri); +xmlChar * xmlURIEscape (const xmlChar * str); +xmlChar * xmlURIEscapeStr (const xmlChar * str,
const xmlChar * list); +char * xmlURIUnescapeString (const char * str,
int len,
char * target); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlURI

+
struct _xmlURI {
+    char *	scheme	: the URI scheme
+    char *	opaque	: opaque part
+    char *	authority	: the authority part
+    char *	server	: the server part
+    char *	user	: the user part
+    int	port	: the port number
+    char *	path	: the path string
+    char *	query	: the query string (deprecated - use with caution)
+    char *	fragment	: the fragment identifier
+    int	cleanup	: parsing potentially unclean URI
+    char *	query_raw	: the query string (as it appears in the URI)
+} xmlURI;
+
+

+
+
+
+

+Typedef xmlURIPtr

+
xmlURI * xmlURIPtr;
+
+

+
+
+
+

+xmlBuildRelativeURI ()

+
xmlChar *	xmlBuildRelativeURI	(const xmlChar * URI, 
const xmlChar * base)
+
+

See xmlBuildRelativeURISafe.

+
++ + + + + + + + + + + + + + +
URI:the URI reference under consideration
base:the base value
Returns:a new URI string (to be freed by the caller) or NULL in case error.
+
+
+
+

+xmlBuildRelativeURISafe ()

+
int	xmlBuildRelativeURISafe		(const xmlChar * URI, 
const xmlChar * base,
xmlChar ** valPtr)
+
+

Expresses the URI of the reference in terms relative to the base. Some examples of this operation include: base = "http://site1.com/docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif pic1.gif http://site2.com/docs/pic1.gif http://site2.com/docs/pic1.gif base = "docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif http://site1.com/docs/pic1.gif Note: if the URI reference is really weird or complicated, it may be worthwhile to first convert it into a "nice" one by calling xmlBuildURI (using 'base') before calling this routine, since this routine (for reasonable efficiency) assumes URI has already been through some validation. Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + +
URI:the URI reference under consideration
base:the base value
valPtr:pointer to result URI
Returns:0 on success, -1 if a memory allocation failed or an error code if URI or base are invalid.
+
+
+
+

+xmlBuildURI ()

+
xmlChar *	xmlBuildURI		(const xmlChar * URI, 
const xmlChar * base)
+
+

Computes he final URI of the reference done by checking that the given URI is valid, and building the final URI using the base URI. This is processed according to section 5.2 of the RFC 2396 5.2. Resolving Relative References to Absolute Form

+
++ + + + + + + + + + + + + + +
URI:the URI instance found in the document
base:the base value
Returns:a new URI string (to be freed by the caller) or NULL in case of error.
+
+
+
+

+xmlBuildURISafe ()

+
int	xmlBuildURISafe			(const xmlChar * URI, 
const xmlChar * base,
xmlChar ** valPtr)
+
+

Computes he final URI of the reference done by checking that the given URI is valid, and building the final URI using the base URI. This is processed according to section 5.2 of the RFC 2396 5.2. Resolving Relative References to Absolute Form Available since 2.13.0.

+
++ + + + + + + + + + + + + + + + + + +
URI:the URI instance found in the document
base:the base value
valPtr:pointer to result URI
Returns:0 on success, -1 if a memory allocation failed or an error code if URI or base are invalid.
+
+
+
+

+xmlCanonicPath ()

+
xmlChar *	xmlCanonicPath		(const xmlChar * path)
+
+

Prepares a path. If the path contains the substring "://", it is considered a Legacy Extended IRI. Characters which aren't allowed in URIs are escaped. Otherwise, the path is considered a filesystem path which is copied without modification. The caller is responsible for freeing the memory occupied by the returned string. If there is insufficient memory available, or the argument is NULL, the function returns NULL.

+
++ + + + + + + + + + +
path:the resource locator in a filesystem notation
Returns:the escaped path.
+
+
+
+

+xmlCreateURI ()

+
xmlURIPtr	xmlCreateURI		(void)
+
+

Simply creates an empty xmlURI

+
++ + + + +
Returns:the new structure or NULL in case of error
+
+
+
+

+xmlFreeURI ()

+
void	xmlFreeURI			(xmlURIPtr uri)
+
+

Free up the xmlURI struct

+
++ + + + +
uri:pointer to an xmlURI +
+
+
+
+

+xmlNormalizeURIPath ()

+
int	xmlNormalizeURIPath		(char * path)
+
+

Applies the 5 normalization steps to a path string--that is, RFC 2396 Section 5.2, steps 6.c through 6.g. Normalization occurs directly on the string, no new allocation is done

+
++ + + + + + + + + + +
path:pointer to the path string
Returns:0 or an error code
+
+
+
+

+xmlParseURI ()

+
xmlURIPtr	xmlParseURI		(const char * str)
+
+

Parse an URI based on RFC 3986 URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

+
++ + + + + + + + + + +
str:the URI string to analyze
Returns:a newly built xmlURIPtr or NULL in case of error
+
+
+
+

+xmlParseURIRaw ()

+
xmlURIPtr	xmlParseURIRaw		(const char * str, 
int raw)
+
+

Parse an URI but allows to keep intact the original fragments. URI-reference = URI / relative-ref

+
++ + + + + + + + + + + + + + +
str:the URI string to analyze
raw:if 1 unescaping of URI pieces are disabled
Returns:a newly built xmlURIPtr or NULL in case of error
+
+
+
+

+xmlParseURIReference ()

+
int	xmlParseURIReference		(xmlURIPtr uri, 
const char * str)
+
+

Parse an URI reference string based on RFC 3986 and fills in the appropriate fields of the @uri structure URI-reference = URI / relative-ref

+
++ + + + + + + + + + + + + + +
uri:pointer to an URI structure
str:the string to analyze
Returns:0 or the error code
+
+
+
+

+xmlParseURISafe ()

+
int	xmlParseURISafe			(const char * str, 
xmlURIPtr * uriOut)
+
+

Parse an URI based on RFC 3986 URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
str:the URI string to analyze
uriOut:optional pointer to parsed URI
Returns:0 on success, an error code (typically 1) if the URI is invalid or -1 if a memory allocation failed.
+
+
+
+

+xmlPathToURI ()

+
xmlChar *	xmlPathToURI		(const xmlChar * path)
+
+

Constructs an URI expressing the existing path

+
++ + + + + + + + + + +
path:the resource locator in a filesystem notation
Returns:a new URI, or a duplicate of the path parameter if the construction fails. The caller is responsible for freeing the memory occupied by the returned string. If there is insufficient memory available, or the argument is NULL, the function returns NULL.
+
+
+
+

+xmlPrintURI ()

+
void	xmlPrintURI			(FILE * stream, 
xmlURIPtr uri)
+
+

Prints the URI in the stream @stream.

+
++ + + + + + + + + + +
stream:a FILE* for the output
uri:pointer to an xmlURI +
+
+
+
+

+xmlSaveUri ()

+
xmlChar *	xmlSaveUri		(xmlURIPtr uri)
+
+

Save the URI as an escaped string

+
++ + + + + + + + + + +
uri:pointer to an xmlURI +
Returns:a new string (to be deallocated by caller)
+
+
+
+

+xmlURIEscape ()

+
xmlChar *	xmlURIEscape		(const xmlChar * str)
+
+

Escaping routine, does not do validity checks ! It will try to escape the chars needing this, but this is heuristic based it's impossible to be sure.

+
++ + + + + + + + + + +
str:the string of the URI to escape
Returns:an copy of the string, but escaped 25 May 2001 Uses xmlParseURI and xmlURIEscapeStr to try to escape correctly according to RFC2396. - Carl Douglas
+
+
+
+

+xmlURIEscapeStr ()

+
xmlChar *	xmlURIEscapeStr		(const xmlChar * str, 
const xmlChar * list)
+
+

This routine escapes a string to hex, ignoring unreserved characters a-z, A-Z, 0-9, "-._~", a few sub-delims "!*'()", the gen-delim "@" (why?) and the characters in the exception list.

+
++ + + + + + + + + + + + + + +
str:string to escape
list:exception list string of chars not to escape
Returns:a new escaped string or NULL in case of error.
+
+
+
+

+xmlURIUnescapeString ()

+
char *	xmlURIUnescapeString		(const char * str, 
int len,
char * target)
+
+

Unescaping routine, but does not check that the string is an URI. The output is a direct unsigned char translation of %XX values (no encoding) Note that the length of the result can only be smaller or same size as the input string.

+
++ + + + + + + + + + + + + + + + + + +
str:the string to unescape
len:the length in bytes to unescape (or <= 0 to indicate full string)
target:optional destination buffer
Returns:a copy of the string, but unescaped, will return NULL only in case of error
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-valid.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-valid.html new file mode 100644 index 0000000000000000000000000000000000000000..a66eb8f5119d27a2874f50af6cb53ae9c30928f5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-valid.html @@ -0,0 +1,2151 @@ + + + +valid: The DTD validation + + + + + + + + + + + + + + +

valid

+

valid - The DTD validation

+

API for the DTD handling and the validity checking

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlHashTable xmlAttributeTable;
+typedef xmlAttributeTable * xmlAttributeTablePtr;
+typedef struct _xmlHashTable xmlElementTable;
+typedef xmlElementTable * xmlElementTablePtr;
+typedef struct _xmlHashTable xmlIDTable;
+typedef xmlIDTable * xmlIDTablePtr;
+typedef struct _xmlHashTable xmlNotationTable;
+typedef xmlNotationTable * xmlNotationTablePtr;
+typedef struct _xmlHashTable xmlRefTable;
+typedef xmlRefTable * xmlRefTablePtr;
+typedef struct _xmlValidCtxt xmlValidCtxt;
+typedef xmlValidCtxt * xmlValidCtxtPtr;
+typedef struct _xmlValidState xmlValidState;
+typedef xmlValidState * xmlValidStatePtr;
+xmlAttributePtr	xmlAddAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * elem,
const xmlChar * name,
const xmlChar * ns,
xmlAttributeType type,
xmlAttributeDefault def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree); +xmlElementPtr xmlAddElementDecl (xmlValidCtxtPtr ctxt,
xmlDtdPtr dtd,
const xmlChar * name,
xmlElementTypeVal type,
xmlElementContentPtr content); +xmlIDPtr xmlAddID (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr); +int xmlAddIDSafe (xmlAttrPtr attr,
const xmlChar * value); +xmlNotationPtr xmlAddNotationDecl (xmlValidCtxtPtr ctxt,
xmlDtdPtr dtd,
const xmlChar * name,
const xmlChar * PublicID,
const xmlChar * SystemID); +xmlRefPtr xmlAddRef (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr); +xmlAttributeTablePtr xmlCopyAttributeTable (xmlAttributeTablePtr table); +xmlElementContentPtr xmlCopyDocElementContent (xmlDocPtr doc,
xmlElementContentPtr cur); +xmlElementContentPtr xmlCopyElementContent (xmlElementContentPtr cur); +xmlElementTablePtr xmlCopyElementTable (xmlElementTablePtr table); +xmlEnumerationPtr xmlCopyEnumeration (xmlEnumerationPtr cur); +xmlNotationTablePtr xmlCopyNotationTable (xmlNotationTablePtr table); +xmlEnumerationPtr xmlCreateEnumeration (const xmlChar * name); +void xmlDumpAttributeDecl (xmlBufferPtr buf,
xmlAttributePtr attr); +void xmlDumpAttributeTable (xmlBufferPtr buf,
xmlAttributeTablePtr table); +void xmlDumpElementDecl (xmlBufferPtr buf,
xmlElementPtr elem); +void xmlDumpElementTable (xmlBufferPtr buf,
xmlElementTablePtr table); +void xmlDumpNotationDecl (xmlBufferPtr buf,
xmlNotationPtr nota); +void xmlDumpNotationTable (xmlBufferPtr buf,
xmlNotationTablePtr table); +void xmlFreeAttributeTable (xmlAttributeTablePtr table); +void xmlFreeDocElementContent (xmlDocPtr doc,
xmlElementContentPtr cur); +void xmlFreeElementContent (xmlElementContentPtr cur); +void xmlFreeElementTable (xmlElementTablePtr table); +void xmlFreeEnumeration (xmlEnumerationPtr cur); +void xmlFreeIDTable (xmlIDTablePtr table); +void xmlFreeNotationTable (xmlNotationTablePtr table); +void xmlFreeRefTable (xmlRefTablePtr table); +void xmlFreeValidCtxt (xmlValidCtxtPtr cur); +xmlAttributePtr xmlGetDtdAttrDesc (xmlDtdPtr dtd,
const xmlChar * elem,
const xmlChar * name); +xmlElementPtr xmlGetDtdElementDesc (xmlDtdPtr dtd,
const xmlChar * name); +xmlNotationPtr xmlGetDtdNotationDesc (xmlDtdPtr dtd,
const xmlChar * name); +xmlAttributePtr xmlGetDtdQAttrDesc (xmlDtdPtr dtd,
const xmlChar * elem,
const xmlChar * name,
const xmlChar * prefix); +xmlElementPtr xmlGetDtdQElementDesc (xmlDtdPtr dtd,
const xmlChar * name,
const xmlChar * prefix); +xmlAttrPtr xmlGetID (xmlDocPtr doc,
const xmlChar * ID); +xmlListPtr xmlGetRefs (xmlDocPtr doc,
const xmlChar * ID); +int xmlIsID (xmlDocPtr doc,
xmlNodePtr elem,
xmlAttrPtr attr); +int xmlIsMixedElement (xmlDocPtr doc,
const xmlChar * name); +int xmlIsRef (xmlDocPtr doc,
xmlNodePtr elem,
xmlAttrPtr attr); +xmlElementContentPtr xmlNewDocElementContent (xmlDocPtr doc,
const xmlChar * name,
xmlElementContentType type); +xmlElementContentPtr xmlNewElementContent (const xmlChar * name,
xmlElementContentType type); +xmlValidCtxtPtr xmlNewValidCtxt (void); +int xmlRemoveID (xmlDocPtr doc,
xmlAttrPtr attr); +int xmlRemoveRef (xmlDocPtr doc,
xmlAttrPtr attr); +void xmlSnprintfElementContent (char * buf,
int size,
xmlElementContentPtr content,
int englob); +void xmlSprintfElementContent (char * buf,
xmlElementContentPtr content,
int englob); +int xmlValidBuildContentModel (xmlValidCtxtPtr ctxt,
xmlElementPtr elem); +xmlChar * xmlValidCtxtNormalizeAttributeValue (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value); +int xmlValidGetPotentialChildren (xmlElementContent * ctree,
const xmlChar ** names,
int * len,
int max); +int xmlValidGetValidElements (xmlNode * prev,
xmlNode * next,
const xmlChar ** names,
int max); +xmlChar * xmlValidNormalizeAttributeValue (xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value); +int xmlValidateAttributeDecl (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlAttributePtr attr); +int xmlValidateAttributeValue (xmlAttributeType type,
const xmlChar * value); +int xmlValidateDocument (xmlValidCtxtPtr ctxt,
xmlDocPtr doc); +int xmlValidateDocumentFinal (xmlValidCtxtPtr ctxt,
xmlDocPtr doc); +int xmlValidateDtd (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlDtdPtr dtd); +int xmlValidateDtdFinal (xmlValidCtxtPtr ctxt,
xmlDocPtr doc); +int xmlValidateElement (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr root); +int xmlValidateElementDecl (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlElementPtr elem); +int xmlValidateNameValue (const xmlChar * value); +int xmlValidateNamesValue (const xmlChar * value); +int xmlValidateNmtokenValue (const xmlChar * value); +int xmlValidateNmtokensValue (const xmlChar * value); +int xmlValidateNotationDecl (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNotationPtr nota); +int xmlValidateNotationUse (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
const xmlChar * notationName); +int xmlValidateOneAttribute (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem,
xmlAttrPtr attr,
const xmlChar * value); +int xmlValidateOneElement (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem); +int xmlValidateOneNamespace (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * prefix,
xmlNsPtr ns,
const xmlChar * value); +int xmlValidatePopElement (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname); +int xmlValidatePushCData (xmlValidCtxtPtr ctxt,
const xmlChar * data,
int len); +int xmlValidatePushElement (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname); +int xmlValidateRoot (xmlValidCtxtPtr ctxt,
xmlDocPtr doc); +typedef void xmlValidityErrorFunc (void * ctx,
const char * msg,
... ...); +typedef void xmlValidityWarningFunc (void * ctx,
const char * msg,
... ...); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlAttributeTable

+
struct _xmlHashTable {
+The content of this structure is not made public by the API.
+} xmlAttributeTable;
+
+

+
+
+
+

+Typedef xmlAttributeTablePtr

+
xmlAttributeTable * xmlAttributeTablePtr;
+
+

+
+
+
+

+Structure xmlElementTable

+
struct _xmlHashTable {
+The content of this structure is not made public by the API.
+} xmlElementTable;
+
+

+
+
+
+

+Typedef xmlElementTablePtr

+
xmlElementTable * xmlElementTablePtr;
+
+

+
+
+
+

+Structure xmlIDTable

+
struct _xmlHashTable {
+The content of this structure is not made public by the API.
+} xmlIDTable;
+
+

+
+
+
+

+Typedef xmlIDTablePtr

+
xmlIDTable * xmlIDTablePtr;
+
+

+
+
+
+

+Structure xmlNotationTable

+
struct _xmlHashTable {
+The content of this structure is not made public by the API.
+} xmlNotationTable;
+
+

+
+
+
+

+Typedef xmlNotationTablePtr

+
xmlNotationTable * xmlNotationTablePtr;
+
+

+
+
+
+

+Structure xmlRefTable

+
struct _xmlHashTable {
+The content of this structure is not made public by the API.
+} xmlRefTable;
+
+

+
+
+
+

+Typedef xmlRefTablePtr

+
xmlRefTable * xmlRefTablePtr;
+
+

+
+
+
+

+Structure xmlValidCtxt

+
struct _xmlValidCtxt {
+    void *	userData	: user specific data block
+    xmlValidityErrorFunc	error	: the callback in case of errors
+    xmlValidityWarningFunc	warning	: the callback in case of warning Node analysis stack used when validat
+    xmlNodePtr	node	: Current parsed Node
+    int	nodeNr	: Depth of the parsing stack
+    int	nodeMax	: Max depth of the parsing stack
+    xmlNodePtr *	nodeTab	: array of nodes
+    unsigned int	flags	: internal flags
+    xmlDocPtr	doc	: the document
+    int	valid	: temporary validity check result state state used for non-determinist
+    xmlValidState *	vstate	: current state
+    int	vstateNr	: Depth of the validation stack
+    int	vstateMax	: Max depth of the validation stack
+    xmlValidState *	vstateTab	: array of validation states
+    xmlAutomataPtr	am	: the automata
+    xmlAutomataStatePtr	state	: used to build the automata
+    void *	am
+    void *	state
+} xmlValidCtxt;
+
+

+
+
+
+

+Typedef xmlValidCtxtPtr

+
xmlValidCtxt * xmlValidCtxtPtr;
+
+

+
+
+
+

+Structure xmlValidState

+
struct _xmlValidState {
+The content of this structure is not made public by the API.
+} xmlValidState;
+
+

+
+
+
+

+Typedef xmlValidStatePtr

+
xmlValidState * xmlValidStatePtr;
+
+

+
+
+
+

+Function type xmlValidityErrorFunc

+
void	xmlValidityErrorFunc		(void * ctx, 
const char * msg,
... ...)
+
+

Callback called when a validity error is found. This is a message oriented function similar to an *printf function.

+
++ + + + + + + + + + + + + + +
ctx:usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user.
msg:the string to format *printf like vararg
...:remaining arguments to the format
+
+
+
+

+Function type xmlValidityWarningFunc

+
void	xmlValidityWarningFunc		(void * ctx, 
const char * msg,
... ...)
+
+

Callback called when a validity warning is found. This is a message oriented function similar to an *printf function.

+
++ + + + + + + + + + + + + + +
ctx:usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user.
msg:the string to format *printf like vararg
...:remaining arguments to the format
+
+
+
+

+xmlAddAttributeDecl ()

+
xmlAttributePtr	xmlAddAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * elem,
const xmlChar * name,
const xmlChar * ns,
xmlAttributeType type,
xmlAttributeDefault def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+
+

Register a new attribute declaration Note that @tree becomes the ownership of the DTD

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
dtd:pointer to the DTD
elem:the element name
name:the attribute name
ns:the attribute namespace prefix
type:the attribute type
def:the attribute default type
defaultValue:the attribute default value
tree:if it's an enumeration, the associated list
Returns:NULL if not new, otherwise the attribute decl
+
+
+
+

+xmlAddElementDecl ()

+
xmlElementPtr	xmlAddElementDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
xmlElementTypeVal type,
xmlElementContentPtr content)
+
+

Register a new element declaration

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
dtd:pointer to the DTD
name:the entity name
type:the element type
content:the element content tree or NULL
Returns:NULL if not, otherwise the entity
+
+
+
+

+xmlAddID ()

+
xmlIDPtr	xmlAddID		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)
+
+

Register a new id declaration

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:pointer to the document
value:the value name
attr:the attribute holding the ID
Returns:NULL if not, otherwise the new xmlIDPtr +
+
+
+
+

+xmlAddIDSafe ()

+
int	xmlAddIDSafe			(xmlAttrPtr attr, 
const xmlChar * value)
+
+

Register a new id declaration Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
attr:the attribute holding the ID
value:the attribute (ID) value
Returns:1 on success, 0 if the ID already exists, -1 if a memory allocation fails.
+
+
+
+

+xmlAddNotationDecl ()

+
xmlNotationPtr	xmlAddNotationDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
const xmlChar * PublicID,
const xmlChar * SystemID)
+
+

Register a new notation declaration

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
dtd:pointer to the DTD
name:the entity name
PublicID:the public identifier or NULL
SystemID:the system identifier or NULL
Returns:NULL if not, otherwise the entity
+
+
+
+

+xmlAddRef ()

+
xmlRefPtr	xmlAddRef		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)
+
+

DEPRECATED, do not use. This function will be removed from the public API. Register a new ref declaration

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:pointer to the document
value:the value name
attr:the attribute holding the Ref
Returns:NULL if not, otherwise the new xmlRefPtr +
+
+
+
+

+xmlCopyAttributeTable ()

+
xmlAttributeTablePtr	xmlCopyAttributeTable	(xmlAttributeTablePtr table)
+
+

Build a copy of an attribute table.

+
++ + + + + + + + + + +
table:An attribute table
Returns:the new xmlAttributeTablePtr or NULL in case of error.
+
+
+
+

+xmlCopyDocElementContent ()

+
xmlElementContentPtr	xmlCopyDocElementContent	(xmlDocPtr doc, 
xmlElementContentPtr cur)
+
+

Build a copy of an element content description.

+
++ + + + + + + + + + + + + + +
doc:the document owning the element declaration
cur:An element content pointer.
Returns:the new xmlElementContentPtr or NULL in case of error.
+
+
+
+

+xmlCopyElementContent ()

+
xmlElementContentPtr	xmlCopyElementContent	(xmlElementContentPtr cur)
+
+

Build a copy of an element content description. Deprecated, use xmlCopyDocElementContent instead

+
++ + + + + + + + + + +
cur:An element content pointer.
Returns:the new xmlElementContentPtr or NULL in case of error.
+
+
+
+

+xmlCopyElementTable ()

+
xmlElementTablePtr	xmlCopyElementTable	(xmlElementTablePtr table)
+
+

Build a copy of an element table.

+
++ + + + + + + + + + +
table:An element table
Returns:the new xmlElementTablePtr or NULL in case of error.
+
+
+
+

+xmlCopyEnumeration ()

+
xmlEnumerationPtr	xmlCopyEnumeration	(xmlEnumerationPtr cur)
+
+

Copy an enumeration attribute node (recursive).

+
++ + + + + + + + + + +
cur:the tree to copy.
Returns:the xmlEnumerationPtr just created or NULL in case of error.
+
+
+
+

+xmlCopyNotationTable ()

+
xmlNotationTablePtr	xmlCopyNotationTable	(xmlNotationTablePtr table)
+
+

Build a copy of a notation table.

+
++ + + + + + + + + + +
table:A notation table
Returns:the new xmlNotationTablePtr or NULL in case of error.
+
+
+
+

+xmlCreateEnumeration ()

+
xmlEnumerationPtr	xmlCreateEnumeration	(const xmlChar * name)
+
+

create and initialize an enumeration attribute node.

+
++ + + + + + + + + + +
name:the enumeration name or NULL
Returns:the xmlEnumerationPtr just created or NULL in case of error.
+
+
+
+

+xmlDumpAttributeDecl ()

+
void	xmlDumpAttributeDecl		(xmlBufferPtr buf, 
xmlAttributePtr attr)
+
+

DEPRECATED: Use xmlSaveTree. This will dump the content of the attribute declaration as an XML DTD definition

+
++ + + + + + + + + + +
buf:the XML buffer output
attr:An attribute declaration
+
+
+
+

+xmlDumpAttributeTable ()

+
void	xmlDumpAttributeTable		(xmlBufferPtr buf, 
xmlAttributeTablePtr table)
+
+

DEPRECATED: Don't use. This will dump the content of the attribute table as an XML DTD definition

+
++ + + + + + + + + + +
buf:the XML buffer output
table:An attribute table
+
+
+
+

+xmlDumpElementDecl ()

+
void	xmlDumpElementDecl		(xmlBufferPtr buf, 
xmlElementPtr elem)
+
+

DEPRECATED: Use xmlSaveTree. This will dump the content of the element declaration as an XML DTD definition

+
++ + + + + + + + + + +
buf:the XML buffer output
elem:An element table
+
+
+
+

+xmlDumpElementTable ()

+
void	xmlDumpElementTable		(xmlBufferPtr buf, 
xmlElementTablePtr table)
+
+

DEPRECATED: Don't use. This will dump the content of the element table as an XML DTD definition

+
++ + + + + + + + + + +
buf:the XML buffer output
table:An element table
+
+
+
+

+xmlDumpNotationDecl ()

+
void	xmlDumpNotationDecl		(xmlBufferPtr buf, 
xmlNotationPtr nota)
+
+

DEPRECATED: Don't use. This will dump the content the notation declaration as an XML DTD definition

+
++ + + + + + + + + + +
buf:the XML buffer output
nota:A notation declaration
+
+
+
+

+xmlDumpNotationTable ()

+
void	xmlDumpNotationTable		(xmlBufferPtr buf, 
xmlNotationTablePtr table)
+
+

DEPRECATED: Don't use. This will dump the content of the notation table as an XML DTD definition

+
++ + + + + + + + + + +
buf:the XML buffer output
table:A notation table
+
+
+
+

+xmlFreeAttributeTable ()

+
void	xmlFreeAttributeTable		(xmlAttributeTablePtr table)
+
+

Deallocate the memory used by an entities hash table.

+
++ + + + +
table:An attribute table
+
+
+
+

+xmlFreeDocElementContent ()

+
void	xmlFreeDocElementContent	(xmlDocPtr doc, 
xmlElementContentPtr cur)
+
+

Free an element content structure. The whole subtree is removed.

+
++ + + + + + + + + + +
doc:the document owning the element declaration
cur:the element content tree to free
+
+
+
+

+xmlFreeElementContent ()

+
void	xmlFreeElementContent		(xmlElementContentPtr cur)
+
+

Free an element content structure. The whole subtree is removed. Deprecated, use xmlFreeDocElementContent instead

+
++ + + + +
cur:the element content tree to free
+
+
+
+

+xmlFreeElementTable ()

+
void	xmlFreeElementTable		(xmlElementTablePtr table)
+
+

Deallocate the memory used by an element hash table.

+
++ + + + +
table:An element table
+
+
+
+

+xmlFreeEnumeration ()

+
void	xmlFreeEnumeration		(xmlEnumerationPtr cur)
+
+

free an enumeration attribute node (recursive).

+
++ + + + +
cur:the tree to free.
+
+
+
+

+xmlFreeIDTable ()

+
void	xmlFreeIDTable			(xmlIDTablePtr table)
+
+

Deallocate the memory used by an ID hash table.

+
++ + + + +
table:An id table
+
+
+
+

+xmlFreeNotationTable ()

+
void	xmlFreeNotationTable		(xmlNotationTablePtr table)
+
+

Deallocate the memory used by an entities hash table.

+
++ + + + +
table:An notation table
+
+
+
+

+xmlFreeRefTable ()

+
void	xmlFreeRefTable			(xmlRefTablePtr table)
+
+

DEPRECATED, do not use. This function will be removed from the public API. Deallocate the memory used by an Ref hash table.

+
++ + + + +
table:An ref table
+
+
+
+

+xmlFreeValidCtxt ()

+
void	xmlFreeValidCtxt		(xmlValidCtxtPtr cur)
+
+

Free a validation context structure.

+
++ + + + +
cur:the validation context to free
+
+
+
+

+xmlGetDtdAttrDesc ()

+
xmlAttributePtr	xmlGetDtdAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name)
+
+

Search the DTD for the description of this attribute on this element.

+
++ + + + + + + + + + + + + + + + + + +
dtd:a pointer to the DtD to search
elem:the element name
name:the attribute name
Returns:the xmlAttributePtr if found or NULL
+
+
+
+

+xmlGetDtdElementDesc ()

+
xmlElementPtr	xmlGetDtdElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name)
+
+

Search the DTD for the description of this element NOTE: A NULL return value can also mean that a memory allocation failed.

+
++ + + + + + + + + + + + + + +
dtd:a pointer to the DtD to search
name:the element name
Returns:the xmlElementPtr if found or NULL
+
+
+
+

+xmlGetDtdNotationDesc ()

+
xmlNotationPtr	xmlGetDtdNotationDesc	(xmlDtdPtr dtd, 
const xmlChar * name)
+
+

Search the DTD for the description of this notation

+
++ + + + + + + + + + + + + + +
dtd:a pointer to the DtD to search
name:the notation name
Returns:the xmlNotationPtr if found or NULL
+
+
+
+

+xmlGetDtdQAttrDesc ()

+
xmlAttributePtr	xmlGetDtdQAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name,
const xmlChar * prefix)
+
+

Search the DTD for the description of this qualified attribute on this element.

+
++ + + + + + + + + + + + + + + + + + + + + + +
dtd:a pointer to the DtD to search
elem:the element name
name:the attribute name
prefix:the attribute namespace prefix
Returns:the xmlAttributePtr if found or NULL
+
+
+
+

+xmlGetDtdQElementDesc ()

+
xmlElementPtr	xmlGetDtdQElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name,
const xmlChar * prefix)
+
+

Search the DTD for the description of this element

+
++ + + + + + + + + + + + + + + + + + +
dtd:a pointer to the DtD to search
name:the element name
prefix:the element namespace prefix
Returns:the xmlElementPtr if found or NULL
+
+
+
+

+xmlGetID ()

+
xmlAttrPtr	xmlGetID		(xmlDocPtr doc, 
const xmlChar * ID)
+
+

Search the attribute declaring the given ID

+
++ + + + + + + + + + + + + + +
doc:pointer to the document
ID:the ID value
Returns:NULL if not found, otherwise the xmlAttrPtr defining the ID
+
+
+
+

+xmlGetRefs ()

+
xmlListPtr	xmlGetRefs		(xmlDocPtr doc, 
const xmlChar * ID)
+
+

DEPRECATED, do not use. This function will be removed from the public API. Find the set of references for the supplied ID.

+
++ + + + + + + + + + + + + + +
doc:pointer to the document
ID:the ID value
Returns:NULL if not found, otherwise node set for the ID.
+
+
+
+

+xmlIsID ()

+
int	xmlIsID			(xmlDocPtr doc, 
xmlNodePtr elem,
xmlAttrPtr attr)
+
+

Determine whether an attribute is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically.

+
++ + + + + + + + + + + + + + + + + + +
doc:the document
elem:the element carrying the attribute +
attr:the attribute +
Returns:0 or 1 depending on the lookup result or -1 if a memory allocation failed.
+
+
+
+

+xmlIsMixedElement ()

+
int	xmlIsMixedElement		(xmlDocPtr doc, 
const xmlChar * name)
+
+

Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs

+
++ + + + + + + + + + + + + + +
doc:the document
name:the element name
Returns:0 if no, 1 if yes, and -1 if no element description is available
+
+
+
+

+xmlIsRef ()

+
int	xmlIsRef			(xmlDocPtr doc, 
xmlNodePtr elem,
xmlAttrPtr attr)
+
+

DEPRECATED, do not use. This function will be removed from the public API. Determine whether an attribute is of type Ref. In case we have DTD(s) then this is simple, otherwise we use an heuristic: name Ref (upper or lowercase).

+
++ + + + + + + + + + + + + + + + + + +
doc:the document
elem:the element carrying the attribute +
attr:the attribute +
Returns:0 or 1 depending on the lookup result
+
+
+
+

+xmlNewDocElementContent ()

+
xmlElementContentPtr	xmlNewDocElementContent	(xmlDocPtr doc, 
const xmlChar * name,
xmlElementContentType type)
+
+

Allocate an element content structure for the document.

+
++ + + + + + + + + + + + + + + + + + +
doc:the document
name:the subelement name or NULL
type:the type of element content decl
Returns:NULL if not, otherwise the new element content structure
+
+
+
+

+xmlNewElementContent ()

+
xmlElementContentPtr	xmlNewElementContent	(const xmlChar * name, 
xmlElementContentType type)
+
+

Allocate an element content structure. Deprecated in favor of xmlNewDocElementContent

+
++ + + + + + + + + + + + + + +
name:the subelement name or NULL
type:the type of element content decl
Returns:NULL if not, otherwise the new element content structure
+
+
+
+

+xmlNewValidCtxt ()

+
xmlValidCtxtPtr	xmlNewValidCtxt		(void)
+
+

Allocate a validation context structure.

+
++ + + + +
Returns:NULL if not, otherwise the new validation context structure
+
+
+
+

+xmlRemoveID ()

+
int	xmlRemoveID			(xmlDocPtr doc, 
xmlAttrPtr attr)
+
+

Remove the given attribute from the ID table maintained internally.

+
++ + + + + + + + + + + + + + +
doc:the document
attr:the attribute +
Returns:-1 if the lookup failed and 0 otherwise
+
+
+
+

+xmlRemoveRef ()

+
int	xmlRemoveRef			(xmlDocPtr doc, 
xmlAttrPtr attr)
+
+

DEPRECATED, do not use. This function will be removed from the public API. Remove the given attribute from the Ref table maintained internally.

+
++ + + + + + + + + + + + + + +
doc:the document
attr:the attribute +
Returns:-1 if the lookup failed and 0 otherwise
+
+
+
+

+xmlSnprintfElementContent ()

+
void	xmlSnprintfElementContent	(char * buf, 
int size,
xmlElementContentPtr content,
int englob)
+
+

This will dump the content of the element content definition Intended just for the debug routine

+
++ + + + + + + + + + + + + + + + + + +
buf:an output buffer
size:the buffer size
content:An element table
englob:1 if one must print the englobing parenthesis, 0 otherwise
+
+
+
+

+xmlSprintfElementContent ()

+
void	xmlSprintfElementContent	(char * buf, 
xmlElementContentPtr content,
int englob)
+
+

Deprecated, unsafe, use xmlSnprintfElementContent

+
++ + + + + + + + + + + + + + +
buf:an output buffer
content:An element table
englob:1 if one must print the englobing parenthesis, 0 otherwise
+
+
+
+

+xmlValidBuildContentModel ()

+
int	xmlValidBuildContentModel	(xmlValidCtxtPtr ctxt, 
xmlElementPtr elem)
+
+

DEPRECATED: Internal function, don't use. (Re)Build the automata associated to the content model of this element

+
++ + + + + + + + + + + + + + +
ctxt:a validation context
elem:an element declaration node
Returns:1 in case of success, 0 in case of error
+
+
+
+

+xmlValidCtxtNormalizeAttributeValue ()

+
xmlChar *	xmlValidCtxtNormalizeAttributeValue	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
+
+

DEPRECATED: Internal function, don't use. Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by single space (#x20) character. Also check VC: Standalone Document Declaration in P32, and update ctxt->valid accordingly

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context or NULL
doc:the document
elem:the parent
name:the attribute name
value:the attribute value
Returns:a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value.
+
+
+
+

+xmlValidGetPotentialChildren ()

+
int	xmlValidGetPotentialChildren	(xmlElementContent * ctree, 
const xmlChar ** names,
int * len,
int max)
+
+

Build/extend a list of potential children allowed by the content tree

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctree:an element content tree
names:an array to store the list of child names
len:a pointer to the number of element in the list
max:the size of the array
Returns:the number of element in the list, or -1 in case of error.
+
+
+
+

+xmlValidGetValidElements ()

+
int	xmlValidGetValidElements	(xmlNode * prev, 
xmlNode * next,
const xmlChar ** names,
int max)
+
+

This function returns the list of authorized children to insert within an existing tree while respecting the validity constraints forced by the Dtd. The insertion point is defined using @prev and @next in the following ways: to insert before 'node': xmlValidGetValidElements(node->prev, node, ... to insert next 'node': xmlValidGetValidElements(node, node->next, ... to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ... pointers to the element names are inserted at the beginning of the array and do not need to be freed.

+
++ + + + + + + + + + + + + + + + + + + + + + +
prev:an element to insert after
next:an element to insert next
names:an array to store the list of child names
max:the size of the array
Returns:the number of element in the list, or -1 in case of error. If the function returns the value @max the caller is invited to grow the receiving array and retry.
+
+
+
+

+xmlValidNormalizeAttributeValue ()

+
xmlChar *	xmlValidNormalizeAttributeValue	(xmlDocPtr doc, 
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
+
+

DEPRECATED: Internal function, don't use. Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by single space (#x20) character.

+
++ + + + + + + + + + + + + + + + + + + + + + +
doc:the document
elem:the parent
name:the attribute name
value:the attribute value
Returns:a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value.
+
+
+
+

+xmlValidateAttributeDecl ()

+
int	xmlValidateAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlAttributePtr attr)
+
+

DEPRECATED: Internal function, don't use. Try to validate a single attribute definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Default Legal ] - [ VC: Enumeration ] - [ VC: ID Attribute Default ] The ID/IDREF uniqueness and matching are done separately

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
attr:an attribute definition
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateAttributeValue ()

+
int	xmlValidateAttributeValue	(xmlAttributeType type, 
const xmlChar * value)
+
+

DEPRECATED: Internal function, don't use. Validate that the given attribute value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.

+
++ + + + + + + + + + + + + + +
type:an attribute type
value:an attribute value
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateDocument ()

+
int	xmlValidateDocument		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)
+
+

Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree.

+
++ + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateDocumentFinal ()

+
int	xmlValidateDocumentFinal	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)
+
+

DEPRECATED: Internal function, don't use. Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec Check all the IDREF/IDREFS attributes definition for validity

+
++ + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateDtd ()

+
int	xmlValidateDtd			(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlDtdPtr dtd)
+
+

Try to validate the document against the dtd instance Basically it does check all the definitions in the DtD. Note the the internal subset (if present) is de-coupled (i.e. not used), which could give problems if ID or IDREF is present.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
dtd:a dtd instance
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateDtdFinal ()

+
int	xmlValidateDtdFinal		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)
+
+

DEPRECATED: Internal function, don't use. Does the final step for the dtds validation once all the subsets have been parsed basically it does the following checks described by the XML Rec - check that ENTITY and ENTITIES type attributes default or possible values matches one of the defined entities. - check that NOTATION type attributes default or possible values matches one of the defined notations.

+
++ + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
Returns:1 if valid or 0 if invalid and -1 if not well-formed
+
+
+
+

+xmlValidateElement ()

+
int	xmlValidateElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr root)
+
+

Try to validate the subtree under an element

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
root:an element instance
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateElementDecl ()

+
int	xmlValidateElementDecl		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlElementPtr elem)
+
+

DEPRECATED: Internal function, don't use. Try to validate a single element definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: One ID per Element Type ] - [ VC: No Duplicate Types ] - [ VC: Unique Element Type Declaration ]

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
elem:an element definition
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateNameValue ()

+
int	xmlValidateNameValue		(const xmlChar * value)
+
+

Validate that the given value match Name production

+
++ + + + + + + + + + +
value:an Name value
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateNamesValue ()

+
int	xmlValidateNamesValue		(const xmlChar * value)
+
+

Validate that the given value match Names production

+
++ + + + + + + + + + +
value:an Names value
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateNmtokenValue ()

+
int	xmlValidateNmtokenValue		(const xmlChar * value)
+
+

Validate that the given value match Nmtoken production [ VC: Name Token ]

+
++ + + + + + + + + + +
value:an Nmtoken value
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateNmtokensValue ()

+
int	xmlValidateNmtokensValue	(const xmlChar * value)
+
+

Validate that the given value match Nmtokens production [ VC: Name Token ]

+
++ + + + + + + + + + +
value:an Nmtokens value
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateNotationDecl ()

+
int	xmlValidateNotationDecl		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNotationPtr nota)
+
+

DEPRECATED: Internal function, don't use. Try to validate a single notation definition basically it does the following checks as described by the XML-1.0 recommendation: - it seems that no validity constraint exists on notation declarations But this function get called anyway ...

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
nota:a notation definition
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateNotationUse ()

+
int	xmlValidateNotationUse		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * notationName)
+
+

DEPRECATED: Internal function, don't use. Validate that the given name match a notation declaration. - [ VC: Notation Declared ]

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:the document
notationName:the notation name to check
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateOneAttribute ()

+
int	xmlValidateOneAttribute		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
xmlAttrPtr attr,
const xmlChar * value)
+
+

DEPRECATED: Internal function, don't use. Try to validate a single attribute for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
elem:an element instance
attr:an attribute instance
value:the attribute value (without entities processing)
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateOneElement ()

+
int	xmlValidateOneElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
+
+

DEPRECATED: Internal function, don't use. Try to validate a single element and it's attributes, basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC: Required Attribute ] Then call xmlValidateOneAttribute() for each attribute present. The ID/IDREF checkings are done separately

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
elem:an element instance
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidateOneNamespace ()

+
int	xmlValidateOneNamespace		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * prefix,
xmlNsPtr ns,
const xmlChar * value)
+
+

DEPRECATED: Internal function, don't use. Try to validate a single namespace declaration for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
elem:an element instance
prefix:the namespace prefix
ns:an namespace declaration instance
value:the attribute value (without entities processing)
Returns:1 if valid or 0 otherwise
+
+
+
+

+xmlValidatePopElement ()

+
int	xmlValidatePopElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
+
+

DEPRECATED: Internal function, don't use. Pop the element end from the validation stack.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
elem:an element instance
qname:the qualified name as appearing in the serialization
Returns:1 if no validation problem was found or 0 otherwise
+
+
+
+

+xmlValidatePushCData ()

+
int	xmlValidatePushCData		(xmlValidCtxtPtr ctxt, 
const xmlChar * data,
int len)
+
+

DEPRECATED: Internal function, don't use. check the CData parsed for validation in the current stack

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the validation context
data:some character data read
len:the length of the data
Returns:1 if no validation problem was found or 0 otherwise
+
+
+
+

+xmlValidatePushElement ()

+
int	xmlValidatePushElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
+
+

DEPRECATED: Internal function, don't use. Push a new element start on the validation stack.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
elem:an element instance
qname:the qualified name as appearing in the serialization
Returns:1 if no validation problem was found or 0 otherwise
+
+
+
+

+xmlValidateRoot ()

+
int	xmlValidateRoot			(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)
+
+

DEPRECATED: Internal function, don't use. Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element

+
++ + + + + + + + + + + + + + +
ctxt:the validation context
doc:a document instance
Returns:1 if valid or 0 otherwise
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xinclude.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xinclude.html new file mode 100644 index 0000000000000000000000000000000000000000..eba01b74cadc032cb50d905b1314c6b908f1a109 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xinclude.html @@ -0,0 +1,438 @@ + + + +xinclude: implementation of XInclude + + + + + + + + + + + + + + +

xinclude

+

xinclude - implementation of XInclude

+

API to handle XInclude processing, implements the World Wide Web Consortium Last Call Working Draft 10 November 2003

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define XINCLUDE_FALLBACK;
+#define XINCLUDE_HREF;
+#define XINCLUDE_NODE;
+#define XINCLUDE_NS;
+#define XINCLUDE_OLD_NS;
+#define XINCLUDE_PARSE;
+#define XINCLUDE_PARSE_ENCODING;
+#define XINCLUDE_PARSE_TEXT;
+#define XINCLUDE_PARSE_XML;
+#define XINCLUDE_PARSE_XPOINTER;
+typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
+typedef xmlXIncludeCtxt * xmlXIncludeCtxtPtr;
+void	xmlXIncludeFreeContext		(xmlXIncludeCtxtPtr ctxt);
+int	xmlXIncludeGetLastError		(xmlXIncludeCtxtPtr ctxt);
+xmlXIncludeCtxtPtr	xmlXIncludeNewContext	(xmlDocPtr doc);
+int	xmlXIncludeProcess		(xmlDocPtr doc);
+int	xmlXIncludeProcessFlags		(xmlDocPtr doc, 
int flags); +int xmlXIncludeProcessFlagsData (xmlDocPtr doc,
int flags,
void * data); +int xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
xmlNodePtr node); +int xmlXIncludeProcessTree (xmlNodePtr tree); +int xmlXIncludeProcessTreeFlags (xmlNodePtr tree,
int flags); +int xmlXIncludeProcessTreeFlagsData (xmlNodePtr tree,
int flags,
void * data); +void xmlXIncludeSetErrorHandler (xmlXIncludeCtxtPtr ctxt,
xmlStructuredErrorFunc handler,
void * data); +int xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt,
int flags); +
+
+

Description

+
+

Details

+
+
+

+Macro XINCLUDE_FALLBACK

+
#define XINCLUDE_FALLBACK;
+
+

Macro defining "fallback"

+
+
+
+

+Macro XINCLUDE_HREF

+
#define XINCLUDE_HREF;
+
+

Macro defining "href"

+
+
+
+

+Macro XINCLUDE_NODE

+
#define XINCLUDE_NODE;
+
+

Macro defining "include"

+
+
+
+

+Macro XINCLUDE_NS

+
#define XINCLUDE_NS;
+
+

Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude

+
+
+
+

+Macro XINCLUDE_OLD_NS

+
#define XINCLUDE_OLD_NS;
+
+

Macro defining the draft Xinclude namespace: http://www.w3.org/2001/XInclude

+
+
+
+

+Macro XINCLUDE_PARSE

+
#define XINCLUDE_PARSE;
+
+

Macro defining "parse"

+
+
+
+

+Macro XINCLUDE_PARSE_ENCODING

+
#define XINCLUDE_PARSE_ENCODING;
+
+

Macro defining "encoding"

+
+
+
+

+Macro XINCLUDE_PARSE_TEXT

+
#define XINCLUDE_PARSE_TEXT;
+
+

Macro defining "text"

+
+
+
+

+Macro XINCLUDE_PARSE_XML

+
#define XINCLUDE_PARSE_XML;
+
+

Macro defining "xml"

+
+
+
+

+Macro XINCLUDE_PARSE_XPOINTER

+
#define XINCLUDE_PARSE_XPOINTER;
+
+

Macro defining "xpointer"

+
+
+
+

+Structure xmlXIncludeCtxt

+
struct _xmlXIncludeCtxt {
+The content of this structure is not made public by the API.
+} xmlXIncludeCtxt;
+
+

+
+
+
+

+Typedef xmlXIncludeCtxtPtr

+
xmlXIncludeCtxt * xmlXIncludeCtxtPtr;
+
+

+
+
+
+

+xmlXIncludeFreeContext ()

+
void	xmlXIncludeFreeContext		(xmlXIncludeCtxtPtr ctxt)
+
+

Free an XInclude context

+
++ + + + +
ctxt:the XInclude context
+
+
+
+

+xmlXIncludeGetLastError ()

+
int	xmlXIncludeGetLastError		(xmlXIncludeCtxtPtr ctxt)
+
+

Available since 2.13.0.

+
++ + + + + + + + + + +
ctxt:an XInclude processing context
Returns:the last error code.
+
+
+
+

+xmlXIncludeNewContext ()

+
xmlXIncludeCtxtPtr	xmlXIncludeNewContext	(xmlDocPtr doc)
+
+

Creates a new XInclude context

+
++ + + + + + + + + + +
doc:an XML Document
Returns:the new set
+
+
+
+

+xmlXIncludeProcess ()

+
int	xmlXIncludeProcess		(xmlDocPtr doc)
+
+

Implement the XInclude substitution on the XML document @doc

+
++ + + + + + + + + + +
doc:an XML document
Returns:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
+
+
+
+

+xmlXIncludeProcessFlags ()

+
int	xmlXIncludeProcessFlags		(xmlDocPtr doc, 
int flags)
+
+

Implement the XInclude substitution on the XML document @doc

+
++ + + + + + + + + + + + + + +
doc:an XML document
flags:a set of xmlParserOption used for parsing XML includes
Returns:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
+
+
+
+

+xmlXIncludeProcessFlagsData ()

+
int	xmlXIncludeProcessFlagsData	(xmlDocPtr doc, 
int flags,
void * data)
+
+

Implement the XInclude substitution on the XML document @doc

+
++ + + + + + + + + + + + + + + + + + +
doc:an XML document
flags:a set of xmlParserOption used for parsing XML includes
data:application data that will be passed to the parser context in the _private field of the parser context(s)
Returns:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
+
+
+
+

+xmlXIncludeProcessNode ()

+
int	xmlXIncludeProcessNode		(xmlXIncludeCtxtPtr ctxt, 
xmlNodePtr node)
+
+

Implement the XInclude substitution for the given subtree reusing the information and data coming from the given context.

+
++ + + + + + + + + + + + + + +
ctxt:an existing XInclude context
node:a node in an XML document
Returns:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
+
+
+
+

+xmlXIncludeProcessTree ()

+
int	xmlXIncludeProcessTree		(xmlNodePtr tree)
+
+

Implement the XInclude substitution for the given subtree

+
++ + + + + + + + + + +
tree:a node in an XML document
Returns:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
+
+
+
+

+xmlXIncludeProcessTreeFlags ()

+
int	xmlXIncludeProcessTreeFlags	(xmlNodePtr tree, 
int flags)
+
+

Implement the XInclude substitution for the given subtree

+
++ + + + + + + + + + + + + + +
tree:a node in an XML document
flags:a set of xmlParserOption used for parsing XML includes
Returns:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
+
+
+
+

+xmlXIncludeProcessTreeFlagsData ()

+
int	xmlXIncludeProcessTreeFlagsData	(xmlNodePtr tree, 
int flags,
void * data)
+
+

Implement the XInclude substitution on the XML node @tree

+
++ + + + + + + + + + + + + + + + + + +
tree:an XML node
flags:a set of xmlParserOption used for parsing XML includes
data:application data that will be passed to the parser context in the _private field of the parser context(s)
Returns:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
+
+
+
+

+xmlXIncludeSetErrorHandler ()

+
void	xmlXIncludeSetErrorHandler	(xmlXIncludeCtxtPtr ctxt, 
xmlStructuredErrorFunc handler,
void * data)
+
+

Register a callback function that will be called on errors and warnings. If handler is NULL, the error handler will be deactivated. Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
ctxt:an XInclude processing context
handler:error handler
data:user data which will be passed to the handler
+
+
+
+

+xmlXIncludeSetFlags ()

+
int	xmlXIncludeSetFlags		(xmlXIncludeCtxtPtr ctxt, 
int flags)
+
+

Set the flags used for further processing of XML resources.

+
++ + + + + + + + + + + + + + +
ctxt:an XInclude processing context
flags:a set of xmlParserOption used for parsing XML includes
Returns:0 in case of success and -1 in case of error.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xlink.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xlink.html new file mode 100644 index 0000000000000000000000000000000000000000..4162a9ad086716065745dc3c784ac0c9342a1e9f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xlink.html @@ -0,0 +1,382 @@ + + + +xlink: unfinished XLink detection module + + + + + + + + + + + + + + +

xlink

+

xlink - unfinished XLink detection module

+

unfinished XLink detection module

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef enum xlinkActuate;
+typedef xmlChar * xlinkHRef;
+typedef struct _xlinkHandler xlinkHandler;
+typedef xlinkHandler * xlinkHandlerPtr;
+typedef xmlChar * xlinkRole;
+typedef enum xlinkShow;
+typedef xmlChar * xlinkTitle;
+typedef enum xlinkType;
+typedef void xlinkExtendedLinkFunk		(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbArcs,
const xlinkRole * from,
const xlinkRole * to,
xlinkShow * show,
xlinkActuate * actuate,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs); +typedef void xlinkExtendedLinkSetFunk (void * ctx,
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs); +xlinkNodeDetectFunc xlinkGetDefaultDetect (void); +xlinkHandlerPtr xlinkGetDefaultHandler (void); +xlinkType xlinkIsLink (xmlDocPtr doc,
xmlNodePtr node); +typedef void xlinkNodeDetectFunc (void * ctx,
xmlNodePtr node); +void xlinkSetDefaultDetect (xlinkNodeDetectFunc func); +void xlinkSetDefaultHandler (xlinkHandlerPtr handler); +typedef void xlinkSimpleLinkFunk (void * ctx,
xmlNodePtr node,
const xlinkHRef href,
const xlinkRole role,
const xlinkTitle title); +
+
+

Description

+
+

Details

+
+
+

+Enum xlinkActuate

+
enum xlinkActuate {
+    XLINK_ACTUATE_NONE = 0
+    XLINK_ACTUATE_AUTO = 1
+    XLINK_ACTUATE_ONREQUEST = 2
+};
+
+

+
+
+
+

+Typedef xlinkHRef

+
xmlChar * xlinkHRef;
+
+

+
+
+
+

+Structure xlinkHandler

+
struct _xlinkHandler {
+    xlinkSimpleLinkFunk	simple
+    xlinkExtendedLinkFunk	extended
+    xlinkExtendedLinkSetFunk	set
+} xlinkHandler;
+
+

+
+
+
+

+Typedef xlinkHandlerPtr

+
xlinkHandler * xlinkHandlerPtr;
+
+

+
+
+
+

+Typedef xlinkRole

+
xmlChar * xlinkRole;
+
+

+
+
+
+

+Enum xlinkShow

+
enum xlinkShow {
+    XLINK_SHOW_NONE = 0
+    XLINK_SHOW_NEW = 1
+    XLINK_SHOW_EMBED = 2
+    XLINK_SHOW_REPLACE = 3
+};
+
+

+
+
+
+

+Typedef xlinkTitle

+
xmlChar * xlinkTitle;
+
+

+
+
+
+

+Enum xlinkType

+
enum xlinkType {
+    XLINK_TYPE_NONE = 0
+    XLINK_TYPE_SIMPLE = 1
+    XLINK_TYPE_EXTENDED = 2
+    XLINK_TYPE_EXTENDED_SET = 3
+};
+
+

+
+
+
+

+Function type xlinkExtendedLinkFunk

+
void	xlinkExtendedLinkFunk		(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbArcs,
const xlinkRole * from,
const xlinkRole * to,
xlinkShow * show,
xlinkActuate * actuate,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)
+
+

This is the prototype for a extended link detection callback.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:user data pointer
node:the node carrying the link
nbLocators:the number of locators detected on the link
hrefs:pointer to the array of locator hrefs
roles:pointer to the array of locator roles
nbArcs:the number of arcs detected on the link
from:pointer to the array of source roles found on the arcs
to:pointer to the array of target roles found on the arcs
show:array of values for the show attributes found on the arcs
actuate:array of values for the actuate attributes found on the arcs
nbTitles:the number of titles detected on the link
titles:
langs:array of xml:lang values for the titles
+
+
+
+

+Function type xlinkExtendedLinkSetFunk

+
void	xlinkExtendedLinkSetFunk	(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)
+
+

This is the prototype for a extended link set detection callback.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ctx:user data pointer
node:the node carrying the link
nbLocators:the number of locators detected on the link
hrefs:pointer to the array of locator hrefs
roles:pointer to the array of locator roles
nbTitles:the number of titles detected on the link
titles:
langs:array of xml:lang values for the titles
+
+
+
+

+Function type xlinkNodeDetectFunc

+
void	xlinkNodeDetectFunc		(void * ctx, 
xmlNodePtr node)
+
+

This is the prototype for the link detection routine. It calls the default link detection callbacks upon link detection.

+
++ + + + + + + + + + +
ctx:user data pointer
node:the node to check
+
+
+
+

+Function type xlinkSimpleLinkFunk

+
void	xlinkSimpleLinkFunk		(void * ctx, 
xmlNodePtr node,
const xlinkHRef href,
const xlinkRole role,
const xlinkTitle title)
+
+

This is the prototype for a simple link detection callback.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctx:user data pointer
node:the node carrying the link
href:the target of the link
role:the role string
title:the link title
+
+
+
+

+xlinkGetDefaultDetect ()

+
xlinkNodeDetectFunc	xlinkGetDefaultDetect	(void)
+
+

Get the default xlink detection routine

+
++ + + + +
Returns:the current function or NULL;
+
+
+
+

+xlinkGetDefaultHandler ()

+
xlinkHandlerPtr	xlinkGetDefaultHandler	(void)
+
+

Get the default xlink handler.

+
++ + + + +
Returns:the current xlinkHandlerPtr value.
+
+
+
+

+xlinkIsLink ()

+
xlinkType	xlinkIsLink		(xmlDocPtr doc, 
xmlNodePtr node)
+
+

Check whether the given node carries the attributes needed to be a link element (or is one of the linking elements issued from the (X)HTML DtDs). This routine don't try to do full checking of the link validity but tries to detect and return the appropriate link type.

+
++ + + + + + + + + + + + + + +
doc:the document containing the node
node:the node pointer itself
Returns:the xlinkType of the node (XLINK_TYPE_NONE if there is no link detected.
+
+
+
+

+xlinkSetDefaultDetect ()

+
void	xlinkSetDefaultDetect		(xlinkNodeDetectFunc func)
+
+

Set the default xlink detection routine

+
++ + + + +
func:pointer to the new detection routine.
+
+
+
+

+xlinkSetDefaultHandler ()

+
void	xlinkSetDefaultHandler		(xlinkHandlerPtr handler)
+
+

Set the default xlink handlers

+
++ + + + +
handler:the new value for the xlink handler block
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlIO.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlIO.html new file mode 100644 index 0000000000000000000000000000000000000000..cd8424f345b2310931df80a820e701ec1c2ec27e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlIO.html @@ -0,0 +1,1592 @@ + + + +xmlIO: interface for the I/O interfaces used by the parser + + + + + + + + + + + + + + +

xmlIO

+

xmlIO - interface for the I/O interfaces used by the parser

+

interface for the I/O interfaces used by the parser

+

Author(s): Daniel Veillard

+
+

Synopsis

+
xmlOutputBufferPtr	xmlAllocOutputBuffer	(xmlCharEncodingHandlerPtr encoder);
+xmlParserInputBufferPtr	xmlAllocParserInputBuffer	(xmlCharEncoding enc);
+int	xmlCheckFilename		(const char * path);
+xmlParserInputPtr	xmlCheckHTTPInput	(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr ret); +void xmlCleanupInputCallbacks (void); +void xmlCleanupOutputCallbacks (void); +int xmlFileClose (void * context); +int xmlFileMatch (const char * filename); +void * xmlFileOpen (const char * filename); +int xmlFileRead (void * context,
char * buffer,
int len); +void xmlFreeParserInputBuffer (xmlParserInputBufferPtr in); +int xmlIOFTPClose (void * context); +int xmlIOFTPMatch (const char * filename); +void * xmlIOFTPOpen (const char * filename); +int xmlIOFTPRead (void * context,
char * buffer,
int len); +int xmlIOHTTPClose (void * context); +int xmlIOHTTPMatch (const char * filename); +void * xmlIOHTTPOpen (const char * filename); +void * xmlIOHTTPOpenW (const char * post_uri,
int compression); +int xmlIOHTTPRead (void * context,
char * buffer,
int len); +typedef int xmlInputCloseCallback (void * context); +typedef int xmlInputMatchCallback (char const * filename); +typedef void * xmlInputOpenCallback (char const * filename); +typedef int xmlInputReadCallback (void * context,
char * buffer,
int len); +xmlParserInputPtr xmlNoNetExternalEntityLoader (const char * URL,
const char * ID,
xmlParserCtxtPtr ctxt); +xmlChar * xmlNormalizeWindowsPath (const xmlChar * path); +int xmlOutputBufferClose (xmlOutputBufferPtr out); +xmlOutputBufferPtr xmlOutputBufferCreateBuffer (xmlBufferPtr buffer,
xmlCharEncodingHandlerPtr encoder); +xmlOutputBufferPtr xmlOutputBufferCreateFd (int fd,
xmlCharEncodingHandlerPtr encoder); +xmlOutputBufferPtr xmlOutputBufferCreateFile (FILE * file,
xmlCharEncodingHandlerPtr encoder); +xmlOutputBufferPtr xmlOutputBufferCreateFilename (const char * URI,
xmlCharEncodingHandlerPtr encoder,
int compression); +xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func); +typedef xmlOutputBufferPtr xmlOutputBufferCreateFilenameFunc (const char * URI,
xmlCharEncodingHandlerPtr encoder,
int compression); +xmlOutputBufferPtr xmlOutputBufferCreateIO (xmlOutputWriteCallback iowrite,
xmlOutputCloseCallback ioclose,
void * ioctx,
xmlCharEncodingHandlerPtr encoder); +int xmlOutputBufferFlush (xmlOutputBufferPtr out); +const xmlChar * xmlOutputBufferGetContent (xmlOutputBufferPtr out); +size_t xmlOutputBufferGetSize (xmlOutputBufferPtr out); +int xmlOutputBufferWrite (xmlOutputBufferPtr out,
int len,
const char * buf); +int xmlOutputBufferWriteEscape (xmlOutputBufferPtr out,
const xmlChar * str,
xmlCharEncodingOutputFunc escaping); +int xmlOutputBufferWriteString (xmlOutputBufferPtr out,
const char * str); +typedef int xmlOutputCloseCallback (void * context); +typedef int xmlOutputMatchCallback (char const * filename); +typedef void * xmlOutputOpenCallback (char const * filename); +typedef int xmlOutputWriteCallback (void * context,
const char * buffer,
int len); +char * xmlParserGetDirectory (const char * filename); +xmlParserInputBufferPtr xmlParserInputBufferCreateFd (int fd,
xmlCharEncoding enc); +xmlParserInputBufferPtr xmlParserInputBufferCreateFile (FILE * file,
xmlCharEncoding enc); +xmlParserInputBufferPtr xmlParserInputBufferCreateFilename (const char * URI,
xmlCharEncoding enc); +xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func); +typedef xmlParserInputBufferPtr xmlParserInputBufferCreateFilenameFunc (const char * URI,
xmlCharEncoding enc); +xmlParserInputBufferPtr xmlParserInputBufferCreateIO (xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
xmlCharEncoding enc); +xmlParserInputBufferPtr xmlParserInputBufferCreateMem (const char * mem,
int size,
xmlCharEncoding enc); +xmlParserInputBufferPtr xmlParserInputBufferCreateStatic (const char * mem,
int size,
xmlCharEncoding enc); +int xmlParserInputBufferGrow (xmlParserInputBufferPtr in,
int len); +int xmlParserInputBufferPush (xmlParserInputBufferPtr in,
int len,
const char * buf); +int xmlParserInputBufferRead (xmlParserInputBufferPtr in,
int len); +int xmlPopInputCallbacks (void); +int xmlPopOutputCallbacks (void); +void xmlRegisterDefaultInputCallbacks (void); +void xmlRegisterDefaultOutputCallbacks (void); +void xmlRegisterHTTPPostCallbacks (void); +int xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc,
xmlInputOpenCallback openFunc,
xmlInputReadCallback readFunc,
xmlInputCloseCallback closeFunc); +int xmlRegisterOutputCallbacks (xmlOutputMatchCallback matchFunc,
xmlOutputOpenCallback openFunc,
xmlOutputWriteCallback writeFunc,
xmlOutputCloseCallback closeFunc); +xmlOutputBufferCreateFilenameFunc xmlThrDefOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func); +xmlParserInputBufferCreateFilenameFunc xmlThrDefParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func); +
+
+

Description

+
+

Details

+
+
+

+Function type xmlInputCloseCallback

+
int	xmlInputCloseCallback		(void * context)
+
+

Callback used in the I/O Input API to close the resource

+
++ + + + + + + + + + +
context:an Input context
Returns:0 or -1 in case of error
+
+
+
+

+Function type xmlInputMatchCallback

+
int	xmlInputMatchCallback		(char const * filename)
+
+

Callback used in the I/O Input API to detect if the current handler can provide input functionality for this resource.

+
++ + + + + + + + + + +
filename:the filename or URI
Returns:1 if yes and 0 if another Input module should be used
+
+
+
+

+Function type xmlInputOpenCallback

+
void *	xmlInputOpenCallback		(char const * filename)
+
+

Callback used in the I/O Input API to open the resource

+
++ + + + + + + + + + +
filename:the filename or URI
Returns:an Input context or NULL in case or error
+
+
+
+

+Function type xmlInputReadCallback

+
int	xmlInputReadCallback		(void * context, 
char * buffer,
int len)
+
+

Callback used in the I/O Input API to read the resource

+
++ + + + + + + + + + + + + + + + + + +
context:an Input context
buffer:the buffer to store data read
len:the length of the buffer in bytes
Returns:the number of bytes read or -1 in case of error
+
+
+
+

+Function type xmlOutputBufferCreateFilenameFunc

+
xmlOutputBufferPtr	xmlOutputBufferCreateFilenameFunc	(const char * URI, 
xmlCharEncodingHandlerPtr encoder,
int compression)
+
+

Signature for the function doing the lookup for a suitable output method corresponding to an URI.

+
++ + + + + + + + + + + + + + + + + + +
URI:the URI to write to
encoder:
compression:
Returns:the new xmlOutputBufferPtr in case of success or NULL if no method was found.
+
+
+
+

+Function type xmlOutputCloseCallback

+
int	xmlOutputCloseCallback		(void * context)
+
+

Callback used in the I/O Output API to close the resource

+
++ + + + + + + + + + +
context:an Output context
Returns:0 or -1 in case of error
+
+
+
+

+Function type xmlOutputMatchCallback

+
int	xmlOutputMatchCallback		(char const * filename)
+
+

Callback used in the I/O Output API to detect if the current handler can provide output functionality for this resource.

+
++ + + + + + + + + + +
filename:the filename or URI
Returns:1 if yes and 0 if another Output module should be used
+
+
+
+

+Function type xmlOutputOpenCallback

+
void *	xmlOutputOpenCallback		(char const * filename)
+
+

Callback used in the I/O Output API to open the resource

+
++ + + + + + + + + + +
filename:the filename or URI
Returns:an Output context or NULL in case or error
+
+
+
+

+Function type xmlOutputWriteCallback

+
int	xmlOutputWriteCallback		(void * context, 
const char * buffer,
int len)
+
+

Callback used in the I/O Output API to write to the resource

+
++ + + + + + + + + + + + + + + + + + +
context:an Output context
buffer:the buffer of data to write
len:the length of the buffer in bytes
Returns:the number of bytes written or -1 in case of error
+
+
+
+

+Function type xmlParserInputBufferCreateFilenameFunc

+
xmlParserInputBufferPtr	xmlParserInputBufferCreateFilenameFunc	(const char * URI, 
xmlCharEncoding enc)
+
+

Signature for the function doing the lookup for a suitable input method corresponding to an URI.

+
++ + + + + + + + + + + + + + +
URI:the URI to read from
enc:the requested source encoding
Returns:the new xmlParserInputBufferPtr in case of success or NULL if no method was found.
+
+
+
+

+xmlAllocOutputBuffer ()

+
xmlOutputBufferPtr	xmlAllocOutputBuffer	(xmlCharEncodingHandlerPtr encoder)
+
+

Create a buffered parser output

+
++ + + + + + + + + + +
encoder:the encoding converter or NULL
Returns:the new parser output or NULL
+
+
+
+

+xmlAllocParserInputBuffer ()

+
xmlParserInputBufferPtr	xmlAllocParserInputBuffer	(xmlCharEncoding enc)
+
+

Create a buffered parser input for progressive parsing. The encoding argument is deprecated and should be set to XML_CHAR_ENCODING_NONE. The encoding can be changed with xmlSwitchEncoding or xmlSwitchEncodingName later on.

+
++ + + + + + + + + + +
enc:the charset encoding if known (deprecated)
Returns:the new parser input or NULL
+
+
+
+

+xmlCheckFilename ()

+
int	xmlCheckFilename		(const char * path)
+
+

DEPRECATED: Internal function, don't use. if stat is not available on the target machine,

+
++ + + + + + + + + + +
path:the path to check
Returns:1. if stat fails, returns 0 (if calling stat on the filename fails, it can't be right). if stat succeeds and the file is a directory, returns 2. otherwise returns 1.
+
+
+
+

+xmlCheckHTTPInput ()

+
xmlParserInputPtr	xmlCheckHTTPInput	(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr ret)
+
+

DEPRECATED: Internal function, don't use. Check an input in case it was created from an HTTP stream, in that case it will handle encoding and update of the base URL in case of redirection. It also checks for HTTP errors in which case the input is cleanly freed up and an appropriate error is raised in context

+
++ + + + + + + + + + + + + + +
ctxt:an XML parser context
ret:an XML parser input
Returns:the input or NULL in case of HTTP error.
+
+
+
+

+xmlCleanupInputCallbacks ()

+
void	xmlCleanupInputCallbacks	(void)
+
+

clears the entire input callback table. this includes the compiled-in I/O.

+
+
+
+

+xmlCleanupOutputCallbacks ()

+
void	xmlCleanupOutputCallbacks	(void)
+
+

clears the entire output callback table. this includes the compiled-in I/O callbacks.

+
+
+
+

+xmlFileClose ()

+
int	xmlFileClose			(void * context)
+
+

DEPRECATED: Internal function, don't use.

+
++ + + + + + + + + + +
context:the I/O context
Returns:0 or -1 an error code case of error
+
+
+
+

+xmlFileMatch ()

+
int	xmlFileMatch			(const char * filename)
+
+

DEPRECATED: Internal function, don't use.

+
++ + + + + + + + + + +
filename:the URI for matching
Returns:1 if matches, 0 otherwise
+
+
+
+

+xmlFileOpen ()

+
void *	xmlFileOpen			(const char * filename)
+
+

DEPRECATED: Internal function, don't use.

+
++ + + + + + + + + + +
filename:the URI for matching
Returns:an IO context or NULL in case or failure
+
+
+
+

+xmlFileRead ()

+
int	xmlFileRead			(void * context, 
char * buffer,
int len)
+
+

DEPRECATED: Internal function, don't use.

+
++ + + + + + + + + + + + + + + + + + +
context:the I/O context
buffer:where to drop data
len:number of bytes to write
Returns:the number of bytes read or < 0 in case of failure
+
+
+
+

+xmlFreeParserInputBuffer ()

+
void	xmlFreeParserInputBuffer	(xmlParserInputBufferPtr in)
+
+

Free up the memory used by a buffered parser input

+
++ + + + +
in:a buffered parser input
+
+
+
+

+xmlIOFTPClose ()

+
int	xmlIOFTPClose			(void * context)
+
+

DEPRECATED: Internal function, don't use. Close an FTP I/O channel

+
++ + + + + + + + + + +
context:the I/O context
Returns:0
+
+
+
+

+xmlIOFTPMatch ()

+
int	xmlIOFTPMatch			(const char * filename)
+
+

DEPRECATED: Internal function, don't use. check if the URI matches an FTP one

+
++ + + + + + + + + + +
filename:the URI for matching
Returns:1 if matches, 0 otherwise
+
+
+
+

+xmlIOFTPOpen ()

+
void *	xmlIOFTPOpen			(const char * filename)
+
+

DEPRECATED: Internal function, don't use. open an FTP I/O channel

+
++ + + + + + + + + + +
filename:the URI for matching
Returns:an I/O context or NULL in case of error
+
+
+
+

+xmlIOFTPRead ()

+
int	xmlIOFTPRead			(void * context, 
char * buffer,
int len)
+
+

DEPRECATED: Internal function, don't use. Read @len bytes to @buffer from the I/O channel.

+
++ + + + + + + + + + + + + + + + + + +
context:the I/O context
buffer:where to drop data
len:number of bytes to write
Returns:the number of bytes written
+
+
+
+

+xmlIOHTTPClose ()

+
int	xmlIOHTTPClose			(void * context)
+
+

DEPRECATED: Internal function, don't use. Close an HTTP I/O channel

+
++ + + + + + + + + + +
context:the I/O context
Returns:0
+
+
+
+

+xmlIOHTTPMatch ()

+
int	xmlIOHTTPMatch			(const char * filename)
+
+

DEPRECATED: Internal function, don't use. check if the URI matches an HTTP one

+
++ + + + + + + + + + +
filename:the URI for matching
Returns:1 if matches, 0 otherwise
+
+
+
+

+xmlIOHTTPOpen ()

+
void *	xmlIOHTTPOpen			(const char * filename)
+
+

DEPRECATED: Internal function, don't use. open an HTTP I/O channel

+
++ + + + + + + + + + +
filename:the URI for matching
Returns:an I/O context or NULL in case of error
+
+
+
+

+xmlIOHTTPOpenW ()

+
void *	xmlIOHTTPOpenW			(const char * post_uri, 
int compression)
+
+

DEPRECATED: Support for HTTP POST has been removed.

+
++ + + + + + + + + + + + + + +
post_uri:The destination URI for the document
compression:The compression desired for the document.
Returns:NULL.
+
+
+
+

+xmlIOHTTPRead ()

+
int	xmlIOHTTPRead			(void * context, 
char * buffer,
int len)
+
+

DEPRECATED: Internal function, don't use. Read @len bytes to @buffer from the I/O channel.

+
++ + + + + + + + + + + + + + + + + + +
context:the I/O context
buffer:where to drop data
len:number of bytes to write
Returns:the number of bytes written
+
+
+
+

+xmlNoNetExternalEntityLoader ()

+
xmlParserInputPtr	xmlNoNetExternalEntityLoader	(const char * URL, 
const char * ID,
xmlParserCtxtPtr ctxt)
+
+

A specific entity loader disabling network accesses, though still allowing local catalog accesses for resolution.

+
++ + + + + + + + + + + + + + + + + + +
URL:the URL for the entity to load
ID:the System ID for the entity to load
ctxt:the context in which the entity is called or NULL
Returns:a new allocated xmlParserInputPtr, or NULL.
+
+
+
+

+xmlNormalizeWindowsPath ()

+
xmlChar *	xmlNormalizeWindowsPath	(const xmlChar * path)
+
+

DEPRECATED: This never really worked.

+
++ + + + + + + + + + +
path:the input file path
Returns:a copy of path.
+
+
+
+

+xmlOutputBufferClose ()

+
int	xmlOutputBufferClose		(xmlOutputBufferPtr out)
+
+

flushes and close the output I/O channel and free up all the associated resources

+
++ + + + + + + + + + +
out:a buffered output
Returns:the number of byte written or a negative xmlParserErrors code in case of error.
+
+
+
+

+xmlOutputBufferCreateBuffer ()

+
xmlOutputBufferPtr	xmlOutputBufferCreateBuffer	(xmlBufferPtr buffer, 
xmlCharEncodingHandlerPtr encoder)
+
+

Create a buffered output for the progressive saving to a xmlBuffer

+
++ + + + + + + + + + + + + + +
buffer:a xmlBufferPtr +
encoder:the encoding converter or NULL
Returns:the new parser output or NULL
+
+
+
+

+xmlOutputBufferCreateFd ()

+
xmlOutputBufferPtr	xmlOutputBufferCreateFd	(int fd, 
xmlCharEncodingHandlerPtr encoder)
+
+

Create a buffered output for the progressive saving to a file descriptor

+
++ + + + + + + + + + + + + + +
fd:a file descriptor number
encoder:the encoding converter or NULL
Returns:the new parser output or NULL
+
+
+
+

+xmlOutputBufferCreateFile ()

+
xmlOutputBufferPtr	xmlOutputBufferCreateFile	(FILE * file, 
xmlCharEncodingHandlerPtr encoder)
+
+

Create a buffered output for the progressive saving to a FILE * buffered C I/O

+
++ + + + + + + + + + + + + + +
file:a FILE*
encoder:the encoding converter or NULL
Returns:the new parser output or NULL
+
+
+
+

+xmlOutputBufferCreateFilename ()

+
xmlOutputBufferPtr	xmlOutputBufferCreateFilename	(const char * URI, 
xmlCharEncodingHandlerPtr encoder,
int compression)
+
+

Create a buffered output for the progressive saving of a file If filename is "-' then we use stdout as the output. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. TODO: currently if compression is set, the library only support writing to a local file.

+
++ + + + + + + + + + + + + + + + + + +
URI:a C string containing the URI or filename
encoder:the encoding converter or NULL
compression:the compression ration (0 none, 9 max).
Returns:the new output or NULL
+
+
+
+

+xmlOutputBufferCreateFilenameDefault ()

+
xmlOutputBufferCreateFilenameFunc	xmlOutputBufferCreateFilenameDefault	(xmlOutputBufferCreateFilenameFunc func)
+
+

Registers a callback for URI output file handling

+
++ + + + + + + + + + +
func:function pointer to the new OutputBufferCreateFilenameFunc
Returns:the old value of the registration function
+
+
+
+

+xmlOutputBufferCreateIO ()

+
xmlOutputBufferPtr	xmlOutputBufferCreateIO	(xmlOutputWriteCallback iowrite, 
xmlOutputCloseCallback ioclose,
void * ioctx,
xmlCharEncodingHandlerPtr encoder)
+
+

Create a buffered output for the progressive saving to an I/O handler

+
++ + + + + + + + + + + + + + + + + + + + + + +
iowrite:an I/O write function
ioclose:an I/O close function
ioctx:an I/O handler
encoder:the charset encoding if known
Returns:the new parser output or NULL
+
+
+
+

+xmlOutputBufferFlush ()

+
int	xmlOutputBufferFlush		(xmlOutputBufferPtr out)
+
+

flushes the output I/O channel

+
++ + + + + + + + + + +
out:a buffered output
Returns:the number of byte written or -1 in case of error.
+
+
+
+

+xmlOutputBufferGetContent ()

+
const xmlChar *	xmlOutputBufferGetContent	(xmlOutputBufferPtr out)
+
+

Gives a pointer to the data currently held in the output buffer

+
++ + + + + + + + + + +
out:an xmlOutputBufferPtr +
Returns:a pointer to the data or NULL in case of error
+
+
+
+

+xmlOutputBufferGetSize ()

+
size_t	xmlOutputBufferGetSize		(xmlOutputBufferPtr out)
+
+

Gives the length of the data currently held in the output buffer

+
++ + + + + + + + + + +
out:an xmlOutputBufferPtr +
Returns:0 in case or error or no data is held, the size otherwise
+
+
+
+

+xmlOutputBufferWrite ()

+
int	xmlOutputBufferWrite		(xmlOutputBufferPtr out, 
int len,
const char * buf)
+
+

Write the content of the array in the output I/O buffer This routine handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes.

+
++ + + + + + + + + + + + + + + + + + +
out:a buffered parser output
len:the size in bytes of the array.
buf:an char array
Returns:the number of chars immediately written, or -1 in case of error.
+
+
+
+

+xmlOutputBufferWriteEscape ()

+
int	xmlOutputBufferWriteEscape	(xmlOutputBufferPtr out, 
const xmlChar * str,
xmlCharEncodingOutputFunc escaping)
+
+

Write the content of the string in the output I/O buffer This routine escapes the characters and then handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes.

+
++ + + + + + + + + + + + + + + + + + +
out:a buffered parser output
str:a zero terminated UTF-8 string
escaping:an optional escaping function (or NULL)
Returns:the number of chars immediately written, or -1 in case of error.
+
+
+
+

+xmlOutputBufferWriteString ()

+
int	xmlOutputBufferWriteString	(xmlOutputBufferPtr out, 
const char * str)
+
+

Write the content of the string in the output I/O buffer This routine handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes.

+
++ + + + + + + + + + + + + + +
out:a buffered parser output
str:a zero terminated C string
Returns:the number of chars immediately written, or -1 in case of error.
+
+
+
+

+xmlParserGetDirectory ()

+
char *	xmlParserGetDirectory		(const char * filename)
+
+

lookup the directory for that file

+
++ + + + + + + + + + +
filename:the path to a file
Returns:a new allocated string containing the directory, or NULL.
+
+
+
+

+xmlParserInputBufferCreateFd ()

+
xmlParserInputBufferPtr	xmlParserInputBufferCreateFd	(int fd, 
xmlCharEncoding enc)
+
+

Create a buffered parser input for the progressive parsing for the input from a file descriptor The encoding argument is deprecated and should be set to XML_CHAR_ENCODING_NONE. The encoding can be changed with xmlSwitchEncoding or xmlSwitchEncodingName later on.

+
++ + + + + + + + + + + + + + +
fd:a file descriptor number
enc:the charset encoding if known (deprecated)
Returns:the new parser input or NULL
+
+
+
+

+xmlParserInputBufferCreateFile ()

+
xmlParserInputBufferPtr	xmlParserInputBufferCreateFile	(FILE * file, 
xmlCharEncoding enc)
+
+

Create a buffered parser input for the progressive parsing of a FILE * buffered C I/O The encoding argument is deprecated and should be set to XML_CHAR_ENCODING_NONE. The encoding can be changed with xmlSwitchEncoding or xmlSwitchEncodingName later on.

+
++ + + + + + + + + + + + + + +
file:a FILE*
enc:the charset encoding if known (deprecated)
Returns:the new parser input or NULL
+
+
+
+

+xmlParserInputBufferCreateFilename ()

+
xmlParserInputBufferPtr	xmlParserInputBufferCreateFilename	(const char * URI, 
xmlCharEncoding enc)
+
+

Create a buffered parser input for the progressive parsing of a file Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. Do an encoding check if enc == XML_CHAR_ENCODING_NONE

+
++ + + + + + + + + + + + + + +
URI:a C string containing the URI or filename
enc:the charset encoding if known
Returns:the new parser input or NULL
+
+
+
+

+xmlParserInputBufferCreateFilenameDefault ()

+
xmlParserInputBufferCreateFilenameFunc	xmlParserInputBufferCreateFilenameDefault	(xmlParserInputBufferCreateFilenameFunc func)
+
+

Registers a callback for URI input file handling

+
++ + + + + + + + + + +
func:function pointer to the new ParserInputBufferCreateFilenameFunc
Returns:the old value of the registration function
+
+
+
+

+xmlParserInputBufferCreateIO ()

+
xmlParserInputBufferPtr	xmlParserInputBufferCreateIO	(xmlInputReadCallback ioread, 
xmlInputCloseCallback ioclose,
void * ioctx,
xmlCharEncoding enc)
+
+

Create a buffered parser input for the progressive parsing for the input from an I/O handler The encoding argument is deprecated and should be set to XML_CHAR_ENCODING_NONE. The encoding can be changed with xmlSwitchEncoding or xmlSwitchEncodingName later on.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
enc:the charset encoding if known (deprecated)
Returns:the new parser input or NULL
+
+
+
+

+xmlParserInputBufferCreateMem ()

+
xmlParserInputBufferPtr	xmlParserInputBufferCreateMem	(const char * mem, 
int size,
xmlCharEncoding enc)
+
+

Create a parser input buffer for parsing from a memory area. This function makes a copy of the whole input buffer. If you are sure that the contents of the buffer will remain valid until the document was parsed, you can avoid the copy by using xmlParserInputBufferCreateStatic. The encoding argument is deprecated and should be set to XML_CHAR_ENCODING_NONE. The encoding can be changed with xmlSwitchEncoding or xmlSwitchEncodingName later on.

+
++ + + + + + + + + + + + + + + + + + +
mem:the memory input
size:the length of the memory block
enc:the charset encoding if known (deprecated)
Returns:the new parser input or NULL in case of error.
+
+
+
+

+xmlParserInputBufferCreateStatic ()

+
xmlParserInputBufferPtr	xmlParserInputBufferCreateStatic	(const char * mem, 
int size,
xmlCharEncoding enc)
+
+

Create a parser input buffer for parsing from a memory area. This functions assumes that the contents of the input buffer remain valid until the document was parsed. Use xmlParserInputBufferCreateMem otherwise. The encoding argument is deprecated and should be set to XML_CHAR_ENCODING_NONE. The encoding can be changed with xmlSwitchEncoding or xmlSwitchEncodingName later on.

+
++ + + + + + + + + + + + + + + + + + +
mem:the memory input
size:the length of the memory block
enc:the charset encoding if known
Returns:the new parser input or NULL in case of error.
+
+
+
+

+xmlParserInputBufferGrow ()

+
int	xmlParserInputBufferGrow	(xmlParserInputBufferPtr in, 
int len)
+
+

Grow up the content of the input buffer, the old data are preserved This routine handle the I18N transcoding to internal UTF-8 This routine is used when operating the parser in normal (pull) mode TODO: one should be able to remove one extra copy by copying directly onto in->buffer or in->raw

+
++ + + + + + + + + + + + + + +
in:a buffered parser input
len:indicative value of the amount of chars to read
Returns:the number of chars read and stored in the buffer, or -1 in case of error.
+
+
+
+

+xmlParserInputBufferPush ()

+
int	xmlParserInputBufferPush	(xmlParserInputBufferPtr in, 
int len,
const char * buf)
+
+

Push the content of the arry in the input buffer This routine handle the I18N transcoding to internal UTF-8 This is used when operating the parser in progressive (push) mode.

+
++ + + + + + + + + + + + + + + + + + +
in:a buffered parser input
len:the size in bytes of the array.
buf:an char array
Returns:the number of chars read and stored in the buffer, or -1 in case of error.
+
+
+
+

+xmlParserInputBufferRead ()

+
int	xmlParserInputBufferRead	(xmlParserInputBufferPtr in, 
int len)
+
+

Refresh the content of the input buffer, the old data are considered consumed This routine handle the I18N transcoding to internal UTF-8

+
++ + + + + + + + + + + + + + +
in:a buffered parser input
len:indicative value of the amount of chars to read
Returns:the number of chars read and stored in the buffer, or -1 in case of error.
+
+
+
+

+xmlPopInputCallbacks ()

+
int	xmlPopInputCallbacks		(void)
+
+

Clear the top input callback from the input stack. this includes the compiled-in I/O.

+
++ + + + +
Returns:the number of input callback registered or -1 in case of error.
+
+
+
+

+xmlPopOutputCallbacks ()

+
int	xmlPopOutputCallbacks		(void)
+
+

Remove the top output callbacks from the output stack. This includes the compiled-in I/O.

+
++ + + + +
Returns:the number of output callback registered or -1 in case of error.
+
+
+
+

+xmlRegisterDefaultInputCallbacks ()

+
void	xmlRegisterDefaultInputCallbacks	(void)
+
+

Registers the default compiled-in I/O handlers.

+
+
+
+

+xmlRegisterDefaultOutputCallbacks ()

+
void	xmlRegisterDefaultOutputCallbacks	(void)
+
+

Registers the default compiled-in I/O handlers.

+
+
+
+

+xmlRegisterHTTPPostCallbacks ()

+
void	xmlRegisterHTTPPostCallbacks	(void)
+
+

DEPRECATED: Support for HTTP POST has been removed.

+
+
+
+

+xmlRegisterInputCallbacks ()

+
int	xmlRegisterInputCallbacks	(xmlInputMatchCallback matchFunc, 
xmlInputOpenCallback openFunc,
xmlInputReadCallback readFunc,
xmlInputCloseCallback closeFunc)
+
+

Register a new set of I/O callback for handling parser input.

+
++ + + + + + + + + + + + + + + + + + + + + + +
matchFunc:the xmlInputMatchCallback +
openFunc:the xmlInputOpenCallback +
readFunc:the xmlInputReadCallback +
closeFunc:the xmlInputCloseCallback +
Returns:the registered handler number or -1 in case of error
+
+
+
+

+xmlRegisterOutputCallbacks ()

+
int	xmlRegisterOutputCallbacks	(xmlOutputMatchCallback matchFunc, 
xmlOutputOpenCallback openFunc,
xmlOutputWriteCallback writeFunc,
xmlOutputCloseCallback closeFunc)
+
+

Register a new set of I/O callback for handling output.

+
++ + + + + + + + + + + + + + + + + + + + + + +
matchFunc:the xmlOutputMatchCallback +
openFunc:the xmlOutputOpenCallback +
writeFunc:the xmlOutputWriteCallback +
closeFunc:the xmlOutputCloseCallback +
Returns:the registered handler number or -1 in case of error
+
+
+
+

+xmlThrDefOutputBufferCreateFilenameDefault ()

+
xmlOutputBufferCreateFilenameFunc	xmlThrDefOutputBufferCreateFilenameDefault	(xmlOutputBufferCreateFilenameFunc func)
+
+

+
++ + + + + + + + + + +
func:
Returns:
+
+
+
+

+xmlThrDefParserInputBufferCreateFilenameDefault ()

+
xmlParserInputBufferCreateFilenameFunc	xmlThrDefParserInputBufferCreateFilenameDefault	(xmlParserInputBufferCreateFilenameFunc func)
+
+

+
++ + + + + + + + + + +
func:
Returns:
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlautomata.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlautomata.html new file mode 100644 index 0000000000000000000000000000000000000000..eb274b96d5ac4add2882a3820178aa4e3cbded9a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlautomata.html @@ -0,0 +1,696 @@ + + + +xmlautomata: API to build regexp automata + + + + + + + + + + + + + + +

xmlautomata

+

xmlautomata - API to build regexp automata

+

the API to build regexp automata

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlAutomata xmlAutomata;
+typedef xmlAutomata * xmlAutomataPtr;
+typedef struct _xmlAutomataState xmlAutomataState;
+typedef xmlAutomataState * xmlAutomataStatePtr;
+xmlRegexpPtr	xmlAutomataCompile	(xmlAutomataPtr am);
+xmlAutomataStatePtr	xmlAutomataGetInitState	(xmlAutomataPtr am);
+int	xmlAutomataIsDeterminist	(xmlAutomataPtr am);
+xmlAutomataStatePtr	xmlAutomataNewAllTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int lax); +xmlAutomataStatePtr xmlAutomataNewCountTrans (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data); +xmlAutomataStatePtr xmlAutomataNewCountTrans2 (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
int min,
int max,
void * data); +xmlAutomataStatePtr xmlAutomataNewCountedTrans (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int counter); +int xmlAutomataNewCounter (xmlAutomataPtr am,
int min,
int max); +xmlAutomataStatePtr xmlAutomataNewCounterTrans (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int counter); +xmlAutomataStatePtr xmlAutomataNewEpsilon (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to); +xmlAutomataStatePtr xmlAutomataNewNegTrans (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
void * data); +xmlAutomataStatePtr xmlAutomataNewOnceTrans (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data); +xmlAutomataStatePtr xmlAutomataNewOnceTrans2 (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
int min,
int max,
void * data); +xmlAutomataStatePtr xmlAutomataNewState (xmlAutomataPtr am); +xmlAutomataStatePtr xmlAutomataNewTransition (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
void * data); +xmlAutomataStatePtr xmlAutomataNewTransition2 (xmlAutomataPtr am,
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
void * data); +int xmlAutomataSetFinalState (xmlAutomataPtr am,
xmlAutomataStatePtr state); +void xmlFreeAutomata (xmlAutomataPtr am); +xmlAutomataPtr xmlNewAutomata (void); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlAutomata

+
struct _xmlAutomata {
+The content of this structure is not made public by the API.
+} xmlAutomata;
+
+

+
+
+
+

+Typedef xmlAutomataPtr

+
xmlAutomata * xmlAutomataPtr;
+
+

A libxml automata description, It can be compiled into a regexp

+
+
+
+

+Structure xmlAutomataState

+
struct _xmlAutomataState {
+The content of this structure is not made public by the API.
+} xmlAutomataState;
+
+

+
+
+
+

+Typedef xmlAutomataStatePtr

+
xmlAutomataState * xmlAutomataStatePtr;
+
+

A state int the automata description,

+
+
+
+

+xmlAutomataCompile ()

+
xmlRegexpPtr	xmlAutomataCompile	(xmlAutomataPtr am)
+
+

Compile the automata into a Reg Exp ready for being executed. The automata should be free after this point.

+
++ + + + + + + + + + +
am:an automata
Returns:the compiled regexp or NULL in case of error
+
+
+
+

+xmlAutomataGetInitState ()

+
xmlAutomataStatePtr	xmlAutomataGetInitState	(xmlAutomataPtr am)
+
+

Initial state lookup

+
++ + + + + + + + + + +
am:an automata
Returns:the initial state of the automata
+
+
+
+

+xmlAutomataIsDeterminist ()

+
int	xmlAutomataIsDeterminist	(xmlAutomataPtr am)
+
+

Checks if an automata is determinist.

+
++ + + + + + + + + + +
am:an automata
Returns:1 if true, 0 if not, and -1 in case of error
+
+
+
+

+xmlAutomataNewAllTrans ()

+
xmlAutomataStatePtr	xmlAutomataNewAllTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int lax)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds a an ALL transition from the @from state to the target state. That transition is an epsilon transition allowed only when all transitions from the @from node have been activated.

+
++ + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
lax:allow to transition if not all all transitions have been activated
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewCountTrans ()

+
xmlAutomataStatePtr	xmlAutomataNewCountTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
min:the minimum successive occurrences of token
max:the maximum successive occurrences of token
data:data associated to the transition
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewCountTrans2 ()

+
xmlAutomataStatePtr	xmlAutomataNewCountTrans2	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
int min,
int max,
void * data)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and @token2 and whose number is between @min and @max

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
token2:the second input string associated to that transition
min:the minimum successive occurrences of token
max:the maximum successive occurrences of token
data:data associated to the transition
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewCountedTrans ()

+
xmlAutomataStatePtr	xmlAutomataNewCountedTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int counter)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will increment the counter provided

+
++ + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
counter:the counter associated to that transition
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewCounter ()

+
int	xmlAutomataNewCounter		(xmlAutomataPtr am, 
int min,
int max)
+
+

Create a new counter

+
++ + + + + + + + + + + + + + + + + + +
am:an automata
min:the minimal value on the counter
max:the maximal value on the counter
Returns:the counter number or -1 in case of error
+
+
+
+

+xmlAutomataNewCounterTrans ()

+
xmlAutomataStatePtr	xmlAutomataNewCounterTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int counter)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will be allowed only if the counter is within the right range.

+
++ + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
counter:the counter associated to that transition
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewEpsilon ()

+
xmlAutomataStatePtr	xmlAutomataNewEpsilon	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state

+
++ + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewNegTrans ()

+
xmlAutomataStatePtr	xmlAutomataNewNegTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
void * data)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by any value except (@token,@token2) Note that if @token2 is not NULL, then (X, NULL) won't match to follow # the semantic of XSD ##other

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the first input string associated to that transition
token2:the second input string associated to that transition
data:data passed to the callback function if the transition is activated
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewOnceTrans ()

+
xmlAutomataStatePtr	xmlAutomataNewOnceTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max, moreover that transition can only be crossed once.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
min:the minimum successive occurrences of token
max:the maximum successive occurrences of token
data:data associated to the transition
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewOnceTrans2 ()

+
xmlAutomataStatePtr	xmlAutomataNewOnceTrans2	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
int min,
int max,
void * data)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and @token2 and whose number is between @min and @max, moreover that transition can only be crossed once.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
token2:the second input string associated to that transition
min:the minimum successive occurrences of token
max:the maximum successive occurrences of token
data:data associated to the transition
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewState ()

+
xmlAutomataStatePtr	xmlAutomataNewState	(xmlAutomataPtr am)
+
+

Create a new disconnected state in the automata

+
++ + + + + + + + + + +
am:an automata
Returns:the new state or NULL in case of error
+
+
+
+

+xmlAutomataNewTransition ()

+
xmlAutomataStatePtr	xmlAutomataNewTransition	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
void * data)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
data:data passed to the callback function if the transition is activated
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataNewTransition2 ()

+
xmlAutomataStatePtr	xmlAutomataNewTransition2	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
void * data)
+
+

If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the first input string associated to that transition
token2:the second input string associated to that transition
data:data passed to the callback function if the transition is activated
Returns:the target state or NULL in case of error
+
+
+
+

+xmlAutomataSetFinalState ()

+
int	xmlAutomataSetFinalState	(xmlAutomataPtr am, 
xmlAutomataStatePtr state)
+
+

Makes that state a final state

+
++ + + + + + + + + + + + + + +
am:an automata
state:a state in this automata
Returns:0 or -1 in case of error
+
+
+
+

+xmlFreeAutomata ()

+
void	xmlFreeAutomata			(xmlAutomataPtr am)
+
+

Free an automata

+
++ + + + +
am:an automata
+
+
+
+

+xmlNewAutomata ()

+
xmlAutomataPtr	xmlNewAutomata		(void)
+
+

Create a new automata

+
++ + + + +
Returns:the new object or NULL in case of failure
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlerror.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlerror.html new file mode 100644 index 0000000000000000000000000000000000000000..173f026c0fb531166951321aaf209fdad3d2ed53 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlerror.html @@ -0,0 +1,1293 @@ + + + +xmlerror: error handling + + + + + + + + + + + + + + +

xmlerror

+

xmlerror - error handling

+

the API used to report errors

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlError xmlError;
+typedef enum xmlErrorDomain;
+typedef enum xmlErrorLevel;
+typedef xmlError * xmlErrorPtr;
+typedef enum xmlParserErrors;
+void	initGenericErrorDefaultFunc	(xmlGenericErrorFunc * handler);
+int	xmlCopyError			(const xmlError * from, 
xmlErrorPtr to); +const xmlError * xmlCtxtGetLastError (void * ctx); +void xmlCtxtResetLastError (void * ctx); +void xmlFormatError (const xmlError * err,
xmlGenericErrorFunc channel,
void * data); +typedef void xmlGenericErrorFunc (void * ctx,
const char * msg,
... ...); +const xmlError * xmlGetLastError (void); +void xmlParserError (void * ctx,
const char * msg,
... ...); +void xmlParserPrintFileContext (xmlParserInputPtr input); +void xmlParserPrintFileInfo (xmlParserInputPtr input); +void xmlParserValidityError (void * ctx,
const char * msg,
... ...); +void xmlParserValidityWarning (void * ctx,
const char * msg,
... ...); +void xmlParserWarning (void * ctx,
const char * msg,
... ...); +void xmlResetError (xmlErrorPtr err); +void xmlResetLastError (void); +void xmlSetGenericErrorFunc (void * ctx,
xmlGenericErrorFunc handler); +void xmlSetStructuredErrorFunc (void * ctx,
xmlStructuredErrorFunc handler); +typedef void xmlStructuredErrorFunc (void * userData,
const xmlError * error); +void xmlThrDefSetGenericErrorFunc (void * ctx,
xmlGenericErrorFunc handler); +void xmlThrDefSetStructuredErrorFunc (void * ctx,
xmlStructuredErrorFunc handler); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlError

+
struct _xmlError {
+    int	domain	: What part of the library raised this error
+    int	code	: The error code, e.g. an xmlParserError
+    char *	message	: human-readable informative error message
+    xmlErrorLevel	level	: how consequent is the error
+    char *	file	: the filename
+    int	line	: the line number if available
+    char *	str1	: extra string information
+    char *	str2	: extra string information
+    char *	str3	: extra string information
+    int	int1	: extra number information
+    int	int2	: error column # or 0 if N/A (todo: rename field when we would brk ABI)
+    void *	ctxt	: the parser context if available
+    void *	node	: the node in the tree
+} xmlError;
+
+

+
+
+
+

+Enum xmlErrorDomain

+
enum xmlErrorDomain {
+    XML_FROM_NONE = 0
+    XML_FROM_PARSER = 1 /* The XML parser */
+    XML_FROM_TREE = 2 /* The tree module */
+    XML_FROM_NAMESPACE = 3 /* The XML Namespace module */
+    XML_FROM_DTD = 4 /* The XML DTD validation with parser contex */
+    XML_FROM_HTML = 5 /* The HTML parser */
+    XML_FROM_MEMORY = 6 /* The memory allocator */
+    XML_FROM_OUTPUT = 7 /* The serialization code */
+    XML_FROM_IO = 8 /* The Input/Output stack */
+    XML_FROM_FTP = 9 /* The FTP module */
+    XML_FROM_HTTP = 10 /* The HTTP module */
+    XML_FROM_XINCLUDE = 11 /* The XInclude processing */
+    XML_FROM_XPATH = 12 /* The XPath module */
+    XML_FROM_XPOINTER = 13 /* The XPointer module */
+    XML_FROM_REGEXP = 14 /* The regular expressions module */
+    XML_FROM_DATATYPE = 15 /* The W3C XML Schemas Datatype module */
+    XML_FROM_SCHEMASP = 16 /* The W3C XML Schemas parser module */
+    XML_FROM_SCHEMASV = 17 /* The W3C XML Schemas validation module */
+    XML_FROM_RELAXNGP = 18 /* The Relax-NG parser module */
+    XML_FROM_RELAXNGV = 19 /* The Relax-NG validator module */
+    XML_FROM_CATALOG = 20 /* The Catalog module */
+    XML_FROM_C14N = 21 /* The Canonicalization module */
+    XML_FROM_XSLT = 22 /* The XSLT engine from libxslt */
+    XML_FROM_VALID = 23 /* The XML DTD validation with valid context */
+    XML_FROM_CHECK = 24 /* The error checking module */
+    XML_FROM_WRITER = 25 /* The xmlwriter module */
+    XML_FROM_MODULE = 26 /* The dynamically loaded module modul */
+    XML_FROM_I18N = 27 /* The module handling character conversion */
+    XML_FROM_SCHEMATRONV = 28 /* The Schematron validator module */
+    XML_FROM_BUFFER = 29 /* The buffers module */
+    XML_FROM_URI = 30 /*  The URI module */
+};
+
+

+
+
+
+

+Enum xmlErrorLevel

+
enum xmlErrorLevel {
+    XML_ERR_NONE = 0
+    XML_ERR_WARNING = 1 /* A simple warning */
+    XML_ERR_ERROR = 2 /* A recoverable error */
+    XML_ERR_FATAL = 3 /*  A fatal error */
+};
+
+

+
+
+
+

+Typedef xmlErrorPtr

+
xmlError * xmlErrorPtr;
+
+

+
+
+
+

+Enum xmlParserErrors

+
enum xmlParserErrors {
+    XML_ERR_OK = 0
+    XML_ERR_INTERNAL_ERROR = 1 /* 1 */
+    XML_ERR_NO_MEMORY = 2 /* 2 */
+    XML_ERR_DOCUMENT_START = 3 /* 3 */
+    XML_ERR_DOCUMENT_EMPTY = 4 /* 4 */
+    XML_ERR_DOCUMENT_END = 5 /* 5 */
+    XML_ERR_INVALID_HEX_CHARREF = 6 /* 6 */
+    XML_ERR_INVALID_DEC_CHARREF = 7 /* 7 */
+    XML_ERR_INVALID_CHARREF = 8 /* 8 */
+    XML_ERR_INVALID_CHAR = 9 /* 9 */
+    XML_ERR_CHARREF_AT_EOF = 10 /* 10 */
+    XML_ERR_CHARREF_IN_PROLOG = 11 /* 11 */
+    XML_ERR_CHARREF_IN_EPILOG = 12 /* 12 */
+    XML_ERR_CHARREF_IN_DTD = 13 /* 13 */
+    XML_ERR_ENTITYREF_AT_EOF = 14 /* 14 */
+    XML_ERR_ENTITYREF_IN_PROLOG = 15 /* 15 */
+    XML_ERR_ENTITYREF_IN_EPILOG = 16 /* 16 */
+    XML_ERR_ENTITYREF_IN_DTD = 17 /* 17 */
+    XML_ERR_PEREF_AT_EOF = 18 /* 18 */
+    XML_ERR_PEREF_IN_PROLOG = 19 /* 19 */
+    XML_ERR_PEREF_IN_EPILOG = 20 /* 20 */
+    XML_ERR_PEREF_IN_INT_SUBSET = 21 /* 21 */
+    XML_ERR_ENTITYREF_NO_NAME = 22 /* 22 */
+    XML_ERR_ENTITYREF_SEMICOL_MISSING = 23 /* 23 */
+    XML_ERR_PEREF_NO_NAME = 24 /* 24 */
+    XML_ERR_PEREF_SEMICOL_MISSING = 25 /* 25 */
+    XML_ERR_UNDECLARED_ENTITY = 26 /* 26 */
+    XML_WAR_UNDECLARED_ENTITY = 27 /* 27 */
+    XML_ERR_UNPARSED_ENTITY = 28 /* 28 */
+    XML_ERR_ENTITY_IS_EXTERNAL = 29 /* 29 */
+    XML_ERR_ENTITY_IS_PARAMETER = 30 /* 30 */
+    XML_ERR_UNKNOWN_ENCODING = 31 /* 31 */
+    XML_ERR_UNSUPPORTED_ENCODING = 32 /* 32 */
+    XML_ERR_STRING_NOT_STARTED = 33 /* 33 */
+    XML_ERR_STRING_NOT_CLOSED = 34 /* 34 */
+    XML_ERR_NS_DECL_ERROR = 35 /* 35 */
+    XML_ERR_ENTITY_NOT_STARTED = 36 /* 36 */
+    XML_ERR_ENTITY_NOT_FINISHED = 37 /* 37 */
+    XML_ERR_LT_IN_ATTRIBUTE = 38 /* 38 */
+    XML_ERR_ATTRIBUTE_NOT_STARTED = 39 /* 39 */
+    XML_ERR_ATTRIBUTE_NOT_FINISHED = 40 /* 40 */
+    XML_ERR_ATTRIBUTE_WITHOUT_VALUE = 41 /* 41 */
+    XML_ERR_ATTRIBUTE_REDEFINED = 42 /* 42 */
+    XML_ERR_LITERAL_NOT_STARTED = 43 /* 43 */
+    XML_ERR_LITERAL_NOT_FINISHED = 44 /* 44 */
+    XML_ERR_COMMENT_NOT_FINISHED = 45 /* 45 */
+    XML_ERR_PI_NOT_STARTED = 46 /* 46 */
+    XML_ERR_PI_NOT_FINISHED = 47 /* 47 */
+    XML_ERR_NOTATION_NOT_STARTED = 48 /* 48 */
+    XML_ERR_NOTATION_NOT_FINISHED = 49 /* 49 */
+    XML_ERR_ATTLIST_NOT_STARTED = 50 /* 50 */
+    XML_ERR_ATTLIST_NOT_FINISHED = 51 /* 51 */
+    XML_ERR_MIXED_NOT_STARTED = 52 /* 52 */
+    XML_ERR_MIXED_NOT_FINISHED = 53 /* 53 */
+    XML_ERR_ELEMCONTENT_NOT_STARTED = 54 /* 54 */
+    XML_ERR_ELEMCONTENT_NOT_FINISHED = 55 /* 55 */
+    XML_ERR_XMLDECL_NOT_STARTED = 56 /* 56 */
+    XML_ERR_XMLDECL_NOT_FINISHED = 57 /* 57 */
+    XML_ERR_CONDSEC_NOT_STARTED = 58 /* 58 */
+    XML_ERR_CONDSEC_NOT_FINISHED = 59 /* 59 */
+    XML_ERR_EXT_SUBSET_NOT_FINISHED = 60 /* 60 */
+    XML_ERR_DOCTYPE_NOT_FINISHED = 61 /* 61 */
+    XML_ERR_MISPLACED_CDATA_END = 62 /* 62 */
+    XML_ERR_CDATA_NOT_FINISHED = 63 /* 63 */
+    XML_ERR_RESERVED_XML_NAME = 64 /* 64 */
+    XML_ERR_SPACE_REQUIRED = 65 /* 65 */
+    XML_ERR_SEPARATOR_REQUIRED = 66 /* 66 */
+    XML_ERR_NMTOKEN_REQUIRED = 67 /* 67 */
+    XML_ERR_NAME_REQUIRED = 68 /* 68 */
+    XML_ERR_PCDATA_REQUIRED = 69 /* 69 */
+    XML_ERR_URI_REQUIRED = 70 /* 70 */
+    XML_ERR_PUBID_REQUIRED = 71 /* 71 */
+    XML_ERR_LT_REQUIRED = 72 /* 72 */
+    XML_ERR_GT_REQUIRED = 73 /* 73 */
+    XML_ERR_LTSLASH_REQUIRED = 74 /* 74 */
+    XML_ERR_EQUAL_REQUIRED = 75 /* 75 */
+    XML_ERR_TAG_NAME_MISMATCH = 76 /* 76 */
+    XML_ERR_TAG_NOT_FINISHED = 77 /* 77 */
+    XML_ERR_STANDALONE_VALUE = 78 /* 78 */
+    XML_ERR_ENCODING_NAME = 79 /* 79 */
+    XML_ERR_HYPHEN_IN_COMMENT = 80 /* 80 */
+    XML_ERR_INVALID_ENCODING = 81 /* 81 */
+    XML_ERR_EXT_ENTITY_STANDALONE = 82 /* 82 */
+    XML_ERR_CONDSEC_INVALID = 83 /* 83 */
+    XML_ERR_VALUE_REQUIRED = 84 /* 84 */
+    XML_ERR_NOT_WELL_BALANCED = 85 /* 85 */
+    XML_ERR_EXTRA_CONTENT = 86 /* 86 */
+    XML_ERR_ENTITY_CHAR_ERROR = 87 /* 87 */
+    XML_ERR_ENTITY_PE_INTERNAL = 88 /* 88 */
+    XML_ERR_ENTITY_LOOP = 89 /* 89 */
+    XML_ERR_ENTITY_BOUNDARY = 90 /* 90 */
+    XML_ERR_INVALID_URI = 91 /* 91 */
+    XML_ERR_URI_FRAGMENT = 92 /* 92 */
+    XML_WAR_CATALOG_PI = 93 /* 93 */
+    XML_ERR_NO_DTD = 94 /* 94 */
+    XML_ERR_CONDSEC_INVALID_KEYWORD = 95 /* 95 */
+    XML_ERR_VERSION_MISSING = 96 /* 96 */
+    XML_WAR_UNKNOWN_VERSION = 97 /* 97 */
+    XML_WAR_LANG_VALUE = 98 /* 98 */
+    XML_WAR_NS_URI = 99 /* 99 */
+    XML_WAR_NS_URI_RELATIVE = 100 /* 100 */
+    XML_ERR_MISSING_ENCODING = 101 /* 101 */
+    XML_WAR_SPACE_VALUE = 102 /* 102 */
+    XML_ERR_NOT_STANDALONE = 103 /* 103 */
+    XML_ERR_ENTITY_PROCESSING = 104 /* 104 */
+    XML_ERR_NOTATION_PROCESSING = 105 /* 105 */
+    XML_WAR_NS_COLUMN = 106 /* 106 */
+    XML_WAR_ENTITY_REDEFINED = 107 /* 107 */
+    XML_ERR_UNKNOWN_VERSION = 108 /* 108 */
+    XML_ERR_VERSION_MISMATCH = 109 /* 109 */
+    XML_ERR_NAME_TOO_LONG = 110 /* 110 */
+    XML_ERR_USER_STOP = 111 /* 111 */
+    XML_ERR_COMMENT_ABRUPTLY_ENDED = 112 /* 112 */
+    XML_WAR_ENCODING_MISMATCH = 113 /* 113 */
+    XML_ERR_RESOURCE_LIMIT = 114 /* 114 */
+    XML_ERR_ARGUMENT = 115 /* 115 */
+    XML_ERR_SYSTEM = 116 /* 116 */
+    XML_ERR_REDECL_PREDEF_ENTITY = 117 /* 117 */
+    XML_ERR_INT_SUBSET_NOT_FINISHED = 118 /* 118 */
+    XML_NS_ERR_XML_NAMESPACE = 200
+    XML_NS_ERR_UNDEFINED_NAMESPACE = 201 /* 201 */
+    XML_NS_ERR_QNAME = 202 /* 202 */
+    XML_NS_ERR_ATTRIBUTE_REDEFINED = 203 /* 203 */
+    XML_NS_ERR_EMPTY = 204 /* 204 */
+    XML_NS_ERR_COLON = 205 /* 205 */
+    XML_DTD_ATTRIBUTE_DEFAULT = 500
+    XML_DTD_ATTRIBUTE_REDEFINED = 501 /* 501 */
+    XML_DTD_ATTRIBUTE_VALUE = 502 /* 502 */
+    XML_DTD_CONTENT_ERROR = 503 /* 503 */
+    XML_DTD_CONTENT_MODEL = 504 /* 504 */
+    XML_DTD_CONTENT_NOT_DETERMINIST = 505 /* 505 */
+    XML_DTD_DIFFERENT_PREFIX = 506 /* 506 */
+    XML_DTD_ELEM_DEFAULT_NAMESPACE = 507 /* 507 */
+    XML_DTD_ELEM_NAMESPACE = 508 /* 508 */
+    XML_DTD_ELEM_REDEFINED = 509 /* 509 */
+    XML_DTD_EMPTY_NOTATION = 510 /* 510 */
+    XML_DTD_ENTITY_TYPE = 511 /* 511 */
+    XML_DTD_ID_FIXED = 512 /* 512 */
+    XML_DTD_ID_REDEFINED = 513 /* 513 */
+    XML_DTD_ID_SUBSET = 514 /* 514 */
+    XML_DTD_INVALID_CHILD = 515 /* 515 */
+    XML_DTD_INVALID_DEFAULT = 516 /* 516 */
+    XML_DTD_LOAD_ERROR = 517 /* 517 */
+    XML_DTD_MISSING_ATTRIBUTE = 518 /* 518 */
+    XML_DTD_MIXED_CORRUPT = 519 /* 519 */
+    XML_DTD_MULTIPLE_ID = 520 /* 520 */
+    XML_DTD_NO_DOC = 521 /* 521 */
+    XML_DTD_NO_DTD = 522 /* 522 */
+    XML_DTD_NO_ELEM_NAME = 523 /* 523 */
+    XML_DTD_NO_PREFIX = 524 /* 524 */
+    XML_DTD_NO_ROOT = 525 /* 525 */
+    XML_DTD_NOTATION_REDEFINED = 526 /* 526 */
+    XML_DTD_NOTATION_VALUE = 527 /* 527 */
+    XML_DTD_NOT_EMPTY = 528 /* 528 */
+    XML_DTD_NOT_PCDATA = 529 /* 529 */
+    XML_DTD_NOT_STANDALONE = 530 /* 530 */
+    XML_DTD_ROOT_NAME = 531 /* 531 */
+    XML_DTD_STANDALONE_WHITE_SPACE = 532 /* 532 */
+    XML_DTD_UNKNOWN_ATTRIBUTE = 533 /* 533 */
+    XML_DTD_UNKNOWN_ELEM = 534 /* 534 */
+    XML_DTD_UNKNOWN_ENTITY = 535 /* 535 */
+    XML_DTD_UNKNOWN_ID = 536 /* 536 */
+    XML_DTD_UNKNOWN_NOTATION = 537 /* 537 */
+    XML_DTD_STANDALONE_DEFAULTED = 538 /* 538 */
+    XML_DTD_XMLID_VALUE = 539 /* 539 */
+    XML_DTD_XMLID_TYPE = 540 /* 540 */
+    XML_DTD_DUP_TOKEN = 541 /* 541 */
+    XML_HTML_STRUCURE_ERROR = 800
+    XML_HTML_UNKNOWN_TAG = 801 /* 801 */
+    XML_HTML_INCORRECTLY_OPENED_COMMENT = 802 /* 802 */
+    XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000
+    XML_RNGP_ATTR_CONFLICT = 1001 /* 1001 */
+    XML_RNGP_ATTRIBUTE_CHILDREN = 1002 /* 1002 */
+    XML_RNGP_ATTRIBUTE_CONTENT = 1003 /* 1003 */
+    XML_RNGP_ATTRIBUTE_EMPTY = 1004 /* 1004 */
+    XML_RNGP_ATTRIBUTE_NOOP = 1005 /* 1005 */
+    XML_RNGP_CHOICE_CONTENT = 1006 /* 1006 */
+    XML_RNGP_CHOICE_EMPTY = 1007 /* 1007 */
+    XML_RNGP_CREATE_FAILURE = 1008 /* 1008 */
+    XML_RNGP_DATA_CONTENT = 1009 /* 1009 */
+    XML_RNGP_DEF_CHOICE_AND_INTERLEAVE = 1010 /* 1010 */
+    XML_RNGP_DEFINE_CREATE_FAILED = 1011 /* 1011 */
+    XML_RNGP_DEFINE_EMPTY = 1012 /* 1012 */
+    XML_RNGP_DEFINE_MISSING = 1013 /* 1013 */
+    XML_RNGP_DEFINE_NAME_MISSING = 1014 /* 1014 */
+    XML_RNGP_ELEM_CONTENT_EMPTY = 1015 /* 1015 */
+    XML_RNGP_ELEM_CONTENT_ERROR = 1016 /* 1016 */
+    XML_RNGP_ELEMENT_EMPTY = 1017 /* 1017 */
+    XML_RNGP_ELEMENT_CONTENT = 1018 /* 1018 */
+    XML_RNGP_ELEMENT_NAME = 1019 /* 1019 */
+    XML_RNGP_ELEMENT_NO_CONTENT = 1020 /* 1020 */
+    XML_RNGP_ELEM_TEXT_CONFLICT = 1021 /* 1021 */
+    XML_RNGP_EMPTY = 1022 /* 1022 */
+    XML_RNGP_EMPTY_CONSTRUCT = 1023 /* 1023 */
+    XML_RNGP_EMPTY_CONTENT = 1024 /* 1024 */
+    XML_RNGP_EMPTY_NOT_EMPTY = 1025 /* 1025 */
+    XML_RNGP_ERROR_TYPE_LIB = 1026 /* 1026 */
+    XML_RNGP_EXCEPT_EMPTY = 1027 /* 1027 */
+    XML_RNGP_EXCEPT_MISSING = 1028 /* 1028 */
+    XML_RNGP_EXCEPT_MULTIPLE = 1029 /* 1029 */
+    XML_RNGP_EXCEPT_NO_CONTENT = 1030 /* 1030 */
+    XML_RNGP_EXTERNALREF_EMTPY = 1031 /* 1031 */
+    XML_RNGP_EXTERNAL_REF_FAILURE = 1032 /* 1032 */
+    XML_RNGP_EXTERNALREF_RECURSE = 1033 /* 1033 */
+    XML_RNGP_FORBIDDEN_ATTRIBUTE = 1034 /* 1034 */
+    XML_RNGP_FOREIGN_ELEMENT = 1035 /* 1035 */
+    XML_RNGP_GRAMMAR_CONTENT = 1036 /* 1036 */
+    XML_RNGP_GRAMMAR_EMPTY = 1037 /* 1037 */
+    XML_RNGP_GRAMMAR_MISSING = 1038 /* 1038 */
+    XML_RNGP_GRAMMAR_NO_START = 1039 /* 1039 */
+    XML_RNGP_GROUP_ATTR_CONFLICT = 1040 /* 1040 */
+    XML_RNGP_HREF_ERROR = 1041 /* 1041 */
+    XML_RNGP_INCLUDE_EMPTY = 1042 /* 1042 */
+    XML_RNGP_INCLUDE_FAILURE = 1043 /* 1043 */
+    XML_RNGP_INCLUDE_RECURSE = 1044 /* 1044 */
+    XML_RNGP_INTERLEAVE_ADD = 1045 /* 1045 */
+    XML_RNGP_INTERLEAVE_CREATE_FAILED = 1046 /* 1046 */
+    XML_RNGP_INTERLEAVE_EMPTY = 1047 /* 1047 */
+    XML_RNGP_INTERLEAVE_NO_CONTENT = 1048 /* 1048 */
+    XML_RNGP_INVALID_DEFINE_NAME = 1049 /* 1049 */
+    XML_RNGP_INVALID_URI = 1050 /* 1050 */
+    XML_RNGP_INVALID_VALUE = 1051 /* 1051 */
+    XML_RNGP_MISSING_HREF = 1052 /* 1052 */
+    XML_RNGP_NAME_MISSING = 1053 /* 1053 */
+    XML_RNGP_NEED_COMBINE = 1054 /* 1054 */
+    XML_RNGP_NOTALLOWED_NOT_EMPTY = 1055 /* 1055 */
+    XML_RNGP_NSNAME_ATTR_ANCESTOR = 1056 /* 1056 */
+    XML_RNGP_NSNAME_NO_NS = 1057 /* 1057 */
+    XML_RNGP_PARAM_FORBIDDEN = 1058 /* 1058 */
+    XML_RNGP_PARAM_NAME_MISSING = 1059 /* 1059 */
+    XML_RNGP_PARENTREF_CREATE_FAILED = 1060 /* 1060 */
+    XML_RNGP_PARENTREF_NAME_INVALID = 1061 /* 1061 */
+    XML_RNGP_PARENTREF_NO_NAME = 1062 /* 1062 */
+    XML_RNGP_PARENTREF_NO_PARENT = 1063 /* 1063 */
+    XML_RNGP_PARENTREF_NOT_EMPTY = 1064 /* 1064 */
+    XML_RNGP_PARSE_ERROR = 1065 /* 1065 */
+    XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME = 1066 /* 1066 */
+    XML_RNGP_PAT_ATTR_ATTR = 1067 /* 1067 */
+    XML_RNGP_PAT_ATTR_ELEM = 1068 /* 1068 */
+    XML_RNGP_PAT_DATA_EXCEPT_ATTR = 1069 /* 1069 */
+    XML_RNGP_PAT_DATA_EXCEPT_ELEM = 1070 /* 1070 */
+    XML_RNGP_PAT_DATA_EXCEPT_EMPTY = 1071 /* 1071 */
+    XML_RNGP_PAT_DATA_EXCEPT_GROUP = 1072 /* 1072 */
+    XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE = 1073 /* 1073 */
+    XML_RNGP_PAT_DATA_EXCEPT_LIST = 1074 /* 1074 */
+    XML_RNGP_PAT_DATA_EXCEPT_ONEMORE = 1075 /* 1075 */
+    XML_RNGP_PAT_DATA_EXCEPT_REF = 1076 /* 1076 */
+    XML_RNGP_PAT_DATA_EXCEPT_TEXT = 1077 /* 1077 */
+    XML_RNGP_PAT_LIST_ATTR = 1078 /* 1078 */
+    XML_RNGP_PAT_LIST_ELEM = 1079 /* 1079 */
+    XML_RNGP_PAT_LIST_INTERLEAVE = 1080 /* 1080 */
+    XML_RNGP_PAT_LIST_LIST = 1081 /* 1081 */
+    XML_RNGP_PAT_LIST_REF = 1082 /* 1082 */
+    XML_RNGP_PAT_LIST_TEXT = 1083 /* 1083 */
+    XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME = 1084 /* 1084 */
+    XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME = 1085 /* 1085 */
+    XML_RNGP_PAT_ONEMORE_GROUP_ATTR = 1086 /* 1086 */
+    XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR = 1087 /* 1087 */
+    XML_RNGP_PAT_START_ATTR = 1088 /* 1088 */
+    XML_RNGP_PAT_START_DATA = 1089 /* 1089 */
+    XML_RNGP_PAT_START_EMPTY = 1090 /* 1090 */
+    XML_RNGP_PAT_START_GROUP = 1091 /* 1091 */
+    XML_RNGP_PAT_START_INTERLEAVE = 1092 /* 1092 */
+    XML_RNGP_PAT_START_LIST = 1093 /* 1093 */
+    XML_RNGP_PAT_START_ONEMORE = 1094 /* 1094 */
+    XML_RNGP_PAT_START_TEXT = 1095 /* 1095 */
+    XML_RNGP_PAT_START_VALUE = 1096 /* 1096 */
+    XML_RNGP_PREFIX_UNDEFINED = 1097 /* 1097 */
+    XML_RNGP_REF_CREATE_FAILED = 1098 /* 1098 */
+    XML_RNGP_REF_CYCLE = 1099 /* 1099 */
+    XML_RNGP_REF_NAME_INVALID = 1100 /* 1100 */
+    XML_RNGP_REF_NO_DEF = 1101 /* 1101 */
+    XML_RNGP_REF_NO_NAME = 1102 /* 1102 */
+    XML_RNGP_REF_NOT_EMPTY = 1103 /* 1103 */
+    XML_RNGP_START_CHOICE_AND_INTERLEAVE = 1104 /* 1104 */
+    XML_RNGP_START_CONTENT = 1105 /* 1105 */
+    XML_RNGP_START_EMPTY = 1106 /* 1106 */
+    XML_RNGP_START_MISSING = 1107 /* 1107 */
+    XML_RNGP_TEXT_EXPECTED = 1108 /* 1108 */
+    XML_RNGP_TEXT_HAS_CHILD = 1109 /* 1109 */
+    XML_RNGP_TYPE_MISSING = 1110 /* 1110 */
+    XML_RNGP_TYPE_NOT_FOUND = 1111 /* 1111 */
+    XML_RNGP_TYPE_VALUE = 1112 /* 1112 */
+    XML_RNGP_UNKNOWN_ATTRIBUTE = 1113 /* 1113 */
+    XML_RNGP_UNKNOWN_COMBINE = 1114 /* 1114 */
+    XML_RNGP_UNKNOWN_CONSTRUCT = 1115 /* 1115 */
+    XML_RNGP_UNKNOWN_TYPE_LIB = 1116 /* 1116 */
+    XML_RNGP_URI_FRAGMENT = 1117 /* 1117 */
+    XML_RNGP_URI_NOT_ABSOLUTE = 1118 /* 1118 */
+    XML_RNGP_VALUE_EMPTY = 1119 /* 1119 */
+    XML_RNGP_VALUE_NO_CONTENT = 1120 /* 1120 */
+    XML_RNGP_XMLNS_NAME = 1121 /* 1121 */
+    XML_RNGP_XML_NS = 1122 /* 1122 */
+    XML_XPATH_EXPRESSION_OK = 1200
+    XML_XPATH_NUMBER_ERROR = 1201 /* 1201 */
+    XML_XPATH_UNFINISHED_LITERAL_ERROR = 1202 /* 1202 */
+    XML_XPATH_START_LITERAL_ERROR = 1203 /* 1203 */
+    XML_XPATH_VARIABLE_REF_ERROR = 1204 /* 1204 */
+    XML_XPATH_UNDEF_VARIABLE_ERROR = 1205 /* 1205 */
+    XML_XPATH_INVALID_PREDICATE_ERROR = 1206 /* 1206 */
+    XML_XPATH_EXPR_ERROR = 1207 /* 1207 */
+    XML_XPATH_UNCLOSED_ERROR = 1208 /* 1208 */
+    XML_XPATH_UNKNOWN_FUNC_ERROR = 1209 /* 1209 */
+    XML_XPATH_INVALID_OPERAND = 1210 /* 1210 */
+    XML_XPATH_INVALID_TYPE = 1211 /* 1211 */
+    XML_XPATH_INVALID_ARITY = 1212 /* 1212 */
+    XML_XPATH_INVALID_CTXT_SIZE = 1213 /* 1213 */
+    XML_XPATH_INVALID_CTXT_POSITION = 1214 /* 1214 */
+    XML_XPATH_MEMORY_ERROR = 1215 /* 1215 */
+    XML_XPTR_SYNTAX_ERROR = 1216 /* 1216 */
+    XML_XPTR_RESOURCE_ERROR = 1217 /* 1217 */
+    XML_XPTR_SUB_RESOURCE_ERROR = 1218 /* 1218 */
+    XML_XPATH_UNDEF_PREFIX_ERROR = 1219 /* 1219 */
+    XML_XPATH_ENCODING_ERROR = 1220 /* 1220 */
+    XML_XPATH_INVALID_CHAR_ERROR = 1221 /* 1221 */
+    XML_TREE_INVALID_HEX = 1300
+    XML_TREE_INVALID_DEC = 1301 /* 1301 */
+    XML_TREE_UNTERMINATED_ENTITY = 1302 /* 1302 */
+    XML_TREE_NOT_UTF8 = 1303 /* 1303 */
+    XML_SAVE_NOT_UTF8 = 1400
+    XML_SAVE_CHAR_INVALID = 1401 /* 1401 */
+    XML_SAVE_NO_DOCTYPE = 1402 /* 1402 */
+    XML_SAVE_UNKNOWN_ENCODING = 1403 /* 1403 */
+    XML_REGEXP_COMPILE_ERROR = 1450
+    XML_IO_UNKNOWN = 1500
+    XML_IO_EACCES = 1501 /* 1501 */
+    XML_IO_EAGAIN = 1502 /* 1502 */
+    XML_IO_EBADF = 1503 /* 1503 */
+    XML_IO_EBADMSG = 1504 /* 1504 */
+    XML_IO_EBUSY = 1505 /* 1505 */
+    XML_IO_ECANCELED = 1506 /* 1506 */
+    XML_IO_ECHILD = 1507 /* 1507 */
+    XML_IO_EDEADLK = 1508 /* 1508 */
+    XML_IO_EDOM = 1509 /* 1509 */
+    XML_IO_EEXIST = 1510 /* 1510 */
+    XML_IO_EFAULT = 1511 /* 1511 */
+    XML_IO_EFBIG = 1512 /* 1512 */
+    XML_IO_EINPROGRESS = 1513 /* 1513 */
+    XML_IO_EINTR = 1514 /* 1514 */
+    XML_IO_EINVAL = 1515 /* 1515 */
+    XML_IO_EIO = 1516 /* 1516 */
+    XML_IO_EISDIR = 1517 /* 1517 */
+    XML_IO_EMFILE = 1518 /* 1518 */
+    XML_IO_EMLINK = 1519 /* 1519 */
+    XML_IO_EMSGSIZE = 1520 /* 1520 */
+    XML_IO_ENAMETOOLONG = 1521 /* 1521 */
+    XML_IO_ENFILE = 1522 /* 1522 */
+    XML_IO_ENODEV = 1523 /* 1523 */
+    XML_IO_ENOENT = 1524 /* 1524 */
+    XML_IO_ENOEXEC = 1525 /* 1525 */
+    XML_IO_ENOLCK = 1526 /* 1526 */
+    XML_IO_ENOMEM = 1527 /* 1527 */
+    XML_IO_ENOSPC = 1528 /* 1528 */
+    XML_IO_ENOSYS = 1529 /* 1529 */
+    XML_IO_ENOTDIR = 1530 /* 1530 */
+    XML_IO_ENOTEMPTY = 1531 /* 1531 */
+    XML_IO_ENOTSUP = 1532 /* 1532 */
+    XML_IO_ENOTTY = 1533 /* 1533 */
+    XML_IO_ENXIO = 1534 /* 1534 */
+    XML_IO_EPERM = 1535 /* 1535 */
+    XML_IO_EPIPE = 1536 /* 1536 */
+    XML_IO_ERANGE = 1537 /* 1537 */
+    XML_IO_EROFS = 1538 /* 1538 */
+    XML_IO_ESPIPE = 1539 /* 1539 */
+    XML_IO_ESRCH = 1540 /* 1540 */
+    XML_IO_ETIMEDOUT = 1541 /* 1541 */
+    XML_IO_EXDEV = 1542 /* 1542 */
+    XML_IO_NETWORK_ATTEMPT = 1543 /* 1543 */
+    XML_IO_ENCODER = 1544 /* 1544 */
+    XML_IO_FLUSH = 1545 /* 1545 */
+    XML_IO_WRITE = 1546 /* 1546 */
+    XML_IO_NO_INPUT = 1547 /* 1547 */
+    XML_IO_BUFFER_FULL = 1548 /* 1548 */
+    XML_IO_LOAD_ERROR = 1549 /* 1549 */
+    XML_IO_ENOTSOCK = 1550 /* 1550 */
+    XML_IO_EISCONN = 1551 /* 1551 */
+    XML_IO_ECONNREFUSED = 1552 /* 1552 */
+    XML_IO_ENETUNREACH = 1553 /* 1553 */
+    XML_IO_EADDRINUSE = 1554 /* 1554 */
+    XML_IO_EALREADY = 1555 /* 1555 */
+    XML_IO_EAFNOSUPPORT = 1556 /* 1556 */
+    XML_IO_UNSUPPORTED_PROTOCOL = 1557 /* 1557 */
+    XML_XINCLUDE_RECURSION = 1600
+    XML_XINCLUDE_PARSE_VALUE = 1601 /* 1601 */
+    XML_XINCLUDE_ENTITY_DEF_MISMATCH = 1602 /* 1602 */
+    XML_XINCLUDE_NO_HREF = 1603 /* 1603 */
+    XML_XINCLUDE_NO_FALLBACK = 1604 /* 1604 */
+    XML_XINCLUDE_HREF_URI = 1605 /* 1605 */
+    XML_XINCLUDE_TEXT_FRAGMENT = 1606 /* 1606 */
+    XML_XINCLUDE_TEXT_DOCUMENT = 1607 /* 1607 */
+    XML_XINCLUDE_INVALID_CHAR = 1608 /* 1608 */
+    XML_XINCLUDE_BUILD_FAILED = 1609 /* 1609 */
+    XML_XINCLUDE_UNKNOWN_ENCODING = 1610 /* 1610 */
+    XML_XINCLUDE_MULTIPLE_ROOT = 1611 /* 1611 */
+    XML_XINCLUDE_XPTR_FAILED = 1612 /* 1612 */
+    XML_XINCLUDE_XPTR_RESULT = 1613 /* 1613 */
+    XML_XINCLUDE_INCLUDE_IN_INCLUDE = 1614 /* 1614 */
+    XML_XINCLUDE_FALLBACKS_IN_INCLUDE = 1615 /* 1615 */
+    XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE = 1616 /* 1616 */
+    XML_XINCLUDE_DEPRECATED_NS = 1617 /* 1617 */
+    XML_XINCLUDE_FRAGMENT_ID = 1618 /* 1618 */
+    XML_CATALOG_MISSING_ATTR = 1650
+    XML_CATALOG_ENTRY_BROKEN = 1651 /* 1651 */
+    XML_CATALOG_PREFER_VALUE = 1652 /* 1652 */
+    XML_CATALOG_NOT_CATALOG = 1653 /* 1653 */
+    XML_CATALOG_RECURSION = 1654 /* 1654 */
+    XML_SCHEMAP_PREFIX_UNDEFINED = 1700
+    XML_SCHEMAP_ATTRFORMDEFAULT_VALUE = 1701 /* 1701 */
+    XML_SCHEMAP_ATTRGRP_NONAME_NOREF = 1702 /* 1702 */
+    XML_SCHEMAP_ATTR_NONAME_NOREF = 1703 /* 1703 */
+    XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF = 1704 /* 1704 */
+    XML_SCHEMAP_ELEMFORMDEFAULT_VALUE = 1705 /* 1705 */
+    XML_SCHEMAP_ELEM_NONAME_NOREF = 1706 /* 1706 */
+    XML_SCHEMAP_EXTENSION_NO_BASE = 1707 /* 1707 */
+    XML_SCHEMAP_FACET_NO_VALUE = 1708 /* 1708 */
+    XML_SCHEMAP_FAILED_BUILD_IMPORT = 1709 /* 1709 */
+    XML_SCHEMAP_GROUP_NONAME_NOREF = 1710 /* 1710 */
+    XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI = 1711 /* 1711 */
+    XML_SCHEMAP_IMPORT_REDEFINE_NSNAME = 1712 /* 1712 */
+    XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI = 1713 /* 1713 */
+    XML_SCHEMAP_INVALID_BOOLEAN = 1714 /* 1714 */
+    XML_SCHEMAP_INVALID_ENUM = 1715 /* 1715 */
+    XML_SCHEMAP_INVALID_FACET = 1716 /* 1716 */
+    XML_SCHEMAP_INVALID_FACET_VALUE = 1717 /* 1717 */
+    XML_SCHEMAP_INVALID_MAXOCCURS = 1718 /* 1718 */
+    XML_SCHEMAP_INVALID_MINOCCURS = 1719 /* 1719 */
+    XML_SCHEMAP_INVALID_REF_AND_SUBTYPE = 1720 /* 1720 */
+    XML_SCHEMAP_INVALID_WHITE_SPACE = 1721 /* 1721 */
+    XML_SCHEMAP_NOATTR_NOREF = 1722 /* 1722 */
+    XML_SCHEMAP_NOTATION_NO_NAME = 1723 /* 1723 */
+    XML_SCHEMAP_NOTYPE_NOREF = 1724 /* 1724 */
+    XML_SCHEMAP_REF_AND_SUBTYPE = 1725 /* 1725 */
+    XML_SCHEMAP_RESTRICTION_NONAME_NOREF = 1726 /* 1726 */
+    XML_SCHEMAP_SIMPLETYPE_NONAME = 1727 /* 1727 */
+    XML_SCHEMAP_TYPE_AND_SUBTYPE = 1728 /* 1728 */
+    XML_SCHEMAP_UNKNOWN_ALL_CHILD = 1729 /* 1729 */
+    XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD = 1730 /* 1730 */
+    XML_SCHEMAP_UNKNOWN_ATTR_CHILD = 1731 /* 1731 */
+    XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD = 1732 /* 1732 */
+    XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP = 1733 /* 1733 */
+    XML_SCHEMAP_UNKNOWN_BASE_TYPE = 1734 /* 1734 */
+    XML_SCHEMAP_UNKNOWN_CHOICE_CHILD = 1735 /* 1735 */
+    XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD = 1736 /* 1736 */
+    XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD = 1737 /* 1737 */
+    XML_SCHEMAP_UNKNOWN_ELEM_CHILD = 1738 /* 1738 */
+    XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD = 1739 /* 1739 */
+    XML_SCHEMAP_UNKNOWN_FACET_CHILD = 1740 /* 1740 */
+    XML_SCHEMAP_UNKNOWN_FACET_TYPE = 1741 /* 1741 */
+    XML_SCHEMAP_UNKNOWN_GROUP_CHILD = 1742 /* 1742 */
+    XML_SCHEMAP_UNKNOWN_IMPORT_CHILD = 1743 /* 1743 */
+    XML_SCHEMAP_UNKNOWN_LIST_CHILD = 1744 /* 1744 */
+    XML_SCHEMAP_UNKNOWN_NOTATION_CHILD = 1745 /* 1745 */
+    XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD = 1746 /* 1746 */
+    XML_SCHEMAP_UNKNOWN_REF = 1747 /* 1747 */
+    XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD = 1748 /* 1748 */
+    XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD = 1749 /* 1749 */
+    XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD = 1750 /* 1750 */
+    XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD = 1751 /* 1751 */
+    XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD = 1752 /* 1752 */
+    XML_SCHEMAP_UNKNOWN_TYPE = 1753 /* 1753 */
+    XML_SCHEMAP_UNKNOWN_UNION_CHILD = 1754 /* 1754 */
+    XML_SCHEMAP_ELEM_DEFAULT_FIXED = 1755 /* 1755 */
+    XML_SCHEMAP_REGEXP_INVALID = 1756 /* 1756 */
+    XML_SCHEMAP_FAILED_LOAD = 1757 /* 1757 */
+    XML_SCHEMAP_NOTHING_TO_PARSE = 1758 /* 1758 */
+    XML_SCHEMAP_NOROOT = 1759 /* 1759 */
+    XML_SCHEMAP_REDEFINED_GROUP = 1760 /* 1760 */
+    XML_SCHEMAP_REDEFINED_TYPE = 1761 /* 1761 */
+    XML_SCHEMAP_REDEFINED_ELEMENT = 1762 /* 1762 */
+    XML_SCHEMAP_REDEFINED_ATTRGROUP = 1763 /* 1763 */
+    XML_SCHEMAP_REDEFINED_ATTR = 1764 /* 1764 */
+    XML_SCHEMAP_REDEFINED_NOTATION = 1765 /* 1765 */
+    XML_SCHEMAP_FAILED_PARSE = 1766 /* 1766 */
+    XML_SCHEMAP_UNKNOWN_PREFIX = 1767 /* 1767 */
+    XML_SCHEMAP_DEF_AND_PREFIX = 1768 /* 1768 */
+    XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD = 1769 /* 1769 */
+    XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI = 1770 /* 1770 */
+    XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI = 1771 /* 1771 */
+    XML_SCHEMAP_NOT_SCHEMA = 1772 /* 1772 */
+    XML_SCHEMAP_UNKNOWN_MEMBER_TYPE = 1773 /* 1773 */
+    XML_SCHEMAP_INVALID_ATTR_USE = 1774 /* 1774 */
+    XML_SCHEMAP_RECURSIVE = 1775 /* 1775 */
+    XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE = 1776 /* 1776 */
+    XML_SCHEMAP_INVALID_ATTR_COMBINATION = 1777 /* 1777 */
+    XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION = 1778 /* 1778 */
+    XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD = 1779 /* 1779 */
+    XML_SCHEMAP_INVALID_ATTR_NAME = 1780 /* 1780 */
+    XML_SCHEMAP_REF_AND_CONTENT = 1781 /* 1781 */
+    XML_SCHEMAP_CT_PROPS_CORRECT_1 = 1782 /* 1782 */
+    XML_SCHEMAP_CT_PROPS_CORRECT_2 = 1783 /* 1783 */
+    XML_SCHEMAP_CT_PROPS_CORRECT_3 = 1784 /* 1784 */
+    XML_SCHEMAP_CT_PROPS_CORRECT_4 = 1785 /* 1785 */
+    XML_SCHEMAP_CT_PROPS_CORRECT_5 = 1786 /* 1786 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 = 1787 /* 1787 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 = 1788 /* 1788 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 = 1789 /* 1789 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 = 1790 /* 1790 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 = 1791 /* 1791 */
+    XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER = 1792 /* 1792 */
+    XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE = 1793 /* 1793 */
+    XML_SCHEMAP_UNION_NOT_EXPRESSIBLE = 1794 /* 1794 */
+    XML_SCHEMAP_SRC_IMPORT_3_1 = 1795 /* 1795 */
+    XML_SCHEMAP_SRC_IMPORT_3_2 = 1796 /* 1796 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 = 1797 /* 1797 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 = 1798 /* 1798 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 = 1799 /* 1799 */
+    XML_SCHEMAP_COS_CT_EXTENDS_1_3 = 1800 /* 1800 */
+    XML_SCHEMAV_NOROOT = 1801
+    XML_SCHEMAV_UNDECLAREDELEM = 1802 /* 1802 */
+    XML_SCHEMAV_NOTTOPLEVEL = 1803 /* 1803 */
+    XML_SCHEMAV_MISSING = 1804 /* 1804 */
+    XML_SCHEMAV_WRONGELEM = 1805 /* 1805 */
+    XML_SCHEMAV_NOTYPE = 1806 /* 1806 */
+    XML_SCHEMAV_NOROLLBACK = 1807 /* 1807 */
+    XML_SCHEMAV_ISABSTRACT = 1808 /* 1808 */
+    XML_SCHEMAV_NOTEMPTY = 1809 /* 1809 */
+    XML_SCHEMAV_ELEMCONT = 1810 /* 1810 */
+    XML_SCHEMAV_HAVEDEFAULT = 1811 /* 1811 */
+    XML_SCHEMAV_NOTNILLABLE = 1812 /* 1812 */
+    XML_SCHEMAV_EXTRACONTENT = 1813 /* 1813 */
+    XML_SCHEMAV_INVALIDATTR = 1814 /* 1814 */
+    XML_SCHEMAV_INVALIDELEM = 1815 /* 1815 */
+    XML_SCHEMAV_NOTDETERMINIST = 1816 /* 1816 */
+    XML_SCHEMAV_CONSTRUCT = 1817 /* 1817 */
+    XML_SCHEMAV_INTERNAL = 1818 /* 1818 */
+    XML_SCHEMAV_NOTSIMPLE = 1819 /* 1819 */
+    XML_SCHEMAV_ATTRUNKNOWN = 1820 /* 1820 */
+    XML_SCHEMAV_ATTRINVALID = 1821 /* 1821 */
+    XML_SCHEMAV_VALUE = 1822 /* 1822 */
+    XML_SCHEMAV_FACET = 1823 /* 1823 */
+    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 = 1824 /* 1824 */
+    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 = 1825 /* 1825 */
+    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 = 1826 /* 1826 */
+    XML_SCHEMAV_CVC_TYPE_3_1_1 = 1827 /* 1827 */
+    XML_SCHEMAV_CVC_TYPE_3_1_2 = 1828 /* 1828 */
+    XML_SCHEMAV_CVC_FACET_VALID = 1829 /* 1829 */
+    XML_SCHEMAV_CVC_LENGTH_VALID = 1830 /* 1830 */
+    XML_SCHEMAV_CVC_MINLENGTH_VALID = 1831 /* 1831 */
+    XML_SCHEMAV_CVC_MAXLENGTH_VALID = 1832 /* 1832 */
+    XML_SCHEMAV_CVC_MININCLUSIVE_VALID = 1833 /* 1833 */
+    XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID = 1834 /* 1834 */
+    XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID = 1835 /* 1835 */
+    XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID = 1836 /* 1836 */
+    XML_SCHEMAV_CVC_TOTALDIGITS_VALID = 1837 /* 1837 */
+    XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID = 1838 /* 1838 */
+    XML_SCHEMAV_CVC_PATTERN_VALID = 1839 /* 1839 */
+    XML_SCHEMAV_CVC_ENUMERATION_VALID = 1840 /* 1840 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 = 1841 /* 1841 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 = 1842 /* 1842 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 = 1843 /* 1843 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 = 1844 /* 1844 */
+    XML_SCHEMAV_CVC_ELT_1 = 1845 /* 1845 */
+    XML_SCHEMAV_CVC_ELT_2 = 1846 /* 1846 */
+    XML_SCHEMAV_CVC_ELT_3_1 = 1847 /* 1847 */
+    XML_SCHEMAV_CVC_ELT_3_2_1 = 1848 /* 1848 */
+    XML_SCHEMAV_CVC_ELT_3_2_2 = 1849 /* 1849 */
+    XML_SCHEMAV_CVC_ELT_4_1 = 1850 /* 1850 */
+    XML_SCHEMAV_CVC_ELT_4_2 = 1851 /* 1851 */
+    XML_SCHEMAV_CVC_ELT_4_3 = 1852 /* 1852 */
+    XML_SCHEMAV_CVC_ELT_5_1_1 = 1853 /* 1853 */
+    XML_SCHEMAV_CVC_ELT_5_1_2 = 1854 /* 1854 */
+    XML_SCHEMAV_CVC_ELT_5_2_1 = 1855 /* 1855 */
+    XML_SCHEMAV_CVC_ELT_5_2_2_1 = 1856 /* 1856 */
+    XML_SCHEMAV_CVC_ELT_5_2_2_2_1 = 1857 /* 1857 */
+    XML_SCHEMAV_CVC_ELT_5_2_2_2_2 = 1858 /* 1858 */
+    XML_SCHEMAV_CVC_ELT_6 = 1859 /* 1859 */
+    XML_SCHEMAV_CVC_ELT_7 = 1860 /* 1860 */
+    XML_SCHEMAV_CVC_ATTRIBUTE_1 = 1861 /* 1861 */
+    XML_SCHEMAV_CVC_ATTRIBUTE_2 = 1862 /* 1862 */
+    XML_SCHEMAV_CVC_ATTRIBUTE_3 = 1863 /* 1863 */
+    XML_SCHEMAV_CVC_ATTRIBUTE_4 = 1864 /* 1864 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 = 1865 /* 1865 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 = 1866 /* 1866 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 = 1867 /* 1867 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_4 = 1868 /* 1868 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 = 1869 /* 1869 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 = 1870 /* 1870 */
+    XML_SCHEMAV_ELEMENT_CONTENT = 1871 /* 1871 */
+    XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING = 1872 /* 1872 */
+    XML_SCHEMAV_CVC_COMPLEX_TYPE_1 = 1873 /* 1873 */
+    XML_SCHEMAV_CVC_AU = 1874 /* 1874 */
+    XML_SCHEMAV_CVC_TYPE_1 = 1875 /* 1875 */
+    XML_SCHEMAV_CVC_TYPE_2 = 1876 /* 1876 */
+    XML_SCHEMAV_CVC_IDC = 1877 /* 1877 */
+    XML_SCHEMAV_CVC_WILDCARD = 1878 /* 1878 */
+    XML_SCHEMAV_MISC = 1879 /* 1879 */
+    XML_XPTR_UNKNOWN_SCHEME = 1900
+    XML_XPTR_CHILDSEQ_START = 1901 /* 1901 */
+    XML_XPTR_EVAL_FAILED = 1902 /* 1902 */
+    XML_XPTR_EXTRA_OBJECTS = 1903 /* 1903 */
+    XML_C14N_CREATE_CTXT = 1950
+    XML_C14N_REQUIRES_UTF8 = 1951 /* 1951 */
+    XML_C14N_CREATE_STACK = 1952 /* 1952 */
+    XML_C14N_INVALID_NODE = 1953 /* 1953 */
+    XML_C14N_UNKNOW_NODE = 1954 /* 1954 */
+    XML_C14N_RELATIVE_NAMESPACE = 1955 /* 1955 */
+    XML_FTP_PASV_ANSWER = 2000
+    XML_FTP_EPSV_ANSWER = 2001 /* 2001 */
+    XML_FTP_ACCNT = 2002 /* 2002 */
+    XML_FTP_URL_SYNTAX = 2003 /* 2003 */
+    XML_HTTP_URL_SYNTAX = 2020
+    XML_HTTP_USE_IP = 2021 /* 2021 */
+    XML_HTTP_UNKNOWN_HOST = 2022 /* 2022 */
+    XML_SCHEMAP_SRC_SIMPLE_TYPE_1 = 3000
+    XML_SCHEMAP_SRC_SIMPLE_TYPE_2 = 3001 /* 3001 */
+    XML_SCHEMAP_SRC_SIMPLE_TYPE_3 = 3002 /* 3002 */
+    XML_SCHEMAP_SRC_SIMPLE_TYPE_4 = 3003 /* 3003 */
+    XML_SCHEMAP_SRC_RESOLVE = 3004 /* 3004 */
+    XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE = 3005 /* 3005 */
+    XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE = 3006 /* 3006 */
+    XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES = 3007 /* 3007 */
+    XML_SCHEMAP_ST_PROPS_CORRECT_1 = 3008 /* 3008 */
+    XML_SCHEMAP_ST_PROPS_CORRECT_2 = 3009 /* 3009 */
+    XML_SCHEMAP_ST_PROPS_CORRECT_3 = 3010 /* 3010 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_1_1 = 3011 /* 3011 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_1_2 = 3012 /* 3012 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 = 3013 /* 3013 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 = 3014 /* 3014 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_2_1 = 3015 /* 3015 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 = 3016 /* 3016 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 = 3017 /* 3017 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 = 3018 /* 3018 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 = 3019 /* 3019 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 = 3020 /* 3020 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 = 3021 /* 3021 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 = 3022 /* 3022 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_3_1 = 3023 /* 3023 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 = 3024 /* 3024 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 = 3025 /* 3025 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 = 3026 /* 3026 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 = 3027 /* 3027 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 = 3028 /* 3028 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 = 3029 /* 3029 */
+    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 = 3030 /* 3030 */
+    XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 = 3031 /* 3031 */
+    XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 = 3032 /* 3032 */
+    XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED = 3033 /* 3033 */
+    XML_SCHEMAP_S4S_ELEM_MISSING = 3034 /* 3034 */
+    XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED = 3035 /* 3035 */
+    XML_SCHEMAP_S4S_ATTR_MISSING = 3036 /* 3036 */
+    XML_SCHEMAP_S4S_ATTR_INVALID_VALUE = 3037 /* 3037 */
+    XML_SCHEMAP_SRC_ELEMENT_1 = 3038 /* 3038 */
+    XML_SCHEMAP_SRC_ELEMENT_2_1 = 3039 /* 3039 */
+    XML_SCHEMAP_SRC_ELEMENT_2_2 = 3040 /* 3040 */
+    XML_SCHEMAP_SRC_ELEMENT_3 = 3041 /* 3041 */
+    XML_SCHEMAP_P_PROPS_CORRECT_1 = 3042 /* 3042 */
+    XML_SCHEMAP_P_PROPS_CORRECT_2_1 = 3043 /* 3043 */
+    XML_SCHEMAP_P_PROPS_CORRECT_2_2 = 3044 /* 3044 */
+    XML_SCHEMAP_E_PROPS_CORRECT_2 = 3045 /* 3045 */
+    XML_SCHEMAP_E_PROPS_CORRECT_3 = 3046 /* 3046 */
+    XML_SCHEMAP_E_PROPS_CORRECT_4 = 3047 /* 3047 */
+    XML_SCHEMAP_E_PROPS_CORRECT_5 = 3048 /* 3048 */
+    XML_SCHEMAP_E_PROPS_CORRECT_6 = 3049 /* 3049 */
+    XML_SCHEMAP_SRC_INCLUDE = 3050 /* 3050 */
+    XML_SCHEMAP_SRC_ATTRIBUTE_1 = 3051 /* 3051 */
+    XML_SCHEMAP_SRC_ATTRIBUTE_2 = 3052 /* 3052 */
+    XML_SCHEMAP_SRC_ATTRIBUTE_3_1 = 3053 /* 3053 */
+    XML_SCHEMAP_SRC_ATTRIBUTE_3_2 = 3054 /* 3054 */
+    XML_SCHEMAP_SRC_ATTRIBUTE_4 = 3055 /* 3055 */
+    XML_SCHEMAP_NO_XMLNS = 3056 /* 3056 */
+    XML_SCHEMAP_NO_XSI = 3057 /* 3057 */
+    XML_SCHEMAP_COS_VALID_DEFAULT_1 = 3058 /* 3058 */
+    XML_SCHEMAP_COS_VALID_DEFAULT_2_1 = 3059 /* 3059 */
+    XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 = 3060 /* 3060 */
+    XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 = 3061 /* 3061 */
+    XML_SCHEMAP_CVC_SIMPLE_TYPE = 3062 /* 3062 */
+    XML_SCHEMAP_COS_CT_EXTENDS_1_1 = 3063 /* 3063 */
+    XML_SCHEMAP_SRC_IMPORT_1_1 = 3064 /* 3064 */
+    XML_SCHEMAP_SRC_IMPORT_1_2 = 3065 /* 3065 */
+    XML_SCHEMAP_SRC_IMPORT_2 = 3066 /* 3066 */
+    XML_SCHEMAP_SRC_IMPORT_2_1 = 3067 /* 3067 */
+    XML_SCHEMAP_SRC_IMPORT_2_2 = 3068 /* 3068 */
+    XML_SCHEMAP_INTERNAL = 3069 /* 3069 non-W3C */
+    XML_SCHEMAP_NOT_DETERMINISTIC = 3070 /* 3070 non-W3C */
+    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 = 3071 /* 3071 */
+    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 = 3072 /* 3072 */
+    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 = 3073 /* 3073 */
+    XML_SCHEMAP_MG_PROPS_CORRECT_1 = 3074 /* 3074 */
+    XML_SCHEMAP_MG_PROPS_CORRECT_2 = 3075 /* 3075 */
+    XML_SCHEMAP_SRC_CT_1 = 3076 /* 3076 */
+    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 = 3077 /* 3077 */
+    XML_SCHEMAP_AU_PROPS_CORRECT_2 = 3078 /* 3078 */
+    XML_SCHEMAP_A_PROPS_CORRECT_2 = 3079 /* 3079 */
+    XML_SCHEMAP_C_PROPS_CORRECT = 3080 /* 3080 */
+    XML_SCHEMAP_SRC_REDEFINE = 3081 /* 3081 */
+    XML_SCHEMAP_SRC_IMPORT = 3082 /* 3082 */
+    XML_SCHEMAP_WARN_SKIP_SCHEMA = 3083 /* 3083 */
+    XML_SCHEMAP_WARN_UNLOCATED_SCHEMA = 3084 /* 3084 */
+    XML_SCHEMAP_WARN_ATTR_REDECL_PROH = 3085 /* 3085 */
+    XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH = 3086 /* 3085 */
+    XML_SCHEMAP_AG_PROPS_CORRECT = 3087 /* 3086 */
+    XML_SCHEMAP_COS_CT_EXTENDS_1_2 = 3088 /* 3087 */
+    XML_SCHEMAP_AU_PROPS_CORRECT = 3089 /* 3088 */
+    XML_SCHEMAP_A_PROPS_CORRECT_3 = 3090 /* 3089 */
+    XML_SCHEMAP_COS_ALL_LIMITED = 3091 /* 3090 */
+    XML_SCHEMATRONV_ASSERT = 4000 /* 4000 */
+    XML_SCHEMATRONV_REPORT = 4001
+    XML_MODULE_OPEN = 4900 /* 4900 */
+    XML_MODULE_CLOSE = 4901 /* 4901 */
+    XML_CHECK_FOUND_ELEMENT = 5000
+    XML_CHECK_FOUND_ATTRIBUTE = 5001 /* 5001 */
+    XML_CHECK_FOUND_TEXT = 5002 /* 5002 */
+    XML_CHECK_FOUND_CDATA = 5003 /* 5003 */
+    XML_CHECK_FOUND_ENTITYREF = 5004 /* 5004 */
+    XML_CHECK_FOUND_ENTITY = 5005 /* 5005 */
+    XML_CHECK_FOUND_PI = 5006 /* 5006 */
+    XML_CHECK_FOUND_COMMENT = 5007 /* 5007 */
+    XML_CHECK_FOUND_DOCTYPE = 5008 /* 5008 */
+    XML_CHECK_FOUND_FRAGMENT = 5009 /* 5009 */
+    XML_CHECK_FOUND_NOTATION = 5010 /* 5010 */
+    XML_CHECK_UNKNOWN_NODE = 5011 /* 5011 */
+    XML_CHECK_ENTITY_TYPE = 5012 /* 5012 */
+    XML_CHECK_NO_PARENT = 5013 /* 5013 */
+    XML_CHECK_NO_DOC = 5014 /* 5014 */
+    XML_CHECK_NO_NAME = 5015 /* 5015 */
+    XML_CHECK_NO_ELEM = 5016 /* 5016 */
+    XML_CHECK_WRONG_DOC = 5017 /* 5017 */
+    XML_CHECK_NO_PREV = 5018 /* 5018 */
+    XML_CHECK_WRONG_PREV = 5019 /* 5019 */
+    XML_CHECK_NO_NEXT = 5020 /* 5020 */
+    XML_CHECK_WRONG_NEXT = 5021 /* 5021 */
+    XML_CHECK_NOT_DTD = 5022 /* 5022 */
+    XML_CHECK_NOT_ATTR = 5023 /* 5023 */
+    XML_CHECK_NOT_ATTR_DECL = 5024 /* 5024 */
+    XML_CHECK_NOT_ELEM_DECL = 5025 /* 5025 */
+    XML_CHECK_NOT_ENTITY_DECL = 5026 /* 5026 */
+    XML_CHECK_NOT_NS_DECL = 5027 /* 5027 */
+    XML_CHECK_NO_HREF = 5028 /* 5028 */
+    XML_CHECK_WRONG_PARENT = 5029 /* 5029 */
+    XML_CHECK_NS_SCOPE = 5030 /* 5030 */
+    XML_CHECK_NS_ANCESTOR = 5031 /* 5031 */
+    XML_CHECK_NOT_UTF8 = 5032 /* 5032 */
+    XML_CHECK_NO_DICT = 5033 /* 5033 */
+    XML_CHECK_NOT_NCNAME = 5034 /* 5034 */
+    XML_CHECK_OUTSIDE_DICT = 5035 /* 5035 */
+    XML_CHECK_WRONG_NAME = 5036 /* 5036 */
+    XML_CHECK_NAME_NOT_NULL = 5037 /* 5037 */
+    XML_I18N_NO_NAME = 6000
+    XML_I18N_NO_HANDLER = 6001 /* 6001 */
+    XML_I18N_EXCESS_HANDLER = 6002 /* 6002 */
+    XML_I18N_CONV_FAILED = 6003 /* 6003 */
+    XML_I18N_NO_OUTPUT = 6004 /* 6004 */
+    XML_BUF_OVERFLOW = 7000
+};
+
+

+
+
+
+

+Function type xmlGenericErrorFunc

+
void	xmlGenericErrorFunc		(void * ctx, 
const char * msg,
... ...)
+
+

Signature of the function to use when there is an error and no parsing or validity context available .

+
++ + + + + + + + + + + + + + +
ctx:a parsing context
msg:the message
...:the extra arguments of the varargs to format the message
+
+
+
+

+Function type xmlStructuredErrorFunc

+
void	xmlStructuredErrorFunc		(void * userData, 
const xmlError * error)
+
+

Signature of the function to use when there is an error and the module handles the new error reporting mechanism.

+
++ + + + + + + + + + +
userData:user provided data for the error callback
error:the error being raised.
+
+
+
+

+initGenericErrorDefaultFunc ()

+
void	initGenericErrorDefaultFunc	(xmlGenericErrorFunc * handler)
+
+

DEPRECATED: Use xmlSetGenericErrorFunc. Set or reset (if NULL) the default handler for generic errors to the builtin error function.

+
++ + + + +
handler:the handler
+
+
+
+

+xmlCopyError ()

+
int	xmlCopyError			(const xmlError * from, 
xmlErrorPtr to)
+
+

Save the original error to the new place.

+
++ + + + + + + + + + + + + + +
from:a source error
to:a target error
Returns:0 in case of success and -1 in case of error.
+
+
+
+

+xmlCtxtGetLastError ()

+
const xmlError *	xmlCtxtGetLastError	(void * ctx)
+
+

Get the last parsing error registered.

+
++ + + + + + + + + + +
ctx:an XML parser context
Returns:NULL if no error occurred or a pointer to the error
+
+
+
+

+xmlCtxtResetLastError ()

+
void	xmlCtxtResetLastError		(void * ctx)
+
+

Cleanup the last global error registered. For parsing error this does not change the well-formedness result.

+
++ + + + +
ctx:an XML parser context
+
+
+
+

+xmlFormatError ()

+
void	xmlFormatError			(const xmlError * err, 
xmlGenericErrorFunc channel,
void * data)
+
+

Report a formatted error to a printf-like callback. This can result in a verbose multi-line report including additional information from the parser context. Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
err:the error
channel:callback
data:user data for callback
+
+
+
+

+xmlGetLastError ()

+
const xmlError *	xmlGetLastError	(void)
+
+

Get the last global error registered. This is per thread if compiled with thread support.

+
++ + + + +
Returns:a pointer to the error
+
+
+
+

+xmlParserError ()

+
void	xmlParserError			(void * ctx, 
const char * msg,
... ...)
+
+

Display and format an error messages, gives file, line, position and extra parameters.

+
++ + + + + + + + + + + + + + +
ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display
+
+
+
+

+xmlParserPrintFileContext ()

+
void	xmlParserPrintFileContext	(xmlParserInputPtr input)
+
+

DEPRECATED: Use xmlFormatError. Displays current context within the input content for error tracking

+
++ + + + +
input:an xmlParserInputPtr input
+
+
+
+

+xmlParserPrintFileInfo ()

+
void	xmlParserPrintFileInfo		(xmlParserInputPtr input)
+
+

DEPRECATED: Use xmlFormatError. Displays the associated file and line information for the current input

+
++ + + + +
input:an xmlParserInputPtr input
+
+
+
+

+xmlParserValidityError ()

+
void	xmlParserValidityError		(void * ctx, 
const char * msg,
... ...)
+
+

Display and format an validity error messages, gives file, line, position and extra parameters.

+
++ + + + + + + + + + + + + + +
ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display
+
+
+
+

+xmlParserValidityWarning ()

+
void	xmlParserValidityWarning	(void * ctx, 
const char * msg,
... ...)
+
+

Display and format a validity warning messages, gives file, line, position and extra parameters.

+
++ + + + + + + + + + + + + + +
ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display
+
+
+
+

+xmlParserWarning ()

+
void	xmlParserWarning		(void * ctx, 
const char * msg,
... ...)
+
+

Display and format a warning messages, gives file, line, position and extra parameters.

+
++ + + + + + + + + + + + + + +
ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display
+
+
+
+

+xmlResetError ()

+
void	xmlResetError			(xmlErrorPtr err)
+
+

Cleanup the error.

+
++ + + + +
err:pointer to the error.
+
+
+
+

+xmlResetLastError ()

+
void	xmlResetLastError		(void)
+
+

Cleanup the last global error registered. For parsing error this does not change the well-formedness result.

+
+
+
+

+xmlSetGenericErrorFunc ()

+
void	xmlSetGenericErrorFunc		(void * ctx, 
xmlGenericErrorFunc handler)
+
+

DEPRECATED: See xmlSetStructuredErrorFunc for alternatives. Set the global "generic" handler and context for error messages. The generic error handler will only receive fragments of error messages which should be concatenated or printed to a stream. If handler is NULL, use the built-in default handler which prints to stderr. Since this is a global setting, it's a good idea to reset the error handler to its default value after collecting the errors you're interested in. For multi-threaded applications, this must be set separately for each thread.

+
++ + + + + + + + + + +
ctx:the new error handling context
handler:the new handler function
+
+
+
+

+xmlSetStructuredErrorFunc ()

+
void	xmlSetStructuredErrorFunc	(void * ctx, 
xmlStructuredErrorFunc handler)
+
+

DEPRECATED: Use a per-context error handler. It's recommended to use the per-context error handlers instead: - xmlCtxtSetErrorHandler (since 2.13.0) - xmlTextReaderSetStructuredErrorHandler - xmlXPathSetErrorHandler (since 2.13.0) - xmlXIncludeSetErrorHandler (since 2.13.0) - xmlSchemaSetParserStructuredErrors - xmlSchemaSetValidStructuredErrors - xmlRelaxNGSetParserStructuredErrors - xmlRelaxNGSetValidStructuredErrors Set the global "structured" handler and context for error messages. If handler is NULL, the error handler is deactivated. The structured error handler takes precedence over "generic" handlers, even per-context generic handlers. Since this is a global setting, it's a good idea to deactivate the error handler after collecting the errors you're interested in. For multi-threaded applications, this must be set separately for each thread.

+
++ + + + + + + + + + +
ctx:the new error handling context
handler:the new handler function
+
+
+
+

+xmlThrDefSetGenericErrorFunc ()

+
void	xmlThrDefSetGenericErrorFunc	(void * ctx, 
xmlGenericErrorFunc handler)
+
+

+
++ + + + + + + + + + +
ctx:
handler:
+
+
+
+

+xmlThrDefSetStructuredErrorFunc ()

+
void	xmlThrDefSetStructuredErrorFunc	(void * ctx, 
xmlStructuredErrorFunc handler)
+
+

+
++ + + + + + + + + + +
ctx:
handler:
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlexports.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlexports.html new file mode 100644 index 0000000000000000000000000000000000000000..05b5efea11490d8de8d211ffe0d4dc02701df071 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlexports.html @@ -0,0 +1,33 @@ + + + +xmlexports: macros for marking symbols as exportable/importable. + + + + + + + + + + + + + + +

xmlexports

+

xmlexports - macros for marking symbols as exportable/importable.

+

macros for marking symbols as exportable/importable.

+

Author(s):

+
+

Synopsis

+

+
+

Description

+
+

Details

+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlmemory.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlmemory.html new file mode 100644 index 0000000000000000000000000000000000000000..57457aad23329b9ff0ed8fa428c9edc435c53934 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlmemory.html @@ -0,0 +1,662 @@ + + + +xmlmemory: interface for the memory allocator + + + + + + + + + + + + + + +

xmlmemory

+

xmlmemory - interface for the memory allocator

+

provides interfaces for the memory allocator, including debugging capabilities.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
void	xmlCleanupMemory		(void);
+typedef void xmlFreeFunc			(void * mem);
+int	xmlGcMemGet			(xmlFreeFunc * freeFunc, 
xmlMallocFunc * mallocFunc,
xmlMallocFunc * mallocAtomicFunc,
xmlReallocFunc * reallocFunc,
xmlStrdupFunc * strdupFunc); +int xmlGcMemSetup (xmlFreeFunc freeFunc,
xmlMallocFunc mallocFunc,
xmlMallocFunc mallocAtomicFunc,
xmlReallocFunc reallocFunc,
xmlStrdupFunc strdupFunc); +int xmlInitMemory (void); +void * xmlMallocAtomicLoc (size_t size,
const char * file,
int line); +typedef void * xmlMallocFunc (size_t size); +void * xmlMallocLoc (size_t size,
const char * file,
int line); +int xmlMemBlocks (void); +void xmlMemDisplay (FILE * fp); +void xmlMemDisplayLast (FILE * fp,
long nbBytes); +void xmlMemFree (void * ptr); +int xmlMemGet (xmlFreeFunc * freeFunc,
xmlMallocFunc * mallocFunc,
xmlReallocFunc * reallocFunc,
xmlStrdupFunc * strdupFunc); +void * xmlMemMalloc (size_t size); +void * xmlMemRealloc (void * ptr,
size_t size); +int xmlMemSetup (xmlFreeFunc freeFunc,
xmlMallocFunc mallocFunc,
xmlReallocFunc reallocFunc,
xmlStrdupFunc strdupFunc); +void xmlMemShow (FILE * fp,
int nr); +size_t xmlMemSize (void * ptr); +char * xmlMemStrdupLoc (const char * str,
const char * file,
int line); +int xmlMemUsed (void); +void xmlMemoryDump (void); +char * xmlMemoryStrdup (const char * str); +typedef void * xmlReallocFunc (void * mem,
size_t size); +void * xmlReallocLoc (void * ptr,
size_t size,
const char * file,
int line); +typedef char * xmlStrdupFunc (const char * str); +
+
+

Description

+
+

Details

+
+
+

+Function type xmlFreeFunc

+
void	xmlFreeFunc			(void * mem)
+
+

Signature for a free() implementation.

+
++ + + + +
mem:an already allocated block of memory
+
+
+
+

+Function type xmlMallocFunc

+
void *	xmlMallocFunc			(size_t size)
+
+

Signature for a malloc() implementation.

+
++ + + + + + + + + + +
size:the size requested in bytes
Returns:a pointer to the newly allocated block or NULL in case of error.
+
+
+
+

+Function type xmlReallocFunc

+
void *	xmlReallocFunc			(void * mem, 
size_t size)
+
+

Signature for a realloc() implementation.

+
++ + + + + + + + + + + + + + +
mem:an already allocated block of memory
size:the new size requested in bytes
Returns:a pointer to the newly reallocated block or NULL in case of error.
+
+
+
+

+Function type xmlStrdupFunc

+
char *	xmlStrdupFunc			(const char * str)
+
+

Signature for an strdup() implementation.

+
++ + + + + + + + + + +
str:a zero terminated string
Returns:the copy of the string or NULL in case of error.
+
+
+
+

+Variable xmlFree

+
xmlFreeFunc xmlFree;
+
+

@mem: an already allocated block of memory The variable holding the libxml free() implementation

+
+
+
+

+Variable xmlMalloc

+
xmlMallocFunc xmlMalloc;
+
+

@size: the size requested in bytes The variable holding the libxml malloc() implementation Returns a pointer to the newly allocated block or NULL in case of error

+
+
+
+

+Variable xmlMallocAtomic

+
xmlMallocFunc xmlMallocAtomic;
+
+

@size: the size requested in bytes The variable holding the libxml malloc() implementation for atomic data (i.e. blocks not containing pointers), useful when using a garbage collecting allocator. Returns a pointer to the newly allocated block or NULL in case of error

+
+
+
+

+Variable xmlMemStrdup

+
xmlStrdupFunc xmlMemStrdup;
+
+

@str: a zero terminated string The variable holding the libxml strdup() implementation Returns the copy of the string or NULL in case of error

+
+
+
+

+Variable xmlRealloc

+
xmlReallocFunc xmlRealloc;
+
+

@mem: an already allocated block of memory @size: the new size requested in bytes The variable holding the libxml realloc() implementation Returns a pointer to the newly reallocated block or NULL in case of error

+
+
+
+

+xmlCleanupMemory ()

+
void	xmlCleanupMemory		(void)
+
+

DEPRECATED: This function is a no-op. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all.

+
+
+
+

+xmlGcMemGet ()

+
int	xmlGcMemGet			(xmlFreeFunc * freeFunc, 
xmlMallocFunc * mallocFunc,
xmlMallocFunc * mallocAtomicFunc,
xmlReallocFunc * reallocFunc,
xmlStrdupFunc * strdupFunc)
+
+

Provides the memory access functions set currently in use The mallocAtomicFunc is specialized for atomic block allocations (i.e. of areas useful for garbage collected memory allocators

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
freeFunc:place to save the free() function in use
mallocFunc:place to save the malloc() function in use
mallocAtomicFunc:place to save the atomic malloc() function in use
reallocFunc:place to save the realloc() function in use
strdupFunc:place to save the strdup() function in use
Returns:0 on success
+
+
+
+

+xmlGcMemSetup ()

+
int	xmlGcMemSetup			(xmlFreeFunc freeFunc, 
xmlMallocFunc mallocFunc,
xmlMallocFunc mallocAtomicFunc,
xmlReallocFunc reallocFunc,
xmlStrdupFunc strdupFunc)
+
+

Override the default memory access functions with a new set This has to be called before any other libxml routines ! The mallocAtomicFunc is specialized for atomic block allocations (i.e. of areas useful for garbage collected memory allocators Should this be blocked if there was already some allocations done ?

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
freeFunc:the free() function to use
mallocFunc:the malloc() function to use
mallocAtomicFunc:the malloc() function to use for atomic allocations
reallocFunc:the realloc() function to use
strdupFunc:the strdup() function to use
Returns:0 on success
+
+
+
+

+xmlInitMemory ()

+
int	xmlInitMemory			(void)
+
+

DEPRECATED: Alias for xmlInitParser.

+
++ + + + +
Returns:0.
+
+
+
+

+xmlMallocAtomicLoc ()

+
void *	xmlMallocAtomicLoc		(size_t size, 
const char * file,
int line)
+
+

DEPRECATED: don't use

+
++ + + + + + + + + + + + + + + + + + +
size:an unsigned int specifying the size in byte to allocate.
file:the file name or NULL
line:the line number
Returns:a pointer to the allocated area or NULL in case of lack of memory.
+
+
+
+

+xmlMallocLoc ()

+
void *	xmlMallocLoc			(size_t size, 
const char * file,
int line)
+
+

DEPRECATED: don't use

+
++ + + + + + + + + + + + + + + + + + +
size:an int specifying the size in byte to allocate.
file:the file name or NULL
line:the line number
Returns:a pointer to the allocated area or NULL in case of lack of memory.
+
+
+
+

+xmlMemBlocks ()

+
int	xmlMemBlocks			(void)
+
+

Provides the number of memory areas currently allocated

+
++ + + + +
Returns:an int representing the number of blocks
+
+
+
+

+xmlMemDisplay ()

+
void	xmlMemDisplay			(FILE * fp)
+
+

DEPRECATED: This feature was removed.

+
++ + + + +
fp:a FILE descriptor
+
+
+
+

+xmlMemDisplayLast ()

+
void	xmlMemDisplayLast		(FILE * fp, 
long nbBytes)
+
+

DEPRECATED: This feature was removed.

+
++ + + + + + + + + + +
fp:a FILE descriptor
nbBytes:the amount of memory to dump
+
+
+
+

+xmlMemFree ()

+
void	xmlMemFree			(void * ptr)
+
+

a free() equivalent, with error checking.

+
++ + + + +
ptr:the memory block pointer
+
+
+
+

+xmlMemGet ()

+
int	xmlMemGet			(xmlFreeFunc * freeFunc, 
xmlMallocFunc * mallocFunc,
xmlReallocFunc * reallocFunc,
xmlStrdupFunc * strdupFunc)
+
+

Provides the memory access functions set currently in use

+
++ + + + + + + + + + + + + + + + + + + + + + +
freeFunc:place to save the free() function in use
mallocFunc:place to save the malloc() function in use
reallocFunc:place to save the realloc() function in use
strdupFunc:place to save the strdup() function in use
Returns:0 on success
+
+
+
+

+xmlMemMalloc ()

+
void *	xmlMemMalloc			(size_t size)
+
+

a malloc() equivalent, with logging of the allocation info.

+
++ + + + + + + + + + +
size:an int specifying the size in byte to allocate.
Returns:a pointer to the allocated area or NULL in case of lack of memory.
+
+
+
+

+xmlMemRealloc ()

+
void *	xmlMemRealloc			(void * ptr, 
size_t size)
+
+

a realloc() equivalent, with logging of the allocation info.

+
++ + + + + + + + + + + + + + +
ptr:the initial memory block pointer
size:an int specifying the size in byte to allocate.
Returns:a pointer to the allocated area or NULL in case of lack of memory.
+
+
+
+

+xmlMemSetup ()

+
int	xmlMemSetup			(xmlFreeFunc freeFunc, 
xmlMallocFunc mallocFunc,
xmlReallocFunc reallocFunc,
xmlStrdupFunc strdupFunc)
+
+

Override the default memory access functions with a new set This has to be called before any other libxml routines ! Should this be blocked if there was already some allocations done ?

+
++ + + + + + + + + + + + + + + + + + + + + + +
freeFunc:the free() function to use
mallocFunc:the malloc() function to use
reallocFunc:the realloc() function to use
strdupFunc:the strdup() function to use
Returns:0 on success
+
+
+
+

+xmlMemShow ()

+
void	xmlMemShow			(FILE * fp, 
int nr)
+
+

DEPRECATED: This feature was removed.

+
++ + + + + + + + + + +
fp:a FILE descriptor
nr:number of entries to dump
+
+
+
+

+xmlMemSize ()

+
size_t	xmlMemSize			(void * ptr)
+
+

+
++ + + + + + + + + + +
ptr:pointer to the memory allocation
Returns:the size of a memory allocation.
+
+
+
+

+xmlMemStrdupLoc ()

+
char *	xmlMemStrdupLoc			(const char * str, 
const char * file,
int line)
+
+

DEPRECATED: don't use

+
++ + + + + + + + + + + + + + + + + + +
str:the initial string pointer
file:the file name or NULL
line:the line number
Returns:a pointer to the new string or NULL if allocation error occurred.
+
+
+
+

+xmlMemUsed ()

+
int	xmlMemUsed			(void)
+
+

Provides the amount of memory currently allocated

+
++ + + + +
Returns:an int representing the amount of memory allocated.
+
+
+
+

+xmlMemoryDump ()

+
void	xmlMemoryDump			(void)
+
+

DEPRECATED: This feature was removed.

+
+
+
+

+xmlMemoryStrdup ()

+
char *	xmlMemoryStrdup			(const char * str)
+
+

a strdup() equivalent, with logging of the allocation info.

+
++ + + + + + + + + + +
str:the initial string pointer
Returns:a pointer to the new string or NULL if allocation error occurred.
+
+
+
+

+xmlReallocLoc ()

+
void *	xmlReallocLoc			(void * ptr, 
size_t size,
const char * file,
int line)
+
+

DEPRECATED: don't use

+
++ + + + + + + + + + + + + + + + + + + + + + +
ptr:the initial memory block pointer
size:an int specifying the size in byte to allocate.
file:the file name or NULL
line:the line number
Returns:a pointer to the allocated area or NULL in case of lack of memory.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlmodule.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlmodule.html new file mode 100644 index 0000000000000000000000000000000000000000..e28329b9d697ecd9935d1188c79a3aea7107928e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlmodule.html @@ -0,0 +1,167 @@ + + + +xmlmodule: dynamic module loading + + + + + + + + + + + + + + +

xmlmodule

+

xmlmodule - dynamic module loading

+

basic API for dynamic module loading, used by libexslt added in 2.6.17

+

Author(s): Joel W. Reed

+
+

Synopsis

+
typedef struct _xmlModule xmlModule;
+typedef enum xmlModuleOption;
+typedef xmlModule * xmlModulePtr;
+int	xmlModuleClose			(xmlModulePtr module);
+int	xmlModuleFree			(xmlModulePtr module);
+xmlModulePtr	xmlModuleOpen		(const char * name, 
int options); +int xmlModuleSymbol (xmlModulePtr module,
const char * name,
void ** symbol); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlModule

+
struct _xmlModule {
+The content of this structure is not made public by the API.
+} xmlModule;
+
+

+
+
+
+

+Enum xmlModuleOption

+
enum xmlModuleOption {
+    XML_MODULE_LAZY = 1 /* lazy binding */
+    XML_MODULE_LOCAL = 2 /*  local binding */
+};
+
+

+
+
+
+

+Typedef xmlModulePtr

+
xmlModule * xmlModulePtr;
+
+

A handle to a dynamically loaded module

+
+
+
+

+xmlModuleClose ()

+
int	xmlModuleClose			(xmlModulePtr module)
+
+

The close operations unload the associated module and free the data associated to the module.

+
++ + + + + + + + + + +
module:the module handle
Returns:0 in case of success, -1 in case of argument error and -2 if the module could not be closed/unloaded.
+
+
+
+

+xmlModuleFree ()

+
int	xmlModuleFree			(xmlModulePtr module)
+
+

The free operations free the data associated to the module but does not unload the associated shared library which may still be in use.

+
++ + + + + + + + + + +
module:the module handle
Returns:0 in case of success, -1 in case of argument error
+
+
+
+

+xmlModuleOpen ()

+
xmlModulePtr	xmlModuleOpen		(const char * name, 
int options)
+
+

Opens a module/shared library given its name or path NOTE: that due to portability issues, behaviour can only be guaranteed with @name using ASCII. We cannot guarantee that an UTF-8 string would work, which is why name is a const char * and not a const xmlChar * . TODO: options are not yet implemented.

+
++ + + + + + + + + + + + + + +
name:the module name
options:a set of xmlModuleOption +
Returns:a handle for the module or NULL in case of error
+
+
+
+

+xmlModuleSymbol ()

+
int	xmlModuleSymbol			(xmlModulePtr module, 
const char * name,
void ** symbol)
+
+

Lookup for a symbol address in the given module NOTE: that due to portability issues, behaviour can only be guaranteed with @name using ASCII. We cannot guarantee that an UTF-8 string would work, which is why name is a const char * and not a const xmlChar * .

+
++ + + + + + + + + + + + + + + + + + +
module:the module
name:the name of the symbol
symbol:the resulting symbol address
Returns:0 if the symbol was found, or -1 in case of error
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlreader.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlreader.html new file mode 100644 index 0000000000000000000000000000000000000000..e3be724285e5c75b85f9c94497e42d98a459f825 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlreader.html @@ -0,0 +1,2392 @@ + + + +xmlreader: the XMLReader implementation + + + + + + + + + + + + + + +

xmlreader

+

xmlreader - the XMLReader implementation

+

API of the XML streaming API based on C# interfaces.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef enum xmlParserProperties;
+typedef enum xmlParserSeverities;
+typedef enum xmlReaderTypes;
+typedef struct _xmlTextReader xmlTextReader;
+typedef void * xmlTextReaderLocatorPtr;
+typedef enum xmlTextReaderMode;
+typedef xmlTextReader * xmlTextReaderPtr;
+void	xmlFreeTextReader		(xmlTextReaderPtr reader);
+xmlTextReaderPtr	xmlNewTextReader	(xmlParserInputBufferPtr input, 
const char * URI); +xmlTextReaderPtr xmlNewTextReaderFilename (const char * URI); +xmlTextReaderPtr xmlReaderForDoc (const xmlChar * cur,
const char * URL,
const char * encoding,
int options); +xmlTextReaderPtr xmlReaderForFd (int fd,
const char * URL,
const char * encoding,
int options); +xmlTextReaderPtr xmlReaderForFile (const char * filename,
const char * encoding,
int options); +xmlTextReaderPtr xmlReaderForIO (xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options); +xmlTextReaderPtr xmlReaderForMemory (const char * buffer,
int size,
const char * URL,
const char * encoding,
int options); +int xmlReaderNewDoc (xmlTextReaderPtr reader,
const xmlChar * cur,
const char * URL,
const char * encoding,
int options); +int xmlReaderNewFd (xmlTextReaderPtr reader,
int fd,
const char * URL,
const char * encoding,
int options); +int xmlReaderNewFile (xmlTextReaderPtr reader,
const char * filename,
const char * encoding,
int options); +int xmlReaderNewIO (xmlTextReaderPtr reader,
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options); +int xmlReaderNewMemory (xmlTextReaderPtr reader,
const char * buffer,
int size,
const char * URL,
const char * encoding,
int options); +int xmlReaderNewWalker (xmlTextReaderPtr reader,
xmlDocPtr doc); +xmlTextReaderPtr xmlReaderWalker (xmlDocPtr doc); +int xmlTextReaderAttributeCount (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderBaseUri (xmlTextReaderPtr reader); +long xmlTextReaderByteConsumed (xmlTextReaderPtr reader); +int xmlTextReaderClose (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstBaseUri (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstEncoding (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstLocalName (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstName (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstNamespaceUri (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstPrefix (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstString (xmlTextReaderPtr reader,
const xmlChar * str); +const xmlChar * xmlTextReaderConstValue (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstXmlLang (xmlTextReaderPtr reader); +const xmlChar * xmlTextReaderConstXmlVersion (xmlTextReaderPtr reader); +xmlDocPtr xmlTextReaderCurrentDoc (xmlTextReaderPtr reader); +xmlNodePtr xmlTextReaderCurrentNode (xmlTextReaderPtr reader); +int xmlTextReaderDepth (xmlTextReaderPtr reader); +typedef void xmlTextReaderErrorFunc (void * arg,
const char * msg,
xmlParserSeverities severity,
xmlTextReaderLocatorPtr locator); +xmlNodePtr xmlTextReaderExpand (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderGetAttribute (xmlTextReaderPtr reader,
const xmlChar * name); +xmlChar * xmlTextReaderGetAttributeNo (xmlTextReaderPtr reader,
int no); +xmlChar * xmlTextReaderGetAttributeNs (xmlTextReaderPtr reader,
const xmlChar * localName,
const xmlChar * namespaceURI); +void xmlTextReaderGetErrorHandler (xmlTextReaderPtr reader,
xmlTextReaderErrorFunc * f,
void ** arg); +const xmlError * xmlTextReaderGetLastError (xmlTextReaderPtr reader); +int xmlTextReaderGetParserColumnNumber (xmlTextReaderPtr reader); +int xmlTextReaderGetParserLineNumber (xmlTextReaderPtr reader); +int xmlTextReaderGetParserProp (xmlTextReaderPtr reader,
int prop); +xmlParserInputBufferPtr xmlTextReaderGetRemainder (xmlTextReaderPtr reader); +int xmlTextReaderHasAttributes (xmlTextReaderPtr reader); +int xmlTextReaderHasValue (xmlTextReaderPtr reader); +int xmlTextReaderIsDefault (xmlTextReaderPtr reader); +int xmlTextReaderIsEmptyElement (xmlTextReaderPtr reader); +int xmlTextReaderIsNamespaceDecl (xmlTextReaderPtr reader); +int xmlTextReaderIsValid (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderLocalName (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderLocatorBaseURI (xmlTextReaderLocatorPtr locator); +int xmlTextReaderLocatorLineNumber (xmlTextReaderLocatorPtr locator); +xmlChar * xmlTextReaderLookupNamespace (xmlTextReaderPtr reader,
const xmlChar * prefix); +int xmlTextReaderMoveToAttribute (xmlTextReaderPtr reader,
const xmlChar * name); +int xmlTextReaderMoveToAttributeNo (xmlTextReaderPtr reader,
int no); +int xmlTextReaderMoveToAttributeNs (xmlTextReaderPtr reader,
const xmlChar * localName,
const xmlChar * namespaceURI); +int xmlTextReaderMoveToElement (xmlTextReaderPtr reader); +int xmlTextReaderMoveToFirstAttribute (xmlTextReaderPtr reader); +int xmlTextReaderMoveToNextAttribute (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderName (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderNamespaceUri (xmlTextReaderPtr reader); +int xmlTextReaderNext (xmlTextReaderPtr reader); +int xmlTextReaderNextSibling (xmlTextReaderPtr reader); +int xmlTextReaderNodeType (xmlTextReaderPtr reader); +int xmlTextReaderNormalization (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderPrefix (xmlTextReaderPtr reader); +xmlNodePtr xmlTextReaderPreserve (xmlTextReaderPtr reader); +int xmlTextReaderPreservePattern (xmlTextReaderPtr reader,
const xmlChar * pattern,
const xmlChar ** namespaces); +int xmlTextReaderQuoteChar (xmlTextReaderPtr reader); +int xmlTextReaderRead (xmlTextReaderPtr reader); +int xmlTextReaderReadAttributeValue (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderReadInnerXml (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderReadOuterXml (xmlTextReaderPtr reader); +int xmlTextReaderReadState (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderReadString (xmlTextReaderPtr reader); +int xmlTextReaderRelaxNGSetSchema (xmlTextReaderPtr reader,
xmlRelaxNGPtr schema); +int xmlTextReaderRelaxNGValidate (xmlTextReaderPtr reader,
const char * rng); +int xmlTextReaderRelaxNGValidateCtxt (xmlTextReaderPtr reader,
xmlRelaxNGValidCtxtPtr ctxt,
int options); +int xmlTextReaderSchemaValidate (xmlTextReaderPtr reader,
const char * xsd); +int xmlTextReaderSchemaValidateCtxt (xmlTextReaderPtr reader,
xmlSchemaValidCtxtPtr ctxt,
int options); +void xmlTextReaderSetErrorHandler (xmlTextReaderPtr reader,
xmlTextReaderErrorFunc f,
void * arg); +void xmlTextReaderSetMaxAmplification (xmlTextReaderPtr reader,
unsigned maxAmpl); +int xmlTextReaderSetParserProp (xmlTextReaderPtr reader,
int prop,
int value); +int xmlTextReaderSetSchema (xmlTextReaderPtr reader,
xmlSchemaPtr schema); +void xmlTextReaderSetStructuredErrorHandler (xmlTextReaderPtr reader,
xmlStructuredErrorFunc f,
void * arg); +int xmlTextReaderSetup (xmlTextReaderPtr reader,
xmlParserInputBufferPtr input,
const char * URL,
const char * encoding,
int options); +int xmlTextReaderStandalone (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderValue (xmlTextReaderPtr reader); +xmlChar * xmlTextReaderXmlLang (xmlTextReaderPtr reader); +
+
+

Description

+
+

Details

+
+ +
+ +
+ +
+
+

+Structure xmlTextReader

+
struct _xmlTextReader {
+The content of this structure is not made public by the API.
+} xmlTextReader;
+
+

+
+
+
+

+Typedef xmlTextReaderLocatorPtr

+
void * xmlTextReaderLocatorPtr;
+
+

+
+
+ +
+
+

+Typedef xmlTextReaderPtr

+
xmlTextReader * xmlTextReaderPtr;
+
+

Pointer to an xmlReader context.

+
+
+
+

+Function type xmlTextReaderErrorFunc

+
void	xmlTextReaderErrorFunc		(void * arg, 
const char * msg,
xmlParserSeverities severity,
xmlTextReaderLocatorPtr locator)
+
+

Signature of an error callback from a reader parser

+
++ + + + + + + + + + + + + + + + + + +
arg:the user argument
msg:the message
severity:the severity of the error
locator:a locator indicating where the error occurred
+
+
+
+

+xmlFreeTextReader ()

+
void	xmlFreeTextReader		(xmlTextReaderPtr reader)
+
+

Deallocate all the resources associated to the reader

+
++ + + + +
reader:the xmlTextReaderPtr +
+
+
+
+

+xmlNewTextReader ()

+
xmlTextReaderPtr	xmlNewTextReader	(xmlParserInputBufferPtr input, 
const char * URI)
+
+

Create an xmlTextReader structure fed with @input

+
++ + + + + + + + + + + + + + +
input:the xmlParserInputBufferPtr used to read data
URI:the URI information for the source if available
Returns:the new xmlTextReaderPtr or NULL in case of error
+
+
+
+

+xmlNewTextReaderFilename ()

+
xmlTextReaderPtr	xmlNewTextReaderFilename	(const char * URI)
+
+

Create an xmlTextReader structure fed with the resource at @URI

+
++ + + + + + + + + + +
URI:the URI of the resource to process
Returns:the new xmlTextReaderPtr or NULL in case of error
+
+
+
+

+xmlReaderForDoc ()

+
xmlTextReaderPtr	xmlReaderForDoc	(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
+
+

Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.

+
++ + + + + + + + + + + + + + + + + + + + + + +
cur:a pointer to a zero terminated string
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:the new reader or NULL in case of error.
+
+
+
+

+xmlReaderForFd ()

+
xmlTextReaderPtr	xmlReaderForFd	(int fd, 
const char * URL,
const char * encoding,
int options)
+
+

Create an xmltextReader for an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption. NOTE that the file descriptor will not be closed when the reader is closed or reset.

+
++ + + + + + + + + + + + + + + + + + + + + + +
fd:an open file descriptor
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:the new reader or NULL in case of error.
+
+
+
+

+xmlReaderForFile ()

+
xmlTextReaderPtr	xmlReaderForFile	(const char * filename, 
const char * encoding,
int options)
+
+

parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption.

+
++ + + + + + + + + + + + + + + + + + +
filename:a file or URL
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:the new reader or NULL in case of error.
+
+
+
+

+xmlReaderForIO ()

+
xmlTextReaderPtr	xmlReaderForIO	(xmlInputReadCallback ioread, 
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
+
+

Create an xmltextReader for an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:the new reader or NULL in case of error.
+
+
+
+

+xmlReaderForMemory ()

+
xmlTextReaderPtr	xmlReaderForMemory	(const char * buffer, 
int size,
const char * URL,
const char * encoding,
int options)
+
+

Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
buffer:a pointer to a char array
size:the size of the array
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:the new reader or NULL in case of error.
+
+
+
+

+xmlReaderNewDoc ()

+
int	xmlReaderNewDoc			(xmlTextReaderPtr reader, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
+
+

Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
reader:an XML reader
cur:a pointer to a zero terminated string
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlReaderNewFd ()

+
int	xmlReaderNewFd			(xmlTextReaderPtr reader, 
int fd,
const char * URL,
const char * encoding,
int options)
+
+

Setup an xmltextReader to parse an XML from a file descriptor. NOTE that the file descriptor will not be closed when the reader is closed or reset. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
reader:an XML reader
fd:an open file descriptor
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlReaderNewFile ()

+
int	xmlReaderNewFile		(xmlTextReaderPtr reader, 
const char * filename,
const char * encoding,
int options)
+
+

parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.

+
++ + + + + + + + + + + + + + + + + + + + + + +
reader:an XML reader
filename:a file or URL
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlReaderNewIO ()

+
int	xmlReaderNewIO			(xmlTextReaderPtr reader, 
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
+
+

Setup an xmltextReader to parse an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
reader:an XML reader
ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlReaderNewMemory ()

+
int	xmlReaderNewMemory		(xmlTextReaderPtr reader, 
const char * buffer,
int size,
const char * URL,
const char * encoding,
int options)
+
+

Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
reader:an XML reader
buffer:a pointer to a char array
size:the size of the array
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlReaderNewWalker ()

+
int	xmlReaderNewWalker		(xmlTextReaderPtr reader, 
xmlDocPtr doc)
+
+

Setup an xmltextReader to parse a preparsed XML document. This reuses the existing @reader xmlTextReader.

+
++ + + + + + + + + + + + + + +
reader:an XML reader
doc:a preparsed document
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlReaderWalker ()

+
xmlTextReaderPtr	xmlReaderWalker	(xmlDocPtr doc)
+
+

Create an xmltextReader for a preparsed document.

+
++ + + + + + + + + + +
doc:a preparsed document
Returns:the new reader or NULL in case of error.
+
+
+
+

+xmlTextReaderAttributeCount ()

+
int	xmlTextReaderAttributeCount	(xmlTextReaderPtr reader)
+
+

Provides the number of attributes of the current node

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:0 i no attributes, -1 in case of error or the attribute count
+
+
+
+

+xmlTextReaderBaseUri ()

+
xmlChar *	xmlTextReaderBaseUri	(xmlTextReaderPtr reader)
+
+

The base URI of the node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the base URI or NULL if not available, if non NULL it need to be freed by the caller.
+
+
+
+

+xmlTextReaderByteConsumed ()

+
long	xmlTextReaderByteConsumed	(xmlTextReaderPtr reader)
+
+

This function provides the current index of the parser used by the reader, relative to the start of the current entity. This function actually just wraps a call to xmlBytesConsumed() for the parser context associated with the reader. See xmlBytesConsumed() for more information.

+
++ + + + + + + + + + +
reader:an XML reader
Returns:the index in bytes from the beginning of the entity or -1 in case the index could not be computed.
+
+
+
+

+xmlTextReaderClose ()

+
int	xmlTextReaderClose		(xmlTextReaderPtr reader)
+
+

This method releases any resources allocated by the current instance changes the state to Closed and close any underlying input.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:0 or -1 in case of error
+
+
+
+

+xmlTextReaderConstBaseUri ()

+
const xmlChar *	xmlTextReaderConstBaseUri	(xmlTextReaderPtr reader)
+
+

The base URI of the node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the base URI or NULL if not available, the string will be deallocated with the reader
+
+
+
+

+xmlTextReaderConstEncoding ()

+
const xmlChar *	xmlTextReaderConstEncoding	(xmlTextReaderPtr reader)
+
+

Determine the encoding of the document being read.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:a string containing the encoding of the document or NULL in case of error. The string is deallocated with the reader.
+
+
+
+

+xmlTextReaderConstLocalName ()

+
const xmlChar *	xmlTextReaderConstLocalName	(xmlTextReaderPtr reader)
+
+

The local name of the node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available, the string will be deallocated with the reader.
+
+
+
+

+xmlTextReaderConstName ()

+
const xmlChar *	xmlTextReaderConstName	(xmlTextReaderPtr reader)
+
+

The qualified name of the node, equal to Prefix :LocalName.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available, the string is deallocated with the reader.
+
+
+
+

+xmlTextReaderConstNamespaceUri ()

+
const xmlChar *	xmlTextReaderConstNamespaceUri	(xmlTextReaderPtr reader)
+
+

The URI defining the namespace associated with the node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the namespace URI or NULL if not available, the string will be deallocated with the reader
+
+
+
+

+xmlTextReaderConstPrefix ()

+
const xmlChar *	xmlTextReaderConstPrefix	(xmlTextReaderPtr reader)
+
+

A shorthand reference to the namespace associated with the node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the prefix or NULL if not available, the string is deallocated with the reader.
+
+
+
+

+xmlTextReaderConstString ()

+
const xmlChar *	xmlTextReaderConstString	(xmlTextReaderPtr reader, 
const xmlChar * str)
+
+

Get an interned string from the reader, allows for example to speedup string name comparisons

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
str:the string to intern.
Returns:an interned copy of the string or NULL in case of error. The string will be deallocated with the reader.
+
+
+
+

+xmlTextReaderConstValue ()

+
const xmlChar *	xmlTextReaderConstValue	(xmlTextReaderPtr reader)
+
+

Provides the text value of the node if present

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the string or NULL if not available. The result will be deallocated on the next Read() operation.
+
+
+
+

+xmlTextReaderConstXmlLang ()

+
const xmlChar *	xmlTextReaderConstXmlLang	(xmlTextReaderPtr reader)
+
+

The xml:lang scope within which the node resides.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the xml:lang value or NULL if none exists.
+
+
+
+

+xmlTextReaderConstXmlVersion ()

+
const xmlChar *	xmlTextReaderConstXmlVersion	(xmlTextReaderPtr reader)
+
+

Determine the XML version of the document being read.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:a string containing the XML version of the document or NULL in case of error. The string is deallocated with the reader.
+
+
+
+

+xmlTextReaderCurrentDoc ()

+
xmlDocPtr	xmlTextReaderCurrentDoc	(xmlTextReaderPtr reader)
+
+

Hacking interface allowing to get the xmlDocPtr corresponding to the current document being accessed by the xmlTextReader. NOTE: as a result of this call, the reader will not destroy the associated XML document and calling xmlFreeDoc() on the result is needed once the reader parsing has finished.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the xmlDocPtr or NULL in case of error.
+
+
+
+

+xmlTextReaderCurrentNode ()

+
xmlNodePtr	xmlTextReaderCurrentNode	(xmlTextReaderPtr reader)
+
+

Hacking interface allowing to get the xmlNodePtr corresponding to the current node being accessed by the xmlTextReader. This is dangerous because the underlying node may be destroyed on the next Reads.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the xmlNodePtr or NULL in case of error.
+
+
+
+

+xmlTextReaderDepth ()

+
int	xmlTextReaderDepth		(xmlTextReaderPtr reader)
+
+

The depth of the node in the tree.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the depth or -1 in case of error
+
+
+
+

+xmlTextReaderExpand ()

+
xmlNodePtr	xmlTextReaderExpand	(xmlTextReaderPtr reader)
+
+

Reads the contents of the current node and the full subtree. It then makes the subtree available until the next xmlTextReaderRead() call

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:a node pointer valid until the next xmlTextReaderRead() call or NULL in case of error.
+
+
+
+

+xmlTextReaderGetAttribute ()

+
xmlChar *	xmlTextReaderGetAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)
+
+

Provides the value of the attribute with the specified qualified name.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
name:the qualified name of the attribute.
Returns:a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller.
+
+
+
+

+xmlTextReaderGetAttributeNo ()

+
xmlChar *	xmlTextReaderGetAttributeNo	(xmlTextReaderPtr reader, 
int no)
+
+

Provides the value of the attribute with the specified index relative to the containing element.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
no:the zero-based index of the attribute relative to the containing element
Returns:a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller.
+
+
+
+

+xmlTextReaderGetAttributeNs ()

+
xmlChar *	xmlTextReaderGetAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)
+
+

Provides the value of the specified attribute

+
++ + + + + + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
localName:the local name of the attribute.
namespaceURI:the namespace URI of the attribute.
Returns:a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller.
+
+
+
+

+xmlTextReaderGetErrorHandler ()

+
void	xmlTextReaderGetErrorHandler	(xmlTextReaderPtr reader, 
xmlTextReaderErrorFunc * f,
void ** arg)
+
+

Retrieve the error callback function and user argument.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
f:the callback function or NULL is no callback has been registered
arg:a user argument
+
+
+
+

+xmlTextReaderGetLastError ()

+
const xmlError *	xmlTextReaderGetLastError	(xmlTextReaderPtr reader)
+
+

Available since 2.13.0.

+
++ + + + + + + + + + +
reader:an XML reader
Returns:the last error.
+
+
+
+

+xmlTextReaderGetParserColumnNumber ()

+
int	xmlTextReaderGetParserColumnNumber	(xmlTextReaderPtr reader)
+
+

Provide the column number of the current parsing point.

+
++ + + + + + + + + + +
reader:the user data (XML reader context)
Returns:an int or 0 if not available
+
+
+
+

+xmlTextReaderGetParserLineNumber ()

+
int	xmlTextReaderGetParserLineNumber	(xmlTextReaderPtr reader)
+
+

Provide the line number of the current parsing point.

+
++ + + + + + + + + + +
reader:the user data (XML reader context)
Returns:an int or 0 if not available
+
+
+
+

+xmlTextReaderGetParserProp ()

+
int	xmlTextReaderGetParserProp	(xmlTextReaderPtr reader, 
int prop)
+
+

Read the parser internal property.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
prop:the xmlParserProperties to get
Returns:the value, usually 0 or 1, or -1 in case of error.
+
+
+
+

+xmlTextReaderGetRemainder ()

+
xmlParserInputBufferPtr	xmlTextReaderGetRemainder	(xmlTextReaderPtr reader)
+
+

Method to get the remainder of the buffered XML. this method stops the parser, set its state to End Of File and return the input stream with what is left that the parser did not use. The implementation is not good, the parser certainly progressed past what's left in reader->input, and there is an allocation problem. Best would be to rewrite it differently.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the xmlParserInputBufferPtr attached to the XML or NULL in case of error.
+
+
+
+

+xmlTextReaderHasAttributes ()

+
int	xmlTextReaderHasAttributes	(xmlTextReaderPtr reader)
+
+

Whether the node has attributes.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 if true, 0 if false, and -1 in case or error
+
+
+
+

+xmlTextReaderHasValue ()

+
int	xmlTextReaderHasValue		(xmlTextReaderPtr reader)
+
+

Whether the node can have a text value.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 if true, 0 if false, and -1 in case or error
+
+
+
+

+xmlTextReaderIsDefault ()

+
int	xmlTextReaderIsDefault		(xmlTextReaderPtr reader)
+
+

Whether an Attribute node was generated from the default value defined in the DTD or schema.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:0 if not defaulted, 1 if defaulted, and -1 in case of error
+
+
+
+

+xmlTextReaderIsEmptyElement ()

+
int	xmlTextReaderIsEmptyElement	(xmlTextReaderPtr reader)
+
+

Check if the current node is empty

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 if empty, 0 if not and -1 in case of error
+
+
+
+

+xmlTextReaderIsNamespaceDecl ()

+
int	xmlTextReaderIsNamespaceDecl	(xmlTextReaderPtr reader)
+
+

Determine whether the current node is a namespace declaration rather than a regular attribute.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 if the current node is a namespace declaration, 0 if it is a regular attribute or other type of node, or -1 in case of error.
+
+
+
+

+xmlTextReaderIsValid ()

+
int	xmlTextReaderIsValid		(xmlTextReaderPtr reader)
+
+

Retrieve the validity status from the parser context

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the flag value 1 if valid, 0 if no, and -1 in case of error
+
+
+
+

+xmlTextReaderLocalName ()

+
xmlChar *	xmlTextReaderLocalName	(xmlTextReaderPtr reader)
+
+

The local name of the node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available, if non NULL it need to be freed by the caller.
+
+
+
+

+xmlTextReaderLocatorBaseURI ()

+
xmlChar *	xmlTextReaderLocatorBaseURI	(xmlTextReaderLocatorPtr locator)
+
+

Obtain the base URI for the given locator.

+
++ + + + + + + + + + +
locator:the xmlTextReaderLocatorPtr used
Returns:the base URI or NULL in case of error, if non NULL it need to be freed by the caller.
+
+
+
+

+xmlTextReaderLocatorLineNumber ()

+
int	xmlTextReaderLocatorLineNumber	(xmlTextReaderLocatorPtr locator)
+
+

Obtain the line number for the given locator.

+
++ + + + + + + + + + +
locator:the xmlTextReaderLocatorPtr used
Returns:the line number or -1 in case of error.
+
+
+
+

+xmlTextReaderLookupNamespace ()

+
xmlChar *	xmlTextReaderLookupNamespace	(xmlTextReaderPtr reader, 
const xmlChar * prefix)
+
+

Resolves a namespace prefix in the scope of the current element.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
prefix:the prefix whose namespace URI is to be resolved. To return the default namespace, specify NULL
Returns:a string containing the namespace URI to which the prefix maps or NULL in case of error. The string must be deallocated by the caller.
+
+
+
+

+xmlTextReaderMoveToAttribute ()

+
int	xmlTextReaderMoveToAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)
+
+

Moves the position of the current instance to the attribute with the specified qualified name.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
name:the qualified name of the attribute.
Returns:1 in case of success, -1 in case of error, 0 if not found
+
+
+
+

+xmlTextReaderMoveToAttributeNo ()

+
int	xmlTextReaderMoveToAttributeNo	(xmlTextReaderPtr reader, 
int no)
+
+

Moves the position of the current instance to the attribute with the specified index relative to the containing element.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
no:the zero-based index of the attribute relative to the containing element.
Returns:1 in case of success, -1 in case of error, 0 if not found
+
+
+
+

+xmlTextReaderMoveToAttributeNs ()

+
int	xmlTextReaderMoveToAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)
+
+

Moves the position of the current instance to the attribute with the specified local name and namespace URI.

+
++ + + + + + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
localName:the local name of the attribute.
namespaceURI:the namespace URI of the attribute.
Returns:1 in case of success, -1 in case of error, 0 if not found
+
+
+
+

+xmlTextReaderMoveToElement ()

+
int	xmlTextReaderMoveToElement	(xmlTextReaderPtr reader)
+
+

Moves the position of the current instance to the node that contains the current Attribute node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 in case of success, -1 in case of error, 0 if not moved
+
+
+
+

+xmlTextReaderMoveToFirstAttribute ()

+
int	xmlTextReaderMoveToFirstAttribute	(xmlTextReaderPtr reader)
+
+

Moves the position of the current instance to the first attribute associated with the current node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 in case of success, -1 in case of error, 0 if not found
+
+
+
+

+xmlTextReaderMoveToNextAttribute ()

+
int	xmlTextReaderMoveToNextAttribute	(xmlTextReaderPtr reader)
+
+

Moves the position of the current instance to the next attribute associated with the current node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 in case of success, -1 in case of error, 0 if not found
+
+
+
+

+xmlTextReaderName ()

+
xmlChar *	xmlTextReaderName	(xmlTextReaderPtr reader)
+
+

The qualified name of the node, equal to Prefix :LocalName.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available, if non NULL it need to be freed by the caller.
+
+
+
+

+xmlTextReaderNamespaceUri ()

+
xmlChar *	xmlTextReaderNamespaceUri	(xmlTextReaderPtr reader)
+
+

The URI defining the namespace associated with the node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the namespace URI or NULL if not available, if non NULL it need to be freed by the caller.
+
+
+
+

+xmlTextReaderNext ()

+
int	xmlTextReaderNext		(xmlTextReaderPtr reader)
+
+

Skip to the node following the current one in document order while avoiding the subtree if any.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 if the node was read successfully, 0 if there is no more nodes to read, or -1 in case of error
+
+
+
+

+xmlTextReaderNextSibling ()

+
int	xmlTextReaderNextSibling	(xmlTextReaderPtr reader)
+
+

Skip to the node following the current one in document order while avoiding the subtree if any. Currently implemented only for Readers built on a document

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 if the node was read successfully, 0 if there is no more nodes to read, or -1 in case of error
+
+
+
+

+xmlTextReaderNodeType ()

+
int	xmlTextReaderNodeType		(xmlTextReaderPtr reader)
+
+

Get the node type of the current node Reference: http://www.gnu.org/software/dotgnu/pnetlib-doc/System/Xml/XmlNodeType.html

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the xmlReaderTypes of the current node or -1 in case of error
+
+
+
+

+xmlTextReaderNormalization ()

+
int	xmlTextReaderNormalization	(xmlTextReaderPtr reader)
+
+

The value indicating whether to normalize white space and attribute values. Since attribute value and end of line normalizations are a MUST in the XML specification only the value true is accepted. The broken behaviour of accepting out of range character entities like &#0; is of course not supported either.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 or -1 in case of error.
+
+
+
+

+xmlTextReaderPrefix ()

+
xmlChar *	xmlTextReaderPrefix	(xmlTextReaderPtr reader)
+
+

A shorthand reference to the namespace associated with the node.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the prefix or NULL if not available, if non NULL it need to be freed by the caller.
+
+
+
+

+xmlTextReaderPreserve ()

+
xmlNodePtr	xmlTextReaderPreserve	(xmlTextReaderPtr reader)
+
+

This tells the XML Reader to preserve the current node. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the xmlNodePtr or NULL in case of error.
+
+
+
+

+xmlTextReaderPreservePattern ()

+
int	xmlTextReaderPreservePattern	(xmlTextReaderPtr reader, 
const xmlChar * pattern,
const xmlChar ** namespaces)
+
+

This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished

+
++ + + + + + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
pattern:an XPath subset pattern
namespaces:the prefix definitions, array of [URI, prefix] or NULL
Returns:a non-negative number in case of success and -1 in case of error
+
+
+
+

+xmlTextReaderQuoteChar ()

+
int	xmlTextReaderQuoteChar		(xmlTextReaderPtr reader)
+
+

The quotation mark character used to enclose the value of an attribute.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:" or ' and -1 in case of error
+
+
+
+

+xmlTextReaderRead ()

+
int	xmlTextReaderRead		(xmlTextReaderPtr reader)
+
+

Moves the position of the current instance to the next node in the stream, exposing its properties.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 if the node was read successfully, 0 if there is no more nodes to read, or -1 in case of error
+
+
+
+

+xmlTextReaderReadAttributeValue ()

+
int	xmlTextReaderReadAttributeValue	(xmlTextReaderPtr reader)
+
+

Parses an attribute value into one or more Text and EntityReference nodes.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 in case of success, 0 if the reader was not positioned on an attribute node or all the attribute values have been read, or -1 in case of error.
+
+
+
+

+xmlTextReaderReadInnerXml ()

+
xmlChar *	xmlTextReaderReadInnerXml	(xmlTextReaderPtr reader)
+
+

Reads the contents of the current node, including child nodes and markup.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:a string containing the XML content, or NULL if the current node is neither an element nor attribute, or has no child nodes. The string must be deallocated by the caller.
+
+
+
+

+xmlTextReaderReadOuterXml ()

+
xmlChar *	xmlTextReaderReadOuterXml	(xmlTextReaderPtr reader)
+
+

Reads the contents of the current node, including child nodes and markup.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:a string containing the node and any XML content, or NULL if the current node cannot be serialized. The string must be deallocated by the caller.
+
+
+
+

+xmlTextReaderReadState ()

+
int	xmlTextReaderReadState		(xmlTextReaderPtr reader)
+
+

Gets the read state of the reader.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the state value, or -1 in case of error
+
+
+
+

+xmlTextReaderReadString ()

+
xmlChar *	xmlTextReaderReadString	(xmlTextReaderPtr reader)
+
+

Reads the contents of an element or a text node as a string.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:a string containing the contents of the Element or Text node, or NULL if the reader is positioned on any other type of node. The string must be deallocated by the caller.
+
+
+
+

+xmlTextReaderRelaxNGSetSchema ()

+
int	xmlTextReaderRelaxNGSetSchema	(xmlTextReaderPtr reader, 
xmlRelaxNGPtr schema)
+
+

Use RelaxNG to validate the document as it is processed. Activation is only possible before the first Read(). if @schema is NULL, then RelaxNG validation is deactivated. @ The @schema should not be freed until the reader is deallocated or its use has been deactivated.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
schema:a precompiled RelaxNG schema
Returns:0 in case the RelaxNG validation could be (de)activated and -1 in case of error.
+
+
+
+

+xmlTextReaderRelaxNGValidate ()

+
int	xmlTextReaderRelaxNGValidate	(xmlTextReaderPtr reader, 
const char * rng)
+
+

Use RelaxNG schema to validate the document as it is processed. Activation is only possible before the first Read(). If @rng is NULL, then RelaxNG schema validation is deactivated.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
rng:the path to a RelaxNG schema or NULL
Returns:0 in case the schemas validation could be (de)activated and -1 in case of error.
+
+
+
+

+xmlTextReaderRelaxNGValidateCtxt ()

+
int	xmlTextReaderRelaxNGValidateCtxt	(xmlTextReaderPtr reader, 
xmlRelaxNGValidCtxtPtr ctxt,
int options)
+
+

Use RelaxNG schema context to validate the document as it is processed. Activation is only possible before the first Read(). If @ctxt is NULL, then RelaxNG schema validation is deactivated.

+
++ + + + + + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
ctxt:the RelaxNG schema validation context or NULL
options:options (not used yet)
Returns:0 in case the schemas validation could be (de)activated and -1 in case of error.
+
+
+
+

+xmlTextReaderSchemaValidate ()

+
int	xmlTextReaderSchemaValidate	(xmlTextReaderPtr reader, 
const char * xsd)
+
+

Use W3C XSD schema to validate the document as it is processed. Activation is only possible before the first Read(). If @xsd is NULL, then XML Schema validation is deactivated.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
xsd:the path to a W3C XSD schema or NULL
Returns:0 in case the schemas validation could be (de)activated and -1 in case of error.
+
+
+
+

+xmlTextReaderSchemaValidateCtxt ()

+
int	xmlTextReaderSchemaValidateCtxt	(xmlTextReaderPtr reader, 
xmlSchemaValidCtxtPtr ctxt,
int options)
+
+

Use W3C XSD schema context to validate the document as it is processed. Activation is only possible before the first Read(). If @ctxt is NULL, then XML Schema validation is deactivated.

+
++ + + + + + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
ctxt:the XML Schema validation context or NULL
options:options (not used yet)
Returns:0 in case the schemas validation could be (de)activated and -1 in case of error.
+
+
+
+

+xmlTextReaderSetErrorHandler ()

+
void	xmlTextReaderSetErrorHandler	(xmlTextReaderPtr reader, 
xmlTextReaderErrorFunc f,
void * arg)
+
+

DEPRECATED: Use xmlTextReaderSetStructuredErrorHandler. Register a callback function that will be called on error and warnings. If @f is NULL, the default error and warning handlers are restored.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
f:the callback function to call on error and warnings
arg:a user argument to pass to the callback function
+
+
+
+

+xmlTextReaderSetMaxAmplification ()

+
void	xmlTextReaderSetMaxAmplification	(xmlTextReaderPtr reader, 
unsigned maxAmpl)
+
+

Set the maximum amplification factor. See xmlCtxtSetMaxAmplification.

+
++ + + + + + + + + + +
reader:an XML reader
maxAmpl:maximum amplification factor
+
+
+
+

+xmlTextReaderSetParserProp ()

+
int	xmlTextReaderSetParserProp	(xmlTextReaderPtr reader, 
int prop,
int value)
+
+

Change the parser processing behaviour by changing some of its internal properties. Note that some properties can only be changed before any read has been done.

+
++ + + + + + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
prop:the xmlParserProperties to set
value:usually 0 or 1 to (de)activate it
Returns:0 if the call was successful, or -1 in case of error
+
+
+
+

+xmlTextReaderSetSchema ()

+
int	xmlTextReaderSetSchema		(xmlTextReaderPtr reader, 
xmlSchemaPtr schema)
+
+

Use XSD Schema to validate the document as it is processed. Activation is only possible before the first Read(). if @schema is NULL, then Schema validation is deactivated. The @schema should not be freed until the reader is deallocated or its use has been deactivated.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
schema:a precompiled Schema schema
Returns:0 in case the Schema validation could be (de)activated and -1 in case of error.
+
+
+
+

+xmlTextReaderSetStructuredErrorHandler ()

+
void	xmlTextReaderSetStructuredErrorHandler	(xmlTextReaderPtr reader, 
xmlStructuredErrorFunc f,
void * arg)
+
+

Register a callback function that will be called on error and warnings. If @f is NULL, the default error and warning handlers are restored.

+
++ + + + + + + + + + + + + + +
reader:the xmlTextReaderPtr used
f:the callback function to call on error and warnings
arg:a user argument to pass to the callback function
+
+
+
+

+xmlTextReaderSetup ()

+
int	xmlTextReaderSetup		(xmlTextReaderPtr reader, 
xmlParserInputBufferPtr input,
const char * URL,
const char * encoding,
int options)
+
+

Setup an XML reader with new options

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
reader:an XML reader
input: +xmlParserInputBufferPtr used to feed the reader, will be destroyed with it.
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption +
Returns:0 in case of success and -1 in case of error.
+
+
+
+

+xmlTextReaderStandalone ()

+
int	xmlTextReaderStandalone		(xmlTextReaderPtr reader)
+
+

Determine the standalone status of the document being read.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:1 if the document was declared to be standalone, 0 if it was declared to be not standalone, or -1 if the document did not specify its standalone status or in case of error.
+
+
+
+

+xmlTextReaderValue ()

+
xmlChar *	xmlTextReaderValue	(xmlTextReaderPtr reader)
+
+

Provides the text value of the node if present

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the string or NULL if not available. The result must be deallocated with xmlFree()
+
+
+
+

+xmlTextReaderXmlLang ()

+
xmlChar *	xmlTextReaderXmlLang	(xmlTextReaderPtr reader)
+
+

The xml:lang scope within which the node resides.

+
++ + + + + + + + + + +
reader:the xmlTextReaderPtr used
Returns:the xml:lang value or NULL if none exists., if non NULL it need to be freed by the caller.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlregexp.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlregexp.html new file mode 100644 index 0000000000000000000000000000000000000000..1286692550e2d972799c242e8e98f18f841dc32d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlregexp.html @@ -0,0 +1,976 @@ + + + +xmlregexp: regular expressions handling + + + + + + + + + + + + + + +

xmlregexp

+

xmlregexp - regular expressions handling

+

basic API for libxml regular expressions handling used for XML Schemas and validation.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlExpCtxt xmlExpCtxt;
+typedef xmlExpCtxt * xmlExpCtxtPtr;
+typedef struct _xmlExpNode xmlExpNode;
+typedef xmlExpNode * xmlExpNodePtr;
+typedef enum xmlExpNodeType;
+typedef struct _xmlRegExecCtxt xmlRegExecCtxt;
+typedef xmlRegExecCtxt * xmlRegExecCtxtPtr;
+typedef struct _xmlRegexp xmlRegexp;
+typedef xmlRegexp * xmlRegexpPtr;
+int	xmlExpCtxtNbCons		(xmlExpCtxtPtr ctxt);
+int	xmlExpCtxtNbNodes		(xmlExpCtxtPtr ctxt);
+void	xmlExpDump			(xmlBufferPtr buf, 
xmlExpNodePtr expr); +xmlExpNodePtr xmlExpExpDerive (xmlExpCtxtPtr ctxt,
xmlExpNodePtr exp,
xmlExpNodePtr sub); +void xmlExpFree (xmlExpCtxtPtr ctxt,
xmlExpNodePtr exp); +void xmlExpFreeCtxt (xmlExpCtxtPtr ctxt); +int xmlExpGetLanguage (xmlExpCtxtPtr ctxt,
xmlExpNodePtr exp,
const xmlChar ** langList,
int len); +int xmlExpGetStart (xmlExpCtxtPtr ctxt,
xmlExpNodePtr exp,
const xmlChar ** tokList,
int len); +int xmlExpIsNillable (xmlExpNodePtr exp); +int xmlExpMaxToken (xmlExpNodePtr expr); +xmlExpNodePtr xmlExpNewAtom (xmlExpCtxtPtr ctxt,
const xmlChar * name,
int len); +xmlExpCtxtPtr xmlExpNewCtxt (int maxNodes,
xmlDictPtr dict); +xmlExpNodePtr xmlExpNewOr (xmlExpCtxtPtr ctxt,
xmlExpNodePtr left,
xmlExpNodePtr right); +xmlExpNodePtr xmlExpNewRange (xmlExpCtxtPtr ctxt,
xmlExpNodePtr subset,
int min,
int max); +xmlExpNodePtr xmlExpNewSeq (xmlExpCtxtPtr ctxt,
xmlExpNodePtr left,
xmlExpNodePtr right); +xmlExpNodePtr xmlExpParse (xmlExpCtxtPtr ctxt,
const char * expr); +void xmlExpRef (xmlExpNodePtr exp); +xmlExpNodePtr xmlExpStringDerive (xmlExpCtxtPtr ctxt,
xmlExpNodePtr exp,
const xmlChar * str,
int len); +int xmlExpSubsume (xmlExpCtxtPtr ctxt,
xmlExpNodePtr exp,
xmlExpNodePtr sub); +typedef void xmlRegExecCallbacks (xmlRegExecCtxtPtr exec,
const xmlChar * token,
void * transdata,
void * inputdata); +int xmlRegExecErrInfo (xmlRegExecCtxtPtr exec,
const xmlChar ** string,
int * nbval,
int * nbneg,
xmlChar ** values,
int * terminal); +int xmlRegExecNextValues (xmlRegExecCtxtPtr exec,
int * nbval,
int * nbneg,
xmlChar ** values,
int * terminal); +int xmlRegExecPushString (xmlRegExecCtxtPtr exec,
const xmlChar * value,
void * data); +int xmlRegExecPushString2 (xmlRegExecCtxtPtr exec,
const xmlChar * value,
const xmlChar * value2,
void * data); +void xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec); +void xmlRegFreeRegexp (xmlRegexpPtr regexp); +xmlRegExecCtxtPtr xmlRegNewExecCtxt (xmlRegexpPtr comp,
xmlRegExecCallbacks callback,
void * data); +xmlRegexpPtr xmlRegexpCompile (const xmlChar * regexp); +int xmlRegexpExec (xmlRegexpPtr comp,
const xmlChar * content); +int xmlRegexpIsDeterminist (xmlRegexpPtr comp); +void xmlRegexpPrint (FILE * output,
xmlRegexpPtr regexp); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlExpCtxt

+
struct _xmlExpCtxt {
+The content of this structure is not made public by the API.
+} xmlExpCtxt;
+
+

+
+
+
+

+Typedef xmlExpCtxtPtr

+
xmlExpCtxt * xmlExpCtxtPtr;
+
+

+
+
+
+

+Structure xmlExpNode

+
struct _xmlExpNode {
+The content of this structure is not made public by the API.
+} xmlExpNode;
+
+

+
+
+
+

+Typedef xmlExpNodePtr

+
xmlExpNode * xmlExpNodePtr;
+
+

+
+
+
+

+Enum xmlExpNodeType

+
enum xmlExpNodeType {
+    XML_EXP_EMPTY = 0
+    XML_EXP_FORBID = 1
+    XML_EXP_ATOM = 2
+    XML_EXP_SEQ = 3
+    XML_EXP_OR = 4
+    XML_EXP_COUNT = 5
+};
+
+

+
+
+
+

+Structure xmlRegExecCtxt

+
struct _xmlRegExecCtxt {
+The content of this structure is not made public by the API.
+} xmlRegExecCtxt;
+
+

+
+
+
+

+Typedef xmlRegExecCtxtPtr

+
xmlRegExecCtxt * xmlRegExecCtxtPtr;
+
+

A libxml progressive regular expression evaluation context

+
+
+
+

+Structure xmlRegexp

+
struct _xmlRegexp {
+The content of this structure is not made public by the API.
+} xmlRegexp;
+
+

+
+
+
+

+Typedef xmlRegexpPtr

+
xmlRegexp * xmlRegexpPtr;
+
+

A libxml regular expression, they can actually be far more complex thank the POSIX regex expressions.

+
+
+
+

+Function type xmlRegExecCallbacks

+
void	xmlRegExecCallbacks		(xmlRegExecCtxtPtr exec, 
const xmlChar * token,
void * transdata,
void * inputdata)
+
+

Callback function when doing a transition in the automata

+
++ + + + + + + + + + + + + + + + + + +
exec:the regular expression context
token:the current token string
transdata:transition data
inputdata:input data
+
+
+
+

+Variable emptyExp

+
xmlExpNodePtr emptyExp;
+
+

+
+
+
+

+Variable forbiddenExp

+
xmlExpNodePtr forbiddenExp;
+
+

+
+
+
+

+xmlExpCtxtNbCons ()

+
int	xmlExpCtxtNbCons		(xmlExpCtxtPtr ctxt)
+
+

Debugging facility provides the number of allocated nodes over lifetime

+
++ + + + + + + + + + +
ctxt:an expression context
Returns:the number of nodes ever allocated or -1 in case of error
+
+
+
+

+xmlExpCtxtNbNodes ()

+
int	xmlExpCtxtNbNodes		(xmlExpCtxtPtr ctxt)
+
+

Debugging facility provides the number of allocated nodes at a that point

+
++ + + + + + + + + + +
ctxt:an expression context
Returns:the number of nodes in use or -1 in case of error
+
+
+
+

+xmlExpDump ()

+
void	xmlExpDump			(xmlBufferPtr buf, 
xmlExpNodePtr expr)
+
+

Serialize the expression as compiled to the buffer

+
++ + + + + + + + + + +
buf:a buffer to receive the output
expr:the compiled expression
+
+
+
+

+xmlExpExpDerive ()

+
xmlExpNodePtr	xmlExpExpDerive		(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr exp,
xmlExpNodePtr sub)
+
+

Evaluates the expression resulting from @exp consuming a sub expression @sub Based on algebraic derivation and sometimes direct Brzozowski derivation it usually takes less than linear time and can handle expressions generating infinite languages.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the expressions context
exp:the englobing expression
sub:the subexpression
Returns:the resulting expression or NULL in case of internal error, the result must be freed
+
+
+
+

+xmlExpFree ()

+
void	xmlExpFree			(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr exp)
+
+

Dereference the expression

+
++ + + + + + + + + + +
ctxt:the expression context
exp:the expression
+
+
+
+

+xmlExpFreeCtxt ()

+
void	xmlExpFreeCtxt			(xmlExpCtxtPtr ctxt)
+
+

Free an expression context

+
++ + + + +
ctxt:an expression context
+
+
+
+

+xmlExpGetLanguage ()

+
int	xmlExpGetLanguage		(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr exp,
const xmlChar ** langList,
int len)
+
+

Find all the strings used in @exp and store them in @list

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the expression context
exp:the expression
langList:where to store the tokens
len:the allocated length of @list
Returns:the number of unique strings found, -1 in case of errors and -2 if there is more than @len strings
+
+
+
+

+xmlExpGetStart ()

+
int	xmlExpGetStart			(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr exp,
const xmlChar ** tokList,
int len)
+
+

Find all the strings that appears at the start of the languages accepted by @exp and store them in @list. E.g. for (a, b) | c it will return the list [a, c]

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the expression context
exp:the expression
tokList:where to store the tokens
len:the allocated length of @list
Returns:the number of unique strings found, -1 in case of errors and -2 if there is more than @len strings
+
+
+
+

+xmlExpIsNillable ()

+
int	xmlExpIsNillable		(xmlExpNodePtr exp)
+
+

Finds if the expression is nillable, i.e. if it accepts the empty sequence

+
++ + + + + + + + + + +
exp:the expression
Returns:1 if nillable, 0 if not and -1 in case of error
+
+
+
+

+xmlExpMaxToken ()

+
int	xmlExpMaxToken			(xmlExpNodePtr expr)
+
+

Indicate the maximum number of input a expression can accept

+
++ + + + + + + + + + +
expr:a compiled expression
Returns:the maximum length or -1 in case of error
+
+
+
+

+xmlExpNewAtom ()

+
xmlExpNodePtr	xmlExpNewAtom		(xmlExpCtxtPtr ctxt, 
const xmlChar * name,
int len)
+
+

Get the atom associated to this name from that context

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the expression context
name:the atom name
len:the atom name length in byte (or -1);
Returns:the node or NULL in case of error
+
+
+
+

+xmlExpNewCtxt ()

+
xmlExpCtxtPtr	xmlExpNewCtxt		(int maxNodes, 
xmlDictPtr dict)
+
+

Creates a new context for manipulating expressions

+
++ + + + + + + + + + + + + + +
maxNodes:the maximum number of nodes
dict:optional dictionary to use internally
Returns:the context or NULL in case of error
+
+
+
+

+xmlExpNewOr ()

+
xmlExpNodePtr	xmlExpNewOr		(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr left,
xmlExpNodePtr right)
+
+

Get the atom associated to the choice @left | @right Note that @left and @right are consumed in the operation, to keep an handle on them use xmlExpRef() and use xmlExpFree() to release them, this is true even in case of failure (unless ctxt == NULL).

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the expression context
left:left expression
right:right expression
Returns:the node or NULL in case of error
+
+
+
+

+xmlExpNewRange ()

+
xmlExpNodePtr	xmlExpNewRange		(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr subset,
int min,
int max)
+
+

Get the atom associated to the range (@subset){@min, @max} Note that @subset is consumed in the operation, to keep an handle on it use xmlExpRef() and use xmlExpFree() to release it, this is true even in case of failure (unless ctxt == NULL).

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the expression context
subset:the expression to be repeated
min:the lower bound for the repetition
max:the upper bound for the repetition, -1 means infinite
Returns:the node or NULL in case of error
+
+
+
+

+xmlExpNewSeq ()

+
xmlExpNodePtr	xmlExpNewSeq		(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr left,
xmlExpNodePtr right)
+
+

Get the atom associated to the sequence @left , @right Note that @left and @right are consumed in the operation, to keep an handle on them use xmlExpRef() and use xmlExpFree() to release them, this is true even in case of failure (unless ctxt == NULL).

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the expression context
left:left expression
right:right expression
Returns:the node or NULL in case of error
+
+
+
+

+xmlExpParse ()

+
xmlExpNodePtr	xmlExpParse		(xmlExpCtxtPtr ctxt, 
const char * expr)
+
+

Minimal parser for regexps, it understand the following constructs - string terminals - choice operator | - sequence operator , - subexpressions (...) - usual cardinality operators + * and ? - finite sequences { min, max } - infinite sequences { min, * } There is minimal checkings made especially no checking on strings values

+
++ + + + + + + + + + + + + + +
ctxt:the expressions context
expr:the 0 terminated string
Returns:a new expression or NULL in case of failure
+
+
+
+

+xmlExpRef ()

+
void	xmlExpRef			(xmlExpNodePtr exp)
+
+

Increase the reference count of the expression

+
++ + + + +
exp:the expression
+
+
+
+

+xmlExpStringDerive ()

+
xmlExpNodePtr	xmlExpStringDerive	(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr exp,
const xmlChar * str,
int len)
+
+

Do one step of Brzozowski derivation of the expression @exp with respect to the input string

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the expression context
exp:the expression
str:the string
len:the string len in bytes if available
Returns:the resulting expression or NULL in case of internal error
+
+
+
+

+xmlExpSubsume ()

+
int	xmlExpSubsume			(xmlExpCtxtPtr ctxt, 
xmlExpNodePtr exp,
xmlExpNodePtr sub)
+
+

Check whether @exp accepts all the languages accepted by @sub the input being a subexpression.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the expressions context
exp:the englobing expression
sub:the subexpression
Returns:1 if true 0 if false and -1 in case of failure.
+
+
+
+

+xmlRegExecErrInfo ()

+
int	xmlRegExecErrInfo		(xmlRegExecCtxtPtr exec, 
const xmlChar ** string,
int * nbval,
int * nbneg,
xmlChar ** values,
int * terminal)
+
+

Extract error information from the regexp execution, the parameter @string will be updated with the value pushed and not accepted, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
exec:a regexp execution context generating an error
string:return value for the error string
nbval:pointer to the number of accepted values IN/OUT
nbneg:return number of negative transitions
values:pointer to the array of acceptable values
terminal:return value if this was a terminal state
Returns:will be freed with the @exec context and don't need to be deallocated. Returns: 0 in case of success or -1 in case of error.
+
+
+
+

+xmlRegExecNextValues ()

+
int	xmlRegExecNextValues		(xmlRegExecCtxtPtr exec, 
int * nbval,
int * nbneg,
xmlChar ** values,
int * terminal)
+
+

Extract information from the regexp execution, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
exec:a regexp execution context
nbval:pointer to the number of accepted values IN/OUT
nbneg:return number of negative transitions
values:pointer to the array of acceptable values
terminal:return value if this was a terminal state
Returns:will be freed with the @exec context and don't need to be deallocated. Returns: 0 in case of success or -1 in case of error.
+
+
+
+

+xmlRegExecPushString ()

+
int	xmlRegExecPushString		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
void * data)
+
+

Push one input token in the execution context

+
++ + + + + + + + + + + + + + + + + + +
exec:a regexp execution context or NULL to indicate the end
value:a string token input
data:data associated to the token to reuse in callbacks
Returns:1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.
+
+
+
+

+xmlRegExecPushString2 ()

+
int	xmlRegExecPushString2		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
const xmlChar * value2,
void * data)
+
+

Push one input token in the execution context

+
++ + + + + + + + + + + + + + + + + + + + + + +
exec:a regexp execution context or NULL to indicate the end
value:the first string token input
value2:the second string token input
data:data associated to the token to reuse in callbacks
Returns:1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.
+
+
+
+

+xmlRegFreeExecCtxt ()

+
void	xmlRegFreeExecCtxt		(xmlRegExecCtxtPtr exec)
+
+

Free the structures associated to a regular expression evaluation context.

+
++ + + + +
exec:a regular expression evaluation context
+
+
+
+

+xmlRegFreeRegexp ()

+
void	xmlRegFreeRegexp		(xmlRegexpPtr regexp)
+
+

Free a regexp

+
++ + + + +
regexp:the regexp
+
+
+
+

+xmlRegNewExecCtxt ()

+
xmlRegExecCtxtPtr	xmlRegNewExecCtxt	(xmlRegexpPtr comp, 
xmlRegExecCallbacks callback,
void * data)
+
+

Build a context used for progressive evaluation of a regexp.

+
++ + + + + + + + + + + + + + + + + + +
comp:a precompiled regular expression
callback:a callback function used for handling progresses in the automata matching phase
data:the context data associated to the callback in this context
Returns:the new context
+
+
+
+

+xmlRegexpCompile ()

+
xmlRegexpPtr	xmlRegexpCompile	(const xmlChar * regexp)
+
+

Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and builds an automata suitable for testing strings against that regular expression

+
++ + + + + + + + + + +
regexp:a regular expression string
Returns:the compiled expression or NULL in case of error
+
+
+
+

+xmlRegexpExec ()

+
int	xmlRegexpExec			(xmlRegexpPtr comp, 
const xmlChar * content)
+
+

Check if the regular expression generates the value

+
++ + + + + + + + + + + + + + +
comp:the compiled regular expression
content:the value to check against the regular expression
Returns:1 if it matches, 0 if not and a negative value in case of error
+
+
+
+

+xmlRegexpIsDeterminist ()

+
int	xmlRegexpIsDeterminist		(xmlRegexpPtr comp)
+
+

Check if the regular expression is determinist

+
++ + + + + + + + + + +
comp:the compiled regular expression
Returns:1 if it yes, 0 if not and a negative value in case of error
+
+
+
+

+xmlRegexpPrint ()

+
void	xmlRegexpPrint			(FILE * output, 
xmlRegexpPtr regexp)
+
+

Print the content of the compiled regular expression

+
++ + + + + + + + + + +
output:the file for the output debug
regexp:the compiled regexp
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlsave.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlsave.html new file mode 100644 index 0000000000000000000000000000000000000000..083d0be42f21721606b315f19f0f1c05e0086027 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlsave.html @@ -0,0 +1,436 @@ + + + +xmlsave: the XML document serializer + + + + + + + + + + + + + + +

xmlsave

+

xmlsave - the XML document serializer

+

API to save document or subtree of document

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlSaveCtxt xmlSaveCtxt;
+typedef xmlSaveCtxt * xmlSaveCtxtPtr;
+typedef enum xmlSaveOption;
+int	xmlSaveClose			(xmlSaveCtxtPtr ctxt);
+long	xmlSaveDoc			(xmlSaveCtxtPtr ctxt, 
xmlDocPtr doc); +int xmlSaveFinish (xmlSaveCtxtPtr ctxt); +int xmlSaveFlush (xmlSaveCtxtPtr ctxt); +int xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt,
xmlCharEncodingOutputFunc escape); +int xmlSaveSetEscape (xmlSaveCtxtPtr ctxt,
xmlCharEncodingOutputFunc escape); +xmlSaveCtxtPtr xmlSaveToBuffer (xmlBufferPtr buffer,
const char * encoding,
int options); +xmlSaveCtxtPtr xmlSaveToFd (int fd,
const char * encoding,
int options); +xmlSaveCtxtPtr xmlSaveToFilename (const char * filename,
const char * encoding,
int options); +xmlSaveCtxtPtr xmlSaveToIO (xmlOutputWriteCallback iowrite,
xmlOutputCloseCallback ioclose,
void * ioctx,
const char * encoding,
int options); +long xmlSaveTree (xmlSaveCtxtPtr ctxt,
xmlNodePtr cur); +int xmlThrDefIndentTreeOutput (int v); +int xmlThrDefSaveNoEmptyTags (int v); +const char * xmlThrDefTreeIndentString (const char * v); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlSaveCtxt

+
struct _xmlSaveCtxt {
+The content of this structure is not made public by the API.
+} xmlSaveCtxt;
+
+

+
+
+
+

+Typedef xmlSaveCtxtPtr

+
xmlSaveCtxt * xmlSaveCtxtPtr;
+
+

+
+
+
+

+Enum xmlSaveOption

+
enum xmlSaveOption {
+    XML_SAVE_FORMAT = 1 /* format save output */
+    XML_SAVE_NO_DECL = 2 /* drop the xml declaration */
+    XML_SAVE_NO_EMPTY = 4 /* no empty tags */
+    XML_SAVE_NO_XHTML = 8 /* disable XHTML1 specific rules */
+    XML_SAVE_XHTML = 16 /* force XHTML1 specific rules */
+    XML_SAVE_AS_XML = 32 /* force XML serialization on HTML doc */
+    XML_SAVE_AS_HTML = 64 /* force HTML serialization on XML doc */
+    XML_SAVE_WSNONSIG = 128 /*  format with non-significant whitespace */
+};
+
+

+
+
+
+

+xmlSaveClose ()

+
int	xmlSaveClose			(xmlSaveCtxtPtr ctxt)
+
+

Close a document saving context, i.e. make sure that all bytes have been output and free the associated data.

+
++ + + + + + + + + + +
ctxt:a document saving context
Returns:the number of byte written or -1 in case of error.
+
+
+
+

+xmlSaveDoc ()

+
long	xmlSaveDoc			(xmlSaveCtxtPtr ctxt, 
xmlDocPtr doc)
+
+

Save a full document to a saving context TODO: The function is not fully implemented yet as it does not return the byte count but 0 instead

+
++ + + + + + + + + + + + + + +
ctxt:a document saving context
doc:a document
Returns:the number of byte written or -1 in case of error
+
+
+
+

+xmlSaveFinish ()

+
int	xmlSaveFinish			(xmlSaveCtxtPtr ctxt)
+
+

Close a document saving context, i.e. make sure that all bytes have been output and free the associated data. Available since 2.13.0.

+
++ + + + + + + + + + +
ctxt:a document saving context
Returns:an xmlParserErrors code.
+
+
+
+

+xmlSaveFlush ()

+
int	xmlSaveFlush			(xmlSaveCtxtPtr ctxt)
+
+

Flush a document saving context, i.e. make sure that all bytes have been output.

+
++ + + + + + + + + + +
ctxt:a document saving context
Returns:the number of byte written or -1 in case of error.
+
+
+
+

+xmlSaveSetAttrEscape ()

+
int	xmlSaveSetAttrEscape		(xmlSaveCtxtPtr ctxt, 
xmlCharEncodingOutputFunc escape)
+
+

Set a custom escaping function to be used for text in attribute content

+
++ + + + + + + + + + + + + + +
ctxt:a document saving context
escape:the escaping function
Returns:0 if successful or -1 in case of error.
+
+
+
+

+xmlSaveSetEscape ()

+
int	xmlSaveSetEscape		(xmlSaveCtxtPtr ctxt, 
xmlCharEncodingOutputFunc escape)
+
+

Set a custom escaping function to be used for text in element content

+
++ + + + + + + + + + + + + + +
ctxt:a document saving context
escape:the escaping function
Returns:0 if successful or -1 in case of error.
+
+
+
+

+xmlSaveToBuffer ()

+
xmlSaveCtxtPtr	xmlSaveToBuffer		(xmlBufferPtr buffer, 
const char * encoding,
int options)
+
+

Create a document saving context serializing to a buffer with the encoding and the options given

+
++ + + + + + + + + + + + + + + + + + +
buffer:a buffer
encoding:the encoding name to use or NULL
options:a set of xmlSaveOptions
Returns:a new serialization context or NULL in case of error.
+
+
+
+

+xmlSaveToFd ()

+
xmlSaveCtxtPtr	xmlSaveToFd		(int fd, 
const char * encoding,
int options)
+
+

Create a document saving context serializing to a file descriptor with the encoding and the options given.

+
++ + + + + + + + + + + + + + + + + + +
fd:a file descriptor number
encoding:the encoding name to use or NULL
options:a set of xmlSaveOptions
Returns:a new serialization context or NULL in case of error.
+
+
+
+

+xmlSaveToFilename ()

+
xmlSaveCtxtPtr	xmlSaveToFilename	(const char * filename, 
const char * encoding,
int options)
+
+

Create a document saving context serializing to a filename or possibly to an URL (but this is less reliable) with the encoding and the options given.

+
++ + + + + + + + + + + + + + + + + + +
filename:a file name or an URL
encoding:the encoding name to use or NULL
options:a set of xmlSaveOptions
Returns:a new serialization context or NULL in case of error.
+
+
+
+

+xmlSaveToIO ()

+
xmlSaveCtxtPtr	xmlSaveToIO		(xmlOutputWriteCallback iowrite, 
xmlOutputCloseCallback ioclose,
void * ioctx,
const char * encoding,
int options)
+
+

Create a document saving context serializing to a file descriptor with the encoding and the options given

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
iowrite:an I/O write function
ioclose:an I/O close function
ioctx:an I/O handler
encoding:the encoding name to use or NULL
options:a set of xmlSaveOptions
Returns:a new serialization context or NULL in case of error.
+
+
+
+

+xmlSaveTree ()

+
long	xmlSaveTree			(xmlSaveCtxtPtr ctxt, 
xmlNodePtr cur)
+
+

Save a subtree starting at the node parameter to a saving context TODO: The function is not fully implemented yet as it does not return the byte count but 0 instead

+
++ + + + + + + + + + + + + + +
ctxt:a document saving context
cur:the top node of the subtree to save
Returns:the number of byte written or -1 in case of error
+
+
+
+

+xmlThrDefIndentTreeOutput ()

+
int	xmlThrDefIndentTreeOutput	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefSaveNoEmptyTags ()

+
int	xmlThrDefSaveNoEmptyTags	(int v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+

+xmlThrDefTreeIndentString ()

+
const char *	xmlThrDefTreeIndentString	(const char * v)
+
+

+
++ + + + + + + + + + +
v:
Returns:
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlschemas.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlschemas.html new file mode 100644 index 0000000000000000000000000000000000000000..77f1cfc768d6812a0386a5dd42eac2e4370416d8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlschemas.html @@ -0,0 +1,942 @@ + + + +xmlschemas: incomplete XML Schemas structure implementation + + + + + + + + + + + + + + +

xmlschemas

+

xmlschemas - incomplete XML Schemas structure implementation

+

interface to the XML Schemas handling and schema validity checking, it is incomplete right now.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlSchema xmlSchema;
+typedef struct _xmlSchemaParserCtxt xmlSchemaParserCtxt;
+typedef xmlSchemaParserCtxt * xmlSchemaParserCtxtPtr;
+typedef xmlSchema * xmlSchemaPtr;
+typedef xmlSchemaSAXPlugStruct * xmlSchemaSAXPlugPtr;
+typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct;
+typedef struct _xmlSchemaValidCtxt xmlSchemaValidCtxt;
+typedef xmlSchemaValidCtxt * xmlSchemaValidCtxtPtr;
+typedef enum xmlSchemaValidError;
+typedef enum xmlSchemaValidOption;
+void	xmlSchemaDump			(FILE * output, 
xmlSchemaPtr schema); +void xmlSchemaFree (xmlSchemaPtr schema); +void xmlSchemaFreeParserCtxt (xmlSchemaParserCtxtPtr ctxt); +void xmlSchemaFreeValidCtxt (xmlSchemaValidCtxtPtr ctxt); +int xmlSchemaGetParserErrors (xmlSchemaParserCtxtPtr ctxt,
xmlSchemaValidityErrorFunc * err,
xmlSchemaValidityWarningFunc * warn,
void ** ctx); +int xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt,
xmlSchemaValidityErrorFunc * err,
xmlSchemaValidityWarningFunc * warn,
void ** ctx); +int xmlSchemaIsValid (xmlSchemaValidCtxtPtr ctxt); +xmlSchemaParserCtxtPtr xmlSchemaNewDocParserCtxt (xmlDocPtr doc); +xmlSchemaParserCtxtPtr xmlSchemaNewMemParserCtxt (const char * buffer,
int size); +xmlSchemaParserCtxtPtr xmlSchemaNewParserCtxt (const char * URL); +xmlSchemaValidCtxtPtr xmlSchemaNewValidCtxt (xmlSchemaPtr schema); +xmlSchemaPtr xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt); +xmlSchemaSAXPlugPtr xmlSchemaSAXPlug (xmlSchemaValidCtxtPtr ctxt,
xmlSAXHandlerPtr * sax,
void ** user_data); +int xmlSchemaSAXUnplug (xmlSchemaSAXPlugPtr plug); +void xmlSchemaSetParserErrors (xmlSchemaParserCtxtPtr ctxt,
xmlSchemaValidityErrorFunc err,
xmlSchemaValidityWarningFunc warn,
void * ctx); +void xmlSchemaSetParserStructuredErrors (xmlSchemaParserCtxtPtr ctxt,
xmlStructuredErrorFunc serror,
void * ctx); +void xmlSchemaSetValidErrors (xmlSchemaValidCtxtPtr ctxt,
xmlSchemaValidityErrorFunc err,
xmlSchemaValidityWarningFunc warn,
void * ctx); +int xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt,
int options); +void xmlSchemaSetValidStructuredErrors (xmlSchemaValidCtxtPtr ctxt,
xmlStructuredErrorFunc serror,
void * ctx); +int xmlSchemaValidCtxtGetOptions (xmlSchemaValidCtxtPtr ctxt); +xmlParserCtxtPtr xmlSchemaValidCtxtGetParserCtxt (xmlSchemaValidCtxtPtr ctxt); +int xmlSchemaValidateDoc (xmlSchemaValidCtxtPtr ctxt,
xmlDocPtr doc); +int xmlSchemaValidateFile (xmlSchemaValidCtxtPtr ctxt,
const char * filename,
int options); +int xmlSchemaValidateOneElement (xmlSchemaValidCtxtPtr ctxt,
xmlNodePtr elem); +void xmlSchemaValidateSetFilename (xmlSchemaValidCtxtPtr vctxt,
const char * filename); +void xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt,
xmlSchemaValidityLocatorFunc f,
void * ctxt); +int xmlSchemaValidateStream (xmlSchemaValidCtxtPtr ctxt,
xmlParserInputBufferPtr input,
xmlCharEncoding enc,
xmlSAXHandlerPtr sax,
void * user_data); +typedef void xmlSchemaValidityErrorFunc (void * ctx,
const char * msg,
... ...); +typedef int xmlSchemaValidityLocatorFunc (void * ctx,
const char ** file,
unsigned long * line); +typedef void xmlSchemaValidityWarningFunc (void * ctx,
const char * msg,
... ...); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlSchema

+
struct _xmlSchema {
+    const xmlChar *	name	: schema name
+    const xmlChar *	targetNamespace	: the target namespace
+    const xmlChar *	version
+    const xmlChar *	id	: Obsolete
+    xmlDocPtr	doc
+    xmlSchemaAnnotPtr	annot
+    int	flags
+    xmlHashTablePtr	typeDecl
+    xmlHashTablePtr	attrDecl
+    xmlHashTablePtr	attrgrpDecl
+    xmlHashTablePtr	elemDecl
+    xmlHashTablePtr	notaDecl
+    xmlHashTablePtr	schemasImports
+    void *	_private	: unused by the library for users or bindings
+    xmlHashTablePtr	groupDecl
+    xmlDictPtr	dict
+    void *	includes	: the includes, this is opaque for now
+    int	preserve	: whether to free the document
+    int	counter	: used to give anonymous components unique names
+    xmlHashTablePtr	idcDef	: All identity-constraint defs.
+    void *	volatiles	: Obsolete
+} xmlSchema;
+
+

+
+
+
+

+Structure xmlSchemaParserCtxt

+
struct _xmlSchemaParserCtxt {
+The content of this structure is not made public by the API.
+} xmlSchemaParserCtxt;
+
+

+
+
+
+

+Typedef xmlSchemaParserCtxtPtr

+
xmlSchemaParserCtxt * xmlSchemaParserCtxtPtr;
+
+

+
+
+
+

+Typedef xmlSchemaPtr

+
xmlSchema * xmlSchemaPtr;
+
+

+
+
+
+

+Typedef xmlSchemaSAXPlugPtr

+
xmlSchemaSAXPlugStruct * xmlSchemaSAXPlugPtr;
+
+

+
+
+
+

+Structure xmlSchemaSAXPlugStruct

+
struct _xmlSchemaSAXPlug {
+The content of this structure is not made public by the API.
+} xmlSchemaSAXPlugStruct;
+
+

+
+
+
+

+Structure xmlSchemaValidCtxt

+
struct _xmlSchemaValidCtxt {
+The content of this structure is not made public by the API.
+} xmlSchemaValidCtxt;
+
+

+
+
+
+

+Typedef xmlSchemaValidCtxtPtr

+
xmlSchemaValidCtxt * xmlSchemaValidCtxtPtr;
+
+

+
+
+ +
+
+

+Enum xmlSchemaValidOption

+
enum xmlSchemaValidOption {
+    XML_SCHEMA_VAL_VC_I_CREATE = 1 /*  Default/fixed: create an attribute node * or an element's text node on the instance. * */
+};
+
+

+
+
+
+

+Function type xmlSchemaValidityErrorFunc

+
void	xmlSchemaValidityErrorFunc	(void * ctx, 
const char * msg,
... ...)
+
+

Signature of an error callback from an XSD validation

+
++ + + + + + + + + + + + + + +
ctx:the validation context
msg:the message
...:extra arguments
+
+
+
+

+Function type xmlSchemaValidityLocatorFunc

+
int	xmlSchemaValidityLocatorFunc	(void * ctx, 
const char ** file,
unsigned long * line)
+
+

A schemas validation locator, a callback called by the validator. This is used when file or node information are not available to find out what file and line number are affected

+
++ + + + + + + + + + + + + + + + + + +
ctx:user provided context
file:returned file information
line:returned line information
Returns:0 in case of success and -1 in case of error
+
+
+
+

+Function type xmlSchemaValidityWarningFunc

+
void	xmlSchemaValidityWarningFunc	(void * ctx, 
const char * msg,
... ...)
+
+

Signature of a warning callback from an XSD validation

+
++ + + + + + + + + + + + + + +
ctx:the validation context
msg:the message
...:extra arguments
+
+
+
+

+xmlSchemaDump ()

+
void	xmlSchemaDump			(FILE * output, 
xmlSchemaPtr schema)
+
+

Dump a Schema structure.

+
++ + + + + + + + + + +
output:the file output
schema:a schema structure
+
+
+
+

+xmlSchemaFree ()

+
void	xmlSchemaFree			(xmlSchemaPtr schema)
+
+

Deallocate a Schema structure.

+
++ + + + +
schema:a schema structure
+
+
+
+

+xmlSchemaFreeParserCtxt ()

+
void	xmlSchemaFreeParserCtxt		(xmlSchemaParserCtxtPtr ctxt)
+
+

Free the resources associated to the schema parser context

+
++ + + + +
ctxt:the schema parser context
+
+
+
+

+xmlSchemaFreeValidCtxt ()

+
void	xmlSchemaFreeValidCtxt		(xmlSchemaValidCtxtPtr ctxt)
+
+

Free the resources associated to the schema validation context

+
++ + + + +
ctxt:the schema validation context
+
+
+
+

+xmlSchemaGetParserErrors ()

+
int	xmlSchemaGetParserErrors	(xmlSchemaParserCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc * err,
xmlSchemaValidityWarningFunc * warn,
void ** ctx)
+
+

Get the callback information used to handle errors for a parser context

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:a XMl-Schema parser context
err:the error callback result
warn:the warning callback result
ctx:contextual data for the callbacks result
Returns:-1 in case of failure, 0 otherwise
+
+
+
+

+xmlSchemaGetValidErrors ()

+
int	xmlSchemaGetValidErrors		(xmlSchemaValidCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc * err,
xmlSchemaValidityWarningFunc * warn,
void ** ctx)
+
+

Get the error and warning callback information

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:a XML-Schema validation context
err:the error function result
warn:the warning function result
ctx:the functions context result
Returns:-1 in case of error and 0 otherwise
+
+
+
+

+xmlSchemaIsValid ()

+
int	xmlSchemaIsValid		(xmlSchemaValidCtxtPtr ctxt)
+
+

Check if any error was detected during validation.

+
++ + + + + + + + + + +
ctxt:the schema validation context
Returns:1 if valid so far, 0 if errors were detected, and -1 in case of internal error.
+
+
+
+

+xmlSchemaNewDocParserCtxt ()

+
xmlSchemaParserCtxtPtr	xmlSchemaNewDocParserCtxt	(xmlDocPtr doc)
+
+

Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process.

+
++ + + + + + + + + + +
doc:a preparsed document tree
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlSchemaNewMemParserCtxt ()

+
xmlSchemaParserCtxtPtr	xmlSchemaNewMemParserCtxt	(const char * buffer, 
int size)
+
+

Create an XML Schemas parse context for that memory buffer expected to contain an XML Schemas file.

+
++ + + + + + + + + + + + + + +
buffer:a pointer to a char array containing the schemas
size:the size of the array
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlSchemaNewParserCtxt ()

+
xmlSchemaParserCtxtPtr	xmlSchemaNewParserCtxt	(const char * URL)
+
+

Create an XML Schemas parse context for that file/resource expected to contain an XML Schemas file.

+
++ + + + + + + + + + +
URL:the location of the schema
Returns:the parser context or NULL in case of error
+
+
+
+

+xmlSchemaNewValidCtxt ()

+
xmlSchemaValidCtxtPtr	xmlSchemaNewValidCtxt	(xmlSchemaPtr schema)
+
+

Create an XML Schemas validation context based on the given schema.

+
++ + + + + + + + + + +
schema:a precompiled XML Schemas
Returns:the validation context or NULL in case of error
+
+
+
+

+xmlSchemaParse ()

+
xmlSchemaPtr	xmlSchemaParse		(xmlSchemaParserCtxtPtr ctxt)
+
+

parse a schema definition resource and build an internal XML Schema structure which can be used to validate instances.

+
++ + + + + + + + + + +
ctxt:a schema validation context
Returns:the internal XML Schema structure built from the resource or NULL in case of error
+
+
+
+

+xmlSchemaSAXPlug ()

+
xmlSchemaSAXPlugPtr	xmlSchemaSAXPlug	(xmlSchemaValidCtxtPtr ctxt, 
xmlSAXHandlerPtr * sax,
void ** user_data)
+
+

Plug a SAX based validation layer in a SAX parsing event flow. The original @saxptr and @dataptr data are replaced by new pointers but the calls to the original will be maintained.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:a schema validation context
sax:a pointer to the original xmlSAXHandlerPtr +
user_data:a pointer to the original SAX user data pointer
Returns:a pointer to a data structure needed to unplug the validation layer or NULL in case of errors.
+
+
+
+

+xmlSchemaSAXUnplug ()

+
int	xmlSchemaSAXUnplug		(xmlSchemaSAXPlugPtr plug)
+
+

Unplug a SAX based validation layer in a SAX parsing event flow. The original pointers used in the call are restored.

+
++ + + + + + + + + + +
plug:a data structure returned by xmlSchemaSAXPlug +
Returns:0 in case of success and -1 in case of failure.
+
+
+
+

+xmlSchemaSetParserErrors ()

+
void	xmlSchemaSetParserErrors	(xmlSchemaParserCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc err,
xmlSchemaValidityWarningFunc warn,
void * ctx)
+
+

DEPRECATED: Use xmlSchemaSetParserStructuredErrors. Set the callback functions used to handle errors for a validation context

+
++ + + + + + + + + + + + + + + + + + +
ctxt:a schema validation context
err:the error callback
warn:the warning callback
ctx:contextual data for the callbacks
+
+
+
+

+xmlSchemaSetParserStructuredErrors ()

+
void	xmlSchemaSetParserStructuredErrors	(xmlSchemaParserCtxtPtr ctxt, 
xmlStructuredErrorFunc serror,
void * ctx)
+
+

Set the structured error callback

+
++ + + + + + + + + + + + + + +
ctxt:a schema parser context
serror:the structured error function
ctx:the functions context
+
+
+
+

+xmlSchemaSetValidErrors ()

+
void	xmlSchemaSetValidErrors		(xmlSchemaValidCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc err,
xmlSchemaValidityWarningFunc warn,
void * ctx)
+
+

DEPRECATED: Use xmlSchemaSetValidStructuredErrors. Set the error and warning callback information

+
++ + + + + + + + + + + + + + + + + + +
ctxt:a schema validation context
err:the error function
warn:the warning function
ctx:the functions context
+
+
+
+

+xmlSchemaSetValidOptions ()

+
int	xmlSchemaSetValidOptions	(xmlSchemaValidCtxtPtr ctxt, 
int options)
+
+

Sets the options to be used during the validation.

+
++ + + + + + + + + + + + + + +
ctxt:a schema validation context
options:a combination of xmlSchemaValidOption +
Returns:0 in case of success, -1 in case of an API error.
+
+
+
+

+xmlSchemaSetValidStructuredErrors ()

+
void	xmlSchemaSetValidStructuredErrors	(xmlSchemaValidCtxtPtr ctxt, 
xmlStructuredErrorFunc serror,
void * ctx)
+
+

Set the structured error callback

+
++ + + + + + + + + + + + + + +
ctxt:a schema validation context
serror:the structured error function
ctx:the functions context
+
+
+
+

+xmlSchemaValidCtxtGetOptions ()

+
int	xmlSchemaValidCtxtGetOptions	(xmlSchemaValidCtxtPtr ctxt)
+
+

Get the validation context options.

+
++ + + + + + + + + + +
ctxt:a schema validation context
Returns:the option combination or -1 on error.
+
+
+
+

+xmlSchemaValidCtxtGetParserCtxt ()

+
xmlParserCtxtPtr	xmlSchemaValidCtxtGetParserCtxt	(xmlSchemaValidCtxtPtr ctxt)
+
+

allow access to the parser context of the schema validation context

+
++ + + + + + + + + + +
ctxt:a schema validation context
Returns:the parser context of the schema validation context or NULL in case of error.
+
+
+
+

+xmlSchemaValidateDoc ()

+
int	xmlSchemaValidateDoc		(xmlSchemaValidCtxtPtr ctxt, 
xmlDocPtr doc)
+
+

Validate a document tree in memory.

+
++ + + + + + + + + + + + + + +
ctxt:a schema validation context
doc:a parsed document tree
Returns:0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlSchemaValidateFile ()

+
int	xmlSchemaValidateFile		(xmlSchemaValidCtxtPtr ctxt, 
const char * filename,
int options)
+
+

Do a schemas validation of the given resource, it will use the SAX streamable validation internally.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:a schema validation context
filename:the URI of the instance
options:a future set of options, currently unused
Returns:0 if the document is valid, a positive error code number otherwise and -1 in case of an internal or API error.
+
+
+
+

+xmlSchemaValidateOneElement ()

+
int	xmlSchemaValidateOneElement	(xmlSchemaValidCtxtPtr ctxt, 
xmlNodePtr elem)
+
+

Validate a branch of a tree, starting with the given @elem.

+
++ + + + + + + + + + + + + + +
ctxt:a schema validation context
elem:an element node
Returns:0 if the element and its subtree is valid, a positive error code number otherwise and -1 in case of an internal or API error.
+
+
+
+

+xmlSchemaValidateSetFilename ()

+
void	xmlSchemaValidateSetFilename	(xmlSchemaValidCtxtPtr vctxt, 
const char * filename)
+
+

Workaround to provide file error reporting information when this is not provided by current APIs

+
++ + + + + + + + + + +
vctxt:the schema validation context
filename:the file name
+
+
+
+

+xmlSchemaValidateSetLocator ()

+
void	xmlSchemaValidateSetLocator	(xmlSchemaValidCtxtPtr vctxt, 
xmlSchemaValidityLocatorFunc f,
void * ctxt)
+
+

Allows to set a locator function to the validation context, which will be used to provide file and line information since those are not provided as part of the SAX validation flow Setting @f to NULL disable the locator.

+
++ + + + + + + + + + + + + + +
vctxt:a schema validation context
f:the locator function pointer
ctxt:the locator context
+
+
+
+

+xmlSchemaValidateStream ()

+
int	xmlSchemaValidateStream		(xmlSchemaValidCtxtPtr ctxt, 
xmlParserInputBufferPtr input,
xmlCharEncoding enc,
xmlSAXHandlerPtr sax,
void * user_data)
+
+

Validate an input based on a flow of SAX event from the parser and forward the events to the @sax handler with the provided @user_data the user provided @sax handler must be a SAX2 one.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ctxt:a schema validation context
input:the input to use for reading the data
enc:an optional encoding information
sax:a SAX handler for the resulting events
user_data:the context to provide to the SAX handler.
Returns:0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlschemastypes.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlschemastypes.html new file mode 100644 index 0000000000000000000000000000000000000000..011da789cc8adc34515c14aee2420a383340930e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlschemastypes.html @@ -0,0 +1,935 @@ + + + +xmlschemastypes: implementation of XML Schema Datatypes + + + + + + + + + + + + + + +

xmlschemastypes

+

xmlschemastypes - implementation of XML Schema Datatypes

+

module providing the XML Schema Datatypes implementation both definition and validity checking

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef enum xmlSchemaWhitespaceValueType;
+int	xmlSchemaCheckFacet		(xmlSchemaFacetPtr facet, 
xmlSchemaTypePtr typeDecl,
xmlSchemaParserCtxtPtr pctxt,
const xmlChar * name); +void xmlSchemaCleanupTypes (void); +xmlChar * xmlSchemaCollapseString (const xmlChar * value); +int xmlSchemaCompareValues (xmlSchemaValPtr x,
xmlSchemaValPtr y); +int xmlSchemaCompareValuesWhtsp (xmlSchemaValPtr x,
xmlSchemaWhitespaceValueType xws,
xmlSchemaValPtr y,
xmlSchemaWhitespaceValueType yws); +xmlSchemaValPtr xmlSchemaCopyValue (xmlSchemaValPtr val); +void xmlSchemaFreeFacet (xmlSchemaFacetPtr facet); +void xmlSchemaFreeValue (xmlSchemaValPtr value); +xmlSchemaTypePtr xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaTypePtr type); +xmlSchemaTypePtr xmlSchemaGetBuiltInType (xmlSchemaValType type); +int xmlSchemaGetCanonValue (xmlSchemaValPtr val,
const xmlChar ** retValue); +int xmlSchemaGetCanonValueWhtsp (xmlSchemaValPtr val,
const xmlChar ** retValue,
xmlSchemaWhitespaceValueType ws); +unsigned long xmlSchemaGetFacetValueAsULong (xmlSchemaFacetPtr facet); +xmlSchemaTypePtr xmlSchemaGetPredefinedType (const xmlChar * name,
const xmlChar * ns); +xmlSchemaValType xmlSchemaGetValType (xmlSchemaValPtr val); +int xmlSchemaInitTypes (void); +int xmlSchemaIsBuiltInTypeFacet (xmlSchemaTypePtr type,
int facetType); +xmlSchemaFacetPtr xmlSchemaNewFacet (void); +xmlSchemaValPtr xmlSchemaNewNOTATIONValue (const xmlChar * name,
const xmlChar * ns); +xmlSchemaValPtr xmlSchemaNewQNameValue (const xmlChar * namespaceName,
const xmlChar * localName); +xmlSchemaValPtr xmlSchemaNewStringValue (xmlSchemaValType type,
const xmlChar * value); +int xmlSchemaValPredefTypeNode (xmlSchemaTypePtr type,
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node); +int xmlSchemaValPredefTypeNodeNoNorm (xmlSchemaTypePtr type,
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node); +int xmlSchemaValidateFacet (xmlSchemaTypePtr base,
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val); +int xmlSchemaValidateFacetWhtsp (xmlSchemaFacetPtr facet,
xmlSchemaWhitespaceValueType fws,
xmlSchemaValType valType,
const xmlChar * value,
xmlSchemaValPtr val,
xmlSchemaWhitespaceValueType ws); +int xmlSchemaValidateLengthFacet (xmlSchemaTypePtr type,
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length); +int xmlSchemaValidateLengthFacetWhtsp (xmlSchemaFacetPtr facet,
xmlSchemaValType valType,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length,
xmlSchemaWhitespaceValueType ws); +int xmlSchemaValidateListSimpleTypeFacet (xmlSchemaFacetPtr facet,
const xmlChar * value,
unsigned long actualLen,
unsigned long * expectedLen); +int xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
const xmlChar * value,
xmlSchemaValPtr * val); +int xmlSchemaValueAppend (xmlSchemaValPtr prev,
xmlSchemaValPtr cur); +int xmlSchemaValueGetAsBoolean (xmlSchemaValPtr val); +const xmlChar * xmlSchemaValueGetAsString (xmlSchemaValPtr val); +xmlSchemaValPtr xmlSchemaValueGetNext (xmlSchemaValPtr cur); +xmlChar * xmlSchemaWhiteSpaceReplace (const xmlChar * value); +
+
+

Description

+
+

Details

+
+ +
+
+

+xmlSchemaCheckFacet ()

+
int	xmlSchemaCheckFacet		(xmlSchemaFacetPtr facet, 
xmlSchemaTypePtr typeDecl,
xmlSchemaParserCtxtPtr pctxt,
const xmlChar * name)
+
+

Checks and computes the values of facets.

+
++ + + + + + + + + + + + + + + + + + + + + + +
facet:the facet
typeDecl:the schema type definition
pctxt:the schema parser context or NULL
name:the optional name of the type
Returns:0 if valid, a positive error code if not valid and -1 in case of an internal or API error.
+
+
+
+

+xmlSchemaCleanupTypes ()

+
void	xmlSchemaCleanupTypes		(void)
+
+

DEPRECATED: This function will be made private. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have to call cleanup functions at all. Cleanup the default XML Schemas type library

+
+
+
+

+xmlSchemaCollapseString ()

+
xmlChar *	xmlSchemaCollapseString	(const xmlChar * value)
+
+

Removes and normalize white spaces in the string

+
++ + + + + + + + + + +
value:a value
Returns:the new string or NULL if no change was required.
+
+
+
+

+xmlSchemaCompareValues ()

+
int	xmlSchemaCompareValues		(xmlSchemaValPtr x, 
xmlSchemaValPtr y)
+
+

Compare 2 values

+
++ + + + + + + + + + + + + + +
x:a first value
y:a second value
Returns:-1 if x < y, 0 if x == y, 1 if x > y, 2 if x <> y, and -2 in case of error
+
+
+
+

+xmlSchemaCompareValuesWhtsp ()

+
int	xmlSchemaCompareValuesWhtsp	(xmlSchemaValPtr x, 
xmlSchemaWhitespaceValueType xws,
xmlSchemaValPtr y,
xmlSchemaWhitespaceValueType yws)
+
+

Compare 2 values

+
++ + + + + + + + + + + + + + + + + + + + + + +
x:a first value
xws:the whitespace value of x
y:a second value
yws:the whitespace value of y
Returns:-1 if x < y, 0 if x == y, 1 if x > y, 2 if x <> y, and -2 in case of error
+
+
+
+

+xmlSchemaCopyValue ()

+
xmlSchemaValPtr	xmlSchemaCopyValue	(xmlSchemaValPtr val)
+
+

Copies the precomputed value. This duplicates any string within.

+
++ + + + + + + + + + +
val:the precomputed value to be copied
Returns:the copy or NULL if a copy for a data-type is not implemented.
+
+
+
+

+xmlSchemaFreeFacet ()

+
void	xmlSchemaFreeFacet		(xmlSchemaFacetPtr facet)
+
+

Deallocate a Schema Facet structure.

+
++ + + + +
facet:a schema facet structure
+
+
+
+

+xmlSchemaFreeValue ()

+
void	xmlSchemaFreeValue		(xmlSchemaValPtr value)
+
+

Cleanup the default XML Schemas type library

+
++ + + + +
value:the value to free
+
+
+
+

+xmlSchemaGetBuiltInListSimpleTypeItemType ()

+
xmlSchemaTypePtr	xmlSchemaGetBuiltInListSimpleTypeItemType	(xmlSchemaTypePtr type)
+
+

Lookup function

+
++ + + + + + + + + + +
type:the built-in simple type.
Returns:the item type of @type as defined by the built-in datatype hierarchy of XML Schema Part 2: Datatypes, or NULL in case of an error.
+
+
+
+

+xmlSchemaGetBuiltInType ()

+
xmlSchemaTypePtr	xmlSchemaGetBuiltInType	(xmlSchemaValType type)
+
+

Gives you the type struct for a built-in type by its type id.

+
++ + + + + + + + + + +
type:the type of the built in type
Returns:the type if found, NULL otherwise.
+
+
+
+

+xmlSchemaGetCanonValue ()

+
int	xmlSchemaGetCanonValue		(xmlSchemaValPtr val, 
const xmlChar ** retValue)
+
+

Get the canonical lexical representation of the value. The caller has to FREE the returned retValue. WARNING: Some value types are not supported yet, resulting in a @retValue of "???". TODO: XML Schema 1.0 does not define canonical representations for: duration, gYearMonth, gYear, gMonthDay, gMonth, gDay, anyURI, QName, NOTATION. This will be fixed in XML Schema 1.1.

+
++ + + + + + + + + + + + + + +
val:the precomputed value
retValue:the returned value
Returns:0 if the value could be built, 1 if the value type is not supported yet and -1 in case of API errors.
+
+
+
+

+xmlSchemaGetCanonValueWhtsp ()

+
int	xmlSchemaGetCanonValueWhtsp	(xmlSchemaValPtr val, 
const xmlChar ** retValue,
xmlSchemaWhitespaceValueType ws)
+
+

Get the canonical representation of the value. The caller has to free the returned @retValue.

+
++ + + + + + + + + + + + + + + + + + +
val:the precomputed value
retValue:the returned value
ws:the whitespace type of the value
Returns:0 if the value could be built, 1 if the value type is not supported yet and -1 in case of API errors.
+
+
+
+

+xmlSchemaGetFacetValueAsULong ()

+
unsigned long	xmlSchemaGetFacetValueAsULong	(xmlSchemaFacetPtr facet)
+
+

Extract the value of a facet

+
++ + + + + + + + + + +
facet:an schemas type facet
Returns:the value as a long
+
+
+
+

+xmlSchemaGetPredefinedType ()

+
xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)
+
+

Lookup a type in the default XML Schemas type library

+
++ + + + + + + + + + + + + + +
name:the type name
ns:the URI of the namespace usually "http://www.w3.org/2001/XMLSchema"
Returns:the type if found, NULL otherwise
+
+
+
+

+xmlSchemaGetValType ()

+
xmlSchemaValType	xmlSchemaGetValType	(xmlSchemaValPtr val)
+
+

Accessor for the type of a value

+
++ + + + + + + + + + +
val:a schemas value
Returns:the xmlSchemaValType of the value
+
+
+
+

+xmlSchemaInitTypes ()

+
int	xmlSchemaInitTypes		(void)
+
+

Initialize the default XML Schemas type library

+
++ + + + +
Returns:0 on success, -1 on error.
+
+
+
+

+xmlSchemaIsBuiltInTypeFacet ()

+
int	xmlSchemaIsBuiltInTypeFacet	(xmlSchemaTypePtr type, 
int facetType)
+
+

Evaluates if a specific facet can be used in conjunction with a type.

+
++ + + + + + + + + + + + + + +
type:the built-in type
facetType:the facet type
Returns:1 if the facet can be used with the given built-in type, 0 otherwise and -1 in case the type is not a built-in type.
+
+
+
+

+xmlSchemaNewFacet ()

+
xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)
+
+

Allocate a new Facet structure.

+
++ + + + +
Returns:the newly allocated structure or NULL in case or error
+
+
+
+

+xmlSchemaNewNOTATIONValue ()

+
xmlSchemaValPtr	xmlSchemaNewNOTATIONValue	(const xmlChar * name, 
const xmlChar * ns)
+
+

Allocate a new NOTATION value. The given values are consumed and freed with the struct.

+
++ + + + + + + + + + + + + + +
name:the notation name
ns:the notation namespace name or NULL
Returns:a pointer to the new value or NULL in case of error
+
+
+
+

+xmlSchemaNewQNameValue ()

+
xmlSchemaValPtr	xmlSchemaNewQNameValue	(const xmlChar * namespaceName, 
const xmlChar * localName)
+
+

Allocate a new QName value. The given values are consumed and freed with the struct.

+
++ + + + + + + + + + + + + + +
namespaceName:the namespace name
localName:the local name
Returns:a pointer to the new value or NULL in case of an error.
+
+
+
+

+xmlSchemaNewStringValue ()

+
xmlSchemaValPtr	xmlSchemaNewStringValue	(xmlSchemaValType type, 
const xmlChar * value)
+
+

Allocate a new simple type value. The type can be of XML_SCHEMAS_STRING. WARNING: This one is intended to be expanded for other string based types. We need this for anySimpleType as well. The given value is consumed and freed with the struct.

+
++ + + + + + + + + + + + + + +
type:the value type
value:the value
Returns:a pointer to the new value or NULL in case of error
+
+
+
+

+xmlSchemaValPredefTypeNode ()

+
int	xmlSchemaValPredefTypeNode	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)
+
+

Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val.

+
++ + + + + + + + + + + + + + + + + + + + + + +
type:the predefined type
value:the value to check
val:the return computed value
node:the node containing the value
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlSchemaValPredefTypeNodeNoNorm ()

+
int	xmlSchemaValPredefTypeNodeNoNorm	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)
+
+

Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val. This one does apply any normalization to the value.

+
++ + + + + + + + + + + + + + + + + + + + + + +
type:the predefined type
value:the value to check
val:the return computed value
node:the node containing the value
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlSchemaValidateFacet ()

+
int	xmlSchemaValidateFacet		(xmlSchemaTypePtr base, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val)
+
+

Check a value against a facet condition

+
++ + + + + + + + + + + + + + + + + + + + + + +
base:the base type
facet:the facet to check
value:the lexical repr of the value to validate
val:the precomputed value
Returns:0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlSchemaValidateFacetWhtsp ()

+
int	xmlSchemaValidateFacetWhtsp	(xmlSchemaFacetPtr facet, 
xmlSchemaWhitespaceValueType fws,
xmlSchemaValType valType,
const xmlChar * value,
xmlSchemaValPtr val,
xmlSchemaWhitespaceValueType ws)
+
+

Check a value against a facet condition. This takes value normalization according to the specified whitespace types into account. Note that @value needs to be the *normalized* value if the facet is of type "pattern".

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
facet:the facet to check
fws:the whitespace type of the facet's value
valType:the built-in type of the value
value:the lexical (or normalized for pattern) repr of the value to validate
val:the precomputed value
ws:the whitespace type of the value
Returns:0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlSchemaValidateLengthFacet ()

+
int	xmlSchemaValidateLengthFacet	(xmlSchemaTypePtr type, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length)
+
+

Checka a value against a "length", "minLength" and "maxLength" facet; sets @length to the computed length of @value.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
type:the built-in type
facet:the facet to check
value:the lexical repr. of the value to be validated
val:the precomputed value
length:the actual length of the value
Returns:0 if the value is valid, a positive error code otherwise and -1 in case of an internal or API error.
+
+
+
+

+xmlSchemaValidateLengthFacetWhtsp ()

+
int	xmlSchemaValidateLengthFacetWhtsp	(xmlSchemaFacetPtr facet, 
xmlSchemaValType valType,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length,
xmlSchemaWhitespaceValueType ws)
+
+

Checka a value against a "length", "minLength" and "maxLength" facet; sets @length to the computed length of @value.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
facet:the facet to check
valType:the built-in type
value:the lexical repr. of the value to be validated
val:the precomputed value
length:the actual length of the value
ws:the whitespace type of the value
Returns:0 if the value is valid, a positive error code otherwise and -1 in case of an internal or API error.
+
+
+
+

+xmlSchemaValidateListSimpleTypeFacet ()

+
int	xmlSchemaValidateListSimpleTypeFacet	(xmlSchemaFacetPtr facet, 
const xmlChar * value,
unsigned long actualLen,
unsigned long * expectedLen)
+
+

Checks the value of a list simple type against a facet.

+
++ + + + + + + + + + + + + + + + + + + + + + +
facet:the facet to check
value:the lexical repr of the value to validate
actualLen:the number of list items
expectedLen:the resulting expected number of list items
Returns:0 if the value is valid, a positive error code number otherwise and -1 in case of an internal error.
+
+
+
+

+xmlSchemaValidatePredefinedType ()

+
int	xmlSchemaValidatePredefinedType	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val)
+
+

Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val.

+
++ + + + + + + + + + + + + + + + + + +
type:the predefined type
value:the value to check
val:the return computed value
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.
+
+
+
+

+xmlSchemaValueAppend ()

+
int	xmlSchemaValueAppend		(xmlSchemaValPtr prev, 
xmlSchemaValPtr cur)
+
+

Appends a next sibling to a list of computed values.

+
++ + + + + + + + + + + + + + +
prev:the value
cur:the value to be appended
Returns:0 if succeeded and -1 on API errors.
+
+
+
+

+xmlSchemaValueGetAsBoolean ()

+
int	xmlSchemaValueGetAsBoolean	(xmlSchemaValPtr val)
+
+

Accessor for the boolean value of a computed value.

+
++ + + + + + + + + + +
val:the value
Returns:1 if true and 0 if false, or in case of an error. Hmm.
+
+
+
+

+xmlSchemaValueGetAsString ()

+
const xmlChar *	xmlSchemaValueGetAsString	(xmlSchemaValPtr val)
+
+

Accessor for the string value of a computed value.

+
++ + + + + + + + + + +
val:the value
Returns:the string value or NULL if there was none, or on API errors.
+
+
+
+

+xmlSchemaValueGetNext ()

+
xmlSchemaValPtr	xmlSchemaValueGetNext	(xmlSchemaValPtr cur)
+
+

Accessor for the next sibling of a list of computed values.

+
++ + + + + + + + + + +
cur:the value
Returns:the next value or NULL if there was none, or on API errors.
+
+
+
+

+xmlSchemaWhiteSpaceReplace ()

+
xmlChar *	xmlSchemaWhiteSpaceReplace	(const xmlChar * value)
+
+

Replaces 0xd, 0x9 and 0xa with a space.

+
++ + + + + + + + + + +
value:a value
Returns:the new string or NULL if no change was required.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlstring.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlstring.html new file mode 100644 index 0000000000000000000000000000000000000000..1476ed23ff0a3ec376f5f3a616dd9c29591c7834 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlstring.html @@ -0,0 +1,853 @@ + + + +xmlstring: set of routines to process strings + + + + + + + + + + + + + + +

xmlstring

+

xmlstring - set of routines to process strings

+

type and interfaces needed for the internal string handling of the library, especially UTF8 processing.

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define BAD_CAST;
+typedef unsigned char xmlChar;
+xmlChar *	xmlCharStrdup		(const char * cur);
+xmlChar *	xmlCharStrndup		(const char * cur, 
int len); +int xmlCheckUTF8 (const unsigned char * utf); +int xmlGetUTF8Char (const unsigned char * utf,
int * len); +int xmlStrEqual (const xmlChar * str1,
const xmlChar * str2); +int xmlStrPrintf (xmlChar * buf,
int len,
const char * msg,
... ...); +int xmlStrQEqual (const xmlChar * pref,
const xmlChar * name,
const xmlChar * str); +int xmlStrVPrintf (xmlChar * buf,
int len,
const char * msg,
va_list ap); +int xmlStrcasecmp (const xmlChar * str1,
const xmlChar * str2); +const xmlChar * xmlStrcasestr (const xmlChar * str,
const xmlChar * val); +xmlChar * xmlStrcat (xmlChar * cur,
const xmlChar * add); +const xmlChar * xmlStrchr (const xmlChar * str,
xmlChar val); +int xmlStrcmp (const xmlChar * str1,
const xmlChar * str2); +xmlChar * xmlStrdup (const xmlChar * cur); +int xmlStrlen (const xmlChar * str); +int xmlStrncasecmp (const xmlChar * str1,
const xmlChar * str2,
int len); +xmlChar * xmlStrncat (xmlChar * cur,
const xmlChar * add,
int len); +xmlChar * xmlStrncatNew (const xmlChar * str1,
const xmlChar * str2,
int len); +int xmlStrncmp (const xmlChar * str1,
const xmlChar * str2,
int len); +xmlChar * xmlStrndup (const xmlChar * cur,
int len); +const xmlChar * xmlStrstr (const xmlChar * str,
const xmlChar * val); +xmlChar * xmlStrsub (const xmlChar * str,
int start,
int len); +int xmlUTF8Charcmp (const xmlChar * utf1,
const xmlChar * utf2); +int xmlUTF8Size (const xmlChar * utf); +int xmlUTF8Strlen (const xmlChar * utf); +int xmlUTF8Strloc (const xmlChar * utf,
const xmlChar * utfchar); +xmlChar * xmlUTF8Strndup (const xmlChar * utf,
int len); +const xmlChar * xmlUTF8Strpos (const xmlChar * utf,
int pos); +int xmlUTF8Strsize (const xmlChar * utf,
int len); +xmlChar * xmlUTF8Strsub (const xmlChar * utf,
int start,
int len); +
+
+

Description

+
+

Details

+
+
+

+Macro BAD_CAST

+
#define BAD_CAST;
+
+

Macro to cast a string to an xmlChar * when one know its safe.

+
+
+
+

+Typedef xmlChar

+
unsigned char xmlChar;
+
+

This is a basic byte in an UTF-8 encoded string. It's unsigned allowing to pinpoint case where char * are assigned to xmlChar * (possibly making serialization back impossible).

+
+
+
+

+xmlCharStrdup ()

+
xmlChar *	xmlCharStrdup		(const char * cur)
+
+

a strdup for char's to xmlChar's

+
++ + + + + + + + + + +
cur:the input char *
Returns:a new xmlChar * or NULL
+
+
+
+

+xmlCharStrndup ()

+
xmlChar *	xmlCharStrndup		(const char * cur, 
int len)
+
+

a strndup for char's to xmlChar's

+
++ + + + + + + + + + + + + + +
cur:the input char *
len:the len of @cur
Returns:a new xmlChar * or NULL
+
+
+
+

+xmlCheckUTF8 ()

+
int	xmlCheckUTF8			(const unsigned char * utf)
+
+

Checks @utf for being valid UTF-8. @utf is assumed to be null-terminated. This function is not super-strict, as it will allow longer UTF-8 sequences than necessary. Note that Java is capable of producing these sequences if provoked. Also note, this routine checks for the 4-byte maximum size, but does not check for 0x10ffff maximum value.

+
++ + + + + + + + + + +
utf:Pointer to putative UTF-8 encoded string.
Returns:value: true if @utf is valid.
+
+
+
+

+xmlGetUTF8Char ()

+
int	xmlGetUTF8Char			(const unsigned char * utf, 
int * len)
+
+

Read the first UTF8 character from @utf

+
++ + + + + + + + + + + + + + +
utf:a sequence of UTF-8 encoded bytes
len:a pointer to the minimum number of bytes present in the sequence. This is used to assure the next character is completely contained within the sequence.
Returns:the char value or -1 in case of error, and sets *len to the actual number of bytes consumed (0 in case of error)
+
+
+
+

+xmlStrEqual ()

+
int	xmlStrEqual			(const xmlChar * str1, 
const xmlChar * str2)
+
+

Check if both strings are equal of have same content. Should be a bit more readable and faster than xmlStrcmp()

+
++ + + + + + + + + + + + + + +
str1:the first xmlChar *
str2:the second xmlChar *
Returns:1 if they are equal, 0 if they are different
+
+
+
+

+xmlStrPrintf ()

+
int	xmlStrPrintf			(xmlChar * buf, 
int len,
const char * msg,
... ...)
+
+

Formats @msg and places result into @buf.

+
++ + + + + + + + + + + + + + + + + + + + + + +
buf:the result buffer.
len:the result buffer length.
msg:the message with printf formatting.
...:extra parameters for the message.
Returns:the number of characters written to @buf or -1 if an error occurs.
+
+
+
+

+xmlStrQEqual ()

+
int	xmlStrQEqual			(const xmlChar * pref, 
const xmlChar * name,
const xmlChar * str)
+
+

Check if a QName is Equal to a given string

+
++ + + + + + + + + + + + + + + + + + +
pref:the prefix of the QName
name:the localname of the QName
str:the second xmlChar *
Returns:1 if they are equal, 0 if they are different
+
+
+
+

+xmlStrVPrintf ()

+
int	xmlStrVPrintf			(xmlChar * buf, 
int len,
const char * msg,
va_list ap)
+
+

Formats @msg and places result into @buf.

+
++ + + + + + + + + + + + + + + + + + + + + + +
buf:the result buffer.
len:the result buffer length.
msg:the message with printf formatting.
ap:extra parameters for the message.
Returns:the number of characters written to @buf or -1 if an error occurs.
+
+
+
+

+xmlStrcasecmp ()

+
int	xmlStrcasecmp			(const xmlChar * str1, 
const xmlChar * str2)
+
+

a strcasecmp for xmlChar's

+
++ + + + + + + + + + + + + + +
str1:the first xmlChar *
str2:the second xmlChar *
Returns:the integer result of the comparison
+
+
+
+

+xmlStrcasestr ()

+
const xmlChar *	xmlStrcasestr		(const xmlChar * str, 
const xmlChar * val)
+
+

a case-ignoring strstr for xmlChar's

+
++ + + + + + + + + + + + + + +
str:the xmlChar * array (haystack)
val:the xmlChar to search (needle)
Returns:the xmlChar * for the first occurrence or NULL.
+
+
+
+

+xmlStrcat ()

+
xmlChar *	xmlStrcat		(xmlChar * cur, 
const xmlChar * add)
+
+

a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.

+
++ + + + + + + + + + + + + + +
cur:the original xmlChar * array
add:the xmlChar * array added
Returns:a new xmlChar * containing the concatenated string. The original @cur is reallocated and should not be freed.
+
+
+
+

+xmlStrchr ()

+
const xmlChar *	xmlStrchr		(const xmlChar * str, 
xmlChar val)
+
+

a strchr for xmlChar's

+
++ + + + + + + + + + + + + + +
str:the xmlChar * array
val:the xmlChar to search
Returns:the xmlChar * for the first occurrence or NULL.
+
+
+
+

+xmlStrcmp ()

+
int	xmlStrcmp			(const xmlChar * str1, 
const xmlChar * str2)
+
+

a strcmp for xmlChar's

+
++ + + + + + + + + + + + + + +
str1:the first xmlChar *
str2:the second xmlChar *
Returns:the integer result of the comparison
+
+
+
+

+xmlStrdup ()

+
xmlChar *	xmlStrdup		(const xmlChar * cur)
+
+

a strdup for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.

+
++ + + + + + + + + + +
cur:the input xmlChar *
Returns:a new xmlChar * or NULL
+
+
+
+

+xmlStrlen ()

+
int	xmlStrlen			(const xmlChar * str)
+
+

length of a xmlChar's string

+
++ + + + + + + + + + +
str:the xmlChar * array
Returns:the number of xmlChar contained in the ARRAY.
+
+
+
+

+xmlStrncasecmp ()

+
int	xmlStrncasecmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
+
+

a strncasecmp for xmlChar's

+
++ + + + + + + + + + + + + + + + + + +
str1:the first xmlChar *
str2:the second xmlChar *
len:the max comparison length
Returns:the integer result of the comparison
+
+
+
+

+xmlStrncat ()

+
xmlChar *	xmlStrncat		(xmlChar * cur, 
const xmlChar * add,
int len)
+
+

a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add. Note that if @len < 0 then this is an API error and NULL will be returned.

+
++ + + + + + + + + + + + + + + + + + +
cur:the original xmlChar * array
add:the xmlChar * array added
len:the length of @add
Returns:a new xmlChar *, the original @cur is reallocated and should not be freed.
+
+
+
+

+xmlStrncatNew ()

+
xmlChar *	xmlStrncatNew		(const xmlChar * str1, 
const xmlChar * str2,
int len)
+
+

same as xmlStrncat, but creates a new string. The original two strings are not freed. If @len is < 0 then the length will be calculated automatically.

+
++ + + + + + + + + + + + + + + + + + +
str1:first xmlChar string
str2:second xmlChar string
len:the len of @str2 or < 0
Returns:a new xmlChar * or NULL
+
+
+
+

+xmlStrncmp ()

+
int	xmlStrncmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
+
+

a strncmp for xmlChar's

+
++ + + + + + + + + + + + + + + + + + +
str1:the first xmlChar *
str2:the second xmlChar *
len:the max comparison length
Returns:the integer result of the comparison
+
+
+
+

+xmlStrndup ()

+
xmlChar *	xmlStrndup		(const xmlChar * cur, 
int len)
+
+

a strndup for array of xmlChar's

+
++ + + + + + + + + + + + + + +
cur:the input xmlChar *
len:the len of @cur
Returns:a new xmlChar * or NULL
+
+
+
+

+xmlStrstr ()

+
const xmlChar *	xmlStrstr		(const xmlChar * str, 
const xmlChar * val)
+
+

a strstr for xmlChar's

+
++ + + + + + + + + + + + + + +
str:the xmlChar * array (haystack)
val:the xmlChar to search (needle)
Returns:the xmlChar * for the first occurrence or NULL.
+
+
+
+

+xmlStrsub ()

+
xmlChar *	xmlStrsub		(const xmlChar * str, 
int start,
int len)
+
+

Extract a substring of a given string

+
++ + + + + + + + + + + + + + + + + + +
str:the xmlChar * array (haystack)
start:the index of the first char (zero based)
len:the length of the substring
Returns:the xmlChar * for the first occurrence or NULL.
+
+
+
+

+xmlUTF8Charcmp ()

+
int	xmlUTF8Charcmp			(const xmlChar * utf1, 
const xmlChar * utf2)
+
+

compares the two UCS4 values

+
++ + + + + + + + + + + + + + +
utf1:pointer to first UTF8 char
utf2:pointer to second UTF8 char
Returns:result of the compare as with xmlStrncmp +
+
+
+
+

+xmlUTF8Size ()

+
int	xmlUTF8Size			(const xmlChar * utf)
+
+

calculates the internal size of a UTF8 character

+
++ + + + + + + + + + +
utf:pointer to the UTF8 character
Returns:the numbers of bytes in the character, -1 on format error
+
+
+
+

+xmlUTF8Strlen ()

+
int	xmlUTF8Strlen			(const xmlChar * utf)
+
+

compute the length of an UTF8 string, it doesn't do a full UTF8 checking of the content of the string.

+
++ + + + + + + + + + +
utf:a sequence of UTF-8 encoded bytes
Returns:the number of characters in the string or -1 in case of error
+
+
+
+

+xmlUTF8Strloc ()

+
int	xmlUTF8Strloc			(const xmlChar * utf, 
const xmlChar * utfchar)
+
+

a function to provide the relative location of a UTF8 char

+
++ + + + + + + + + + + + + + +
utf:the input UTF8 *
utfchar:the UTF8 character to be found
Returns:the relative character position of the desired char or -1 if not found
+
+
+
+

+xmlUTF8Strndup ()

+
xmlChar *	xmlUTF8Strndup		(const xmlChar * utf, 
int len)
+
+

a strndup for array of UTF8's

+
++ + + + + + + + + + + + + + +
utf:the input UTF8 *
len:the len of @utf (in chars)
Returns:a new UTF8 * or NULL
+
+
+
+

+xmlUTF8Strpos ()

+
const xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)
+
+

a function to provide the equivalent of fetching a character from a string array

+
++ + + + + + + + + + + + + + +
utf:the input UTF8 *
pos:the position of the desired UTF8 char (in chars)
Returns:a pointer to the UTF8 character or NULL
+
+
+
+

+xmlUTF8Strsize ()

+
int	xmlUTF8Strsize			(const xmlChar * utf, 
int len)
+
+

storage size of an UTF8 string the behaviour is not guaranteed if the input string is not UTF-8

+
++ + + + + + + + + + + + + + +
utf:a sequence of UTF-8 encoded bytes
len:the number of characters in the array
Returns:the storage size of the first 'len' characters of ARRAY
+
+
+
+

+xmlUTF8Strsub ()

+
xmlChar *	xmlUTF8Strsub		(const xmlChar * utf, 
int start,
int len)
+
+

Create a substring from a given UTF-8 string Note: positions are given in units of UTF-8 chars

+
++ + + + + + + + + + + + + + + + + + +
utf:a sequence of UTF-8 encoded bytes
start:relative pos of first char
len:total number to copy
Returns:a pointer to a newly created string or NULL if the start index is out of bounds or a memory allocation failed. If len is too large, the result is truncated.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlunicode.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlunicode.html new file mode 100644 index 0000000000000000000000000000000000000000..29ec7deaa27b37504b4636e5099fdd39096ca6fe --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlunicode.html @@ -0,0 +1,3694 @@ + + + +xmlunicode: Unicode character APIs + + + + + + + + + + + + + + +

xmlunicode

+

xmlunicode - Unicode character APIs

+

API for the Unicode character APIs This file is automatically generated from the UCS description files of the Unicode Character Database

+

Author(s): Daniel Veillard

+
+

Synopsis

+
int	xmlUCSIsAegeanNumbers		(int code);
+int	xmlUCSIsAlphabeticPresentationForms	(int code);
+int	xmlUCSIsArabic			(int code);
+int	xmlUCSIsArabicPresentationFormsA	(int code);
+int	xmlUCSIsArabicPresentationFormsB	(int code);
+int	xmlUCSIsArmenian		(int code);
+int	xmlUCSIsArrows			(int code);
+int	xmlUCSIsBasicLatin		(int code);
+int	xmlUCSIsBengali			(int code);
+int	xmlUCSIsBlock			(int code, 
const char * block); +int xmlUCSIsBlockElements (int code); +int xmlUCSIsBopomofo (int code); +int xmlUCSIsBopomofoExtended (int code); +int xmlUCSIsBoxDrawing (int code); +int xmlUCSIsBraillePatterns (int code); +int xmlUCSIsBuhid (int code); +int xmlUCSIsByzantineMusicalSymbols (int code); +int xmlUCSIsCJKCompatibility (int code); +int xmlUCSIsCJKCompatibilityForms (int code); +int xmlUCSIsCJKCompatibilityIdeographs (int code); +int xmlUCSIsCJKCompatibilityIdeographsSupplement (int code); +int xmlUCSIsCJKRadicalsSupplement (int code); +int xmlUCSIsCJKSymbolsandPunctuation (int code); +int xmlUCSIsCJKUnifiedIdeographs (int code); +int xmlUCSIsCJKUnifiedIdeographsExtensionA (int code); +int xmlUCSIsCJKUnifiedIdeographsExtensionB (int code); +int xmlUCSIsCat (int code,
const char * cat); +int xmlUCSIsCatC (int code); +int xmlUCSIsCatCc (int code); +int xmlUCSIsCatCf (int code); +int xmlUCSIsCatCo (int code); +int xmlUCSIsCatCs (int code); +int xmlUCSIsCatL (int code); +int xmlUCSIsCatLl (int code); +int xmlUCSIsCatLm (int code); +int xmlUCSIsCatLo (int code); +int xmlUCSIsCatLt (int code); +int xmlUCSIsCatLu (int code); +int xmlUCSIsCatM (int code); +int xmlUCSIsCatMc (int code); +int xmlUCSIsCatMe (int code); +int xmlUCSIsCatMn (int code); +int xmlUCSIsCatN (int code); +int xmlUCSIsCatNd (int code); +int xmlUCSIsCatNl (int code); +int xmlUCSIsCatNo (int code); +int xmlUCSIsCatP (int code); +int xmlUCSIsCatPc (int code); +int xmlUCSIsCatPd (int code); +int xmlUCSIsCatPe (int code); +int xmlUCSIsCatPf (int code); +int xmlUCSIsCatPi (int code); +int xmlUCSIsCatPo (int code); +int xmlUCSIsCatPs (int code); +int xmlUCSIsCatS (int code); +int xmlUCSIsCatSc (int code); +int xmlUCSIsCatSk (int code); +int xmlUCSIsCatSm (int code); +int xmlUCSIsCatSo (int code); +int xmlUCSIsCatZ (int code); +int xmlUCSIsCatZl (int code); +int xmlUCSIsCatZp (int code); +int xmlUCSIsCatZs (int code); +int xmlUCSIsCherokee (int code); +int xmlUCSIsCombiningDiacriticalMarks (int code); +int xmlUCSIsCombiningDiacriticalMarksforSymbols (int code); +int xmlUCSIsCombiningHalfMarks (int code); +int xmlUCSIsCombiningMarksforSymbols (int code); +int xmlUCSIsControlPictures (int code); +int xmlUCSIsCurrencySymbols (int code); +int xmlUCSIsCypriotSyllabary (int code); +int xmlUCSIsCyrillic (int code); +int xmlUCSIsCyrillicSupplement (int code); +int xmlUCSIsDeseret (int code); +int xmlUCSIsDevanagari (int code); +int xmlUCSIsDingbats (int code); +int xmlUCSIsEnclosedAlphanumerics (int code); +int xmlUCSIsEnclosedCJKLettersandMonths (int code); +int xmlUCSIsEthiopic (int code); +int xmlUCSIsGeneralPunctuation (int code); +int xmlUCSIsGeometricShapes (int code); +int xmlUCSIsGeorgian (int code); +int xmlUCSIsGothic (int code); +int xmlUCSIsGreek (int code); +int xmlUCSIsGreekExtended (int code); +int xmlUCSIsGreekandCoptic (int code); +int xmlUCSIsGujarati (int code); +int xmlUCSIsGurmukhi (int code); +int xmlUCSIsHalfwidthandFullwidthForms (int code); +int xmlUCSIsHangulCompatibilityJamo (int code); +int xmlUCSIsHangulJamo (int code); +int xmlUCSIsHangulSyllables (int code); +int xmlUCSIsHanunoo (int code); +int xmlUCSIsHebrew (int code); +int xmlUCSIsHighPrivateUseSurrogates (int code); +int xmlUCSIsHighSurrogates (int code); +int xmlUCSIsHiragana (int code); +int xmlUCSIsIPAExtensions (int code); +int xmlUCSIsIdeographicDescriptionCharacters (int code); +int xmlUCSIsKanbun (int code); +int xmlUCSIsKangxiRadicals (int code); +int xmlUCSIsKannada (int code); +int xmlUCSIsKatakana (int code); +int xmlUCSIsKatakanaPhoneticExtensions (int code); +int xmlUCSIsKhmer (int code); +int xmlUCSIsKhmerSymbols (int code); +int xmlUCSIsLao (int code); +int xmlUCSIsLatin1Supplement (int code); +int xmlUCSIsLatinExtendedA (int code); +int xmlUCSIsLatinExtendedAdditional (int code); +int xmlUCSIsLatinExtendedB (int code); +int xmlUCSIsLetterlikeSymbols (int code); +int xmlUCSIsLimbu (int code); +int xmlUCSIsLinearBIdeograms (int code); +int xmlUCSIsLinearBSyllabary (int code); +int xmlUCSIsLowSurrogates (int code); +int xmlUCSIsMalayalam (int code); +int xmlUCSIsMathematicalAlphanumericSymbols (int code); +int xmlUCSIsMathematicalOperators (int code); +int xmlUCSIsMiscellaneousMathematicalSymbolsA (int code); +int xmlUCSIsMiscellaneousMathematicalSymbolsB (int code); +int xmlUCSIsMiscellaneousSymbols (int code); +int xmlUCSIsMiscellaneousSymbolsandArrows (int code); +int xmlUCSIsMiscellaneousTechnical (int code); +int xmlUCSIsMongolian (int code); +int xmlUCSIsMusicalSymbols (int code); +int xmlUCSIsMyanmar (int code); +int xmlUCSIsNumberForms (int code); +int xmlUCSIsOgham (int code); +int xmlUCSIsOldItalic (int code); +int xmlUCSIsOpticalCharacterRecognition (int code); +int xmlUCSIsOriya (int code); +int xmlUCSIsOsmanya (int code); +int xmlUCSIsPhoneticExtensions (int code); +int xmlUCSIsPrivateUse (int code); +int xmlUCSIsPrivateUseArea (int code); +int xmlUCSIsRunic (int code); +int xmlUCSIsShavian (int code); +int xmlUCSIsSinhala (int code); +int xmlUCSIsSmallFormVariants (int code); +int xmlUCSIsSpacingModifierLetters (int code); +int xmlUCSIsSpecials (int code); +int xmlUCSIsSuperscriptsandSubscripts (int code); +int xmlUCSIsSupplementalArrowsA (int code); +int xmlUCSIsSupplementalArrowsB (int code); +int xmlUCSIsSupplementalMathematicalOperators (int code); +int xmlUCSIsSupplementaryPrivateUseAreaA (int code); +int xmlUCSIsSupplementaryPrivateUseAreaB (int code); +int xmlUCSIsSyriac (int code); +int xmlUCSIsTagalog (int code); +int xmlUCSIsTagbanwa (int code); +int xmlUCSIsTags (int code); +int xmlUCSIsTaiLe (int code); +int xmlUCSIsTaiXuanJingSymbols (int code); +int xmlUCSIsTamil (int code); +int xmlUCSIsTelugu (int code); +int xmlUCSIsThaana (int code); +int xmlUCSIsThai (int code); +int xmlUCSIsTibetan (int code); +int xmlUCSIsUgaritic (int code); +int xmlUCSIsUnifiedCanadianAboriginalSyllabics (int code); +int xmlUCSIsVariationSelectors (int code); +int xmlUCSIsVariationSelectorsSupplement (int code); +int xmlUCSIsYiRadicals (int code); +int xmlUCSIsYiSyllables (int code); +int xmlUCSIsYijingHexagramSymbols (int code); +
+
+

Description

+
+

Details

+
+
+

+xmlUCSIsAegeanNumbers ()

+
int	xmlUCSIsAegeanNumbers		(int code)
+
+

Check whether the character is part of AegeanNumbers UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsAlphabeticPresentationForms ()

+
int	xmlUCSIsAlphabeticPresentationForms	(int code)
+
+

Check whether the character is part of AlphabeticPresentationForms UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsArabic ()

+
int	xmlUCSIsArabic			(int code)
+
+

Check whether the character is part of Arabic UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsArabicPresentationFormsA ()

+
int	xmlUCSIsArabicPresentationFormsA	(int code)
+
+

Check whether the character is part of ArabicPresentationForms-A UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsArabicPresentationFormsB ()

+
int	xmlUCSIsArabicPresentationFormsB	(int code)
+
+

Check whether the character is part of ArabicPresentationForms-B UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsArmenian ()

+
int	xmlUCSIsArmenian		(int code)
+
+

Check whether the character is part of Armenian UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsArrows ()

+
int	xmlUCSIsArrows			(int code)
+
+

Check whether the character is part of Arrows UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsBasicLatin ()

+
int	xmlUCSIsBasicLatin		(int code)
+
+

Check whether the character is part of BasicLatin UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsBengali ()

+
int	xmlUCSIsBengali			(int code)
+
+

Check whether the character is part of Bengali UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsBlock ()

+
int	xmlUCSIsBlock			(int code, 
const char * block)
+
+

Check whether the character is part of the UCS Block

+
++ + + + + + + + + + + + + + +
code:UCS code point
block:UCS block name
Returns:1 if true, 0 if false and -1 on unknown block
+
+
+
+

+xmlUCSIsBlockElements ()

+
int	xmlUCSIsBlockElements		(int code)
+
+

Check whether the character is part of BlockElements UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsBopomofo ()

+
int	xmlUCSIsBopomofo		(int code)
+
+

Check whether the character is part of Bopomofo UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsBopomofoExtended ()

+
int	xmlUCSIsBopomofoExtended	(int code)
+
+

Check whether the character is part of BopomofoExtended UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsBoxDrawing ()

+
int	xmlUCSIsBoxDrawing		(int code)
+
+

Check whether the character is part of BoxDrawing UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsBraillePatterns ()

+
int	xmlUCSIsBraillePatterns		(int code)
+
+

Check whether the character is part of BraillePatterns UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsBuhid ()

+
int	xmlUCSIsBuhid			(int code)
+
+

Check whether the character is part of Buhid UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsByzantineMusicalSymbols ()

+
int	xmlUCSIsByzantineMusicalSymbols	(int code)
+
+

Check whether the character is part of ByzantineMusicalSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKCompatibility ()

+
int	xmlUCSIsCJKCompatibility	(int code)
+
+

Check whether the character is part of CJKCompatibility UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKCompatibilityForms ()

+
int	xmlUCSIsCJKCompatibilityForms	(int code)
+
+

Check whether the character is part of CJKCompatibilityForms UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKCompatibilityIdeographs ()

+
int	xmlUCSIsCJKCompatibilityIdeographs	(int code)
+
+

Check whether the character is part of CJKCompatibilityIdeographs UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKCompatibilityIdeographsSupplement ()

+
int	xmlUCSIsCJKCompatibilityIdeographsSupplement	(int code)
+
+

Check whether the character is part of CJKCompatibilityIdeographsSupplement UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKRadicalsSupplement ()

+
int	xmlUCSIsCJKRadicalsSupplement	(int code)
+
+

Check whether the character is part of CJKRadicalsSupplement UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKSymbolsandPunctuation ()

+
int	xmlUCSIsCJKSymbolsandPunctuation	(int code)
+
+

Check whether the character is part of CJKSymbolsandPunctuation UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKUnifiedIdeographs ()

+
int	xmlUCSIsCJKUnifiedIdeographs	(int code)
+
+

Check whether the character is part of CJKUnifiedIdeographs UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKUnifiedIdeographsExtensionA ()

+
int	xmlUCSIsCJKUnifiedIdeographsExtensionA	(int code)
+
+

Check whether the character is part of CJKUnifiedIdeographsExtensionA UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCJKUnifiedIdeographsExtensionB ()

+
int	xmlUCSIsCJKUnifiedIdeographsExtensionB	(int code)
+
+

Check whether the character is part of CJKUnifiedIdeographsExtensionB UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCat ()

+
int	xmlUCSIsCat			(int code, 
const char * cat)
+
+

Check whether the character is part of the UCS Category

+
++ + + + + + + + + + + + + + +
code:UCS code point
cat:UCS Category name
Returns:1 if true, 0 if false and -1 on unknown category
+
+
+
+

+xmlUCSIsCatC ()

+
int	xmlUCSIsCatC			(int code)
+
+

Check whether the character is part of C UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatCc ()

+
int	xmlUCSIsCatCc			(int code)
+
+

Check whether the character is part of Cc UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatCf ()

+
int	xmlUCSIsCatCf			(int code)
+
+

Check whether the character is part of Cf UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatCo ()

+
int	xmlUCSIsCatCo			(int code)
+
+

Check whether the character is part of Co UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatCs ()

+
int	xmlUCSIsCatCs			(int code)
+
+

Check whether the character is part of Cs UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatL ()

+
int	xmlUCSIsCatL			(int code)
+
+

Check whether the character is part of L UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatLl ()

+
int	xmlUCSIsCatLl			(int code)
+
+

Check whether the character is part of Ll UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatLm ()

+
int	xmlUCSIsCatLm			(int code)
+
+

Check whether the character is part of Lm UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatLo ()

+
int	xmlUCSIsCatLo			(int code)
+
+

Check whether the character is part of Lo UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatLt ()

+
int	xmlUCSIsCatLt			(int code)
+
+

Check whether the character is part of Lt UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatLu ()

+
int	xmlUCSIsCatLu			(int code)
+
+

Check whether the character is part of Lu UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatM ()

+
int	xmlUCSIsCatM			(int code)
+
+

Check whether the character is part of M UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatMc ()

+
int	xmlUCSIsCatMc			(int code)
+
+

Check whether the character is part of Mc UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatMe ()

+
int	xmlUCSIsCatMe			(int code)
+
+

Check whether the character is part of Me UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatMn ()

+
int	xmlUCSIsCatMn			(int code)
+
+

Check whether the character is part of Mn UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatN ()

+
int	xmlUCSIsCatN			(int code)
+
+

Check whether the character is part of N UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatNd ()

+
int	xmlUCSIsCatNd			(int code)
+
+

Check whether the character is part of Nd UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatNl ()

+
int	xmlUCSIsCatNl			(int code)
+
+

Check whether the character is part of Nl UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatNo ()

+
int	xmlUCSIsCatNo			(int code)
+
+

Check whether the character is part of No UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatP ()

+
int	xmlUCSIsCatP			(int code)
+
+

Check whether the character is part of P UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatPc ()

+
int	xmlUCSIsCatPc			(int code)
+
+

Check whether the character is part of Pc UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatPd ()

+
int	xmlUCSIsCatPd			(int code)
+
+

Check whether the character is part of Pd UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatPe ()

+
int	xmlUCSIsCatPe			(int code)
+
+

Check whether the character is part of Pe UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatPf ()

+
int	xmlUCSIsCatPf			(int code)
+
+

Check whether the character is part of Pf UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatPi ()

+
int	xmlUCSIsCatPi			(int code)
+
+

Check whether the character is part of Pi UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatPo ()

+
int	xmlUCSIsCatPo			(int code)
+
+

Check whether the character is part of Po UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatPs ()

+
int	xmlUCSIsCatPs			(int code)
+
+

Check whether the character is part of Ps UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatS ()

+
int	xmlUCSIsCatS			(int code)
+
+

Check whether the character is part of S UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatSc ()

+
int	xmlUCSIsCatSc			(int code)
+
+

Check whether the character is part of Sc UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatSk ()

+
int	xmlUCSIsCatSk			(int code)
+
+

Check whether the character is part of Sk UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatSm ()

+
int	xmlUCSIsCatSm			(int code)
+
+

Check whether the character is part of Sm UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatSo ()

+
int	xmlUCSIsCatSo			(int code)
+
+

Check whether the character is part of So UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatZ ()

+
int	xmlUCSIsCatZ			(int code)
+
+

Check whether the character is part of Z UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatZl ()

+
int	xmlUCSIsCatZl			(int code)
+
+

Check whether the character is part of Zl UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatZp ()

+
int	xmlUCSIsCatZp			(int code)
+
+

Check whether the character is part of Zp UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCatZs ()

+
int	xmlUCSIsCatZs			(int code)
+
+

Check whether the character is part of Zs UCS Category

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCherokee ()

+
int	xmlUCSIsCherokee		(int code)
+
+

Check whether the character is part of Cherokee UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCombiningDiacriticalMarks ()

+
int	xmlUCSIsCombiningDiacriticalMarks	(int code)
+
+

Check whether the character is part of CombiningDiacriticalMarks UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCombiningDiacriticalMarksforSymbols ()

+
int	xmlUCSIsCombiningDiacriticalMarksforSymbols	(int code)
+
+

Check whether the character is part of CombiningDiacriticalMarksforSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCombiningHalfMarks ()

+
int	xmlUCSIsCombiningHalfMarks	(int code)
+
+

Check whether the character is part of CombiningHalfMarks UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCombiningMarksforSymbols ()

+
int	xmlUCSIsCombiningMarksforSymbols	(int code)
+
+

Check whether the character is part of CombiningMarksforSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsControlPictures ()

+
int	xmlUCSIsControlPictures		(int code)
+
+

Check whether the character is part of ControlPictures UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCurrencySymbols ()

+
int	xmlUCSIsCurrencySymbols		(int code)
+
+

Check whether the character is part of CurrencySymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCypriotSyllabary ()

+
int	xmlUCSIsCypriotSyllabary	(int code)
+
+

Check whether the character is part of CypriotSyllabary UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCyrillic ()

+
int	xmlUCSIsCyrillic		(int code)
+
+

Check whether the character is part of Cyrillic UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsCyrillicSupplement ()

+
int	xmlUCSIsCyrillicSupplement	(int code)
+
+

Check whether the character is part of CyrillicSupplement UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsDeseret ()

+
int	xmlUCSIsDeseret			(int code)
+
+

Check whether the character is part of Deseret UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsDevanagari ()

+
int	xmlUCSIsDevanagari		(int code)
+
+

Check whether the character is part of Devanagari UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsDingbats ()

+
int	xmlUCSIsDingbats		(int code)
+
+

Check whether the character is part of Dingbats UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsEnclosedAlphanumerics ()

+
int	xmlUCSIsEnclosedAlphanumerics	(int code)
+
+

Check whether the character is part of EnclosedAlphanumerics UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsEnclosedCJKLettersandMonths ()

+
int	xmlUCSIsEnclosedCJKLettersandMonths	(int code)
+
+

Check whether the character is part of EnclosedCJKLettersandMonths UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsEthiopic ()

+
int	xmlUCSIsEthiopic		(int code)
+
+

Check whether the character is part of Ethiopic UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGeneralPunctuation ()

+
int	xmlUCSIsGeneralPunctuation	(int code)
+
+

Check whether the character is part of GeneralPunctuation UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGeometricShapes ()

+
int	xmlUCSIsGeometricShapes		(int code)
+
+

Check whether the character is part of GeometricShapes UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGeorgian ()

+
int	xmlUCSIsGeorgian		(int code)
+
+

Check whether the character is part of Georgian UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGothic ()

+
int	xmlUCSIsGothic			(int code)
+
+

Check whether the character is part of Gothic UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGreek ()

+
int	xmlUCSIsGreek			(int code)
+
+

Check whether the character is part of Greek UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGreekExtended ()

+
int	xmlUCSIsGreekExtended		(int code)
+
+

Check whether the character is part of GreekExtended UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGreekandCoptic ()

+
int	xmlUCSIsGreekandCoptic		(int code)
+
+

Check whether the character is part of GreekandCoptic UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGujarati ()

+
int	xmlUCSIsGujarati		(int code)
+
+

Check whether the character is part of Gujarati UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsGurmukhi ()

+
int	xmlUCSIsGurmukhi		(int code)
+
+

Check whether the character is part of Gurmukhi UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHalfwidthandFullwidthForms ()

+
int	xmlUCSIsHalfwidthandFullwidthForms	(int code)
+
+

Check whether the character is part of HalfwidthandFullwidthForms UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHangulCompatibilityJamo ()

+
int	xmlUCSIsHangulCompatibilityJamo	(int code)
+
+

Check whether the character is part of HangulCompatibilityJamo UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHangulJamo ()

+
int	xmlUCSIsHangulJamo		(int code)
+
+

Check whether the character is part of HangulJamo UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHangulSyllables ()

+
int	xmlUCSIsHangulSyllables		(int code)
+
+

Check whether the character is part of HangulSyllables UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHanunoo ()

+
int	xmlUCSIsHanunoo			(int code)
+
+

Check whether the character is part of Hanunoo UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHebrew ()

+
int	xmlUCSIsHebrew			(int code)
+
+

Check whether the character is part of Hebrew UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHighPrivateUseSurrogates ()

+
int	xmlUCSIsHighPrivateUseSurrogates	(int code)
+
+

Check whether the character is part of HighPrivateUseSurrogates UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHighSurrogates ()

+
int	xmlUCSIsHighSurrogates		(int code)
+
+

Check whether the character is part of HighSurrogates UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsHiragana ()

+
int	xmlUCSIsHiragana		(int code)
+
+

Check whether the character is part of Hiragana UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsIPAExtensions ()

+
int	xmlUCSIsIPAExtensions		(int code)
+
+

Check whether the character is part of IPAExtensions UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsIdeographicDescriptionCharacters ()

+
int	xmlUCSIsIdeographicDescriptionCharacters	(int code)
+
+

Check whether the character is part of IdeographicDescriptionCharacters UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsKanbun ()

+
int	xmlUCSIsKanbun			(int code)
+
+

Check whether the character is part of Kanbun UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsKangxiRadicals ()

+
int	xmlUCSIsKangxiRadicals		(int code)
+
+

Check whether the character is part of KangxiRadicals UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsKannada ()

+
int	xmlUCSIsKannada			(int code)
+
+

Check whether the character is part of Kannada UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsKatakana ()

+
int	xmlUCSIsKatakana		(int code)
+
+

Check whether the character is part of Katakana UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsKatakanaPhoneticExtensions ()

+
int	xmlUCSIsKatakanaPhoneticExtensions	(int code)
+
+

Check whether the character is part of KatakanaPhoneticExtensions UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsKhmer ()

+
int	xmlUCSIsKhmer			(int code)
+
+

Check whether the character is part of Khmer UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsKhmerSymbols ()

+
int	xmlUCSIsKhmerSymbols		(int code)
+
+

Check whether the character is part of KhmerSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLao ()

+
int	xmlUCSIsLao			(int code)
+
+

Check whether the character is part of Lao UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLatin1Supplement ()

+
int	xmlUCSIsLatin1Supplement	(int code)
+
+

Check whether the character is part of Latin-1Supplement UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLatinExtendedA ()

+
int	xmlUCSIsLatinExtendedA		(int code)
+
+

Check whether the character is part of LatinExtended-A UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLatinExtendedAdditional ()

+
int	xmlUCSIsLatinExtendedAdditional	(int code)
+
+

Check whether the character is part of LatinExtendedAdditional UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLatinExtendedB ()

+
int	xmlUCSIsLatinExtendedB		(int code)
+
+

Check whether the character is part of LatinExtended-B UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLetterlikeSymbols ()

+
int	xmlUCSIsLetterlikeSymbols	(int code)
+
+

Check whether the character is part of LetterlikeSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLimbu ()

+
int	xmlUCSIsLimbu			(int code)
+
+

Check whether the character is part of Limbu UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLinearBIdeograms ()

+
int	xmlUCSIsLinearBIdeograms	(int code)
+
+

Check whether the character is part of LinearBIdeograms UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLinearBSyllabary ()

+
int	xmlUCSIsLinearBSyllabary	(int code)
+
+

Check whether the character is part of LinearBSyllabary UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsLowSurrogates ()

+
int	xmlUCSIsLowSurrogates		(int code)
+
+

Check whether the character is part of LowSurrogates UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMalayalam ()

+
int	xmlUCSIsMalayalam		(int code)
+
+

Check whether the character is part of Malayalam UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMathematicalAlphanumericSymbols ()

+
int	xmlUCSIsMathematicalAlphanumericSymbols	(int code)
+
+

Check whether the character is part of MathematicalAlphanumericSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMathematicalOperators ()

+
int	xmlUCSIsMathematicalOperators	(int code)
+
+

Check whether the character is part of MathematicalOperators UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMiscellaneousMathematicalSymbolsA ()

+
int	xmlUCSIsMiscellaneousMathematicalSymbolsA	(int code)
+
+

Check whether the character is part of MiscellaneousMathematicalSymbols-A UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMiscellaneousMathematicalSymbolsB ()

+
int	xmlUCSIsMiscellaneousMathematicalSymbolsB	(int code)
+
+

Check whether the character is part of MiscellaneousMathematicalSymbols-B UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMiscellaneousSymbols ()

+
int	xmlUCSIsMiscellaneousSymbols	(int code)
+
+

Check whether the character is part of MiscellaneousSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMiscellaneousSymbolsandArrows ()

+
int	xmlUCSIsMiscellaneousSymbolsandArrows	(int code)
+
+

Check whether the character is part of MiscellaneousSymbolsandArrows UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMiscellaneousTechnical ()

+
int	xmlUCSIsMiscellaneousTechnical	(int code)
+
+

Check whether the character is part of MiscellaneousTechnical UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMongolian ()

+
int	xmlUCSIsMongolian		(int code)
+
+

Check whether the character is part of Mongolian UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMusicalSymbols ()

+
int	xmlUCSIsMusicalSymbols		(int code)
+
+

Check whether the character is part of MusicalSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsMyanmar ()

+
int	xmlUCSIsMyanmar			(int code)
+
+

Check whether the character is part of Myanmar UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsNumberForms ()

+
int	xmlUCSIsNumberForms		(int code)
+
+

Check whether the character is part of NumberForms UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsOgham ()

+
int	xmlUCSIsOgham			(int code)
+
+

Check whether the character is part of Ogham UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsOldItalic ()

+
int	xmlUCSIsOldItalic		(int code)
+
+

Check whether the character is part of OldItalic UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsOpticalCharacterRecognition ()

+
int	xmlUCSIsOpticalCharacterRecognition	(int code)
+
+

Check whether the character is part of OpticalCharacterRecognition UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsOriya ()

+
int	xmlUCSIsOriya			(int code)
+
+

Check whether the character is part of Oriya UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsOsmanya ()

+
int	xmlUCSIsOsmanya			(int code)
+
+

Check whether the character is part of Osmanya UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsPhoneticExtensions ()

+
int	xmlUCSIsPhoneticExtensions	(int code)
+
+

Check whether the character is part of PhoneticExtensions UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsPrivateUse ()

+
int	xmlUCSIsPrivateUse		(int code)
+
+

Check whether the character is part of PrivateUse UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsPrivateUseArea ()

+
int	xmlUCSIsPrivateUseArea		(int code)
+
+

Check whether the character is part of PrivateUseArea UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsRunic ()

+
int	xmlUCSIsRunic			(int code)
+
+

Check whether the character is part of Runic UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsShavian ()

+
int	xmlUCSIsShavian			(int code)
+
+

Check whether the character is part of Shavian UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSinhala ()

+
int	xmlUCSIsSinhala			(int code)
+
+

Check whether the character is part of Sinhala UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSmallFormVariants ()

+
int	xmlUCSIsSmallFormVariants	(int code)
+
+

Check whether the character is part of SmallFormVariants UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSpacingModifierLetters ()

+
int	xmlUCSIsSpacingModifierLetters	(int code)
+
+

Check whether the character is part of SpacingModifierLetters UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSpecials ()

+
int	xmlUCSIsSpecials		(int code)
+
+

Check whether the character is part of Specials UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSuperscriptsandSubscripts ()

+
int	xmlUCSIsSuperscriptsandSubscripts	(int code)
+
+

Check whether the character is part of SuperscriptsandSubscripts UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSupplementalArrowsA ()

+
int	xmlUCSIsSupplementalArrowsA	(int code)
+
+

Check whether the character is part of SupplementalArrows-A UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSupplementalArrowsB ()

+
int	xmlUCSIsSupplementalArrowsB	(int code)
+
+

Check whether the character is part of SupplementalArrows-B UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSupplementalMathematicalOperators ()

+
int	xmlUCSIsSupplementalMathematicalOperators	(int code)
+
+

Check whether the character is part of SupplementalMathematicalOperators UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSupplementaryPrivateUseAreaA ()

+
int	xmlUCSIsSupplementaryPrivateUseAreaA	(int code)
+
+

Check whether the character is part of SupplementaryPrivateUseArea-A UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSupplementaryPrivateUseAreaB ()

+
int	xmlUCSIsSupplementaryPrivateUseAreaB	(int code)
+
+

Check whether the character is part of SupplementaryPrivateUseArea-B UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsSyriac ()

+
int	xmlUCSIsSyriac			(int code)
+
+

Check whether the character is part of Syriac UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsTagalog ()

+
int	xmlUCSIsTagalog			(int code)
+
+

Check whether the character is part of Tagalog UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsTagbanwa ()

+
int	xmlUCSIsTagbanwa		(int code)
+
+

Check whether the character is part of Tagbanwa UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsTags ()

+
int	xmlUCSIsTags			(int code)
+
+

Check whether the character is part of Tags UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsTaiLe ()

+
int	xmlUCSIsTaiLe			(int code)
+
+

Check whether the character is part of TaiLe UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsTaiXuanJingSymbols ()

+
int	xmlUCSIsTaiXuanJingSymbols	(int code)
+
+

Check whether the character is part of TaiXuanJingSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsTamil ()

+
int	xmlUCSIsTamil			(int code)
+
+

Check whether the character is part of Tamil UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsTelugu ()

+
int	xmlUCSIsTelugu			(int code)
+
+

Check whether the character is part of Telugu UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsThaana ()

+
int	xmlUCSIsThaana			(int code)
+
+

Check whether the character is part of Thaana UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsThai ()

+
int	xmlUCSIsThai			(int code)
+
+

Check whether the character is part of Thai UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsTibetan ()

+
int	xmlUCSIsTibetan			(int code)
+
+

Check whether the character is part of Tibetan UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsUgaritic ()

+
int	xmlUCSIsUgaritic		(int code)
+
+

Check whether the character is part of Ugaritic UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsUnifiedCanadianAboriginalSyllabics ()

+
int	xmlUCSIsUnifiedCanadianAboriginalSyllabics	(int code)
+
+

Check whether the character is part of UnifiedCanadianAboriginalSyllabics UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsVariationSelectors ()

+
int	xmlUCSIsVariationSelectors	(int code)
+
+

Check whether the character is part of VariationSelectors UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsVariationSelectorsSupplement ()

+
int	xmlUCSIsVariationSelectorsSupplement	(int code)
+
+

Check whether the character is part of VariationSelectorsSupplement UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsYiRadicals ()

+
int	xmlUCSIsYiRadicals		(int code)
+
+

Check whether the character is part of YiRadicals UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsYiSyllables ()

+
int	xmlUCSIsYiSyllables		(int code)
+
+

Check whether the character is part of YiSyllables UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+

+xmlUCSIsYijingHexagramSymbols ()

+
int	xmlUCSIsYijingHexagramSymbols	(int code)
+
+

Check whether the character is part of YijingHexagramSymbols UCS Block

+
++ + + + + + + + + + +
code:UCS code point
Returns:1 if true 0 otherwise
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlversion.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlversion.html new file mode 100644 index 0000000000000000000000000000000000000000..73a0208af741ded58a8948edf2a65f25f70539f5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlversion.html @@ -0,0 +1,376 @@ + + + +xmlversion: compile-time version information + + + + + + + + + + + + + + +

xmlversion

+

xmlversion - compile-time version information

+

compile-time version information for the XML library

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define LIBXML_AUTOMATA_ENABLED;
+#define LIBXML_C14N_ENABLED;
+#define LIBXML_CATALOG_ENABLED;
+#define LIBXML_DEBUG_ENABLED;
+#define LIBXML_DOTTED_VERSION;
+#define LIBXML_FTP_ENABLED;
+#define LIBXML_HTML_ENABLED;
+#define LIBXML_HTTP_ENABLED;
+#define LIBXML_ICONV_ENABLED;
+#define LIBXML_ICU_ENABLED;
+#define LIBXML_ISO8859X_ENABLED;
+#define LIBXML_LEGACY_ENABLED;
+#define LIBXML_LZMA_ENABLED;
+#define LIBXML_MODULES_ENABLED;
+#define LIBXML_MODULE_EXTENSION;
+#define LIBXML_OUTPUT_ENABLED;
+#define LIBXML_PATTERN_ENABLED;
+#define LIBXML_PUSH_ENABLED;
+#define LIBXML_READER_ENABLED;
+#define LIBXML_REGEXP_ENABLED;
+#define LIBXML_SAX1_ENABLED;
+#define LIBXML_SCHEMAS_ENABLED;
+#define LIBXML_SCHEMATRON_ENABLED;
+#define LIBXML_TEST_VERSION;
+#define LIBXML_THREAD_ALLOC_ENABLED;
+#define LIBXML_THREAD_ENABLED;
+#define LIBXML_TREE_ENABLED;
+#define LIBXML_UNICODE_ENABLED;
+#define LIBXML_VALID_ENABLED;
+#define LIBXML_VERSION;
+#define LIBXML_VERSION_EXTRA;
+#define LIBXML_VERSION_STRING;
+#define LIBXML_WRITER_ENABLED;
+#define LIBXML_XINCLUDE_ENABLED;
+#define LIBXML_XPATH_ENABLED;
+#define LIBXML_XPTR_ENABLED;
+#define LIBXML_XPTR_LOCS_ENABLED;
+#define LIBXML_ZLIB_ENABLED;
+
+
+

Description

+
+

Details

+
+
+

+Macro LIBXML_AUTOMATA_ENABLED

+
#define LIBXML_AUTOMATA_ENABLED;
+
+

Whether the automata interfaces are compiled in

+
+
+
+

+Macro LIBXML_C14N_ENABLED

+
#define LIBXML_C14N_ENABLED;
+
+

Whether the Canonicalization support is configured in

+
+
+
+

+Macro LIBXML_CATALOG_ENABLED

+
#define LIBXML_CATALOG_ENABLED;
+
+

Whether the Catalog support is configured in

+
+
+
+

+Macro LIBXML_DEBUG_ENABLED

+
#define LIBXML_DEBUG_ENABLED;
+
+

Whether Debugging module is configured in

+
+
+
+

+Macro LIBXML_DOTTED_VERSION

+
#define LIBXML_DOTTED_VERSION;
+
+

the version string like "1.2.3"

+
+
+
+

+Macro LIBXML_FTP_ENABLED

+
#define LIBXML_FTP_ENABLED;
+
+

Whether the FTP support is configured in

+
+
+
+

+Macro LIBXML_HTML_ENABLED

+
#define LIBXML_HTML_ENABLED;
+
+

Whether the HTML support is configured in

+
+
+
+

+Macro LIBXML_HTTP_ENABLED

+
#define LIBXML_HTTP_ENABLED;
+
+

Whether the HTTP support is configured in

+
+
+
+

+Macro LIBXML_ICONV_ENABLED

+
#define LIBXML_ICONV_ENABLED;
+
+

Whether iconv support is available

+
+
+
+

+Macro LIBXML_ICU_ENABLED

+
#define LIBXML_ICU_ENABLED;
+
+

Whether icu support is available

+
+
+
+

+Macro LIBXML_ISO8859X_ENABLED

+
#define LIBXML_ISO8859X_ENABLED;
+
+

Whether ISO-8859-* support is made available in case iconv is not

+
+
+
+

+Macro LIBXML_LEGACY_ENABLED

+
#define LIBXML_LEGACY_ENABLED;
+
+

Whether the deprecated APIs are compiled in for compatibility

+
+
+
+

+Macro LIBXML_LZMA_ENABLED

+
#define LIBXML_LZMA_ENABLED;
+
+

Whether the Lzma support is compiled in

+
+
+
+

+Macro LIBXML_MODULES_ENABLED

+
#define LIBXML_MODULES_ENABLED;
+
+

Whether the module interfaces are compiled in

+
+
+
+

+Macro LIBXML_MODULE_EXTENSION

+
#define LIBXML_MODULE_EXTENSION;
+
+

the string suffix used by dynamic modules (usually shared libraries)

+
+
+
+

+Macro LIBXML_OUTPUT_ENABLED

+
#define LIBXML_OUTPUT_ENABLED;
+
+

Whether the serialization/saving support is configured in

+
+
+
+

+Macro LIBXML_PATTERN_ENABLED

+
#define LIBXML_PATTERN_ENABLED;
+
+

Whether the xmlPattern node selection interface is configured in

+
+
+
+

+Macro LIBXML_PUSH_ENABLED

+
#define LIBXML_PUSH_ENABLED;
+
+

Whether the push parsing interfaces are configured in

+
+
+
+

+Macro LIBXML_READER_ENABLED

+
#define LIBXML_READER_ENABLED;
+
+

Whether the xmlReader parsing interface is configured in

+
+
+
+

+Macro LIBXML_REGEXP_ENABLED

+
#define LIBXML_REGEXP_ENABLED;
+
+

Whether the regular expressions interfaces are compiled in

+
+
+
+

+Macro LIBXML_SAX1_ENABLED

+
#define LIBXML_SAX1_ENABLED;
+
+

Whether the older SAX1 interface is configured in

+
+
+
+

+Macro LIBXML_SCHEMAS_ENABLED

+
#define LIBXML_SCHEMAS_ENABLED;
+
+

Whether the Schemas validation interfaces are compiled in

+
+
+
+

+Macro LIBXML_SCHEMATRON_ENABLED

+
#define LIBXML_SCHEMATRON_ENABLED;
+
+

Whether the Schematron validation interfaces are compiled in

+
+
+
+

+Macro LIBXML_TEST_VERSION

+
#define LIBXML_TEST_VERSION;
+
+

Macro to check that the libxml version in use is compatible with the version the software has been compiled against

+
+
+
+

+Macro LIBXML_THREAD_ALLOC_ENABLED

+
#define LIBXML_THREAD_ALLOC_ENABLED;
+
+

Whether the allocation hooks are per-thread

+
+
+
+

+Macro LIBXML_THREAD_ENABLED

+
#define LIBXML_THREAD_ENABLED;
+
+

Whether the thread support is configured in

+
+
+
+

+Macro LIBXML_TREE_ENABLED

+
#define LIBXML_TREE_ENABLED;
+
+

Whether the DOM like tree manipulation API support is configured in

+
+
+
+

+Macro LIBXML_UNICODE_ENABLED

+
#define LIBXML_UNICODE_ENABLED;
+
+

Whether the Unicode related interfaces are compiled in

+
+
+
+

+Macro LIBXML_VALID_ENABLED

+
#define LIBXML_VALID_ENABLED;
+
+

Whether the DTD validation support is configured in

+
+
+
+

+Macro LIBXML_VERSION

+
#define LIBXML_VERSION;
+
+

the version number: 1.2.3 value is 10203

+
+
+
+

+Macro LIBXML_VERSION_EXTRA

+
#define LIBXML_VERSION_EXTRA;
+
+

extra version information, used to show a git commit description

+
+
+
+

+Macro LIBXML_VERSION_STRING

+
#define LIBXML_VERSION_STRING;
+
+

the version number string, 1.2.3 value is "10203"

+
+
+
+

+Macro LIBXML_WRITER_ENABLED

+
#define LIBXML_WRITER_ENABLED;
+
+

Whether the xmlWriter saving interface is configured in

+
+
+
+

+Macro LIBXML_XINCLUDE_ENABLED

+
#define LIBXML_XINCLUDE_ENABLED;
+
+

Whether XInclude is configured in

+
+
+
+

+Macro LIBXML_XPATH_ENABLED

+
#define LIBXML_XPATH_ENABLED;
+
+

Whether XPath is configured in

+
+
+
+

+Macro LIBXML_XPTR_ENABLED

+
#define LIBXML_XPTR_ENABLED;
+
+

Whether XPointer is configured in

+
+
+
+

+Macro LIBXML_XPTR_LOCS_ENABLED

+
#define LIBXML_XPTR_LOCS_ENABLED;
+
+

Whether support for XPointer locations is configured in

+
+
+
+

+Macro LIBXML_ZLIB_ENABLED

+
#define LIBXML_ZLIB_ENABLED;
+
+

Whether the Zlib support is compiled in

+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlwriter.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlwriter.html new file mode 100644 index 0000000000000000000000000000000000000000..833c99a7c2038fc0e1e4fa322934c3775659a2de --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xmlwriter.html @@ -0,0 +1,2599 @@ + + + +xmlwriter: text writing API for XML + + + + + + + + + + + + + + +

xmlwriter

+

xmlwriter - text writing API for XML

+

text writing API for XML

+

Author(s): Alfred Mickautsch <alfred@mickautsch.de>

+
+

Synopsis

+
#define xmlTextWriterWriteDocType;
+#define xmlTextWriterWriteProcessingInstruction;
+typedef struct _xmlTextWriter xmlTextWriter;
+typedef xmlTextWriter * xmlTextWriterPtr;
+void	xmlFreeTextWriter		(xmlTextWriterPtr writer);
+xmlTextWriterPtr	xmlNewTextWriter	(xmlOutputBufferPtr out);
+xmlTextWriterPtr	xmlNewTextWriterDoc	(xmlDocPtr * doc, 
int compression); +xmlTextWriterPtr xmlNewTextWriterFilename (const char * uri,
int compression); +xmlTextWriterPtr xmlNewTextWriterMemory (xmlBufferPtr buf,
int compression); +xmlTextWriterPtr xmlNewTextWriterPushParser (xmlParserCtxtPtr ctxt,
int compression); +xmlTextWriterPtr xmlNewTextWriterTree (xmlDocPtr doc,
xmlNodePtr node,
int compression); +int xmlTextWriterClose (xmlTextWriterPtr writer); +int xmlTextWriterEndAttribute (xmlTextWriterPtr writer); +int xmlTextWriterEndCDATA (xmlTextWriterPtr writer); +int xmlTextWriterEndComment (xmlTextWriterPtr writer); +int xmlTextWriterEndDTD (xmlTextWriterPtr writer); +int xmlTextWriterEndDTDAttlist (xmlTextWriterPtr writer); +int xmlTextWriterEndDTDElement (xmlTextWriterPtr writer); +int xmlTextWriterEndDTDEntity (xmlTextWriterPtr writer); +int xmlTextWriterEndDocument (xmlTextWriterPtr writer); +int xmlTextWriterEndElement (xmlTextWriterPtr writer); +int xmlTextWriterEndPI (xmlTextWriterPtr writer); +int xmlTextWriterFlush (xmlTextWriterPtr writer); +int xmlTextWriterFullEndElement (xmlTextWriterPtr writer); +int xmlTextWriterSetIndent (xmlTextWriterPtr writer,
int indent); +int xmlTextWriterSetIndentString (xmlTextWriterPtr writer,
const xmlChar * str); +int xmlTextWriterSetQuoteChar (xmlTextWriterPtr writer,
xmlChar quotechar); +int xmlTextWriterStartAttribute (xmlTextWriterPtr writer,
const xmlChar * name); +int xmlTextWriterStartAttributeNS (xmlTextWriterPtr writer,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI); +int xmlTextWriterStartCDATA (xmlTextWriterPtr writer); +int xmlTextWriterStartComment (xmlTextWriterPtr writer); +int xmlTextWriterStartDTD (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid); +int xmlTextWriterStartDTDAttlist (xmlTextWriterPtr writer,
const xmlChar * name); +int xmlTextWriterStartDTDElement (xmlTextWriterPtr writer,
const xmlChar * name); +int xmlTextWriterStartDTDEntity (xmlTextWriterPtr writer,
int pe,
const xmlChar * name); +int xmlTextWriterStartDocument (xmlTextWriterPtr writer,
const char * version,
const char * encoding,
const char * standalone); +int xmlTextWriterStartElement (xmlTextWriterPtr writer,
const xmlChar * name); +int xmlTextWriterStartElementNS (xmlTextWriterPtr writer,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI); +int xmlTextWriterStartPI (xmlTextWriterPtr writer,
const xmlChar * target); +int xmlTextWriterWriteAttribute (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * content); +int xmlTextWriterWriteAttributeNS (xmlTextWriterPtr writer,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content); +int xmlTextWriterWriteBase64 (xmlTextWriterPtr writer,
const char * data,
int start,
int len); +int xmlTextWriterWriteBinHex (xmlTextWriterPtr writer,
const char * data,
int start,
int len); +int xmlTextWriterWriteCDATA (xmlTextWriterPtr writer,
const xmlChar * content); +int xmlTextWriterWriteComment (xmlTextWriterPtr writer,
const xmlChar * content); +int xmlTextWriterWriteDTD (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * subset); +int xmlTextWriterWriteDTDAttlist (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * content); +int xmlTextWriterWriteDTDElement (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * content); +int xmlTextWriterWriteDTDEntity (xmlTextWriterPtr writer,
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid,
const xmlChar * content); +int xmlTextWriterWriteDTDExternalEntity (xmlTextWriterPtr writer,
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid); +int xmlTextWriterWriteDTDExternalEntityContents (xmlTextWriterPtr writer,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid); +int xmlTextWriterWriteDTDInternalEntity (xmlTextWriterPtr writer,
int pe,
const xmlChar * name,
const xmlChar * content); +int xmlTextWriterWriteDTDNotation (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid); +int xmlTextWriterWriteElement (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * content); +int xmlTextWriterWriteElementNS (xmlTextWriterPtr writer,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content); +int xmlTextWriterWriteFormatAttribute (xmlTextWriterPtr writer,
const xmlChar * name,
const char * format,
... ...); +int xmlTextWriterWriteFormatAttributeNS (xmlTextWriterPtr writer,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...); +int xmlTextWriterWriteFormatCDATA (xmlTextWriterPtr writer,
const char * format,
... ...); +int xmlTextWriterWriteFormatComment (xmlTextWriterPtr writer,
const char * format,
... ...); +int xmlTextWriterWriteFormatDTD (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
... ...); +int xmlTextWriterWriteFormatDTDAttlist (xmlTextWriterPtr writer,
const xmlChar * name,
const char * format,
... ...); +int xmlTextWriterWriteFormatDTDElement (xmlTextWriterPtr writer,
const xmlChar * name,
const char * format,
... ...); +int xmlTextWriterWriteFormatDTDInternalEntity (xmlTextWriterPtr writer,
int pe,
const xmlChar * name,
const char * format,
... ...); +int xmlTextWriterWriteFormatElement (xmlTextWriterPtr writer,
const xmlChar * name,
const char * format,
... ...); +int xmlTextWriterWriteFormatElementNS (xmlTextWriterPtr writer,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...); +int xmlTextWriterWriteFormatPI (xmlTextWriterPtr writer,
const xmlChar * target,
const char * format,
... ...); +int xmlTextWriterWriteFormatRaw (xmlTextWriterPtr writer,
const char * format,
... ...); +int xmlTextWriterWriteFormatString (xmlTextWriterPtr writer,
const char * format,
... ...); +int xmlTextWriterWritePI (xmlTextWriterPtr writer,
const xmlChar * target,
const xmlChar * content); +int xmlTextWriterWriteRaw (xmlTextWriterPtr writer,
const xmlChar * content); +int xmlTextWriterWriteRawLen (xmlTextWriterPtr writer,
const xmlChar * content,
int len); +int xmlTextWriterWriteString (xmlTextWriterPtr writer,
const xmlChar * content); +int xmlTextWriterWriteVFormatAttribute (xmlTextWriterPtr writer,
const xmlChar * name,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatAttributeNS (xmlTextWriterPtr writer,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatCDATA (xmlTextWriterPtr writer,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatComment (xmlTextWriterPtr writer,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatDTD (xmlTextWriterPtr writer,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatDTDAttlist (xmlTextWriterPtr writer,
const xmlChar * name,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatDTDElement (xmlTextWriterPtr writer,
const xmlChar * name,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatDTDInternalEntity (xmlTextWriterPtr writer,
int pe,
const xmlChar * name,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatElement (xmlTextWriterPtr writer,
const xmlChar * name,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatElementNS (xmlTextWriterPtr writer,
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatPI (xmlTextWriterPtr writer,
const xmlChar * target,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatRaw (xmlTextWriterPtr writer,
const char * format,
va_list argptr); +int xmlTextWriterWriteVFormatString (xmlTextWriterPtr writer,
const char * format,
va_list argptr); +
+
+

Description

+
+

Details

+
+
+

+Macro xmlTextWriterWriteDocType

+
#define xmlTextWriterWriteDocType;
+
+

this macro maps to xmlTextWriterWriteDTD

+
+
+
+

+Macro xmlTextWriterWriteProcessingInstruction

+
#define xmlTextWriterWriteProcessingInstruction;
+
+

This macro maps to xmlTextWriterWritePI

+
+
+
+

+Structure xmlTextWriter

+
struct _xmlTextWriter {
+The content of this structure is not made public by the API.
+} xmlTextWriter;
+
+

+
+
+
+

+Typedef xmlTextWriterPtr

+
xmlTextWriter * xmlTextWriterPtr;
+
+

+
+
+
+

+xmlFreeTextWriter ()

+
void	xmlFreeTextWriter		(xmlTextWriterPtr writer)
+
+

Deallocate all the resources associated to the writer

+
++ + + + +
writer:the xmlTextWriterPtr +
+
+
+
+

+xmlNewTextWriter ()

+
xmlTextWriterPtr	xmlNewTextWriter	(xmlOutputBufferPtr out)
+
+

Create a new xmlNewTextWriter structure using an xmlOutputBufferPtr NOTE: the @out parameter will be deallocated when the writer is closed (if the call succeed.)

+
++ + + + + + + + + + +
out:an xmlOutputBufferPtr +
Returns:the new xmlTextWriterPtr or NULL in case of error
+
+
+
+

+xmlNewTextWriterDoc ()

+
xmlTextWriterPtr	xmlNewTextWriterDoc	(xmlDocPtr * doc, 
int compression)
+
+

Create a new xmlNewTextWriter structure with @*doc as output

+
++ + + + + + + + + + + + + + +
doc:address of a xmlDocPtr to hold the new XML document tree
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error
+
+
+
+

+xmlNewTextWriterFilename ()

+
xmlTextWriterPtr	xmlNewTextWriterFilename	(const char * uri, 
int compression)
+
+

Create a new xmlNewTextWriter structure with @uri as output

+
++ + + + + + + + + + + + + + +
uri:the URI of the resource for the output
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error
+
+
+
+

+xmlNewTextWriterMemory ()

+
xmlTextWriterPtr	xmlNewTextWriterMemory	(xmlBufferPtr buf, 
int compression)
+
+

Create a new xmlNewTextWriter structure with @buf as output TODO: handle compression

+
++ + + + + + + + + + + + + + +
buf:xmlBufferPtr
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error
+
+
+
+

+xmlNewTextWriterPushParser ()

+
xmlTextWriterPtr	xmlNewTextWriterPushParser	(xmlParserCtxtPtr ctxt, 
int compression)
+
+

Create a new xmlNewTextWriter structure with @ctxt as output NOTE: the @ctxt context will be freed with the resulting writer (if the call succeeds). TODO: handle compression

+
++ + + + + + + + + + + + + + +
ctxt: +xmlParserCtxtPtr to hold the new XML document tree
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error
+
+
+
+

+xmlNewTextWriterTree ()

+
xmlTextWriterPtr	xmlNewTextWriterTree	(xmlDocPtr doc, 
xmlNodePtr node,
int compression)
+
+

Create a new xmlNewTextWriter structure with @doc as output starting at @node

+
++ + + + + + + + + + + + + + + + + + +
doc:xmlDocPtr
node: +xmlNodePtr or NULL for doc->children
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error
+
+
+
+

+xmlTextWriterClose ()

+
int	xmlTextWriterClose		(xmlTextWriterPtr writer)
+
+

Flushes and closes the output buffer. Available since 2.13.0.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:an xmlParserErrors code.
+
+
+
+

+xmlTextWriterEndAttribute ()

+
int	xmlTextWriterEndAttribute	(xmlTextWriterPtr writer)
+
+

End the current xml element.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterEndCDATA ()

+
int	xmlTextWriterEndCDATA		(xmlTextWriterPtr writer)
+
+

End an xml CDATA section.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterEndComment ()

+
int	xmlTextWriterEndComment		(xmlTextWriterPtr writer)
+
+

End the current xml comment.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterEndDTD ()

+
int	xmlTextWriterEndDTD		(xmlTextWriterPtr writer)
+
+

End an xml DTD.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterEndDTDAttlist ()

+
int	xmlTextWriterEndDTDAttlist	(xmlTextWriterPtr writer)
+
+

End an xml DTD attribute list.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterEndDTDElement ()

+
int	xmlTextWriterEndDTDElement	(xmlTextWriterPtr writer)
+
+

End an xml DTD element.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterEndDTDEntity ()

+
int	xmlTextWriterEndDTDEntity	(xmlTextWriterPtr writer)
+
+

End an xml DTD entity.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterEndDocument ()

+
int	xmlTextWriterEndDocument	(xmlTextWriterPtr writer)
+
+

End an xml document. All open elements are closed, and the content is flushed to the output.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written or -1 in case of error
+
+
+
+

+xmlTextWriterEndElement ()

+
int	xmlTextWriterEndElement		(xmlTextWriterPtr writer)
+
+

End the current xml element.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterEndPI ()

+
int	xmlTextWriterEndPI		(xmlTextWriterPtr writer)
+
+

End the current xml PI.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterFlush ()

+
int	xmlTextWriterFlush		(xmlTextWriterPtr writer)
+
+

Flush the output buffer.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterFullEndElement ()

+
int	xmlTextWriterFullEndElement	(xmlTextWriterPtr writer)
+
+

End the current xml element. Writes an end tag even if the element is empty

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterSetIndent ()

+
int	xmlTextWriterSetIndent		(xmlTextWriterPtr writer, 
int indent)
+
+

Set indentation output. indent = 0 do not indentation. indent > 0 do indentation.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
indent:do indentation?
Returns:-1 on error or 0 otherwise.
+
+
+
+

+xmlTextWriterSetIndentString ()

+
int	xmlTextWriterSetIndentString	(xmlTextWriterPtr writer, 
const xmlChar * str)
+
+

Set string indentation.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
str:the xmlChar string
Returns:-1 on error or 0 otherwise.
+
+
+
+

+xmlTextWriterSetQuoteChar ()

+
int	xmlTextWriterSetQuoteChar	(xmlTextWriterPtr writer, 
xmlChar quotechar)
+
+

Set the character used for quoting attributes.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
quotechar:the quote character
Returns:-1 on error or 0 otherwise.
+
+
+
+

+xmlTextWriterStartAttribute ()

+
int	xmlTextWriterStartAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
+

Start an xml attribute.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:element name
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartAttributeNS ()

+
int	xmlTextWriterStartAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
+
+

Start an xml attribute with namespace support.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
prefix:namespace prefix or NULL
name:element local name
namespaceURI:namespace URI or NULL
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartCDATA ()

+
int	xmlTextWriterStartCDATA		(xmlTextWriterPtr writer)
+
+

Start an xml CDATA section.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartComment ()

+
int	xmlTextWriterStartComment	(xmlTextWriterPtr writer)
+
+

Start an xml comment.

+
++ + + + + + + + + + +
writer:the xmlTextWriterPtr +
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartDTD ()

+
int	xmlTextWriterStartDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)
+
+

Start an xml DTD.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartDTDAttlist ()

+
int	xmlTextWriterStartDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
+

Start an xml DTD ATTLIST.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD ATTLIST
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartDTDElement ()

+
int	xmlTextWriterStartDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
+

Start an xml DTD element.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD element
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartDTDEntity ()

+
int	xmlTextWriterStartDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name)
+
+

Start an xml DTD ATTLIST.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD ATTLIST
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartDocument ()

+
int	xmlTextWriterStartDocument	(xmlTextWriterPtr writer, 
const char * version,
const char * encoding,
const char * standalone)
+
+

Start a new xml document

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
version:the xml version ("1.0") or NULL for default ("1.0")
encoding:the encoding or NULL for default
standalone:"yes" or "no" or NULL for default
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartElement ()

+
int	xmlTextWriterStartElement	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
+

Start an xml element.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:element name
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartElementNS ()

+
int	xmlTextWriterStartElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
+
+

Start an xml element with namespace support.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
prefix:namespace prefix or NULL
name:element local name
namespaceURI:namespace URI or NULL
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterStartPI ()

+
int	xmlTextWriterStartPI		(xmlTextWriterPtr writer, 
const xmlChar * target)
+
+

Start an xml PI.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
target:PI target
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteAttribute ()

+
int	xmlTextWriterWriteAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
+

Write an xml attribute.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name: +attribute name
content: +attribute content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteAttributeNS ()

+
int	xmlTextWriterWriteAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)
+
+

Write an xml attribute.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
prefix:namespace prefix
name: +attribute local name
namespaceURI:namespace URI
content: +attribute content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteBase64 ()

+
int	xmlTextWriterWriteBase64	(xmlTextWriterPtr writer, 
const char * data,
int start,
int len)
+
+

Write an base64 encoded xml text.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
data:binary data
start:the position within the data of the first byte to encode
len:the number of bytes to encode
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteBinHex ()

+
int	xmlTextWriterWriteBinHex	(xmlTextWriterPtr writer, 
const char * data,
int start,
int len)
+
+

Write a BinHex encoded xml text.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
data:binary data
start:the position within the data of the first byte to encode
len:the number of bytes to encode
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteCDATA ()

+
int	xmlTextWriterWriteCDATA		(xmlTextWriterPtr writer, 
const xmlChar * content)
+
+

Write an xml CDATA.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
content:CDATA content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteComment ()

+
int	xmlTextWriterWriteComment	(xmlTextWriterPtr writer, 
const xmlChar * content)
+
+

Write an xml comment.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
content: +comment string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteDTD ()

+
int	xmlTextWriterWriteDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * subset)
+
+

Write a DTD.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
subset:string content of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteDTDAttlist ()

+
int	xmlTextWriterWriteDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
+

Write a DTD ATTLIST.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD ATTLIST
content:content of the ATTLIST
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteDTDElement ()

+
int	xmlTextWriterWriteDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
+

Write a DTD element.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD element
content:content of the element
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteDTDEntity ()

+
int	xmlTextWriterWriteDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid,
const xmlChar * content)
+
+

Write a DTD entity.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
ndataid:the xml notation name.
content:content of the entity
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteDTDExternalEntity ()

+
int	xmlTextWriterWriteDTDExternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid)
+
+

Write a DTD external entity. The entity must have been started with xmlTextWriterStartDTDEntity

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
ndataid:the xml notation name.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteDTDExternalEntityContents ()

+
int	xmlTextWriterWriteDTDExternalEntityContents	(xmlTextWriterPtr writer, 
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid)
+
+

Write the contents of a DTD external entity.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
ndataid:the xml notation name.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteDTDInternalEntity ()

+
int	xmlTextWriterWriteDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * content)
+
+

Write a DTD internal entity.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
content:content of the entity
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteDTDNotation ()

+
int	xmlTextWriterWriteDTDNotation	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)
+
+

Write a DTD entity.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the xml notation
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteElement ()

+
int	xmlTextWriterWriteElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
+

Write an xml element.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:element name
content:element content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteElementNS ()

+
int	xmlTextWriterWriteElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)
+
+

Write an xml element with namespace support.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
content:element content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatAttribute ()

+
int	xmlTextWriterWriteFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
+

Write a formatted xml attribute.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name: +attribute name
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatAttributeNS ()

+
int	xmlTextWriterWriteFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)
+
+

Write a formatted xml attribute.with namespace support

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
prefix:namespace prefix
name: +attribute local name
namespaceURI:namespace URI
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatCDATA ()

+
int	xmlTextWriterWriteFormatCDATA	(xmlTextWriterPtr writer, 
const char * format,
... ...)
+
+

Write a formatted xml CDATA.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatComment ()

+
int	xmlTextWriterWriteFormatComment	(xmlTextWriterPtr writer, 
const char * format,
... ...)
+
+

Write an xml comment.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatDTD ()

+
int	xmlTextWriterWriteFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
... ...)
+
+

Write a DTD with a formatted markup declarations part.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatDTDAttlist ()

+
int	xmlTextWriterWriteFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
+

Write a formatted DTD ATTLIST.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD ATTLIST
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatDTDElement ()

+
int	xmlTextWriterWriteFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
+

Write a formatted DTD element.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD element
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatDTDInternalEntity ()

+
int	xmlTextWriterWriteFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
... ...)
+
+

Write a formatted DTD internal entity.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatElement ()

+
int	xmlTextWriterWriteFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
+

Write a formatted xml element.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:element name
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatElementNS ()

+
int	xmlTextWriterWriteFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)
+
+

Write a formatted xml element with namespace support.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatPI ()

+
int	xmlTextWriterWriteFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
... ...)
+
+

Write a formatted PI.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
target:PI target
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatRaw ()

+
int	xmlTextWriterWriteFormatRaw	(xmlTextWriterPtr writer, 
const char * format,
... ...)
+
+

Write a formatted raw xml text.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteFormatString ()

+
int	xmlTextWriterWriteFormatString	(xmlTextWriterPtr writer, 
const char * format,
... ...)
+
+

Write a formatted xml text.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWritePI ()

+
int	xmlTextWriterWritePI		(xmlTextWriterPtr writer, 
const xmlChar * target,
const xmlChar * content)
+
+

Write an xml PI.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
target:PI target
content:PI content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteRaw ()

+
int	xmlTextWriterWriteRaw		(xmlTextWriterPtr writer, 
const xmlChar * content)
+
+

Write a raw xml text.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
content:text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteRawLen ()

+
int	xmlTextWriterWriteRawLen	(xmlTextWriterPtr writer, 
const xmlChar * content,
int len)
+
+

Write an xml text. TODO: what about entities and special chars??

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
content:text string
len:length of the text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteString ()

+
int	xmlTextWriterWriteString	(xmlTextWriterPtr writer, 
const xmlChar * content)
+
+

Write an xml text.

+
++ + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
content:text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatAttribute ()

+
int	xmlTextWriterWriteVFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
+

Write a formatted xml attribute.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name: +attribute name
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatAttributeNS ()

+
int	xmlTextWriterWriteVFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)
+
+

Write a formatted xml attribute.with namespace support

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
prefix:namespace prefix
name: +attribute local name
namespaceURI:namespace URI
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatCDATA ()

+
int	xmlTextWriterWriteVFormatCDATA	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)
+
+

Write a formatted xml CDATA.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatComment ()

+
int	xmlTextWriterWriteVFormatComment	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)
+
+

Write an xml comment.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatDTD ()

+
int	xmlTextWriterWriteVFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
va_list argptr)
+
+

Write a DTD with a formatted markup declarations part.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatDTDAttlist ()

+
int	xmlTextWriterWriteVFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
+

Write a formatted DTD ATTLIST.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD ATTLIST
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatDTDElement ()

+
int	xmlTextWriterWriteVFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
+

Write a formatted DTD element.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:the name of the DTD element
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatDTDInternalEntity ()

+
int	xmlTextWriterWriteVFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
va_list argptr)
+
+

Write a formatted DTD internal entity.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatElement ()

+
int	xmlTextWriterWriteVFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
+

Write a formatted xml element.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
name:element name
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatElementNS ()

+
int	xmlTextWriterWriteVFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)
+
+

Write a formatted xml element with namespace support.

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatPI ()

+
int	xmlTextWriterWriteVFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
va_list argptr)
+
+

Write a formatted xml PI.

+
++ + + + + + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
target:PI target
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatRaw ()

+
int	xmlTextWriterWriteVFormatRaw	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)
+
+

Write a formatted raw xml text.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+

+xmlTextWriterWriteVFormatString ()

+
int	xmlTextWriterWriteVFormatString	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)
+
+

Write a formatted xml text.

+
++ + + + + + + + + + + + + + + + + + +
writer:the xmlTextWriterPtr +
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpath.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpath.html new file mode 100644 index 0000000000000000000000000000000000000000..fcc4273457046f9e0b27133678343407317dcbda --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpath.html @@ -0,0 +1,1504 @@ + + + +xpath: XML Path Language implementation + + + + + + + + + + + + + + +

xpath

+

xpath - XML Path Language implementation

+

API for the XML Path Language implementation XML Path Language implementation XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define XML_XPATH_CHECKNS;
+#define XML_XPATH_NOVAR;
+#define xmlXPathNodeSetGetLength(ns);
+#define xmlXPathNodeSetIsEmpty(ns);
+#define xmlXPathNodeSetItem(ns, index);
+typedef struct _xmlNodeSet xmlNodeSet;
+typedef xmlNodeSet * xmlNodeSetPtr;
+typedef struct _xmlXPathAxis xmlXPathAxis;
+typedef xmlXPathAxis * xmlXPathAxisPtr;
+typedef struct _xmlXPathCompExpr xmlXPathCompExpr;
+typedef xmlXPathCompExpr * xmlXPathCompExprPtr;
+typedef struct _xmlXPathContext xmlXPathContext;
+typedef xmlXPathContext * xmlXPathContextPtr;
+typedef enum xmlXPathError;
+typedef xmlXPathFunct * xmlXPathFuncPtr;
+typedef struct _xmlXPathFunct xmlXPathFunct;
+typedef struct _xmlXPathObject xmlXPathObject;
+typedef xmlXPathObject * xmlXPathObjectPtr;
+typedef enum xmlXPathObjectType;
+typedef struct _xmlXPathParserContext xmlXPathParserContext;
+typedef xmlXPathParserContext * xmlXPathParserContextPtr;
+typedef struct _xmlXPathType xmlXPathType;
+typedef xmlXPathType * xmlXPathTypePtr;
+typedef struct _xmlXPathVariable xmlXPathVariable;
+typedef xmlXPathVariable * xmlXPathVariablePtr;
+typedef xmlXPathObjectPtr xmlXPathAxisFunc	(xmlXPathParserContextPtr ctxt, 
xmlXPathObjectPtr cur); +double xmlXPathCastBooleanToNumber (int val); +xmlChar * xmlXPathCastBooleanToString (int val); +int xmlXPathCastNodeSetToBoolean (xmlNodeSetPtr ns); +double xmlXPathCastNodeSetToNumber (xmlNodeSetPtr ns); +xmlChar * xmlXPathCastNodeSetToString (xmlNodeSetPtr ns); +double xmlXPathCastNodeToNumber (xmlNodePtr node); +xmlChar * xmlXPathCastNodeToString (xmlNodePtr node); +int xmlXPathCastNumberToBoolean (double val); +xmlChar * xmlXPathCastNumberToString (double val); +int xmlXPathCastStringToBoolean (const xmlChar * val); +double xmlXPathCastStringToNumber (const xmlChar * val); +int xmlXPathCastToBoolean (xmlXPathObjectPtr val); +double xmlXPathCastToNumber (xmlXPathObjectPtr val); +xmlChar * xmlXPathCastToString (xmlXPathObjectPtr val); +int xmlXPathCmpNodes (xmlNodePtr node1,
xmlNodePtr node2); +xmlXPathCompExprPtr xmlXPathCompile (const xmlChar * str); +xmlXPathObjectPtr xmlXPathCompiledEval (xmlXPathCompExprPtr comp,
xmlXPathContextPtr ctx); +int xmlXPathCompiledEvalToBoolean (xmlXPathCompExprPtr comp,
xmlXPathContextPtr ctxt); +int xmlXPathContextSetCache (xmlXPathContextPtr ctxt,
int active,
int value,
int options); +xmlXPathObjectPtr xmlXPathConvertBoolean (xmlXPathObjectPtr val); +typedef int xmlXPathConvertFunc (xmlXPathObjectPtr obj,
int type); +xmlXPathObjectPtr xmlXPathConvertNumber (xmlXPathObjectPtr val); +xmlXPathObjectPtr xmlXPathConvertString (xmlXPathObjectPtr val); +xmlXPathCompExprPtr xmlXPathCtxtCompile (xmlXPathContextPtr ctxt,
const xmlChar * str); +xmlXPathObjectPtr xmlXPathEval (const xmlChar * str,
xmlXPathContextPtr ctx); +xmlXPathObjectPtr xmlXPathEvalExpression (const xmlChar * str,
xmlXPathContextPtr ctxt); +typedef void xmlXPathEvalFunc (xmlXPathParserContextPtr ctxt,
int nargs); +int xmlXPathEvalPredicate (xmlXPathContextPtr ctxt,
xmlXPathObjectPtr res); +void xmlXPathFreeCompExpr (xmlXPathCompExprPtr comp); +void xmlXPathFreeContext (xmlXPathContextPtr ctxt); +void xmlXPathFreeNodeSet (xmlNodeSetPtr obj); +void xmlXPathFreeNodeSetList (xmlXPathObjectPtr obj); +void xmlXPathFreeObject (xmlXPathObjectPtr obj); +typedef xmlXPathFunction xmlXPathFuncLookupFunc (void * ctxt,
const xmlChar * name,
const xmlChar * ns_uri); +typedef void xmlXPathFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathInit (void); +int xmlXPathIsInf (double val); +int xmlXPathIsNaN (double val); +xmlXPathContextPtr xmlXPathNewContext (xmlDocPtr doc); +xmlXPathObjectPtr xmlXPathNodeEval (xmlNodePtr node,
const xmlChar * str,
xmlXPathContextPtr ctx); +xmlNodeSetPtr xmlXPathNodeSetCreate (xmlNodePtr val); +xmlXPathObjectPtr xmlXPathObjectCopy (xmlXPathObjectPtr val); +long xmlXPathOrderDocElems (xmlDocPtr doc); +int xmlXPathSetContextNode (xmlNodePtr node,
xmlXPathContextPtr ctx); +void xmlXPathSetErrorHandler (xmlXPathContextPtr ctxt,
xmlStructuredErrorFunc handler,
void * data); +typedef xmlXPathObjectPtr xmlXPathVariableLookupFunc (void * ctxt,
const xmlChar * name,
const xmlChar * ns_uri); +
+
+

Description

+
+

Details

+
+
+

+Macro XML_XPATH_CHECKNS

+
#define XML_XPATH_CHECKNS;
+
+

check namespaces at compilation

+
+
+
+

+Macro XML_XPATH_NOVAR

+
#define XML_XPATH_NOVAR;
+
+

forbid variables in expression

+
+
+
+

+Macro xmlXPathNodeSetGetLength

+
#define xmlXPathNodeSetGetLength(ns);
+
+

Implement a functionality similar to the DOM NodeList.length. Returns the number of nodes in the node-set.

+
++ + + + +
ns:a node-set
+
+
+
+

+Macro xmlXPathNodeSetIsEmpty

+
#define xmlXPathNodeSetIsEmpty(ns);
+
+

Checks whether @ns is empty or not. Returns %TRUE if @ns is an empty node-set.

+
++ + + + +
ns:a node-set
+
+
+
+

+Macro xmlXPathNodeSetItem

+
#define xmlXPathNodeSetItem(ns, index);
+
+

Implements a functionality similar to the DOM NodeList.item(). Returns the xmlNodePtr at the given @index in @ns or NULL if @index is out of range (0 to length-1)

+
++ + + + + + + + + + +
ns:a node-set
index:index of a node in the set
+
+
+
+

+Structure xmlNodeSet

+
struct _xmlNodeSet {
+    int	nodeNr	: number of nodes in the set
+    int	nodeMax	: size of the array as allocated
+    xmlNodePtr *	nodeTab	: array of nodes in no particular order @@ with_ns to check whether nam
+} xmlNodeSet;
+
+

+
+
+
+

+Typedef xmlNodeSetPtr

+
xmlNodeSet * xmlNodeSetPtr;
+
+

+
+
+
+

+Structure xmlXPathAxis

+
struct _xmlXPathAxis {
+    const xmlChar *	name	: the axis name
+    xmlXPathAxisFunc	func	: the search function
+} xmlXPathAxis;
+
+

+
+
+
+

+Typedef xmlXPathAxisPtr

+
xmlXPathAxis * xmlXPathAxisPtr;
+
+

+
+
+
+

+Structure xmlXPathCompExpr

+
struct _xmlXPathCompExpr {
+The content of this structure is not made public by the API.
+} xmlXPathCompExpr;
+
+

+
+
+
+

+Typedef xmlXPathCompExprPtr

+
xmlXPathCompExpr * xmlXPathCompExprPtr;
+
+

+
+
+
+

+Structure xmlXPathContext

+
struct _xmlXPathContext {
+    xmlDocPtr	doc	: The current document
+    xmlNodePtr	node	: The current node
+    int	nb_variables_unused	: unused (hash table)
+    int	max_variables_unused	: unused (hash table)
+    xmlHashTablePtr	varHash	: Hash table of defined variables
+    int	nb_types	: number of defined types
+    int	max_types	: max number of types
+    xmlXPathTypePtr	types	: Array of defined types
+    int	nb_funcs_unused	: unused (hash table)
+    int	max_funcs_unused	: unused (hash table)
+    xmlHashTablePtr	funcHash	: Hash table of defined funcs
+    int	nb_axis	: number of defined axis
+    int	max_axis	: max number of axis
+    xmlXPathAxisPtr	axis	: Array of defined axis the namespace nodes of the context node
+    xmlNsPtr *	namespaces	: Array of namespaces
+    int	nsNr	: number of namespace in scope
+    void *	user	: function to free extra variables
+    int	contextSize	: the context size
+    int	proximityPosition	: the proximity position extra stuff for XPointer
+    int	xptr	: is this an XPointer context?
+    xmlNodePtr	here	: for here()
+    xmlNodePtr	origin	: for origin() the set of namespace declarations in scope for the expre
+    xmlHashTablePtr	nsHash	: The namespaces hash table
+    xmlXPathVariableLookupFunc	varLookupFunc	: variable lookup func
+    void *	varLookupData	: variable lookup data Possibility to link in an extra item
+    void *	extra	: needed for XSLT The function name and URI when calling a function
+    const xmlChar *	function
+    const xmlChar *	functionURI	: function lookup function and data
+    xmlXPathFuncLookupFunc	funcLookupFunc	: function lookup func
+    void *	funcLookupData	: function lookup data temporary namespace lists kept for walking the n
+    xmlNsPtr *	tmpNsList	: Array of namespaces
+    int	tmpNsNr	: number of namespaces in scope error reporting mechanism
+    void *	userData	: user specific data block
+    xmlStructuredErrorFunc	error	: the callback in case of errors
+    xmlError	lastError	: the last error
+    xmlNodePtr	debugNode	: the source node XSLT dictionary
+    xmlDictPtr	dict	: dictionary if any
+    int	flags	: flags to control compilation Cache for reusal of XPath objects
+    void *	cache	: Resource limits
+    unsigned long	opLimit
+    unsigned long	opCount
+    int	depth
+} xmlXPathContext;
+
+

+
+
+
+

+Typedef xmlXPathContextPtr

+
xmlXPathContext * xmlXPathContextPtr;
+
+

+
+
+ +
+
+

+Typedef xmlXPathFuncPtr

+
xmlXPathFunct * xmlXPathFuncPtr;
+
+

+
+
+
+

+Structure xmlXPathFunct

+
struct _xmlXPathFunct {
+    const xmlChar *	name	: the function name
+    xmlXPathEvalFunc	func	: the evaluation function
+} xmlXPathFunct;
+
+

+
+
+
+

+Structure xmlXPathObject

+
struct _xmlXPathObject {
+    xmlXPathObjectType	type
+    xmlNodeSetPtr	nodesetval
+    int	boolval
+    double	floatval
+    xmlChar *	stringval
+    void *	user
+    int	index
+    void *	user2
+    int	index2
+} xmlXPathObject;
+
+

+
+
+
+

+Typedef xmlXPathObjectPtr

+
xmlXPathObject * xmlXPathObjectPtr;
+
+

+
+
+
+

+Enum xmlXPathObjectType

+
enum xmlXPathObjectType {
+    XPATH_UNDEFINED = 0
+    XPATH_NODESET = 1
+    XPATH_BOOLEAN = 2
+    XPATH_NUMBER = 3
+    XPATH_STRING = 4
+    XPATH_POINT = 5
+    XPATH_RANGE = 6
+    XPATH_LOCATIONSET = 7
+    XPATH_USERS = 8
+    XPATH_XSLT_TREE = 9 /*  An XSLT value tree, non modifiable */
+};
+
+

+
+
+
+

+Structure xmlXPathParserContext

+
struct _xmlXPathParserContext {
+    const xmlChar *	cur	: the current char being parsed
+    const xmlChar *	base	: the full expression
+    int	error	: error code
+    xmlXPathContextPtr	context	: the evaluation context
+    xmlXPathObjectPtr	value	: the current value
+    int	valueNr	: number of values stacked
+    int	valueMax	: max number of values stacked
+    xmlXPathObjectPtr *	valueTab	: stack of values
+    xmlXPathCompExprPtr	comp	: the precompiled expression
+    int	xptr	: it this an XPointer expression
+    xmlNodePtr	ancestor	: used for walking preceding axis
+    int	valueFrame	: always zero for compatibility
+} xmlXPathParserContext;
+
+

+
+
+
+

+Typedef xmlXPathParserContextPtr

+
xmlXPathParserContext * xmlXPathParserContextPtr;
+
+

+
+
+
+

+Structure xmlXPathType

+
struct _xmlXPathType {
+    const xmlChar *	name	: the type name
+    xmlXPathConvertFunc	func	: the conversion function
+} xmlXPathType;
+
+

+
+
+
+

+Typedef xmlXPathTypePtr

+
xmlXPathType * xmlXPathTypePtr;
+
+

+
+
+
+

+Structure xmlXPathVariable

+
struct _xmlXPathVariable {
+    const xmlChar *	name	: the variable name
+    xmlXPathObjectPtr	value	: the value
+} xmlXPathVariable;
+
+

+
+
+
+

+Typedef xmlXPathVariablePtr

+
xmlXPathVariable * xmlXPathVariablePtr;
+
+

+
+
+
+

+Function type xmlXPathAxisFunc

+
xmlXPathObjectPtr	xmlXPathAxisFunc	(xmlXPathParserContextPtr ctxt, 
xmlXPathObjectPtr cur)
+
+

An axis traversal function. To traverse an axis, the engine calls the first time with cur == NULL and repeat until the function returns NULL indicating the end of the axis traversal.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath interpreter context
cur:the previous node being explored on that axis
Returns:the next node in that axis or NULL if at the end of the axis.
+
+
+
+

+Function type xmlXPathConvertFunc

+
int	xmlXPathConvertFunc		(xmlXPathObjectPtr obj, 
int type)
+
+

A conversion function is associated to a type and used to cast the new type to primitive values.

+
++ + + + + + + + + + + + + + +
obj:an XPath object
type:the number of the target type
Returns:-1 in case of error, 0 otherwise
+
+
+
+

+Function type xmlXPathEvalFunc

+
void	xmlXPathEvalFunc		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

An XPath evaluation function, the parameters are on the XPath context stack.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
nargs:the number of arguments passed to the function
+
+
+
+

+Function type xmlXPathFuncLookupFunc

+
xmlXPathFunction	xmlXPathFuncLookupFunc	(void * ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
+
+

Prototype for callbacks used to plug function lookup in the XPath engine.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:an XPath context
name:name of the function
ns_uri:the namespace name hosting this function
Returns:the XPath function or NULL if not found.
+
+
+
+

+Function type xmlXPathFunction

+
void	xmlXPathFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

An XPath function. The arguments (if any) are popped out from the context stack and the result is pushed on the stack.

+
++ + + + + + + + + + +
ctxt:the XPath interprestation context
nargs:the number of arguments
+
+
+
+

+Function type xmlXPathVariableLookupFunc

+
xmlXPathObjectPtr	xmlXPathVariableLookupFunc	(void * ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
+
+

Prototype for callbacks used to plug variable lookup in the XPath engine.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:an XPath context
name:name of the variable
ns_uri:the namespace name hosting this variable
Returns:the XPath object value or NULL if not found.
+
+
+
+

+Variable xmlXPathNAN

+
double xmlXPathNAN;
+
+

+
+
+
+

+Variable xmlXPathNINF

+
double xmlXPathNINF;
+
+

+
+
+
+

+Variable xmlXPathPINF

+
double xmlXPathPINF;
+
+

+
+
+
+

+xmlXPathCastBooleanToNumber ()

+
double	xmlXPathCastBooleanToNumber	(int val)
+
+

Converts a boolean to its number value

+
++ + + + + + + + + + +
val:a boolean
Returns:the number value
+
+
+
+

+xmlXPathCastBooleanToString ()

+
xmlChar *	xmlXPathCastBooleanToString	(int val)
+
+

Converts a boolean to its string value.

+
++ + + + + + + + + + +
val:a boolean
Returns:a newly allocated string.
+
+
+
+

+xmlXPathCastNodeSetToBoolean ()

+
int	xmlXPathCastNodeSetToBoolean	(xmlNodeSetPtr ns)
+
+

Converts a node-set to its boolean value

+
++ + + + + + + + + + +
ns:a node-set
Returns:the boolean value
+
+
+
+

+xmlXPathCastNodeSetToNumber ()

+
double	xmlXPathCastNodeSetToNumber	(xmlNodeSetPtr ns)
+
+

Converts a node-set to its number value

+
++ + + + + + + + + + +
ns:a node-set
Returns:the number value
+
+
+
+

+xmlXPathCastNodeSetToString ()

+
xmlChar *	xmlXPathCastNodeSetToString	(xmlNodeSetPtr ns)
+
+

Converts a node-set to its string value.

+
++ + + + + + + + + + +
ns:a node-set
Returns:a newly allocated string.
+
+
+
+

+xmlXPathCastNodeToNumber ()

+
double	xmlXPathCastNodeToNumber	(xmlNodePtr node)
+
+

Converts a node to its number value

+
++ + + + + + + + + + +
node:a node
Returns:the number value
+
+
+
+

+xmlXPathCastNodeToString ()

+
xmlChar *	xmlXPathCastNodeToString	(xmlNodePtr node)
+
+

Converts a node to its string value.

+
++ + + + + + + + + + +
node:a node
Returns:a newly allocated string.
+
+
+
+

+xmlXPathCastNumberToBoolean ()

+
int	xmlXPathCastNumberToBoolean	(double val)
+
+

Converts a number to its boolean value

+
++ + + + + + + + + + +
val:a number
Returns:the boolean value
+
+
+
+

+xmlXPathCastNumberToString ()

+
xmlChar *	xmlXPathCastNumberToString	(double val)
+
+

Converts a number to its string value.

+
++ + + + + + + + + + +
val:a number
Returns:a newly allocated string.
+
+
+
+

+xmlXPathCastStringToBoolean ()

+
int	xmlXPathCastStringToBoolean	(const xmlChar * val)
+
+

Converts a string to its boolean value

+
++ + + + + + + + + + +
val:a string
Returns:the boolean value
+
+
+
+

+xmlXPathCastStringToNumber ()

+
double	xmlXPathCastStringToNumber	(const xmlChar * val)
+
+

Converts a string to its number value

+
++ + + + + + + + + + +
val:a string
Returns:the number value
+
+
+
+

+xmlXPathCastToBoolean ()

+
int	xmlXPathCastToBoolean		(xmlXPathObjectPtr val)
+
+

Converts an XPath object to its boolean value

+
++ + + + + + + + + + +
val:an XPath object
Returns:the boolean value
+
+
+
+

+xmlXPathCastToNumber ()

+
double	xmlXPathCastToNumber		(xmlXPathObjectPtr val)
+
+

Converts an XPath object to its number value

+
++ + + + + + + + + + +
val:an XPath object
Returns:the number value
+
+
+
+

+xmlXPathCastToString ()

+
xmlChar *	xmlXPathCastToString	(xmlXPathObjectPtr val)
+
+

Converts an existing object to its string() equivalent

+
++ + + + + + + + + + +
val:an XPath object
Returns:the allocated string value of the object, NULL in case of error. It's up to the caller to free the string memory with xmlFree().
+
+
+
+

+xmlXPathCmpNodes ()

+
int	xmlXPathCmpNodes		(xmlNodePtr node1, 
xmlNodePtr node2)
+
+

Compare two nodes w.r.t document order

+
++ + + + + + + + + + + + + + +
node1:the first node
node2:the second node
Returns:-2 in case of error 1 if first point < second point, 0 if it's the same node, -1 otherwise
+
+
+
+

+xmlXPathCompile ()

+
xmlXPathCompExprPtr	xmlXPathCompile	(const xmlChar * str)
+
+

Compile an XPath expression

+
++ + + + + + + + + + +
str:the XPath expression
Returns:the xmlXPathCompExprPtr resulting from the compilation or NULL. the caller has to free the object.
+
+
+
+

+xmlXPathCompiledEval ()

+
xmlXPathObjectPtr	xmlXPathCompiledEval	(xmlXPathCompExprPtr comp, 
xmlXPathContextPtr ctx)
+
+

Evaluate the Precompiled XPath expression in the given context.

+
++ + + + + + + + + + + + + + +
comp:the compiled XPath expression
ctx:the XPath context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.
+
+
+
+

+xmlXPathCompiledEvalToBoolean ()

+
int	xmlXPathCompiledEvalToBoolean	(xmlXPathCompExprPtr comp, 
xmlXPathContextPtr ctxt)
+
+

Applies the XPath boolean() function on the result of the given compiled expression.

+
++ + + + + + + + + + + + + + +
comp:the compiled XPath expression
ctxt:the XPath context
Returns:1 if the expression evaluated to true, 0 if to false and -1 in API and internal errors.
+
+
+
+

+xmlXPathContextSetCache ()

+
int	xmlXPathContextSetCache		(xmlXPathContextPtr ctxt, 
int active,
int value,
int options)
+
+

Creates/frees an object cache on the XPath context. If activates XPath objects (xmlXPathObject) will be cached internally to be reused. @options: 0: This will set the XPath object caching: @value: This will set the maximum number of XPath objects to be cached per slot There are two slots for node-set and misc objects. Use <0 for the default number (100). Other values for @options have currently no effect.

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the XPath context
active:enables/disables (creates/frees) the cache
value:a value with semantics dependent on @options
options:options (currently only the value 0 is used)
Returns:0 if the setting succeeded, and -1 on API or internal errors.
+
+
+
+

+xmlXPathConvertBoolean ()

+
xmlXPathObjectPtr	xmlXPathConvertBoolean	(xmlXPathObjectPtr val)
+
+

Converts an existing object to its boolean() equivalent

+
++ + + + + + + + + + +
val:an XPath object
Returns:the new object, the old one is freed (or the operation is done directly on @val)
+
+
+
+

+xmlXPathConvertNumber ()

+
xmlXPathObjectPtr	xmlXPathConvertNumber	(xmlXPathObjectPtr val)
+
+

Converts an existing object to its number() equivalent

+
++ + + + + + + + + + +
val:an XPath object
Returns:the new object, the old one is freed (or the operation is done directly on @val)
+
+
+
+

+xmlXPathConvertString ()

+
xmlXPathObjectPtr	xmlXPathConvertString	(xmlXPathObjectPtr val)
+
+

Converts an existing object to its string() equivalent

+
++ + + + + + + + + + +
val:an XPath object
Returns:the new object, the old one is freed (or the operation is done directly on @val)
+
+
+
+

+xmlXPathCtxtCompile ()

+
xmlXPathCompExprPtr	xmlXPathCtxtCompile	(xmlXPathContextPtr ctxt, 
const xmlChar * str)
+
+

Compile an XPath expression

+
++ + + + + + + + + + + + + + +
ctxt:an XPath context
str:the XPath expression
Returns:the xmlXPathCompExprPtr resulting from the compilation or NULL. the caller has to free the object.
+
+
+
+

+xmlXPathEval ()

+
xmlXPathObjectPtr	xmlXPathEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
+
+

Evaluate the XPath Location Path in the given context.

+
++ + + + + + + + + + + + + + +
str:the XPath expression
ctx:the XPath context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.
+
+
+
+

+xmlXPathEvalExpression ()

+
xmlXPathObjectPtr	xmlXPathEvalExpression	(const xmlChar * str, 
xmlXPathContextPtr ctxt)
+
+

Alias for xmlXPathEval().

+
++ + + + + + + + + + + + + + +
str:the XPath expression
ctxt:the XPath context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.
+
+
+
+

+xmlXPathEvalPredicate ()

+
int	xmlXPathEvalPredicate		(xmlXPathContextPtr ctxt, 
xmlXPathObjectPtr res)
+
+

Evaluate a predicate result for the current node. A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the position of the context node in the context node list (as returned by the position function) and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath context
res:the Predicate Expression evaluation result
Returns:1 if predicate is true, 0 otherwise
+
+
+
+

+xmlXPathFreeCompExpr ()

+
void	xmlXPathFreeCompExpr		(xmlXPathCompExprPtr comp)
+
+

Free up the memory allocated by @comp

+
++ + + + +
comp:an XPATH comp
+
+
+
+

+xmlXPathFreeContext ()

+
void	xmlXPathFreeContext		(xmlXPathContextPtr ctxt)
+
+

Free up an xmlXPathContext

+
++ + + + +
ctxt:the context to free
+
+
+
+

+xmlXPathFreeNodeSet ()

+
void	xmlXPathFreeNodeSet		(xmlNodeSetPtr obj)
+
+

Free the NodeSet compound (not the actual nodes !).

+
++ + + + +
obj:the xmlNodeSetPtr to free
+
+
+
+

+xmlXPathFreeNodeSetList ()

+
void	xmlXPathFreeNodeSetList		(xmlXPathObjectPtr obj)
+
+

Free up the xmlXPathObjectPtr @obj but don't deallocate the objects in the list contrary to xmlXPathFreeObject().

+
++ + + + +
obj:an existing NodeSetList object
+
+
+
+

+xmlXPathFreeObject ()

+
void	xmlXPathFreeObject		(xmlXPathObjectPtr obj)
+
+

Free up an xmlXPathObjectPtr object.

+
++ + + + +
obj:the object to free
+
+
+
+

+xmlXPathInit ()

+
void	xmlXPathInit			(void)
+
+

DEPRECATED: Alias for xmlInitParser.

+
+
+
+

+xmlXPathIsInf ()

+
int	xmlXPathIsInf			(double val)
+
+

Checks whether a double is an infinity.

+
++ + + + + + + + + + +
val:a double value
Returns:1 if the value is +Infinite, -1 if -Infinite, 0 otherwise
+
+
+
+

+xmlXPathIsNaN ()

+
int	xmlXPathIsNaN			(double val)
+
+

Checks whether a double is a NaN.

+
++ + + + + + + + + + +
val:a double value
Returns:1 if the value is a NaN, 0 otherwise
+
+
+
+

+xmlXPathNewContext ()

+
xmlXPathContextPtr	xmlXPathNewContext	(xmlDocPtr doc)
+
+

Create a new xmlXPathContext

+
++ + + + + + + + + + +
doc:the XML document
Returns:the xmlXPathContext just allocated. The caller will need to free it.
+
+
+
+

+xmlXPathNodeEval ()

+
xmlXPathObjectPtr	xmlXPathNodeEval	(xmlNodePtr node, 
const xmlChar * str,
xmlXPathContextPtr ctx)
+
+

Evaluate the XPath Location Path in the given context. The node 'node' is set as the context node. The context node is not restored.

+
++ + + + + + + + + + + + + + + + + + +
node:the node to to use as the context node
str:the XPath expression
ctx:the XPath context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.
+
+
+
+

+xmlXPathNodeSetCreate ()

+
xmlNodeSetPtr	xmlXPathNodeSetCreate	(xmlNodePtr val)
+
+

Create a new xmlNodeSetPtr of type double and of value @val

+
++ + + + + + + + + + +
val:an initial xmlNodePtr, or NULL
Returns:the newly created object.
+
+
+
+

+xmlXPathObjectCopy ()

+
xmlXPathObjectPtr	xmlXPathObjectCopy	(xmlXPathObjectPtr val)
+
+

allocate a new copy of a given object

+
++ + + + + + + + + + +
val:the original object
Returns:the newly created object.
+
+
+
+

+xmlXPathOrderDocElems ()

+
long	xmlXPathOrderDocElems		(xmlDocPtr doc)
+
+

Call this routine to speed up XPath computation on static documents. This stamps all the element nodes with the document order Like for line information, the order is kept in the element->content field, the value stored is actually - the node number (starting at -1) to be able to differentiate from line numbers.

+
++ + + + + + + + + + +
doc:an input document
Returns:the number of elements found in the document or -1 in case of error.
+
+
+
+

+xmlXPathSetContextNode ()

+
int	xmlXPathSetContextNode		(xmlNodePtr node, 
xmlXPathContextPtr ctx)
+
+

Sets 'node' as the context node. The node must be in the same document as that associated with the context.

+
++ + + + + + + + + + + + + + +
node:the node to to use as the context node
ctx:the XPath context
Returns:-1 in case of error or 0 if successful
+
+
+
+

+xmlXPathSetErrorHandler ()

+
void	xmlXPathSetErrorHandler		(xmlXPathContextPtr ctxt, 
xmlStructuredErrorFunc handler,
void * data)
+
+

Register a callback function that will be called on errors and warnings. If handler is NULL, the error handler will be deactivated. Available since 2.13.0.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath context
handler:error handler
data:user data which will be passed to the handler
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpathInternals.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpathInternals.html new file mode 100644 index 0000000000000000000000000000000000000000..079f9b5cccdb47565c1a38420606f1ac90303401 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpathInternals.html @@ -0,0 +1,3226 @@ + + + +xpathInternals: internal interfaces for XML Path Language implementation + + + + + + + + + + + + + + +

xpathInternals

+

xpathInternals - internal interfaces for XML Path Language implementation

+

internal interfaces for XML Path Language implementation used to build new modules on top of XPath like XPointer and XSLT

+

Author(s): Daniel Veillard

+
+

Synopsis

+
#define CAST_TO_BOOLEAN;
+#define CAST_TO_NUMBER;
+#define CAST_TO_STRING;
+#define CHECK_ARITY(x);
+#define CHECK_ERROR;
+#define CHECK_ERROR0;
+#define CHECK_TYPE(typeval);
+#define CHECK_TYPE0(typeval);
+#define XP_ERROR(X);
+#define XP_ERROR0(X);
+#define xmlXPathCheckError(ctxt);
+#define xmlXPathEmptyNodeSet(ns);
+#define xmlXPathGetContextNode(ctxt);
+#define xmlXPathGetDocument(ctxt);
+#define xmlXPathGetError(ctxt);
+#define xmlXPathReturnBoolean(ctxt, val);
+#define xmlXPathReturnEmptyNodeSet(ctxt);
+#define xmlXPathReturnEmptyString(ctxt);
+#define xmlXPathReturnExternal(ctxt, val);
+#define xmlXPathReturnFalse(ctxt);
+#define xmlXPathReturnNodeSet(ctxt, ns);
+#define xmlXPathReturnNumber(ctxt, val);
+#define xmlXPathReturnString(ctxt, str);
+#define xmlXPathReturnTrue(ctxt);
+#define xmlXPathSetArityError(ctxt);
+#define xmlXPathSetError(ctxt, err);
+#define xmlXPathSetTypeError(ctxt);
+#define xmlXPathStackIsExternal(ctxt);
+#define xmlXPathStackIsNodeSet(ctxt);
+xmlXPathObjectPtr	valuePop	(xmlXPathParserContextPtr ctxt);
+int	valuePush			(xmlXPathParserContextPtr ctxt, 
xmlXPathObjectPtr value); +void xmlXPathAddValues (xmlXPathParserContextPtr ctxt); +void xmlXPathBooleanFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathCeilingFunction (xmlXPathParserContextPtr ctxt,
int nargs); +int xmlXPathCompareValues (xmlXPathParserContextPtr ctxt,
int inf,
int strict); +void xmlXPathConcatFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathContainsFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathCountFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathDebugDumpCompExpr (FILE * output,
xmlXPathCompExprPtr comp,
int depth); +void xmlXPathDebugDumpObject (FILE * output,
xmlXPathObjectPtr cur,
int depth); +xmlNodeSetPtr xmlXPathDifference (xmlNodeSetPtr nodes1,
xmlNodeSetPtr nodes2); +xmlNodeSetPtr xmlXPathDistinct (xmlNodeSetPtr nodes); +xmlNodeSetPtr xmlXPathDistinctSorted (xmlNodeSetPtr nodes); +void xmlXPathDivValues (xmlXPathParserContextPtr ctxt); +int xmlXPathEqualValues (xmlXPathParserContextPtr ctxt); +void xmlXPathErr (xmlXPathParserContextPtr ctxt,
int code); +void xmlXPathEvalExpr (xmlXPathParserContextPtr ctxt); +int xmlXPathEvaluatePredicateResult (xmlXPathParserContextPtr ctxt,
xmlXPathObjectPtr res); +void xmlXPathFalseFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathFloorFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathFreeParserContext (xmlXPathParserContextPtr ctxt); +xmlXPathFunction xmlXPathFunctionLookup (xmlXPathContextPtr ctxt,
const xmlChar * name); +xmlXPathFunction xmlXPathFunctionLookupNS (xmlXPathContextPtr ctxt,
const xmlChar * name,
const xmlChar * ns_uri); +int xmlXPathHasSameNodes (xmlNodeSetPtr nodes1,
xmlNodeSetPtr nodes2); +void xmlXPathIdFunction (xmlXPathParserContextPtr ctxt,
int nargs); +xmlNodeSetPtr xmlXPathIntersection (xmlNodeSetPtr nodes1,
xmlNodeSetPtr nodes2); +int xmlXPathIsNodeType (const xmlChar * name); +void xmlXPathLangFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathLastFunction (xmlXPathParserContextPtr ctxt,
int nargs); +xmlNodeSetPtr xmlXPathLeading (xmlNodeSetPtr nodes1,
xmlNodeSetPtr nodes2); +xmlNodeSetPtr xmlXPathLeadingSorted (xmlNodeSetPtr nodes1,
xmlNodeSetPtr nodes2); +void xmlXPathLocalNameFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathModValues (xmlXPathParserContextPtr ctxt); +void xmlXPathMultValues (xmlXPathParserContextPtr ctxt); +void xmlXPathNamespaceURIFunction (xmlXPathParserContextPtr ctxt,
int nargs); +xmlXPathObjectPtr xmlXPathNewBoolean (int val); +xmlXPathObjectPtr xmlXPathNewCString (const char * val); +xmlXPathObjectPtr xmlXPathNewFloat (double val); +xmlXPathObjectPtr xmlXPathNewNodeSet (xmlNodePtr val); +xmlXPathObjectPtr xmlXPathNewNodeSetList (xmlNodeSetPtr val); +xmlXPathParserContextPtr xmlXPathNewParserContext (const xmlChar * str,
xmlXPathContextPtr ctxt); +xmlXPathObjectPtr xmlXPathNewString (const xmlChar * val); +xmlXPathObjectPtr xmlXPathNewValueTree (xmlNodePtr val); +xmlNodePtr xmlXPathNextAncestor (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextAncestorOrSelf (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextAttribute (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextChild (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextDescendant (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextDescendantOrSelf (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextFollowing (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextFollowingSibling (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextNamespace (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextParent (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextPreceding (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextPrecedingSibling (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodePtr xmlXPathNextSelf (xmlXPathParserContextPtr ctxt,
xmlNodePtr cur); +xmlNodeSetPtr xmlXPathNodeLeading (xmlNodeSetPtr nodes,
xmlNodePtr node); +xmlNodeSetPtr xmlXPathNodeLeadingSorted (xmlNodeSetPtr nodes,
xmlNodePtr node); +int xmlXPathNodeSetAdd (xmlNodeSetPtr cur,
xmlNodePtr val); +int xmlXPathNodeSetAddNs (xmlNodeSetPtr cur,
xmlNodePtr node,
xmlNsPtr ns); +int xmlXPathNodeSetAddUnique (xmlNodeSetPtr cur,
xmlNodePtr val); +int xmlXPathNodeSetContains (xmlNodeSetPtr cur,
xmlNodePtr val); +void xmlXPathNodeSetDel (xmlNodeSetPtr cur,
xmlNodePtr val); +void xmlXPathNodeSetFreeNs (xmlNsPtr ns); +xmlNodeSetPtr xmlXPathNodeSetMerge (xmlNodeSetPtr val1,
xmlNodeSetPtr val2); +void xmlXPathNodeSetRemove (xmlNodeSetPtr cur,
int val); +void xmlXPathNodeSetSort (xmlNodeSetPtr set); +xmlNodeSetPtr xmlXPathNodeTrailing (xmlNodeSetPtr nodes,
xmlNodePtr node); +xmlNodeSetPtr xmlXPathNodeTrailingSorted (xmlNodeSetPtr nodes,
xmlNodePtr node); +void xmlXPathNormalizeFunction (xmlXPathParserContextPtr ctxt,
int nargs); +int xmlXPathNotEqualValues (xmlXPathParserContextPtr ctxt); +void xmlXPathNotFunction (xmlXPathParserContextPtr ctxt,
int nargs); +const xmlChar * xmlXPathNsLookup (xmlXPathContextPtr ctxt,
const xmlChar * prefix); +void xmlXPathNumberFunction (xmlXPathParserContextPtr ctxt,
int nargs); +xmlChar * xmlXPathParseNCName (xmlXPathParserContextPtr ctxt); +xmlChar * xmlXPathParseName (xmlXPathParserContextPtr ctxt); +int xmlXPathPopBoolean (xmlXPathParserContextPtr ctxt); +void * xmlXPathPopExternal (xmlXPathParserContextPtr ctxt); +xmlNodeSetPtr xmlXPathPopNodeSet (xmlXPathParserContextPtr ctxt); +double xmlXPathPopNumber (xmlXPathParserContextPtr ctxt); +xmlChar * xmlXPathPopString (xmlXPathParserContextPtr ctxt); +void xmlXPathPositionFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathRegisterAllFunctions (xmlXPathContextPtr ctxt); +int xmlXPathRegisterFunc (xmlXPathContextPtr ctxt,
const xmlChar * name,
xmlXPathFunction f); +void xmlXPathRegisterFuncLookup (xmlXPathContextPtr ctxt,
xmlXPathFuncLookupFunc f,
void * funcCtxt); +int xmlXPathRegisterFuncNS (xmlXPathContextPtr ctxt,
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathFunction f); +int xmlXPathRegisterNs (xmlXPathContextPtr ctxt,
const xmlChar * prefix,
const xmlChar * ns_uri); +int xmlXPathRegisterVariable (xmlXPathContextPtr ctxt,
const xmlChar * name,
xmlXPathObjectPtr value); +void xmlXPathRegisterVariableLookup (xmlXPathContextPtr ctxt,
xmlXPathVariableLookupFunc f,
void * data); +int xmlXPathRegisterVariableNS (xmlXPathContextPtr ctxt,
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathObjectPtr value); +void xmlXPathRegisteredFuncsCleanup (xmlXPathContextPtr ctxt); +void xmlXPathRegisteredNsCleanup (xmlXPathContextPtr ctxt); +void xmlXPathRegisteredVariablesCleanup (xmlXPathContextPtr ctxt); +void xmlXPathRoot (xmlXPathParserContextPtr ctxt); +void xmlXPathRoundFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathStartsWithFunction (xmlXPathParserContextPtr ctxt,
int nargs); +double xmlXPathStringEvalNumber (const xmlChar * str); +void xmlXPathStringFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathStringLengthFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathSubValues (xmlXPathParserContextPtr ctxt); +void xmlXPathSubstringAfterFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathSubstringBeforeFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathSubstringFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathSumFunction (xmlXPathParserContextPtr ctxt,
int nargs); +xmlNodeSetPtr xmlXPathTrailing (xmlNodeSetPtr nodes1,
xmlNodeSetPtr nodes2); +xmlNodeSetPtr xmlXPathTrailingSorted (xmlNodeSetPtr nodes1,
xmlNodeSetPtr nodes2); +void xmlXPathTranslateFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathTrueFunction (xmlXPathParserContextPtr ctxt,
int nargs); +void xmlXPathValueFlipSign (xmlXPathParserContextPtr ctxt); +xmlXPathObjectPtr xmlXPathVariableLookup (xmlXPathContextPtr ctxt,
const xmlChar * name); +xmlXPathObjectPtr xmlXPathVariableLookupNS (xmlXPathContextPtr ctxt,
const xmlChar * name,
const xmlChar * ns_uri); +xmlXPathObjectPtr xmlXPathWrapCString (char * val); +xmlXPathObjectPtr xmlXPathWrapExternal (void * val); +xmlXPathObjectPtr xmlXPathWrapNodeSet (xmlNodeSetPtr val); +xmlXPathObjectPtr xmlXPathWrapString (xmlChar * val); +void xmlXPatherror (xmlXPathParserContextPtr ctxt,
const char * file,
int line,
int no); +
+
+

Description

+
+

Details

+
+
+

+Macro CAST_TO_BOOLEAN

+
#define CAST_TO_BOOLEAN;
+
+

Macro to try to cast the value on the top of the XPath stack to a boolean.

+
+
+
+

+Macro CAST_TO_NUMBER

+
#define CAST_TO_NUMBER;
+
+

Macro to try to cast the value on the top of the XPath stack to a number.

+
+
+
+

+Macro CAST_TO_STRING

+
#define CAST_TO_STRING;
+
+

Macro to try to cast the value on the top of the XPath stack to a string.

+
+
+
+

+Macro CHECK_ARITY

+
#define CHECK_ARITY(x);
+
+

Macro to check that the number of args passed to an XPath function matches.

+
++ + + + +
x:the number of expected args
+
+
+
+

+Macro CHECK_ERROR

+
#define CHECK_ERROR;
+
+

Macro to return from the function if an XPath error was detected.

+
+
+
+

+Macro CHECK_ERROR0

+
#define CHECK_ERROR0;
+
+

Macro to return 0 from the function if an XPath error was detected.

+
+
+
+

+Macro CHECK_TYPE

+
#define CHECK_TYPE(typeval);
+
+

Macro to check that the value on top of the XPath stack is of a given type.

+
++ + + + +
typeval:the XPath type
+
+
+
+

+Macro CHECK_TYPE0

+
#define CHECK_TYPE0(typeval);
+
+

Macro to check that the value on top of the XPath stack is of a given type. Return(0) in case of failure

+
++ + + + +
typeval:the XPath type
+
+
+
+

+Macro XP_ERROR

+
#define XP_ERROR(X);
+
+

Macro to raise an XPath error and return.

+
++ + + + +
X:the error code
+
+
+
+

+Macro XP_ERROR0

+
#define XP_ERROR0(X);
+
+

Macro to raise an XPath error and return 0.

+
++ + + + +
X:the error code
+
+
+
+

+Macro xmlXPathCheckError

+
#define xmlXPathCheckError(ctxt);
+
+

Check if an XPath error was raised. Returns true if an error has been raised, false otherwise.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathEmptyNodeSet

+
#define xmlXPathEmptyNodeSet(ns);
+
+

Empties a node-set.

+
++ + + + +
ns:a node-set
+
+
+
+

+Macro xmlXPathGetContextNode

+
#define xmlXPathGetContextNode(ctxt);
+
+

Get the context node of an XPath context. Returns the context node.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathGetDocument

+
#define xmlXPathGetDocument(ctxt);
+
+

Get the document of an XPath context. Returns the context document.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathGetError

+
#define xmlXPathGetError(ctxt);
+
+

Get the error code of an XPath context. Returns the context error.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathReturnBoolean

+
#define xmlXPathReturnBoolean(ctxt, val);
+
+

Pushes the boolean @val on the context stack.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
val:a boolean
+
+
+
+

+Macro xmlXPathReturnEmptyNodeSet

+
#define xmlXPathReturnEmptyNodeSet(ctxt);
+
+

Pushes an empty node-set on the context stack.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathReturnEmptyString

+
#define xmlXPathReturnEmptyString(ctxt);
+
+

Pushes an empty string on the stack.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathReturnExternal

+
#define xmlXPathReturnExternal(ctxt, val);
+
+

Pushes user data on the context stack.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
val:user data
+
+
+
+

+Macro xmlXPathReturnFalse

+
#define xmlXPathReturnFalse(ctxt);
+
+

Pushes false on the context stack.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathReturnNodeSet

+
#define xmlXPathReturnNodeSet(ctxt, ns);
+
+

Pushes the node-set @ns on the context stack.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
ns:a node-set
+
+
+
+

+Macro xmlXPathReturnNumber

+
#define xmlXPathReturnNumber(ctxt, val);
+
+

Pushes the double @val on the context stack.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
val:a double
+
+
+
+

+Macro xmlXPathReturnString

+
#define xmlXPathReturnString(ctxt, str);
+
+

Pushes the string @str on the context stack.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
str:a string
+
+
+
+

+Macro xmlXPathReturnTrue

+
#define xmlXPathReturnTrue(ctxt);
+
+

Pushes true on the context stack.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathSetArityError

+
#define xmlXPathSetArityError(ctxt);
+
+

Raises an XPATH_INVALID_ARITY error.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathSetError

+
#define xmlXPathSetError(ctxt, err);
+
+

Raises an error.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
err:an xmlXPathError code
+
+
+
+

+Macro xmlXPathSetTypeError

+
#define xmlXPathSetTypeError(ctxt);
+
+

Raises an XPATH_INVALID_TYPE error.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathStackIsExternal

+
#define xmlXPathStackIsExternal(ctxt);
+
+

Checks if the current value on the XPath stack is an external object. Returns true if the current object on the stack is an external object.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+Macro xmlXPathStackIsNodeSet

+
#define xmlXPathStackIsNodeSet(ctxt);
+
+

Check if the current value on the XPath stack is a node set or an XSLT value tree. Returns true if the current object on the stack is a node-set.

+
++ + + + +
ctxt:an XPath parser context
+
+
+
+

+valuePop ()

+
xmlXPathObjectPtr	valuePop	(xmlXPathParserContextPtr ctxt)
+
+

Pops the top XPath object from the value stack

+
++ + + + + + + + + + +
ctxt:an XPath evaluation context
Returns:the XPath object just removed
+
+
+
+

+valuePush ()

+
int	valuePush			(xmlXPathParserContextPtr ctxt, 
xmlXPathObjectPtr value)
+
+

Pushes a new XPath object on top of the value stack. If value is NULL, a memory error is recorded in the parser context.

+
++ + + + + + + + + + + + + + +
ctxt:an XPath evaluation context
value:the XPath object
Returns:the number of items on the value stack, or -1 in case of error. The object is destroyed in case of error.
+
+
+
+

+xmlXPathAddValues ()

+
void	xmlXPathAddValues		(xmlXPathParserContextPtr ctxt)
+
+

Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.

+
++ + + + +
ctxt:the XPath Parser context
+
+
+
+

+xmlXPathBooleanFunction ()

+
void	xmlXPathBooleanFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the boolean() XPath function boolean boolean(object) The boolean function converts its argument to a boolean as follows: - a number is true if and only if it is neither positive or negative zero nor NaN - a node-set is true if and only if it is non-empty - a string is true if and only if its length is non-zero

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathCeilingFunction ()

+
void	xmlXPathCeilingFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the ceiling() XPath function number ceiling(number) The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathCompareValues ()

+
int	xmlXPathCompareValues		(xmlXPathParserContextPtr ctxt, 
int inf,
int strict)
+
+

Implement the compare operation on XPath objects: @arg1 < @arg2 (1, 1, ... @arg1 <= @arg2 (1, 0, ... @arg1 > @arg2 (0, 1, ... @arg1 >= @arg2 (0, 0, ... When neither object to be compared is a node-set and the operator is <=, <, >=, >, then the objects are compared by converted both objects to numbers and comparing the numbers according to IEEE 754. The < comparison will be true if and only if the first number is less than the second number. The <= comparison will be true if and only if the first number is less than or equal to the second number. The > comparison will be true if and only if the first number is greater than the second number. The >= comparison will be true if and only if the first number is greater than or equal to the second number.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the XPath Parser context
inf:less than (1) or greater than (0)
strict:is the comparison strict
Returns:1 if the comparison succeeded, 0 if it failed
+
+
+
+

+xmlXPathConcatFunction ()

+
void	xmlXPathConcatFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the concat() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathContainsFunction ()

+
void	xmlXPathContainsFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the contains() XPath function boolean contains(string, string) The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathCountFunction ()

+
void	xmlXPathCountFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the count() XPath function number count(node-set)

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathDebugDumpCompExpr ()

+
void	xmlXPathDebugDumpCompExpr	(FILE * output, 
xmlXPathCompExprPtr comp,
int depth)
+
+

Dumps the tree of the compiled XPath expression.

+
++ + + + + + + + + + + + + + +
output:the FILE * for the output
comp:the precompiled XPath expression
depth:the indentation level.
+
+
+
+

+xmlXPathDebugDumpObject ()

+
void	xmlXPathDebugDumpObject		(FILE * output, 
xmlXPathObjectPtr cur,
int depth)
+
+

Dump the content of the object for debugging purposes

+
++ + + + + + + + + + + + + + +
output:the FILE * to dump the output
cur:the object to inspect
depth:indentation level
+
+
+
+

+xmlXPathDifference ()

+
xmlNodeSetPtr	xmlXPathDifference	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
+
+

Implements the EXSLT - Sets difference() function: node-set set:difference (node-set, node-set)

+
++ + + + + + + + + + + + + + +
nodes1:a node-set
nodes2:a node-set
Returns:the difference between the two node sets, or nodes1 if nodes2 is empty
+
+
+
+

+xmlXPathDistinct ()

+
xmlNodeSetPtr	xmlXPathDistinct	(xmlNodeSetPtr nodes)
+
+

Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set) @nodes is sorted by document order, then #exslSetsDistinctSorted is called with the sorted node-set

+
++ + + + + + + + + + +
nodes:a node-set
Returns:a subset of the nodes contained in @nodes, or @nodes if it is empty
+
+
+
+

+xmlXPathDistinctSorted ()

+
xmlNodeSetPtr	xmlXPathDistinctSorted	(xmlNodeSetPtr nodes)
+
+

Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set)

+
++ + + + + + + + + + +
nodes:a node-set, sorted by document order
Returns:a subset of the nodes contained in @nodes, or @nodes if it is empty
+
+
+
+

+xmlXPathDivValues ()

+
void	xmlXPathDivValues		(xmlXPathParserContextPtr ctxt)
+
+

Implement the div operation on XPath objects @arg1 / @arg2: The numeric operators convert their operands to numbers as if by calling the number function.

+
++ + + + +
ctxt:the XPath Parser context
+
+
+
+

+xmlXPathEqualValues ()

+
int	xmlXPathEqualValues		(xmlXPathParserContextPtr ctxt)
+
+

Implement the equal operation on XPath objects content: @arg1 == @arg2

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
Returns:0 or 1 depending on the results of the test.
+
+
+
+

+xmlXPathErr ()

+
void	xmlXPathErr			(xmlXPathParserContextPtr ctxt, 
int code)
+
+

Handle an XPath error

+
++ + + + + + + + + + +
ctxt:a XPath parser context
code:the error code
+
+
+
+

+xmlXPathEvalExpr ()

+
void	xmlXPathEvalExpr		(xmlXPathParserContextPtr ctxt)
+
+

Parse and evaluate an XPath expression in the given context, then push the result on the context stack

+
++ + + + +
ctxt:the XPath Parser context
+
+
+
+

+xmlXPathEvaluatePredicateResult ()

+
int	xmlXPathEvaluatePredicateResult	(xmlXPathParserContextPtr ctxt, 
xmlXPathObjectPtr res)
+
+

Evaluate a predicate result for the current node. A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the position of the context node in the context node list (as returned by the position function) and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
res:the Predicate Expression evaluation result
Returns:1 if predicate is true, 0 otherwise
+
+
+
+

+xmlXPathFalseFunction ()

+
void	xmlXPathFalseFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the false() XPath function boolean false()

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathFloorFunction ()

+
void	xmlXPathFloorFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the floor() XPath function number floor(number) The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathFreeParserContext ()

+
void	xmlXPathFreeParserContext	(xmlXPathParserContextPtr ctxt)
+
+

Free up an xmlXPathParserContext

+
++ + + + +
ctxt:the context to free
+
+
+
+

+xmlXPathFunctionLookup ()

+
xmlXPathFunction	xmlXPathFunctionLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)
+
+

Search in the Function array of the context for the given function.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath context
name:the function name
Returns:the xmlXPathFunction or NULL if not found
+
+
+
+

+xmlXPathFunctionLookupNS ()

+
xmlXPathFunction	xmlXPathFunctionLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
+
+

Search in the Function array of the context for the given function.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the XPath context
name:the function name
ns_uri:the function namespace URI
Returns:the xmlXPathFunction or NULL if not found
+
+
+
+

+xmlXPathHasSameNodes ()

+
int	xmlXPathHasSameNodes		(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
+
+

Implements the EXSLT - Sets has-same-nodes function: boolean set:has-same-node(node-set, node-set)

+
++ + + + + + + + + + + + + + +
nodes1:a node-set
nodes2:a node-set
Returns:true (1) if @nodes1 shares any node with @nodes2, false (0) otherwise
+
+
+
+

+xmlXPathIdFunction ()

+
void	xmlXPathIdFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the id() XPath function node-set id(object) The id function selects elements by their unique ID (see [5.2.1 Unique IDs]). When the argument to id is of type node-set, then the result is the union of the result of applying id to the string value of each of the nodes in the argument node-set. When the argument to id is of any other type, the argument is converted to a string as if by a call to the string function; the string is split into a whitespace-separated list of tokens (whitespace is any sequence of characters matching the production S); the result is a node-set containing the elements in the same document as the context node that have a unique ID equal to any of the tokens in the list.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathIntersection ()

+
xmlNodeSetPtr	xmlXPathIntersection	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
+
+

Implements the EXSLT - Sets intersection() function: node-set set:intersection (node-set, node-set)

+
++ + + + + + + + + + + + + + +
nodes1:a node-set
nodes2:a node-set
Returns:a node set comprising the nodes that are within both the node sets passed as arguments
+
+
+
+

+xmlXPathIsNodeType ()

+
int	xmlXPathIsNodeType		(const xmlChar * name)
+
+

Is the name given a NodeType one. [38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node'

+
++ + + + + + + + + + +
name:a name string
Returns:1 if true 0 otherwise
+
+
+
+

+xmlXPathLangFunction ()

+
void	xmlXPathLangFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the lang() XPath function boolean lang(string) The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string. The language of the context node is determined by the value of the xml:lang attribute on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang attribute on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathLastFunction ()

+
void	xmlXPathLastFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the last() XPath function number last() The last function returns the number of nodes in the context node list.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathLeading ()

+
xmlNodeSetPtr	xmlXPathLeading		(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
+
+

Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes1 and @nodes2 are sorted by document order, then #exslSetsLeadingSorted is called.

+
++ + + + + + + + + + + + + + +
nodes1:a node-set
nodes2:a node-set
Returns:the nodes in @nodes1 that precede the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2
+
+
+
+

+xmlXPathLeadingSorted ()

+
xmlNodeSetPtr	xmlXPathLeadingSorted	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
+
+

Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)

+
++ + + + + + + + + + + + + + +
nodes1:a node-set, sorted by document order
nodes2:a node-set, sorted by document order
Returns:the nodes in @nodes1 that precede the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2
+
+
+
+

+xmlXPathLocalNameFunction ()

+
void	xmlXPathLocalNameFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the local-name() XPath function string local-name(node-set?) The local-name function returns a string containing the local part of the name of the node in the argument node-set that is first in document order. If the node-set is empty or the first node has no name, an empty string is returned. If the argument is omitted it defaults to the context node.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathModValues ()

+
void	xmlXPathModValues		(xmlXPathParserContextPtr ctxt)
+
+

Implement the mod operation on XPath objects: @arg1 / @arg2 The numeric operators convert their operands to numbers as if by calling the number function.

+
++ + + + +
ctxt:the XPath Parser context
+
+
+
+

+xmlXPathMultValues ()

+
void	xmlXPathMultValues		(xmlXPathParserContextPtr ctxt)
+
+

Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.

+
++ + + + +
ctxt:the XPath Parser context
+
+
+
+

+xmlXPathNamespaceURIFunction ()

+
void	xmlXPathNamespaceURIFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the namespace-uri() XPath function string namespace-uri(node-set?) The namespace-uri function returns a string containing the namespace URI of the expanded name of the node in the argument node-set that is first in document order. If the node-set is empty, the first node has no name, or the expanded name has no namespace URI, an empty string is returned. If the argument is omitted it defaults to the context node.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathNewBoolean ()

+
xmlXPathObjectPtr	xmlXPathNewBoolean	(int val)
+
+

Create a new xmlXPathObjectPtr of type boolean and of value @val

+
++ + + + + + + + + + +
val:the boolean value
Returns:the newly created object.
+
+
+
+

+xmlXPathNewCString ()

+
xmlXPathObjectPtr	xmlXPathNewCString	(const char * val)
+
+

Create a new xmlXPathObjectPtr of type string and of value @val

+
++ + + + + + + + + + +
val:the char * value
Returns:the newly created object.
+
+
+
+

+xmlXPathNewFloat ()

+
xmlXPathObjectPtr	xmlXPathNewFloat	(double val)
+
+

Create a new xmlXPathObjectPtr of type double and of value @val

+
++ + + + + + + + + + +
val:the double value
Returns:the newly created object.
+
+
+
+

+xmlXPathNewNodeSet ()

+
xmlXPathObjectPtr	xmlXPathNewNodeSet	(xmlNodePtr val)
+
+

Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the single Node @val

+
++ + + + + + + + + + +
val:the NodePtr value
Returns:the newly created object.
+
+
+
+

+xmlXPathNewNodeSetList ()

+
xmlXPathObjectPtr	xmlXPathNewNodeSetList	(xmlNodeSetPtr val)
+
+

Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the Nodeset @val

+
++ + + + + + + + + + +
val:an existing NodeSet
Returns:the newly created object.
+
+
+
+

+xmlXPathNewParserContext ()

+
xmlXPathParserContextPtr	xmlXPathNewParserContext	(const xmlChar * str, 
xmlXPathContextPtr ctxt)
+
+

Create a new xmlXPathParserContext

+
++ + + + + + + + + + + + + + +
str:the XPath expression
ctxt:the XPath context
Returns:the xmlXPathParserContext just allocated.
+
+
+
+

+xmlXPathNewString ()

+
xmlXPathObjectPtr	xmlXPathNewString	(const xmlChar * val)
+
+

Create a new xmlXPathObjectPtr of type string and of value @val

+
++ + + + + + + + + + +
val:the xmlChar * value
Returns:the newly created object.
+
+
+
+

+xmlXPathNewValueTree ()

+
xmlXPathObjectPtr	xmlXPathNewValueTree	(xmlNodePtr val)
+
+

Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize it with the tree root @val

+
++ + + + + + + + + + +
val:the NodePtr value
Returns:the newly created object.
+
+
+
+

+xmlXPathNextAncestor ()

+
xmlNodePtr	xmlXPathNextAncestor	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextAncestorOrSelf ()

+
xmlNodePtr	xmlXPathNextAncestorOrSelf	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextAttribute ()

+
xmlNodePtr	xmlXPathNextAttribute	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "attribute" direction TODO: support DTD inherited default attributes

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current attribute in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextChild ()

+
xmlNodePtr	xmlXPathNextChild	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "child" direction The child axis contains the children of the context node in document order.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextDescendant ()

+
xmlNodePtr	xmlXPathNextDescendant	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextDescendantOrSelf ()

+
xmlNodePtr	xmlXPathNextDescendantOrSelf	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextFollowing ()

+
xmlNodePtr	xmlXPathNextFollowing	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes; the nodes are ordered in document order

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextFollowingSibling ()

+
xmlNodePtr	xmlXPathNextFollowingSibling	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextNamespace ()

+
xmlNodePtr	xmlXPathNextNamespace	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current attribute in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextParent ()

+
xmlNodePtr	xmlXPathNextParent	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextPreceding ()

+
xmlNodePtr	xmlXPathNextPreceding	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes; the nodes are ordered in reverse document order

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextPrecedingSibling ()

+
xmlNodePtr	xmlXPathNextPrecedingSibling	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNextSelf ()

+
xmlNodePtr	xmlXPathNextSelf	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
+
+

Traversal function for the "self" direction The self axis contains just the context node itself

+
++ + + + + + + + + + + + + + +
ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis
+
+
+
+

+xmlXPathNodeLeading ()

+
xmlNodeSetPtr	xmlXPathNodeLeading	(xmlNodeSetPtr nodes, 
xmlNodePtr node)
+
+

Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes is sorted by document order, then #exslSetsNodeLeadingSorted is called.

+
++ + + + + + + + + + + + + + +
nodes:a node-set
node:a node
Returns:the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node
+
+
+
+

+xmlXPathNodeLeadingSorted ()

+
xmlNodeSetPtr	xmlXPathNodeLeadingSorted	(xmlNodeSetPtr nodes, 
xmlNodePtr node)
+
+

Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)

+
++ + + + + + + + + + + + + + +
nodes:a node-set, sorted by document order
node:a node
Returns:the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node
+
+
+
+

+xmlXPathNodeSetAdd ()

+
int	xmlXPathNodeSetAdd		(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
+

add a new xmlNodePtr to an existing NodeSet

+
++ + + + + + + + + + + + + + +
cur:the initial node set
val:a new xmlNodePtr +
Returns:0 in case of success, and -1 in case of error
+
+
+
+

+xmlXPathNodeSetAddNs ()

+
int	xmlXPathNodeSetAddNs		(xmlNodeSetPtr cur, 
xmlNodePtr node,
xmlNsPtr ns)
+
+

add a new namespace node to an existing NodeSet

+
++ + + + + + + + + + + + + + + + + + +
cur:the initial node set
node:the hosting node
ns:a the namespace node
Returns:0 in case of success and -1 in case of error
+
+
+
+

+xmlXPathNodeSetAddUnique ()

+
int	xmlXPathNodeSetAddUnique	(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
+

add a new xmlNodePtr to an existing NodeSet, optimized version when we are sure the node is not already in the set.

+
++ + + + + + + + + + + + + + +
cur:the initial node set
val:a new xmlNodePtr +
Returns:0 in case of success and -1 in case of failure
+
+
+
+

+xmlXPathNodeSetContains ()

+
int	xmlXPathNodeSetContains		(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
+

checks whether @cur contains @val

+
++ + + + + + + + + + + + + + +
cur:the node-set
val:the node
Returns:true (1) if @cur contains @val, false (0) otherwise
+
+
+
+

+xmlXPathNodeSetDel ()

+
void	xmlXPathNodeSetDel		(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
+

Removes an xmlNodePtr from an existing NodeSet

+
++ + + + + + + + + + +
cur:the initial node set
val:an xmlNodePtr +
+
+
+
+

+xmlXPathNodeSetFreeNs ()

+
void	xmlXPathNodeSetFreeNs		(xmlNsPtr ns)
+
+

Namespace nodes in libxml don't match the XPath semantic. In a node set the namespace nodes are duplicated and the next pointer is set to the parent node in the XPath semantic. Check if such a node needs to be freed

+
++ + + + +
ns:the XPath namespace node found in a nodeset.
+
+
+
+

+xmlXPathNodeSetMerge ()

+
xmlNodeSetPtr	xmlXPathNodeSetMerge	(xmlNodeSetPtr val1, 
xmlNodeSetPtr val2)
+
+

Merges two nodesets, all nodes from @val2 are added to @val1 if @val1 is NULL, a new set is created and copied from @val2

+
++ + + + + + + + + + + + + + +
val1:the first NodeSet or NULL
val2:the second NodeSet
Returns:@val1 once extended or NULL in case of error. Frees @val1 in case of error.
+
+
+
+

+xmlXPathNodeSetRemove ()

+
void	xmlXPathNodeSetRemove		(xmlNodeSetPtr cur, 
int val)
+
+

Removes an entry from an existing NodeSet list.

+
++ + + + + + + + + + +
cur:the initial node set
val:the index to remove
+
+
+
+

+xmlXPathNodeSetSort ()

+
void	xmlXPathNodeSetSort		(xmlNodeSetPtr set)
+
+

Sort the node set in document order

+
++ + + + +
set:the node set
+
+
+
+

+xmlXPathNodeTrailing ()

+
xmlNodeSetPtr	xmlXPathNodeTrailing	(xmlNodeSetPtr nodes, 
xmlNodePtr node)
+
+

Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted is called.

+
++ + + + + + + + + + + + + + +
nodes:a node-set
node:a node
Returns:the nodes in @nodes that follow @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node
+
+
+
+

+xmlXPathNodeTrailingSorted ()

+
xmlNodeSetPtr	xmlXPathNodeTrailingSorted	(xmlNodeSetPtr nodes, 
xmlNodePtr node)
+
+

Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)

+
++ + + + + + + + + + + + + + +
nodes:a node-set, sorted by document order
node:a node
Returns:the nodes in @nodes that follow @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node
+
+
+
+

+xmlXPathNormalizeFunction ()

+
void	xmlXPathNormalizeFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the normalize-space() XPath function string normalize-space(string?) The normalize-space function returns the argument string with white space normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space. Whitespace characters are the same allowed by the S production in XML. If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathNotEqualValues ()

+
int	xmlXPathNotEqualValues		(xmlXPathParserContextPtr ctxt)
+
+

Implement the equal operation on XPath objects content: @arg1 == @arg2

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
Returns:0 or 1 depending on the results of the test.
+
+
+
+

+xmlXPathNotFunction ()

+
void	xmlXPathNotFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathNsLookup ()

+
const xmlChar *	xmlXPathNsLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * prefix)
+
+

Search in the namespace declaration array of the context for the given namespace name associated to the given prefix

+
++ + + + + + + + + + + + + + +
ctxt:the XPath context
prefix:the namespace prefix value
Returns:the value or NULL if not found
+
+
+
+

+xmlXPathNumberFunction ()

+
void	xmlXPathNumberFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the number() XPath function number number(object?)

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathParseNCName ()

+
xmlChar *	xmlXPathParseNCName	(xmlXPathParserContextPtr ctxt)
+
+

parse an XML namespace non qualified name. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
Returns:the namespace name or NULL
+
+
+
+

+xmlXPathParseName ()

+
xmlChar *	xmlXPathParseName	(xmlXPathParserContextPtr ctxt)
+
+

parse an XML name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)*

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
Returns:the namespace name or NULL
+
+
+
+

+xmlXPathPopBoolean ()

+
int	xmlXPathPopBoolean		(xmlXPathParserContextPtr ctxt)
+
+

Pops a boolean from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
Returns:the boolean
+
+
+
+

+xmlXPathPopExternal ()

+
void *	xmlXPathPopExternal		(xmlXPathParserContextPtr ctxt)
+
+

Pops an external object from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
Returns:the object
+
+
+
+

+xmlXPathPopNodeSet ()

+
xmlNodeSetPtr	xmlXPathPopNodeSet	(xmlXPathParserContextPtr ctxt)
+
+

Pops a node-set from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
Returns:the node-set
+
+
+
+

+xmlXPathPopNumber ()

+
double	xmlXPathPopNumber		(xmlXPathParserContextPtr ctxt)
+
+

Pops a number from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
Returns:the number
+
+
+
+

+xmlXPathPopString ()

+
xmlChar *	xmlXPathPopString	(xmlXPathParserContextPtr ctxt)
+
+

Pops a string from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

+
++ + + + + + + + + + +
ctxt:an XPath parser context
Returns:the string
+
+
+
+

+xmlXPathPositionFunction ()

+
void	xmlXPathPositionFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the position() XPath function number position() The position function returns the position of the context node in the context node list. The first position is 1, and so the last position will be equal to last().

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathRegisterAllFunctions ()

+
void	xmlXPathRegisterAllFunctions	(xmlXPathContextPtr ctxt)
+
+

Registers all default XPath functions in this context

+
++ + + + +
ctxt:the XPath context
+
+
+
+

+xmlXPathRegisterFunc ()

+
int	xmlXPathRegisterFunc		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathFunction f)
+
+

Register a new function. If @f is NULL it unregisters the function

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the XPath context
name:the function name
f:the function implementation or NULL
Returns:0 in case of success, -1 in case of error
+
+
+
+

+xmlXPathRegisterFuncLookup ()

+
void	xmlXPathRegisterFuncLookup	(xmlXPathContextPtr ctxt, 
xmlXPathFuncLookupFunc f,
void * funcCtxt)
+
+

Registers an external mechanism to do function lookup.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath context
f:the lookup function
funcCtxt:the lookup data
+
+
+
+

+xmlXPathRegisterFuncNS ()

+
int	xmlXPathRegisterFuncNS		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathFunction f)
+
+

Register a new function. If @f is NULL it unregisters the function

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the XPath context
name:the function name
ns_uri:the function namespace URI
f:the function implementation or NULL
Returns:0 in case of success, -1 in case of error
+
+
+
+

+xmlXPathRegisterNs ()

+
int	xmlXPathRegisterNs		(xmlXPathContextPtr ctxt, 
const xmlChar * prefix,
const xmlChar * ns_uri)
+
+

Register a new namespace. If @ns_uri is NULL it unregisters the namespace

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the XPath context
prefix:the namespace prefix cannot be NULL or empty string
ns_uri:the namespace name
Returns:0 in case of success, -1 in case of error
+
+
+
+

+xmlXPathRegisterVariable ()

+
int	xmlXPathRegisterVariable	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathObjectPtr value)
+
+

Register a new variable value. If @value is NULL it unregisters the variable

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the XPath context
name:the variable name
value:the variable value or NULL
Returns:0 in case of success, -1 in case of error
+
+
+
+

+xmlXPathRegisterVariableLookup ()

+
void	xmlXPathRegisterVariableLookup	(xmlXPathContextPtr ctxt, 
xmlXPathVariableLookupFunc f,
void * data)
+
+

register an external mechanism to do variable lookup

+
++ + + + + + + + + + + + + + +
ctxt:the XPath context
f:the lookup function
data:the lookup data
+
+
+
+

+xmlXPathRegisterVariableNS ()

+
int	xmlXPathRegisterVariableNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathObjectPtr value)
+
+

Register a new variable value. If @value is NULL it unregisters the variable

+
++ + + + + + + + + + + + + + + + + + + + + + +
ctxt:the XPath context
name:the variable name
ns_uri:the variable namespace URI
value:the variable value or NULL
Returns:0 in case of success, -1 in case of error
+
+
+
+

+xmlXPathRegisteredFuncsCleanup ()

+
void	xmlXPathRegisteredFuncsCleanup	(xmlXPathContextPtr ctxt)
+
+

Cleanup the XPath context data associated to registered functions

+
++ + + + +
ctxt:the XPath context
+
+
+
+

+xmlXPathRegisteredNsCleanup ()

+
void	xmlXPathRegisteredNsCleanup	(xmlXPathContextPtr ctxt)
+
+

Cleanup the XPath context data associated to registered variables

+
++ + + + +
ctxt:the XPath context
+
+
+
+

+xmlXPathRegisteredVariablesCleanup ()

+
void	xmlXPathRegisteredVariablesCleanup	(xmlXPathContextPtr ctxt)
+
+

Cleanup the XPath context data associated to registered variables

+
++ + + + +
ctxt:the XPath context
+
+
+
+

+xmlXPathRoot ()

+
void	xmlXPathRoot			(xmlXPathParserContextPtr ctxt)
+
+

Initialize the context to the root of the document

+
++ + + + +
ctxt:the XPath Parser context
+
+
+
+

+xmlXPathRoundFunction ()

+
void	xmlXPathRoundFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathStartsWithFunction ()

+
void	xmlXPathStartsWithFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathStringEvalNumber ()

+
double	xmlXPathStringEvalNumber	(const xmlChar * str)
+
+

[30a] Float ::= Number ('e' Digits?)? [30] Number ::= Digits ('.' Digits?)? | '.' Digits [31] Digits ::= [0-9]+ Compile a Number in the string In complement of the Number expression, this function also handles negative values : '-' Number.

+
++ + + + + + + + + + +
str:A string to scan
Returns:the double value.
+
+
+
+

+xmlXPathStringFunction ()

+
void	xmlXPathStringFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the string() XPath function string string(object?) The string function converts an object to a string as follows: - A node-set is converted to a string by returning the value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned. - A number is converted to a string as follows + NaN is converted to the string NaN + positive zero is converted to the string 0 + negative zero is converted to the string 0 + positive infinity is converted to the string Infinity + negative infinity is converted to the string -Infinity + if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative + otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values. - The boolean false value is converted to the string false. The boolean true value is converted to the string true. If the argument is omitted, it defaults to a node-set with the context node as its only member.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathStringLengthFunction ()

+
void	xmlXPathStringLengthFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the string-length() XPath function number string-length(string?) The string-length returns the number of characters in the string (see [3.6 Strings]). If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathSubValues ()

+
void	xmlXPathSubValues		(xmlXPathParserContextPtr ctxt)
+
+

Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.

+
++ + + + +
ctxt:the XPath Parser context
+
+
+
+

+xmlXPathSubstringAfterFunction ()

+
void	xmlXPathSubstringAfterFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-after("1999/04/01","/") returns 04/01, and substring-after("1999/04/01","19") returns 99/04/01.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathSubstringBeforeFunction ()

+
void	xmlXPathSubstringBeforeFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathSubstringFunction ()

+
void	xmlXPathSubstringFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument. For example, substring("12345",2,3) returns "234". If the third argument is not specified, it returns the substring starting at the position specified in the second argument and continuing to the end of the string. For example, substring("12345",2) returns "2345". More precisely, each character in the string (see [3.6 Strings]) is considered to have a numeric position: the position of the first character is 1, the position of the second character is 2 and so on. The returned substring contains those characters for which the position of the character is greater than or equal to the second argument and, if the third argument is specified, less than the sum of the second and third arguments; the comparisons and addition used for the above follow the standard IEEE 754 rules. Thus: - substring("12345", 1.5, 2.6) returns "234" - substring("12345", 0, 3) returns "12" - substring("12345", 0 div 0, 3) returns "" - substring("12345", 1, 0 div 0) returns "" - substring("12345", -42, 1 div 0) returns "12345" - substring("12345", -1 div 0, 1 div 0) returns ""

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathSumFunction ()

+
void	xmlXPathSumFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the sum() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathTrailing ()

+
xmlNodeSetPtr	xmlXPathTrailing	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
+
+

Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes1 and @nodes2 are sorted by document order, then #xmlXPathTrailingSorted is called.

+
++ + + + + + + + + + + + + + +
nodes1:a node-set
nodes2:a node-set
Returns:the nodes in @nodes1 that follow the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2
+
+
+
+

+xmlXPathTrailingSorted ()

+
xmlNodeSetPtr	xmlXPathTrailingSorted	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
+
+

Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)

+
++ + + + + + + + + + + + + + +
nodes1:a node-set, sorted by document order
nodes2:a node-set, sorted by document order
Returns:the nodes in @nodes1 that follow the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2
+
+
+
+

+xmlXPathTranslateFunction ()

+
void	xmlXPathTranslateFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC")

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathTrueFunction ()

+
void	xmlXPathTrueFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the true() XPath function boolean true()

+
++ + + + + + + + + + +
ctxt:the XPath Parser context
nargs:the number of arguments
+
+
+
+

+xmlXPathValueFlipSign ()

+
void	xmlXPathValueFlipSign		(xmlXPathParserContextPtr ctxt)
+
+

Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function.

+
++ + + + +
ctxt:the XPath Parser context
+
+
+
+

+xmlXPathVariableLookup ()

+
xmlXPathObjectPtr	xmlXPathVariableLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)
+
+

Search in the Variable array of the context for the given variable value.

+
++ + + + + + + + + + + + + + +
ctxt:the XPath context
name:the variable name
Returns:a copy of the value or NULL if not found
+
+
+
+

+xmlXPathVariableLookupNS ()

+
xmlXPathObjectPtr	xmlXPathVariableLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
+
+

Search in the Variable array of the context for the given variable value.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the XPath context
name:the variable name
ns_uri:the variable namespace URI
Returns:the a copy of the value or NULL if not found
+
+
+
+

+xmlXPathWrapCString ()

+
xmlXPathObjectPtr	xmlXPathWrapCString	(char * val)
+
+

Wraps a string into an XPath object.

+
++ + + + + + + + + + +
val:the char * value
Returns:the newly created object.
+
+
+
+

+xmlXPathWrapExternal ()

+
xmlXPathObjectPtr	xmlXPathWrapExternal	(void * val)
+
+

Wraps the @val data into an XPath object.

+
++ + + + + + + + + + +
val:the user data
Returns:the newly created object.
+
+
+
+

+xmlXPathWrapNodeSet ()

+
xmlXPathObjectPtr	xmlXPathWrapNodeSet	(xmlNodeSetPtr val)
+
+

Wrap the Nodeset @val in a new xmlXPathObjectPtr

+
++ + + + + + + + + + +
val:the NodePtr value
Returns:the newly created object. In case of error the node set is destroyed and NULL is returned.
+
+
+
+

+xmlXPathWrapString ()

+
xmlXPathObjectPtr	xmlXPathWrapString	(xmlChar * val)
+
+

Wraps the @val string into an XPath object.

+
++ + + + + + + + + + +
val:the xmlChar * value
Returns:the newly created object. Frees @val in case of error.
+
+
+
+

+xmlXPatherror ()

+
void	xmlXPatherror			(xmlXPathParserContextPtr ctxt, 
const char * file,
int line,
int no)
+
+

Formats an error message.

+
++ + + + + + + + + + + + + + + + + + +
ctxt:the XPath Parser context
file:the file name
line:the line number
no:the error number
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpointer.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpointer.html new file mode 100644 index 0000000000000000000000000000000000000000..7f0595f00b6eafafa9e1952cd71d7ffaa82b932e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xpointer.html @@ -0,0 +1,559 @@ + + + +xpointer: API to handle XML Pointers + + + + + + + + + + + + + +

xpointer

+

xpointer - API to handle XML Pointers

+

API to handle XML Pointers Base implementation was made accordingly to W3C Candidate Recommendation 7 June 2000

+

Author(s): Daniel Veillard

+
+

Synopsis

+
typedef struct _xmlLocationSet xmlLocationSet;
+typedef xmlLocationSet * xmlLocationSetPtr;
+xmlNodePtr	xmlXPtrBuildNodeList	(xmlXPathObjectPtr obj);
+xmlXPathObjectPtr	xmlXPtrEval	(const xmlChar * str, 
xmlXPathContextPtr ctx); +void xmlXPtrEvalRangePredicate (xmlXPathParserContextPtr ctxt); +void xmlXPtrFreeLocationSet (xmlLocationSetPtr obj); +void xmlXPtrLocationSetAdd (xmlLocationSetPtr cur,
xmlXPathObjectPtr val); +xmlLocationSetPtr xmlXPtrLocationSetCreate (xmlXPathObjectPtr val); +void xmlXPtrLocationSetDel (xmlLocationSetPtr cur,
xmlXPathObjectPtr val); +xmlLocationSetPtr xmlXPtrLocationSetMerge (xmlLocationSetPtr val1,
xmlLocationSetPtr val2); +void xmlXPtrLocationSetRemove (xmlLocationSetPtr cur,
int val); +xmlXPathObjectPtr xmlXPtrNewCollapsedRange (xmlNodePtr start); +xmlXPathContextPtr xmlXPtrNewContext (xmlDocPtr doc,
xmlNodePtr here,
xmlNodePtr origin); +xmlXPathObjectPtr xmlXPtrNewLocationSetNodeSet (xmlNodeSetPtr set); +xmlXPathObjectPtr xmlXPtrNewLocationSetNodes (xmlNodePtr start,
xmlNodePtr end); +xmlXPathObjectPtr xmlXPtrNewRange (xmlNodePtr start,
int startindex,
xmlNodePtr end,
int endindex); +xmlXPathObjectPtr xmlXPtrNewRangeNodeObject (xmlNodePtr start,
xmlXPathObjectPtr end); +xmlXPathObjectPtr xmlXPtrNewRangeNodePoint (xmlNodePtr start,
xmlXPathObjectPtr end); +xmlXPathObjectPtr xmlXPtrNewRangeNodes (xmlNodePtr start,
xmlNodePtr end); +xmlXPathObjectPtr xmlXPtrNewRangePointNode (xmlXPathObjectPtr start,
xmlNodePtr end); +xmlXPathObjectPtr xmlXPtrNewRangePoints (xmlXPathObjectPtr start,
xmlXPathObjectPtr end); +void xmlXPtrRangeToFunction (xmlXPathParserContextPtr ctxt,
int nargs); +xmlXPathObjectPtr xmlXPtrWrapLocationSet (xmlLocationSetPtr val); +
+
+

Description

+
+

Details

+
+
+

+Structure xmlLocationSet

+
struct _xmlLocationSet {
+    int	locNr	: number of locations in the set
+    int	locMax	: size of the array as allocated
+    xmlXPathObjectPtr *	locTab	: array of locations
+} xmlLocationSet;
+
+

+
+
+
+

+Typedef xmlLocationSetPtr

+
xmlLocationSet * xmlLocationSetPtr;
+
+

+
+
+
+

+xmlXPtrBuildNodeList ()

+
xmlNodePtr	xmlXPtrBuildNodeList	(xmlXPathObjectPtr obj)
+
+

Build a node list tree copy of the XPointer result. This will drop Attributes and Namespace declarations.

+
++ + + + + + + + + + +
obj:the XPointer result from the evaluation.
Returns:an xmlNodePtr list or NULL. the caller has to free the node tree.
+
+
+
+

+xmlXPtrEval ()

+
xmlXPathObjectPtr	xmlXPtrEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
+
+

Evaluate the XPath Location Path in the given context.

+
++ + + + + + + + + + + + + + +
str:the XPointer expression
ctx:the XPointer context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.
+
+
+
+

+xmlXPtrEvalRangePredicate ()

+
void	xmlXPtrEvalRangePredicate	(xmlXPathParserContextPtr ctxt)
+
+

[8] Predicate ::= '[' PredicateExpr ']' [9] PredicateExpr ::= Expr Evaluate a predicate as in xmlXPathEvalPredicate() but for a Location Set instead of a node set

+
++ + + + +
ctxt:the XPointer Parser context
+
+
+
+

+xmlXPtrFreeLocationSet ()

+
void	xmlXPtrFreeLocationSet		(xmlLocationSetPtr obj)
+
+

Free the LocationSet compound (not the actual ranges !).

+
++ + + + +
obj:the xmlLocationSetPtr to free
+
+
+
+

+xmlXPtrLocationSetAdd ()

+
void	xmlXPtrLocationSetAdd		(xmlLocationSetPtr cur, 
xmlXPathObjectPtr val)
+
+

add a new xmlXPathObjectPtr to an existing LocationSet If the location already exist in the set @val is freed.

+
++ + + + + + + + + + +
cur:the initial range set
val:a new xmlXPathObjectPtr +
+
+
+
+

+xmlXPtrLocationSetCreate ()

+
xmlLocationSetPtr	xmlXPtrLocationSetCreate	(xmlXPathObjectPtr val)
+
+

Create a new xmlLocationSetPtr of type double and of value @val

+
++ + + + + + + + + + +
val:an initial xmlXPathObjectPtr, or NULL
Returns:the newly created object.
+
+
+
+

+xmlXPtrLocationSetDel ()

+
void	xmlXPtrLocationSetDel		(xmlLocationSetPtr cur, 
xmlXPathObjectPtr val)
+
+

Removes an xmlXPathObjectPtr from an existing LocationSet

+
++ + + + + + + + + + +
cur:the initial range set
val:an xmlXPathObjectPtr +
+
+
+
+

+xmlXPtrLocationSetMerge ()

+
xmlLocationSetPtr	xmlXPtrLocationSetMerge	(xmlLocationSetPtr val1, 
xmlLocationSetPtr val2)
+
+

Merges two rangesets, all ranges from @val2 are added to @val1

+
++ + + + + + + + + + + + + + +
val1:the first LocationSet
val2:the second LocationSet
Returns:val1 once extended or NULL in case of error.
+
+
+
+

+xmlXPtrLocationSetRemove ()

+
void	xmlXPtrLocationSetRemove	(xmlLocationSetPtr cur, 
int val)
+
+

Removes an entry from an existing LocationSet list.

+
++ + + + + + + + + + +
cur:the initial range set
val:the index to remove
+
+
+
+

+xmlXPtrNewCollapsedRange ()

+
xmlXPathObjectPtr	xmlXPtrNewCollapsedRange	(xmlNodePtr start)
+
+

Create a new xmlXPathObjectPtr of type range using a single nodes

+
++ + + + + + + + + + +
start:the starting and ending node
Returns:the newly created object.
+
+
+
+

+xmlXPtrNewContext ()

+
xmlXPathContextPtr	xmlXPtrNewContext	(xmlDocPtr doc, 
xmlNodePtr here,
xmlNodePtr origin)
+
+

Create a new XPointer context

+
++ + + + + + + + + + + + + + + + + + +
doc:the XML document
here:the node that directly contains the XPointer being evaluated or NULL
origin:the element from which a user or program initiated traversal of the link, or NULL.
Returns:the xmlXPathContext just allocated.
+
+
+
+

+xmlXPtrNewLocationSetNodeSet ()

+
xmlXPathObjectPtr	xmlXPtrNewLocationSetNodeSet	(xmlNodeSetPtr set)
+
+

Create a new xmlXPathObjectPtr of type LocationSet and initialize it with all the nodes from @set

+
++ + + + + + + + + + +
set:a node set
Returns:the newly created object.
+
+
+
+

+xmlXPtrNewLocationSetNodes ()

+
xmlXPathObjectPtr	xmlXPtrNewLocationSetNodes	(xmlNodePtr start, 
xmlNodePtr end)
+
+

Create a new xmlXPathObjectPtr of type LocationSet and initialize it with the single range made of the two nodes @start and @end

+
++ + + + + + + + + + + + + + +
start:the start NodePtr value
end:the end NodePtr value or NULL
Returns:the newly created object.
+
+
+
+

+xmlXPtrNewRange ()

+
xmlXPathObjectPtr	xmlXPtrNewRange	(xmlNodePtr start, 
int startindex,
xmlNodePtr end,
int endindex)
+
+

Create a new xmlXPathObjectPtr of type range

+
++ + + + + + + + + + + + + + + + + + + + + + +
start:the starting node
startindex:the start index
end:the ending point
endindex:the ending index
Returns:the newly created object.
+
+
+
+

+xmlXPtrNewRangeNodeObject ()

+
xmlXPathObjectPtr	xmlXPtrNewRangeNodeObject	(xmlNodePtr start, 
xmlXPathObjectPtr end)
+
+

Create a new xmlXPathObjectPtr of type range from a not to an object

+
++ + + + + + + + + + + + + + +
start:the starting node
end:the ending object
Returns:the newly created object.
+
+
+
+

+xmlXPtrNewRangeNodePoint ()

+
xmlXPathObjectPtr	xmlXPtrNewRangeNodePoint	(xmlNodePtr start, 
xmlXPathObjectPtr end)
+
+

Create a new xmlXPathObjectPtr of type range from a node to a point

+
++ + + + + + + + + + + + + + +
start:the starting node
end:the ending point
Returns:the newly created object.
+
+
+
+

+xmlXPtrNewRangeNodes ()

+
xmlXPathObjectPtr	xmlXPtrNewRangeNodes	(xmlNodePtr start, 
xmlNodePtr end)
+
+

Create a new xmlXPathObjectPtr of type range using 2 nodes

+
++ + + + + + + + + + + + + + +
start:the starting node
end:the ending node
Returns:the newly created object.
+
+
+
+

+xmlXPtrNewRangePointNode ()

+
xmlXPathObjectPtr	xmlXPtrNewRangePointNode	(xmlXPathObjectPtr start, 
xmlNodePtr end)
+
+

Create a new xmlXPathObjectPtr of type range from a point to a node

+
++ + + + + + + + + + + + + + +
start:the starting point
end:the ending node
Returns:the newly created object.
+
+
+
+

+xmlXPtrNewRangePoints ()

+
xmlXPathObjectPtr	xmlXPtrNewRangePoints	(xmlXPathObjectPtr start, 
xmlXPathObjectPtr end)
+
+

Create a new xmlXPathObjectPtr of type range using 2 Points

+
++ + + + + + + + + + + + + + +
start:the starting point
end:the ending point
Returns:the newly created object.
+
+
+
+

+xmlXPtrRangeToFunction ()

+
void	xmlXPtrRangeToFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
+
+

Implement the range-to() XPointer function Obsolete. range-to is not a real function but a special type of location step which is handled in xpath.c.

+
++ + + + + + + + + + +
ctxt:the XPointer Parser context
nargs:the number of args
+
+
+
+

+xmlXPtrWrapLocationSet ()

+
xmlXPathObjectPtr	xmlXPtrWrapLocationSet	(xmlLocationSetPtr val)
+
+

Wrap the LocationSet @val in a new xmlXPathObjectPtr

+
++ + + + + + + + + + +
val:the LocationSet value
Returns:the newly created object.
+
+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xzlib.html b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xzlib.html new file mode 100644 index 0000000000000000000000000000000000000000..89507c5b4919cc44c07754b772f1e02da9fa38e5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2-xzlib.html @@ -0,0 +1,62 @@ + + + + + xzlib: + + + + + + + + + + + + + + + +

+ xzlib +

+

xzlib -

+

+

Author(s):

+
+

Synopsis

+
#define LIBXML2_XZLIB_H;
+typedef void * xzFile;
+
+
+
+

Description

+
+
+

Details

+
+

Macro LIBXML2_XZLIB_H

#define LIBXML2_XZLIB_H;
+

+

+
+

Typedef xzFile

void * xzFile;
+

+

+
+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2.devhelp2 b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2.devhelp2 new file mode 100644 index 0000000000000000000000000000000000000000..4076f9652fc492106c6f6f21eab5f9dddee9ad83 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/libxml2.devhelp2 @@ -0,0 +1,3564 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/meson.build b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/meson.build new file mode 100644 index 0000000000000000000000000000000000000000..1b204bba768530b92a2ba14ac22647c77fa95f06 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/meson.build @@ -0,0 +1,61 @@ + +html_files = files( + 'general.html', + 'index.html', +) + +html_modules = files( + 'libxml2-HTMLparser.html', + 'libxml2-HTMLtree.html', + 'libxml2-SAX.html', + 'libxml2-SAX2.html', + 'libxml2-c14n.html', + 'libxml2-catalog.html', + 'libxml2-chvalid.html', + 'libxml2-debugXML.html', + 'libxml2-dict.html', + 'libxml2-encoding.html', + 'libxml2-entities.html', + 'libxml2-globals.html', + 'libxml2-hash.html', + 'libxml2-list.html', + 'libxml2-nanoftp.html', + 'libxml2-nanohttp.html', + 'libxml2-parser.html', + 'libxml2-parserInternals.html', + 'libxml2-pattern.html', + 'libxml2-relaxng.html', + 'libxml2-schemasInternals.html', + 'libxml2-schematron.html', + 'libxml2-threads.html', + 'libxml2-tree.html', + 'libxml2-uri.html', + 'libxml2-valid.html', + 'libxml2-xinclude.html', + 'libxml2-xlink.html', + 'libxml2-xmlIO.html', + 'libxml2-xmlautomata.html', + 'libxml2-xmlerror.html', + 'libxml2-xmlexports.html', + 'libxml2-xmlmemory.html', + 'libxml2-xmlmodule.html', + 'libxml2-xmlreader.html', + 'libxml2-xmlregexp.html', + 'libxml2-xmlsave.html', + 'libxml2-xmlschemas.html', + 'libxml2-xmlschemastypes.html', + 'libxml2-xmlstring.html', + 'libxml2-xmlunicode.html', + 'libxml2-xmlversion.html', + 'libxml2-xmlwriter.html', + 'libxml2-xpath.html', + 'libxml2-xpathInternals.html', + 'libxml2-xpointer.html', + 'libxml2.devhelp2', +) + +extra_files = files('home.png', 'left.png', 'right.png', 'style.css', 'up.png') + +devhelp = [html_files, html_modules, extra_files] + +install_data(devhelp, install_dir: dir_data / 'gtk-doc' / 'html' / 'libxml2') diff --git a/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/style.css b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/style.css new file mode 100644 index 0000000000000000000000000000000000000000..c9cabe78301d43a1335ccbfac61aebf05a86ca09 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/doc/devhelp/style.css @@ -0,0 +1,66 @@ +.synopsis, .classsynopsis +{ + background: #eeeeee; + border: solid 1px #aaaaaa; + padding: 0.5em; +} +.programlisting +{ + background: #eeeeff; + border: solid 1px #aaaaff; + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} +table.navigation +{ + background: #ffeeee; + border: solid 1px #ffaaaa; + margin-top: 0.5em; + margin-bottom: 0.5em; +} +.navigation a +{ + color: #770000; +} +.navigation a:visited +{ + color: #550000; +} +.navigation .title +{ + font-size: 200%; +} +div.refnamediv +{ + margin-top: 2em; +} +div.gallery-float +{ + float: left; + padding: 10px; +} +div.gallery-float img +{ + border-style: none; +} +div.gallery-spacer +{ + clear: both; +} +a +{ + text-decoration: none; +} +a:hover +{ + text-decoration: underline; + color: #FF0000; +} diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/HTMLparser.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/HTMLparser.h new file mode 100644 index 0000000000000000000000000000000000000000..116b0cf15cef976dd400cb1474fd847a32f88520 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/HTMLparser.h @@ -0,0 +1,339 @@ +/* + * Summary: interface for an HTML 4.0 non-verifying parser + * Description: this module implements an HTML 4.0 non-verifying parser + * with API compatible with the XML parser ones. It should + * be able to parse "real world" HTML, even if severely + * broken from a specification point of view. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __HTML_PARSER_H__ +#define __HTML_PARSER_H__ +#include +#include + +#ifdef LIBXML_HTML_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Most of the back-end structures from XML and HTML are shared. + */ +typedef xmlParserCtxt htmlParserCtxt; +typedef xmlParserCtxtPtr htmlParserCtxtPtr; +typedef xmlParserNodeInfo htmlParserNodeInfo; +typedef xmlSAXHandler htmlSAXHandler; +typedef xmlSAXHandlerPtr htmlSAXHandlerPtr; +typedef xmlParserInput htmlParserInput; +typedef xmlParserInputPtr htmlParserInputPtr; +typedef xmlDocPtr htmlDocPtr; +typedef xmlNodePtr htmlNodePtr; + +/* + * Internal description of an HTML element, representing HTML 4.01 + * and XHTML 1.0 (which share the same structure). + */ +typedef struct _htmlElemDesc htmlElemDesc; +typedef htmlElemDesc *htmlElemDescPtr; +struct _htmlElemDesc { + const char *name; /* The tag name */ + char startTag; /* unused */ + char endTag; /* Whether the end tag can be implied */ + char saveEndTag; /* Whether the end tag should be saved */ + char empty; /* Is this an empty element ? */ + char depr; /* unused */ + char dtd; /* unused */ + char isinline; /* is this a block 0 or inline 1 element */ + const char *desc; /* the description */ + + const char** subelts XML_DEPRECATED_MEMBER; + const char* defaultsubelt XML_DEPRECATED_MEMBER; + const char** attrs_opt XML_DEPRECATED_MEMBER; + const char** attrs_depr XML_DEPRECATED_MEMBER; + const char** attrs_req XML_DEPRECATED_MEMBER; + + int dataMode; +}; + +/* + * Internal description of an HTML entity. + */ +typedef struct _htmlEntityDesc htmlEntityDesc; +typedef htmlEntityDesc *htmlEntityDescPtr; +struct _htmlEntityDesc { + unsigned int value; /* the UNICODE value for the character */ + const char *name; /* The entity name */ + const char *desc; /* the description */ +}; + +#ifdef LIBXML_SAX1_ENABLED + +XML_DEPRECATED +XMLPUBVAR const xmlSAXHandlerV1 htmlDefaultSAXHandler; + +#ifdef LIBXML_THREAD_ENABLED +XML_DEPRECATED +XMLPUBFUN const xmlSAXHandlerV1 *__htmlDefaultSAXHandler(void); +#endif + +#endif /* LIBXML_SAX1_ENABLED */ + +/* + * There is only few public functions. + */ +XML_DEPRECATED +XMLPUBFUN void + htmlInitAutoClose (void); +XMLPUBFUN const htmlElemDesc * + htmlTagLookup (const xmlChar *tag); +XMLPUBFUN const htmlEntityDesc * + htmlEntityLookup(const xmlChar *name); +XMLPUBFUN const htmlEntityDesc * + htmlEntityValueLookup(unsigned int value); + +XML_DEPRECATED +XMLPUBFUN int + htmlIsAutoClosed(htmlDocPtr doc, + htmlNodePtr elem); +XML_DEPRECATED +XMLPUBFUN int + htmlAutoCloseTag(htmlDocPtr doc, + const xmlChar *name, + htmlNodePtr elem); +XML_DEPRECATED +XMLPUBFUN const htmlEntityDesc * + htmlParseEntityRef(htmlParserCtxtPtr ctxt, + const xmlChar **str); +XML_DEPRECATED +XMLPUBFUN int + htmlParseCharRef(htmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + htmlParseElement(htmlParserCtxtPtr ctxt); + +XMLPUBFUN htmlParserCtxtPtr + htmlNewParserCtxt(void); +XMLPUBFUN htmlParserCtxtPtr + htmlNewSAXParserCtxt(const htmlSAXHandler *sax, + void *userData); + +XMLPUBFUN htmlParserCtxtPtr + htmlCreateMemoryParserCtxt(const char *buffer, + int size); + +XMLPUBFUN int + htmlParseDocument(htmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN htmlDocPtr + htmlSAXParseDoc (const xmlChar *cur, + const char *encoding, + htmlSAXHandlerPtr sax, + void *userData); +XMLPUBFUN htmlDocPtr + htmlParseDoc (const xmlChar *cur, + const char *encoding); +XMLPUBFUN htmlParserCtxtPtr + htmlCreateFileParserCtxt(const char *filename, + const char *encoding); +XML_DEPRECATED +XMLPUBFUN htmlDocPtr + htmlSAXParseFile(const char *filename, + const char *encoding, + htmlSAXHandlerPtr sax, + void *userData); +XMLPUBFUN htmlDocPtr + htmlParseFile (const char *filename, + const char *encoding); +XMLPUBFUN int + UTF8ToHtml (unsigned char *out, + int *outlen, + const unsigned char *in, + int *inlen); +XMLPUBFUN int + htmlEncodeEntities(unsigned char *out, + int *outlen, + const unsigned char *in, + int *inlen, int quoteChar); +XMLPUBFUN int + htmlIsScriptAttribute(const xmlChar *name); +XML_DEPRECATED +XMLPUBFUN int + htmlHandleOmittedElem(int val); + +#ifdef LIBXML_PUSH_ENABLED +/** + * Interfaces for the Push mode. + */ +XMLPUBFUN htmlParserCtxtPtr + htmlCreatePushParserCtxt(htmlSAXHandlerPtr sax, + void *user_data, + const char *chunk, + int size, + const char *filename, + xmlCharEncoding enc); +XMLPUBFUN int + htmlParseChunk (htmlParserCtxtPtr ctxt, + const char *chunk, + int size, + int terminate); +#endif /* LIBXML_PUSH_ENABLED */ + +XMLPUBFUN void + htmlFreeParserCtxt (htmlParserCtxtPtr ctxt); + +/* + * New set of simpler/more flexible APIs + */ +/** + * xmlParserOption: + * + * This is the set of XML parser options that can be passed down + * to the xmlReadDoc() and similar calls. + */ +typedef enum { + HTML_PARSE_RECOVER = 1<<0, /* No effect */ + HTML_PARSE_HTML5 = 1<<1, /* HTML5 support */ + HTML_PARSE_NODEFDTD = 1<<2, /* do not default a doctype if not found */ + HTML_PARSE_NOERROR = 1<<5, /* suppress error reports */ + HTML_PARSE_NOWARNING= 1<<6, /* suppress warning reports */ + HTML_PARSE_PEDANTIC = 1<<7, /* No effect */ + HTML_PARSE_NOBLANKS = 1<<8, /* remove blank nodes */ + HTML_PARSE_NONET = 1<<11,/* No effect */ + HTML_PARSE_NOIMPLIED= 1<<13,/* Do not add implied html/body... elements */ + HTML_PARSE_COMPACT = 1<<16,/* compact small text nodes */ + HTML_PARSE_HUGE = 1<<19,/* relax any hardcoded limit from the parser */ + HTML_PARSE_IGNORE_ENC=1<<21,/* ignore internal document encoding hint */ + HTML_PARSE_BIG_LINES= 1<<22 /* Store big lines numbers in text PSVI field */ +} htmlParserOption; + +XMLPUBFUN void + htmlCtxtReset (htmlParserCtxtPtr ctxt); +XMLPUBFUN int + htmlCtxtSetOptions (htmlParserCtxtPtr ctxt, + int options); +XMLPUBFUN int + htmlCtxtUseOptions (htmlParserCtxtPtr ctxt, + int options); +XMLPUBFUN htmlDocPtr + htmlReadDoc (const xmlChar *cur, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlReadFile (const char *URL, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlReadMemory (const char *buffer, + int size, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlReadFd (int fd, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlReadIO (xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlCtxtParseDocument (htmlParserCtxtPtr ctxt, + xmlParserInputPtr input); +XMLPUBFUN htmlDocPtr + htmlCtxtReadDoc (xmlParserCtxtPtr ctxt, + const xmlChar *cur, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlCtxtReadFile (xmlParserCtxtPtr ctxt, + const char *filename, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlCtxtReadMemory (xmlParserCtxtPtr ctxt, + const char *buffer, + int size, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlCtxtReadFd (xmlParserCtxtPtr ctxt, + int fd, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN htmlDocPtr + htmlCtxtReadIO (xmlParserCtxtPtr ctxt, + xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + const char *URL, + const char *encoding, + int options); + +/* deprecated content model + */ +typedef enum { + HTML_NA = 0 , /* something we don't check at all */ + HTML_INVALID = 0x1 , + HTML_DEPRECATED = 0x2 , + HTML_VALID = 0x4 , + HTML_REQUIRED = 0xc /* VALID bit set so ( & HTML_VALID ) is TRUE */ +} htmlStatus ; + +/* Using htmlElemDesc rather than name here, to emphasise the fact + that otherwise there's a lookup overhead +*/ +XML_DEPRECATED +XMLPUBFUN htmlStatus htmlAttrAllowed(const htmlElemDesc*, const xmlChar*, int) ; +XML_DEPRECATED +XMLPUBFUN int htmlElementAllowedHere(const htmlElemDesc*, const xmlChar*) ; +XML_DEPRECATED +XMLPUBFUN htmlStatus htmlElementStatusHere(const htmlElemDesc*, const htmlElemDesc*) ; +XML_DEPRECATED +XMLPUBFUN htmlStatus htmlNodeStatus(htmlNodePtr, int) ; +/** + * htmlDefaultSubelement: + * @elt: HTML element + * + * Returns the default subelement for this element + */ +#define htmlDefaultSubelement(elt) elt->defaultsubelt +/** + * htmlElementAllowedHereDesc: + * @parent: HTML parent element + * @elt: HTML element + * + * Checks whether an HTML element description may be a + * direct child of the specified element. + * + * Returns 1 if allowed; 0 otherwise. + */ +#define htmlElementAllowedHereDesc(parent,elt) \ + htmlElementAllowedHere((parent), (elt)->name) +/** + * htmlRequiredAttrs: + * @elt: HTML element + * + * Returns the attributes required for the specified element. + */ +#define htmlRequiredAttrs(elt) (elt)->attrs_req + + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_HTML_ENABLED */ +#endif /* __HTML_PARSER_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/HTMLtree.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/HTMLtree.h new file mode 100644 index 0000000000000000000000000000000000000000..065254f4dd339b95807a63f9af3daf157ad32262 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/HTMLtree.h @@ -0,0 +1,148 @@ +/* + * Summary: specific APIs to process HTML tree, especially serialization + * Description: this module implements a few function needed to process + * tree in an HTML specific way. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __HTML_TREE_H__ +#define __HTML_TREE_H__ + +#include +#include +#include +#include + +#ifdef LIBXML_HTML_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + + +/** + * HTML_TEXT_NODE: + * + * Macro. A text node in a HTML document is really implemented + * the same way as a text node in an XML document. + */ +#define HTML_TEXT_NODE XML_TEXT_NODE +/** + * HTML_ENTITY_REF_NODE: + * + * Macro. An entity reference in a HTML document is really implemented + * the same way as an entity reference in an XML document. + */ +#define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE +/** + * HTML_COMMENT_NODE: + * + * Macro. A comment in a HTML document is really implemented + * the same way as a comment in an XML document. + */ +#define HTML_COMMENT_NODE XML_COMMENT_NODE +/** + * HTML_PRESERVE_NODE: + * + * Macro. A preserved node in a HTML document is really implemented + * the same way as a CDATA section in an XML document. + */ +#define HTML_PRESERVE_NODE XML_CDATA_SECTION_NODE +/** + * HTML_PI_NODE: + * + * Macro. A processing instruction in a HTML document is really implemented + * the same way as a processing instruction in an XML document. + */ +#define HTML_PI_NODE XML_PI_NODE + +XMLPUBFUN htmlDocPtr + htmlNewDoc (const xmlChar *URI, + const xmlChar *ExternalID); +XMLPUBFUN htmlDocPtr + htmlNewDocNoDtD (const xmlChar *URI, + const xmlChar *ExternalID); +XMLPUBFUN const xmlChar * + htmlGetMetaEncoding (htmlDocPtr doc); +XMLPUBFUN int + htmlSetMetaEncoding (htmlDocPtr doc, + const xmlChar *encoding); +#ifdef LIBXML_OUTPUT_ENABLED +XMLPUBFUN void + htmlDocDumpMemory (xmlDocPtr cur, + xmlChar **mem, + int *size); +XMLPUBFUN void + htmlDocDumpMemoryFormat (xmlDocPtr cur, + xmlChar **mem, + int *size, + int format); +XMLPUBFUN int + htmlDocDump (FILE *f, + xmlDocPtr cur); +XMLPUBFUN int + htmlSaveFile (const char *filename, + xmlDocPtr cur); +XMLPUBFUN int + htmlNodeDump (xmlBufferPtr buf, + xmlDocPtr doc, + xmlNodePtr cur); +XMLPUBFUN void + htmlNodeDumpFile (FILE *out, + xmlDocPtr doc, + xmlNodePtr cur); +XMLPUBFUN int + htmlNodeDumpFileFormat (FILE *out, + xmlDocPtr doc, + xmlNodePtr cur, + const char *encoding, + int format); +XMLPUBFUN int + htmlSaveFileEnc (const char *filename, + xmlDocPtr cur, + const char *encoding); +XMLPUBFUN int + htmlSaveFileFormat (const char *filename, + xmlDocPtr cur, + const char *encoding, + int format); + +XMLPUBFUN void + htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, + xmlDocPtr doc, + xmlNodePtr cur, + const char *encoding, + int format); +XMLPUBFUN void + htmlDocContentDumpOutput(xmlOutputBufferPtr buf, + xmlDocPtr cur, + const char *encoding); +XMLPUBFUN void + htmlDocContentDumpFormatOutput(xmlOutputBufferPtr buf, + xmlDocPtr cur, + const char *encoding, + int format); +XMLPUBFUN void + htmlNodeDumpOutput (xmlOutputBufferPtr buf, + xmlDocPtr doc, + xmlNodePtr cur, + const char *encoding); + +#endif /* LIBXML_OUTPUT_ENABLED */ + +XML_DEPRECATED +XMLPUBFUN int + htmlIsBooleanAttr (const xmlChar *name); + + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_HTML_ENABLED */ + +#endif /* __HTML_TREE_H__ */ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/Makefile.am b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..4451338dfed6e12c018d75df438a189a2da937f2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/Makefile.am @@ -0,0 +1,54 @@ +## Process this file with automake to produce Makefile.in + +xmlincdir = $(includedir)/libxml2/libxml + +xmlinc_HEADERS = \ + SAX.h \ + entities.h \ + encoding.h \ + parser.h \ + parserInternals.h \ + xmlerror.h \ + HTMLparser.h \ + HTMLtree.h \ + debugXML.h \ + tree.h \ + list.h \ + hash.h \ + xpath.h \ + xpathInternals.h \ + xpointer.h \ + xinclude.h \ + xmlIO.h \ + xmlmemory.h \ + nanohttp.h \ + nanoftp.h \ + uri.h \ + valid.h \ + xlink.h \ + catalog.h \ + threads.h \ + globals.h \ + c14n.h \ + xmlautomata.h \ + xmlregexp.h \ + xmlmodule.h \ + xmlschemas.h \ + schemasInternals.h \ + xmlschemastypes.h \ + xmlstring.h \ + xmlunicode.h \ + xmlreader.h \ + relaxng.h \ + dict.h \ + SAX2.h \ + xmlexports.h \ + xmlwriter.h \ + chvalid.h \ + pattern.h \ + xmlsave.h \ + schematron.h + +nodist_xmlinc_HEADERS = xmlversion.h + +EXTRA_DIST = xmlversion.h.in meson.build diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/SAX.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/SAX.h new file mode 100644 index 0000000000000000000000000000000000000000..178005b56425a13043caafa1ea71ee30cfb1fc17 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/SAX.h @@ -0,0 +1,14 @@ +/* + * Summary: Old SAX version 1 handler, deprecated + * Description: DEPRECATED set of SAX version 1 interfaces used to + * build the DOM tree. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_SAX_H__ +#define __XML_SAX_H__ + +#endif /* __XML_SAX_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/SAX2.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/SAX2.h new file mode 100644 index 0000000000000000000000000000000000000000..657acb023ee7a0eeca9ce97ff9e3a75146a16181 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/SAX2.h @@ -0,0 +1,170 @@ +/* + * Summary: SAX2 parser interface used to build the DOM tree + * Description: those are the default SAX2 interfaces used by + * the library when building DOM tree. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + + +#ifndef __XML_SAX2_H__ +#define __XML_SAX2_H__ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif +XMLPUBFUN const xmlChar * + xmlSAX2GetPublicId (void *ctx); +XMLPUBFUN const xmlChar * + xmlSAX2GetSystemId (void *ctx); +XMLPUBFUN void + xmlSAX2SetDocumentLocator (void *ctx, + xmlSAXLocatorPtr loc); + +XMLPUBFUN int + xmlSAX2GetLineNumber (void *ctx); +XMLPUBFUN int + xmlSAX2GetColumnNumber (void *ctx); + +XMLPUBFUN int + xmlSAX2IsStandalone (void *ctx); +XMLPUBFUN int + xmlSAX2HasInternalSubset (void *ctx); +XMLPUBFUN int + xmlSAX2HasExternalSubset (void *ctx); + +XMLPUBFUN void + xmlSAX2InternalSubset (void *ctx, + const xmlChar *name, + const xmlChar *ExternalID, + const xmlChar *SystemID); +XMLPUBFUN void + xmlSAX2ExternalSubset (void *ctx, + const xmlChar *name, + const xmlChar *ExternalID, + const xmlChar *SystemID); +XMLPUBFUN xmlEntityPtr + xmlSAX2GetEntity (void *ctx, + const xmlChar *name); +XMLPUBFUN xmlEntityPtr + xmlSAX2GetParameterEntity (void *ctx, + const xmlChar *name); +XMLPUBFUN xmlParserInputPtr + xmlSAX2ResolveEntity (void *ctx, + const xmlChar *publicId, + const xmlChar *systemId); + +XMLPUBFUN void + xmlSAX2EntityDecl (void *ctx, + const xmlChar *name, + int type, + const xmlChar *publicId, + const xmlChar *systemId, + xmlChar *content); +XMLPUBFUN void + xmlSAX2AttributeDecl (void *ctx, + const xmlChar *elem, + const xmlChar *fullname, + int type, + int def, + const xmlChar *defaultValue, + xmlEnumerationPtr tree); +XMLPUBFUN void + xmlSAX2ElementDecl (void *ctx, + const xmlChar *name, + int type, + xmlElementContentPtr content); +XMLPUBFUN void + xmlSAX2NotationDecl (void *ctx, + const xmlChar *name, + const xmlChar *publicId, + const xmlChar *systemId); +XMLPUBFUN void + xmlSAX2UnparsedEntityDecl (void *ctx, + const xmlChar *name, + const xmlChar *publicId, + const xmlChar *systemId, + const xmlChar *notationName); + +XMLPUBFUN void + xmlSAX2StartDocument (void *ctx); +XMLPUBFUN void + xmlSAX2EndDocument (void *ctx); +XML_DEPRECATED +XMLPUBFUN void + xmlSAX2StartElement (void *ctx, + const xmlChar *fullname, + const xmlChar **atts); +XML_DEPRECATED +XMLPUBFUN void + xmlSAX2EndElement (void *ctx, + const xmlChar *name); +XMLPUBFUN void + xmlSAX2StartElementNs (void *ctx, + const xmlChar *localname, + const xmlChar *prefix, + const xmlChar *URI, + int nb_namespaces, + const xmlChar **namespaces, + int nb_attributes, + int nb_defaulted, + const xmlChar **attributes); +XMLPUBFUN void + xmlSAX2EndElementNs (void *ctx, + const xmlChar *localname, + const xmlChar *prefix, + const xmlChar *URI); +XMLPUBFUN void + xmlSAX2Reference (void *ctx, + const xmlChar *name); +XMLPUBFUN void + xmlSAX2Characters (void *ctx, + const xmlChar *ch, + int len); +XMLPUBFUN void + xmlSAX2IgnorableWhitespace (void *ctx, + const xmlChar *ch, + int len); +XMLPUBFUN void + xmlSAX2ProcessingInstruction (void *ctx, + const xmlChar *target, + const xmlChar *data); +XMLPUBFUN void + xmlSAX2Comment (void *ctx, + const xmlChar *value); +XMLPUBFUN void + xmlSAX2CDataBlock (void *ctx, + const xmlChar *value, + int len); + +#ifdef LIBXML_SAX1_ENABLED +XML_DEPRECATED +XMLPUBFUN int + xmlSAXDefaultVersion (int version); +#endif /* LIBXML_SAX1_ENABLED */ + +XMLPUBFUN int + xmlSAXVersion (xmlSAXHandler *hdlr, + int version); +XMLPUBFUN void + xmlSAX2InitDefaultSAXHandler (xmlSAXHandler *hdlr, + int warning); +#ifdef LIBXML_HTML_ENABLED +XMLPUBFUN void + xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr); +XML_DEPRECATED +XMLPUBFUN void + htmlDefaultSAXHandlerInit (void); +#endif +XML_DEPRECATED +XMLPUBFUN void + xmlDefaultSAXHandlerInit (void); +#ifdef __cplusplus +} +#endif +#endif /* __XML_SAX2_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/c14n.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/c14n.h new file mode 100644 index 0000000000000000000000000000000000000000..8ccd1cef632e920751aefa6a8b112e2be660bc2d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/c14n.h @@ -0,0 +1,115 @@ +/* + * Summary: Provide Canonical XML and Exclusive XML Canonicalization + * Description: the c14n modules provides a + * + * "Canonical XML" implementation + * http://www.w3.org/TR/xml-c14n + * + * and an + * + * "Exclusive XML Canonicalization" implementation + * http://www.w3.org/TR/xml-exc-c14n + + * Copy: See Copyright for the status of this software. + * + * Author: Aleksey Sanin + */ +#ifndef __XML_C14N_H__ +#define __XML_C14N_H__ + +#include + +#ifdef LIBXML_C14N_ENABLED + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/* + * XML Canonicalization + * http://www.w3.org/TR/xml-c14n + * + * Exclusive XML Canonicalization + * http://www.w3.org/TR/xml-exc-c14n + * + * Canonical form of an XML document could be created if and only if + * a) default attributes (if any) are added to all nodes + * b) all character and parsed entity references are resolved + * In order to achieve this in libxml2 the document MUST be loaded with + * following options: XML_PARSE_DTDATTR | XML_PARSE_NOENT + */ + +/* + * xmlC14NMode: + * + * Predefined values for C14N modes + * + */ +typedef enum { + XML_C14N_1_0 = 0, /* Original C14N 1.0 spec */ + XML_C14N_EXCLUSIVE_1_0 = 1, /* Exclusive C14N 1.0 spec */ + XML_C14N_1_1 = 2 /* C14N 1.1 spec */ +} xmlC14NMode; + +XMLPUBFUN int + xmlC14NDocSaveTo (xmlDocPtr doc, + xmlNodeSetPtr nodes, + int mode, /* a xmlC14NMode */ + xmlChar **inclusive_ns_prefixes, + int with_comments, + xmlOutputBufferPtr buf); + +XMLPUBFUN int + xmlC14NDocDumpMemory (xmlDocPtr doc, + xmlNodeSetPtr nodes, + int mode, /* a xmlC14NMode */ + xmlChar **inclusive_ns_prefixes, + int with_comments, + xmlChar **doc_txt_ptr); + +XMLPUBFUN int + xmlC14NDocSave (xmlDocPtr doc, + xmlNodeSetPtr nodes, + int mode, /* a xmlC14NMode */ + xmlChar **inclusive_ns_prefixes, + int with_comments, + const char* filename, + int compression); + + +/** + * This is the core C14N function + */ +/** + * xmlC14NIsVisibleCallback: + * @user_data: user data + * @node: the current node + * @parent: the parent node + * + * Signature for a C14N callback on visible nodes + * + * Returns 1 if the node should be included + */ +typedef int (*xmlC14NIsVisibleCallback) (void* user_data, + xmlNodePtr node, + xmlNodePtr parent); + +XMLPUBFUN int + xmlC14NExecute (xmlDocPtr doc, + xmlC14NIsVisibleCallback is_visible_callback, + void* user_data, + int mode, /* a xmlC14NMode */ + xmlChar **inclusive_ns_prefixes, + int with_comments, + xmlOutputBufferPtr buf); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* LIBXML_C14N_ENABLED */ +#endif /* __XML_C14N_H__ */ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/catalog.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/catalog.h new file mode 100644 index 0000000000000000000000000000000000000000..442092a4ba30eabb0b108de5815cca1ecbe8342e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/catalog.h @@ -0,0 +1,183 @@ +/** + * Summary: interfaces to the Catalog handling system + * Description: the catalog module implements the support for + * XML Catalogs and SGML catalogs + * + * SGML Open Technical Resolution TR9401:1997. + * http://www.jclark.com/sp/catalog.htm + * + * XML Catalogs Working Draft 06 August 2001 + * http://www.oasis-open.org/committees/entity/spec-2001-08-06.html + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_CATALOG_H__ +#define __XML_CATALOG_H__ + +#include + +#include +#include +#include + +#ifdef LIBXML_CATALOG_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * XML_CATALOGS_NAMESPACE: + * + * The namespace for the XML Catalogs elements. + */ +#define XML_CATALOGS_NAMESPACE \ + (const xmlChar *) "urn:oasis:names:tc:entity:xmlns:xml:catalog" +/** + * XML_CATALOG_PI: + * + * The specific XML Catalog Processing Instruction name. + */ +#define XML_CATALOG_PI \ + (const xmlChar *) "oasis-xml-catalog" + +/* + * The API is voluntarily limited to general cataloging. + */ +typedef enum { + XML_CATA_PREFER_NONE = 0, + XML_CATA_PREFER_PUBLIC = 1, + XML_CATA_PREFER_SYSTEM +} xmlCatalogPrefer; + +typedef enum { + XML_CATA_ALLOW_NONE = 0, + XML_CATA_ALLOW_GLOBAL = 1, + XML_CATA_ALLOW_DOCUMENT = 2, + XML_CATA_ALLOW_ALL = 3 +} xmlCatalogAllow; + +typedef struct _xmlCatalog xmlCatalog; +typedef xmlCatalog *xmlCatalogPtr; + +/* + * Operations on a given catalog. + */ +XMLPUBFUN xmlCatalogPtr + xmlNewCatalog (int sgml); +XMLPUBFUN xmlCatalogPtr + xmlLoadACatalog (const char *filename); +XMLPUBFUN xmlCatalogPtr + xmlLoadSGMLSuperCatalog (const char *filename); +XMLPUBFUN int + xmlConvertSGMLCatalog (xmlCatalogPtr catal); +XMLPUBFUN int + xmlACatalogAdd (xmlCatalogPtr catal, + const xmlChar *type, + const xmlChar *orig, + const xmlChar *replace); +XMLPUBFUN int + xmlACatalogRemove (xmlCatalogPtr catal, + const xmlChar *value); +XMLPUBFUN xmlChar * + xmlACatalogResolve (xmlCatalogPtr catal, + const xmlChar *pubID, + const xmlChar *sysID); +XMLPUBFUN xmlChar * + xmlACatalogResolveSystem(xmlCatalogPtr catal, + const xmlChar *sysID); +XMLPUBFUN xmlChar * + xmlACatalogResolvePublic(xmlCatalogPtr catal, + const xmlChar *pubID); +XMLPUBFUN xmlChar * + xmlACatalogResolveURI (xmlCatalogPtr catal, + const xmlChar *URI); +#ifdef LIBXML_OUTPUT_ENABLED +XMLPUBFUN void + xmlACatalogDump (xmlCatalogPtr catal, + FILE *out); +#endif /* LIBXML_OUTPUT_ENABLED */ +XMLPUBFUN void + xmlFreeCatalog (xmlCatalogPtr catal); +XMLPUBFUN int + xmlCatalogIsEmpty (xmlCatalogPtr catal); + +/* + * Global operations. + */ +XMLPUBFUN void + xmlInitializeCatalog (void); +XMLPUBFUN int + xmlLoadCatalog (const char *filename); +XMLPUBFUN void + xmlLoadCatalogs (const char *paths); +XMLPUBFUN void + xmlCatalogCleanup (void); +#ifdef LIBXML_OUTPUT_ENABLED +XMLPUBFUN void + xmlCatalogDump (FILE *out); +#endif /* LIBXML_OUTPUT_ENABLED */ +XMLPUBFUN xmlChar * + xmlCatalogResolve (const xmlChar *pubID, + const xmlChar *sysID); +XMLPUBFUN xmlChar * + xmlCatalogResolveSystem (const xmlChar *sysID); +XMLPUBFUN xmlChar * + xmlCatalogResolvePublic (const xmlChar *pubID); +XMLPUBFUN xmlChar * + xmlCatalogResolveURI (const xmlChar *URI); +XMLPUBFUN int + xmlCatalogAdd (const xmlChar *type, + const xmlChar *orig, + const xmlChar *replace); +XMLPUBFUN int + xmlCatalogRemove (const xmlChar *value); +XMLPUBFUN xmlDocPtr + xmlParseCatalogFile (const char *filename); +XMLPUBFUN int + xmlCatalogConvert (void); + +/* + * Strictly minimal interfaces for per-document catalogs used + * by the parser. + */ +XMLPUBFUN void + xmlCatalogFreeLocal (void *catalogs); +XMLPUBFUN void * + xmlCatalogAddLocal (void *catalogs, + const xmlChar *URL); +XMLPUBFUN xmlChar * + xmlCatalogLocalResolve (void *catalogs, + const xmlChar *pubID, + const xmlChar *sysID); +XMLPUBFUN xmlChar * + xmlCatalogLocalResolveURI(void *catalogs, + const xmlChar *URI); +/* + * Preference settings. + */ +XMLPUBFUN int + xmlCatalogSetDebug (int level); +XML_DEPRECATED +XMLPUBFUN xmlCatalogPrefer + xmlCatalogSetDefaultPrefer(xmlCatalogPrefer prefer); +XMLPUBFUN void + xmlCatalogSetDefaults (xmlCatalogAllow allow); +XMLPUBFUN xmlCatalogAllow + xmlCatalogGetDefaults (void); + + +/* DEPRECATED interfaces */ +XMLPUBFUN const xmlChar * + xmlCatalogGetSystem (const xmlChar *sysID); +XMLPUBFUN const xmlChar * + xmlCatalogGetPublic (const xmlChar *pubID); + +#ifdef __cplusplus +} +#endif +#endif /* LIBXML_CATALOG_ENABLED */ +#endif /* __XML_CATALOG_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/chvalid.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/chvalid.h new file mode 100644 index 0000000000000000000000000000000000000000..8225c95ee865f9639f46bd22db54932f257df52c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/chvalid.h @@ -0,0 +1,230 @@ +/* + * Summary: Unicode character range checking + * Description: this module exports interfaces for the character + * range validation APIs + * + * This file is automatically generated from the cvs source + * definition files using the genChRanges.py Python script + * + * Generation date: Mon Mar 27 11:09:48 2006 + * Sources: chvalid.def + * Author: William Brack + */ + +#ifndef __XML_CHVALID_H__ +#define __XML_CHVALID_H__ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Define our typedefs and structures + * + */ +typedef struct _xmlChSRange xmlChSRange; +typedef xmlChSRange *xmlChSRangePtr; +struct _xmlChSRange { + unsigned short low; + unsigned short high; +}; + +typedef struct _xmlChLRange xmlChLRange; +typedef xmlChLRange *xmlChLRangePtr; +struct _xmlChLRange { + unsigned int low; + unsigned int high; +}; + +typedef struct _xmlChRangeGroup xmlChRangeGroup; +typedef xmlChRangeGroup *xmlChRangeGroupPtr; +struct _xmlChRangeGroup { + int nbShortRange; + int nbLongRange; + const xmlChSRange *shortRange; /* points to an array of ranges */ + const xmlChLRange *longRange; +}; + +/** + * Range checking routine + */ +XMLPUBFUN int + xmlCharInRange(unsigned int val, const xmlChRangeGroup *group); + + +/** + * xmlIsBaseChar_ch: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsBaseChar_ch(c) (((0x41 <= (c)) && ((c) <= 0x5a)) || \ + ((0x61 <= (c)) && ((c) <= 0x7a)) || \ + ((0xc0 <= (c)) && ((c) <= 0xd6)) || \ + ((0xd8 <= (c)) && ((c) <= 0xf6)) || \ + (0xf8 <= (c))) + +/** + * xmlIsBaseCharQ: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsBaseCharQ(c) (((c) < 0x100) ? \ + xmlIsBaseChar_ch((c)) : \ + xmlCharInRange((c), &xmlIsBaseCharGroup)) + +XMLPUBVAR const xmlChRangeGroup xmlIsBaseCharGroup; + +/** + * xmlIsBlank_ch: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsBlank_ch(c) (((c) == 0x20) || \ + ((0x9 <= (c)) && ((c) <= 0xa)) || \ + ((c) == 0xd)) + +/** + * xmlIsBlankQ: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsBlankQ(c) (((c) < 0x100) ? \ + xmlIsBlank_ch((c)) : 0) + + +/** + * xmlIsChar_ch: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsChar_ch(c) (((0x9 <= (c)) && ((c) <= 0xa)) || \ + ((c) == 0xd) || \ + (0x20 <= (c))) + +/** + * xmlIsCharQ: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsCharQ(c) (((c) < 0x100) ? \ + xmlIsChar_ch((c)) :\ + (((0x100 <= (c)) && ((c) <= 0xd7ff)) || \ + ((0xe000 <= (c)) && ((c) <= 0xfffd)) || \ + ((0x10000 <= (c)) && ((c) <= 0x10ffff)))) + +XMLPUBVAR const xmlChRangeGroup xmlIsCharGroup; + +/** + * xmlIsCombiningQ: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsCombiningQ(c) (((c) < 0x100) ? \ + 0 : \ + xmlCharInRange((c), &xmlIsCombiningGroup)) + +XMLPUBVAR const xmlChRangeGroup xmlIsCombiningGroup; + +/** + * xmlIsDigit_ch: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsDigit_ch(c) (((0x30 <= (c)) && ((c) <= 0x39))) + +/** + * xmlIsDigitQ: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsDigitQ(c) (((c) < 0x100) ? \ + xmlIsDigit_ch((c)) : \ + xmlCharInRange((c), &xmlIsDigitGroup)) + +XMLPUBVAR const xmlChRangeGroup xmlIsDigitGroup; + +/** + * xmlIsExtender_ch: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsExtender_ch(c) (((c) == 0xb7)) + +/** + * xmlIsExtenderQ: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsExtenderQ(c) (((c) < 0x100) ? \ + xmlIsExtender_ch((c)) : \ + xmlCharInRange((c), &xmlIsExtenderGroup)) + +XMLPUBVAR const xmlChRangeGroup xmlIsExtenderGroup; + +/** + * xmlIsIdeographicQ: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsIdeographicQ(c) (((c) < 0x100) ? \ + 0 :\ + (((0x4e00 <= (c)) && ((c) <= 0x9fa5)) || \ + ((c) == 0x3007) || \ + ((0x3021 <= (c)) && ((c) <= 0x3029)))) + +XMLPUBVAR const xmlChRangeGroup xmlIsIdeographicGroup; +XMLPUBVAR const unsigned char xmlIsPubidChar_tab[256]; + +/** + * xmlIsPubidChar_ch: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsPubidChar_ch(c) (xmlIsPubidChar_tab[(c)]) + +/** + * xmlIsPubidCharQ: + * @c: char to validate + * + * Automatically generated by genChRanges.py + */ +#define xmlIsPubidCharQ(c) (((c) < 0x100) ? \ + xmlIsPubidChar_ch((c)) : 0) + +XMLPUBFUN int + xmlIsBaseChar(unsigned int ch); +XMLPUBFUN int + xmlIsBlank(unsigned int ch); +XMLPUBFUN int + xmlIsChar(unsigned int ch); +XMLPUBFUN int + xmlIsCombining(unsigned int ch); +XMLPUBFUN int + xmlIsDigit(unsigned int ch); +XMLPUBFUN int + xmlIsExtender(unsigned int ch); +XMLPUBFUN int + xmlIsIdeographic(unsigned int ch); +XMLPUBFUN int + xmlIsPubidChar(unsigned int ch); + +#ifdef __cplusplus +} +#endif +#endif /* __XML_CHVALID_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/debugXML.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/debugXML.h new file mode 100644 index 0000000000000000000000000000000000000000..55148d9d86e03681356f807470beed6c7726b5b6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/debugXML.h @@ -0,0 +1,79 @@ +/* + * Summary: Tree debugging APIs + * Description: Interfaces to a set of routines used for debugging the tree + * produced by the XML parser. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __DEBUG_XML__ +#define __DEBUG_XML__ +#include +#include +#include + +#ifdef LIBXML_DEBUG_ENABLED + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * The standard Dump routines. + */ +XMLPUBFUN void + xmlDebugDumpString (FILE *output, + const xmlChar *str); +XMLPUBFUN void + xmlDebugDumpAttr (FILE *output, + xmlAttrPtr attr, + int depth); +XMLPUBFUN void + xmlDebugDumpAttrList (FILE *output, + xmlAttrPtr attr, + int depth); +XMLPUBFUN void + xmlDebugDumpOneNode (FILE *output, + xmlNodePtr node, + int depth); +XMLPUBFUN void + xmlDebugDumpNode (FILE *output, + xmlNodePtr node, + int depth); +XMLPUBFUN void + xmlDebugDumpNodeList (FILE *output, + xmlNodePtr node, + int depth); +XMLPUBFUN void + xmlDebugDumpDocumentHead(FILE *output, + xmlDocPtr doc); +XMLPUBFUN void + xmlDebugDumpDocument (FILE *output, + xmlDocPtr doc); +XMLPUBFUN void + xmlDebugDumpDTD (FILE *output, + xmlDtdPtr dtd); +XMLPUBFUN void + xmlDebugDumpEntities (FILE *output, + xmlDocPtr doc); + +/**************************************************************** + * * + * Checking routines * + * * + ****************************************************************/ + +XMLPUBFUN int + xmlDebugCheckDocument (FILE * output, + xmlDocPtr doc); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_DEBUG_ENABLED */ +#endif /* __DEBUG_XML__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/dict.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/dict.h new file mode 100644 index 0000000000000000000000000000000000000000..22aa3d9db8b56b252b28c3ef17b814f6c6df44c0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/dict.h @@ -0,0 +1,82 @@ +/* + * Summary: string dictionary + * Description: dictionary of reusable strings, just used to avoid allocation + * and freeing operations. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_DICT_H__ +#define __XML_DICT_H__ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * The dictionary. + */ +typedef struct _xmlDict xmlDict; +typedef xmlDict *xmlDictPtr; + +/* + * Initializer + */ +XML_DEPRECATED +XMLPUBFUN int xmlInitializeDict(void); + +/* + * Constructor and destructor. + */ +XMLPUBFUN xmlDictPtr + xmlDictCreate (void); +XMLPUBFUN size_t + xmlDictSetLimit (xmlDictPtr dict, + size_t limit); +XMLPUBFUN size_t + xmlDictGetUsage (xmlDictPtr dict); +XMLPUBFUN xmlDictPtr + xmlDictCreateSub(xmlDictPtr sub); +XMLPUBFUN int + xmlDictReference(xmlDictPtr dict); +XMLPUBFUN void + xmlDictFree (xmlDictPtr dict); + +/* + * Lookup of entry in the dictionary. + */ +XMLPUBFUN const xmlChar * + xmlDictLookup (xmlDictPtr dict, + const xmlChar *name, + int len); +XMLPUBFUN const xmlChar * + xmlDictExists (xmlDictPtr dict, + const xmlChar *name, + int len); +XMLPUBFUN const xmlChar * + xmlDictQLookup (xmlDictPtr dict, + const xmlChar *prefix, + const xmlChar *name); +XMLPUBFUN int + xmlDictOwns (xmlDictPtr dict, + const xmlChar *str); +XMLPUBFUN int + xmlDictSize (xmlDictPtr dict); + +/* + * Cleanup function + */ +XML_DEPRECATED +XMLPUBFUN void + xmlDictCleanup (void); + +#ifdef __cplusplus +} +#endif +#endif /* ! __XML_DICT_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/encoding.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/encoding.h new file mode 100644 index 0000000000000000000000000000000000000000..293fb3f9e7a44cbf0ba29387180372225b45285b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/encoding.h @@ -0,0 +1,285 @@ +/* + * Summary: interface for the encoding conversion functions + * Description: interface for the encoding conversion functions needed for + * XML basic encoding and iconv() support. + * + * Related specs are + * rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies + * [ISO-10646] UTF-8 and UTF-16 in Annexes + * [ISO-8859-1] ISO Latin-1 characters codes. + * [UNICODE] The Unicode Consortium, "The Unicode Standard -- + * Worldwide Character Encoding -- Version 1.0", Addison- + * Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is + * described in Unicode Technical Report #4. + * [US-ASCII] Coded Character Set--7-bit American Standard Code for + * Information Interchange, ANSI X3.4-1986. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_CHAR_ENCODING_H__ +#define __XML_CHAR_ENCODING_H__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + XML_ENC_ERR_SUCCESS = 0, + XML_ENC_ERR_INTERNAL = -1, + XML_ENC_ERR_INPUT = -2, + XML_ENC_ERR_SPACE = -3, + XML_ENC_ERR_MEMORY = -4 +} xmlCharEncError; + +/* + * xmlCharEncoding: + * + * Predefined values for some standard encodings. + */ +typedef enum { + XML_CHAR_ENCODING_ERROR= -1, /* No char encoding detected */ + XML_CHAR_ENCODING_NONE= 0, /* No char encoding detected */ + XML_CHAR_ENCODING_UTF8= 1, /* UTF-8 */ + XML_CHAR_ENCODING_UTF16LE= 2, /* UTF-16 little endian */ + XML_CHAR_ENCODING_UTF16BE= 3, /* UTF-16 big endian */ + XML_CHAR_ENCODING_UCS4LE= 4, /* UCS-4 little endian */ + XML_CHAR_ENCODING_UCS4BE= 5, /* UCS-4 big endian */ + XML_CHAR_ENCODING_EBCDIC= 6, /* EBCDIC uh! */ + XML_CHAR_ENCODING_UCS4_2143=7, /* UCS-4 unusual ordering */ + XML_CHAR_ENCODING_UCS4_3412=8, /* UCS-4 unusual ordering */ + XML_CHAR_ENCODING_UCS2= 9, /* UCS-2 */ + XML_CHAR_ENCODING_8859_1= 10,/* ISO-8859-1 ISO Latin 1 */ + XML_CHAR_ENCODING_8859_2= 11,/* ISO-8859-2 ISO Latin 2 */ + XML_CHAR_ENCODING_8859_3= 12,/* ISO-8859-3 */ + XML_CHAR_ENCODING_8859_4= 13,/* ISO-8859-4 */ + XML_CHAR_ENCODING_8859_5= 14,/* ISO-8859-5 */ + XML_CHAR_ENCODING_8859_6= 15,/* ISO-8859-6 */ + XML_CHAR_ENCODING_8859_7= 16,/* ISO-8859-7 */ + XML_CHAR_ENCODING_8859_8= 17,/* ISO-8859-8 */ + XML_CHAR_ENCODING_8859_9= 18,/* ISO-8859-9 */ + XML_CHAR_ENCODING_2022_JP= 19,/* ISO-2022-JP */ + XML_CHAR_ENCODING_SHIFT_JIS=20,/* Shift_JIS */ + XML_CHAR_ENCODING_EUC_JP= 21,/* EUC-JP */ + XML_CHAR_ENCODING_ASCII= 22,/* pure ASCII */ + /* Available since 2.14.0 */ + XML_CHAR_ENCODING_UTF16= 23,/* UTF-16 native */ + XML_CHAR_ENCODING_HTML= 24,/* HTML (output only) */ + XML_CHAR_ENCODING_8859_10= 25,/* ISO-8859-10 */ + XML_CHAR_ENCODING_8859_11= 26,/* ISO-8859-11 */ + XML_CHAR_ENCODING_8859_13= 27,/* ISO-8859-13 */ + XML_CHAR_ENCODING_8859_14= 28,/* ISO-8859-14 */ + XML_CHAR_ENCODING_8859_15= 29,/* ISO-8859-15 */ + XML_CHAR_ENCODING_8859_16= 30 /* ISO-8859-16 */ +} xmlCharEncoding; + +/** + * xmlCharEncodingInputFunc: + * @out: a pointer to an array of bytes to store the UTF-8 result + * @outlen: the length of @out + * @in: a pointer to an array of chars in the original encoding + * @inlen: the length of @in + * + * Convert characters to UTF-8. + * + * On success, the value of @inlen after return is the number of + * bytes consumed and @outlen is the number of bytes produced. + * + * Returns the number of bytes written or an XML_ENC_ERR code. + */ +typedef int (*xmlCharEncodingInputFunc)(unsigned char *out, int *outlen, + const unsigned char *in, int *inlen); + + +/** + * xmlCharEncodingOutputFunc: + * @out: a pointer to an array of bytes to store the result + * @outlen: the length of @out + * @in: a pointer to an array of UTF-8 chars + * @inlen: the length of @in + * + * Convert characters from UTF-8. + * + * On success, the value of @inlen after return is the number of + * bytes consumed and @outlen is the number of bytes produced. + * + * Returns the number of bytes written or an XML_ENC_ERR code. + */ +typedef int (*xmlCharEncodingOutputFunc)(unsigned char *out, int *outlen, + const unsigned char *in, int *inlen); + + +/** + * xmlCharEncConvFunc: + * @vctxt: conversion context + * @out: a pointer to an array of bytes to store the result + * @outlen: the length of @out + * @in: a pointer to an array of input bytes + * @inlen: the length of @in + * + * Convert between character encodings. + * + * On success, the value of @inlen after return is the number of + * bytes consumed and @outlen is the number of bytes produced. + * + * Returns the number of bytes written or an XML_ENC_ERR code. + */ +typedef int +(*xmlCharEncConvFunc)(unsigned char *out, int *outlen, + const unsigned char *in, int *inlen, void *vctxt); + +/** + * xmlCharEncConvCtxtDtor: + * @vctxt: conversion context + * + * Free a conversion context. + */ +typedef void +(*xmlCharEncConvCtxtDtor)(void *vctxt); + +typedef struct { + xmlCharEncConvFunc input; + xmlCharEncConvFunc output; + xmlCharEncConvCtxtDtor ctxtDtor; + void *inputCtxt; + void *outputCtxt; +} xmlCharEncConverter; + +/** + * xmlCharEncConvImpl: + * vctxt: user data + * name: encoding name + * conv: pointer to xmlCharEncConverter struct + * + * If this function returns XML_ERR_OK, it must fill the @conv struct + * with a conversion function, and optional destructor and optional + * input and output conversion contexts. + * + * Returns an xmlParserErrors code. + */ +typedef int +(*xmlCharEncConvImpl)(void *vctxt, const char *name, + xmlCharEncConverter *conv); + +/* + * Block defining the handlers for non UTF-8 encodings. + * + * This structure will be made private. + */ +typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler; +typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr; +struct _xmlCharEncodingHandler { + char *name XML_DEPRECATED_MEMBER; + xmlCharEncodingInputFunc input XML_DEPRECATED_MEMBER; + xmlCharEncodingOutputFunc output XML_DEPRECATED_MEMBER; +#ifdef LIBXML_ICONV_ENABLED + void *iconv_in XML_DEPRECATED_MEMBER; + void *iconv_out XML_DEPRECATED_MEMBER; +#endif /* LIBXML_ICONV_ENABLED */ + void *inputCtxt XML_DEPRECATED_MEMBER; + void *outputCtxt XML_DEPRECATED_MEMBER; + xmlCharEncConvCtxtDtor ctxtDtor XML_DEPRECATED_MEMBER; + int flags XML_DEPRECATED_MEMBER; +}; + +/* + * Interfaces for encoding handlers. + */ +XML_DEPRECATED +XMLPUBFUN void + xmlInitCharEncodingHandlers (void); +XML_DEPRECATED +XMLPUBFUN void + xmlCleanupCharEncodingHandlers (void); +XMLPUBFUN void + xmlRegisterCharEncodingHandler (xmlCharEncodingHandlerPtr handler); +XMLPUBFUN int + xmlLookupCharEncodingHandler (xmlCharEncoding enc, + xmlCharEncodingHandlerPtr *out); +XMLPUBFUN int + xmlOpenCharEncodingHandler (const char *name, + int output, + xmlCharEncodingHandlerPtr *out); +XMLPUBFUN int + xmlCreateCharEncodingHandler (const char *name, + int output, + xmlCharEncConvImpl impl, + void *implCtxt, + xmlCharEncodingHandlerPtr *out); +XMLPUBFUN xmlCharEncodingHandlerPtr + xmlGetCharEncodingHandler (xmlCharEncoding enc); +XMLPUBFUN xmlCharEncodingHandlerPtr + xmlFindCharEncodingHandler (const char *name); +XMLPUBFUN xmlCharEncodingHandlerPtr + xmlNewCharEncodingHandler (const char *name, + xmlCharEncodingInputFunc input, + xmlCharEncodingOutputFunc output); + +/* + * Interfaces for encoding names and aliases. + */ +XMLPUBFUN int + xmlAddEncodingAlias (const char *name, + const char *alias); +XMLPUBFUN int + xmlDelEncodingAlias (const char *alias); +XMLPUBFUN const char * + xmlGetEncodingAlias (const char *alias); +XMLPUBFUN void + xmlCleanupEncodingAliases (void); +XMLPUBFUN xmlCharEncoding + xmlParseCharEncoding (const char *name); +XMLPUBFUN const char * + xmlGetCharEncodingName (xmlCharEncoding enc); + +/* + * Interfaces directly used by the parsers. + */ +XMLPUBFUN xmlCharEncoding + xmlDetectCharEncoding (const unsigned char *in, + int len); + +/** DOC_DISABLE */ +struct _xmlBuffer; +/** DOC_ENABLE */ +XMLPUBFUN int + xmlCharEncOutFunc (xmlCharEncodingHandler *handler, + struct _xmlBuffer *out, + struct _xmlBuffer *in); + +XMLPUBFUN int + xmlCharEncInFunc (xmlCharEncodingHandler *handler, + struct _xmlBuffer *out, + struct _xmlBuffer *in); +XML_DEPRECATED +XMLPUBFUN int + xmlCharEncFirstLine (xmlCharEncodingHandler *handler, + struct _xmlBuffer *out, + struct _xmlBuffer *in); +XMLPUBFUN int + xmlCharEncCloseFunc (xmlCharEncodingHandler *handler); + +/* + * Export a few useful functions + */ +#ifdef LIBXML_OUTPUT_ENABLED +XMLPUBFUN int + UTF8Toisolat1 (unsigned char *out, + int *outlen, + const unsigned char *in, + int *inlen); +#endif /* LIBXML_OUTPUT_ENABLED */ +XMLPUBFUN int + isolat1ToUTF8 (unsigned char *out, + int *outlen, + const unsigned char *in, + int *inlen); +#ifdef __cplusplus +} +#endif + +#endif /* __XML_CHAR_ENCODING_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/entities.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/entities.h new file mode 100644 index 0000000000000000000000000000000000000000..d17c36bebcb6c3b022bf52cb5b0a2946141cbba0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/entities.h @@ -0,0 +1,147 @@ +/* + * Summary: interface for the XML entities handling + * Description: this module provides some of the entity API needed + * for the parser and applications. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_ENTITIES_H__ +#define __XML_ENTITIES_H__ + +/** DOC_DISABLE */ +#include +#define XML_TREE_INTERNALS +#include +#undef XML_TREE_INTERNALS +/** DOC_ENABLE */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * The different valid entity types. + */ +typedef enum { + XML_INTERNAL_GENERAL_ENTITY = 1, + XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2, + XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3, + XML_INTERNAL_PARAMETER_ENTITY = 4, + XML_EXTERNAL_PARAMETER_ENTITY = 5, + XML_INTERNAL_PREDEFINED_ENTITY = 6 +} xmlEntityType; + +/* + * An unit of storage for an entity, contains the string, the value + * and the linkind data needed for the linking in the hash table. + */ + +struct _xmlEntity { + void *_private; /* application data */ + xmlElementType type; /* XML_ENTITY_DECL, must be second ! */ + const xmlChar *name; /* Entity name */ + struct _xmlNode *children; /* First child link */ + struct _xmlNode *last; /* Last child link */ + struct _xmlDtd *parent; /* -> DTD */ + struct _xmlNode *next; /* next sibling link */ + struct _xmlNode *prev; /* previous sibling link */ + struct _xmlDoc *doc; /* the containing document */ + + xmlChar *orig; /* content without ref substitution */ + xmlChar *content; /* content or ndata if unparsed */ + int length; /* the content length */ + xmlEntityType etype; /* The entity type */ + const xmlChar *ExternalID; /* External identifier for PUBLIC */ + const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */ + + struct _xmlEntity *nexte; /* unused */ + const xmlChar *URI; /* the full URI as computed */ + int owner; /* unused */ + int flags; /* various flags */ + unsigned long expandedSize; /* expanded size */ +}; + +/* + * All entities are stored in an hash table. + * There is 2 separate hash tables for global and parameter entities. + */ + +typedef struct _xmlHashTable xmlEntitiesTable; +typedef xmlEntitiesTable *xmlEntitiesTablePtr; + +/* + * External functions: + */ + +XMLPUBFUN xmlEntityPtr + xmlNewEntity (xmlDocPtr doc, + const xmlChar *name, + int type, + const xmlChar *ExternalID, + const xmlChar *SystemID, + const xmlChar *content); +XMLPUBFUN void + xmlFreeEntity (xmlEntityPtr entity); +XMLPUBFUN int + xmlAddEntity (xmlDocPtr doc, + int extSubset, + const xmlChar *name, + int type, + const xmlChar *ExternalID, + const xmlChar *SystemID, + const xmlChar *content, + xmlEntityPtr *out); +XMLPUBFUN xmlEntityPtr + xmlAddDocEntity (xmlDocPtr doc, + const xmlChar *name, + int type, + const xmlChar *ExternalID, + const xmlChar *SystemID, + const xmlChar *content); +XMLPUBFUN xmlEntityPtr + xmlAddDtdEntity (xmlDocPtr doc, + const xmlChar *name, + int type, + const xmlChar *ExternalID, + const xmlChar *SystemID, + const xmlChar *content); +XMLPUBFUN xmlEntityPtr + xmlGetPredefinedEntity (const xmlChar *name); +XMLPUBFUN xmlEntityPtr + xmlGetDocEntity (const xmlDoc *doc, + const xmlChar *name); +XMLPUBFUN xmlEntityPtr + xmlGetDtdEntity (xmlDocPtr doc, + const xmlChar *name); +XMLPUBFUN xmlEntityPtr + xmlGetParameterEntity (xmlDocPtr doc, + const xmlChar *name); +XMLPUBFUN xmlChar * + xmlEncodeEntitiesReentrant(xmlDocPtr doc, + const xmlChar *input); +XMLPUBFUN xmlChar * + xmlEncodeSpecialChars (const xmlDoc *doc, + const xmlChar *input); +XMLPUBFUN xmlEntitiesTablePtr + xmlCreateEntitiesTable (void); +XMLPUBFUN xmlEntitiesTablePtr + xmlCopyEntitiesTable (xmlEntitiesTablePtr table); +XMLPUBFUN void + xmlFreeEntitiesTable (xmlEntitiesTablePtr table); +#ifdef LIBXML_OUTPUT_ENABLED +XMLPUBFUN void + xmlDumpEntitiesTable (xmlBufferPtr buf, + xmlEntitiesTablePtr table); +XMLPUBFUN void + xmlDumpEntityDecl (xmlBufferPtr buf, + xmlEntityPtr ent); +#endif /* LIBXML_OUTPUT_ENABLED */ + +#ifdef __cplusplus +} +#endif + +# endif /* __XML_ENTITIES_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/globals.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/globals.h new file mode 100644 index 0000000000000000000000000000000000000000..92f41312f549efa176e48dd719c1652cfc21ef34 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/globals.h @@ -0,0 +1,41 @@ +/* + * Summary: interface for all global variables of the library + * Description: Deprecated, don't use + * + * Copy: See Copyright for the status of this software. + */ + +#ifndef __XML_GLOBALS_H +#define __XML_GLOBALS_H + +#include + +/* + * This file was required to access global variables until version v2.12.0. + * + * These includes are for backward compatibility. + */ +#include +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _xmlGlobalState xmlGlobalState; +typedef xmlGlobalState *xmlGlobalStatePtr; + +XML_DEPRECATED XMLPUBFUN void +xmlInitializeGlobalState(xmlGlobalStatePtr gs); +XML_DEPRECATED XMLPUBFUN +xmlGlobalStatePtr xmlGetGlobalState(void); + +#ifdef __cplusplus +} +#endif + +#endif /* __XML_GLOBALS_H */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/hash.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/hash.h new file mode 100644 index 0000000000000000000000000000000000000000..135b69669b38b65abc7ef51476ad532f2923042e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/hash.h @@ -0,0 +1,251 @@ +/* + * Summary: Chained hash tables + * Description: This module implements the hash table support used in + * various places in the library. + * + * Copy: See Copyright for the status of this software. + * + * Author: Bjorn Reese + */ + +#ifndef __XML_HASH_H__ +#define __XML_HASH_H__ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * The hash table. + */ +typedef struct _xmlHashTable xmlHashTable; +typedef xmlHashTable *xmlHashTablePtr; + +/* + * Recent version of gcc produce a warning when a function pointer is assigned + * to an object pointer, or vice versa. The following macro is a dirty hack + * to allow suppression of the warning. If your architecture has function + * pointers which are a different size than a void pointer, there may be some + * serious trouble within the library. + */ +/** + * XML_CAST_FPTR: + * @fptr: pointer to a function + * + * Macro to do a casting from an object pointer to a + * function pointer without encountering a warning from + * gcc + * + * #define XML_CAST_FPTR(fptr) (*(void **)(&fptr)) + * This macro violated ISO C aliasing rules (gcc4 on s390 broke) + * so it is disabled now + */ + +#define XML_CAST_FPTR(fptr) fptr + +/* + * function types: + */ +/** + * xmlHashDeallocator: + * @payload: the data in the hash + * @name: the name associated + * + * Callback to free data from a hash. + */ +typedef void (*xmlHashDeallocator)(void *payload, const xmlChar *name); +/** + * xmlHashCopier: + * @payload: the data in the hash + * @name: the name associated + * + * Callback to copy data from a hash. + * + * Returns a copy of the data or NULL in case of error. + */ +typedef void *(*xmlHashCopier)(void *payload, const xmlChar *name); +/** + * xmlHashScanner: + * @payload: the data in the hash + * @data: extra scanner data + * @name: the name associated + * + * Callback when scanning data in a hash with the simple scanner. + */ +typedef void (*xmlHashScanner)(void *payload, void *data, const xmlChar *name); +/** + * xmlHashScannerFull: + * @payload: the data in the hash + * @data: extra scanner data + * @name: the name associated + * @name2: the second name associated + * @name3: the third name associated + * + * Callback when scanning data in a hash with the full scanner. + */ +typedef void (*xmlHashScannerFull)(void *payload, void *data, + const xmlChar *name, const xmlChar *name2, + const xmlChar *name3); + +/* + * Constructor and destructor. + */ +XMLPUBFUN xmlHashTablePtr + xmlHashCreate (int size); +XMLPUBFUN xmlHashTablePtr + xmlHashCreateDict (int size, + xmlDictPtr dict); +XMLPUBFUN void + xmlHashFree (xmlHashTablePtr hash, + xmlHashDeallocator dealloc); +XMLPUBFUN void + xmlHashDefaultDeallocator(void *entry, + const xmlChar *name); + +/* + * Add a new entry to the hash table. + */ +XMLPUBFUN int + xmlHashAdd (xmlHashTablePtr hash, + const xmlChar *name, + void *userdata); +XMLPUBFUN int + xmlHashAddEntry (xmlHashTablePtr hash, + const xmlChar *name, + void *userdata); +XMLPUBFUN int + xmlHashUpdateEntry (xmlHashTablePtr hash, + const xmlChar *name, + void *userdata, + xmlHashDeallocator dealloc); +XMLPUBFUN int + xmlHashAdd2 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + void *userdata); +XMLPUBFUN int + xmlHashAddEntry2 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + void *userdata); +XMLPUBFUN int + xmlHashUpdateEntry2 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + void *userdata, + xmlHashDeallocator dealloc); +XMLPUBFUN int + xmlHashAdd3 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + const xmlChar *name3, + void *userdata); +XMLPUBFUN int + xmlHashAddEntry3 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + const xmlChar *name3, + void *userdata); +XMLPUBFUN int + xmlHashUpdateEntry3 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + const xmlChar *name3, + void *userdata, + xmlHashDeallocator dealloc); + +/* + * Remove an entry from the hash table. + */ +XMLPUBFUN int + xmlHashRemoveEntry (xmlHashTablePtr hash, + const xmlChar *name, + xmlHashDeallocator dealloc); +XMLPUBFUN int + xmlHashRemoveEntry2 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + xmlHashDeallocator dealloc); +XMLPUBFUN int + xmlHashRemoveEntry3 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + const xmlChar *name3, + xmlHashDeallocator dealloc); + +/* + * Retrieve the payload. + */ +XMLPUBFUN void * + xmlHashLookup (xmlHashTablePtr hash, + const xmlChar *name); +XMLPUBFUN void * + xmlHashLookup2 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2); +XMLPUBFUN void * + xmlHashLookup3 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + const xmlChar *name3); +XMLPUBFUN void * + xmlHashQLookup (xmlHashTablePtr hash, + const xmlChar *prefix, + const xmlChar *name); +XMLPUBFUN void * + xmlHashQLookup2 (xmlHashTablePtr hash, + const xmlChar *prefix, + const xmlChar *name, + const xmlChar *prefix2, + const xmlChar *name2); +XMLPUBFUN void * + xmlHashQLookup3 (xmlHashTablePtr hash, + const xmlChar *prefix, + const xmlChar *name, + const xmlChar *prefix2, + const xmlChar *name2, + const xmlChar *prefix3, + const xmlChar *name3); + +/* + * Helpers. + */ +XMLPUBFUN xmlHashTablePtr + xmlHashCopySafe (xmlHashTablePtr hash, + xmlHashCopier copy, + xmlHashDeallocator dealloc); +XMLPUBFUN xmlHashTablePtr + xmlHashCopy (xmlHashTablePtr hash, + xmlHashCopier copy); +XMLPUBFUN int + xmlHashSize (xmlHashTablePtr hash); +XMLPUBFUN void + xmlHashScan (xmlHashTablePtr hash, + xmlHashScanner scan, + void *data); +XMLPUBFUN void + xmlHashScan3 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + const xmlChar *name3, + xmlHashScanner scan, + void *data); +XMLPUBFUN void + xmlHashScanFull (xmlHashTablePtr hash, + xmlHashScannerFull scan, + void *data); +XMLPUBFUN void + xmlHashScanFull3 (xmlHashTablePtr hash, + const xmlChar *name, + const xmlChar *name2, + const xmlChar *name3, + xmlHashScannerFull scan, + void *data); +#ifdef __cplusplus +} +#endif +#endif /* ! __XML_HASH_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/list.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/list.h new file mode 100644 index 0000000000000000000000000000000000000000..1fa76aff0847fd3de18c942f5037bf6f12bbbb56 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/list.h @@ -0,0 +1,137 @@ +/* + * Summary: lists interfaces + * Description: this module implement the list support used in + * various place in the library. + * + * Copy: See Copyright for the status of this software. + * + * Author: Gary Pennington + */ + +#ifndef __XML_LINK_INCLUDE__ +#define __XML_LINK_INCLUDE__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _xmlLink xmlLink; +typedef xmlLink *xmlLinkPtr; + +typedef struct _xmlList xmlList; +typedef xmlList *xmlListPtr; + +/** + * xmlListDeallocator: + * @lk: the data to deallocate + * + * Callback function used to free data from a list. + */ +typedef void (*xmlListDeallocator) (xmlLinkPtr lk); +/** + * xmlListDataCompare: + * @data0: the first data + * @data1: the second data + * + * Callback function used to compare 2 data. + * + * Returns 0 is equality, -1 or 1 otherwise depending on the ordering. + */ +typedef int (*xmlListDataCompare) (const void *data0, const void *data1); +/** + * xmlListWalker: + * @data: the data found in the list + * @user: extra user provided data to the walker + * + * Callback function used when walking a list with xmlListWalk(). + * + * Returns 0 to stop walking the list, 1 otherwise. + */ +typedef int (*xmlListWalker) (const void *data, void *user); + +/* Creation/Deletion */ +XMLPUBFUN xmlListPtr + xmlListCreate (xmlListDeallocator deallocator, + xmlListDataCompare compare); +XMLPUBFUN void + xmlListDelete (xmlListPtr l); + +/* Basic Operators */ +XMLPUBFUN void * + xmlListSearch (xmlListPtr l, + void *data); +XMLPUBFUN void * + xmlListReverseSearch (xmlListPtr l, + void *data); +XMLPUBFUN int + xmlListInsert (xmlListPtr l, + void *data) ; +XMLPUBFUN int + xmlListAppend (xmlListPtr l, + void *data) ; +XMLPUBFUN int + xmlListRemoveFirst (xmlListPtr l, + void *data); +XMLPUBFUN int + xmlListRemoveLast (xmlListPtr l, + void *data); +XMLPUBFUN int + xmlListRemoveAll (xmlListPtr l, + void *data); +XMLPUBFUN void + xmlListClear (xmlListPtr l); +XMLPUBFUN int + xmlListEmpty (xmlListPtr l); +XMLPUBFUN xmlLinkPtr + xmlListFront (xmlListPtr l); +XMLPUBFUN xmlLinkPtr + xmlListEnd (xmlListPtr l); +XMLPUBFUN int + xmlListSize (xmlListPtr l); + +XMLPUBFUN void + xmlListPopFront (xmlListPtr l); +XMLPUBFUN void + xmlListPopBack (xmlListPtr l); +XMLPUBFUN int + xmlListPushFront (xmlListPtr l, + void *data); +XMLPUBFUN int + xmlListPushBack (xmlListPtr l, + void *data); + +/* Advanced Operators */ +XMLPUBFUN void + xmlListReverse (xmlListPtr l); +XMLPUBFUN void + xmlListSort (xmlListPtr l); +XMLPUBFUN void + xmlListWalk (xmlListPtr l, + xmlListWalker walker, + void *user); +XMLPUBFUN void + xmlListReverseWalk (xmlListPtr l, + xmlListWalker walker, + void *user); +XMLPUBFUN void + xmlListMerge (xmlListPtr l1, + xmlListPtr l2); +XMLPUBFUN xmlListPtr + xmlListDup (xmlListPtr old); +XMLPUBFUN int + xmlListCopy (xmlListPtr cur, + xmlListPtr old); +/* Link operators */ +XMLPUBFUN void * + xmlLinkGetData (xmlLinkPtr lk); + +/* xmlListUnique() */ +/* xmlListSwap */ + +#ifdef __cplusplus +} +#endif + +#endif /* __XML_LINK_INCLUDE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/meson.build b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/meson.build new file mode 100644 index 0000000000000000000000000000000000000000..cbc29b92e0a03a539fe3326046398efa85711e86 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/meson.build @@ -0,0 +1,98 @@ + +## xmlversion.h +xmlversion_h = configuration_data() +xmlversion_h.set('VERSION', meson.project_version()) +xmlversion_h.set('LIBXML_VERSION_NUMBER', v_nbr.to_string()) +xmlversion_h.set('LIBXML_VERSION_EXTRA', v_extra) +xmlversion_h.set10('WITH_C14N', want_c14n) +xmlversion_h.set10('WITH_CATALOG', want_catalog) +xmlversion_h.set10('WITH_DEBUG', want_debug) +xmlversion_h.set10('WITH_HTML', want_html) +xmlversion_h.set10('WITH_HTTP', want_http) +xmlversion_h.set10('WITH_ICONV', want_iconv) +xmlversion_h.set10('WITH_ICU', want_icu) +xmlversion_h.set10('WITH_ISO8859X', want_iso8859x) +xmlversion_h.set10('WITH_LEGACY', want_legacy) +xmlversion_h.set10('WITH_LZMA', want_lzma) +xmlversion_h.set10('WITH_MODULES', want_modules) +xmlversion_h.set('MODULE_EXTENSION', module_extension) +xmlversion_h.set10('WITH_OUTPUT', want_output) +xmlversion_h.set10('WITH_PATTERN', want_pattern) +xmlversion_h.set10('WITH_PUSH', want_push) +xmlversion_h.set10('WITH_READER', want_reader) +xmlversion_h.set10('WITH_REGEXPS', want_regexps) +xmlversion_h.set10('WITH_SAX1', want_sax1) +xmlversion_h.set10('WITH_SCHEMAS', want_schemas) +xmlversion_h.set10('WITH_SCHEMATRON', want_schematron) +xmlversion_h.set10('WITH_THREADS', want_threads) +xmlversion_h.set10('WITH_THREAD_ALLOC', want_thread_alloc) +xmlversion_h.set10('WITH_VALID', want_valid) +xmlversion_h.set10('WITH_WRITER', want_writer) +xmlversion_h.set10('WITH_XINCLUDE', want_xinclude) +xmlversion_h.set10('WITH_XPATH', want_xpath) +xmlversion_h.set10('WITH_XPTR', want_xptr) +xmlversion_h.set10('WITH_ZLIB', want_zlib) + +configure_file( + input: 'xmlversion.h.in', + output: 'xmlversion.h', + configuration: xmlversion_h, + install_dir: dir_pkginclude + '/libxml', +) + +#vcs_tag( +# command : [ 'git', 'describe', '2>/dev/null' ], +# input : 'xmlversion.h.in', +# output : 'xmlversion.h', +# replace_string : 'LIBXML_VERSION_EXTRA' +#) + +libxml_headers = files( + 'HTMLparser.h', + 'HTMLtree.h', + 'SAX.h', + 'SAX2.h', + 'c14n.h', + 'catalog.h', + 'chvalid.h', + 'debugXML.h', + 'dict.h', + 'encoding.h', + 'entities.h', + 'globals.h', + 'hash.h', + 'list.h', + 'nanoftp.h', + 'nanohttp.h', + 'parser.h', + 'parserInternals.h', + 'pattern.h', + 'relaxng.h', + 'schemasInternals.h', + 'schematron.h', + 'threads.h', + 'tree.h', + 'uri.h', + 'valid.h', + 'xinclude.h', + 'xlink.h', + 'xmlIO.h', + 'xmlautomata.h', + 'xmlerror.h', + 'xmlexports.h', + 'xmlmemory.h', + 'xmlmodule.h', + 'xmlreader.h', + 'xmlregexp.h', + 'xmlsave.h', + 'xmlschemas.h', + 'xmlschemastypes.h', + 'xmlstring.h', + 'xmlunicode.h', + 'xmlwriter.h', + 'xpath.h', + 'xpathInternals.h', + 'xpointer.h', +) + +install_headers(libxml_headers, install_dir: dir_pkginclude / 'libxml') diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/nanoftp.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/nanoftp.h new file mode 100644 index 0000000000000000000000000000000000000000..647a9b0aa3310bd53aee678165f3516542fe2869 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/nanoftp.h @@ -0,0 +1,11 @@ +/* + * Summary: Removed legacy symbols for an outdated FTP client + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __NANO_FTP_H__ +#define __NANO_FTP_H__ +#endif /* __NANO_FTP_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/nanohttp.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/nanohttp.h new file mode 100644 index 0000000000000000000000000000000000000000..c70d1c26bb880ccdfcee16d2c79f69d1d3472518 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/nanohttp.h @@ -0,0 +1,98 @@ +/* + * Summary: minimal HTTP implementation + * Description: minimal HTTP implementation allowing to fetch resources + * like external subset. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __NANO_HTTP_H__ +#define __NANO_HTTP_H__ + +#include + +#ifdef LIBXML_HTTP_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif +XML_DEPRECATED +XMLPUBFUN void + xmlNanoHTTPInit (void); +XML_DEPRECATED +XMLPUBFUN void + xmlNanoHTTPCleanup (void); +XML_DEPRECATED +XMLPUBFUN void + xmlNanoHTTPScanProxy (const char *URL); +XML_DEPRECATED +XMLPUBFUN int + xmlNanoHTTPFetch (const char *URL, + const char *filename, + char **contentType); +XML_DEPRECATED +XMLPUBFUN void * + xmlNanoHTTPMethod (const char *URL, + const char *method, + const char *input, + char **contentType, + const char *headers, + int ilen); +XML_DEPRECATED +XMLPUBFUN void * + xmlNanoHTTPMethodRedir (const char *URL, + const char *method, + const char *input, + char **contentType, + char **redir, + const char *headers, + int ilen); +XML_DEPRECATED +XMLPUBFUN void * + xmlNanoHTTPOpen (const char *URL, + char **contentType); +XML_DEPRECATED +XMLPUBFUN void * + xmlNanoHTTPOpenRedir (const char *URL, + char **contentType, + char **redir); +XML_DEPRECATED +XMLPUBFUN int + xmlNanoHTTPReturnCode (void *ctx); +XML_DEPRECATED +XMLPUBFUN const char * + xmlNanoHTTPAuthHeader (void *ctx); +XML_DEPRECATED +XMLPUBFUN const char * + xmlNanoHTTPRedir (void *ctx); +XML_DEPRECATED +XMLPUBFUN int + xmlNanoHTTPContentLength( void * ctx ); +XML_DEPRECATED +XMLPUBFUN const char * + xmlNanoHTTPEncoding (void *ctx); +XML_DEPRECATED +XMLPUBFUN const char * + xmlNanoHTTPMimeType (void *ctx); +XML_DEPRECATED +XMLPUBFUN int + xmlNanoHTTPRead (void *ctx, + void *dest, + int len); +#ifdef LIBXML_OUTPUT_ENABLED +XML_DEPRECATED +XMLPUBFUN int + xmlNanoHTTPSave (void *ctxt, + const char *filename); +#endif /* LIBXML_OUTPUT_ENABLED */ +XML_DEPRECATED +XMLPUBFUN void + xmlNanoHTTPClose (void *ctx); +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_HTTP_ENABLED */ +#endif /* __NANO_HTTP_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/parser.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/parser.h new file mode 100644 index 0000000000000000000000000000000000000000..84099be4bdb54660aa39d7e97eb536d5f2ba87e3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/parser.h @@ -0,0 +1,1636 @@ +/* + * Summary: the core parser module + * Description: Interfaces, constants and types related to the XML parser + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_PARSER_H__ +#define __XML_PARSER_H__ + +/** DOC_DISABLE */ +#include +#define XML_TREE_INTERNALS +#include +#undef XML_TREE_INTERNALS +#include +#include +#include +#include +#include +#include +#include +#include +#include +/* for compatibility */ +#include +#include +/** DOC_ENABLE */ + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * XML_DEFAULT_VERSION: + * + * The default version of XML used: 1.0 + */ +#define XML_DEFAULT_VERSION "1.0" + +#define XML_STATUS_NOT_WELL_FORMED (1 << 0) +#define XML_STATUS_NOT_NS_WELL_FORMED (1 << 1) +#define XML_STATUS_DTD_VALIDATION_FAILED (1 << 2) +#define XML_STATUS_CATASTROPHIC_ERROR (1 << 3) + +typedef enum { + XML_RESOURCE_UNKNOWN = 0, + XML_RESOURCE_MAIN_DOCUMENT, + XML_RESOURCE_DTD, + XML_RESOURCE_GENERAL_ENTITY, + XML_RESOURCE_PARAMETER_ENTITY, + XML_RESOURCE_XINCLUDE, + XML_RESOURCE_XINCLUDE_TEXT +} xmlResourceType; + +/** + * xmlParserInput: + * + * An xmlParserInput is an input flow for the XML processor. + * Each entity parsed is associated an xmlParserInput (except the + * few predefined ones). This is the case both for internal entities + * - in which case the flow is already completely in memory - or + * external entities - in which case we use the buf structure for + * progressive reading and I18N conversions to the internal UTF-8 format. + */ + +/** + * xmlParserInputDeallocate: + * @str: the string to deallocate + * + * Callback for freeing some parser input allocations. + */ +typedef void (* xmlParserInputDeallocate)(xmlChar *str); + +struct _xmlParserInput { + /* Input buffer */ + xmlParserInputBufferPtr buf; + /* The file analyzed, if any */ + const char *filename; + /* unused */ + const char *directory XML_DEPRECATED_MEMBER; + /* Base of the array to parse */ + const xmlChar *base; + /* Current char being parsed */ + const xmlChar *cur; + /* end of the array to parse */ + const xmlChar *end; + /* unused */ + int length XML_DEPRECATED_MEMBER; + /* Current line */ + int line; + /* Current column */ + int col; + /* How many xmlChars already consumed */ + unsigned long consumed XML_DEPRECATED_MEMBER; + /* function to deallocate the base */ + xmlParserInputDeallocate free XML_DEPRECATED_MEMBER; + /* unused */ + const xmlChar *encoding XML_DEPRECATED_MEMBER; + /* the version string for entity */ + const xmlChar *version XML_DEPRECATED_MEMBER; + /* Flags */ + int flags XML_DEPRECATED_MEMBER; + /* an unique identifier for the entity */ + int id XML_DEPRECATED_MEMBER; + /* unused */ + unsigned long parentConsumed XML_DEPRECATED_MEMBER; + /* entity, if any */ + xmlEntityPtr entity XML_DEPRECATED_MEMBER; +}; + +/** + * xmlParserNodeInfo: + * + * The parser can be asked to collect Node information, i.e. at what + * place in the file they were detected. + * NOTE: This is off by default and not very well tested. + */ +typedef struct _xmlParserNodeInfo xmlParserNodeInfo; +typedef xmlParserNodeInfo *xmlParserNodeInfoPtr; + +struct _xmlParserNodeInfo { + const struct _xmlNode* node; + /* Position & line # that text that created the node begins & ends on */ + unsigned long begin_pos; + unsigned long begin_line; + unsigned long end_pos; + unsigned long end_line; +}; + +typedef struct _xmlParserNodeInfoSeq xmlParserNodeInfoSeq; +typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr; +struct _xmlParserNodeInfoSeq { + unsigned long maximum; + unsigned long length; + xmlParserNodeInfo* buffer; +}; + +/** + * xmlParserInputState: + * + * The parser is now working also as a state based parser. + * The recursive one use the state info for entities processing. + */ +typedef enum { + XML_PARSER_EOF = -1, /* nothing is to be parsed */ + XML_PARSER_START = 0, /* nothing has been parsed */ + XML_PARSER_MISC, /* Misc* before int subset */ + XML_PARSER_PI, /* Within a processing instruction */ + XML_PARSER_DTD, /* within some DTD content */ + XML_PARSER_PROLOG, /* Misc* after internal subset */ + XML_PARSER_COMMENT, /* within a comment */ + XML_PARSER_START_TAG, /* within a start tag */ + XML_PARSER_CONTENT, /* within the content */ + XML_PARSER_CDATA_SECTION, /* within a CDATA section */ + XML_PARSER_END_TAG, /* within a closing tag */ + XML_PARSER_ENTITY_DECL, /* within an entity declaration */ + XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */ + XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */ + XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */ + XML_PARSER_EPILOG, /* the Misc* after the last end tag */ + XML_PARSER_IGNORE, /* within an IGNORED section */ + XML_PARSER_PUBLIC_LITERAL, /* within a PUBLIC value */ + XML_PARSER_XML_DECL /* before XML decl (but after BOM) */ +} xmlParserInputState; + +/** DOC_DISABLE */ +/* + * Internal bits in the 'loadsubset' context member + */ +#define XML_DETECT_IDS 2 +#define XML_COMPLETE_ATTRS 4 +#define XML_SKIP_IDS 8 +/** DOC_ENABLE */ + +/** + * xmlParserMode: + * + * A parser can operate in various modes + */ +typedef enum { + XML_PARSE_UNKNOWN = 0, + XML_PARSE_DOM = 1, + XML_PARSE_SAX = 2, + XML_PARSE_PUSH_DOM = 3, + XML_PARSE_PUSH_SAX = 4, + XML_PARSE_READER = 5 +} xmlParserMode; + +typedef struct _xmlStartTag xmlStartTag; +typedef struct _xmlParserNsData xmlParserNsData; +typedef struct _xmlAttrHashBucket xmlAttrHashBucket; + +typedef int +(*xmlResourceLoader)(void *ctxt, const char *url, const char *publicId, + xmlResourceType type, int flags, xmlParserInputPtr *out); + +/** + * xmlParserCtxt: + * + * The parser context. + * NOTE This doesn't completely define the parser state, the (current ?) + * design of the parser uses recursive function calls since this allow + * and easy mapping from the production rules of the specification + * to the actual code. The drawback is that the actual function call + * also reflect the parser state. However most of the parsing routines + * takes as the only argument the parser context pointer, so migrating + * to a state based parser for progressive parsing shouldn't be too hard. + */ +struct _xmlParserCtxt { + /* The SAX handler */ + struct _xmlSAXHandler *sax; + /* For SAX interface only, used by DOM build */ + void *userData; + /* the document being built */ + xmlDocPtr myDoc; + /* is the document well formed */ + int wellFormed; + /* shall we replace entities ? */ + int replaceEntities XML_DEPRECATED_MEMBER; + /* the XML version string */ + const xmlChar *version; + /* the declared encoding, if any */ + const xmlChar *encoding; + /* standalone document */ + int standalone; + + /* an HTML(1) document + * 3 is HTML after + * 10 is HTML after + */ + int html; + + /* Input stream stack */ + + /* Current input stream */ + xmlParserInputPtr input; + /* Number of current input streams */ + int inputNr; + /* Max number of input streams */ + int inputMax XML_DEPRECATED_MEMBER; + /* stack of inputs */ + xmlParserInputPtr *inputTab; + + /* Node analysis stack only used for DOM building */ + + /* Current parsed Node */ + xmlNodePtr node XML_DEPRECATED_MEMBER; + /* Depth of the parsing stack */ + int nodeNr XML_DEPRECATED_MEMBER; + /* Max depth of the parsing stack */ + int nodeMax XML_DEPRECATED_MEMBER; + /* array of nodes */ + xmlNodePtr *nodeTab XML_DEPRECATED_MEMBER; + + /* Whether node info should be kept */ + int record_info; + /* info about each node parsed */ + xmlParserNodeInfoSeq node_seq XML_DEPRECATED_MEMBER; + + /* error code */ + int errNo; + + /* reference and external subset */ + int hasExternalSubset XML_DEPRECATED_MEMBER; + /* the internal subset has PE refs */ + int hasPErefs XML_DEPRECATED_MEMBER; + /* unused */ + int external XML_DEPRECATED_MEMBER; + + /* is the document valid */ + int valid; + /* shall we try to validate ? */ + int validate XML_DEPRECATED_MEMBER; + /* The validity context */ + xmlValidCtxt vctxt; + + /* push parser state */ + xmlParserInputState instate XML_DEPRECATED_MEMBER; + /* unused */ + int token XML_DEPRECATED_MEMBER; + + /* unused internally, still used downstream */ + char *directory; + + /* Node name stack */ + + /* Current parsed Node */ + const xmlChar *name XML_DEPRECATED_MEMBER; + /* Depth of the parsing stack */ + int nameNr XML_DEPRECATED_MEMBER; + /* Max depth of the parsing stack */ + int nameMax XML_DEPRECATED_MEMBER; + /* array of nodes */ + const xmlChar **nameTab XML_DEPRECATED_MEMBER; + + /* unused */ + long nbChars XML_DEPRECATED_MEMBER; + /* used by progressive parsing lookup */ + long checkIndex XML_DEPRECATED_MEMBER; + /* ugly but ... */ + int keepBlanks XML_DEPRECATED_MEMBER; + /* SAX callbacks are disabled */ + int disableSAX XML_DEPRECATED_MEMBER; + /* Parsing is in int 1/ext 2 subset */ + int inSubset; + /* name of subset */ + const xmlChar *intSubName; + /* URI of external subset */ + xmlChar *extSubURI; + /* SYSTEM ID of external subset */ + xmlChar *extSubSystem; + + /* xml:space values */ + + /* Should the parser preserve spaces */ + int *space XML_DEPRECATED_MEMBER; + /* Depth of the parsing stack */ + int spaceNr XML_DEPRECATED_MEMBER; + /* Max depth of the parsing stack */ + int spaceMax XML_DEPRECATED_MEMBER; + /* array of space infos */ + int *spaceTab XML_DEPRECATED_MEMBER; + + /* xml:tab values */ + + /* Should the parser preserve tabs */ + int *tab XML_DEPRECATED_MEMBER; + /* Depth of the parsing stack */ + int tabNr XML_DEPRECATED_MEMBER; + /* Max depth of the parsing stack */ + int tabMax XML_DEPRECATED_MEMBER; + /* array of tab infos */ + int *tabTab XML_DEPRECATED_MEMBER; + + /* to prevent entity substitution loops */ + int depth XML_DEPRECATED_MEMBER; + /* unused */ + xmlParserInputPtr entity XML_DEPRECATED_MEMBER; + /* unused */ + int charset XML_DEPRECATED_MEMBER; + /* Those two fields are there to */ + int nodelen XML_DEPRECATED_MEMBER; + /* Speed up large node parsing */ + int nodemem XML_DEPRECATED_MEMBER; + /* signal pedantic warnings */ + int pedantic XML_DEPRECATED_MEMBER; + /* For user data, libxml won't touch it */ + void *_private; + + /* should the external subset be loaded */ + int loadsubset XML_DEPRECATED_MEMBER; + /* set line number in element content */ + int linenumbers XML_DEPRECATED_MEMBER; + /* document's own catalog */ + void *catalogs XML_DEPRECATED_MEMBER; + /* run in recovery mode */ + int recovery XML_DEPRECATED_MEMBER; + /* unused */ + int progressive XML_DEPRECATED_MEMBER; + /* dictionary for the parser */ + xmlDictPtr dict; + /* array for the attributes callbacks */ + const xmlChar **atts XML_DEPRECATED_MEMBER; + /* the size of the array */ + int maxatts XML_DEPRECATED_MEMBER; + /* unused */ + int docdict XML_DEPRECATED_MEMBER; + + /* + * pre-interned strings + */ + const xmlChar *str_xml XML_DEPRECATED_MEMBER; + const xmlChar *str_xmlns XML_DEPRECATED_MEMBER; + const xmlChar *str_xml_ns XML_DEPRECATED_MEMBER; + + /* + * Everything below is used only by the new SAX mode + */ + + /* operating in the new SAX mode */ + int sax2 XML_DEPRECATED_MEMBER; + /* the number of inherited namespaces */ + int nsNr XML_DEPRECATED_MEMBER; + /* the size of the arrays */ + int nsMax XML_DEPRECATED_MEMBER; + /* the array of prefix/namespace name */ + const xmlChar **nsTab XML_DEPRECATED_MEMBER; + /* which attribute were allocated */ + unsigned *attallocs XML_DEPRECATED_MEMBER; + /* array of data for push */ + xmlStartTag *pushTab XML_DEPRECATED_MEMBER; + /* defaulted attributes if any */ + xmlHashTablePtr attsDefault XML_DEPRECATED_MEMBER; + /* non-CDATA attributes if any */ + xmlHashTablePtr attsSpecial XML_DEPRECATED_MEMBER; + /* is the document XML Namespace okay */ + int nsWellFormed; + /* Extra options */ + int options; + + /* + * Those fields are needed only for streaming parsing so far + */ + + /* Use dictionary names for the tree */ + int dictNames XML_DEPRECATED_MEMBER; + /* number of freed element nodes */ + int freeElemsNr XML_DEPRECATED_MEMBER; + /* List of freed element nodes */ + xmlNodePtr freeElems XML_DEPRECATED_MEMBER; + /* number of freed attributes nodes */ + int freeAttrsNr XML_DEPRECATED_MEMBER; + /* List of freed attributes nodes */ + xmlAttrPtr freeAttrs XML_DEPRECATED_MEMBER; + + /* + * the complete error information for the last error. + */ + xmlError lastError XML_DEPRECATED_MEMBER; + /* the parser mode */ + xmlParserMode parseMode XML_DEPRECATED_MEMBER; + /* unused */ + unsigned long nbentities XML_DEPRECATED_MEMBER; + /* size of external entities */ + unsigned long sizeentities XML_DEPRECATED_MEMBER; + + /* for use by HTML non-recursive parser */ + /* Current NodeInfo */ + xmlParserNodeInfo *nodeInfo XML_DEPRECATED_MEMBER; + /* Depth of the parsing stack */ + int nodeInfoNr XML_DEPRECATED_MEMBER; + /* Max depth of the parsing stack */ + int nodeInfoMax XML_DEPRECATED_MEMBER; + /* array of nodeInfos */ + xmlParserNodeInfo *nodeInfoTab XML_DEPRECATED_MEMBER; + + /* we need to label inputs */ + int input_id XML_DEPRECATED_MEMBER; + /* volume of entity copy */ + unsigned long sizeentcopy XML_DEPRECATED_MEMBER; + + /* quote state for push parser */ + int endCheckState XML_DEPRECATED_MEMBER; + /* number of errors */ + unsigned short nbErrors XML_DEPRECATED_MEMBER; + /* number of warnings */ + unsigned short nbWarnings XML_DEPRECATED_MEMBER; + /* maximum amplification factor */ + unsigned maxAmpl XML_DEPRECATED_MEMBER; + + /* namespace database */ + xmlParserNsData *nsdb XML_DEPRECATED_MEMBER; + /* allocated size */ + unsigned attrHashMax XML_DEPRECATED_MEMBER; + /* atttribute hash table */ + xmlAttrHashBucket *attrHash XML_DEPRECATED_MEMBER; + + xmlStructuredErrorFunc errorHandler XML_DEPRECATED_MEMBER; + void *errorCtxt XML_DEPRECATED_MEMBER; + + xmlResourceLoader resourceLoader XML_DEPRECATED_MEMBER; + void *resourceCtxt XML_DEPRECATED_MEMBER; + + xmlCharEncConvImpl convImpl XML_DEPRECATED_MEMBER; + void *convCtxt XML_DEPRECATED_MEMBER; +}; + +/** + * xmlSAXLocator: + * + * A SAX Locator. + */ +struct _xmlSAXLocator { + const xmlChar *(*getPublicId)(void *ctx); + const xmlChar *(*getSystemId)(void *ctx); + int (*getLineNumber)(void *ctx); + int (*getColumnNumber)(void *ctx); +}; + +/** + * xmlSAXHandler: + * + * A SAX handler is bunch of callbacks called by the parser when processing + * of the input generate data or structure information. + */ + +/** + * resolveEntitySAXFunc: + * @ctx: the user data (XML parser context) + * @publicId: The public ID of the entity + * @systemId: The system ID of the entity + * + * Callback: + * The entity loader, to control the loading of external entities, + * the application can either: + * - override this resolveEntity() callback in the SAX block + * - or better use the xmlSetExternalEntityLoader() function to + * set up it's own entity resolution routine + * + * Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour. + */ +typedef xmlParserInputPtr (*resolveEntitySAXFunc) (void *ctx, + const xmlChar *publicId, + const xmlChar *systemId); +/** + * internalSubsetSAXFunc: + * @ctx: the user data (XML parser context) + * @name: the root element name + * @ExternalID: the external ID + * @SystemID: the SYSTEM ID (e.g. filename or URL) + * + * Callback on internal subset declaration. + */ +typedef void (*internalSubsetSAXFunc) (void *ctx, + const xmlChar *name, + const xmlChar *ExternalID, + const xmlChar *SystemID); +/** + * externalSubsetSAXFunc: + * @ctx: the user data (XML parser context) + * @name: the root element name + * @ExternalID: the external ID + * @SystemID: the SYSTEM ID (e.g. filename or URL) + * + * Callback on external subset declaration. + */ +typedef void (*externalSubsetSAXFunc) (void *ctx, + const xmlChar *name, + const xmlChar *ExternalID, + const xmlChar *SystemID); +/** + * getEntitySAXFunc: + * @ctx: the user data (XML parser context) + * @name: The entity name + * + * Get an entity by name. + * + * Returns the xmlEntityPtr if found. + */ +typedef xmlEntityPtr (*getEntitySAXFunc) (void *ctx, + const xmlChar *name); +/** + * getParameterEntitySAXFunc: + * @ctx: the user data (XML parser context) + * @name: The entity name + * + * Get a parameter entity by name. + * + * Returns the xmlEntityPtr if found. + */ +typedef xmlEntityPtr (*getParameterEntitySAXFunc) (void *ctx, + const xmlChar *name); +/** + * entityDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @name: the entity name + * @type: the entity type + * @publicId: The public ID of the entity + * @systemId: The system ID of the entity + * @content: the entity value (without processing). + * + * An entity definition has been parsed. + */ +typedef void (*entityDeclSAXFunc) (void *ctx, + const xmlChar *name, + int type, + const xmlChar *publicId, + const xmlChar *systemId, + xmlChar *content); +/** + * notationDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The name of the notation + * @publicId: The public ID of the entity + * @systemId: The system ID of the entity + * + * What to do when a notation declaration has been parsed. + */ +typedef void (*notationDeclSAXFunc)(void *ctx, + const xmlChar *name, + const xmlChar *publicId, + const xmlChar *systemId); +/** + * attributeDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @elem: the name of the element + * @fullname: the attribute name + * @type: the attribute type + * @def: the type of default value + * @defaultValue: the attribute default value + * @tree: the tree of enumerated value set + * + * An attribute definition has been parsed. + */ +typedef void (*attributeDeclSAXFunc)(void *ctx, + const xmlChar *elem, + const xmlChar *fullname, + int type, + int def, + const xmlChar *defaultValue, + xmlEnumerationPtr tree); +/** + * elementDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @name: the element name + * @type: the element type + * @content: the element value tree + * + * An element definition has been parsed. + */ +typedef void (*elementDeclSAXFunc)(void *ctx, + const xmlChar *name, + int type, + xmlElementContentPtr content); +/** + * unparsedEntityDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The name of the entity + * @publicId: The public ID of the entity + * @systemId: The system ID of the entity + * @notationName: the name of the notation + * + * What to do when an unparsed entity declaration is parsed. + */ +typedef void (*unparsedEntityDeclSAXFunc)(void *ctx, + const xmlChar *name, + const xmlChar *publicId, + const xmlChar *systemId, + const xmlChar *notationName); +/** + * setDocumentLocatorSAXFunc: + * @ctx: the user data (XML parser context) + * @loc: A SAX Locator + * + * Receive the document locator at startup, actually xmlDefaultSAXLocator. + * Everything is available on the context, so this is useless in our case. + */ +typedef void (*setDocumentLocatorSAXFunc) (void *ctx, + xmlSAXLocatorPtr loc); +/** + * startDocumentSAXFunc: + * @ctx: the user data (XML parser context) + * + * Called when the document start being processed. + */ +typedef void (*startDocumentSAXFunc) (void *ctx); +/** + * endDocumentSAXFunc: + * @ctx: the user data (XML parser context) + * + * Called when the document end has been detected. + */ +typedef void (*endDocumentSAXFunc) (void *ctx); +/** + * startElementSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The element name, including namespace prefix + * @atts: An array of name/value attributes pairs, NULL terminated + * + * Called when an opening tag has been processed. + */ +typedef void (*startElementSAXFunc) (void *ctx, + const xmlChar *name, + const xmlChar **atts); +/** + * endElementSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The element name + * + * Called when the end of an element has been detected. + */ +typedef void (*endElementSAXFunc) (void *ctx, + const xmlChar *name); +/** + * attributeSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The attribute name, including namespace prefix + * @value: The attribute value + * + * Handle an attribute that has been read by the parser. + * The default handling is to convert the attribute into an + * DOM subtree and past it in a new xmlAttr element added to + * the element. + */ +typedef void (*attributeSAXFunc) (void *ctx, + const xmlChar *name, + const xmlChar *value); +/** + * referenceSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The entity name + * + * Called when an entity reference is detected. + */ +typedef void (*referenceSAXFunc) (void *ctx, + const xmlChar *name); +/** + * charactersSAXFunc: + * @ctx: the user data (XML parser context) + * @ch: a xmlChar string + * @len: the number of xmlChar + * + * Receiving some chars from the parser. + */ +typedef void (*charactersSAXFunc) (void *ctx, + const xmlChar *ch, + int len); +/** + * ignorableWhitespaceSAXFunc: + * @ctx: the user data (XML parser context) + * @ch: a xmlChar string + * @len: the number of xmlChar + * + * Receiving some ignorable whitespaces from the parser. + * UNUSED: by default the DOM building will use characters. + */ +typedef void (*ignorableWhitespaceSAXFunc) (void *ctx, + const xmlChar *ch, + int len); +/** + * processingInstructionSAXFunc: + * @ctx: the user data (XML parser context) + * @target: the target name + * @data: the PI data's + * + * A processing instruction has been parsed. + */ +typedef void (*processingInstructionSAXFunc) (void *ctx, + const xmlChar *target, + const xmlChar *data); +/** + * commentSAXFunc: + * @ctx: the user data (XML parser context) + * @value: the comment content + * + * A comment has been parsed. + */ +typedef void (*commentSAXFunc) (void *ctx, + const xmlChar *value); +/** + * cdataBlockSAXFunc: + * @ctx: the user data (XML parser context) + * @value: The pcdata content + * @len: the block length + * + * Called when a pcdata block has been parsed. + */ +typedef void (*cdataBlockSAXFunc) ( + void *ctx, + const xmlChar *value, + int len); +/** + * warningSAXFunc: + * @ctx: an XML parser context + * @msg: the message to display/transmit + * @...: extra parameters for the message display + * + * Display and format a warning messages, callback. + */ +typedef void (*warningSAXFunc) (void *ctx, + const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); +/** + * errorSAXFunc: + * @ctx: an XML parser context + * @msg: the message to display/transmit + * @...: extra parameters for the message display + * + * Display and format an error messages, callback. + */ +typedef void (*errorSAXFunc) (void *ctx, + const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); +/** + * fatalErrorSAXFunc: + * @ctx: an XML parser context + * @msg: the message to display/transmit + * @...: extra parameters for the message display + * + * Display and format fatal error messages, callback. + * Note: so far fatalError() SAX callbacks are not used, error() + * get all the callbacks for errors. + */ +typedef void (*fatalErrorSAXFunc) (void *ctx, + const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); +/** + * isStandaloneSAXFunc: + * @ctx: the user data (XML parser context) + * + * Is this document tagged standalone? + * + * Returns 1 if true + */ +typedef int (*isStandaloneSAXFunc) (void *ctx); +/** + * hasInternalSubsetSAXFunc: + * @ctx: the user data (XML parser context) + * + * Does this document has an internal subset. + * + * Returns 1 if true + */ +typedef int (*hasInternalSubsetSAXFunc) (void *ctx); + +/** + * hasExternalSubsetSAXFunc: + * @ctx: the user data (XML parser context) + * + * Does this document has an external subset? + * + * Returns 1 if true + */ +typedef int (*hasExternalSubsetSAXFunc) (void *ctx); + +/************************************************************************ + * * + * The SAX version 2 API extensions * + * * + ************************************************************************/ +/** + * XML_SAX2_MAGIC: + * + * Special constant found in SAX2 blocks initialized fields + */ +#define XML_SAX2_MAGIC 0xDEEDBEAF + +/** + * startElementNsSAX2Func: + * @ctx: the user data (XML parser context) + * @localname: the local name of the element + * @prefix: the element namespace prefix if available + * @URI: the element namespace name if available + * @nb_namespaces: number of namespace definitions on that node + * @namespaces: pointer to the array of prefix/URI pairs namespace definitions + * @nb_attributes: the number of attributes on that node + * @nb_defaulted: the number of defaulted attributes. The defaulted + * ones are at the end of the array + * @attributes: pointer to the array of (localname/prefix/URI/value/end) + * attribute values. + * + * SAX2 callback when an element start has been detected by the parser. + * It provides the namespace information for the element, as well as + * the new namespace declarations on the element. + */ + +typedef void (*startElementNsSAX2Func) (void *ctx, + const xmlChar *localname, + const xmlChar *prefix, + const xmlChar *URI, + int nb_namespaces, + const xmlChar **namespaces, + int nb_attributes, + int nb_defaulted, + const xmlChar **attributes); + +/** + * endElementNsSAX2Func: + * @ctx: the user data (XML parser context) + * @localname: the local name of the element + * @prefix: the element namespace prefix if available + * @URI: the element namespace name if available + * + * SAX2 callback when an element end has been detected by the parser. + * It provides the namespace information for the element. + */ + +typedef void (*endElementNsSAX2Func) (void *ctx, + const xmlChar *localname, + const xmlChar *prefix, + const xmlChar *URI); + + +struct _xmlSAXHandler { + internalSubsetSAXFunc internalSubset; + isStandaloneSAXFunc isStandalone; + hasInternalSubsetSAXFunc hasInternalSubset; + hasExternalSubsetSAXFunc hasExternalSubset; + resolveEntitySAXFunc resolveEntity; + getEntitySAXFunc getEntity; + entityDeclSAXFunc entityDecl; + notationDeclSAXFunc notationDecl; + attributeDeclSAXFunc attributeDecl; + elementDeclSAXFunc elementDecl; + unparsedEntityDeclSAXFunc unparsedEntityDecl; + setDocumentLocatorSAXFunc setDocumentLocator; + startDocumentSAXFunc startDocument; + endDocumentSAXFunc endDocument; + /* + * `startElement` and `endElement` are only used by the legacy SAX1 + * interface and should not be used in new software. If you really + * have to enable SAX1, the preferred way is set the `initialized` + * member to 1 instead of XML_SAX2_MAGIC. + * + * For backward compatibility, it's also possible to set the + * `startElementNs` and `endElementNs` handlers to NULL. + * + * You can also set the XML_PARSE_SAX1 parser option, but versions + * older than 2.12.0 will probably crash if this option is provided + * together with custom SAX callbacks. + */ + startElementSAXFunc startElement; + endElementSAXFunc endElement; + referenceSAXFunc reference; + charactersSAXFunc characters; + ignorableWhitespaceSAXFunc ignorableWhitespace; + processingInstructionSAXFunc processingInstruction; + commentSAXFunc comment; + warningSAXFunc warning; + errorSAXFunc error; + fatalErrorSAXFunc fatalError; /* unused error() get all the errors */ + getParameterEntitySAXFunc getParameterEntity; + cdataBlockSAXFunc cdataBlock; + externalSubsetSAXFunc externalSubset; + /* + * `initialized` should always be set to XML_SAX2_MAGIC to enable the + * modern SAX2 interface. + */ + unsigned int initialized; + /* + * The following members are only used by the SAX2 interface. + */ + void *_private; + startElementNsSAX2Func startElementNs; + endElementNsSAX2Func endElementNs; + xmlStructuredErrorFunc serror; +}; + +/* + * SAX Version 1 + */ +typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1; +typedef xmlSAXHandlerV1 *xmlSAXHandlerV1Ptr; +struct _xmlSAXHandlerV1 { + internalSubsetSAXFunc internalSubset; + isStandaloneSAXFunc isStandalone; + hasInternalSubsetSAXFunc hasInternalSubset; + hasExternalSubsetSAXFunc hasExternalSubset; + resolveEntitySAXFunc resolveEntity; + getEntitySAXFunc getEntity; + entityDeclSAXFunc entityDecl; + notationDeclSAXFunc notationDecl; + attributeDeclSAXFunc attributeDecl; + elementDeclSAXFunc elementDecl; + unparsedEntityDeclSAXFunc unparsedEntityDecl; + setDocumentLocatorSAXFunc setDocumentLocator; + startDocumentSAXFunc startDocument; + endDocumentSAXFunc endDocument; + startElementSAXFunc startElement; + endElementSAXFunc endElement; + referenceSAXFunc reference; + charactersSAXFunc characters; + ignorableWhitespaceSAXFunc ignorableWhitespace; + processingInstructionSAXFunc processingInstruction; + commentSAXFunc comment; + warningSAXFunc warning; + errorSAXFunc error; + fatalErrorSAXFunc fatalError; /* unused error() get all the errors */ + getParameterEntitySAXFunc getParameterEntity; + cdataBlockSAXFunc cdataBlock; + externalSubsetSAXFunc externalSubset; + unsigned int initialized; +}; + + +/** + * xmlExternalEntityLoader: + * @URL: The System ID of the resource requested + * @ID: The Public ID of the resource requested + * @context: the XML parser context + * + * External entity loaders types. + * + * Returns the entity input parser. + */ +typedef xmlParserInputPtr (*xmlExternalEntityLoader) (const char *URL, + const char *ID, + xmlParserCtxtPtr context); + +/* + * Variables + */ + +XMLPUBVAR const char *const xmlParserVersion; +XML_DEPRECATED +XMLPUBVAR const int oldXMLWDcompatibility; +XML_DEPRECATED +XMLPUBVAR const int xmlParserDebugEntities; +XML_DEPRECATED +XMLPUBVAR const xmlSAXLocator xmlDefaultSAXLocator; +#ifdef LIBXML_SAX1_ENABLED +XML_DEPRECATED +XMLPUBVAR const xmlSAXHandlerV1 xmlDefaultSAXHandler; +#endif + +#ifdef LIBXML_THREAD_ENABLED +/* backward compatibility */ +XMLPUBFUN const char *const *__xmlParserVersion(void); +XML_DEPRECATED +XMLPUBFUN const int *__oldXMLWDcompatibility(void); +XML_DEPRECATED +XMLPUBFUN const int *__xmlParserDebugEntities(void); +XML_DEPRECATED +XMLPUBFUN const xmlSAXLocator *__xmlDefaultSAXLocator(void); +#ifdef LIBXML_SAX1_ENABLED +XML_DEPRECATED +XMLPUBFUN const xmlSAXHandlerV1 *__xmlDefaultSAXHandler(void); +#endif +#endif + +/** DOC_DISABLE */ +#define XML_GLOBALS_PARSER_CORE \ + XML_OP(xmlDoValidityCheckingDefaultValue, int, XML_DEPRECATED) \ + XML_OP(xmlGetWarningsDefaultValue, int, XML_DEPRECATED) \ + XML_OP(xmlKeepBlanksDefaultValue, int, XML_DEPRECATED) \ + XML_OP(xmlLineNumbersDefaultValue, int, XML_DEPRECATED) \ + XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \ + XML_OP(xmlPedanticParserDefaultValue, int, XML_DEPRECATED) \ + XML_OP(xmlSubstituteEntitiesDefaultValue, int, XML_DEPRECATED) + +#ifdef LIBXML_OUTPUT_ENABLED + #define XML_GLOBALS_PARSER_OUTPUT \ + XML_OP(xmlIndentTreeOutput, int, XML_NO_ATTR) \ + XML_OP(xmlTreeIndentString, const char *, XML_NO_ATTR) \ + XML_OP(xmlSaveNoEmptyTags, int, XML_NO_ATTR) +#else + #define XML_GLOBALS_PARSER_OUTPUT +#endif + +#define XML_GLOBALS_PARSER \ + XML_GLOBALS_PARSER_CORE \ + XML_GLOBALS_PARSER_OUTPUT + +#define XML_OP XML_DECLARE_GLOBAL +XML_GLOBALS_PARSER +#undef XML_OP + +#if defined(LIBXML_THREAD_ENABLED) && !defined(XML_GLOBALS_NO_REDEFINITION) + #define xmlDoValidityCheckingDefaultValue \ + XML_GLOBAL_MACRO(xmlDoValidityCheckingDefaultValue) + #define xmlGetWarningsDefaultValue \ + XML_GLOBAL_MACRO(xmlGetWarningsDefaultValue) + #define xmlKeepBlanksDefaultValue XML_GLOBAL_MACRO(xmlKeepBlanksDefaultValue) + #define xmlLineNumbersDefaultValue \ + XML_GLOBAL_MACRO(xmlLineNumbersDefaultValue) + #define xmlLoadExtDtdDefaultValue XML_GLOBAL_MACRO(xmlLoadExtDtdDefaultValue) + #define xmlPedanticParserDefaultValue \ + XML_GLOBAL_MACRO(xmlPedanticParserDefaultValue) + #define xmlSubstituteEntitiesDefaultValue \ + XML_GLOBAL_MACRO(xmlSubstituteEntitiesDefaultValue) + #ifdef LIBXML_OUTPUT_ENABLED + #define xmlIndentTreeOutput XML_GLOBAL_MACRO(xmlIndentTreeOutput) + #define xmlTreeIndentString XML_GLOBAL_MACRO(xmlTreeIndentString) + #define xmlSaveNoEmptyTags XML_GLOBAL_MACRO(xmlSaveNoEmptyTags) + #endif +#endif +/** DOC_ENABLE */ + +/* + * Init/Cleanup + */ +XMLPUBFUN void + xmlInitParser (void); +XMLPUBFUN void + xmlCleanupParser (void); +XML_DEPRECATED +XMLPUBFUN void + xmlInitGlobals (void); +XML_DEPRECATED +XMLPUBFUN void + xmlCleanupGlobals (void); + +/* + * Input functions + */ +XML_DEPRECATED +XMLPUBFUN int + xmlParserInputRead (xmlParserInputPtr in, + int len); +XMLPUBFUN int + xmlParserInputGrow (xmlParserInputPtr in, + int len); + +/* + * Basic parsing Interfaces + */ +#ifdef LIBXML_SAX1_ENABLED +XMLPUBFUN xmlDocPtr + xmlParseDoc (const xmlChar *cur); +XMLPUBFUN xmlDocPtr + xmlParseFile (const char *filename); +XMLPUBFUN xmlDocPtr + xmlParseMemory (const char *buffer, + int size); +#endif /* LIBXML_SAX1_ENABLED */ +XML_DEPRECATED +XMLPUBFUN int + xmlSubstituteEntitiesDefault(int val); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefSubstituteEntitiesDefaultValue(int v); +XMLPUBFUN int + xmlKeepBlanksDefault (int val); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefKeepBlanksDefaultValue(int v); +XMLPUBFUN void + xmlStopParser (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int + xmlPedanticParserDefault(int val); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefPedanticParserDefaultValue(int v); +XML_DEPRECATED +XMLPUBFUN int + xmlLineNumbersDefault (int val); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefLineNumbersDefaultValue(int v); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefDoValidityCheckingDefaultValue(int v); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefGetWarningsDefaultValue(int v); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefLoadExtDtdDefaultValue(int v); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefParserDebugEntities(int v); + +#ifdef LIBXML_SAX1_ENABLED +/* + * Recovery mode + */ +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlRecoverDoc (const xmlChar *cur); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlRecoverMemory (const char *buffer, + int size); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlRecoverFile (const char *filename); +#endif /* LIBXML_SAX1_ENABLED */ + +/* + * Less common routines and SAX interfaces + */ +XMLPUBFUN int + xmlParseDocument (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int + xmlParseExtParsedEnt (xmlParserCtxtPtr ctxt); +#ifdef LIBXML_SAX1_ENABLED +XML_DEPRECATED +XMLPUBFUN int + xmlSAXUserParseFile (xmlSAXHandlerPtr sax, + void *user_data, + const char *filename); +XML_DEPRECATED +XMLPUBFUN int + xmlSAXUserParseMemory (xmlSAXHandlerPtr sax, + void *user_data, + const char *buffer, + int size); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlSAXParseDoc (xmlSAXHandlerPtr sax, + const xmlChar *cur, + int recovery); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlSAXParseMemory (xmlSAXHandlerPtr sax, + const char *buffer, + int size, + int recovery); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax, + const char *buffer, + int size, + int recovery, + void *data); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlSAXParseFile (xmlSAXHandlerPtr sax, + const char *filename, + int recovery); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlSAXParseFileWithData (xmlSAXHandlerPtr sax, + const char *filename, + int recovery, + void *data); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlSAXParseEntity (xmlSAXHandlerPtr sax, + const char *filename); +XML_DEPRECATED +XMLPUBFUN xmlDocPtr + xmlParseEntity (const char *filename); +#endif /* LIBXML_SAX1_ENABLED */ + +#ifdef LIBXML_VALID_ENABLED +XMLPUBFUN xmlDtdPtr + xmlCtxtParseDtd (xmlParserCtxtPtr ctxt, + xmlParserInputPtr input, + const xmlChar *ExternalID, + const xmlChar *SystemID); +XMLPUBFUN int + xmlCtxtValidateDocument (xmlParserCtxtPtr ctxt, + xmlDocPtr doc); +XMLPUBFUN int + xmlCtxtValidateDtd (xmlParserCtxtPtr ctxt, + xmlDocPtr doc, + xmlDtdPtr dtd); +XML_DEPRECATED +XMLPUBFUN xmlDtdPtr + xmlSAXParseDTD (xmlSAXHandlerPtr sax, + const xmlChar *ExternalID, + const xmlChar *SystemID); +XMLPUBFUN xmlDtdPtr + xmlParseDTD (const xmlChar *ExternalID, + const xmlChar *SystemID); +XMLPUBFUN xmlDtdPtr + xmlIOParseDTD (xmlSAXHandlerPtr sax, + xmlParserInputBufferPtr input, + xmlCharEncoding enc); +#endif /* LIBXML_VALID_ENABLE */ +#ifdef LIBXML_SAX1_ENABLED +XMLPUBFUN int + xmlParseBalancedChunkMemory(xmlDocPtr doc, + xmlSAXHandlerPtr sax, + void *user_data, + int depth, + const xmlChar *string, + xmlNodePtr *lst); +#endif /* LIBXML_SAX1_ENABLED */ +XMLPUBFUN xmlParserErrors + xmlParseInNodeContext (xmlNodePtr node, + const char *data, + int datalen, + int options, + xmlNodePtr *lst); +#ifdef LIBXML_SAX1_ENABLED +XMLPUBFUN int + xmlParseBalancedChunkMemoryRecover(xmlDocPtr doc, + xmlSAXHandlerPtr sax, + void *user_data, + int depth, + const xmlChar *string, + xmlNodePtr *lst, + int recover); +XML_DEPRECATED +XMLPUBFUN int + xmlParseExternalEntity (xmlDocPtr doc, + xmlSAXHandlerPtr sax, + void *user_data, + int depth, + const xmlChar *URL, + const xmlChar *ID, + xmlNodePtr *lst); +#endif /* LIBXML_SAX1_ENABLED */ +XMLPUBFUN int + xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx, + const xmlChar *URL, + const xmlChar *ID, + xmlNodePtr *lst); + +/* + * Parser contexts handling. + */ +XMLPUBFUN xmlParserCtxtPtr + xmlNewParserCtxt (void); +XMLPUBFUN xmlParserCtxtPtr + xmlNewSAXParserCtxt (const xmlSAXHandler *sax, + void *userData); +XMLPUBFUN int + xmlInitParserCtxt (xmlParserCtxtPtr ctxt); +XMLPUBFUN void + xmlClearParserCtxt (xmlParserCtxtPtr ctxt); +XMLPUBFUN void + xmlFreeParserCtxt (xmlParserCtxtPtr ctxt); +#ifdef LIBXML_SAX1_ENABLED +XML_DEPRECATED +XMLPUBFUN void + xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt, + const xmlChar* buffer, + const char *filename); +#endif /* LIBXML_SAX1_ENABLED */ +XMLPUBFUN xmlParserCtxtPtr + xmlCreateDocParserCtxt (const xmlChar *cur); + +#ifdef LIBXML_LEGACY_ENABLED +/** DOC_DISABLE */ +/* + * Reading/setting optional parsing features. + */ +XML_DEPRECATED +XMLPUBFUN int + xmlGetFeaturesList (int *len, + const char **result); +XML_DEPRECATED +XMLPUBFUN int + xmlGetFeature (xmlParserCtxtPtr ctxt, + const char *name, + void *result); +XML_DEPRECATED +XMLPUBFUN int + xmlSetFeature (xmlParserCtxtPtr ctxt, + const char *name, + void *value); +/** DOC_ENABLE */ +#endif /* LIBXML_LEGACY_ENABLED */ + +#ifdef LIBXML_PUSH_ENABLED +/* + * Interfaces for the Push mode. + */ +XMLPUBFUN xmlParserCtxtPtr + xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax, + void *user_data, + const char *chunk, + int size, + const char *filename); +XMLPUBFUN int + xmlParseChunk (xmlParserCtxtPtr ctxt, + const char *chunk, + int size, + int terminate); +#endif /* LIBXML_PUSH_ENABLED */ + +/* + * Special I/O mode. + */ + +XMLPUBFUN xmlParserCtxtPtr + xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax, + void *user_data, + xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + xmlCharEncoding enc); + +XMLPUBFUN xmlParserInputPtr + xmlNewIOInputStream (xmlParserCtxtPtr ctxt, + xmlParserInputBufferPtr input, + xmlCharEncoding enc); + +/* + * Node infos. + */ +XML_DEPRECATED +XMLPUBFUN const xmlParserNodeInfo* + xmlParserFindNodeInfo (xmlParserCtxtPtr ctxt, + xmlNodePtr node); +XML_DEPRECATED +XMLPUBFUN void + xmlInitNodeInfoSeq (xmlParserNodeInfoSeqPtr seq); +XML_DEPRECATED +XMLPUBFUN void + xmlClearNodeInfoSeq (xmlParserNodeInfoSeqPtr seq); +XML_DEPRECATED +XMLPUBFUN unsigned long + xmlParserFindNodeInfoIndex(xmlParserNodeInfoSeqPtr seq, + xmlNodePtr node); +XML_DEPRECATED +XMLPUBFUN void + xmlParserAddNodeInfo (xmlParserCtxtPtr ctxt, + xmlParserNodeInfoPtr info); + +/* + * External entities handling actually implemented in xmlIO. + */ + +XMLPUBFUN void + xmlSetExternalEntityLoader(xmlExternalEntityLoader f); +XMLPUBFUN xmlExternalEntityLoader + xmlGetExternalEntityLoader(void); +XMLPUBFUN xmlParserInputPtr + xmlLoadExternalEntity (const char *URL, + const char *ID, + xmlParserCtxtPtr ctxt); + +XML_DEPRECATED +XMLPUBFUN long + xmlByteConsumed (xmlParserCtxtPtr ctxt); + +/* + * New set of simpler/more flexible APIs + */ +/** + * xmlParserOption: + * + * This is the set of XML parser options that can be passed down + * to the xmlReadDoc() and similar calls. + */ +typedef enum { + XML_PARSE_RECOVER = 1<<0, /* recover on errors */ + XML_PARSE_NOENT = 1<<1, /* substitute entities */ + XML_PARSE_DTDLOAD = 1<<2, /* load the external subset */ + XML_PARSE_DTDATTR = 1<<3, /* default DTD attributes */ + XML_PARSE_DTDVALID = 1<<4, /* validate with the DTD */ + XML_PARSE_NOERROR = 1<<5, /* suppress error reports */ + XML_PARSE_NOWARNING = 1<<6, /* suppress warning reports */ + XML_PARSE_PEDANTIC = 1<<7, /* pedantic error reporting */ + XML_PARSE_NOBLANKS = 1<<8, /* remove blank nodes */ + XML_PARSE_SAX1 = 1<<9, /* use the SAX1 interface internally */ + XML_PARSE_XINCLUDE = 1<<10,/* Implement XInclude substitution */ + XML_PARSE_NONET = 1<<11,/* Forbid network access */ + XML_PARSE_NODICT = 1<<12,/* Do not reuse the context dictionary */ + XML_PARSE_NSCLEAN = 1<<13,/* remove redundant namespaces declarations */ + XML_PARSE_NOCDATA = 1<<14,/* merge CDATA as text nodes */ + XML_PARSE_NOXINCNODE= 1<<15,/* do not generate XINCLUDE START/END nodes */ + XML_PARSE_COMPACT = 1<<16,/* compact small text nodes; no modification of + the tree allowed afterwards (will possibly + crash if you try to modify the tree) */ + XML_PARSE_OLD10 = 1<<17,/* parse using XML-1.0 before update 5 */ + XML_PARSE_NOBASEFIX = 1<<18,/* do not fixup XINCLUDE xml:base uris */ + XML_PARSE_HUGE = 1<<19,/* relax any hardcoded limit from the parser */ + XML_PARSE_OLDSAX = 1<<20,/* parse using SAX2 interface before 2.7.0 */ + XML_PARSE_IGNORE_ENC= 1<<21,/* ignore internal document encoding hint */ + XML_PARSE_BIG_LINES = 1<<22,/* Store big lines numbers in text PSVI field */ + /* since 2.13.0 */ + XML_PARSE_NO_XXE = 1<<23,/* disable loading of external content */ + /* since 2.14.0 */ + XML_PARSE_NO_UNZIP = 1<<24,/* disable compressed content */ + XML_PARSE_NO_SYS_CATALOG = 1<<25,/* disable global system catalog */ + XML_PARSE_NO_CATALOG_PI = 1<<26 /* ignore catalog PIs */ +} xmlParserOption; + +XMLPUBFUN void + xmlCtxtReset (xmlParserCtxtPtr ctxt); +XMLPUBFUN int + xmlCtxtResetPush (xmlParserCtxtPtr ctxt, + const char *chunk, + int size, + const char *filename, + const char *encoding); +XMLPUBFUN int + xmlCtxtGetOptions (xmlParserCtxtPtr ctxt); +XMLPUBFUN int + xmlCtxtSetOptions (xmlParserCtxtPtr ctxt, + int options); +XMLPUBFUN int + xmlCtxtUseOptions (xmlParserCtxtPtr ctxt, + int options); +XMLPUBFUN void * + xmlCtxtGetPrivate (xmlParserCtxtPtr ctxt); +XMLPUBFUN void + xmlCtxtSetPrivate (xmlParserCtxtPtr ctxt, + void *priv); +XMLPUBFUN void * + xmlCtxtGetCatalogs (xmlParserCtxtPtr ctxt); +XMLPUBFUN void + xmlCtxtSetCatalogs (xmlParserCtxtPtr ctxt, + void *catalogs); +XMLPUBFUN xmlDictPtr + xmlCtxtGetDict (xmlParserCtxtPtr ctxt); +XMLPUBFUN void + xmlCtxtSetDict (xmlParserCtxtPtr ctxt, + xmlDictPtr); +XMLPUBFUN const xmlChar * + xmlCtxtGetVersion (xmlParserCtxtPtr ctxt); +XMLPUBFUN const xmlChar * + xmlCtxtGetDeclaredEncoding(xmlParserCtxtPtr ctxt); +XMLPUBFUN int + xmlCtxtGetStandalone (xmlParserCtxtPtr ctxt); +XMLPUBFUN int + xmlCtxtGetStatus (xmlParserCtxtPtr ctxt); +XMLPUBFUN void + xmlCtxtSetErrorHandler (xmlParserCtxtPtr ctxt, + xmlStructuredErrorFunc handler, + void *data); +XMLPUBFUN void + xmlCtxtSetResourceLoader(xmlParserCtxtPtr ctxt, + xmlResourceLoader loader, + void *vctxt); +XMLPUBFUN void + xmlCtxtSetCharEncConvImpl(xmlParserCtxtPtr ctxt, + xmlCharEncConvImpl impl, + void *vctxt); +XMLPUBFUN void + xmlCtxtSetMaxAmplification(xmlParserCtxtPtr ctxt, + unsigned maxAmpl); +XMLPUBFUN xmlDocPtr + xmlReadDoc (const xmlChar *cur, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlReadFile (const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlReadMemory (const char *buffer, + int size, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlReadFd (int fd, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlReadIO (xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlCtxtParseDocument (xmlParserCtxtPtr ctxt, + xmlParserInputPtr input); +XMLPUBFUN xmlNodePtr + xmlCtxtParseContent (xmlParserCtxtPtr ctxt, + xmlParserInputPtr input, + xmlNodePtr node, + int hasTextDecl); +XMLPUBFUN xmlDocPtr + xmlCtxtReadDoc (xmlParserCtxtPtr ctxt, + const xmlChar *cur, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlCtxtReadFile (xmlParserCtxtPtr ctxt, + const char *filename, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlCtxtReadMemory (xmlParserCtxtPtr ctxt, + const char *buffer, + int size, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlCtxtReadFd (xmlParserCtxtPtr ctxt, + int fd, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlDocPtr + xmlCtxtReadIO (xmlParserCtxtPtr ctxt, + xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + const char *URL, + const char *encoding, + int options); + +/** + * New input API + */ + +#define XML_INPUT_BUF_STATIC (1 << 1) +#define XML_INPUT_BUF_ZERO_TERMINATED (1 << 2) +#define XML_INPUT_UNZIP (1 << 3) +#define XML_INPUT_NETWORK (1 << 4) + +XMLPUBFUN int +xmlNewInputFromUrl(const char *url, int flags, xmlParserInputPtr *out); +XMLPUBFUN xmlParserInputPtr +xmlNewInputFromMemory(const char *url, const void *mem, size_t size, + int flags); +XMLPUBFUN xmlParserInputPtr +xmlNewInputFromString(const char *url, const char *str, int flags); +XMLPUBFUN xmlParserInputPtr +xmlNewInputFromFd(const char *url, int fd, int flags); +XMLPUBFUN xmlParserInputPtr +xmlNewInputFromIO(const char *url, xmlInputReadCallback ioRead, + xmlInputCloseCallback ioClose, void *ioCtxt, int flags); +XMLPUBFUN int +xmlInputSetEncodingHandler(xmlParserInputPtr input, + xmlCharEncodingHandlerPtr handler); + +/* + * Library wide options + */ +/** + * xmlFeature: + * + * Used to examine the existence of features that can be enabled + * or disabled at compile-time. + * They used to be called XML_FEATURE_xxx but this clashed with Expat + */ +typedef enum { + XML_WITH_THREAD = 1, + XML_WITH_TREE = 2, + XML_WITH_OUTPUT = 3, + XML_WITH_PUSH = 4, + XML_WITH_READER = 5, + XML_WITH_PATTERN = 6, + XML_WITH_WRITER = 7, + XML_WITH_SAX1 = 8, + XML_WITH_FTP = 9, + XML_WITH_HTTP = 10, + XML_WITH_VALID = 11, + XML_WITH_HTML = 12, + XML_WITH_LEGACY = 13, + XML_WITH_C14N = 14, + XML_WITH_CATALOG = 15, + XML_WITH_XPATH = 16, + XML_WITH_XPTR = 17, + XML_WITH_XINCLUDE = 18, + XML_WITH_ICONV = 19, + XML_WITH_ISO8859X = 20, + XML_WITH_UNICODE = 21, + XML_WITH_REGEXP = 22, + XML_WITH_AUTOMATA = 23, + XML_WITH_EXPR = 24, + XML_WITH_SCHEMAS = 25, + XML_WITH_SCHEMATRON = 26, + XML_WITH_MODULES = 27, + XML_WITH_DEBUG = 28, + XML_WITH_DEBUG_MEM = 29, + XML_WITH_DEBUG_RUN = 30, /* unused */ + XML_WITH_ZLIB = 31, + XML_WITH_ICU = 32, + XML_WITH_LZMA = 33, + XML_WITH_NONE = 99999 /* just to be sure of allocation size */ +} xmlFeature; + +XMLPUBFUN int + xmlHasFeature (xmlFeature feature); + +#ifdef __cplusplus +} +#endif +#endif /* __XML_PARSER_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/parserInternals.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/parserInternals.h new file mode 100644 index 0000000000000000000000000000000000000000..1a38e3245e37c79e96ff9c69255de1b7eb564b0f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/parserInternals.h @@ -0,0 +1,441 @@ +/* + * Summary: internals routines and limits exported by the parser. + * Description: this module exports a number of internal parsing routines + * they are not really all intended for applications but + * can prove useful doing low level processing. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_PARSER_INTERNALS_H__ +#define __XML_PARSER_INTERNALS_H__ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlParserMaxDepth: + * + * DEPRECATED: has no effect + * + * arbitrary depth limit for the XML documents that we allow to + * process. This is not a limitation of the parser but a safety + * boundary feature, use XML_PARSE_HUGE option to override it. + */ +XML_DEPRECATED +XMLPUBVAR const unsigned int xmlParserMaxDepth; + +/** + * XML_MAX_TEXT_LENGTH: + * + * Maximum size allowed for a single text node when building a tree. + * This is not a limitation of the parser but a safety boundary feature, + * use XML_PARSE_HUGE option to override it. + * Introduced in 2.9.0 + */ +#define XML_MAX_TEXT_LENGTH 10000000 + +/** + * XML_MAX_HUGE_LENGTH: + * + * Maximum size allowed when XML_PARSE_HUGE is set. + */ +#define XML_MAX_HUGE_LENGTH 1000000000 + +/** + * XML_MAX_NAME_LENGTH: + * + * Maximum size allowed for a markup identifier. + * This is not a limitation of the parser but a safety boundary feature, + * use XML_PARSE_HUGE option to override it. + * Note that with the use of parsing dictionaries overriding the limit + * may result in more runtime memory usage in face of "unfriendly' content + * Introduced in 2.9.0 + */ +#define XML_MAX_NAME_LENGTH 50000 + +/** + * XML_MAX_DICTIONARY_LIMIT: + * + * Maximum size allowed by the parser for a dictionary by default + * This is not a limitation of the parser but a safety boundary feature, + * use XML_PARSE_HUGE option to override it. + * Introduced in 2.9.0 + */ +#define XML_MAX_DICTIONARY_LIMIT 100000000 + +/** + * XML_MAX_LOOKUP_LIMIT: + * + * Maximum size allowed by the parser for ahead lookup + * This is an upper boundary enforced by the parser to avoid bad + * behaviour on "unfriendly' content + * Introduced in 2.9.0 + */ +#define XML_MAX_LOOKUP_LIMIT 10000000 + +/** + * XML_MAX_NAMELEN: + * + * Identifiers can be longer, but this will be more costly + * at runtime. + */ +#define XML_MAX_NAMELEN 100 + +/** + * IS_BLANK: + * @c: an UNICODE value (int) + * + * Macro to check the following production in the XML spec: + * + * [3] S ::= (#x20 | #x9 | #xD | #xA)+ + */ +#define IS_BLANK(c) xmlIsBlankQ(c) + +/** + * IS_BLANK_CH: + * @c: an xmlChar value (normally unsigned char) + * + * Behaviour same as IS_BLANK + */ +#define IS_BLANK_CH(c) xmlIsBlank_ch(c) + +/** + * Global variables used for predefined strings. + */ +XMLPUBVAR const xmlChar xmlStringText[]; +XMLPUBVAR const xmlChar xmlStringTextNoenc[]; +XML_DEPRECATED +XMLPUBVAR const xmlChar xmlStringComment[]; + +XML_DEPRECATED +XMLPUBFUN int xmlIsLetter (int c); + +/** + * Parser context. + */ +XMLPUBFUN xmlParserCtxtPtr + xmlCreateFileParserCtxt (const char *filename); +XMLPUBFUN xmlParserCtxtPtr + xmlCreateURLParserCtxt (const char *filename, + int options); +XMLPUBFUN xmlParserCtxtPtr + xmlCreateMemoryParserCtxt(const char *buffer, + int size); +XML_DEPRECATED +XMLPUBFUN xmlParserCtxtPtr + xmlCreateEntityParserCtxt(const xmlChar *URL, + const xmlChar *ID, + const xmlChar *base); +XMLPUBFUN void + xmlCtxtErrMemory (xmlParserCtxtPtr ctxt); +XMLPUBFUN int + xmlSwitchEncoding (xmlParserCtxtPtr ctxt, + xmlCharEncoding enc); +XMLPUBFUN int + xmlSwitchEncodingName (xmlParserCtxtPtr ctxt, + const char *encoding); +XMLPUBFUN int + xmlSwitchToEncoding (xmlParserCtxtPtr ctxt, + xmlCharEncodingHandlerPtr handler); +XML_DEPRECATED +XMLPUBFUN int + xmlSwitchInputEncoding (xmlParserCtxtPtr ctxt, + xmlParserInputPtr input, + xmlCharEncodingHandlerPtr handler); + +/** + * Input Streams. + */ +XMLPUBFUN xmlParserInputPtr + xmlNewStringInputStream (xmlParserCtxtPtr ctxt, + const xmlChar *buffer); +XML_DEPRECATED +XMLPUBFUN xmlParserInputPtr + xmlNewEntityInputStream (xmlParserCtxtPtr ctxt, + xmlEntityPtr entity); +XMLPUBFUN int + xmlCtxtPushInput (xmlParserCtxtPtr ctxt, + xmlParserInputPtr input); +XMLPUBFUN xmlParserInputPtr + xmlCtxtPopInput (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int + xmlPushInput (xmlParserCtxtPtr ctxt, + xmlParserInputPtr input); +XML_DEPRECATED +XMLPUBFUN xmlChar + xmlPopInput (xmlParserCtxtPtr ctxt); +XMLPUBFUN void + xmlFreeInputStream (xmlParserInputPtr input); +XMLPUBFUN xmlParserInputPtr + xmlNewInputFromFile (xmlParserCtxtPtr ctxt, + const char *filename); +XMLPUBFUN xmlParserInputPtr + xmlNewInputStream (xmlParserCtxtPtr ctxt); + +/** + * Namespaces. + */ +XMLPUBFUN xmlChar * + xmlSplitQName (xmlParserCtxtPtr ctxt, + const xmlChar *name, + xmlChar **prefix); + +/** + * Generic production rules. + */ +XML_DEPRECATED +XMLPUBFUN const xmlChar * + xmlParseName (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParseNmtoken (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParseEntityValue (xmlParserCtxtPtr ctxt, + xmlChar **orig); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParseAttValue (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParseSystemLiteral (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParsePubidLiteral (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseCharData (xmlParserCtxtPtr ctxt, + int cdata); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParseExternalID (xmlParserCtxtPtr ctxt, + xmlChar **publicID, + int strict); +XML_DEPRECATED +XMLPUBFUN void + xmlParseComment (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN const xmlChar * + xmlParsePITarget (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParsePI (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseNotationDecl (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseEntityDecl (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int + xmlParseDefaultDecl (xmlParserCtxtPtr ctxt, + xmlChar **value); +XML_DEPRECATED +XMLPUBFUN xmlEnumerationPtr + xmlParseNotationType (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlEnumerationPtr + xmlParseEnumerationType (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int + xmlParseEnumeratedType (xmlParserCtxtPtr ctxt, + xmlEnumerationPtr *tree); +XML_DEPRECATED +XMLPUBFUN int + xmlParseAttributeType (xmlParserCtxtPtr ctxt, + xmlEnumerationPtr *tree); +XML_DEPRECATED +XMLPUBFUN void + xmlParseAttributeListDecl(xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlElementContentPtr + xmlParseElementMixedContentDecl + (xmlParserCtxtPtr ctxt, + int inputchk); +XML_DEPRECATED +XMLPUBFUN xmlElementContentPtr + xmlParseElementChildrenContentDecl + (xmlParserCtxtPtr ctxt, + int inputchk); +XML_DEPRECATED +XMLPUBFUN int + xmlParseElementContentDecl(xmlParserCtxtPtr ctxt, + const xmlChar *name, + xmlElementContentPtr *result); +XML_DEPRECATED +XMLPUBFUN int + xmlParseElementDecl (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseMarkupDecl (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int + xmlParseCharRef (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlEntityPtr + xmlParseEntityRef (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseReference (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParsePEReference (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseDocTypeDecl (xmlParserCtxtPtr ctxt); +#ifdef LIBXML_SAX1_ENABLED +XML_DEPRECATED +XMLPUBFUN const xmlChar * + xmlParseAttribute (xmlParserCtxtPtr ctxt, + xmlChar **value); +XML_DEPRECATED +XMLPUBFUN const xmlChar * + xmlParseStartTag (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseEndTag (xmlParserCtxtPtr ctxt); +#endif /* LIBXML_SAX1_ENABLED */ +XML_DEPRECATED +XMLPUBFUN void + xmlParseCDSect (xmlParserCtxtPtr ctxt); +XMLPUBFUN void + xmlParseContent (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseElement (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParseVersionNum (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParseVersionInfo (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlParseEncName (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN const xmlChar * + xmlParseEncodingDecl (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int + xmlParseSDDecl (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseXMLDecl (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseTextDecl (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseMisc (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlParseExternalSubset (xmlParserCtxtPtr ctxt, + const xmlChar *ExternalID, + const xmlChar *SystemID); +/** + * XML_SUBSTITUTE_NONE: + * + * If no entities need to be substituted. + */ +#define XML_SUBSTITUTE_NONE 0 +/** + * XML_SUBSTITUTE_REF: + * + * Whether general entities need to be substituted. + */ +#define XML_SUBSTITUTE_REF 1 +/** + * XML_SUBSTITUTE_PEREF: + * + * Whether parameter entities need to be substituted. + */ +#define XML_SUBSTITUTE_PEREF 2 +/** + * XML_SUBSTITUTE_BOTH: + * + * Both general and parameter entities need to be substituted. + */ +#define XML_SUBSTITUTE_BOTH 3 + +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlStringDecodeEntities (xmlParserCtxtPtr ctxt, + const xmlChar *str, + int what, + xmlChar end, + xmlChar end2, + xmlChar end3); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlStringLenDecodeEntities (xmlParserCtxtPtr ctxt, + const xmlChar *str, + int len, + int what, + xmlChar end, + xmlChar end2, + xmlChar end3); + +/* + * Generated by MACROS on top of parser.c c.f. PUSH_AND_POP. + */ +XML_DEPRECATED +XMLPUBFUN int nodePush (xmlParserCtxtPtr ctxt, + xmlNodePtr value); +XML_DEPRECATED +XMLPUBFUN xmlNodePtr nodePop (xmlParserCtxtPtr ctxt); +XMLPUBFUN int inputPush (xmlParserCtxtPtr ctxt, + xmlParserInputPtr value); +XMLPUBFUN xmlParserInputPtr inputPop (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN const xmlChar * namePop (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int namePush (xmlParserCtxtPtr ctxt, + const xmlChar *value); + +/* + * other commodities shared between parser.c and parserInternals. + */ +XML_DEPRECATED +XMLPUBFUN int xmlSkipBlankChars (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int xmlStringCurrentChar (xmlParserCtxtPtr ctxt, + const xmlChar *cur, + int *len); +XML_DEPRECATED +XMLPUBFUN void xmlParserHandlePEReference(xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN int xmlCheckLanguageID (const xmlChar *lang); + +/* + * Really core function shared with HTML parser. + */ +XML_DEPRECATED +XMLPUBFUN int xmlCurrentChar (xmlParserCtxtPtr ctxt, + int *len); +XML_DEPRECATED +XMLPUBFUN int xmlCopyCharMultiByte (xmlChar *out, + int val); +XML_DEPRECATED +XMLPUBFUN int xmlCopyChar (int len, + xmlChar *out, + int val); +XML_DEPRECATED +XMLPUBFUN void xmlNextChar (xmlParserCtxtPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void xmlParserInputShrink (xmlParserInputPtr in); + +#ifdef __cplusplus +} +#endif +#endif /* __XML_PARSER_INTERNALS_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/pattern.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/pattern.h new file mode 100644 index 0000000000000000000000000000000000000000..947f0900a23e0a7fb424d73fb31ddd9abaaf1656 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/pattern.h @@ -0,0 +1,106 @@ +/* + * Summary: pattern expression handling + * Description: allows to compile and test pattern expressions for nodes + * either in a tree or based on a parser state. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_PATTERN_H__ +#define __XML_PATTERN_H__ + +#include +#include +#include + +#ifdef LIBXML_PATTERN_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlPattern: + * + * A compiled (XPath based) pattern to select nodes + */ +typedef struct _xmlPattern xmlPattern; +typedef xmlPattern *xmlPatternPtr; + +/** + * xmlPatternFlags: + * + * This is the set of options affecting the behaviour of pattern + * matching with this module + * + */ +typedef enum { + XML_PATTERN_DEFAULT = 0, /* simple pattern match */ + XML_PATTERN_XPATH = 1<<0, /* standard XPath pattern */ + XML_PATTERN_XSSEL = 1<<1, /* XPath subset for schema selector */ + XML_PATTERN_XSFIELD = 1<<2 /* XPath subset for schema field */ +} xmlPatternFlags; + +XMLPUBFUN void + xmlFreePattern (xmlPatternPtr comp); + +XMLPUBFUN void + xmlFreePatternList (xmlPatternPtr comp); + +XMLPUBFUN xmlPatternPtr + xmlPatterncompile (const xmlChar *pattern, + xmlDict *dict, + int flags, + const xmlChar **namespaces); +XMLPUBFUN int + xmlPatternCompileSafe (const xmlChar *pattern, + xmlDict *dict, + int flags, + const xmlChar **namespaces, + xmlPatternPtr *patternOut); +XMLPUBFUN int + xmlPatternMatch (xmlPatternPtr comp, + xmlNodePtr node); + +/* streaming interfaces */ +typedef struct _xmlStreamCtxt xmlStreamCtxt; +typedef xmlStreamCtxt *xmlStreamCtxtPtr; + +XMLPUBFUN int + xmlPatternStreamable (xmlPatternPtr comp); +XMLPUBFUN int + xmlPatternMaxDepth (xmlPatternPtr comp); +XMLPUBFUN int + xmlPatternMinDepth (xmlPatternPtr comp); +XMLPUBFUN int + xmlPatternFromRoot (xmlPatternPtr comp); +XMLPUBFUN xmlStreamCtxtPtr + xmlPatternGetStreamCtxt (xmlPatternPtr comp); +XMLPUBFUN void + xmlFreeStreamCtxt (xmlStreamCtxtPtr stream); +XMLPUBFUN int + xmlStreamPushNode (xmlStreamCtxtPtr stream, + const xmlChar *name, + const xmlChar *ns, + int nodeType); +XMLPUBFUN int + xmlStreamPush (xmlStreamCtxtPtr stream, + const xmlChar *name, + const xmlChar *ns); +XMLPUBFUN int + xmlStreamPushAttr (xmlStreamCtxtPtr stream, + const xmlChar *name, + const xmlChar *ns); +XMLPUBFUN int + xmlStreamPop (xmlStreamCtxtPtr stream); +XMLPUBFUN int + xmlStreamWantsAnyNode (xmlStreamCtxtPtr stream); +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_PATTERN_ENABLED */ + +#endif /* __XML_PATTERN_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/relaxng.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/relaxng.h new file mode 100644 index 0000000000000000000000000000000000000000..96cf499809ae7ebddb2d938483ebb8b7eb727db4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/relaxng.h @@ -0,0 +1,224 @@ +/* + * Summary: implementation of the Relax-NG validation + * Description: implementation of the Relax-NG validation + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_RELAX_NG__ +#define __XML_RELAX_NG__ + +#include +#include +#include +#include +#include + +#ifdef LIBXML_SCHEMAS_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _xmlRelaxNG xmlRelaxNG; +typedef xmlRelaxNG *xmlRelaxNGPtr; + + +/** + * xmlRelaxNGValidityErrorFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of an error callback from a Relax-NG validation + */ +typedef void (*xmlRelaxNGValidityErrorFunc) (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); + +/** + * xmlRelaxNGValidityWarningFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of a warning callback from a Relax-NG validation + */ +typedef void (*xmlRelaxNGValidityWarningFunc) (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); + +/** + * A schemas validation context + */ +typedef struct _xmlRelaxNGParserCtxt xmlRelaxNGParserCtxt; +typedef xmlRelaxNGParserCtxt *xmlRelaxNGParserCtxtPtr; + +typedef struct _xmlRelaxNGValidCtxt xmlRelaxNGValidCtxt; +typedef xmlRelaxNGValidCtxt *xmlRelaxNGValidCtxtPtr; + +/* + * xmlRelaxNGValidErr: + * + * List of possible Relax NG validation errors + */ +typedef enum { + XML_RELAXNG_OK = 0, + XML_RELAXNG_ERR_MEMORY, + XML_RELAXNG_ERR_TYPE, + XML_RELAXNG_ERR_TYPEVAL, + XML_RELAXNG_ERR_DUPID, + XML_RELAXNG_ERR_TYPECMP, + XML_RELAXNG_ERR_NOSTATE, + XML_RELAXNG_ERR_NODEFINE, + XML_RELAXNG_ERR_LISTEXTRA, + XML_RELAXNG_ERR_LISTEMPTY, + XML_RELAXNG_ERR_INTERNODATA, + XML_RELAXNG_ERR_INTERSEQ, + XML_RELAXNG_ERR_INTEREXTRA, + XML_RELAXNG_ERR_ELEMNAME, + XML_RELAXNG_ERR_ATTRNAME, + XML_RELAXNG_ERR_ELEMNONS, + XML_RELAXNG_ERR_ATTRNONS, + XML_RELAXNG_ERR_ELEMWRONGNS, + XML_RELAXNG_ERR_ATTRWRONGNS, + XML_RELAXNG_ERR_ELEMEXTRANS, + XML_RELAXNG_ERR_ATTREXTRANS, + XML_RELAXNG_ERR_ELEMNOTEMPTY, + XML_RELAXNG_ERR_NOELEM, + XML_RELAXNG_ERR_NOTELEM, + XML_RELAXNG_ERR_ATTRVALID, + XML_RELAXNG_ERR_CONTENTVALID, + XML_RELAXNG_ERR_EXTRACONTENT, + XML_RELAXNG_ERR_INVALIDATTR, + XML_RELAXNG_ERR_DATAELEM, + XML_RELAXNG_ERR_VALELEM, + XML_RELAXNG_ERR_LISTELEM, + XML_RELAXNG_ERR_DATATYPE, + XML_RELAXNG_ERR_VALUE, + XML_RELAXNG_ERR_LIST, + XML_RELAXNG_ERR_NOGRAMMAR, + XML_RELAXNG_ERR_EXTRADATA, + XML_RELAXNG_ERR_LACKDATA, + XML_RELAXNG_ERR_INTERNAL, + XML_RELAXNG_ERR_ELEMWRONG, + XML_RELAXNG_ERR_TEXTWRONG +} xmlRelaxNGValidErr; + +/* + * xmlRelaxNGParserFlags: + * + * List of possible Relax NG Parser flags + */ +typedef enum { + XML_RELAXNGP_NONE = 0, + XML_RELAXNGP_FREE_DOC = 1, + XML_RELAXNGP_CRNG = 2 +} xmlRelaxNGParserFlag; + +XMLPUBFUN int + xmlRelaxNGInitTypes (void); +XML_DEPRECATED +XMLPUBFUN void + xmlRelaxNGCleanupTypes (void); + +/* + * Interfaces for parsing. + */ +XMLPUBFUN xmlRelaxNGParserCtxtPtr + xmlRelaxNGNewParserCtxt (const char *URL); +XMLPUBFUN xmlRelaxNGParserCtxtPtr + xmlRelaxNGNewMemParserCtxt (const char *buffer, + int size); +XMLPUBFUN xmlRelaxNGParserCtxtPtr + xmlRelaxNGNewDocParserCtxt (xmlDocPtr doc); + +XMLPUBFUN int + xmlRelaxParserSetFlag (xmlRelaxNGParserCtxtPtr ctxt, + int flag); + +XMLPUBFUN void + xmlRelaxNGFreeParserCtxt (xmlRelaxNGParserCtxtPtr ctxt); +XMLPUBFUN void + xmlRelaxNGSetParserErrors(xmlRelaxNGParserCtxtPtr ctxt, + xmlRelaxNGValidityErrorFunc err, + xmlRelaxNGValidityWarningFunc warn, + void *ctx); +XMLPUBFUN int + xmlRelaxNGGetParserErrors(xmlRelaxNGParserCtxtPtr ctxt, + xmlRelaxNGValidityErrorFunc *err, + xmlRelaxNGValidityWarningFunc *warn, + void **ctx); +XMLPUBFUN void + xmlRelaxNGSetParserStructuredErrors( + xmlRelaxNGParserCtxtPtr ctxt, + xmlStructuredErrorFunc serror, + void *ctx); +XMLPUBFUN void + xmlRelaxNGSetResourceLoader (xmlRelaxNGParserCtxtPtr ctxt, + xmlResourceLoader loader, + void *vctxt); +XMLPUBFUN xmlRelaxNGPtr + xmlRelaxNGParse (xmlRelaxNGParserCtxtPtr ctxt); +XMLPUBFUN void + xmlRelaxNGFree (xmlRelaxNGPtr schema); +#ifdef LIBXML_OUTPUT_ENABLED +XMLPUBFUN void + xmlRelaxNGDump (FILE *output, + xmlRelaxNGPtr schema); +XMLPUBFUN void + xmlRelaxNGDumpTree (FILE * output, + xmlRelaxNGPtr schema); +#endif /* LIBXML_OUTPUT_ENABLED */ +/* + * Interfaces for validating + */ +XMLPUBFUN void + xmlRelaxNGSetValidErrors(xmlRelaxNGValidCtxtPtr ctxt, + xmlRelaxNGValidityErrorFunc err, + xmlRelaxNGValidityWarningFunc warn, + void *ctx); +XMLPUBFUN int + xmlRelaxNGGetValidErrors(xmlRelaxNGValidCtxtPtr ctxt, + xmlRelaxNGValidityErrorFunc *err, + xmlRelaxNGValidityWarningFunc *warn, + void **ctx); +XMLPUBFUN void + xmlRelaxNGSetValidStructuredErrors(xmlRelaxNGValidCtxtPtr ctxt, + xmlStructuredErrorFunc serror, void *ctx); +XMLPUBFUN xmlRelaxNGValidCtxtPtr + xmlRelaxNGNewValidCtxt (xmlRelaxNGPtr schema); +XMLPUBFUN void + xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxtPtr ctxt); +XMLPUBFUN int + xmlRelaxNGValidateDoc (xmlRelaxNGValidCtxtPtr ctxt, + xmlDocPtr doc); +/* + * Interfaces for progressive validation when possible + */ +XMLPUBFUN int + xmlRelaxNGValidatePushElement (xmlRelaxNGValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem); +XMLPUBFUN int + xmlRelaxNGValidatePushCData (xmlRelaxNGValidCtxtPtr ctxt, + const xmlChar *data, + int len); +XMLPUBFUN int + xmlRelaxNGValidatePopElement (xmlRelaxNGValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem); +XMLPUBFUN int + xmlRelaxNGValidateFullElement (xmlRelaxNGValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_SCHEMAS_ENABLED */ + +#endif /* __XML_RELAX_NG__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/schemasInternals.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/schemasInternals.h new file mode 100644 index 0000000000000000000000000000000000000000..e9d3b3c7abb1e5b6fa1b1f25fb9bc2ee5e46d56f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/schemasInternals.h @@ -0,0 +1,959 @@ +/* + * Summary: internal interfaces for XML Schemas + * 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 guaranteed to be API or ABI stable ! + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + + +#ifndef __XML_SCHEMA_INTERNALS_H__ +#define __XML_SCHEMA_INTERNALS_H__ + +#include + +#ifdef LIBXML_SCHEMAS_ENABLED + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + XML_SCHEMAS_UNKNOWN = 0, + XML_SCHEMAS_STRING = 1, + XML_SCHEMAS_NORMSTRING = 2, + XML_SCHEMAS_DECIMAL = 3, + XML_SCHEMAS_TIME = 4, + XML_SCHEMAS_GDAY = 5, + XML_SCHEMAS_GMONTH = 6, + XML_SCHEMAS_GMONTHDAY = 7, + XML_SCHEMAS_GYEAR = 8, + XML_SCHEMAS_GYEARMONTH = 9, + XML_SCHEMAS_DATE = 10, + XML_SCHEMAS_DATETIME = 11, + XML_SCHEMAS_DURATION = 12, + XML_SCHEMAS_FLOAT = 13, + XML_SCHEMAS_DOUBLE = 14, + XML_SCHEMAS_BOOLEAN = 15, + XML_SCHEMAS_TOKEN = 16, + XML_SCHEMAS_LANGUAGE = 17, + XML_SCHEMAS_NMTOKEN = 18, + XML_SCHEMAS_NMTOKENS = 19, + XML_SCHEMAS_NAME = 20, + XML_SCHEMAS_QNAME = 21, + XML_SCHEMAS_NCNAME = 22, + XML_SCHEMAS_ID = 23, + XML_SCHEMAS_IDREF = 24, + XML_SCHEMAS_IDREFS = 25, + XML_SCHEMAS_ENTITY = 26, + XML_SCHEMAS_ENTITIES = 27, + XML_SCHEMAS_NOTATION = 28, + XML_SCHEMAS_ANYURI = 29, + XML_SCHEMAS_INTEGER = 30, + XML_SCHEMAS_NPINTEGER = 31, + XML_SCHEMAS_NINTEGER = 32, + XML_SCHEMAS_NNINTEGER = 33, + XML_SCHEMAS_PINTEGER = 34, + XML_SCHEMAS_INT = 35, + XML_SCHEMAS_UINT = 36, + XML_SCHEMAS_LONG = 37, + XML_SCHEMAS_ULONG = 38, + XML_SCHEMAS_SHORT = 39, + XML_SCHEMAS_USHORT = 40, + XML_SCHEMAS_BYTE = 41, + XML_SCHEMAS_UBYTE = 42, + XML_SCHEMAS_HEXBINARY = 43, + XML_SCHEMAS_BASE64BINARY = 44, + XML_SCHEMAS_ANYTYPE = 45, + XML_SCHEMAS_ANYSIMPLETYPE = 46 +} xmlSchemaValType; + +/* + * XML Schemas defines multiple type of types. + */ +typedef enum { + XML_SCHEMA_TYPE_BASIC = 1, /* A built-in datatype */ + XML_SCHEMA_TYPE_ANY, + XML_SCHEMA_TYPE_FACET, + XML_SCHEMA_TYPE_SIMPLE, + XML_SCHEMA_TYPE_COMPLEX, + XML_SCHEMA_TYPE_SEQUENCE = 6, + XML_SCHEMA_TYPE_CHOICE, + XML_SCHEMA_TYPE_ALL, + XML_SCHEMA_TYPE_SIMPLE_CONTENT, + XML_SCHEMA_TYPE_COMPLEX_CONTENT, + XML_SCHEMA_TYPE_UR, + XML_SCHEMA_TYPE_RESTRICTION, + XML_SCHEMA_TYPE_EXTENSION, + XML_SCHEMA_TYPE_ELEMENT, + XML_SCHEMA_TYPE_ATTRIBUTE, + XML_SCHEMA_TYPE_ATTRIBUTEGROUP, + XML_SCHEMA_TYPE_GROUP, + XML_SCHEMA_TYPE_NOTATION, + XML_SCHEMA_TYPE_LIST, + XML_SCHEMA_TYPE_UNION, + XML_SCHEMA_TYPE_ANY_ATTRIBUTE, + XML_SCHEMA_TYPE_IDC_UNIQUE, + XML_SCHEMA_TYPE_IDC_KEY, + XML_SCHEMA_TYPE_IDC_KEYREF, + XML_SCHEMA_TYPE_PARTICLE = 25, + XML_SCHEMA_TYPE_ATTRIBUTE_USE, + XML_SCHEMA_FACET_MININCLUSIVE = 1000, + XML_SCHEMA_FACET_MINEXCLUSIVE, + XML_SCHEMA_FACET_MAXINCLUSIVE, + XML_SCHEMA_FACET_MAXEXCLUSIVE, + XML_SCHEMA_FACET_TOTALDIGITS, + XML_SCHEMA_FACET_FRACTIONDIGITS, + XML_SCHEMA_FACET_PATTERN, + XML_SCHEMA_FACET_ENUMERATION, + XML_SCHEMA_FACET_WHITESPACE, + XML_SCHEMA_FACET_LENGTH, + XML_SCHEMA_FACET_MAXLENGTH, + XML_SCHEMA_FACET_MINLENGTH, + XML_SCHEMA_EXTRA_QNAMEREF = 2000, + XML_SCHEMA_EXTRA_ATTR_USE_PROHIB +} xmlSchemaTypeType; + +typedef enum { + XML_SCHEMA_CONTENT_UNKNOWN = 0, + XML_SCHEMA_CONTENT_EMPTY = 1, + XML_SCHEMA_CONTENT_ELEMENTS, + XML_SCHEMA_CONTENT_MIXED, + XML_SCHEMA_CONTENT_SIMPLE, + XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS, /* Obsolete */ + XML_SCHEMA_CONTENT_BASIC, + XML_SCHEMA_CONTENT_ANY +} xmlSchemaContentType; + +typedef struct _xmlSchemaVal xmlSchemaVal; +typedef xmlSchemaVal *xmlSchemaValPtr; + +typedef struct _xmlSchemaType xmlSchemaType; +typedef xmlSchemaType *xmlSchemaTypePtr; + +typedef struct _xmlSchemaFacet xmlSchemaFacet; +typedef xmlSchemaFacet *xmlSchemaFacetPtr; + +/** + * Annotation + */ +typedef struct _xmlSchemaAnnot xmlSchemaAnnot; +typedef xmlSchemaAnnot *xmlSchemaAnnotPtr; +struct _xmlSchemaAnnot { + struct _xmlSchemaAnnot *next; + xmlNodePtr content; /* the annotation */ +}; + +/** + * XML_SCHEMAS_ANYATTR_SKIP: + * + * Skip unknown attribute from validation + * Obsolete, not used anymore. + */ +#define XML_SCHEMAS_ANYATTR_SKIP 1 +/** + * XML_SCHEMAS_ANYATTR_LAX: + * + * Ignore validation non definition on attributes + * Obsolete, not used anymore. + */ +#define XML_SCHEMAS_ANYATTR_LAX 2 +/** + * XML_SCHEMAS_ANYATTR_STRICT: + * + * Apply strict validation rules on attributes + * Obsolete, not used anymore. + */ +#define XML_SCHEMAS_ANYATTR_STRICT 3 +/** + * XML_SCHEMAS_ANY_SKIP: + * + * Skip unknown attribute from validation + */ +#define XML_SCHEMAS_ANY_SKIP 1 +/** + * XML_SCHEMAS_ANY_LAX: + * + * Used by wildcards. + * Validate if type found, don't worry if not found + */ +#define XML_SCHEMAS_ANY_LAX 2 +/** + * XML_SCHEMAS_ANY_STRICT: + * + * Used by wildcards. + * Apply strict validation rules + */ +#define XML_SCHEMAS_ANY_STRICT 3 +/** + * XML_SCHEMAS_ATTR_USE_PROHIBITED: + * + * Used by wildcards. + * The attribute is prohibited. + */ +#define XML_SCHEMAS_ATTR_USE_PROHIBITED 0 +/** + * XML_SCHEMAS_ATTR_USE_REQUIRED: + * + * The attribute is required. + */ +#define XML_SCHEMAS_ATTR_USE_REQUIRED 1 +/** + * XML_SCHEMAS_ATTR_USE_OPTIONAL: + * + * The attribute is optional. + */ +#define XML_SCHEMAS_ATTR_USE_OPTIONAL 2 +/** + * XML_SCHEMAS_ATTR_GLOBAL: + * + * allow elements in no namespace + */ +#define XML_SCHEMAS_ATTR_GLOBAL 1 << 0 +/** + * XML_SCHEMAS_ATTR_NSDEFAULT: + * + * allow elements in no namespace + */ +#define XML_SCHEMAS_ATTR_NSDEFAULT 1 << 7 +/** + * XML_SCHEMAS_ATTR_INTERNAL_RESOLVED: + * + * this is set when the "type" and "ref" references + * have been resolved. + */ +#define XML_SCHEMAS_ATTR_INTERNAL_RESOLVED 1 << 8 +/** + * XML_SCHEMAS_ATTR_FIXED: + * + * the attribute has a fixed value + */ +#define XML_SCHEMAS_ATTR_FIXED 1 << 9 + +/** + * xmlSchemaAttribute: + * An attribute definition. + */ + +typedef struct _xmlSchemaAttribute xmlSchemaAttribute; +typedef xmlSchemaAttribute *xmlSchemaAttributePtr; +struct _xmlSchemaAttribute { + xmlSchemaTypeType type; + struct _xmlSchemaAttribute *next; /* the next attribute (not used?) */ + const xmlChar *name; /* the name of the declaration */ + const xmlChar *id; /* Deprecated; not used */ + const xmlChar *ref; /* Deprecated; not used */ + const xmlChar *refNs; /* Deprecated; not used */ + const xmlChar *typeName; /* the local name of the type definition */ + const xmlChar *typeNs; /* the ns URI of the type definition */ + xmlSchemaAnnotPtr annot; + + xmlSchemaTypePtr base; /* Deprecated; not used */ + int occurs; /* Deprecated; not used */ + const xmlChar *defValue; /* The initial value of the value constraint */ + xmlSchemaTypePtr subtypes; /* the type definition */ + xmlNodePtr node; + const xmlChar *targetNamespace; + int flags; + const xmlChar *refPrefix; /* Deprecated; not used */ + xmlSchemaValPtr defVal; /* The compiled value constraint */ + xmlSchemaAttributePtr refDecl; /* Deprecated; not used */ +}; + +/** + * xmlSchemaAttributeLink: + * Used to build a list of attribute uses on complexType definitions. + * WARNING: Deprecated; not used. + */ +typedef struct _xmlSchemaAttributeLink xmlSchemaAttributeLink; +typedef xmlSchemaAttributeLink *xmlSchemaAttributeLinkPtr; +struct _xmlSchemaAttributeLink { + struct _xmlSchemaAttributeLink *next;/* the next attribute link ... */ + struct _xmlSchemaAttribute *attr;/* the linked attribute */ +}; + +/** + * XML_SCHEMAS_WILDCARD_COMPLETE: + * + * If the wildcard is complete. + */ +#define XML_SCHEMAS_WILDCARD_COMPLETE 1 << 0 + +/** + * xmlSchemaCharValueLink: + * Used to build a list of namespaces on wildcards. + */ +typedef struct _xmlSchemaWildcardNs xmlSchemaWildcardNs; +typedef xmlSchemaWildcardNs *xmlSchemaWildcardNsPtr; +struct _xmlSchemaWildcardNs { + struct _xmlSchemaWildcardNs *next;/* the next constraint link ... */ + const xmlChar *value;/* the value */ +}; + +/** + * xmlSchemaWildcard. + * A wildcard. + */ +typedef struct _xmlSchemaWildcard xmlSchemaWildcard; +typedef xmlSchemaWildcard *xmlSchemaWildcardPtr; +struct _xmlSchemaWildcard { + xmlSchemaTypeType type; /* The kind of type */ + const xmlChar *id; /* Deprecated; not used */ + xmlSchemaAnnotPtr annot; + xmlNodePtr node; + int minOccurs; /* Deprecated; not used */ + int maxOccurs; /* Deprecated; not used */ + int processContents; + int any; /* Indicates if the ns constraint is of ##any */ + xmlSchemaWildcardNsPtr nsSet; /* The list of allowed namespaces */ + xmlSchemaWildcardNsPtr negNsSet; /* The negated namespace */ + int flags; +}; + +/** + * XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED: + * + * The attribute wildcard has been built. + */ +#define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED 1 << 0 +/** + * XML_SCHEMAS_ATTRGROUP_GLOBAL: + * + * The attribute group has been defined. + */ +#define XML_SCHEMAS_ATTRGROUP_GLOBAL 1 << 1 +/** + * XML_SCHEMAS_ATTRGROUP_MARKED: + * + * Marks the attr group as marked; used for circular checks. + */ +#define XML_SCHEMAS_ATTRGROUP_MARKED 1 << 2 + +/** + * XML_SCHEMAS_ATTRGROUP_REDEFINED: + * + * The attr group was redefined. + */ +#define XML_SCHEMAS_ATTRGROUP_REDEFINED 1 << 3 +/** + * XML_SCHEMAS_ATTRGROUP_HAS_REFS: + * + * Whether this attr. group contains attr. group references. + */ +#define XML_SCHEMAS_ATTRGROUP_HAS_REFS 1 << 4 + +/** + * An attribute group definition. + * + * xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures + * must be kept similar + */ +typedef struct _xmlSchemaAttributeGroup xmlSchemaAttributeGroup; +typedef xmlSchemaAttributeGroup *xmlSchemaAttributeGroupPtr; +struct _xmlSchemaAttributeGroup { + xmlSchemaTypeType type; /* The kind of type */ + struct _xmlSchemaAttribute *next;/* the next attribute if in a group ... */ + const xmlChar *name; + const xmlChar *id; + const xmlChar *ref; /* Deprecated; not used */ + const xmlChar *refNs; /* Deprecated; not used */ + xmlSchemaAnnotPtr annot; + + xmlSchemaAttributePtr attributes; /* Deprecated; not used */ + xmlNodePtr node; + int flags; + xmlSchemaWildcardPtr attributeWildcard; + const xmlChar *refPrefix; /* Deprecated; not used */ + xmlSchemaAttributeGroupPtr refItem; /* Deprecated; not used */ + const xmlChar *targetNamespace; + void *attrUses; +}; + +/** + * xmlSchemaTypeLink: + * Used to build a list of types (e.g. member types of + * simpleType with variety "union"). + */ +typedef struct _xmlSchemaTypeLink xmlSchemaTypeLink; +typedef xmlSchemaTypeLink *xmlSchemaTypeLinkPtr; +struct _xmlSchemaTypeLink { + struct _xmlSchemaTypeLink *next;/* the next type link ... */ + xmlSchemaTypePtr type;/* the linked type */ +}; + +/** + * xmlSchemaFacetLink: + * Used to build a list of facets. + */ +typedef struct _xmlSchemaFacetLink xmlSchemaFacetLink; +typedef xmlSchemaFacetLink *xmlSchemaFacetLinkPtr; +struct _xmlSchemaFacetLink { + struct _xmlSchemaFacetLink *next;/* the next facet link ... */ + xmlSchemaFacetPtr facet;/* the linked facet */ +}; + +/** + * XML_SCHEMAS_TYPE_MIXED: + * + * the element content type is mixed + */ +#define XML_SCHEMAS_TYPE_MIXED 1 << 0 +/** + * XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION: + * + * the simple or complex type has a derivation method of "extension". + */ +#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION 1 << 1 +/** + * XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION: + * + * the simple or complex type has a derivation method of "restriction". + */ +#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION 1 << 2 +/** + * XML_SCHEMAS_TYPE_GLOBAL: + * + * the type is global + */ +#define XML_SCHEMAS_TYPE_GLOBAL 1 << 3 +/** + * XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD: + * + * the complexType owns an attribute wildcard, i.e. + * it can be freed by the complexType + */ +#define XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD 1 << 4 /* Obsolete. */ +/** + * XML_SCHEMAS_TYPE_VARIETY_ABSENT: + * + * the simpleType has a variety of "absent". + * TODO: Actually not necessary :-/, since if + * none of the variety flags occur then it's + * automatically absent. + */ +#define XML_SCHEMAS_TYPE_VARIETY_ABSENT 1 << 5 +/** + * XML_SCHEMAS_TYPE_VARIETY_LIST: + * + * the simpleType has a variety of "list". + */ +#define XML_SCHEMAS_TYPE_VARIETY_LIST 1 << 6 +/** + * XML_SCHEMAS_TYPE_VARIETY_UNION: + * + * the simpleType has a variety of "union". + */ +#define XML_SCHEMAS_TYPE_VARIETY_UNION 1 << 7 +/** + * XML_SCHEMAS_TYPE_VARIETY_ATOMIC: + * + * the simpleType has a variety of "union". + */ +#define XML_SCHEMAS_TYPE_VARIETY_ATOMIC 1 << 8 +/** + * XML_SCHEMAS_TYPE_FINAL_EXTENSION: + * + * the complexType has a final of "extension". + */ +#define XML_SCHEMAS_TYPE_FINAL_EXTENSION 1 << 9 +/** + * XML_SCHEMAS_TYPE_FINAL_RESTRICTION: + * + * the simpleType/complexType has a final of "restriction". + */ +#define XML_SCHEMAS_TYPE_FINAL_RESTRICTION 1 << 10 +/** + * XML_SCHEMAS_TYPE_FINAL_LIST: + * + * the simpleType has a final of "list". + */ +#define XML_SCHEMAS_TYPE_FINAL_LIST 1 << 11 +/** + * XML_SCHEMAS_TYPE_FINAL_UNION: + * + * the simpleType has a final of "union". + */ +#define XML_SCHEMAS_TYPE_FINAL_UNION 1 << 12 +/** + * XML_SCHEMAS_TYPE_FINAL_DEFAULT: + * + * the simpleType has a final of "default". + */ +#define XML_SCHEMAS_TYPE_FINAL_DEFAULT 1 << 13 +/** + * XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE: + * + * Marks the item as a builtin primitive. + */ +#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE 1 << 14 +/** + * XML_SCHEMAS_TYPE_MARKED: + * + * Marks the item as marked; used for circular checks. + */ +#define XML_SCHEMAS_TYPE_MARKED 1 << 16 +/** + * XML_SCHEMAS_TYPE_BLOCK_DEFAULT: + * + * the complexType did not specify 'block' so use the default of the + * item. + */ +#define XML_SCHEMAS_TYPE_BLOCK_DEFAULT 1 << 17 +/** + * XML_SCHEMAS_TYPE_BLOCK_EXTENSION: + * + * the complexType has a 'block' of "extension". + */ +#define XML_SCHEMAS_TYPE_BLOCK_EXTENSION 1 << 18 +/** + * XML_SCHEMAS_TYPE_BLOCK_RESTRICTION: + * + * the complexType has a 'block' of "restriction". + */ +#define XML_SCHEMAS_TYPE_BLOCK_RESTRICTION 1 << 19 +/** + * XML_SCHEMAS_TYPE_ABSTRACT: + * + * the simple/complexType is abstract. + */ +#define XML_SCHEMAS_TYPE_ABSTRACT 1 << 20 +/** + * XML_SCHEMAS_TYPE_FACETSNEEDVALUE: + * + * indicates if the facets need a computed value + */ +#define XML_SCHEMAS_TYPE_FACETSNEEDVALUE 1 << 21 +/** + * XML_SCHEMAS_TYPE_INTERNAL_RESOLVED: + * + * indicates that the type was typefixed + */ +#define XML_SCHEMAS_TYPE_INTERNAL_RESOLVED 1 << 22 +/** + * XML_SCHEMAS_TYPE_INTERNAL_INVALID: + * + * indicates that the type is invalid + */ +#define XML_SCHEMAS_TYPE_INTERNAL_INVALID 1 << 23 +/** + * XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE: + * + * a whitespace-facet value of "preserve" + */ +#define XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE 1 << 24 +/** + * XML_SCHEMAS_TYPE_WHITESPACE_REPLACE: + * + * a whitespace-facet value of "replace" + */ +#define XML_SCHEMAS_TYPE_WHITESPACE_REPLACE 1 << 25 +/** + * XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE: + * + * a whitespace-facet value of "collapse" + */ +#define XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE 1 << 26 +/** + * XML_SCHEMAS_TYPE_HAS_FACETS: + * + * has facets + */ +#define XML_SCHEMAS_TYPE_HAS_FACETS 1 << 27 +/** + * XML_SCHEMAS_TYPE_NORMVALUENEEDED: + * + * indicates if the facets (pattern) need a normalized value + */ +#define XML_SCHEMAS_TYPE_NORMVALUENEEDED 1 << 28 + +/** + * XML_SCHEMAS_TYPE_FIXUP_1: + * + * First stage of fixup was done. + */ +#define XML_SCHEMAS_TYPE_FIXUP_1 1 << 29 + +/** + * XML_SCHEMAS_TYPE_REDEFINED: + * + * The type was redefined. + */ +#define XML_SCHEMAS_TYPE_REDEFINED 1 << 30 +/** + * XML_SCHEMAS_TYPE_REDEFINING: + * + * The type redefines an other type. + */ +/* #define XML_SCHEMAS_TYPE_REDEFINING 1 << 31 */ + +/** + * _xmlSchemaType: + * + * Schemas type definition. + */ +struct _xmlSchemaType { + xmlSchemaTypeType type; /* The kind of type */ + struct _xmlSchemaType *next; /* the next type if in a sequence ... */ + const xmlChar *name; + const xmlChar *id ; /* Deprecated; not used */ + const xmlChar *ref; /* Deprecated; not used */ + const xmlChar *refNs; /* Deprecated; not used */ + xmlSchemaAnnotPtr annot; + xmlSchemaTypePtr subtypes; + xmlSchemaAttributePtr attributes; /* Deprecated; not used */ + xmlNodePtr node; + int minOccurs; /* Deprecated; not used */ + int maxOccurs; /* Deprecated; not used */ + + int flags; + xmlSchemaContentType contentType; + const xmlChar *base; /* Base type's local name */ + const xmlChar *baseNs; /* Base type's target namespace */ + xmlSchemaTypePtr baseType; /* The base type component */ + xmlSchemaFacetPtr facets; /* Local facets */ + struct _xmlSchemaType *redef; /* Deprecated; not used */ + int recurse; /* Obsolete */ + xmlSchemaAttributeLinkPtr *attributeUses; /* Deprecated; not used */ + xmlSchemaWildcardPtr attributeWildcard; + int builtInType; /* Type of built-in types. */ + xmlSchemaTypeLinkPtr memberTypes; /* member-types if a union type. */ + xmlSchemaFacetLinkPtr facetSet; /* All facets (incl. inherited) */ + const xmlChar *refPrefix; /* Deprecated; not used */ + xmlSchemaTypePtr contentTypeDef; /* Used for the simple content of complex types. + Could we use @subtypes for this? */ + xmlRegexpPtr contModel; /* Holds the automaton of the content model */ + const xmlChar *targetNamespace; + void *attrUses; +}; + +/* + * xmlSchemaElement: + * An element definition. + * + * xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of + * structures must be kept similar + */ +/** + * XML_SCHEMAS_ELEM_NILLABLE: + * + * the element is nillable + */ +#define XML_SCHEMAS_ELEM_NILLABLE 1 << 0 +/** + * XML_SCHEMAS_ELEM_GLOBAL: + * + * the element is global + */ +#define XML_SCHEMAS_ELEM_GLOBAL 1 << 1 +/** + * XML_SCHEMAS_ELEM_DEFAULT: + * + * the element has a default value + */ +#define XML_SCHEMAS_ELEM_DEFAULT 1 << 2 +/** + * XML_SCHEMAS_ELEM_FIXED: + * + * the element has a fixed value + */ +#define XML_SCHEMAS_ELEM_FIXED 1 << 3 +/** + * XML_SCHEMAS_ELEM_ABSTRACT: + * + * the element is abstract + */ +#define XML_SCHEMAS_ELEM_ABSTRACT 1 << 4 +/** + * XML_SCHEMAS_ELEM_TOPLEVEL: + * + * the element is top level + * obsolete: use XML_SCHEMAS_ELEM_GLOBAL instead + */ +#define XML_SCHEMAS_ELEM_TOPLEVEL 1 << 5 +/** + * XML_SCHEMAS_ELEM_REF: + * + * the element is a reference to a type + */ +#define XML_SCHEMAS_ELEM_REF 1 << 6 +/** + * XML_SCHEMAS_ELEM_NSDEFAULT: + * + * allow elements in no namespace + * Obsolete, not used anymore. + */ +#define XML_SCHEMAS_ELEM_NSDEFAULT 1 << 7 +/** + * XML_SCHEMAS_ELEM_INTERNAL_RESOLVED: + * + * this is set when "type", "ref", "substitutionGroup" + * references have been resolved. + */ +#define XML_SCHEMAS_ELEM_INTERNAL_RESOLVED 1 << 8 + /** + * XML_SCHEMAS_ELEM_CIRCULAR: + * + * a helper flag for the search of circular references. + */ +#define XML_SCHEMAS_ELEM_CIRCULAR 1 << 9 +/** + * XML_SCHEMAS_ELEM_BLOCK_ABSENT: + * + * the "block" attribute is absent + */ +#define XML_SCHEMAS_ELEM_BLOCK_ABSENT 1 << 10 +/** + * XML_SCHEMAS_ELEM_BLOCK_EXTENSION: + * + * disallowed substitutions are absent + */ +#define XML_SCHEMAS_ELEM_BLOCK_EXTENSION 1 << 11 +/** + * XML_SCHEMAS_ELEM_BLOCK_RESTRICTION: + * + * disallowed substitutions: "restriction" + */ +#define XML_SCHEMAS_ELEM_BLOCK_RESTRICTION 1 << 12 +/** + * XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION: + * + * disallowed substitutions: "substitution" + */ +#define XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION 1 << 13 +/** + * XML_SCHEMAS_ELEM_FINAL_ABSENT: + * + * substitution group exclusions are absent + */ +#define XML_SCHEMAS_ELEM_FINAL_ABSENT 1 << 14 +/** + * XML_SCHEMAS_ELEM_FINAL_EXTENSION: + * + * substitution group exclusions: "extension" + */ +#define XML_SCHEMAS_ELEM_FINAL_EXTENSION 1 << 15 +/** + * XML_SCHEMAS_ELEM_FINAL_RESTRICTION: + * + * substitution group exclusions: "restriction" + */ +#define XML_SCHEMAS_ELEM_FINAL_RESTRICTION 1 << 16 +/** + * XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD: + * + * the declaration is a substitution group head + */ +#define XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD 1 << 17 +/** + * XML_SCHEMAS_ELEM_INTERNAL_CHECKED: + * + * this is set when the elem decl has been checked against + * all constraints + */ +#define XML_SCHEMAS_ELEM_INTERNAL_CHECKED 1 << 18 + +typedef struct _xmlSchemaElement xmlSchemaElement; +typedef xmlSchemaElement *xmlSchemaElementPtr; +struct _xmlSchemaElement { + xmlSchemaTypeType type; /* The kind of type */ + struct _xmlSchemaType *next; /* Not used? */ + const xmlChar *name; + const xmlChar *id; /* Deprecated; not used */ + const xmlChar *ref; /* Deprecated; not used */ + const xmlChar *refNs; /* Deprecated; not used */ + xmlSchemaAnnotPtr annot; + xmlSchemaTypePtr subtypes; /* the type definition */ + xmlSchemaAttributePtr attributes; + xmlNodePtr node; + int minOccurs; /* Deprecated; not used */ + int maxOccurs; /* Deprecated; not used */ + + int flags; + const xmlChar *targetNamespace; + const xmlChar *namedType; + const xmlChar *namedTypeNs; + const xmlChar *substGroup; + const xmlChar *substGroupNs; + const xmlChar *scope; + const xmlChar *value; /* The original value of the value constraint. */ + struct _xmlSchemaElement *refDecl; /* This will now be used for the + substitution group affiliation */ + xmlRegexpPtr contModel; /* Obsolete for WXS, maybe used for RelaxNG */ + xmlSchemaContentType contentType; + const xmlChar *refPrefix; /* Deprecated; not used */ + xmlSchemaValPtr defVal; /* The compiled value constraint. */ + void *idcs; /* The identity-constraint defs */ +}; + +/* + * XML_SCHEMAS_FACET_UNKNOWN: + * + * unknown facet handling + */ +#define XML_SCHEMAS_FACET_UNKNOWN 0 +/* + * XML_SCHEMAS_FACET_PRESERVE: + * + * preserve the type of the facet + */ +#define XML_SCHEMAS_FACET_PRESERVE 1 +/* + * XML_SCHEMAS_FACET_REPLACE: + * + * replace the type of the facet + */ +#define XML_SCHEMAS_FACET_REPLACE 2 +/* + * XML_SCHEMAS_FACET_COLLAPSE: + * + * collapse the types of the facet + */ +#define XML_SCHEMAS_FACET_COLLAPSE 3 +/** + * A facet definition. + */ +struct _xmlSchemaFacet { + xmlSchemaTypeType type; /* The kind of type */ + struct _xmlSchemaFacet *next;/* the next type if in a sequence ... */ + const xmlChar *value; /* The original value */ + const xmlChar *id; /* Obsolete */ + xmlSchemaAnnotPtr annot; + xmlNodePtr node; + int fixed; /* XML_SCHEMAS_FACET_PRESERVE, etc. */ + int whitespace; + xmlSchemaValPtr val; /* The compiled value */ + xmlRegexpPtr regexp; /* The regex for patterns */ +}; + +/** + * A notation definition. + */ +typedef struct _xmlSchemaNotation xmlSchemaNotation; +typedef xmlSchemaNotation *xmlSchemaNotationPtr; +struct _xmlSchemaNotation { + xmlSchemaTypeType type; /* The kind of type */ + const xmlChar *name; + xmlSchemaAnnotPtr annot; + const xmlChar *identifier; + const xmlChar *targetNamespace; +}; + +/* +* TODO: Actually all those flags used for the schema should sit +* on the schema parser context, since they are used only +* during parsing an XML schema document, and not available +* on the component level as per spec. +*/ +/** + * XML_SCHEMAS_QUALIF_ELEM: + * + * Reflects elementFormDefault == qualified in + * an XML schema document. + */ +#define XML_SCHEMAS_QUALIF_ELEM 1 << 0 +/** + * XML_SCHEMAS_QUALIF_ATTR: + * + * Reflects attributeFormDefault == qualified in + * an XML schema document. + */ +#define XML_SCHEMAS_QUALIF_ATTR 1 << 1 +/** + * XML_SCHEMAS_FINAL_DEFAULT_EXTENSION: + * + * the schema has "extension" in the set of finalDefault. + */ +#define XML_SCHEMAS_FINAL_DEFAULT_EXTENSION 1 << 2 +/** + * XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION: + * + * the schema has "restriction" in the set of finalDefault. + */ +#define XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION 1 << 3 +/** + * XML_SCHEMAS_FINAL_DEFAULT_LIST: + * + * the schema has "list" in the set of finalDefault. + */ +#define XML_SCHEMAS_FINAL_DEFAULT_LIST 1 << 4 +/** + * XML_SCHEMAS_FINAL_DEFAULT_UNION: + * + * the schema has "union" in the set of finalDefault. + */ +#define XML_SCHEMAS_FINAL_DEFAULT_UNION 1 << 5 +/** + * XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION: + * + * the schema has "extension" in the set of blockDefault. + */ +#define XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION 1 << 6 +/** + * XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION: + * + * the schema has "restriction" in the set of blockDefault. + */ +#define XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION 1 << 7 +/** + * XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION: + * + * the schema has "substitution" in the set of blockDefault. + */ +#define XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION 1 << 8 +/** + * XML_SCHEMAS_INCLUDING_CONVERT_NS: + * + * the schema is currently including an other schema with + * no target namespace. + */ +#define XML_SCHEMAS_INCLUDING_CONVERT_NS 1 << 9 +/** + * _xmlSchema: + * + * A Schemas definition + */ +struct _xmlSchema { + const xmlChar *name; /* schema name */ + const xmlChar *targetNamespace; /* the target namespace */ + const xmlChar *version; + const xmlChar *id; /* Obsolete */ + xmlDocPtr doc; + xmlSchemaAnnotPtr annot; + int flags; + + xmlHashTablePtr typeDecl; + xmlHashTablePtr attrDecl; + xmlHashTablePtr attrgrpDecl; + xmlHashTablePtr elemDecl; + xmlHashTablePtr notaDecl; + + xmlHashTablePtr schemasImports; + + void *_private; /* unused by the library for users or bindings */ + xmlHashTablePtr groupDecl; + xmlDictPtr dict; + void *includes; /* the includes, this is opaque for now */ + int preserve; /* whether to free the document */ + int counter; /* used to give anonymous components unique names */ + xmlHashTablePtr idcDef; /* All identity-constraint defs. */ + void *volatiles; /* Obsolete */ +}; + +XMLPUBFUN void xmlSchemaFreeType (xmlSchemaTypePtr type); +XMLPUBFUN void xmlSchemaFreeWildcard(xmlSchemaWildcardPtr wildcard); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_SCHEMAS_ENABLED */ +#endif /* __XML_SCHEMA_INTERNALS_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/schematron.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/schematron.h new file mode 100644 index 0000000000000000000000000000000000000000..8dd8d25c451c3ee2fb988cc32f6d7f24492eb589 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/schematron.h @@ -0,0 +1,143 @@ +/* + * Summary: XML Schematron implementation + * Description: interface to the XML Schematron validity checking. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + + +#ifndef __XML_SCHEMATRON_H__ +#define __XML_SCHEMATRON_H__ + +#include + +#ifdef LIBXML_SCHEMATRON_ENABLED + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + XML_SCHEMATRON_OUT_QUIET = 1 << 0, /* quiet no report */ + XML_SCHEMATRON_OUT_TEXT = 1 << 1, /* build a textual report */ + XML_SCHEMATRON_OUT_XML = 1 << 2, /* output SVRL */ + XML_SCHEMATRON_OUT_ERROR = 1 << 3, /* output via xmlStructuredErrorFunc */ + XML_SCHEMATRON_OUT_FILE = 1 << 8, /* output to a file descriptor */ + XML_SCHEMATRON_OUT_BUFFER = 1 << 9, /* output to a buffer */ + XML_SCHEMATRON_OUT_IO = 1 << 10 /* output to I/O mechanism */ +} xmlSchematronValidOptions; + +/** + * The schemas related types are kept internal + */ +typedef struct _xmlSchematron xmlSchematron; +typedef xmlSchematron *xmlSchematronPtr; + +/** + * xmlSchematronValidityErrorFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of an error callback from a Schematron validation + */ +typedef void (*xmlSchematronValidityErrorFunc) (void *ctx, const char *msg, ...); + +/** + * xmlSchematronValidityWarningFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of a warning callback from a Schematron validation + */ +typedef void (*xmlSchematronValidityWarningFunc) (void *ctx, const char *msg, ...); + +/** + * A schemas validation context + */ +typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt; +typedef xmlSchematronParserCtxt *xmlSchematronParserCtxtPtr; + +typedef struct _xmlSchematronValidCtxt xmlSchematronValidCtxt; +typedef xmlSchematronValidCtxt *xmlSchematronValidCtxtPtr; + +/* + * Interfaces for parsing. + */ +XMLPUBFUN xmlSchematronParserCtxtPtr + xmlSchematronNewParserCtxt (const char *URL); +XMLPUBFUN xmlSchematronParserCtxtPtr + xmlSchematronNewMemParserCtxt(const char *buffer, + int size); +XMLPUBFUN xmlSchematronParserCtxtPtr + xmlSchematronNewDocParserCtxt(xmlDocPtr doc); +XMLPUBFUN void + xmlSchematronFreeParserCtxt (xmlSchematronParserCtxtPtr ctxt); +/***** +XMLPUBFUN void + xmlSchematronSetParserErrors(xmlSchematronParserCtxtPtr ctxt, + xmlSchematronValidityErrorFunc err, + xmlSchematronValidityWarningFunc warn, + void *ctx); +XMLPUBFUN int + xmlSchematronGetParserErrors(xmlSchematronParserCtxtPtr ctxt, + xmlSchematronValidityErrorFunc * err, + xmlSchematronValidityWarningFunc * warn, + void **ctx); +XMLPUBFUN int + xmlSchematronIsValid (xmlSchematronValidCtxtPtr ctxt); + *****/ +XMLPUBFUN xmlSchematronPtr + xmlSchematronParse (xmlSchematronParserCtxtPtr ctxt); +XMLPUBFUN void + xmlSchematronFree (xmlSchematronPtr schema); +/* + * Interfaces for validating + */ +XMLPUBFUN void + xmlSchematronSetValidStructuredErrors( + xmlSchematronValidCtxtPtr ctxt, + xmlStructuredErrorFunc serror, + void *ctx); +/****** +XMLPUBFUN void + xmlSchematronSetValidErrors (xmlSchematronValidCtxtPtr ctxt, + xmlSchematronValidityErrorFunc err, + xmlSchematronValidityWarningFunc warn, + void *ctx); +XMLPUBFUN int + xmlSchematronGetValidErrors (xmlSchematronValidCtxtPtr ctxt, + xmlSchematronValidityErrorFunc *err, + xmlSchematronValidityWarningFunc *warn, + void **ctx); +XMLPUBFUN int + xmlSchematronSetValidOptions(xmlSchematronValidCtxtPtr ctxt, + int options); +XMLPUBFUN int + xmlSchematronValidCtxtGetOptions(xmlSchematronValidCtxtPtr ctxt); +XMLPUBFUN int + xmlSchematronValidateOneElement (xmlSchematronValidCtxtPtr ctxt, + xmlNodePtr elem); + *******/ + +XMLPUBFUN xmlSchematronValidCtxtPtr + xmlSchematronNewValidCtxt (xmlSchematronPtr schema, + int options); +XMLPUBFUN void + xmlSchematronFreeValidCtxt (xmlSchematronValidCtxtPtr ctxt); +XMLPUBFUN int + xmlSchematronValidateDoc (xmlSchematronValidCtxtPtr ctxt, + xmlDocPtr instance); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_SCHEMATRON_ENABLED */ +#endif /* __XML_SCHEMATRON_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/threads.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/threads.h new file mode 100644 index 0000000000000000000000000000000000000000..8f4b6e174fbac6e724e5a8da4ed65a8a297c0373 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/threads.h @@ -0,0 +1,87 @@ +/** + * Summary: interfaces for thread handling + * Description: set of generic threading related routines + * should work with pthreads, Windows native or TLS threads + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_THREADS_H__ +#define __XML_THREADS_H__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * xmlMutex are a simple mutual exception locks. + */ +typedef struct _xmlMutex xmlMutex; +typedef xmlMutex *xmlMutexPtr; + +/* + * xmlRMutex are reentrant mutual exception locks. + */ +typedef struct _xmlRMutex xmlRMutex; +typedef xmlRMutex *xmlRMutexPtr; + +XMLPUBFUN int + xmlCheckThreadLocalStorage(void); + +XMLPUBFUN xmlMutexPtr + xmlNewMutex (void); +XMLPUBFUN void + xmlMutexLock (xmlMutexPtr tok); +XMLPUBFUN void + xmlMutexUnlock (xmlMutexPtr tok); +XMLPUBFUN void + xmlFreeMutex (xmlMutexPtr tok); + +XMLPUBFUN xmlRMutexPtr + xmlNewRMutex (void); +XMLPUBFUN void + xmlRMutexLock (xmlRMutexPtr tok); +XMLPUBFUN void + xmlRMutexUnlock (xmlRMutexPtr tok); +XMLPUBFUN void + xmlFreeRMutex (xmlRMutexPtr tok); + +/* + * Library wide APIs. + */ +XML_DEPRECATED +XMLPUBFUN void + xmlInitThreads (void); +XMLPUBFUN void + xmlLockLibrary (void); +XMLPUBFUN void + xmlUnlockLibrary(void); +XML_DEPRECATED +XMLPUBFUN int + xmlGetThreadId (void); +XML_DEPRECATED +XMLPUBFUN int + xmlIsMainThread (void); +XML_DEPRECATED +XMLPUBFUN void + xmlCleanupThreads(void); + +/** DOC_DISABLE */ +#if defined(LIBXML_THREAD_ENABLED) && defined(_WIN32) && \ + defined(LIBXML_STATIC_FOR_DLL) +int +xmlDllMain(void *hinstDLL, unsigned long fdwReason, + void *lpvReserved); +#endif +/** DOC_ENABLE */ + +#ifdef __cplusplus +} +#endif + + +#endif /* __XML_THREADS_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/tree.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/tree.h new file mode 100644 index 0000000000000000000000000000000000000000..68bdcf1570fe9e225cb160efcd94168f26bbe6a9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/tree.h @@ -0,0 +1,1354 @@ +/* + * Summary: interfaces for tree manipulation + * Description: this module describes the structures found in an tree resulting + * from an XML or HTML parsing, as well as the API provided for + * various processing on that tree + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef XML_TREE_INTERNALS + +/* + * Emulate circular dependency for backward compatibility + */ +#include + +#else /* XML_TREE_INTERNALS */ + +#ifndef __XML_TREE_H__ +#define __XML_TREE_H__ + +#include +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Some of the basic types pointer to structures: + */ +/* xmlIO.h */ +typedef struct _xmlParserInputBuffer xmlParserInputBuffer; +typedef xmlParserInputBuffer *xmlParserInputBufferPtr; + +typedef struct _xmlOutputBuffer xmlOutputBuffer; +typedef xmlOutputBuffer *xmlOutputBufferPtr; + +/* parser.h */ +typedef struct _xmlParserInput xmlParserInput; +typedef xmlParserInput *xmlParserInputPtr; + +typedef struct _xmlParserCtxt xmlParserCtxt; +typedef xmlParserCtxt *xmlParserCtxtPtr; + +typedef struct _xmlSAXLocator xmlSAXLocator; +typedef xmlSAXLocator *xmlSAXLocatorPtr; + +typedef struct _xmlSAXHandler xmlSAXHandler; +typedef xmlSAXHandler *xmlSAXHandlerPtr; + +/* entities.h */ +typedef struct _xmlEntity xmlEntity; +typedef xmlEntity *xmlEntityPtr; + +/** + * BASE_BUFFER_SIZE: + * + * default buffer size 4000. + */ +#define BASE_BUFFER_SIZE 4096 + +/** + * LIBXML_NAMESPACE_DICT: + * + * Defines experimental behaviour: + * 1) xmlNs gets an additional field @context (a xmlDoc) + * 2) when creating a tree, xmlNs->href is stored in the dict of xmlDoc. + */ +/* #define LIBXML_NAMESPACE_DICT */ + +/** + * xmlBufferAllocationScheme: + * + * A buffer allocation scheme can be defined to either match exactly the + * need or double it's allocated size each time it is found too small. + */ + +typedef enum { + XML_BUFFER_ALLOC_DOUBLEIT, /* double each time one need to grow */ + XML_BUFFER_ALLOC_EXACT, /* grow only to the minimal size */ + XML_BUFFER_ALLOC_IMMUTABLE, /* immutable buffer, deprecated */ + XML_BUFFER_ALLOC_IO, /* special allocation scheme used for I/O */ + XML_BUFFER_ALLOC_HYBRID, /* exact up to a threshold, and doubleit thereafter */ + XML_BUFFER_ALLOC_BOUNDED /* limit the upper size of the buffer */ +} xmlBufferAllocationScheme; + +/** + * xmlBuffer: + * + * A buffer structure, this old construct is limited to 2GB and + * is being deprecated, use API with xmlBuf instead + */ +typedef struct _xmlBuffer xmlBuffer; +typedef xmlBuffer *xmlBufferPtr; +struct _xmlBuffer { + /* The buffer content UTF8 */ + xmlChar *content XML_DEPRECATED_MEMBER; + /* The buffer size used */ + unsigned int use XML_DEPRECATED_MEMBER; + /* The buffer size */ + unsigned int size XML_DEPRECATED_MEMBER; + /* The realloc method */ + xmlBufferAllocationScheme alloc XML_DEPRECATED_MEMBER; + /* in IO mode we may have a different base */ + xmlChar *contentIO XML_DEPRECATED_MEMBER; +}; + +/** + * xmlBuf: + * + * A buffer structure, new one, the actual structure internals are not public + */ + +typedef struct _xmlBuf xmlBuf; + +/** + * xmlBufPtr: + * + * A pointer to a buffer structure, the actual structure internals are not + * public + */ + +typedef xmlBuf *xmlBufPtr; + +/* + * A few public routines for xmlBuf. As those are expected to be used + * mostly internally the bulk of the routines are internal in buf.h + */ +XMLPUBFUN xmlChar* xmlBufContent (const xmlBuf* buf); +XMLPUBFUN xmlChar* xmlBufEnd (xmlBufPtr buf); +XMLPUBFUN size_t xmlBufUse (const xmlBufPtr buf); +XMLPUBFUN size_t xmlBufShrink (xmlBufPtr buf, size_t len); + +/* + * LIBXML2_NEW_BUFFER: + * + * Macro used to express that the API use the new buffers for + * xmlParserInputBuffer and xmlOutputBuffer. The change was + * introduced in 2.9.0. + */ +#define LIBXML2_NEW_BUFFER + +/** + * XML_XML_NAMESPACE: + * + * This is the namespace for the special xml: prefix predefined in the + * XML Namespace specification. + */ +#define XML_XML_NAMESPACE \ + (const xmlChar *) "http://www.w3.org/XML/1998/namespace" + +/** + * XML_XML_ID: + * + * This is the name for the special xml:id attribute + */ +#define XML_XML_ID (const xmlChar *) "xml:id" + +/* + * The different element types carried by an XML tree. + * + * NOTE: This is synchronized with DOM Level1 values + * See http://www.w3.org/TR/REC-DOM-Level-1/ + * + * Actually this had diverged a bit, and now XML_DOCUMENT_TYPE_NODE should + * be deprecated to use an XML_DTD_NODE. + */ +typedef enum { + XML_ELEMENT_NODE= 1, + XML_ATTRIBUTE_NODE= 2, + XML_TEXT_NODE= 3, + XML_CDATA_SECTION_NODE= 4, + XML_ENTITY_REF_NODE= 5, + XML_ENTITY_NODE= 6, /* unused */ + XML_PI_NODE= 7, + XML_COMMENT_NODE= 8, + XML_DOCUMENT_NODE= 9, + XML_DOCUMENT_TYPE_NODE= 10, /* unused */ + XML_DOCUMENT_FRAG_NODE= 11, + XML_NOTATION_NODE= 12, /* unused */ + XML_HTML_DOCUMENT_NODE= 13, + XML_DTD_NODE= 14, + XML_ELEMENT_DECL= 15, + XML_ATTRIBUTE_DECL= 16, + XML_ENTITY_DECL= 17, + XML_NAMESPACE_DECL= 18, + XML_XINCLUDE_START= 19, + XML_XINCLUDE_END= 20 + /* XML_DOCB_DOCUMENT_NODE= 21 */ /* removed */ +} xmlElementType; + +/** DOC_DISABLE */ +/* For backward compatibility */ +#define XML_DOCB_DOCUMENT_NODE 21 +/** DOC_ENABLE */ + +/** + * xmlNotation: + * + * A DTD Notation definition. + */ + +typedef struct _xmlNotation xmlNotation; +typedef xmlNotation *xmlNotationPtr; +struct _xmlNotation { + const xmlChar *name; /* Notation name */ + const xmlChar *PublicID; /* Public identifier, if any */ + const xmlChar *SystemID; /* System identifier, if any */ +}; + +/** + * xmlAttributeType: + * + * A DTD Attribute type definition. + */ + +typedef enum { + XML_ATTRIBUTE_CDATA = 1, + XML_ATTRIBUTE_ID, + XML_ATTRIBUTE_IDREF , + XML_ATTRIBUTE_IDREFS, + XML_ATTRIBUTE_ENTITY, + XML_ATTRIBUTE_ENTITIES, + XML_ATTRIBUTE_NMTOKEN, + XML_ATTRIBUTE_NMTOKENS, + XML_ATTRIBUTE_ENUMERATION, + XML_ATTRIBUTE_NOTATION +} xmlAttributeType; + +/** + * xmlAttributeDefault: + * + * A DTD Attribute default definition. + */ + +typedef enum { + XML_ATTRIBUTE_NONE = 1, + XML_ATTRIBUTE_REQUIRED, + XML_ATTRIBUTE_IMPLIED, + XML_ATTRIBUTE_FIXED +} xmlAttributeDefault; + +/** + * xmlEnumeration: + * + * List structure used when there is an enumeration in DTDs. + */ + +typedef struct _xmlEnumeration xmlEnumeration; +typedef xmlEnumeration *xmlEnumerationPtr; +struct _xmlEnumeration { + struct _xmlEnumeration *next; /* next one */ + const xmlChar *name; /* Enumeration name */ +}; + +/** + * xmlAttribute: + * + * An Attribute declaration in a DTD. + */ + +typedef struct _xmlAttribute xmlAttribute; +typedef xmlAttribute *xmlAttributePtr; +struct _xmlAttribute { + void *_private; /* application data */ + xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */ + const xmlChar *name; /* Attribute name */ + struct _xmlNode *children; /* NULL */ + struct _xmlNode *last; /* NULL */ + struct _xmlDtd *parent; /* -> DTD */ + struct _xmlNode *next; /* next sibling link */ + struct _xmlNode *prev; /* previous sibling link */ + struct _xmlDoc *doc; /* the containing document */ + + struct _xmlAttribute *nexth; /* next in hash table */ + xmlAttributeType atype; /* The attribute type */ + xmlAttributeDefault def; /* the default */ + const xmlChar *defaultValue; /* or the default value */ + xmlEnumerationPtr tree; /* or the enumeration tree if any */ + const xmlChar *prefix; /* the namespace prefix if any */ + const xmlChar *elem; /* Element holding the attribute */ +}; + +/** + * xmlElementContentType: + * + * Possible definitions of element content types. + */ +typedef enum { + XML_ELEMENT_CONTENT_PCDATA = 1, + XML_ELEMENT_CONTENT_ELEMENT, + XML_ELEMENT_CONTENT_SEQ, + XML_ELEMENT_CONTENT_OR +} xmlElementContentType; + +/** + * xmlElementContentOccur: + * + * Possible definitions of element content occurrences. + */ +typedef enum { + XML_ELEMENT_CONTENT_ONCE = 1, + XML_ELEMENT_CONTENT_OPT, + XML_ELEMENT_CONTENT_MULT, + XML_ELEMENT_CONTENT_PLUS +} xmlElementContentOccur; + +/** + * xmlElementContent: + * + * An XML Element content as stored after parsing an element definition + * in a DTD. + */ + +typedef struct _xmlElementContent xmlElementContent; +typedef xmlElementContent *xmlElementContentPtr; +struct _xmlElementContent { + xmlElementContentType type; /* PCDATA, ELEMENT, SEQ or OR */ + xmlElementContentOccur ocur; /* ONCE, OPT, MULT or PLUS */ + const xmlChar *name; /* Element name */ + struct _xmlElementContent *c1; /* first child */ + struct _xmlElementContent *c2; /* second child */ + struct _xmlElementContent *parent; /* parent */ + const xmlChar *prefix; /* Namespace prefix */ +}; + +/** + * xmlElementTypeVal: + * + * The different possibilities for an element content type. + */ + +typedef enum { + XML_ELEMENT_TYPE_UNDEFINED = 0, + XML_ELEMENT_TYPE_EMPTY = 1, + XML_ELEMENT_TYPE_ANY, + XML_ELEMENT_TYPE_MIXED, + XML_ELEMENT_TYPE_ELEMENT +} xmlElementTypeVal; + +/** + * xmlElement: + * + * An XML Element declaration from a DTD. + */ + +typedef struct _xmlElement xmlElement; +typedef xmlElement *xmlElementPtr; +struct _xmlElement { + void *_private; /* application data */ + xmlElementType type; /* XML_ELEMENT_DECL, must be second ! */ + const xmlChar *name; /* Element name */ + struct _xmlNode *children; /* NULL */ + struct _xmlNode *last; /* NULL */ + struct _xmlDtd *parent; /* -> DTD */ + struct _xmlNode *next; /* next sibling link */ + struct _xmlNode *prev; /* previous sibling link */ + struct _xmlDoc *doc; /* the containing document */ + + xmlElementTypeVal etype; /* The type */ + xmlElementContentPtr content; /* the allowed element content */ + xmlAttributePtr attributes; /* List of the declared attributes */ + const xmlChar *prefix; /* the namespace prefix if any */ +#ifdef LIBXML_REGEXP_ENABLED + xmlRegexpPtr contModel; /* the validating regexp */ +#else + void *contModel; +#endif +}; + + +/** + * XML_LOCAL_NAMESPACE: + * + * A namespace declaration node. + */ +#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL +typedef xmlElementType xmlNsType; + +/** + * xmlNs: + * + * An XML namespace. + * Note that prefix == NULL is valid, it defines the default namespace + * within the subtree (until overridden). + * + * xmlNsType is unified with xmlElementType. + */ + +typedef struct _xmlNs xmlNs; +typedef xmlNs *xmlNsPtr; +struct _xmlNs { + struct _xmlNs *next; /* next Ns link for this node */ + xmlNsType type; /* global or local */ + const xmlChar *href; /* URL for the namespace */ + const xmlChar *prefix; /* prefix for the namespace */ + void *_private; /* application data */ + struct _xmlDoc *context; /* normally an xmlDoc */ +}; + +/** + * xmlDtd: + * + * An XML DTD, as defined by parent link */ + struct _xmlNode *next; /* next sibling link */ + struct _xmlNode *prev; /* previous sibling link */ + struct _xmlDoc *doc; /* the containing document */ + + /* End of common part */ + void *notations; /* Hash table for notations if any */ + void *elements; /* Hash table for elements if any */ + void *attributes; /* Hash table for attributes if any */ + void *entities; /* Hash table for entities if any */ + const xmlChar *ExternalID; /* External identifier for PUBLIC DTD */ + const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC DTD */ + void *pentities; /* Hash table for param entities if any */ +}; + +/** + * xmlAttr: + * + * An attribute on an XML node. + */ +typedef struct _xmlAttr xmlAttr; +typedef xmlAttr *xmlAttrPtr; +struct _xmlAttr { + void *_private; /* application data */ + xmlElementType type; /* XML_ATTRIBUTE_NODE, must be second ! */ + const xmlChar *name; /* the name of the property */ + struct _xmlNode *children; /* the value of the property */ + struct _xmlNode *last; /* NULL */ + struct _xmlNode *parent; /* child->parent link */ + struct _xmlAttr *next; /* next sibling link */ + struct _xmlAttr *prev; /* previous sibling link */ + struct _xmlDoc *doc; /* the containing document */ + xmlNs *ns; /* pointer to the associated namespace */ + xmlAttributeType atype; /* the attribute type if validating */ + void *psvi; /* for type/PSVI information */ + struct _xmlID *id; /* the ID struct */ +}; + +/** + * xmlID: + * + * An XML ID instance. + */ + +typedef struct _xmlID xmlID; +typedef xmlID *xmlIDPtr; +struct _xmlID { + struct _xmlID *next; /* next ID */ + const xmlChar *value; /* The ID name */ + xmlAttrPtr attr; /* The attribute holding it */ + const xmlChar *name; /* The attribute if attr is not available */ + int lineno; /* The line number if attr is not available */ + struct _xmlDoc *doc; /* The document holding the ID */ +}; + +/** + * xmlRef: + * + * An XML IDREF instance. + */ + +typedef struct _xmlRef xmlRef; +typedef xmlRef *xmlRefPtr; +struct _xmlRef { + struct _xmlRef *next; /* next Ref */ + const xmlChar *value; /* The Ref name */ + xmlAttrPtr attr; /* The attribute holding it */ + const xmlChar *name; /* The attribute if attr is not available */ + int lineno; /* The line number if attr is not available */ +}; + +/** + * xmlNode: + * + * A node in an XML tree. + */ +typedef struct _xmlNode xmlNode; +typedef xmlNode *xmlNodePtr; +struct _xmlNode { + void *_private; /* application data */ + xmlElementType type; /* type number, must be second ! */ + const xmlChar *name; /* the name of the node, or the entity */ + struct _xmlNode *children; /* parent->childs link */ + struct _xmlNode *last; /* last child link */ + struct _xmlNode *parent; /* child->parent link */ + struct _xmlNode *next; /* next sibling link */ + struct _xmlNode *prev; /* previous sibling link */ + struct _xmlDoc *doc; /* the containing document */ + + /* End of common part */ + xmlNs *ns; /* pointer to the associated namespace */ + xmlChar *content; /* the content */ + struct _xmlAttr *properties;/* properties list */ + xmlNs *nsDef; /* namespace definitions on this node */ + void *psvi; /* for type/PSVI information */ + unsigned short line; /* line number */ + unsigned short extra; /* extra data for XPath/XSLT */ +}; + +/** + * XML_GET_CONTENT: + * + * Macro to extract the content pointer of a node. + */ +#define XML_GET_CONTENT(n) \ + ((n)->type == XML_ELEMENT_NODE ? NULL : (n)->content) + +/** + * XML_GET_LINE: + * + * Macro to extract the line number of an element node. + */ +#define XML_GET_LINE(n) \ + (xmlGetLineNo(n)) + +/** + * xmlDocProperty + * + * Set of properties of the document as found by the parser + * Some of them are linked to similarly named xmlParserOption + */ +typedef enum { + XML_DOC_WELLFORMED = 1<<0, /* document is XML well formed */ + XML_DOC_NSVALID = 1<<1, /* document is Namespace valid */ + XML_DOC_OLD10 = 1<<2, /* parsed with old XML-1.0 parser */ + XML_DOC_DTDVALID = 1<<3, /* DTD validation was successful */ + XML_DOC_XINCLUDE = 1<<4, /* XInclude substitution was done */ + XML_DOC_USERBUILT = 1<<5, /* Document was built using the API + and not by parsing an instance */ + XML_DOC_INTERNAL = 1<<6, /* built for internal processing */ + XML_DOC_HTML = 1<<7 /* parsed or built HTML document */ +} xmlDocProperties; + +/** + * xmlDoc: + * + * An XML document. + */ +typedef struct _xmlDoc xmlDoc; +typedef xmlDoc *xmlDocPtr; +struct _xmlDoc { + void *_private; /* application data */ + xmlElementType type; /* XML_DOCUMENT_NODE, must be second ! */ + char *name; /* name/filename/URI of the document */ + struct _xmlNode *children; /* the document tree */ + struct _xmlNode *last; /* last child link */ + struct _xmlNode *parent; /* child->parent link */ + struct _xmlNode *next; /* next sibling link */ + struct _xmlNode *prev; /* previous sibling link */ + struct _xmlDoc *doc; /* autoreference to itself */ + + /* End of common part */ + int compression;/* level of zlib compression */ + int standalone; /* standalone document (no external refs) + 1 if standalone="yes" + 0 if standalone="no" + -1 if there is no XML declaration + -2 if there is an XML declaration, but no + standalone attribute was specified */ + struct _xmlDtd *intSubset; /* the document internal subset */ + struct _xmlDtd *extSubset; /* the document external subset */ + struct _xmlNs *oldNs; /* Global namespace, the old way */ + const xmlChar *version; /* the XML version string */ + const xmlChar *encoding; /* actual encoding, if any */ + void *ids; /* Hash table for ID attributes if any */ + void *refs; /* Hash table for IDREFs attributes if any */ + const xmlChar *URL; /* The URI for that document */ + int charset; /* unused */ + struct _xmlDict *dict; /* dict used to allocate names or NULL */ + void *psvi; /* for type/PSVI information */ + int parseFlags; /* set of xmlParserOption used to parse the + document */ + int properties; /* set of xmlDocProperties for this document + set at the end of parsing */ +}; + + +typedef struct _xmlDOMWrapCtxt xmlDOMWrapCtxt; +typedef xmlDOMWrapCtxt *xmlDOMWrapCtxtPtr; + +/** + * xmlDOMWrapAcquireNsFunction: + * @ctxt: a DOM wrapper context + * @node: the context node (element or attribute) + * @nsName: the requested namespace name + * @nsPrefix: the requested namespace prefix + * + * A function called to acquire namespaces (xmlNs) from the wrapper. + * + * Returns an xmlNsPtr or NULL in case of an error. + */ +typedef xmlNsPtr (*xmlDOMWrapAcquireNsFunction) (xmlDOMWrapCtxtPtr ctxt, + xmlNodePtr node, + const xmlChar *nsName, + const xmlChar *nsPrefix); + +/** + * xmlDOMWrapCtxt: + * + * Context for DOM wrapper-operations. + */ +struct _xmlDOMWrapCtxt { + void * _private; + /* + * The type of this context, just in case we need specialized + * contexts in the future. + */ + int type; + /* + * Internal namespace map used for various operations. + */ + void * namespaceMap; + /* + * Use this one to acquire an xmlNsPtr intended for node->ns. + * (Note that this is not intended for elem->nsDef). + */ + xmlDOMWrapAcquireNsFunction getNsForNodeFunc; +}; + +/** + * xmlRegisterNodeFunc: + * @node: the current node + * + * Signature for the registration callback of a created node + */ +typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node); + +/** + * xmlDeregisterNodeFunc: + * @node: the current node + * + * Signature for the deregistration callback of a discarded node + */ +typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node); + +/** + * xmlChildrenNode: + * + * Macro for compatibility naming layer with libxml1. Maps + * to "children." + */ +#ifndef xmlChildrenNode +#define xmlChildrenNode children +#endif + +/** + * xmlRootNode: + * + * Macro for compatibility naming layer with libxml1. Maps + * to "children". + */ +#ifndef xmlRootNode +#define xmlRootNode children +#endif + +/* + * Variables. + */ + +XML_DEPRECATED +XMLPUBVAR const xmlBufferAllocationScheme xmlBufferAllocScheme; +XML_DEPRECATED +XMLPUBVAR const int xmlDefaultBufferSize; + +#ifdef LIBXML_THREAD_ENABLED +/* backward compatibility */ +XML_DEPRECATED +XMLPUBFUN const xmlBufferAllocationScheme *__xmlBufferAllocScheme(void); +XML_DEPRECATED +XMLPUBFUN const int *__xmlDefaultBufferSize(void); +#endif + +/** DOC_DISABLE */ +#define XML_GLOBALS_TREE \ + XML_OP(xmlRegisterNodeDefaultValue, xmlRegisterNodeFunc, XML_DEPRECATED) \ + XML_OP(xmlDeregisterNodeDefaultValue, xmlDeregisterNodeFunc, \ + XML_DEPRECATED) + +#define XML_OP XML_DECLARE_GLOBAL +XML_GLOBALS_TREE +#undef XML_OP + +#if defined(LIBXML_THREAD_ENABLED) && !defined(XML_GLOBALS_NO_REDEFINITION) + #define xmlRegisterNodeDefaultValue \ + XML_GLOBAL_MACRO(xmlRegisterNodeDefaultValue) + #define xmlDeregisterNodeDefaultValue \ + XML_GLOBAL_MACRO(xmlDeregisterNodeDefaultValue) +#endif +/** DOC_ENABLE */ + +/* + * Some helper functions + */ +XMLPUBFUN int + xmlValidateNCName (const xmlChar *value, + int space); + +XMLPUBFUN int + xmlValidateQName (const xmlChar *value, + int space); +XMLPUBFUN int + xmlValidateName (const xmlChar *value, + int space); +XMLPUBFUN int + xmlValidateNMToken (const xmlChar *value, + int space); + +XMLPUBFUN xmlChar * + xmlBuildQName (const xmlChar *ncname, + const xmlChar *prefix, + xmlChar *memory, + int len); +XMLPUBFUN xmlChar * + xmlSplitQName2 (const xmlChar *name, + xmlChar **prefix); +XMLPUBFUN const xmlChar * + xmlSplitQName3 (const xmlChar *name, + int *len); + +/* + * Handling Buffers, the old ones see @xmlBuf for the new ones. + */ + +XML_DEPRECATED +XMLPUBFUN void + xmlSetBufferAllocationScheme(xmlBufferAllocationScheme scheme); +XML_DEPRECATED +XMLPUBFUN xmlBufferAllocationScheme + xmlGetBufferAllocationScheme(void); + +XMLPUBFUN xmlBufferPtr + xmlBufferCreate (void); +XMLPUBFUN xmlBufferPtr + xmlBufferCreateSize (size_t size); +XMLPUBFUN xmlBufferPtr + xmlBufferCreateStatic (void *mem, + size_t size); +XML_DEPRECATED +XMLPUBFUN int + xmlBufferResize (xmlBufferPtr buf, + unsigned int size); +XMLPUBFUN void + xmlBufferFree (xmlBufferPtr buf); +XMLPUBFUN int + xmlBufferDump (FILE *file, + xmlBufferPtr buf); +XMLPUBFUN int + xmlBufferAdd (xmlBufferPtr buf, + const xmlChar *str, + int len); +XMLPUBFUN int + xmlBufferAddHead (xmlBufferPtr buf, + const xmlChar *str, + int len); +XMLPUBFUN int + xmlBufferCat (xmlBufferPtr buf, + const xmlChar *str); +XMLPUBFUN int + xmlBufferCCat (xmlBufferPtr buf, + const char *str); +XML_DEPRECATED +XMLPUBFUN int + xmlBufferShrink (xmlBufferPtr buf, + unsigned int len); +XML_DEPRECATED +XMLPUBFUN int + xmlBufferGrow (xmlBufferPtr buf, + unsigned int len); +XMLPUBFUN void + xmlBufferEmpty (xmlBufferPtr buf); +XMLPUBFUN const xmlChar* + xmlBufferContent (const xmlBuffer *buf); +XMLPUBFUN xmlChar* + xmlBufferDetach (xmlBufferPtr buf); +XMLPUBFUN void + xmlBufferSetAllocationScheme(xmlBufferPtr buf, + xmlBufferAllocationScheme scheme); +XMLPUBFUN int + xmlBufferLength (const xmlBuffer *buf); + +/* + * Creating/freeing new structures. + */ +XMLPUBFUN xmlDtdPtr + xmlCreateIntSubset (xmlDocPtr doc, + const xmlChar *name, + const xmlChar *ExternalID, + const xmlChar *SystemID); +XMLPUBFUN xmlDtdPtr + xmlNewDtd (xmlDocPtr doc, + const xmlChar *name, + const xmlChar *ExternalID, + const xmlChar *SystemID); +XMLPUBFUN xmlDtdPtr + xmlGetIntSubset (const xmlDoc *doc); +XMLPUBFUN void + xmlFreeDtd (xmlDtdPtr cur); +XMLPUBFUN xmlNsPtr + xmlNewNs (xmlNodePtr node, + const xmlChar *href, + const xmlChar *prefix); +XMLPUBFUN void + xmlFreeNs (xmlNsPtr cur); +XMLPUBFUN void + xmlFreeNsList (xmlNsPtr cur); +XMLPUBFUN xmlDocPtr + xmlNewDoc (const xmlChar *version); +XMLPUBFUN void + xmlFreeDoc (xmlDocPtr cur); +XMLPUBFUN xmlAttrPtr + xmlNewDocProp (xmlDocPtr doc, + const xmlChar *name, + const xmlChar *value); +XMLPUBFUN xmlAttrPtr + xmlNewProp (xmlNodePtr node, + const xmlChar *name, + const xmlChar *value); +XMLPUBFUN xmlAttrPtr + xmlNewNsProp (xmlNodePtr node, + xmlNsPtr ns, + const xmlChar *name, + const xmlChar *value); +XMLPUBFUN xmlAttrPtr + xmlNewNsPropEatName (xmlNodePtr node, + xmlNsPtr ns, + xmlChar *name, + const xmlChar *value); +XMLPUBFUN void + xmlFreePropList (xmlAttrPtr cur); +XMLPUBFUN void + xmlFreeProp (xmlAttrPtr cur); +XMLPUBFUN xmlAttrPtr + xmlCopyProp (xmlNodePtr target, + xmlAttrPtr cur); +XMLPUBFUN xmlAttrPtr + xmlCopyPropList (xmlNodePtr target, + xmlAttrPtr cur); +XMLPUBFUN xmlDtdPtr + xmlCopyDtd (xmlDtdPtr dtd); +XMLPUBFUN xmlDocPtr + xmlCopyDoc (xmlDocPtr doc, + int recursive); +/* + * Creating new nodes. + */ +XMLPUBFUN xmlNodePtr + xmlNewDocNode (xmlDocPtr doc, + xmlNsPtr ns, + const xmlChar *name, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewDocNodeEatName (xmlDocPtr doc, + xmlNsPtr ns, + xmlChar *name, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewNode (xmlNsPtr ns, + const xmlChar *name); +XMLPUBFUN xmlNodePtr + xmlNewNodeEatName (xmlNsPtr ns, + xmlChar *name); +XMLPUBFUN xmlNodePtr + xmlNewChild (xmlNodePtr parent, + xmlNsPtr ns, + const xmlChar *name, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewDocText (const xmlDoc *doc, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewText (const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewDocPI (xmlDocPtr doc, + const xmlChar *name, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewPI (const xmlChar *name, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewDocTextLen (xmlDocPtr doc, + const xmlChar *content, + int len); +XMLPUBFUN xmlNodePtr + xmlNewTextLen (const xmlChar *content, + int len); +XMLPUBFUN xmlNodePtr + xmlNewDocComment (xmlDocPtr doc, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewComment (const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewCDataBlock (xmlDocPtr doc, + const xmlChar *content, + int len); +XMLPUBFUN xmlNodePtr + xmlNewCharRef (xmlDocPtr doc, + const xmlChar *name); +XMLPUBFUN xmlNodePtr + xmlNewReference (const xmlDoc *doc, + const xmlChar *name); +XMLPUBFUN xmlNodePtr + xmlCopyNode (xmlNodePtr node, + int recursive); +XMLPUBFUN xmlNodePtr + xmlDocCopyNode (xmlNodePtr node, + xmlDocPtr doc, + int recursive); +XMLPUBFUN xmlNodePtr + xmlDocCopyNodeList (xmlDocPtr doc, + xmlNodePtr node); +XMLPUBFUN xmlNodePtr + xmlCopyNodeList (xmlNodePtr node); +XMLPUBFUN xmlNodePtr + xmlNewTextChild (xmlNodePtr parent, + xmlNsPtr ns, + const xmlChar *name, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewDocRawNode (xmlDocPtr doc, + xmlNsPtr ns, + const xmlChar *name, + const xmlChar *content); +XMLPUBFUN xmlNodePtr + xmlNewDocFragment (xmlDocPtr doc); + +/* + * Navigating. + */ +XMLPUBFUN long + xmlGetLineNo (const xmlNode *node); +XMLPUBFUN xmlChar * + xmlGetNodePath (const xmlNode *node); +XMLPUBFUN xmlNodePtr + xmlDocGetRootElement (const xmlDoc *doc); +XMLPUBFUN xmlNodePtr + xmlGetLastChild (const xmlNode *parent); +XMLPUBFUN int + xmlNodeIsText (const xmlNode *node); +XMLPUBFUN int + xmlIsBlankNode (const xmlNode *node); + +/* + * Changing the structure. + */ +XMLPUBFUN xmlNodePtr + xmlDocSetRootElement (xmlDocPtr doc, + xmlNodePtr root); +XMLPUBFUN void + xmlNodeSetName (xmlNodePtr cur, + const xmlChar *name); +XMLPUBFUN xmlNodePtr + xmlAddChild (xmlNodePtr parent, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr + xmlAddChildList (xmlNodePtr parent, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr + xmlReplaceNode (xmlNodePtr old, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr + xmlAddPrevSibling (xmlNodePtr cur, + xmlNodePtr elem); +XMLPUBFUN xmlNodePtr + xmlAddSibling (xmlNodePtr cur, + xmlNodePtr elem); +XMLPUBFUN xmlNodePtr + xmlAddNextSibling (xmlNodePtr cur, + xmlNodePtr elem); +XMLPUBFUN void + xmlUnlinkNode (xmlNodePtr cur); +XMLPUBFUN xmlNodePtr + xmlTextMerge (xmlNodePtr first, + xmlNodePtr second); +XMLPUBFUN int + xmlTextConcat (xmlNodePtr node, + const xmlChar *content, + int len); +XMLPUBFUN void + xmlFreeNodeList (xmlNodePtr cur); +XMLPUBFUN void + xmlFreeNode (xmlNodePtr cur); +XMLPUBFUN int + xmlSetTreeDoc (xmlNodePtr tree, + xmlDocPtr doc); +XMLPUBFUN int + xmlSetListDoc (xmlNodePtr list, + xmlDocPtr doc); +/* + * Namespaces. + */ +XMLPUBFUN xmlNsPtr + xmlSearchNs (xmlDocPtr doc, + xmlNodePtr node, + const xmlChar *nameSpace); +XMLPUBFUN xmlNsPtr + xmlSearchNsByHref (xmlDocPtr doc, + xmlNodePtr node, + const xmlChar *href); +XMLPUBFUN int + xmlGetNsListSafe (const xmlDoc *doc, + const xmlNode *node, + xmlNsPtr **out); +XMLPUBFUN xmlNsPtr * + xmlGetNsList (const xmlDoc *doc, + const xmlNode *node); + +XMLPUBFUN void + xmlSetNs (xmlNodePtr node, + xmlNsPtr ns); +XMLPUBFUN xmlNsPtr + xmlCopyNamespace (xmlNsPtr cur); +XMLPUBFUN xmlNsPtr + xmlCopyNamespaceList (xmlNsPtr cur); + +/* + * Changing the content. + */ +XMLPUBFUN xmlAttrPtr + xmlSetProp (xmlNodePtr node, + const xmlChar *name, + const xmlChar *value); +XMLPUBFUN xmlAttrPtr + xmlSetNsProp (xmlNodePtr node, + xmlNsPtr ns, + const xmlChar *name, + const xmlChar *value); +XMLPUBFUN int + xmlNodeGetAttrValue (const xmlNode *node, + const xmlChar *name, + const xmlChar *nsUri, + xmlChar **out); +XMLPUBFUN xmlChar * + xmlGetNoNsProp (const xmlNode *node, + const xmlChar *name); +XMLPUBFUN xmlChar * + xmlGetProp (const xmlNode *node, + const xmlChar *name); +XMLPUBFUN xmlAttrPtr + xmlHasProp (const xmlNode *node, + const xmlChar *name); +XMLPUBFUN xmlAttrPtr + xmlHasNsProp (const xmlNode *node, + const xmlChar *name, + const xmlChar *nameSpace); +XMLPUBFUN xmlChar * + xmlGetNsProp (const xmlNode *node, + const xmlChar *name, + const xmlChar *nameSpace); +XMLPUBFUN xmlNodePtr + xmlStringGetNodeList (const xmlDoc *doc, + const xmlChar *value); +XMLPUBFUN xmlNodePtr + xmlStringLenGetNodeList (const xmlDoc *doc, + const xmlChar *value, + int len); +XMLPUBFUN xmlChar * + xmlNodeListGetString (xmlDocPtr doc, + const xmlNode *list, + int inLine); +XMLPUBFUN xmlChar * + xmlNodeListGetRawString (const xmlDoc *doc, + const xmlNode *list, + int inLine); +XMLPUBFUN int + xmlNodeSetContent (xmlNodePtr cur, + const xmlChar *content); +XMLPUBFUN int + xmlNodeSetContentLen (xmlNodePtr cur, + const xmlChar *content, + int len); +XMLPUBFUN int + xmlNodeAddContent (xmlNodePtr cur, + const xmlChar *content); +XMLPUBFUN int + xmlNodeAddContentLen (xmlNodePtr cur, + const xmlChar *content, + int len); +XMLPUBFUN xmlChar * + xmlNodeGetContent (const xmlNode *cur); + +XMLPUBFUN int + xmlNodeBufGetContent (xmlBufferPtr buffer, + const xmlNode *cur); +XMLPUBFUN int + xmlBufGetNodeContent (xmlBufPtr buf, + const xmlNode *cur); + +XMLPUBFUN xmlChar * + xmlNodeGetLang (const xmlNode *cur); +XMLPUBFUN int + xmlNodeGetSpacePreserve (const xmlNode *cur); +XMLPUBFUN int + xmlNodeGetTabBehaviour (const xmlNode *cur); +XMLPUBFUN int + xmlNodeSetLang (xmlNodePtr cur, + const xmlChar *lang); +XMLPUBFUN int + xmlNodeSetSpacePreserve (xmlNodePtr cur, + int val); +XMLPUBFUN int + xmlNodeSetTabBehaviour (xmlNodePtr cur, + int val); +XMLPUBFUN int + xmlNodeGetBaseSafe (const xmlDoc *doc, + const xmlNode *cur, + xmlChar **baseOut); +XMLPUBFUN xmlChar * + xmlNodeGetBase (const xmlDoc *doc, + const xmlNode *cur); +XMLPUBFUN int + xmlNodeSetBase (xmlNodePtr cur, + const xmlChar *uri); + +/* + * Removing content. + */ +XMLPUBFUN int + xmlRemoveProp (xmlAttrPtr cur); +XMLPUBFUN int + xmlUnsetNsProp (xmlNodePtr node, + xmlNsPtr ns, + const xmlChar *name); +XMLPUBFUN int + xmlUnsetProp (xmlNodePtr node, + const xmlChar *name); + +/* + * Internal, don't use. + */ +XMLPUBFUN void + xmlBufferWriteCHAR (xmlBufferPtr buf, + const xmlChar *string); +XMLPUBFUN void + xmlBufferWriteChar (xmlBufferPtr buf, + const char *string); +XMLPUBFUN void + xmlBufferWriteQuotedString(xmlBufferPtr buf, + const xmlChar *string); + +#ifdef LIBXML_OUTPUT_ENABLED +XMLPUBFUN void xmlAttrSerializeTxtContent(xmlBufferPtr buf, + xmlDocPtr doc, + xmlAttrPtr attr, + const xmlChar *string); +#endif /* LIBXML_OUTPUT_ENABLED */ + +/* + * Namespace handling. + */ +XMLPUBFUN int + xmlReconciliateNs (xmlDocPtr doc, + xmlNodePtr tree); + +#ifdef LIBXML_OUTPUT_ENABLED +/* + * Saving. + */ +XMLPUBFUN void + xmlDocDumpFormatMemory (xmlDocPtr cur, + xmlChar **mem, + int *size, + int format); +XMLPUBFUN void + xmlDocDumpMemory (xmlDocPtr cur, + xmlChar **mem, + int *size); +XMLPUBFUN void + xmlDocDumpMemoryEnc (xmlDocPtr out_doc, + xmlChar **doc_txt_ptr, + int * doc_txt_len, + const char *txt_encoding); +XMLPUBFUN void + xmlDocDumpFormatMemoryEnc(xmlDocPtr out_doc, + xmlChar **doc_txt_ptr, + int * doc_txt_len, + const char *txt_encoding, + int format); +XMLPUBFUN int + xmlDocFormatDump (FILE *f, + xmlDocPtr cur, + int format); +XMLPUBFUN int + xmlDocDump (FILE *f, + xmlDocPtr cur); +XMLPUBFUN void + xmlElemDump (FILE *f, + xmlDocPtr doc, + xmlNodePtr cur); +XMLPUBFUN int + xmlSaveFile (const char *filename, + xmlDocPtr cur); +XMLPUBFUN int + xmlSaveFormatFile (const char *filename, + xmlDocPtr cur, + int format); +XMLPUBFUN size_t + xmlBufNodeDump (xmlBufPtr buf, + xmlDocPtr doc, + xmlNodePtr cur, + int level, + int format); +XMLPUBFUN int + xmlNodeDump (xmlBufferPtr buf, + xmlDocPtr doc, + xmlNodePtr cur, + int level, + int format); + +XMLPUBFUN int + xmlSaveFileTo (xmlOutputBufferPtr buf, + xmlDocPtr cur, + const char *encoding); +XMLPUBFUN int + xmlSaveFormatFileTo (xmlOutputBufferPtr buf, + xmlDocPtr cur, + const char *encoding, + int format); +XMLPUBFUN void + xmlNodeDumpOutput (xmlOutputBufferPtr buf, + xmlDocPtr doc, + xmlNodePtr cur, + int level, + int format, + const char *encoding); + +XMLPUBFUN int + xmlSaveFormatFileEnc (const char *filename, + xmlDocPtr cur, + const char *encoding, + int format); + +XMLPUBFUN int + xmlSaveFileEnc (const char *filename, + xmlDocPtr cur, + const char *encoding); + +#endif /* LIBXML_OUTPUT_ENABLED */ +/* + * XHTML + */ +XMLPUBFUN int + xmlIsXHTML (const xmlChar *systemID, + const xmlChar *publicID); + +/* + * Compression. + */ +XMLPUBFUN int + xmlGetDocCompressMode (const xmlDoc *doc); +XMLPUBFUN void + xmlSetDocCompressMode (xmlDocPtr doc, + int mode); +XML_DEPRECATED +XMLPUBFUN int + xmlGetCompressMode (void); +XML_DEPRECATED +XMLPUBFUN void + xmlSetCompressMode (int mode); + +/* +* DOM-wrapper helper functions. +*/ +XMLPUBFUN xmlDOMWrapCtxtPtr + xmlDOMWrapNewCtxt (void); +XMLPUBFUN void + xmlDOMWrapFreeCtxt (xmlDOMWrapCtxtPtr ctxt); +XMLPUBFUN int + xmlDOMWrapReconcileNamespaces(xmlDOMWrapCtxtPtr ctxt, + xmlNodePtr elem, + int options); +XMLPUBFUN int + xmlDOMWrapAdoptNode (xmlDOMWrapCtxtPtr ctxt, + xmlDocPtr sourceDoc, + xmlNodePtr node, + xmlDocPtr destDoc, + xmlNodePtr destParent, + int options); +XMLPUBFUN int + xmlDOMWrapRemoveNode (xmlDOMWrapCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr node, + int options); +XMLPUBFUN int + xmlDOMWrapCloneNode (xmlDOMWrapCtxtPtr ctxt, + xmlDocPtr sourceDoc, + xmlNodePtr node, + xmlNodePtr *clonedNode, + xmlDocPtr destDoc, + xmlNodePtr destParent, + int deep, + int options); + +/* + * 5 interfaces from DOM ElementTraversal, but different in entities + * traversal. + */ +XMLPUBFUN unsigned long + xmlChildElementCount (xmlNodePtr parent); +XMLPUBFUN xmlNodePtr + xmlNextElementSibling (xmlNodePtr node); +XMLPUBFUN xmlNodePtr + xmlFirstElementChild (xmlNodePtr parent); +XMLPUBFUN xmlNodePtr + xmlLastElementChild (xmlNodePtr parent); +XMLPUBFUN xmlNodePtr + xmlPreviousElementSibling (xmlNodePtr node); + +XML_DEPRECATED +XMLPUBFUN xmlRegisterNodeFunc + xmlRegisterNodeDefault (xmlRegisterNodeFunc func); +XML_DEPRECATED +XMLPUBFUN xmlDeregisterNodeFunc + xmlDeregisterNodeDefault (xmlDeregisterNodeFunc func); +XML_DEPRECATED +XMLPUBFUN xmlRegisterNodeFunc + xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func); +XML_DEPRECATED +XMLPUBFUN xmlDeregisterNodeFunc + xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func); + +XML_DEPRECATED XMLPUBFUN xmlBufferAllocationScheme + xmlThrDefBufferAllocScheme (xmlBufferAllocationScheme v); +XML_DEPRECATED XMLPUBFUN int + xmlThrDefDefaultBufferSize (int v); + +#ifdef __cplusplus +} +#endif + +#endif /* __XML_TREE_H__ */ + +#endif /* XML_TREE_INTERNALS */ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/uri.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/uri.h new file mode 100644 index 0000000000000000000000000000000000000000..19980b711c56ef9c4b56c1f9f58e1c599d874008 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/uri.h @@ -0,0 +1,106 @@ +/** + * Summary: library of generic URI related routines + * Description: library of generic URI related routines + * Implements RFC 2396 + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_URI_H__ +#define __XML_URI_H__ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlURI: + * + * A parsed URI reference. This is a struct containing the various fields + * as described in RFC 2396 but separated for further processing. + * + * Note: query is a deprecated field which is incorrectly unescaped. + * query_raw takes precedence over query if the former is set. + * See: http://mail.gnome.org/archives/xml/2007-April/thread.html#00127 + */ +typedef struct _xmlURI xmlURI; +typedef xmlURI *xmlURIPtr; +struct _xmlURI { + char *scheme; /* the URI scheme */ + char *opaque; /* opaque part */ + char *authority; /* the authority part */ + char *server; /* the server part */ + char *user; /* the user part */ + int port; /* the port number */ + char *path; /* the path string */ + char *query; /* the query string (deprecated - use with caution) */ + char *fragment; /* the fragment identifier */ + int cleanup; /* parsing potentially unclean URI */ + char *query_raw; /* the query string (as it appears in the URI) */ +}; + +/* + * This function is in tree.h: + * xmlChar * xmlNodeGetBase (xmlDocPtr doc, + * xmlNodePtr cur); + */ +XMLPUBFUN xmlURIPtr + xmlCreateURI (void); +XMLPUBFUN int + xmlBuildURISafe (const xmlChar *URI, + const xmlChar *base, + xmlChar **out); +XMLPUBFUN xmlChar * + xmlBuildURI (const xmlChar *URI, + const xmlChar *base); +XMLPUBFUN int + xmlBuildRelativeURISafe (const xmlChar *URI, + const xmlChar *base, + xmlChar **out); +XMLPUBFUN xmlChar * + xmlBuildRelativeURI (const xmlChar *URI, + const xmlChar *base); +XMLPUBFUN xmlURIPtr + xmlParseURI (const char *str); +XMLPUBFUN int + xmlParseURISafe (const char *str, + xmlURIPtr *uri); +XMLPUBFUN xmlURIPtr + xmlParseURIRaw (const char *str, + int raw); +XMLPUBFUN int + xmlParseURIReference (xmlURIPtr uri, + const char *str); +XMLPUBFUN xmlChar * + xmlSaveUri (xmlURIPtr uri); +XMLPUBFUN void + xmlPrintURI (FILE *stream, + xmlURIPtr uri); +XMLPUBFUN xmlChar * + xmlURIEscapeStr (const xmlChar *str, + const xmlChar *list); +XMLPUBFUN char * + xmlURIUnescapeString (const char *str, + int len, + char *target); +XMLPUBFUN int + xmlNormalizeURIPath (char *path); +XMLPUBFUN xmlChar * + xmlURIEscape (const xmlChar *str); +XMLPUBFUN void + xmlFreeURI (xmlURIPtr uri); +XMLPUBFUN xmlChar* + xmlCanonicPath (const xmlChar *path); +XMLPUBFUN xmlChar* + xmlPathToURI (const xmlChar *path); + +#ifdef __cplusplus +} +#endif +#endif /* __XML_URI_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/valid.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/valid.h new file mode 100644 index 0000000000000000000000000000000000000000..00446bc5716c99890515f7107f9a043f5d4e7151 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/valid.h @@ -0,0 +1,485 @@ +/* + * Summary: The DTD validation + * Description: API for the DTD handling and the validity checking + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + + +#ifndef __XML_VALID_H__ +#define __XML_VALID_H__ + +/** DOC_DISABLE */ +#include +#include +#define XML_TREE_INTERNALS +#include +#undef XML_TREE_INTERNALS +#include +#include +#include +/** DOC_ENABLE */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Validation state added for non-determinist content model. + */ +typedef struct _xmlValidState xmlValidState; +typedef xmlValidState *xmlValidStatePtr; + +/** + * xmlValidityErrorFunc: + * @ctx: usually an xmlValidCtxtPtr to a validity error context, + * but comes from ctxt->userData (which normally contains such + * a pointer); ctxt->userData can be changed by the user. + * @msg: the string to format *printf like vararg + * @...: remaining arguments to the format + * + * Callback called when a validity error is found. This is a message + * oriented function similar to an *printf function. + */ +typedef void (*xmlValidityErrorFunc) (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); + +/** + * xmlValidityWarningFunc: + * @ctx: usually an xmlValidCtxtPtr to a validity error context, + * but comes from ctxt->userData (which normally contains such + * a pointer); ctxt->userData can be changed by the user. + * @msg: the string to format *printf like vararg + * @...: remaining arguments to the format + * + * Callback called when a validity warning is found. This is a message + * oriented function similar to an *printf function. + */ +typedef void (*xmlValidityWarningFunc) (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); + +/* + * xmlValidCtxt: + * An xmlValidCtxt is used for error reporting when validating. + */ +typedef struct _xmlValidCtxt xmlValidCtxt; +typedef xmlValidCtxt *xmlValidCtxtPtr; +struct _xmlValidCtxt { + void *userData; /* user specific data block */ + xmlValidityErrorFunc error; /* the callback in case of errors */ + xmlValidityWarningFunc warning; /* the callback in case of warning */ + + /* Node analysis stack used when validating within entities */ + xmlNodePtr node; /* Current parsed Node */ + int nodeNr; /* Depth of the parsing stack */ + int nodeMax; /* Max depth of the parsing stack */ + xmlNodePtr *nodeTab; /* array of nodes */ + + unsigned int flags; /* internal flags */ + xmlDocPtr doc; /* the document */ + int valid; /* temporary validity check result */ + + /* state state used for non-determinist content validation */ + xmlValidState *vstate; /* current state */ + int vstateNr; /* Depth of the validation stack */ + int vstateMax; /* Max depth of the validation stack */ + xmlValidState *vstateTab; /* array of validation states */ + +#ifdef LIBXML_REGEXP_ENABLED + xmlAutomataPtr am; /* the automata */ + xmlAutomataStatePtr state; /* used to build the automata */ +#else + void *am; + void *state; +#endif +}; + +/* + * ALL notation declarations are stored in a table. + * There is one table per DTD. + */ + +typedef struct _xmlHashTable xmlNotationTable; +typedef xmlNotationTable *xmlNotationTablePtr; + +/* + * ALL element declarations are stored in a table. + * There is one table per DTD. + */ + +typedef struct _xmlHashTable xmlElementTable; +typedef xmlElementTable *xmlElementTablePtr; + +/* + * ALL attribute declarations are stored in a table. + * There is one table per DTD. + */ + +typedef struct _xmlHashTable xmlAttributeTable; +typedef xmlAttributeTable *xmlAttributeTablePtr; + +/* + * ALL IDs attributes are stored in a table. + * There is one table per document. + */ + +typedef struct _xmlHashTable xmlIDTable; +typedef xmlIDTable *xmlIDTablePtr; + +/* + * ALL Refs attributes are stored in a table. + * There is one table per document. + */ + +typedef struct _xmlHashTable xmlRefTable; +typedef xmlRefTable *xmlRefTablePtr; + +/* Notation */ +XML_DEPRECATED +XMLPUBFUN xmlNotationPtr + xmlAddNotationDecl (xmlValidCtxtPtr ctxt, + xmlDtdPtr dtd, + const xmlChar *name, + const xmlChar *PublicID, + const xmlChar *SystemID); +XML_DEPRECATED +XMLPUBFUN xmlNotationTablePtr + xmlCopyNotationTable (xmlNotationTablePtr table); +XML_DEPRECATED +XMLPUBFUN void + xmlFreeNotationTable (xmlNotationTablePtr table); +#ifdef LIBXML_OUTPUT_ENABLED +XML_DEPRECATED +XMLPUBFUN void + xmlDumpNotationDecl (xmlBufferPtr buf, + xmlNotationPtr nota); +/* XML_DEPRECATED, still used in lxml */ +XMLPUBFUN void + xmlDumpNotationTable (xmlBufferPtr buf, + xmlNotationTablePtr table); +#endif /* LIBXML_OUTPUT_ENABLED */ + +/* Element Content */ +/* the non Doc version are being deprecated */ +XML_DEPRECATED +XMLPUBFUN xmlElementContentPtr + xmlNewElementContent (const xmlChar *name, + xmlElementContentType type); +XML_DEPRECATED +XMLPUBFUN xmlElementContentPtr + xmlCopyElementContent (xmlElementContentPtr content); +XML_DEPRECATED +XMLPUBFUN void + xmlFreeElementContent (xmlElementContentPtr cur); +/* the new versions with doc argument */ +XML_DEPRECATED +XMLPUBFUN xmlElementContentPtr + xmlNewDocElementContent (xmlDocPtr doc, + const xmlChar *name, + xmlElementContentType type); +XML_DEPRECATED +XMLPUBFUN xmlElementContentPtr + xmlCopyDocElementContent(xmlDocPtr doc, + xmlElementContentPtr content); +XML_DEPRECATED +XMLPUBFUN void + xmlFreeDocElementContent(xmlDocPtr doc, + xmlElementContentPtr cur); +XML_DEPRECATED +XMLPUBFUN void + xmlSnprintfElementContent(char *buf, + int size, + xmlElementContentPtr content, + int englob); +#ifdef LIBXML_OUTPUT_ENABLED +XML_DEPRECATED +XMLPUBFUN void + xmlSprintfElementContent(char *buf, + xmlElementContentPtr content, + int englob); +#endif /* LIBXML_OUTPUT_ENABLED */ + +/* Element */ +XML_DEPRECATED +XMLPUBFUN xmlElementPtr + xmlAddElementDecl (xmlValidCtxtPtr ctxt, + xmlDtdPtr dtd, + const xmlChar *name, + xmlElementTypeVal type, + xmlElementContentPtr content); +XML_DEPRECATED +XMLPUBFUN xmlElementTablePtr + xmlCopyElementTable (xmlElementTablePtr table); +XML_DEPRECATED +XMLPUBFUN void + xmlFreeElementTable (xmlElementTablePtr table); +#ifdef LIBXML_OUTPUT_ENABLED +XML_DEPRECATED +XMLPUBFUN void + xmlDumpElementTable (xmlBufferPtr buf, + xmlElementTablePtr table); +XML_DEPRECATED +XMLPUBFUN void + xmlDumpElementDecl (xmlBufferPtr buf, + xmlElementPtr elem); +#endif /* LIBXML_OUTPUT_ENABLED */ + +/* Enumeration */ +XML_DEPRECATED +XMLPUBFUN xmlEnumerationPtr + xmlCreateEnumeration (const xmlChar *name); +/* XML_DEPRECATED, needed for custom attributeDecl SAX handler */ +XMLPUBFUN void + xmlFreeEnumeration (xmlEnumerationPtr cur); +XML_DEPRECATED +XMLPUBFUN xmlEnumerationPtr + xmlCopyEnumeration (xmlEnumerationPtr cur); + +/* Attribute */ +XML_DEPRECATED +XMLPUBFUN xmlAttributePtr + xmlAddAttributeDecl (xmlValidCtxtPtr ctxt, + xmlDtdPtr dtd, + const xmlChar *elem, + const xmlChar *name, + const xmlChar *ns, + xmlAttributeType type, + xmlAttributeDefault def, + const xmlChar *defaultValue, + xmlEnumerationPtr tree); +XML_DEPRECATED +XMLPUBFUN xmlAttributeTablePtr + xmlCopyAttributeTable (xmlAttributeTablePtr table); +XML_DEPRECATED +XMLPUBFUN void + xmlFreeAttributeTable (xmlAttributeTablePtr table); +#ifdef LIBXML_OUTPUT_ENABLED +XML_DEPRECATED +XMLPUBFUN void + xmlDumpAttributeTable (xmlBufferPtr buf, + xmlAttributeTablePtr table); +XML_DEPRECATED +XMLPUBFUN void + xmlDumpAttributeDecl (xmlBufferPtr buf, + xmlAttributePtr attr); +#endif /* LIBXML_OUTPUT_ENABLED */ + +/* IDs */ +XMLPUBFUN int + xmlAddIDSafe (xmlAttrPtr attr, + const xmlChar *value); +XMLPUBFUN xmlIDPtr + xmlAddID (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + const xmlChar *value, + xmlAttrPtr attr); +XMLPUBFUN void + xmlFreeIDTable (xmlIDTablePtr table); +XMLPUBFUN xmlAttrPtr + xmlGetID (xmlDocPtr doc, + const xmlChar *ID); +XMLPUBFUN int + xmlIsID (xmlDocPtr doc, + xmlNodePtr elem, + xmlAttrPtr attr); +XMLPUBFUN int + xmlRemoveID (xmlDocPtr doc, + xmlAttrPtr attr); + +/* IDREFs */ +XML_DEPRECATED +XMLPUBFUN xmlRefPtr + xmlAddRef (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + const xmlChar *value, + xmlAttrPtr attr); +XML_DEPRECATED +XMLPUBFUN void + xmlFreeRefTable (xmlRefTablePtr table); +XML_DEPRECATED +XMLPUBFUN int + xmlIsRef (xmlDocPtr doc, + xmlNodePtr elem, + xmlAttrPtr attr); +XML_DEPRECATED +XMLPUBFUN int + xmlRemoveRef (xmlDocPtr doc, + xmlAttrPtr attr); +XML_DEPRECATED +XMLPUBFUN xmlListPtr + xmlGetRefs (xmlDocPtr doc, + const xmlChar *ID); + +/** + * The public function calls related to validity checking. + */ +#ifdef LIBXML_VALID_ENABLED +/* Allocate/Release Validation Contexts */ +XMLPUBFUN xmlValidCtxtPtr + xmlNewValidCtxt(void); +XMLPUBFUN void + xmlFreeValidCtxt(xmlValidCtxtPtr); + +XML_DEPRECATED +XMLPUBFUN int + xmlValidateRoot (xmlValidCtxtPtr ctxt, + xmlDocPtr doc); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateElementDecl (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlElementPtr elem); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlValidNormalizeAttributeValue(xmlDocPtr doc, + xmlNodePtr elem, + const xmlChar *name, + const xmlChar *value); +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlValidCtxtNormalizeAttributeValue(xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem, + const xmlChar *name, + const xmlChar *value); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlAttributePtr attr); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateAttributeValue(xmlAttributeType type, + const xmlChar *value); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateNotationDecl (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNotationPtr nota); +XMLPUBFUN int + xmlValidateDtd (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlDtdPtr dtd); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateDtdFinal (xmlValidCtxtPtr ctxt, + xmlDocPtr doc); +XMLPUBFUN int + xmlValidateDocument (xmlValidCtxtPtr ctxt, + xmlDocPtr doc); +XMLPUBFUN int + xmlValidateElement (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateOneElement (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateOneAttribute (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem, + xmlAttrPtr attr, + const xmlChar *value); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateOneNamespace (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem, + const xmlChar *prefix, + xmlNsPtr ns, + const xmlChar *value); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateDocumentFinal(xmlValidCtxtPtr ctxt, + xmlDocPtr doc); +XML_DEPRECATED +XMLPUBFUN int + xmlValidateNotationUse (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + const xmlChar *notationName); +#endif /* LIBXML_VALID_ENABLED */ + +XMLPUBFUN int + xmlIsMixedElement (xmlDocPtr doc, + const xmlChar *name); +XMLPUBFUN xmlAttributePtr + xmlGetDtdAttrDesc (xmlDtdPtr dtd, + const xmlChar *elem, + const xmlChar *name); +XMLPUBFUN xmlAttributePtr + xmlGetDtdQAttrDesc (xmlDtdPtr dtd, + const xmlChar *elem, + const xmlChar *name, + const xmlChar *prefix); +XMLPUBFUN xmlNotationPtr + xmlGetDtdNotationDesc (xmlDtdPtr dtd, + const xmlChar *name); +XMLPUBFUN xmlElementPtr + xmlGetDtdQElementDesc (xmlDtdPtr dtd, + const xmlChar *name, + const xmlChar *prefix); +XMLPUBFUN xmlElementPtr + xmlGetDtdElementDesc (xmlDtdPtr dtd, + const xmlChar *name); + +#ifdef LIBXML_VALID_ENABLED + +XMLPUBFUN int + xmlValidGetPotentialChildren(xmlElementContent *ctree, + const xmlChar **names, + int *len, + int max); + +XMLPUBFUN int + xmlValidGetValidElements(xmlNode *prev, + xmlNode *next, + const xmlChar **names, + int max); +XMLPUBFUN int + xmlValidateNameValue (const xmlChar *value); +XMLPUBFUN int + xmlValidateNamesValue (const xmlChar *value); +XMLPUBFUN int + xmlValidateNmtokenValue (const xmlChar *value); +XMLPUBFUN int + xmlValidateNmtokensValue(const xmlChar *value); + +#ifdef LIBXML_REGEXP_ENABLED +/* + * Validation based on the regexp support + */ +XML_DEPRECATED +XMLPUBFUN int + xmlValidBuildContentModel(xmlValidCtxtPtr ctxt, + xmlElementPtr elem); + +XML_DEPRECATED +XMLPUBFUN int + xmlValidatePushElement (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem, + const xmlChar *qname); +XML_DEPRECATED +XMLPUBFUN int + xmlValidatePushCData (xmlValidCtxtPtr ctxt, + const xmlChar *data, + int len); +XML_DEPRECATED +XMLPUBFUN int + xmlValidatePopElement (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem, + const xmlChar *qname); +#endif /* LIBXML_REGEXP_ENABLED */ +#endif /* LIBXML_VALID_ENABLED */ +#ifdef __cplusplus +} +#endif +#endif /* __XML_VALID_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xinclude.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xinclude.h new file mode 100644 index 0000000000000000000000000000000000000000..e1cb39fe2b466b739c48a2eb43456ff1e73d5fda --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xinclude.h @@ -0,0 +1,141 @@ +/* + * Summary: implementation of XInclude + * Description: API to handle XInclude processing, + * implements the + * World Wide Web Consortium Last Call Working Draft 10 November 2003 + * http://www.w3.org/TR/2003/WD-xinclude-20031110 + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_XINCLUDE_H__ +#define __XML_XINCLUDE_H__ + +#include +#include +#include +#include + +#ifdef LIBXML_XINCLUDE_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * XINCLUDE_NS: + * + * Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude + */ +#define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude" +/** + * XINCLUDE_OLD_NS: + * + * Macro defining the draft Xinclude namespace: http://www.w3.org/2001/XInclude + */ +#define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude" +/** + * XINCLUDE_NODE: + * + * Macro defining "include" + */ +#define XINCLUDE_NODE (const xmlChar *) "include" +/** + * XINCLUDE_FALLBACK: + * + * Macro defining "fallback" + */ +#define XINCLUDE_FALLBACK (const xmlChar *) "fallback" +/** + * XINCLUDE_HREF: + * + * Macro defining "href" + */ +#define XINCLUDE_HREF (const xmlChar *) "href" +/** + * XINCLUDE_PARSE: + * + * Macro defining "parse" + */ +#define XINCLUDE_PARSE (const xmlChar *) "parse" +/** + * XINCLUDE_PARSE_XML: + * + * Macro defining "xml" + */ +#define XINCLUDE_PARSE_XML (const xmlChar *) "xml" +/** + * XINCLUDE_PARSE_TEXT: + * + * Macro defining "text" + */ +#define XINCLUDE_PARSE_TEXT (const xmlChar *) "text" +/** + * XINCLUDE_PARSE_ENCODING: + * + * Macro defining "encoding" + */ +#define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding" +/** + * XINCLUDE_PARSE_XPOINTER: + * + * Macro defining "xpointer" + */ +#define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer" + +typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt; +typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr; + +/* + * standalone processing + */ +XMLPUBFUN int + xmlXIncludeProcess (xmlDocPtr doc); +XMLPUBFUN int + xmlXIncludeProcessFlags (xmlDocPtr doc, + int flags); +XMLPUBFUN int + xmlXIncludeProcessFlagsData(xmlDocPtr doc, + int flags, + void *data); +XMLPUBFUN int + xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree, + int flags, + void *data); +XMLPUBFUN int + xmlXIncludeProcessTree (xmlNodePtr tree); +XMLPUBFUN int + xmlXIncludeProcessTreeFlags(xmlNodePtr tree, + int flags); +/* + * contextual processing + */ +XMLPUBFUN xmlXIncludeCtxtPtr + xmlXIncludeNewContext (xmlDocPtr doc); +XMLPUBFUN int + xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt, + int flags); +XMLPUBFUN void + xmlXIncludeSetErrorHandler(xmlXIncludeCtxtPtr ctxt, + xmlStructuredErrorFunc handler, + void *data); +XMLPUBFUN void + xmlXIncludeSetResourceLoader(xmlXIncludeCtxtPtr ctxt, + xmlResourceLoader loader, + void *data); +XMLPUBFUN int + xmlXIncludeGetLastError (xmlXIncludeCtxtPtr ctxt); +XMLPUBFUN void + xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt); +XMLPUBFUN int + xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt, + xmlNodePtr tree); +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_XINCLUDE_ENABLED */ + +#endif /* __XML_XINCLUDE_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xlink.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xlink.h new file mode 100644 index 0000000000000000000000000000000000000000..3ec83e42f642c98bdea645fc3d6f1d40df679aea --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xlink.h @@ -0,0 +1,193 @@ +/* + * Summary: unfinished XLink detection module + * Description: unfinished XLink detection module + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_XLINK_H__ +#define __XML_XLINK_H__ + +#include +#include + +#ifdef LIBXML_XPTR_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Various defines for the various Link properties. + * + * NOTE: the link detection layer will try to resolve QName expansion + * of namespaces. If "foo" is the prefix for "http://foo.com/" + * then the link detection layer will expand role="foo:myrole" + * to "http://foo.com/:myrole". + * NOTE: the link detection layer will expand URI-References found on + * href attributes by using the base mechanism if found. + */ +typedef xmlChar *xlinkHRef; +typedef xmlChar *xlinkRole; +typedef xmlChar *xlinkTitle; + +typedef enum { + XLINK_TYPE_NONE = 0, + XLINK_TYPE_SIMPLE, + XLINK_TYPE_EXTENDED, + XLINK_TYPE_EXTENDED_SET +} xlinkType; + +typedef enum { + XLINK_SHOW_NONE = 0, + XLINK_SHOW_NEW, + XLINK_SHOW_EMBED, + XLINK_SHOW_REPLACE +} xlinkShow; + +typedef enum { + XLINK_ACTUATE_NONE = 0, + XLINK_ACTUATE_AUTO, + XLINK_ACTUATE_ONREQUEST +} xlinkActuate; + +/** + * xlinkNodeDetectFunc: + * @ctx: user data pointer + * @node: the node to check + * + * This is the prototype for the link detection routine. + * It calls the default link detection callbacks upon link detection. + */ +typedef void (*xlinkNodeDetectFunc) (void *ctx, xmlNodePtr node); + +/* + * The link detection module interact with the upper layers using + * a set of callback registered at parsing time. + */ + +/** + * xlinkSimpleLinkFunk: + * @ctx: user data pointer + * @node: the node carrying the link + * @href: the target of the link + * @role: the role string + * @title: the link title + * + * This is the prototype for a simple link detection callback. + */ +typedef void +(*xlinkSimpleLinkFunk) (void *ctx, + xmlNodePtr node, + const xlinkHRef href, + const xlinkRole role, + const xlinkTitle title); + +/** + * xlinkExtendedLinkFunk: + * @ctx: user data pointer + * @node: the node carrying the link + * @nbLocators: the number of locators detected on the link + * @hrefs: pointer to the array of locator hrefs + * @roles: pointer to the array of locator roles + * @nbArcs: the number of arcs detected on the link + * @from: pointer to the array of source roles found on the arcs + * @to: pointer to the array of target roles found on the arcs + * @show: array of values for the show attributes found on the arcs + * @actuate: array of values for the actuate attributes found on the arcs + * @nbTitles: the number of titles detected on the link + * @title: array of titles detected on the link + * @langs: array of xml:lang values for the titles + * + * This is the prototype for a extended link detection callback. + */ +typedef void +(*xlinkExtendedLinkFunk)(void *ctx, + xmlNodePtr node, + int nbLocators, + const xlinkHRef *hrefs, + const xlinkRole *roles, + int nbArcs, + const xlinkRole *from, + const xlinkRole *to, + xlinkShow *show, + xlinkActuate *actuate, + int nbTitles, + const xlinkTitle *titles, + const xmlChar **langs); + +/** + * xlinkExtendedLinkSetFunk: + * @ctx: user data pointer + * @node: the node carrying the link + * @nbLocators: the number of locators detected on the link + * @hrefs: pointer to the array of locator hrefs + * @roles: pointer to the array of locator roles + * @nbTitles: the number of titles detected on the link + * @title: array of titles detected on the link + * @langs: array of xml:lang values for the titles + * + * This is the prototype for a extended link set detection callback. + */ +typedef void +(*xlinkExtendedLinkSetFunk) (void *ctx, + xmlNodePtr node, + int nbLocators, + const xlinkHRef *hrefs, + const xlinkRole *roles, + int nbTitles, + const xlinkTitle *titles, + const xmlChar **langs); + +/** + * This is the structure containing a set of Links detection callbacks. + * + * There is no default xlink callbacks, if one want to get link + * recognition activated, those call backs must be provided before parsing. + */ +typedef struct _xlinkHandler xlinkHandler; +typedef xlinkHandler *xlinkHandlerPtr; +struct _xlinkHandler { + xlinkSimpleLinkFunk simple; + xlinkExtendedLinkFunk extended; + xlinkExtendedLinkSetFunk set; +}; + +/* + * The default detection routine, can be overridden, they call the default + * detection callbacks. + */ + +XML_DEPRECATED +XMLPUBFUN xlinkNodeDetectFunc + xlinkGetDefaultDetect (void); +XML_DEPRECATED +XMLPUBFUN void + xlinkSetDefaultDetect (xlinkNodeDetectFunc func); + +/* + * Routines to set/get the default handlers. + */ +XML_DEPRECATED +XMLPUBFUN xlinkHandlerPtr + xlinkGetDefaultHandler (void); +XML_DEPRECATED +XMLPUBFUN void + xlinkSetDefaultHandler (xlinkHandlerPtr handler); + +/* + * Link detection module itself. + */ +XMLPUBFUN xlinkType + xlinkIsLink (xmlDocPtr doc, + xmlNodePtr node); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_XPTR_ENABLED */ + +#endif /* __XML_XLINK_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlIO.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlIO.h new file mode 100644 index 0000000000000000000000000000000000000000..11d41a33d96c24b8594edc7708828dec51ba0f9e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlIO.h @@ -0,0 +1,422 @@ +/* + * Summary: interface for the I/O interfaces used by the parser + * Description: interface for the I/O interfaces used by the parser + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_IO_H__ +#define __XML_IO_H__ + +/** DOC_DISABLE */ +#include +#include +#include +#define XML_TREE_INTERNALS +#include +#undef XML_TREE_INTERNALS +/** DOC_ENABLE */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Those are the functions and datatypes for the parser input + * I/O structures. + */ + +/** + * xmlInputMatchCallback: + * @filename: the filename or URI + * + * Callback used in the I/O Input API to detect if the current handler + * can provide input functionality for this resource. + * + * Returns 1 if yes and 0 if another Input module should be used + */ +typedef int (*xmlInputMatchCallback) (char const *filename); +/** + * xmlInputOpenCallback: + * @filename: the filename or URI + * + * Callback used in the I/O Input API to open the resource + * + * Returns an Input context or NULL in case or error + */ +typedef void * (*xmlInputOpenCallback) (char const *filename); +/** + * xmlInputReadCallback: + * @context: an Input context + * @buffer: the buffer to store data read + * @len: the length of the buffer in bytes + * + * Callback used in the I/O Input API to read the resource + * + * Returns the number of bytes read or -1 in case of error + */ +typedef int (*xmlInputReadCallback) (void * context, char * buffer, int len); +/** + * xmlInputCloseCallback: + * @context: an Input context + * + * Callback used in the I/O Input API to close the resource + * + * Returns 0 or -1 in case of error + */ +typedef int (*xmlInputCloseCallback) (void * context); + +#ifdef LIBXML_OUTPUT_ENABLED +/* + * Those are the functions and datatypes for the library output + * I/O structures. + */ + +/** + * xmlOutputMatchCallback: + * @filename: the filename or URI + * + * Callback used in the I/O Output API to detect if the current handler + * can provide output functionality for this resource. + * + * Returns 1 if yes and 0 if another Output module should be used + */ +typedef int (*xmlOutputMatchCallback) (char const *filename); +/** + * xmlOutputOpenCallback: + * @filename: the filename or URI + * + * Callback used in the I/O Output API to open the resource + * + * Returns an Output context or NULL in case or error + */ +typedef void * (*xmlOutputOpenCallback) (char const *filename); +/** + * xmlOutputWriteCallback: + * @context: an Output context + * @buffer: the buffer of data to write + * @len: the length of the buffer in bytes + * + * Callback used in the I/O Output API to write to the resource + * + * Returns the number of bytes written or -1 in case of error + */ +typedef int (*xmlOutputWriteCallback) (void * context, const char * buffer, + int len); +/** + * xmlOutputCloseCallback: + * @context: an Output context + * + * Callback used in the I/O Output API to close the resource + * + * Returns 0 or -1 in case of error + */ +typedef int (*xmlOutputCloseCallback) (void * context); +#endif /* LIBXML_OUTPUT_ENABLED */ + +/** + * xmlParserInputBufferCreateFilenameFunc: + * @URI: the URI to read from + * @enc: the requested source encoding + * + * Signature for the function doing the lookup for a suitable input method + * corresponding to an URI. + * + * Returns the new xmlParserInputBufferPtr in case of success or NULL if no + * method was found. + */ +typedef xmlParserInputBufferPtr +(*xmlParserInputBufferCreateFilenameFunc)(const char *URI, xmlCharEncoding enc); + +/** + * xmlOutputBufferCreateFilenameFunc: + * @URI: the URI to write to + * @enc: the requested target encoding + * + * Signature for the function doing the lookup for a suitable output method + * corresponding to an URI. + * + * Returns the new xmlOutputBufferPtr in case of success or NULL if no + * method was found. + */ +typedef xmlOutputBufferPtr +(*xmlOutputBufferCreateFilenameFunc)(const char *URI, + xmlCharEncodingHandlerPtr encoder, int compression); + +struct _xmlParserInputBuffer { + void* context; + xmlInputReadCallback readcallback; + xmlInputCloseCallback closecallback; + + xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ + + xmlBufPtr buffer; /* Local buffer encoded in UTF-8 */ + xmlBufPtr raw; /* if encoder != NULL buffer for raw input */ + int compressed; /* -1=unknown, 0=not compressed, 1=compressed */ + int error; + unsigned long rawconsumed;/* amount consumed from raw */ +}; + + +#ifdef LIBXML_OUTPUT_ENABLED +struct _xmlOutputBuffer { + void* context; + xmlOutputWriteCallback writecallback; + xmlOutputCloseCallback closecallback; + + xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ + + xmlBufPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */ + xmlBufPtr conv; /* if encoder != NULL buffer for output */ + int written; /* total number of byte written */ + int error; +}; +#endif /* LIBXML_OUTPUT_ENABLED */ + +/** DOC_DISABLE */ +#define XML_GLOBALS_IO \ + XML_OP(xmlParserInputBufferCreateFilenameValue, \ + xmlParserInputBufferCreateFilenameFunc, XML_DEPRECATED) \ + XML_OP(xmlOutputBufferCreateFilenameValue, \ + xmlOutputBufferCreateFilenameFunc, XML_DEPRECATED) + +#define XML_OP XML_DECLARE_GLOBAL +XML_GLOBALS_IO +#undef XML_OP + +#if defined(LIBXML_THREAD_ENABLED) && !defined(XML_GLOBALS_NO_REDEFINITION) + #define xmlParserInputBufferCreateFilenameValue \ + XML_GLOBAL_MACRO(xmlParserInputBufferCreateFilenameValue) + #define xmlOutputBufferCreateFilenameValue \ + XML_GLOBAL_MACRO(xmlOutputBufferCreateFilenameValue) +#endif +/** DOC_ENABLE */ + +/* + * Interfaces for input + */ +XMLPUBFUN void + xmlCleanupInputCallbacks (void); + +XMLPUBFUN int + xmlPopInputCallbacks (void); + +XMLPUBFUN void + xmlRegisterDefaultInputCallbacks (void); +XMLPUBFUN xmlParserInputBufferPtr + xmlAllocParserInputBuffer (xmlCharEncoding enc); + +XMLPUBFUN xmlParserInputBufferPtr + xmlParserInputBufferCreateFilename (const char *URI, + xmlCharEncoding enc); +XML_DEPRECATED +XMLPUBFUN xmlParserInputBufferPtr + xmlParserInputBufferCreateFile (FILE *file, + xmlCharEncoding enc); +XMLPUBFUN xmlParserInputBufferPtr + xmlParserInputBufferCreateFd (int fd, + xmlCharEncoding enc); +XMLPUBFUN xmlParserInputBufferPtr + xmlParserInputBufferCreateMem (const char *mem, int size, + xmlCharEncoding enc); +XMLPUBFUN xmlParserInputBufferPtr + xmlParserInputBufferCreateStatic (const char *mem, int size, + xmlCharEncoding enc); +XMLPUBFUN xmlParserInputBufferPtr + xmlParserInputBufferCreateIO (xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + xmlCharEncoding enc); +XML_DEPRECATED +XMLPUBFUN int + xmlParserInputBufferRead (xmlParserInputBufferPtr in, + int len); +XML_DEPRECATED +XMLPUBFUN int + xmlParserInputBufferGrow (xmlParserInputBufferPtr in, + int len); +XML_DEPRECATED +XMLPUBFUN int + xmlParserInputBufferPush (xmlParserInputBufferPtr in, + int len, + const char *buf); +XMLPUBFUN void + xmlFreeParserInputBuffer (xmlParserInputBufferPtr in); +XMLPUBFUN char * + xmlParserGetDirectory (const char *filename); + +XMLPUBFUN int + xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc, + xmlInputOpenCallback openFunc, + xmlInputReadCallback readFunc, + xmlInputCloseCallback closeFunc); + +xmlParserInputBufferPtr + __xmlParserInputBufferCreateFilename(const char *URI, + xmlCharEncoding enc); + +#ifdef LIBXML_OUTPUT_ENABLED +/* + * Interfaces for output + */ +XMLPUBFUN void + xmlCleanupOutputCallbacks (void); +XMLPUBFUN int + xmlPopOutputCallbacks (void); +XMLPUBFUN void + xmlRegisterDefaultOutputCallbacks(void); +XMLPUBFUN xmlOutputBufferPtr + xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder); + +XMLPUBFUN xmlOutputBufferPtr + xmlOutputBufferCreateFilename (const char *URI, + xmlCharEncodingHandlerPtr encoder, + int compression); + +XMLPUBFUN xmlOutputBufferPtr + xmlOutputBufferCreateFile (FILE *file, + xmlCharEncodingHandlerPtr encoder); + +XMLPUBFUN xmlOutputBufferPtr + xmlOutputBufferCreateBuffer (xmlBufferPtr buffer, + xmlCharEncodingHandlerPtr encoder); + +XMLPUBFUN xmlOutputBufferPtr + xmlOutputBufferCreateFd (int fd, + xmlCharEncodingHandlerPtr encoder); + +XMLPUBFUN xmlOutputBufferPtr + xmlOutputBufferCreateIO (xmlOutputWriteCallback iowrite, + xmlOutputCloseCallback ioclose, + void *ioctx, + xmlCharEncodingHandlerPtr encoder); + +/* Couple of APIs to get the output without digging into the buffers */ +XMLPUBFUN const xmlChar * + xmlOutputBufferGetContent (xmlOutputBufferPtr out); +XMLPUBFUN size_t + xmlOutputBufferGetSize (xmlOutputBufferPtr out); + +XMLPUBFUN int + xmlOutputBufferWrite (xmlOutputBufferPtr out, + int len, + const char *buf); +XMLPUBFUN int + xmlOutputBufferWriteString (xmlOutputBufferPtr out, + const char *str); +XMLPUBFUN int + xmlOutputBufferWriteEscape (xmlOutputBufferPtr out, + const xmlChar *str, + xmlCharEncodingOutputFunc escaping); + +XMLPUBFUN int + xmlOutputBufferFlush (xmlOutputBufferPtr out); +XMLPUBFUN int + xmlOutputBufferClose (xmlOutputBufferPtr out); + +XMLPUBFUN int + xmlRegisterOutputCallbacks (xmlOutputMatchCallback matchFunc, + xmlOutputOpenCallback openFunc, + xmlOutputWriteCallback writeFunc, + xmlOutputCloseCallback closeFunc); + +xmlOutputBufferPtr + __xmlOutputBufferCreateFilename(const char *URI, + xmlCharEncodingHandlerPtr encoder, + int compression); + +#ifdef LIBXML_HTTP_ENABLED +/* This function only exists if HTTP support built into the library */ +XML_DEPRECATED +XMLPUBFUN void + xmlRegisterHTTPPostCallbacks (void ); +#endif /* LIBXML_HTTP_ENABLED */ + +#endif /* LIBXML_OUTPUT_ENABLED */ + +XML_DEPRECATED +XMLPUBFUN xmlParserInputPtr + xmlCheckHTTPInput (xmlParserCtxtPtr ctxt, + xmlParserInputPtr ret); + +/* + * A predefined entity loader disabling network accesses + */ +XMLPUBFUN xmlParserInputPtr + xmlNoNetExternalEntityLoader (const char *URL, + const char *ID, + xmlParserCtxtPtr ctxt); + +XML_DEPRECATED +XMLPUBFUN xmlChar * + xmlNormalizeWindowsPath (const xmlChar *path); + +XML_DEPRECATED +XMLPUBFUN int + xmlCheckFilename (const char *path); +/** + * Default 'file://' protocol callbacks + */ +XML_DEPRECATED +XMLPUBFUN int + xmlFileMatch (const char *filename); +XML_DEPRECATED +XMLPUBFUN void * + xmlFileOpen (const char *filename); +XML_DEPRECATED +XMLPUBFUN int + xmlFileRead (void * context, + char * buffer, + int len); +XML_DEPRECATED +XMLPUBFUN int + xmlFileClose (void * context); + +/** + * Default 'http://' protocol callbacks + */ +#ifdef LIBXML_HTTP_ENABLED +XML_DEPRECATED +XMLPUBFUN int + xmlIOHTTPMatch (const char *filename); +XML_DEPRECATED +XMLPUBFUN void * + xmlIOHTTPOpen (const char *filename); +#ifdef LIBXML_OUTPUT_ENABLED +XML_DEPRECATED +XMLPUBFUN void * + xmlIOHTTPOpenW (const char * post_uri, + int compression ); +#endif /* LIBXML_OUTPUT_ENABLED */ +XML_DEPRECATED +XMLPUBFUN int + xmlIOHTTPRead (void * context, + char * buffer, + int len); +XML_DEPRECATED +XMLPUBFUN int + xmlIOHTTPClose (void * context); +#endif /* LIBXML_HTTP_ENABLED */ + +XMLPUBFUN xmlParserInputBufferCreateFilenameFunc + xmlParserInputBufferCreateFilenameDefault( + xmlParserInputBufferCreateFilenameFunc func); +XMLPUBFUN xmlOutputBufferCreateFilenameFunc + xmlOutputBufferCreateFilenameDefault( + xmlOutputBufferCreateFilenameFunc func); +XML_DEPRECATED +XMLPUBFUN xmlOutputBufferCreateFilenameFunc + xmlThrDefOutputBufferCreateFilenameDefault( + xmlOutputBufferCreateFilenameFunc func); +XML_DEPRECATED +XMLPUBFUN xmlParserInputBufferCreateFilenameFunc + xmlThrDefParserInputBufferCreateFilenameDefault( + xmlParserInputBufferCreateFilenameFunc func); + +#ifdef __cplusplus +} +#endif + +#endif /* __XML_IO_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlautomata.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlautomata.h new file mode 100644 index 0000000000000000000000000000000000000000..97d0abf9783e037229bde3d280ca2653b0fbd8f7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlautomata.h @@ -0,0 +1,163 @@ +/* + * Summary: API to build regexp automata + * Description: the API to build regexp automata + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_AUTOMATA_H__ +#define __XML_AUTOMATA_H__ + +#include + +#ifdef LIBXML_REGEXP_ENABLED + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlAutomataPtr: + * + * A libxml automata description, It can be compiled into a regexp + */ +typedef struct _xmlAutomata xmlAutomata; +typedef xmlAutomata *xmlAutomataPtr; + +/** + * xmlAutomataStatePtr: + * + * A state int the automata description, + */ +typedef struct _xmlAutomataState xmlAutomataState; +typedef xmlAutomataState *xmlAutomataStatePtr; + +/* + * Building API + */ +XML_DEPRECATED +XMLPUBFUN xmlAutomataPtr + xmlNewAutomata (void); +XML_DEPRECATED +XMLPUBFUN void + xmlFreeAutomata (xmlAutomataPtr am); + +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataGetInitState (xmlAutomataPtr am); +XML_DEPRECATED +XMLPUBFUN int + xmlAutomataSetFinalState (xmlAutomataPtr am, + xmlAutomataStatePtr state); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewState (xmlAutomataPtr am); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewTransition (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + const xmlChar *token, + void *data); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewTransition2 (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + const xmlChar *token, + const xmlChar *token2, + void *data); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewNegTrans (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + const xmlChar *token, + const xmlChar *token2, + void *data); + +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewCountTrans (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + const xmlChar *token, + int min, + int max, + void *data); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewCountTrans2 (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + const xmlChar *token, + const xmlChar *token2, + int min, + int max, + void *data); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewOnceTrans (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + const xmlChar *token, + int min, + int max, + void *data); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewOnceTrans2 (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + const xmlChar *token, + const xmlChar *token2, + int min, + int max, + void *data); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewAllTrans (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + int lax); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewEpsilon (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewCountedTrans (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + int counter); +XML_DEPRECATED +XMLPUBFUN xmlAutomataStatePtr + xmlAutomataNewCounterTrans (xmlAutomataPtr am, + xmlAutomataStatePtr from, + xmlAutomataStatePtr to, + int counter); +XML_DEPRECATED +XMLPUBFUN int + xmlAutomataNewCounter (xmlAutomataPtr am, + int min, + int max); + +XML_DEPRECATED +XMLPUBFUN struct _xmlRegexp * + xmlAutomataCompile (xmlAutomataPtr am); +XML_DEPRECATED +XMLPUBFUN int + xmlAutomataIsDeterminist (xmlAutomataPtr am); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_REGEXP_ENABLED */ + +#endif /* __XML_AUTOMATA_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlerror.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlerror.h new file mode 100644 index 0000000000000000000000000000000000000000..620ba9d3d5955baf01bd130e76b2db55d83db579 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlerror.h @@ -0,0 +1,971 @@ +/* + * Summary: error handling + * Description: the API used to report errors + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_ERROR_H__ +#define __XML_ERROR_H__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlErrorLevel: + * + * Indicates the level of an error + */ +typedef enum { + XML_ERR_NONE = 0, + XML_ERR_WARNING = 1, /* A simple warning */ + XML_ERR_ERROR = 2, /* A recoverable error */ + XML_ERR_FATAL = 3 /* A fatal error */ +} xmlErrorLevel; + +/** + * xmlErrorDomain: + * + * Indicates where an error may have come from + */ +typedef enum { + XML_FROM_NONE = 0, + XML_FROM_PARSER, /* The XML parser */ + XML_FROM_TREE, /* The tree module */ + XML_FROM_NAMESPACE, /* The XML Namespace module */ + XML_FROM_DTD, /* The XML DTD validation with parser context*/ + XML_FROM_HTML, /* The HTML parser */ + XML_FROM_MEMORY, /* The memory allocator */ + XML_FROM_OUTPUT, /* The serialization code */ + XML_FROM_IO, /* The Input/Output stack */ + XML_FROM_FTP, /* The FTP module */ + XML_FROM_HTTP, /* The HTTP module */ + XML_FROM_XINCLUDE, /* The XInclude processing */ + XML_FROM_XPATH, /* The XPath module */ + XML_FROM_XPOINTER, /* The XPointer module */ + XML_FROM_REGEXP, /* The regular expressions module */ + XML_FROM_DATATYPE, /* The W3C XML Schemas Datatype module */ + XML_FROM_SCHEMASP, /* The W3C XML Schemas parser module */ + XML_FROM_SCHEMASV, /* The W3C XML Schemas validation module */ + XML_FROM_RELAXNGP, /* The Relax-NG parser module */ + XML_FROM_RELAXNGV, /* The Relax-NG validator module */ + XML_FROM_CATALOG, /* The Catalog module */ + XML_FROM_C14N, /* The Canonicalization module */ + XML_FROM_XSLT, /* The XSLT engine from libxslt */ + XML_FROM_VALID, /* The XML DTD validation with valid context */ + XML_FROM_CHECK, /* The error checking module */ + XML_FROM_WRITER, /* The xmlwriter module */ + XML_FROM_MODULE, /* The dynamically loaded module module*/ + XML_FROM_I18N, /* The module handling character conversion */ + XML_FROM_SCHEMATRONV,/* The Schematron validator module */ + XML_FROM_BUFFER, /* The buffers module */ + XML_FROM_URI /* The URI module */ +} xmlErrorDomain; + +/** + * xmlError: + * + * An XML Error instance. + */ + +typedef struct _xmlError xmlError; +typedef xmlError *xmlErrorPtr; +struct _xmlError { + int domain; /* What part of the library raised this error */ + int code; /* The error code, e.g. an xmlParserError */ + char *message;/* human-readable informative error message */ + xmlErrorLevel level;/* how consequent is the error */ + char *file; /* the filename */ + int line; /* the line number if available */ + char *str1; /* extra string information */ + char *str2; /* extra string information */ + char *str3; /* extra string information */ + int int1; /* extra number information */ + int int2; /* error column # or 0 if N/A (todo: rename field when we would brk ABI) */ + void *ctxt; /* the parser context if available */ + void *node; /* the node in the tree */ +}; + +/** + * xmlParserError: + * + * This is an error that the XML (or HTML) parser can generate + */ +typedef enum { + XML_ERR_OK = 0, + XML_ERR_INTERNAL_ERROR, /* 1 */ + XML_ERR_NO_MEMORY, /* 2 */ + XML_ERR_DOCUMENT_START, /* 3 */ + XML_ERR_DOCUMENT_EMPTY, /* 4 */ + XML_ERR_DOCUMENT_END, /* 5 */ + XML_ERR_INVALID_HEX_CHARREF, /* 6 */ + XML_ERR_INVALID_DEC_CHARREF, /* 7 */ + XML_ERR_INVALID_CHARREF, /* 8 */ + XML_ERR_INVALID_CHAR, /* 9 */ + XML_ERR_CHARREF_AT_EOF, /* 10 */ + XML_ERR_CHARREF_IN_PROLOG, /* 11 */ + XML_ERR_CHARREF_IN_EPILOG, /* 12 */ + XML_ERR_CHARREF_IN_DTD, /* 13 */ + XML_ERR_ENTITYREF_AT_EOF, /* 14 */ + XML_ERR_ENTITYREF_IN_PROLOG, /* 15 */ + XML_ERR_ENTITYREF_IN_EPILOG, /* 16 */ + XML_ERR_ENTITYREF_IN_DTD, /* 17 */ + XML_ERR_PEREF_AT_EOF, /* 18 */ + XML_ERR_PEREF_IN_PROLOG, /* 19 */ + XML_ERR_PEREF_IN_EPILOG, /* 20 */ + XML_ERR_PEREF_IN_INT_SUBSET, /* 21 */ + XML_ERR_ENTITYREF_NO_NAME, /* 22 */ + XML_ERR_ENTITYREF_SEMICOL_MISSING, /* 23 */ + XML_ERR_PEREF_NO_NAME, /* 24 */ + XML_ERR_PEREF_SEMICOL_MISSING, /* 25 */ + XML_ERR_UNDECLARED_ENTITY, /* 26 */ + XML_WAR_UNDECLARED_ENTITY, /* 27 */ + XML_ERR_UNPARSED_ENTITY, /* 28 */ + XML_ERR_ENTITY_IS_EXTERNAL, /* 29 */ + XML_ERR_ENTITY_IS_PARAMETER, /* 30 */ + XML_ERR_UNKNOWN_ENCODING, /* 31 */ + XML_ERR_UNSUPPORTED_ENCODING, /* 32 */ + XML_ERR_STRING_NOT_STARTED, /* 33 */ + XML_ERR_STRING_NOT_CLOSED, /* 34 */ + XML_ERR_NS_DECL_ERROR, /* 35 */ + XML_ERR_ENTITY_NOT_STARTED, /* 36 */ + XML_ERR_ENTITY_NOT_FINISHED, /* 37 */ + XML_ERR_LT_IN_ATTRIBUTE, /* 38 */ + XML_ERR_ATTRIBUTE_NOT_STARTED, /* 39 */ + XML_ERR_ATTRIBUTE_NOT_FINISHED, /* 40 */ + XML_ERR_ATTRIBUTE_WITHOUT_VALUE, /* 41 */ + XML_ERR_ATTRIBUTE_REDEFINED, /* 42 */ + XML_ERR_LITERAL_NOT_STARTED, /* 43 */ + XML_ERR_LITERAL_NOT_FINISHED, /* 44 */ + XML_ERR_COMMENT_NOT_FINISHED, /* 45 */ + XML_ERR_PI_NOT_STARTED, /* 46 */ + XML_ERR_PI_NOT_FINISHED, /* 47 */ + XML_ERR_NOTATION_NOT_STARTED, /* 48 */ + XML_ERR_NOTATION_NOT_FINISHED, /* 49 */ + XML_ERR_ATTLIST_NOT_STARTED, /* 50 */ + XML_ERR_ATTLIST_NOT_FINISHED, /* 51 */ + XML_ERR_MIXED_NOT_STARTED, /* 52 */ + XML_ERR_MIXED_NOT_FINISHED, /* 53 */ + XML_ERR_ELEMCONTENT_NOT_STARTED, /* 54 */ + XML_ERR_ELEMCONTENT_NOT_FINISHED, /* 55 */ + XML_ERR_XMLDECL_NOT_STARTED, /* 56 */ + XML_ERR_XMLDECL_NOT_FINISHED, /* 57 */ + XML_ERR_CONDSEC_NOT_STARTED, /* 58 */ + XML_ERR_CONDSEC_NOT_FINISHED, /* 59 */ + XML_ERR_EXT_SUBSET_NOT_FINISHED, /* 60 */ + XML_ERR_DOCTYPE_NOT_FINISHED, /* 61 */ + XML_ERR_MISPLACED_CDATA_END, /* 62 */ + XML_ERR_CDATA_NOT_FINISHED, /* 63 */ + XML_ERR_RESERVED_XML_NAME, /* 64 */ + XML_ERR_SPACE_REQUIRED, /* 65 */ + XML_ERR_SEPARATOR_REQUIRED, /* 66 */ + XML_ERR_NMTOKEN_REQUIRED, /* 67 */ + XML_ERR_NAME_REQUIRED, /* 68 */ + XML_ERR_PCDATA_REQUIRED, /* 69 */ + XML_ERR_URI_REQUIRED, /* 70 */ + XML_ERR_PUBID_REQUIRED, /* 71 */ + XML_ERR_LT_REQUIRED, /* 72 */ + XML_ERR_GT_REQUIRED, /* 73 */ + XML_ERR_LTSLASH_REQUIRED, /* 74 */ + XML_ERR_EQUAL_REQUIRED, /* 75 */ + XML_ERR_TAG_NAME_MISMATCH, /* 76 */ + XML_ERR_TAG_NOT_FINISHED, /* 77 */ + XML_ERR_STANDALONE_VALUE, /* 78 */ + XML_ERR_ENCODING_NAME, /* 79 */ + XML_ERR_HYPHEN_IN_COMMENT, /* 80 */ + XML_ERR_INVALID_ENCODING, /* 81 */ + XML_ERR_EXT_ENTITY_STANDALONE, /* 82 */ + XML_ERR_CONDSEC_INVALID, /* 83 */ + XML_ERR_VALUE_REQUIRED, /* 84 */ + XML_ERR_NOT_WELL_BALANCED, /* 85 */ + XML_ERR_EXTRA_CONTENT, /* 86 */ + XML_ERR_ENTITY_CHAR_ERROR, /* 87 */ + XML_ERR_ENTITY_PE_INTERNAL, /* 88 */ + XML_ERR_ENTITY_LOOP, /* 89 */ + XML_ERR_ENTITY_BOUNDARY, /* 90 */ + XML_ERR_INVALID_URI, /* 91 */ + XML_ERR_URI_FRAGMENT, /* 92 */ + XML_WAR_CATALOG_PI, /* 93 */ + XML_ERR_NO_DTD, /* 94 */ + XML_ERR_CONDSEC_INVALID_KEYWORD, /* 95 */ + XML_ERR_VERSION_MISSING, /* 96 */ + XML_WAR_UNKNOWN_VERSION, /* 97 */ + XML_WAR_LANG_VALUE, /* 98 */ + XML_WAR_NS_URI, /* 99 */ + XML_WAR_NS_URI_RELATIVE, /* 100 */ + XML_ERR_MISSING_ENCODING, /* 101 */ + XML_WAR_SPACE_VALUE, /* 102 */ + XML_ERR_NOT_STANDALONE, /* 103 */ + XML_ERR_ENTITY_PROCESSING, /* 104 */ + XML_ERR_NOTATION_PROCESSING, /* 105 */ + XML_WAR_NS_COLUMN, /* 106 */ + XML_WAR_ENTITY_REDEFINED, /* 107 */ + XML_ERR_UNKNOWN_VERSION, /* 108 */ + XML_ERR_VERSION_MISMATCH, /* 109 */ + XML_ERR_NAME_TOO_LONG, /* 110 */ + XML_ERR_USER_STOP, /* 111 */ + XML_ERR_COMMENT_ABRUPTLY_ENDED, /* 112 */ + XML_WAR_ENCODING_MISMATCH, /* 113 */ + XML_ERR_RESOURCE_LIMIT, /* 114 */ + XML_ERR_ARGUMENT, /* 115 */ + XML_ERR_SYSTEM, /* 116 */ + XML_ERR_REDECL_PREDEF_ENTITY, /* 117 */ + XML_ERR_INT_SUBSET_NOT_FINISHED, /* 118 */ + XML_WAR_TAB_VALUE, /* 119 */ + XML_NS_ERR_XML_NAMESPACE = 200, + XML_NS_ERR_UNDEFINED_NAMESPACE, /* 201 */ + XML_NS_ERR_QNAME, /* 202 */ + XML_NS_ERR_ATTRIBUTE_REDEFINED, /* 203 */ + XML_NS_ERR_EMPTY, /* 204 */ + XML_NS_ERR_COLON, /* 205 */ + XML_DTD_ATTRIBUTE_DEFAULT = 500, + XML_DTD_ATTRIBUTE_REDEFINED, /* 501 */ + XML_DTD_ATTRIBUTE_VALUE, /* 502 */ + XML_DTD_CONTENT_ERROR, /* 503 */ + XML_DTD_CONTENT_MODEL, /* 504 */ + XML_DTD_CONTENT_NOT_DETERMINIST, /* 505 */ + XML_DTD_DIFFERENT_PREFIX, /* 506 */ + XML_DTD_ELEM_DEFAULT_NAMESPACE, /* 507 */ + XML_DTD_ELEM_NAMESPACE, /* 508 */ + XML_DTD_ELEM_REDEFINED, /* 509 */ + XML_DTD_EMPTY_NOTATION, /* 510 */ + XML_DTD_ENTITY_TYPE, /* 511 */ + XML_DTD_ID_FIXED, /* 512 */ + XML_DTD_ID_REDEFINED, /* 513 */ + XML_DTD_ID_SUBSET, /* 514 */ + XML_DTD_INVALID_CHILD, /* 515 */ + XML_DTD_INVALID_DEFAULT, /* 516 */ + XML_DTD_LOAD_ERROR, /* 517 */ + XML_DTD_MISSING_ATTRIBUTE, /* 518 */ + XML_DTD_MIXED_CORRUPT, /* 519 */ + XML_DTD_MULTIPLE_ID, /* 520 */ + XML_DTD_NO_DOC, /* 521 */ + XML_DTD_NO_DTD, /* 522 */ + XML_DTD_NO_ELEM_NAME, /* 523 */ + XML_DTD_NO_PREFIX, /* 524 */ + XML_DTD_NO_ROOT, /* 525 */ + XML_DTD_NOTATION_REDEFINED, /* 526 */ + XML_DTD_NOTATION_VALUE, /* 527 */ + XML_DTD_NOT_EMPTY, /* 528 */ + XML_DTD_NOT_PCDATA, /* 529 */ + XML_DTD_NOT_STANDALONE, /* 530 */ + XML_DTD_ROOT_NAME, /* 531 */ + XML_DTD_STANDALONE_WHITE_SPACE, /* 532 */ + XML_DTD_UNKNOWN_ATTRIBUTE, /* 533 */ + XML_DTD_UNKNOWN_ELEM, /* 534 */ + XML_DTD_UNKNOWN_ENTITY, /* 535 */ + XML_DTD_UNKNOWN_ID, /* 536 */ + XML_DTD_UNKNOWN_NOTATION, /* 537 */ + XML_DTD_STANDALONE_DEFAULTED, /* 538 */ + XML_DTD_XMLID_VALUE, /* 539 */ + XML_DTD_XMLID_TYPE, /* 540 */ + XML_DTD_DUP_TOKEN, /* 541 */ + XML_HTML_STRUCURE_ERROR = 800, + XML_HTML_UNKNOWN_TAG, /* 801 */ + XML_HTML_INCORRECTLY_OPENED_COMMENT, /* 802 */ + XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000, + XML_RNGP_ATTR_CONFLICT, /* 1001 */ + XML_RNGP_ATTRIBUTE_CHILDREN, /* 1002 */ + XML_RNGP_ATTRIBUTE_CONTENT, /* 1003 */ + XML_RNGP_ATTRIBUTE_EMPTY, /* 1004 */ + XML_RNGP_ATTRIBUTE_NOOP, /* 1005 */ + XML_RNGP_CHOICE_CONTENT, /* 1006 */ + XML_RNGP_CHOICE_EMPTY, /* 1007 */ + XML_RNGP_CREATE_FAILURE, /* 1008 */ + XML_RNGP_DATA_CONTENT, /* 1009 */ + XML_RNGP_DEF_CHOICE_AND_INTERLEAVE, /* 1010 */ + XML_RNGP_DEFINE_CREATE_FAILED, /* 1011 */ + XML_RNGP_DEFINE_EMPTY, /* 1012 */ + XML_RNGP_DEFINE_MISSING, /* 1013 */ + XML_RNGP_DEFINE_NAME_MISSING, /* 1014 */ + XML_RNGP_ELEM_CONTENT_EMPTY, /* 1015 */ + XML_RNGP_ELEM_CONTENT_ERROR, /* 1016 */ + XML_RNGP_ELEMENT_EMPTY, /* 1017 */ + XML_RNGP_ELEMENT_CONTENT, /* 1018 */ + XML_RNGP_ELEMENT_NAME, /* 1019 */ + XML_RNGP_ELEMENT_NO_CONTENT, /* 1020 */ + XML_RNGP_ELEM_TEXT_CONFLICT, /* 1021 */ + XML_RNGP_EMPTY, /* 1022 */ + XML_RNGP_EMPTY_CONSTRUCT, /* 1023 */ + XML_RNGP_EMPTY_CONTENT, /* 1024 */ + XML_RNGP_EMPTY_NOT_EMPTY, /* 1025 */ + XML_RNGP_ERROR_TYPE_LIB, /* 1026 */ + XML_RNGP_EXCEPT_EMPTY, /* 1027 */ + XML_RNGP_EXCEPT_MISSING, /* 1028 */ + XML_RNGP_EXCEPT_MULTIPLE, /* 1029 */ + XML_RNGP_EXCEPT_NO_CONTENT, /* 1030 */ + XML_RNGP_EXTERNALREF_EMTPY, /* 1031 */ + XML_RNGP_EXTERNAL_REF_FAILURE, /* 1032 */ + XML_RNGP_EXTERNALREF_RECURSE, /* 1033 */ + XML_RNGP_FORBIDDEN_ATTRIBUTE, /* 1034 */ + XML_RNGP_FOREIGN_ELEMENT, /* 1035 */ + XML_RNGP_GRAMMAR_CONTENT, /* 1036 */ + XML_RNGP_GRAMMAR_EMPTY, /* 1037 */ + XML_RNGP_GRAMMAR_MISSING, /* 1038 */ + XML_RNGP_GRAMMAR_NO_START, /* 1039 */ + XML_RNGP_GROUP_ATTR_CONFLICT, /* 1040 */ + XML_RNGP_HREF_ERROR, /* 1041 */ + XML_RNGP_INCLUDE_EMPTY, /* 1042 */ + XML_RNGP_INCLUDE_FAILURE, /* 1043 */ + XML_RNGP_INCLUDE_RECURSE, /* 1044 */ + XML_RNGP_INTERLEAVE_ADD, /* 1045 */ + XML_RNGP_INTERLEAVE_CREATE_FAILED, /* 1046 */ + XML_RNGP_INTERLEAVE_EMPTY, /* 1047 */ + XML_RNGP_INTERLEAVE_NO_CONTENT, /* 1048 */ + XML_RNGP_INVALID_DEFINE_NAME, /* 1049 */ + XML_RNGP_INVALID_URI, /* 1050 */ + XML_RNGP_INVALID_VALUE, /* 1051 */ + XML_RNGP_MISSING_HREF, /* 1052 */ + XML_RNGP_NAME_MISSING, /* 1053 */ + XML_RNGP_NEED_COMBINE, /* 1054 */ + XML_RNGP_NOTALLOWED_NOT_EMPTY, /* 1055 */ + XML_RNGP_NSNAME_ATTR_ANCESTOR, /* 1056 */ + XML_RNGP_NSNAME_NO_NS, /* 1057 */ + XML_RNGP_PARAM_FORBIDDEN, /* 1058 */ + XML_RNGP_PARAM_NAME_MISSING, /* 1059 */ + XML_RNGP_PARENTREF_CREATE_FAILED, /* 1060 */ + XML_RNGP_PARENTREF_NAME_INVALID, /* 1061 */ + XML_RNGP_PARENTREF_NO_NAME, /* 1062 */ + XML_RNGP_PARENTREF_NO_PARENT, /* 1063 */ + XML_RNGP_PARENTREF_NOT_EMPTY, /* 1064 */ + XML_RNGP_PARSE_ERROR, /* 1065 */ + XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME, /* 1066 */ + XML_RNGP_PAT_ATTR_ATTR, /* 1067 */ + XML_RNGP_PAT_ATTR_ELEM, /* 1068 */ + XML_RNGP_PAT_DATA_EXCEPT_ATTR, /* 1069 */ + XML_RNGP_PAT_DATA_EXCEPT_ELEM, /* 1070 */ + XML_RNGP_PAT_DATA_EXCEPT_EMPTY, /* 1071 */ + XML_RNGP_PAT_DATA_EXCEPT_GROUP, /* 1072 */ + XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE, /* 1073 */ + XML_RNGP_PAT_DATA_EXCEPT_LIST, /* 1074 */ + XML_RNGP_PAT_DATA_EXCEPT_ONEMORE, /* 1075 */ + XML_RNGP_PAT_DATA_EXCEPT_REF, /* 1076 */ + XML_RNGP_PAT_DATA_EXCEPT_TEXT, /* 1077 */ + XML_RNGP_PAT_LIST_ATTR, /* 1078 */ + XML_RNGP_PAT_LIST_ELEM, /* 1079 */ + XML_RNGP_PAT_LIST_INTERLEAVE, /* 1080 */ + XML_RNGP_PAT_LIST_LIST, /* 1081 */ + XML_RNGP_PAT_LIST_REF, /* 1082 */ + XML_RNGP_PAT_LIST_TEXT, /* 1083 */ + XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME, /* 1084 */ + XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME, /* 1085 */ + XML_RNGP_PAT_ONEMORE_GROUP_ATTR, /* 1086 */ + XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR, /* 1087 */ + XML_RNGP_PAT_START_ATTR, /* 1088 */ + XML_RNGP_PAT_START_DATA, /* 1089 */ + XML_RNGP_PAT_START_EMPTY, /* 1090 */ + XML_RNGP_PAT_START_GROUP, /* 1091 */ + XML_RNGP_PAT_START_INTERLEAVE, /* 1092 */ + XML_RNGP_PAT_START_LIST, /* 1093 */ + XML_RNGP_PAT_START_ONEMORE, /* 1094 */ + XML_RNGP_PAT_START_TEXT, /* 1095 */ + XML_RNGP_PAT_START_VALUE, /* 1096 */ + XML_RNGP_PREFIX_UNDEFINED, /* 1097 */ + XML_RNGP_REF_CREATE_FAILED, /* 1098 */ + XML_RNGP_REF_CYCLE, /* 1099 */ + XML_RNGP_REF_NAME_INVALID, /* 1100 */ + XML_RNGP_REF_NO_DEF, /* 1101 */ + XML_RNGP_REF_NO_NAME, /* 1102 */ + XML_RNGP_REF_NOT_EMPTY, /* 1103 */ + XML_RNGP_START_CHOICE_AND_INTERLEAVE, /* 1104 */ + XML_RNGP_START_CONTENT, /* 1105 */ + XML_RNGP_START_EMPTY, /* 1106 */ + XML_RNGP_START_MISSING, /* 1107 */ + XML_RNGP_TEXT_EXPECTED, /* 1108 */ + XML_RNGP_TEXT_HAS_CHILD, /* 1109 */ + XML_RNGP_TYPE_MISSING, /* 1110 */ + XML_RNGP_TYPE_NOT_FOUND, /* 1111 */ + XML_RNGP_TYPE_VALUE, /* 1112 */ + XML_RNGP_UNKNOWN_ATTRIBUTE, /* 1113 */ + XML_RNGP_UNKNOWN_COMBINE, /* 1114 */ + XML_RNGP_UNKNOWN_CONSTRUCT, /* 1115 */ + XML_RNGP_UNKNOWN_TYPE_LIB, /* 1116 */ + XML_RNGP_URI_FRAGMENT, /* 1117 */ + XML_RNGP_URI_NOT_ABSOLUTE, /* 1118 */ + XML_RNGP_VALUE_EMPTY, /* 1119 */ + XML_RNGP_VALUE_NO_CONTENT, /* 1120 */ + XML_RNGP_XMLNS_NAME, /* 1121 */ + XML_RNGP_XML_NS, /* 1122 */ + XML_XPATH_EXPRESSION_OK = 1200, + XML_XPATH_NUMBER_ERROR, /* 1201 */ + XML_XPATH_UNFINISHED_LITERAL_ERROR, /* 1202 */ + XML_XPATH_START_LITERAL_ERROR, /* 1203 */ + XML_XPATH_VARIABLE_REF_ERROR, /* 1204 */ + XML_XPATH_UNDEF_VARIABLE_ERROR, /* 1205 */ + XML_XPATH_INVALID_PREDICATE_ERROR, /* 1206 */ + XML_XPATH_EXPR_ERROR, /* 1207 */ + XML_XPATH_UNCLOSED_ERROR, /* 1208 */ + XML_XPATH_UNKNOWN_FUNC_ERROR, /* 1209 */ + XML_XPATH_INVALID_OPERAND, /* 1210 */ + XML_XPATH_INVALID_TYPE, /* 1211 */ + XML_XPATH_INVALID_ARITY, /* 1212 */ + XML_XPATH_INVALID_CTXT_SIZE, /* 1213 */ + XML_XPATH_INVALID_CTXT_POSITION, /* 1214 */ + XML_XPATH_MEMORY_ERROR, /* 1215 */ + XML_XPTR_SYNTAX_ERROR, /* 1216 */ + XML_XPTR_RESOURCE_ERROR, /* 1217 */ + XML_XPTR_SUB_RESOURCE_ERROR, /* 1218 */ + XML_XPATH_UNDEF_PREFIX_ERROR, /* 1219 */ + XML_XPATH_ENCODING_ERROR, /* 1220 */ + XML_XPATH_INVALID_CHAR_ERROR, /* 1221 */ + XML_TREE_INVALID_HEX = 1300, + XML_TREE_INVALID_DEC, /* 1301 */ + XML_TREE_UNTERMINATED_ENTITY, /* 1302 */ + XML_TREE_NOT_UTF8, /* 1303 */ + XML_SAVE_NOT_UTF8 = 1400, + XML_SAVE_CHAR_INVALID, /* 1401 */ + XML_SAVE_NO_DOCTYPE, /* 1402 */ + XML_SAVE_UNKNOWN_ENCODING, /* 1403 */ + XML_REGEXP_COMPILE_ERROR = 1450, + XML_IO_UNKNOWN = 1500, + XML_IO_EACCES, /* 1501 */ + XML_IO_EAGAIN, /* 1502 */ + XML_IO_EBADF, /* 1503 */ + XML_IO_EBADMSG, /* 1504 */ + XML_IO_EBUSY, /* 1505 */ + XML_IO_ECANCELED, /* 1506 */ + XML_IO_ECHILD, /* 1507 */ + XML_IO_EDEADLK, /* 1508 */ + XML_IO_EDOM, /* 1509 */ + XML_IO_EEXIST, /* 1510 */ + XML_IO_EFAULT, /* 1511 */ + XML_IO_EFBIG, /* 1512 */ + XML_IO_EINPROGRESS, /* 1513 */ + XML_IO_EINTR, /* 1514 */ + XML_IO_EINVAL, /* 1515 */ + XML_IO_EIO, /* 1516 */ + XML_IO_EISDIR, /* 1517 */ + XML_IO_EMFILE, /* 1518 */ + XML_IO_EMLINK, /* 1519 */ + XML_IO_EMSGSIZE, /* 1520 */ + XML_IO_ENAMETOOLONG, /* 1521 */ + XML_IO_ENFILE, /* 1522 */ + XML_IO_ENODEV, /* 1523 */ + XML_IO_ENOENT, /* 1524 */ + XML_IO_ENOEXEC, /* 1525 */ + XML_IO_ENOLCK, /* 1526 */ + XML_IO_ENOMEM, /* 1527 */ + XML_IO_ENOSPC, /* 1528 */ + XML_IO_ENOSYS, /* 1529 */ + XML_IO_ENOTDIR, /* 1530 */ + XML_IO_ENOTEMPTY, /* 1531 */ + XML_IO_ENOTSUP, /* 1532 */ + XML_IO_ENOTTY, /* 1533 */ + XML_IO_ENXIO, /* 1534 */ + XML_IO_EPERM, /* 1535 */ + XML_IO_EPIPE, /* 1536 */ + XML_IO_ERANGE, /* 1537 */ + XML_IO_EROFS, /* 1538 */ + XML_IO_ESPIPE, /* 1539 */ + XML_IO_ESRCH, /* 1540 */ + XML_IO_ETIMEDOUT, /* 1541 */ + XML_IO_EXDEV, /* 1542 */ + XML_IO_NETWORK_ATTEMPT, /* 1543 */ + XML_IO_ENCODER, /* 1544 */ + XML_IO_FLUSH, /* 1545 */ + XML_IO_WRITE, /* 1546 */ + XML_IO_NO_INPUT, /* 1547 */ + XML_IO_BUFFER_FULL, /* 1548 */ + XML_IO_LOAD_ERROR, /* 1549 */ + XML_IO_ENOTSOCK, /* 1550 */ + XML_IO_EISCONN, /* 1551 */ + XML_IO_ECONNREFUSED, /* 1552 */ + XML_IO_ENETUNREACH, /* 1553 */ + XML_IO_EADDRINUSE, /* 1554 */ + XML_IO_EALREADY, /* 1555 */ + XML_IO_EAFNOSUPPORT, /* 1556 */ + XML_IO_UNSUPPORTED_PROTOCOL, /* 1557 */ + XML_XINCLUDE_RECURSION=1600, + XML_XINCLUDE_PARSE_VALUE, /* 1601 */ + XML_XINCLUDE_ENTITY_DEF_MISMATCH, /* 1602 */ + XML_XINCLUDE_NO_HREF, /* 1603 */ + XML_XINCLUDE_NO_FALLBACK, /* 1604 */ + XML_XINCLUDE_HREF_URI, /* 1605 */ + XML_XINCLUDE_TEXT_FRAGMENT, /* 1606 */ + XML_XINCLUDE_TEXT_DOCUMENT, /* 1607 */ + XML_XINCLUDE_INVALID_CHAR, /* 1608 */ + XML_XINCLUDE_BUILD_FAILED, /* 1609 */ + XML_XINCLUDE_UNKNOWN_ENCODING, /* 1610 */ + XML_XINCLUDE_MULTIPLE_ROOT, /* 1611 */ + XML_XINCLUDE_XPTR_FAILED, /* 1612 */ + XML_XINCLUDE_XPTR_RESULT, /* 1613 */ + XML_XINCLUDE_INCLUDE_IN_INCLUDE, /* 1614 */ + XML_XINCLUDE_FALLBACKS_IN_INCLUDE, /* 1615 */ + XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE, /* 1616 */ + XML_XINCLUDE_DEPRECATED_NS, /* 1617 */ + XML_XINCLUDE_FRAGMENT_ID, /* 1618 */ + XML_CATALOG_MISSING_ATTR = 1650, + XML_CATALOG_ENTRY_BROKEN, /* 1651 */ + XML_CATALOG_PREFER_VALUE, /* 1652 */ + XML_CATALOG_NOT_CATALOG, /* 1653 */ + XML_CATALOG_RECURSION, /* 1654 */ + XML_SCHEMAP_PREFIX_UNDEFINED = 1700, + XML_SCHEMAP_ATTRFORMDEFAULT_VALUE, /* 1701 */ + XML_SCHEMAP_ATTRGRP_NONAME_NOREF, /* 1702 */ + XML_SCHEMAP_ATTR_NONAME_NOREF, /* 1703 */ + XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF, /* 1704 */ + XML_SCHEMAP_ELEMFORMDEFAULT_VALUE, /* 1705 */ + XML_SCHEMAP_ELEM_NONAME_NOREF, /* 1706 */ + XML_SCHEMAP_EXTENSION_NO_BASE, /* 1707 */ + XML_SCHEMAP_FACET_NO_VALUE, /* 1708 */ + XML_SCHEMAP_FAILED_BUILD_IMPORT, /* 1709 */ + XML_SCHEMAP_GROUP_NONAME_NOREF, /* 1710 */ + XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI, /* 1711 */ + XML_SCHEMAP_IMPORT_REDEFINE_NSNAME, /* 1712 */ + XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI, /* 1713 */ + XML_SCHEMAP_INVALID_BOOLEAN, /* 1714 */ + XML_SCHEMAP_INVALID_ENUM, /* 1715 */ + XML_SCHEMAP_INVALID_FACET, /* 1716 */ + XML_SCHEMAP_INVALID_FACET_VALUE, /* 1717 */ + XML_SCHEMAP_INVALID_MAXOCCURS, /* 1718 */ + XML_SCHEMAP_INVALID_MINOCCURS, /* 1719 */ + XML_SCHEMAP_INVALID_REF_AND_SUBTYPE, /* 1720 */ + XML_SCHEMAP_INVALID_WHITE_SPACE, /* 1721 */ + XML_SCHEMAP_NOATTR_NOREF, /* 1722 */ + XML_SCHEMAP_NOTATION_NO_NAME, /* 1723 */ + XML_SCHEMAP_NOTYPE_NOREF, /* 1724 */ + XML_SCHEMAP_REF_AND_SUBTYPE, /* 1725 */ + XML_SCHEMAP_RESTRICTION_NONAME_NOREF, /* 1726 */ + XML_SCHEMAP_SIMPLETYPE_NONAME, /* 1727 */ + XML_SCHEMAP_TYPE_AND_SUBTYPE, /* 1728 */ + XML_SCHEMAP_UNKNOWN_ALL_CHILD, /* 1729 */ + XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD, /* 1730 */ + XML_SCHEMAP_UNKNOWN_ATTR_CHILD, /* 1731 */ + XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD, /* 1732 */ + XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP, /* 1733 */ + XML_SCHEMAP_UNKNOWN_BASE_TYPE, /* 1734 */ + XML_SCHEMAP_UNKNOWN_CHOICE_CHILD, /* 1735 */ + XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD, /* 1736 */ + XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD, /* 1737 */ + XML_SCHEMAP_UNKNOWN_ELEM_CHILD, /* 1738 */ + XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD, /* 1739 */ + XML_SCHEMAP_UNKNOWN_FACET_CHILD, /* 1740 */ + XML_SCHEMAP_UNKNOWN_FACET_TYPE, /* 1741 */ + XML_SCHEMAP_UNKNOWN_GROUP_CHILD, /* 1742 */ + XML_SCHEMAP_UNKNOWN_IMPORT_CHILD, /* 1743 */ + XML_SCHEMAP_UNKNOWN_LIST_CHILD, /* 1744 */ + XML_SCHEMAP_UNKNOWN_NOTATION_CHILD, /* 1745 */ + XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD, /* 1746 */ + XML_SCHEMAP_UNKNOWN_REF, /* 1747 */ + XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD, /* 1748 */ + XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD, /* 1749 */ + XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD, /* 1750 */ + XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD, /* 1751 */ + XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD, /* 1752 */ + XML_SCHEMAP_UNKNOWN_TYPE, /* 1753 */ + XML_SCHEMAP_UNKNOWN_UNION_CHILD, /* 1754 */ + XML_SCHEMAP_ELEM_DEFAULT_FIXED, /* 1755 */ + XML_SCHEMAP_REGEXP_INVALID, /* 1756 */ + XML_SCHEMAP_FAILED_LOAD, /* 1757 */ + XML_SCHEMAP_NOTHING_TO_PARSE, /* 1758 */ + XML_SCHEMAP_NOROOT, /* 1759 */ + XML_SCHEMAP_REDEFINED_GROUP, /* 1760 */ + XML_SCHEMAP_REDEFINED_TYPE, /* 1761 */ + XML_SCHEMAP_REDEFINED_ELEMENT, /* 1762 */ + XML_SCHEMAP_REDEFINED_ATTRGROUP, /* 1763 */ + XML_SCHEMAP_REDEFINED_ATTR, /* 1764 */ + XML_SCHEMAP_REDEFINED_NOTATION, /* 1765 */ + XML_SCHEMAP_FAILED_PARSE, /* 1766 */ + XML_SCHEMAP_UNKNOWN_PREFIX, /* 1767 */ + XML_SCHEMAP_DEF_AND_PREFIX, /* 1768 */ + XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD, /* 1769 */ + XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI, /* 1770 */ + XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI, /* 1771 */ + XML_SCHEMAP_NOT_SCHEMA, /* 1772 */ + XML_SCHEMAP_UNKNOWN_MEMBER_TYPE, /* 1773 */ + XML_SCHEMAP_INVALID_ATTR_USE, /* 1774 */ + XML_SCHEMAP_RECURSIVE, /* 1775 */ + XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE, /* 1776 */ + XML_SCHEMAP_INVALID_ATTR_COMBINATION, /* 1777 */ + XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION, /* 1778 */ + XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD, /* 1779 */ + XML_SCHEMAP_INVALID_ATTR_NAME, /* 1780 */ + XML_SCHEMAP_REF_AND_CONTENT, /* 1781 */ + XML_SCHEMAP_CT_PROPS_CORRECT_1, /* 1782 */ + XML_SCHEMAP_CT_PROPS_CORRECT_2, /* 1783 */ + XML_SCHEMAP_CT_PROPS_CORRECT_3, /* 1784 */ + XML_SCHEMAP_CT_PROPS_CORRECT_4, /* 1785 */ + XML_SCHEMAP_CT_PROPS_CORRECT_5, /* 1786 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1, /* 1787 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1, /* 1788 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2, /* 1789 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2, /* 1790 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3, /* 1791 */ + XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER, /* 1792 */ + XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE, /* 1793 */ + XML_SCHEMAP_UNION_NOT_EXPRESSIBLE, /* 1794 */ + XML_SCHEMAP_SRC_IMPORT_3_1, /* 1795 */ + XML_SCHEMAP_SRC_IMPORT_3_2, /* 1796 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1, /* 1797 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2, /* 1798 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3, /* 1799 */ + XML_SCHEMAP_COS_CT_EXTENDS_1_3, /* 1800 */ + XML_SCHEMAV_NOROOT = 1801, + XML_SCHEMAV_UNDECLAREDELEM, /* 1802 */ + XML_SCHEMAV_NOTTOPLEVEL, /* 1803 */ + XML_SCHEMAV_MISSING, /* 1804 */ + XML_SCHEMAV_WRONGELEM, /* 1805 */ + XML_SCHEMAV_NOTYPE, /* 1806 */ + XML_SCHEMAV_NOROLLBACK, /* 1807 */ + XML_SCHEMAV_ISABSTRACT, /* 1808 */ + XML_SCHEMAV_NOTEMPTY, /* 1809 */ + XML_SCHEMAV_ELEMCONT, /* 1810 */ + XML_SCHEMAV_HAVEDEFAULT, /* 1811 */ + XML_SCHEMAV_NOTNILLABLE, /* 1812 */ + XML_SCHEMAV_EXTRACONTENT, /* 1813 */ + XML_SCHEMAV_INVALIDATTR, /* 1814 */ + XML_SCHEMAV_INVALIDELEM, /* 1815 */ + XML_SCHEMAV_NOTDETERMINIST, /* 1816 */ + XML_SCHEMAV_CONSTRUCT, /* 1817 */ + XML_SCHEMAV_INTERNAL, /* 1818 */ + XML_SCHEMAV_NOTSIMPLE, /* 1819 */ + XML_SCHEMAV_ATTRUNKNOWN, /* 1820 */ + XML_SCHEMAV_ATTRINVALID, /* 1821 */ + XML_SCHEMAV_VALUE, /* 1822 */ + XML_SCHEMAV_FACET, /* 1823 */ + XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1, /* 1824 */ + XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2, /* 1825 */ + XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3, /* 1826 */ + XML_SCHEMAV_CVC_TYPE_3_1_1, /* 1827 */ + XML_SCHEMAV_CVC_TYPE_3_1_2, /* 1828 */ + XML_SCHEMAV_CVC_FACET_VALID, /* 1829 */ + XML_SCHEMAV_CVC_LENGTH_VALID, /* 1830 */ + XML_SCHEMAV_CVC_MINLENGTH_VALID, /* 1831 */ + XML_SCHEMAV_CVC_MAXLENGTH_VALID, /* 1832 */ + XML_SCHEMAV_CVC_MININCLUSIVE_VALID, /* 1833 */ + XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID, /* 1834 */ + XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID, /* 1835 */ + XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID, /* 1836 */ + XML_SCHEMAV_CVC_TOTALDIGITS_VALID, /* 1837 */ + XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID, /* 1838 */ + XML_SCHEMAV_CVC_PATTERN_VALID, /* 1839 */ + XML_SCHEMAV_CVC_ENUMERATION_VALID, /* 1840 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1, /* 1841 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2, /* 1842 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3, /* 1843 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4, /* 1844 */ + XML_SCHEMAV_CVC_ELT_1, /* 1845 */ + XML_SCHEMAV_CVC_ELT_2, /* 1846 */ + XML_SCHEMAV_CVC_ELT_3_1, /* 1847 */ + XML_SCHEMAV_CVC_ELT_3_2_1, /* 1848 */ + XML_SCHEMAV_CVC_ELT_3_2_2, /* 1849 */ + XML_SCHEMAV_CVC_ELT_4_1, /* 1850 */ + XML_SCHEMAV_CVC_ELT_4_2, /* 1851 */ + XML_SCHEMAV_CVC_ELT_4_3, /* 1852 */ + XML_SCHEMAV_CVC_ELT_5_1_1, /* 1853 */ + XML_SCHEMAV_CVC_ELT_5_1_2, /* 1854 */ + XML_SCHEMAV_CVC_ELT_5_2_1, /* 1855 */ + XML_SCHEMAV_CVC_ELT_5_2_2_1, /* 1856 */ + XML_SCHEMAV_CVC_ELT_5_2_2_2_1, /* 1857 */ + XML_SCHEMAV_CVC_ELT_5_2_2_2_2, /* 1858 */ + XML_SCHEMAV_CVC_ELT_6, /* 1859 */ + XML_SCHEMAV_CVC_ELT_7, /* 1860 */ + XML_SCHEMAV_CVC_ATTRIBUTE_1, /* 1861 */ + XML_SCHEMAV_CVC_ATTRIBUTE_2, /* 1862 */ + XML_SCHEMAV_CVC_ATTRIBUTE_3, /* 1863 */ + XML_SCHEMAV_CVC_ATTRIBUTE_4, /* 1864 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1, /* 1865 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1, /* 1866 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2, /* 1867 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_4, /* 1868 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1, /* 1869 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2, /* 1870 */ + XML_SCHEMAV_ELEMENT_CONTENT, /* 1871 */ + XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING, /* 1872 */ + XML_SCHEMAV_CVC_COMPLEX_TYPE_1, /* 1873 */ + XML_SCHEMAV_CVC_AU, /* 1874 */ + XML_SCHEMAV_CVC_TYPE_1, /* 1875 */ + XML_SCHEMAV_CVC_TYPE_2, /* 1876 */ + XML_SCHEMAV_CVC_IDC, /* 1877 */ + XML_SCHEMAV_CVC_WILDCARD, /* 1878 */ + XML_SCHEMAV_MISC, /* 1879 */ + XML_XPTR_UNKNOWN_SCHEME = 1900, + XML_XPTR_CHILDSEQ_START, /* 1901 */ + XML_XPTR_EVAL_FAILED, /* 1902 */ + XML_XPTR_EXTRA_OBJECTS, /* 1903 */ + XML_C14N_CREATE_CTXT = 1950, + XML_C14N_REQUIRES_UTF8, /* 1951 */ + XML_C14N_CREATE_STACK, /* 1952 */ + XML_C14N_INVALID_NODE, /* 1953 */ + XML_C14N_UNKNOW_NODE, /* 1954 */ + XML_C14N_RELATIVE_NAMESPACE, /* 1955 */ + XML_FTP_PASV_ANSWER = 2000, + XML_FTP_EPSV_ANSWER, /* 2001 */ + XML_FTP_ACCNT, /* 2002 */ + XML_FTP_URL_SYNTAX, /* 2003 */ + XML_HTTP_URL_SYNTAX = 2020, + XML_HTTP_USE_IP, /* 2021 */ + XML_HTTP_UNKNOWN_HOST, /* 2022 */ + XML_SCHEMAP_SRC_SIMPLE_TYPE_1 = 3000, + XML_SCHEMAP_SRC_SIMPLE_TYPE_2, /* 3001 */ + XML_SCHEMAP_SRC_SIMPLE_TYPE_3, /* 3002 */ + XML_SCHEMAP_SRC_SIMPLE_TYPE_4, /* 3003 */ + XML_SCHEMAP_SRC_RESOLVE, /* 3004 */ + XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE, /* 3005 */ + XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE, /* 3006 */ + XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES, /* 3007 */ + XML_SCHEMAP_ST_PROPS_CORRECT_1, /* 3008 */ + XML_SCHEMAP_ST_PROPS_CORRECT_2, /* 3009 */ + XML_SCHEMAP_ST_PROPS_CORRECT_3, /* 3010 */ + XML_SCHEMAP_COS_ST_RESTRICTS_1_1, /* 3011 */ + XML_SCHEMAP_COS_ST_RESTRICTS_1_2, /* 3012 */ + XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1, /* 3013 */ + XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2, /* 3014 */ + XML_SCHEMAP_COS_ST_RESTRICTS_2_1, /* 3015 */ + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1, /* 3016 */ + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2, /* 3017 */ + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1, /* 3018 */ + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2, /* 3019 */ + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3, /* 3020 */ + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4, /* 3021 */ + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5, /* 3022 */ + XML_SCHEMAP_COS_ST_RESTRICTS_3_1, /* 3023 */ + XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1, /* 3024 */ + XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2, /* 3025 */ + XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2, /* 3026 */ + XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1, /* 3027 */ + XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3, /* 3028 */ + XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4, /* 3029 */ + XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5, /* 3030 */ + XML_SCHEMAP_COS_ST_DERIVED_OK_2_1, /* 3031 */ + XML_SCHEMAP_COS_ST_DERIVED_OK_2_2, /* 3032 */ + XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED, /* 3033 */ + XML_SCHEMAP_S4S_ELEM_MISSING, /* 3034 */ + XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED, /* 3035 */ + XML_SCHEMAP_S4S_ATTR_MISSING, /* 3036 */ + XML_SCHEMAP_S4S_ATTR_INVALID_VALUE, /* 3037 */ + XML_SCHEMAP_SRC_ELEMENT_1, /* 3038 */ + XML_SCHEMAP_SRC_ELEMENT_2_1, /* 3039 */ + XML_SCHEMAP_SRC_ELEMENT_2_2, /* 3040 */ + XML_SCHEMAP_SRC_ELEMENT_3, /* 3041 */ + XML_SCHEMAP_P_PROPS_CORRECT_1, /* 3042 */ + XML_SCHEMAP_P_PROPS_CORRECT_2_1, /* 3043 */ + XML_SCHEMAP_P_PROPS_CORRECT_2_2, /* 3044 */ + XML_SCHEMAP_E_PROPS_CORRECT_2, /* 3045 */ + XML_SCHEMAP_E_PROPS_CORRECT_3, /* 3046 */ + XML_SCHEMAP_E_PROPS_CORRECT_4, /* 3047 */ + XML_SCHEMAP_E_PROPS_CORRECT_5, /* 3048 */ + XML_SCHEMAP_E_PROPS_CORRECT_6, /* 3049 */ + XML_SCHEMAP_SRC_INCLUDE, /* 3050 */ + XML_SCHEMAP_SRC_ATTRIBUTE_1, /* 3051 */ + XML_SCHEMAP_SRC_ATTRIBUTE_2, /* 3052 */ + XML_SCHEMAP_SRC_ATTRIBUTE_3_1, /* 3053 */ + XML_SCHEMAP_SRC_ATTRIBUTE_3_2, /* 3054 */ + XML_SCHEMAP_SRC_ATTRIBUTE_4, /* 3055 */ + XML_SCHEMAP_NO_XMLNS, /* 3056 */ + XML_SCHEMAP_NO_XSI, /* 3057 */ + XML_SCHEMAP_COS_VALID_DEFAULT_1, /* 3058 */ + XML_SCHEMAP_COS_VALID_DEFAULT_2_1, /* 3059 */ + XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1, /* 3060 */ + XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2, /* 3061 */ + XML_SCHEMAP_CVC_SIMPLE_TYPE, /* 3062 */ + XML_SCHEMAP_COS_CT_EXTENDS_1_1, /* 3063 */ + XML_SCHEMAP_SRC_IMPORT_1_1, /* 3064 */ + XML_SCHEMAP_SRC_IMPORT_1_2, /* 3065 */ + XML_SCHEMAP_SRC_IMPORT_2, /* 3066 */ + XML_SCHEMAP_SRC_IMPORT_2_1, /* 3067 */ + XML_SCHEMAP_SRC_IMPORT_2_2, /* 3068 */ + XML_SCHEMAP_INTERNAL, /* 3069 non-W3C */ + XML_SCHEMAP_NOT_DETERMINISTIC, /* 3070 non-W3C */ + XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1, /* 3071 */ + XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2, /* 3072 */ + XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3, /* 3073 */ + XML_SCHEMAP_MG_PROPS_CORRECT_1, /* 3074 */ + XML_SCHEMAP_MG_PROPS_CORRECT_2, /* 3075 */ + XML_SCHEMAP_SRC_CT_1, /* 3076 */ + XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3, /* 3077 */ + XML_SCHEMAP_AU_PROPS_CORRECT_2, /* 3078 */ + XML_SCHEMAP_A_PROPS_CORRECT_2, /* 3079 */ + XML_SCHEMAP_C_PROPS_CORRECT, /* 3080 */ + XML_SCHEMAP_SRC_REDEFINE, /* 3081 */ + XML_SCHEMAP_SRC_IMPORT, /* 3082 */ + XML_SCHEMAP_WARN_SKIP_SCHEMA, /* 3083 */ + XML_SCHEMAP_WARN_UNLOCATED_SCHEMA, /* 3084 */ + XML_SCHEMAP_WARN_ATTR_REDECL_PROH, /* 3085 */ + XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH, /* 3085 */ + XML_SCHEMAP_AG_PROPS_CORRECT, /* 3086 */ + XML_SCHEMAP_COS_CT_EXTENDS_1_2, /* 3087 */ + XML_SCHEMAP_AU_PROPS_CORRECT, /* 3088 */ + XML_SCHEMAP_A_PROPS_CORRECT_3, /* 3089 */ + XML_SCHEMAP_COS_ALL_LIMITED, /* 3090 */ + XML_SCHEMATRONV_ASSERT = 4000, /* 4000 */ + XML_SCHEMATRONV_REPORT, + XML_MODULE_OPEN = 4900, /* 4900 */ + XML_MODULE_CLOSE, /* 4901 */ + XML_CHECK_FOUND_ELEMENT = 5000, + XML_CHECK_FOUND_ATTRIBUTE, /* 5001 */ + XML_CHECK_FOUND_TEXT, /* 5002 */ + XML_CHECK_FOUND_CDATA, /* 5003 */ + XML_CHECK_FOUND_ENTITYREF, /* 5004 */ + XML_CHECK_FOUND_ENTITY, /* 5005 */ + XML_CHECK_FOUND_PI, /* 5006 */ + XML_CHECK_FOUND_COMMENT, /* 5007 */ + XML_CHECK_FOUND_DOCTYPE, /* 5008 */ + XML_CHECK_FOUND_FRAGMENT, /* 5009 */ + XML_CHECK_FOUND_NOTATION, /* 5010 */ + XML_CHECK_UNKNOWN_NODE, /* 5011 */ + XML_CHECK_ENTITY_TYPE, /* 5012 */ + XML_CHECK_NO_PARENT, /* 5013 */ + XML_CHECK_NO_DOC, /* 5014 */ + XML_CHECK_NO_NAME, /* 5015 */ + XML_CHECK_NO_ELEM, /* 5016 */ + XML_CHECK_WRONG_DOC, /* 5017 */ + XML_CHECK_NO_PREV, /* 5018 */ + XML_CHECK_WRONG_PREV, /* 5019 */ + XML_CHECK_NO_NEXT, /* 5020 */ + XML_CHECK_WRONG_NEXT, /* 5021 */ + XML_CHECK_NOT_DTD, /* 5022 */ + XML_CHECK_NOT_ATTR, /* 5023 */ + XML_CHECK_NOT_ATTR_DECL, /* 5024 */ + XML_CHECK_NOT_ELEM_DECL, /* 5025 */ + XML_CHECK_NOT_ENTITY_DECL, /* 5026 */ + XML_CHECK_NOT_NS_DECL, /* 5027 */ + XML_CHECK_NO_HREF, /* 5028 */ + XML_CHECK_WRONG_PARENT,/* 5029 */ + XML_CHECK_NS_SCOPE, /* 5030 */ + XML_CHECK_NS_ANCESTOR, /* 5031 */ + XML_CHECK_NOT_UTF8, /* 5032 */ + XML_CHECK_NO_DICT, /* 5033 */ + XML_CHECK_NOT_NCNAME, /* 5034 */ + XML_CHECK_OUTSIDE_DICT, /* 5035 */ + XML_CHECK_WRONG_NAME, /* 5036 */ + XML_CHECK_NAME_NOT_NULL, /* 5037 */ + XML_I18N_NO_NAME = 6000, + XML_I18N_NO_HANDLER, /* 6001 */ + XML_I18N_EXCESS_HANDLER, /* 6002 */ + XML_I18N_CONV_FAILED, /* 6003 */ + XML_I18N_NO_OUTPUT, /* 6004 */ + XML_BUF_OVERFLOW = 7000 +} xmlParserErrors; + +/** + * xmlGenericErrorFunc: + * @ctx: a parsing context + * @msg: the message + * @...: the extra arguments of the varargs to format the message + * + * Signature of the function to use when there is an error and + * no parsing or validity context available . + */ +typedef void (*xmlGenericErrorFunc) (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); +/** + * xmlStructuredErrorFunc: + * @userData: user provided data for the error callback + * @error: the error being raised. + * + * Signature of the function to use when there is an error and + * the module handles the new error reporting mechanism. + */ +typedef void (*xmlStructuredErrorFunc) (void *userData, const xmlError *error); + +/** DOC_DISABLE */ +#if defined(LIBXML_THREAD_ENABLED) +XML_DEPRECATED +XMLPUBFUN const xmlError * +__xmlLastError(void); +#elif !defined(IN_LIBXML) +XML_DEPRECATED +XMLPUBVAR const xmlError xmlLastError; +#endif + +#define XML_GLOBALS_ERROR \ + XML_OP(xmlGenericError, xmlGenericErrorFunc, XML_NO_ATTR) \ + XML_OP(xmlGenericErrorContext, void *, XML_NO_ATTR) \ + XML_OP(xmlStructuredError, xmlStructuredErrorFunc, XML_NO_ATTR) \ + XML_OP(xmlStructuredErrorContext, void *, XML_NO_ATTR) + +#define XML_OP XML_DECLARE_GLOBAL +XML_GLOBALS_ERROR +#undef XML_OP + +#if defined(LIBXML_THREAD_ENABLED) && !defined(XML_GLOBALS_NO_REDEFINITION) + #define xmlLastError XML_GLOBAL_MACRO(xmlLastError) + #define xmlGenericError XML_GLOBAL_MACRO(xmlGenericError) + #define xmlGenericErrorContext XML_GLOBAL_MACRO(xmlGenericErrorContext) + #define xmlStructuredError XML_GLOBAL_MACRO(xmlStructuredError) + #define xmlStructuredErrorContext XML_GLOBAL_MACRO(xmlStructuredErrorContext) +#endif +/** DOC_ENABLE */ + +/* + * Use the following function to reset the two global variables + * xmlGenericError and xmlGenericErrorContext. + */ +XMLPUBFUN void + xmlSetGenericErrorFunc (void *ctx, + xmlGenericErrorFunc handler); +XML_DEPRECATED +XMLPUBFUN void + xmlThrDefSetGenericErrorFunc(void *ctx, + xmlGenericErrorFunc handler); +XML_DEPRECATED +XMLPUBFUN void + initGenericErrorDefaultFunc (xmlGenericErrorFunc *handler); + +XMLPUBFUN void + xmlSetStructuredErrorFunc (void *ctx, + xmlStructuredErrorFunc handler); +XML_DEPRECATED +XMLPUBFUN void + xmlThrDefSetStructuredErrorFunc(void *ctx, + xmlStructuredErrorFunc handler); +/* + * Default message routines used by SAX and Valid context for error + * and warning reporting. + */ +XMLPUBFUN void + xmlParserError (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); +XMLPUBFUN void + xmlParserWarning (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); +XMLPUBFUN void + xmlParserValidityError (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); +XMLPUBFUN void + xmlParserValidityWarning (void *ctx, + const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); +/** DOC_DISABLE */ +struct _xmlParserInput; +/** DOC_ENABLE */ +XMLPUBFUN void + xmlParserPrintFileInfo (struct _xmlParserInput *input); +XMLPUBFUN void + xmlParserPrintFileContext (struct _xmlParserInput *input); +XMLPUBFUN void +xmlFormatError (const xmlError *err, + xmlGenericErrorFunc channel, + void *data); + +/* + * Extended error information routines + */ +XMLPUBFUN const xmlError * + xmlGetLastError (void); +XMLPUBFUN void + xmlResetLastError (void); +XMLPUBFUN const xmlError * + xmlCtxtGetLastError (void *ctx); +XMLPUBFUN void + xmlCtxtResetLastError (void *ctx); +XMLPUBFUN void + xmlResetError (xmlErrorPtr err); +XMLPUBFUN int + xmlCopyError (const xmlError *from, + xmlErrorPtr to); + +#ifdef __cplusplus +} +#endif +#endif /* __XML_ERROR_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlexports.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlexports.h new file mode 100644 index 0000000000000000000000000000000000000000..52267faeba8dfd0bcd239ef2262598277fbfb313 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlexports.h @@ -0,0 +1,148 @@ +/* + * Summary: macros for marking symbols as exportable/importable. + * Description: macros for marking symbols as exportable/importable. + * + * Copy: See Copyright for the status of this software. + */ + +#ifndef __XML_EXPORTS_H__ +#define __XML_EXPORTS_H__ + +/** DOC_DISABLE */ + +/* + * Symbol visibility + */ + +#if defined(_WIN32) || defined(__CYGWIN__) + #ifdef LIBXML_STATIC + #define XMLPUBLIC + #elif defined(IN_LIBXML) + #define XMLPUBLIC __declspec(dllexport) + #else + #define XMLPUBLIC __declspec(dllimport) + #endif +#else /* not Windows */ + #define XMLPUBLIC +#endif /* platform switch */ + +#define XMLPUBFUN XMLPUBLIC + +#define XMLPUBVAR XMLPUBLIC extern + +/* Compatibility */ +#define XMLCALL +#define XMLCDECL +#ifndef LIBXML_DLL_IMPORT + #define LIBXML_DLL_IMPORT XMLPUBVAR +#endif + +/* + * Attributes + */ + +#if !defined(__clang__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 403) + #define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x))) +#else + #define LIBXML_ATTR_ALLOC_SIZE(x) +#endif + +#if __GNUC__ * 100 + __GNUC_MINOR__ >= 303 + #define LIBXML_ATTR_FORMAT(fmt,args) \ + __attribute__((__format__(__printf__,fmt,args))) +#else + #define LIBXML_ATTR_FORMAT(fmt,args) +#endif + +#ifndef XML_DEPRECATED + #if defined(IN_LIBXML) + #define XML_DEPRECATED + #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301 + #define XML_DEPRECATED __attribute__((deprecated)) + #elif defined(_MSC_VER) && _MSC_VER >= 1400 + /* Available since Visual Studio 2005 */ + #define XML_DEPRECATED __declspec(deprecated) + #else + #define XML_DEPRECATED + #endif +#endif + +#ifndef XML_DEPRECATED_MEMBER + #if defined(IN_LIBXML) + #define XML_DEPRECATED_MEMBER + #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301 + #define XML_DEPRECATED_MEMBER __attribute__((deprecated)) + #else + #define XML_DEPRECATED_MEMBER + #endif +#endif + +/* + * Warnings pragmas, should be moved from public headers + */ + +#if defined(__LCC__) + + #define XML_IGNORE_FPTR_CAST_WARNINGS + #define XML_POP_WARNINGS \ + _Pragma("diag_default 1215") + +#elif defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 406) + + #if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 800) + #define XML_IGNORE_FPTR_CAST_WARNINGS \ + _Pragma("GCC diagnostic push") \ + _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \ + _Pragma("GCC diagnostic ignored \"-Wcast-function-type\"") + #else + #define XML_IGNORE_FPTR_CAST_WARNINGS \ + _Pragma("GCC diagnostic push") \ + _Pragma("GCC diagnostic ignored \"-Wpedantic\"") + #endif + #define XML_POP_WARNINGS \ + _Pragma("GCC diagnostic pop") + +#elif defined(_MSC_VER) && _MSC_VER >= 1400 + + #define XML_IGNORE_FPTR_CAST_WARNINGS __pragma(warning(push)) + #define XML_POP_WARNINGS __pragma(warning(pop)) + +#else + + #define XML_IGNORE_FPTR_CAST_WARNINGS + #define XML_POP_WARNINGS + +#endif + +/* + * Accessors for globals + */ + +#define XML_NO_ATTR + +#ifdef LIBXML_THREAD_ENABLED + #define XML_DECLARE_GLOBAL(name, type, attrs) \ + attrs XMLPUBFUN type *__##name(void); + #define XML_GLOBAL_MACRO(name) (*__##name()) +#else + #define XML_DECLARE_GLOBAL(name, type, attrs) \ + attrs XMLPUBVAR type name; +#endif + +/* + * Originally declared in xmlversion.h which is generated + */ + +#ifdef __cplusplus +extern "C" { +#endif + +XMLPUBFUN void xmlCheckVersion(int version); + +#ifdef __cplusplus +} +#endif + +#endif /* __XML_EXPORTS_H__ */ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlmemory.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlmemory.h new file mode 100644 index 0000000000000000000000000000000000000000..9a57b1299001faf7aea2e380c4bd117f5dec5647 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlmemory.h @@ -0,0 +1,190 @@ +/* + * Summary: interface for the memory allocator + * Description: provides interfaces for the memory allocator, + * including debugging capabilities. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + + +#ifndef __DEBUG_MEMORY_ALLOC__ +#define __DEBUG_MEMORY_ALLOC__ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * The XML memory wrapper support 4 basic overloadable functions. + */ +/** + * xmlFreeFunc: + * @mem: an already allocated block of memory + * + * Signature for a free() implementation. + */ +typedef void (*xmlFreeFunc)(void *mem); +/** + * xmlMallocFunc: + * @size: the size requested in bytes + * + * Signature for a malloc() implementation. + * + * Returns a pointer to the newly allocated block or NULL in case of error. + */ +typedef void *(LIBXML_ATTR_ALLOC_SIZE(1) *xmlMallocFunc)(size_t size); + +/** + * xmlReallocFunc: + * @mem: an already allocated block of memory + * @size: the new size requested in bytes + * + * Signature for a realloc() implementation. + * + * Returns a pointer to the newly reallocated block or NULL in case of error. + */ +typedef void *(*xmlReallocFunc)(void *mem, size_t size); + +/** + * xmlStrdupFunc: + * @str: a zero terminated string + * + * Signature for an strdup() implementation. + * + * Returns the copy of the string or NULL in case of error. + */ +typedef char *(*xmlStrdupFunc)(const char *str); + +/* + * In general the memory allocation entry points are not kept + * thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED + * - xmlMalloc + * - xmlMallocAtomic + * - xmlRealloc + * - xmlMemStrdup + * - xmlFree + */ +/** DOC_DISABLE */ +#ifdef LIBXML_THREAD_ALLOC_ENABLED + #define XML_GLOBALS_ALLOC \ + XML_OP(xmlMalloc, xmlMallocFunc, XML_NO_ATTR) \ + XML_OP(xmlMallocAtomic, xmlMallocFunc, XML_NO_ATTR) \ + XML_OP(xmlRealloc, xmlReallocFunc, XML_NO_ATTR) \ + XML_OP(xmlFree, xmlFreeFunc, XML_NO_ATTR) \ + XML_OP(xmlMemStrdup, xmlStrdupFunc, XML_NO_ATTR) + #define XML_OP XML_DECLARE_GLOBAL + XML_GLOBALS_ALLOC + #undef XML_OP + #if defined(LIBXML_THREAD_ENABLED) && !defined(XML_GLOBALS_NO_REDEFINITION) + #define xmlMalloc XML_GLOBAL_MACRO(xmlMalloc) + #define xmlMallocAtomic XML_GLOBAL_MACRO(xmlMallocAtomic) + #define xmlRealloc XML_GLOBAL_MACRO(xmlRealloc) + #define xmlFree XML_GLOBAL_MACRO(xmlFree) + #define xmlMemStrdup XML_GLOBAL_MACRO(xmlMemStrdup) + #endif +#else + #define XML_GLOBALS_ALLOC +/** DOC_ENABLE */ + XMLPUBVAR xmlMallocFunc xmlMalloc; + XMLPUBVAR xmlMallocFunc xmlMallocAtomic; + XMLPUBVAR xmlReallocFunc xmlRealloc; + XMLPUBVAR xmlFreeFunc xmlFree; + XMLPUBVAR xmlStrdupFunc xmlMemStrdup; +#endif + +/* + * The way to overload the existing functions. + * The xmlGc function have an extra entry for atomic block + * allocations useful for garbage collected memory allocators + */ +XMLPUBFUN int + xmlMemSetup (xmlFreeFunc freeFunc, + xmlMallocFunc mallocFunc, + xmlReallocFunc reallocFunc, + xmlStrdupFunc strdupFunc); +XMLPUBFUN int + xmlMemGet (xmlFreeFunc *freeFunc, + xmlMallocFunc *mallocFunc, + xmlReallocFunc *reallocFunc, + xmlStrdupFunc *strdupFunc); +XML_DEPRECATED +XMLPUBFUN int + xmlGcMemSetup (xmlFreeFunc freeFunc, + xmlMallocFunc mallocFunc, + xmlMallocFunc mallocAtomicFunc, + xmlReallocFunc reallocFunc, + xmlStrdupFunc strdupFunc); +XML_DEPRECATED +XMLPUBFUN int + xmlGcMemGet (xmlFreeFunc *freeFunc, + xmlMallocFunc *mallocFunc, + xmlMallocFunc *mallocAtomicFunc, + xmlReallocFunc *reallocFunc, + xmlStrdupFunc *strdupFunc); + +/* + * Initialization of the memory layer. + */ +XML_DEPRECATED +XMLPUBFUN int + xmlInitMemory (void); + +/* + * Cleanup of the memory layer. + */ +XML_DEPRECATED +XMLPUBFUN void + xmlCleanupMemory (void); +/* + * These are specific to the XML debug memory wrapper. + */ +XMLPUBFUN size_t + xmlMemSize (void *ptr); +XMLPUBFUN int + xmlMemUsed (void); +XMLPUBFUN int + xmlMemBlocks (void); +XML_DEPRECATED +XMLPUBFUN void + xmlMemDisplay (FILE *fp); +XML_DEPRECATED +XMLPUBFUN void + xmlMemDisplayLast(FILE *fp, long nbBytes); +XML_DEPRECATED +XMLPUBFUN void + xmlMemShow (FILE *fp, int nr); +XML_DEPRECATED +XMLPUBFUN void + xmlMemoryDump (void); +XMLPUBFUN void * + xmlMemMalloc (size_t size) LIBXML_ATTR_ALLOC_SIZE(1); +XMLPUBFUN void * + xmlMemRealloc (void *ptr,size_t size); +XMLPUBFUN void + xmlMemFree (void *ptr); +XMLPUBFUN char * + xmlMemoryStrdup (const char *str); +XML_DEPRECATED +XMLPUBFUN void * + xmlMallocLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1); +XML_DEPRECATED +XMLPUBFUN void * + xmlReallocLoc (void *ptr, size_t size, const char *file, int line); +XML_DEPRECATED +XMLPUBFUN void * + xmlMallocAtomicLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1); +XML_DEPRECATED +XMLPUBFUN char * + xmlMemStrdupLoc (const char *str, const char *file, int line); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __DEBUG_MEMORY_ALLOC__ */ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlmodule.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlmodule.h new file mode 100644 index 0000000000000000000000000000000000000000..5db558568f421f1c820d70242937f10fe101583e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlmodule.h @@ -0,0 +1,61 @@ +/* + * Summary: dynamic module loading + * Description: basic API for dynamic module loading, used by + * libexslt added in 2.6.17 + * + * Copy: See Copyright for the status of this software. + * + * Author: Joel W. Reed + */ + +#ifndef __XML_MODULE_H__ +#define __XML_MODULE_H__ + +#include + +#ifdef LIBXML_MODULES_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlModulePtr: + * + * A handle to a dynamically loaded module + */ +typedef struct _xmlModule xmlModule; +typedef xmlModule *xmlModulePtr; + +/** + * xmlModuleOption: + * + * enumeration of options that can be passed down to xmlModuleOpen() + */ +typedef enum { + XML_MODULE_LAZY = 1, /* lazy binding */ + XML_MODULE_LOCAL= 2 /* local binding */ +} xmlModuleOption; + +XML_DEPRECATED +XMLPUBFUN xmlModulePtr xmlModuleOpen (const char *filename, + int options); + +XML_DEPRECATED +XMLPUBFUN int xmlModuleSymbol (xmlModulePtr module, + const char* name, + void **result); + +XML_DEPRECATED +XMLPUBFUN int xmlModuleClose (xmlModulePtr module); + +XML_DEPRECATED +XMLPUBFUN int xmlModuleFree (xmlModulePtr module); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_MODULES_ENABLED */ + +#endif /*__XML_MODULE_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlreader.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlreader.h new file mode 100644 index 0000000000000000000000000000000000000000..65e5cc75a47463519942babc392465fad10a179f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlreader.h @@ -0,0 +1,440 @@ +/* + * Summary: the XMLReader implementation + * Description: API of the XML streaming API based on C# interfaces. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_XMLREADER_H__ +#define __XML_XMLREADER_H__ + +#include +#include +#include +#include +#ifdef LIBXML_SCHEMAS_ENABLED +#include +#include +#endif +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlParserSeverities: + * + * How severe an error callback is when the per-reader error callback API + * is used. + */ +typedef enum { + XML_PARSER_SEVERITY_VALIDITY_WARNING = 1, + XML_PARSER_SEVERITY_VALIDITY_ERROR = 2, + XML_PARSER_SEVERITY_WARNING = 3, + XML_PARSER_SEVERITY_ERROR = 4 +} xmlParserSeverities; + +#ifdef LIBXML_READER_ENABLED + +/** + * xmlTextReaderMode: + * + * Internal state values for the reader. + */ +typedef enum { + XML_TEXTREADER_MODE_INITIAL = 0, + XML_TEXTREADER_MODE_INTERACTIVE = 1, + XML_TEXTREADER_MODE_ERROR = 2, + XML_TEXTREADER_MODE_EOF =3, + XML_TEXTREADER_MODE_CLOSED = 4, + XML_TEXTREADER_MODE_READING = 5 +} xmlTextReaderMode; + +/** + * xmlParserProperties: + * + * Some common options to use with xmlTextReaderSetParserProp, but it + * is better to use xmlParserOption and the xmlReaderNewxxx and + * xmlReaderForxxx APIs now. + */ +typedef enum { + XML_PARSER_LOADDTD = 1, + XML_PARSER_DEFAULTATTRS = 2, + XML_PARSER_VALIDATE = 3, + XML_PARSER_SUBST_ENTITIES = 4 +} xmlParserProperties; + +/** + * xmlReaderTypes: + * + * Predefined constants for the different types of nodes. + */ +typedef enum { + XML_READER_TYPE_NONE = 0, + XML_READER_TYPE_ELEMENT = 1, + XML_READER_TYPE_ATTRIBUTE = 2, + XML_READER_TYPE_TEXT = 3, + XML_READER_TYPE_CDATA = 4, + XML_READER_TYPE_ENTITY_REFERENCE = 5, + XML_READER_TYPE_ENTITY = 6, + XML_READER_TYPE_PROCESSING_INSTRUCTION = 7, + XML_READER_TYPE_COMMENT = 8, + XML_READER_TYPE_DOCUMENT = 9, + XML_READER_TYPE_DOCUMENT_TYPE = 10, + XML_READER_TYPE_DOCUMENT_FRAGMENT = 11, + XML_READER_TYPE_NOTATION = 12, + XML_READER_TYPE_WHITESPACE = 13, + XML_READER_TYPE_SIGNIFICANT_WHITESPACE = 14, + XML_READER_TYPE_END_ELEMENT = 15, + XML_READER_TYPE_END_ENTITY = 16, + XML_READER_TYPE_XML_DECLARATION = 17 +} xmlReaderTypes; + +/** + * xmlTextReader: + * + * Structure for an xmlReader context. + */ +typedef struct _xmlTextReader xmlTextReader; + +/** + * xmlTextReaderPtr: + * + * Pointer to an xmlReader context. + */ +typedef xmlTextReader *xmlTextReaderPtr; + +/* + * Constructors & Destructor + */ +XMLPUBFUN xmlTextReaderPtr + xmlNewTextReader (xmlParserInputBufferPtr input, + const char *URI); +XMLPUBFUN xmlTextReaderPtr + xmlNewTextReaderFilename(const char *URI); + +XMLPUBFUN void + xmlFreeTextReader (xmlTextReaderPtr reader); + +XMLPUBFUN int + xmlTextReaderSetup(xmlTextReaderPtr reader, + xmlParserInputBufferPtr input, const char *URL, + const char *encoding, int options); +XMLPUBFUN void + xmlTextReaderSetMaxAmplification(xmlTextReaderPtr reader, + unsigned maxAmpl); +XMLPUBFUN const xmlError * + xmlTextReaderGetLastError(xmlTextReaderPtr reader); + +/* + * Iterators + */ +XMLPUBFUN int + xmlTextReaderRead (xmlTextReaderPtr reader); + +#ifdef LIBXML_WRITER_ENABLED +XMLPUBFUN xmlChar * + xmlTextReaderReadInnerXml(xmlTextReaderPtr reader); + +XMLPUBFUN xmlChar * + xmlTextReaderReadOuterXml(xmlTextReaderPtr reader); +#endif + +XMLPUBFUN xmlChar * + xmlTextReaderReadString (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderReadAttributeValue(xmlTextReaderPtr reader); + +/* + * Attributes of the node + */ +XMLPUBFUN int + xmlTextReaderAttributeCount(xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderDepth (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderHasAttributes(xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderHasValue(xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderIsDefault (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderIsEmptyElement(xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderNodeType (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderQuoteChar (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderReadState (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderIsNamespaceDecl(xmlTextReaderPtr reader); + +XMLPUBFUN const xmlChar * + xmlTextReaderConstBaseUri (xmlTextReaderPtr reader); +XMLPUBFUN const xmlChar * + xmlTextReaderConstLocalName (xmlTextReaderPtr reader); +XMLPUBFUN const xmlChar * + xmlTextReaderConstName (xmlTextReaderPtr reader); +XMLPUBFUN const xmlChar * + xmlTextReaderConstNamespaceUri(xmlTextReaderPtr reader); +XMLPUBFUN const xmlChar * + xmlTextReaderConstPrefix (xmlTextReaderPtr reader); +XMLPUBFUN const xmlChar * + xmlTextReaderConstXmlLang (xmlTextReaderPtr reader); +XMLPUBFUN const xmlChar * + xmlTextReaderConstString (xmlTextReaderPtr reader, + const xmlChar *str); +XMLPUBFUN const xmlChar * + xmlTextReaderConstValue (xmlTextReaderPtr reader); + +/* + * use the Const version of the routine for + * better performance and simpler code + */ +XMLPUBFUN xmlChar * + xmlTextReaderBaseUri (xmlTextReaderPtr reader); +XMLPUBFUN xmlChar * + xmlTextReaderLocalName (xmlTextReaderPtr reader); +XMLPUBFUN xmlChar * + xmlTextReaderName (xmlTextReaderPtr reader); +XMLPUBFUN xmlChar * + xmlTextReaderNamespaceUri(xmlTextReaderPtr reader); +XMLPUBFUN xmlChar * + xmlTextReaderPrefix (xmlTextReaderPtr reader); +XMLPUBFUN xmlChar * + xmlTextReaderXmlLang (xmlTextReaderPtr reader); +XMLPUBFUN xmlChar * + xmlTextReaderValue (xmlTextReaderPtr reader); + +/* + * Methods of the XmlTextReader + */ +XMLPUBFUN int + xmlTextReaderClose (xmlTextReaderPtr reader); +XMLPUBFUN xmlChar * + xmlTextReaderGetAttributeNo (xmlTextReaderPtr reader, + int no); +XMLPUBFUN xmlChar * + xmlTextReaderGetAttribute (xmlTextReaderPtr reader, + const xmlChar *name); +XMLPUBFUN xmlChar * + xmlTextReaderGetAttributeNs (xmlTextReaderPtr reader, + const xmlChar *localName, + const xmlChar *namespaceURI); +XMLPUBFUN xmlParserInputBufferPtr + xmlTextReaderGetRemainder (xmlTextReaderPtr reader); +XMLPUBFUN xmlChar * + xmlTextReaderLookupNamespace(xmlTextReaderPtr reader, + const xmlChar *prefix); +XMLPUBFUN int + xmlTextReaderMoveToAttributeNo(xmlTextReaderPtr reader, + int no); +XMLPUBFUN int + xmlTextReaderMoveToAttribute(xmlTextReaderPtr reader, + const xmlChar *name); +XMLPUBFUN int + xmlTextReaderMoveToAttributeNs(xmlTextReaderPtr reader, + const xmlChar *localName, + const xmlChar *namespaceURI); +XMLPUBFUN int + xmlTextReaderMoveToFirstAttribute(xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderMoveToNextAttribute(xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderMoveToElement (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderNormalization (xmlTextReaderPtr reader); +XMLPUBFUN const xmlChar * + xmlTextReaderConstEncoding (xmlTextReaderPtr reader); + +/* + * Extensions + */ +XMLPUBFUN int + xmlTextReaderSetParserProp (xmlTextReaderPtr reader, + int prop, + int value); +XMLPUBFUN int + xmlTextReaderGetParserProp (xmlTextReaderPtr reader, + int prop); +XMLPUBFUN xmlNodePtr + xmlTextReaderCurrentNode (xmlTextReaderPtr reader); + +XMLPUBFUN int + xmlTextReaderGetParserLineNumber(xmlTextReaderPtr reader); + +XMLPUBFUN int + xmlTextReaderGetParserColumnNumber(xmlTextReaderPtr reader); + +XMLPUBFUN xmlNodePtr + xmlTextReaderPreserve (xmlTextReaderPtr reader); +#ifdef LIBXML_PATTERN_ENABLED +XMLPUBFUN int + xmlTextReaderPreservePattern(xmlTextReaderPtr reader, + const xmlChar *pattern, + const xmlChar **namespaces); +#endif /* LIBXML_PATTERN_ENABLED */ +XMLPUBFUN xmlDocPtr + xmlTextReaderCurrentDoc (xmlTextReaderPtr reader); +XMLPUBFUN xmlNodePtr + xmlTextReaderExpand (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderNext (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderNextSibling (xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderIsValid (xmlTextReaderPtr reader); +#ifdef LIBXML_SCHEMAS_ENABLED +XMLPUBFUN int + xmlTextReaderRelaxNGValidate(xmlTextReaderPtr reader, + const char *rng); +XMLPUBFUN int + xmlTextReaderRelaxNGValidateCtxt(xmlTextReaderPtr reader, + xmlRelaxNGValidCtxtPtr ctxt, + int options); + +XMLPUBFUN int + xmlTextReaderRelaxNGSetSchema(xmlTextReaderPtr reader, + xmlRelaxNGPtr schema); +XMLPUBFUN int + xmlTextReaderSchemaValidate (xmlTextReaderPtr reader, + const char *xsd); +XMLPUBFUN int + xmlTextReaderSchemaValidateCtxt(xmlTextReaderPtr reader, + xmlSchemaValidCtxtPtr ctxt, + int options); +XMLPUBFUN int + xmlTextReaderSetSchema (xmlTextReaderPtr reader, + xmlSchemaPtr schema); +#endif +XMLPUBFUN const xmlChar * + xmlTextReaderConstXmlVersion(xmlTextReaderPtr reader); +XMLPUBFUN int + xmlTextReaderStandalone (xmlTextReaderPtr reader); + + +/* + * Index lookup + */ +XMLPUBFUN long + xmlTextReaderByteConsumed (xmlTextReaderPtr reader); + +/* + * New more complete APIs for simpler creation and reuse of readers + */ +XMLPUBFUN xmlTextReaderPtr + xmlReaderWalker (xmlDocPtr doc); +XMLPUBFUN xmlTextReaderPtr + xmlReaderForDoc (const xmlChar * cur, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlTextReaderPtr + xmlReaderForFile (const char *filename, + const char *encoding, + int options); +XMLPUBFUN xmlTextReaderPtr + xmlReaderForMemory (const char *buffer, + int size, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlTextReaderPtr + xmlReaderForFd (int fd, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN xmlTextReaderPtr + xmlReaderForIO (xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + const char *URL, + const char *encoding, + int options); + +XMLPUBFUN int + xmlReaderNewWalker (xmlTextReaderPtr reader, + xmlDocPtr doc); +XMLPUBFUN int + xmlReaderNewDoc (xmlTextReaderPtr reader, + const xmlChar * cur, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN int + xmlReaderNewFile (xmlTextReaderPtr reader, + const char *filename, + const char *encoding, + int options); +XMLPUBFUN int + xmlReaderNewMemory (xmlTextReaderPtr reader, + const char *buffer, + int size, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN int + xmlReaderNewFd (xmlTextReaderPtr reader, + int fd, + const char *URL, + const char *encoding, + int options); +XMLPUBFUN int + xmlReaderNewIO (xmlTextReaderPtr reader, + xmlInputReadCallback ioread, + xmlInputCloseCallback ioclose, + void *ioctx, + const char *URL, + const char *encoding, + int options); +/* + * Error handling extensions + */ +typedef void * xmlTextReaderLocatorPtr; + +/** + * xmlTextReaderErrorFunc: + * @arg: the user argument + * @msg: the message + * @severity: the severity of the error + * @locator: a locator indicating where the error occurred + * + * Signature of an error callback from a reader parser + */ +typedef void (*xmlTextReaderErrorFunc)(void *arg, + const char *msg, + xmlParserSeverities severity, + xmlTextReaderLocatorPtr locator); +XMLPUBFUN int + xmlTextReaderLocatorLineNumber(xmlTextReaderLocatorPtr locator); +XMLPUBFUN xmlChar * + xmlTextReaderLocatorBaseURI (xmlTextReaderLocatorPtr locator); +XMLPUBFUN void + xmlTextReaderSetErrorHandler(xmlTextReaderPtr reader, + xmlTextReaderErrorFunc f, + void *arg); +XMLPUBFUN void + xmlTextReaderSetStructuredErrorHandler(xmlTextReaderPtr reader, + xmlStructuredErrorFunc f, + void *arg); +XMLPUBFUN void + xmlTextReaderGetErrorHandler(xmlTextReaderPtr reader, + xmlTextReaderErrorFunc *f, + void **arg); + +XMLPUBFUN void + xmlTextReaderSetResourceLoader(xmlTextReaderPtr reader, + xmlResourceLoader loader, + void *data); + +#endif /* LIBXML_READER_ENABLED */ + +#ifdef __cplusplus +} +#endif + +#endif /* __XML_XMLREADER_H__ */ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlregexp.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlregexp.h new file mode 100644 index 0000000000000000000000000000000000000000..edbdc98dd8611421efd062eb167b1dfc5cf91830 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlregexp.h @@ -0,0 +1,115 @@ +/* + * Summary: regular expressions handling + * Description: basic API for libxml regular expressions handling used + * for XML Schemas and validation. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_REGEXP_H__ +#define __XML_REGEXP_H__ + +#include +#include +#include + +#ifdef LIBXML_REGEXP_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlRegexpPtr: + * + * A libxml regular expression, they can actually be far more complex + * thank the POSIX regex expressions. + */ +typedef struct _xmlRegexp xmlRegexp; +typedef xmlRegexp *xmlRegexpPtr; + +/** + * xmlRegExecCtxtPtr: + * + * A libxml progressive regular expression evaluation context + */ +typedef struct _xmlRegExecCtxt xmlRegExecCtxt; +typedef xmlRegExecCtxt *xmlRegExecCtxtPtr; + +/* + * The POSIX like API + */ +XMLPUBFUN xmlRegexpPtr + xmlRegexpCompile (const xmlChar *regexp); +XMLPUBFUN void xmlRegFreeRegexp(xmlRegexpPtr regexp); +XMLPUBFUN int + xmlRegexpExec (xmlRegexpPtr comp, + const xmlChar *value); +XMLPUBFUN void + xmlRegexpPrint (FILE *output, + xmlRegexpPtr regexp); +XMLPUBFUN int + xmlRegexpIsDeterminist(xmlRegexpPtr comp); + +/** + * xmlRegExecCallbacks: + * @exec: the regular expression context + * @token: the current token string + * @transdata: transition data + * @inputdata: input data + * + * Callback function when doing a transition in the automata + */ +typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec, + const xmlChar *token, + void *transdata, + void *inputdata); + +/* + * The progressive API + */ +XML_DEPRECATED +XMLPUBFUN xmlRegExecCtxtPtr + xmlRegNewExecCtxt (xmlRegexpPtr comp, + xmlRegExecCallbacks callback, + void *data); +XML_DEPRECATED +XMLPUBFUN void + xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec); +XML_DEPRECATED +XMLPUBFUN int + xmlRegExecPushString(xmlRegExecCtxtPtr exec, + const xmlChar *value, + void *data); +XML_DEPRECATED +XMLPUBFUN int + xmlRegExecPushString2(xmlRegExecCtxtPtr exec, + const xmlChar *value, + const xmlChar *value2, + void *data); + +XML_DEPRECATED +XMLPUBFUN int + xmlRegExecNextValues(xmlRegExecCtxtPtr exec, + int *nbval, + int *nbneg, + xmlChar **values, + int *terminal); +XML_DEPRECATED +XMLPUBFUN int + xmlRegExecErrInfo (xmlRegExecCtxtPtr exec, + const xmlChar **string, + int *nbval, + int *nbneg, + xmlChar **values, + int *terminal); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_REGEXP_ENABLED */ + +#endif /*__XML_REGEXP_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlsave.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlsave.h new file mode 100644 index 0000000000000000000000000000000000000000..176b1c7a09a7346a52910eaf4f3927ef40c44c97 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlsave.h @@ -0,0 +1,111 @@ +/* + * Summary: the XML document serializer + * Description: API to save document or subtree of document + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_XMLSAVE_H__ +#define __XML_XMLSAVE_H__ + +#include +#include +#include +#include + +#ifdef LIBXML_OUTPUT_ENABLED +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlSaveOption: + * + * This is the set of XML save options that can be passed down + * to the xmlSaveToFd() and similar calls. + */ +typedef enum { + XML_SAVE_FORMAT = 1<<0, /* format save output */ + XML_SAVE_NO_DECL = 1<<1, /* drop the xml declaration */ + XML_SAVE_NO_EMPTY = 1<<2, /* no empty tags */ + XML_SAVE_NO_XHTML = 1<<3, /* disable XHTML1 specific rules */ + XML_SAVE_XHTML = 1<<4, /* force XHTML1 specific rules */ + XML_SAVE_AS_XML = 1<<5, /* force XML serialization on HTML doc */ + XML_SAVE_AS_HTML = 1<<6, /* force HTML serialization on XML doc */ + XML_SAVE_WSNONSIG = 1<<7, /* format with non-significant whitespace */ + /* Available since 2.14.0 */ + XML_SAVE_EMPTY = 1<<8, /* force empty tags, overriding global */ + XML_SAVE_NO_INDENT = 1<<9, /* disable indenting */ + XML_SAVE_INDENT = 1<<10 /* force indenting, overriding global */ +} xmlSaveOption; + + +typedef struct _xmlSaveCtxt xmlSaveCtxt; +typedef xmlSaveCtxt *xmlSaveCtxtPtr; + +XMLPUBFUN xmlSaveCtxtPtr + xmlSaveToFd (int fd, + const char *encoding, + int options); +XMLPUBFUN xmlSaveCtxtPtr + xmlSaveToFilename (const char *filename, + const char *encoding, + int options); + +XMLPUBFUN xmlSaveCtxtPtr + xmlSaveToBuffer (xmlBufferPtr buffer, + const char *encoding, + int options); + +XMLPUBFUN xmlSaveCtxtPtr + xmlSaveToIO (xmlOutputWriteCallback iowrite, + xmlOutputCloseCallback ioclose, + void *ioctx, + const char *encoding, + int options); + +XMLPUBFUN long + xmlSaveDoc (xmlSaveCtxtPtr ctxt, + xmlDocPtr doc); +XMLPUBFUN long + xmlSaveTree (xmlSaveCtxtPtr ctxt, + xmlNodePtr node); + +XMLPUBFUN int + xmlSaveFlush (xmlSaveCtxtPtr ctxt); +XMLPUBFUN int + xmlSaveClose (xmlSaveCtxtPtr ctxt); +XMLPUBFUN int + xmlSaveFinish (xmlSaveCtxtPtr ctxt); +XMLPUBFUN int + xmlSaveSetIndentString (xmlSaveCtxtPtr ctxt, + const char *indent); +XML_DEPRECATED +XMLPUBFUN int + xmlSaveSetEscape (xmlSaveCtxtPtr ctxt, + xmlCharEncodingOutputFunc escape); +XML_DEPRECATED +XMLPUBFUN int + xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt, + xmlCharEncodingOutputFunc escape); + +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefIndentTreeOutput(int v); +XML_DEPRECATED +XMLPUBFUN const char * + xmlThrDefTreeIndentString(const char * v); +XML_DEPRECATED +XMLPUBFUN int + xmlThrDefSaveNoEmptyTags(int v); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_OUTPUT_ENABLED */ +#endif /* __XML_XMLSAVE_H__ */ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlschemas.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlschemas.h new file mode 100644 index 0000000000000000000000000000000000000000..adaff3e374a8647fd309e91571cfcdcebdefdcac --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlschemas.h @@ -0,0 +1,254 @@ +/* + * Summary: incomplete XML Schemas structure implementation + * Description: interface to the XML Schemas handling and schema validity + * checking, it is incomplete right now. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + + +#ifndef __XML_SCHEMA_H__ +#define __XML_SCHEMA_H__ + +#include + +#ifdef LIBXML_SCHEMAS_ENABLED + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * This error codes are obsolete; not used any more. + */ +typedef enum { + XML_SCHEMAS_ERR_OK = 0, + XML_SCHEMAS_ERR_NOROOT = 1, + XML_SCHEMAS_ERR_UNDECLAREDELEM, + XML_SCHEMAS_ERR_NOTTOPLEVEL, + XML_SCHEMAS_ERR_MISSING, + XML_SCHEMAS_ERR_WRONGELEM, + XML_SCHEMAS_ERR_NOTYPE, + XML_SCHEMAS_ERR_NOROLLBACK, + XML_SCHEMAS_ERR_ISABSTRACT, + XML_SCHEMAS_ERR_NOTEMPTY, + XML_SCHEMAS_ERR_ELEMCONT, + XML_SCHEMAS_ERR_HAVEDEFAULT, + XML_SCHEMAS_ERR_NOTNILLABLE, + XML_SCHEMAS_ERR_EXTRACONTENT, + XML_SCHEMAS_ERR_INVALIDATTR, + XML_SCHEMAS_ERR_INVALIDELEM, + XML_SCHEMAS_ERR_NOTDETERMINIST, + XML_SCHEMAS_ERR_CONSTRUCT, + XML_SCHEMAS_ERR_INTERNAL, + XML_SCHEMAS_ERR_NOTSIMPLE, + XML_SCHEMAS_ERR_ATTRUNKNOWN, + XML_SCHEMAS_ERR_ATTRINVALID, + XML_SCHEMAS_ERR_VALUE, + XML_SCHEMAS_ERR_FACET, + XML_SCHEMAS_ERR_, + XML_SCHEMAS_ERR_XXX +} xmlSchemaValidError; + +/* +* ATTENTION: Change xmlSchemaSetValidOptions's check +* for invalid values, if adding to the validation +* options below. +*/ +/** + * xmlSchemaValidOption: + * + * This is the set of XML Schema validation options. + */ +typedef enum { + XML_SCHEMA_VAL_VC_I_CREATE = 1<<0 + /* Default/fixed: create an attribute node + * or an element's text node on the instance. + */ +} xmlSchemaValidOption; + +/* + XML_SCHEMA_VAL_XSI_ASSEMBLE = 1<<1, + * assemble schemata using + * xsi:schemaLocation and + * xsi:noNamespaceSchemaLocation +*/ + +/** + * The schemas related types are kept internal + */ +typedef struct _xmlSchema xmlSchema; +typedef xmlSchema *xmlSchemaPtr; + +/** + * xmlSchemaValidityErrorFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of an error callback from an XSD validation + */ +typedef void (*xmlSchemaValidityErrorFunc) + (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); + +/** + * xmlSchemaValidityWarningFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of a warning callback from an XSD validation + */ +typedef void (*xmlSchemaValidityWarningFunc) + (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); + +/** + * A schemas validation context + */ +typedef struct _xmlSchemaParserCtxt xmlSchemaParserCtxt; +typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr; + +typedef struct _xmlSchemaValidCtxt xmlSchemaValidCtxt; +typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr; + +/** + * xmlSchemaValidityLocatorFunc: + * @ctx: user provided context + * @file: returned file information + * @line: returned line information + * + * A schemas validation locator, a callback called by the validator. + * This is used when file or node information are not available + * to find out what file and line number are affected + * + * Returns: 0 in case of success and -1 in case of error + */ + +typedef int (*xmlSchemaValidityLocatorFunc) (void *ctx, + const char **file, unsigned long *line); + +/* + * Interfaces for parsing. + */ +XMLPUBFUN xmlSchemaParserCtxtPtr + xmlSchemaNewParserCtxt (const char *URL); +XMLPUBFUN xmlSchemaParserCtxtPtr + xmlSchemaNewMemParserCtxt (const char *buffer, + int size); +XMLPUBFUN xmlSchemaParserCtxtPtr + xmlSchemaNewDocParserCtxt (xmlDocPtr doc); +XMLPUBFUN void + xmlSchemaFreeParserCtxt (xmlSchemaParserCtxtPtr ctxt); +XMLPUBFUN void + xmlSchemaSetParserErrors (xmlSchemaParserCtxtPtr ctxt, + xmlSchemaValidityErrorFunc err, + xmlSchemaValidityWarningFunc warn, + void *ctx); +XMLPUBFUN void + xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxtPtr ctxt, + xmlStructuredErrorFunc serror, + void *ctx); +XMLPUBFUN int + xmlSchemaGetParserErrors (xmlSchemaParserCtxtPtr ctxt, + xmlSchemaValidityErrorFunc * err, + xmlSchemaValidityWarningFunc * warn, + void **ctx); +XMLPUBFUN void + xmlSchemaSetResourceLoader (xmlSchemaParserCtxtPtr ctxt, + xmlResourceLoader loader, + void *data); +XMLPUBFUN int + xmlSchemaIsValid (xmlSchemaValidCtxtPtr ctxt); + +XMLPUBFUN xmlSchemaPtr + xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt); +XMLPUBFUN void + xmlSchemaFree (xmlSchemaPtr schema); +#ifdef LIBXML_OUTPUT_ENABLED +XMLPUBFUN void + xmlSchemaDump (FILE *output, + xmlSchemaPtr schema); +#endif /* LIBXML_OUTPUT_ENABLED */ +/* + * Interfaces for validating + */ +XMLPUBFUN void + xmlSchemaSetValidErrors (xmlSchemaValidCtxtPtr ctxt, + xmlSchemaValidityErrorFunc err, + xmlSchemaValidityWarningFunc warn, + void *ctx); +XMLPUBFUN void + xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxtPtr ctxt, + xmlStructuredErrorFunc serror, + void *ctx); +XMLPUBFUN int + xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt, + xmlSchemaValidityErrorFunc *err, + xmlSchemaValidityWarningFunc *warn, + void **ctx); +XMLPUBFUN int + xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt, + int options); +XMLPUBFUN void + xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt, + const char *filename); +XMLPUBFUN int + xmlSchemaValidCtxtGetOptions(xmlSchemaValidCtxtPtr ctxt); + +XMLPUBFUN xmlSchemaValidCtxtPtr + xmlSchemaNewValidCtxt (xmlSchemaPtr schema); +XMLPUBFUN void + xmlSchemaFreeValidCtxt (xmlSchemaValidCtxtPtr ctxt); +XMLPUBFUN int + xmlSchemaValidateDoc (xmlSchemaValidCtxtPtr ctxt, + xmlDocPtr instance); +XMLPUBFUN int + xmlSchemaValidateOneElement (xmlSchemaValidCtxtPtr ctxt, + xmlNodePtr elem); +XMLPUBFUN int + xmlSchemaValidateStream (xmlSchemaValidCtxtPtr ctxt, + xmlParserInputBufferPtr input, + xmlCharEncoding enc, + xmlSAXHandlerPtr sax, + void *user_data); +XMLPUBFUN int + xmlSchemaValidateFile (xmlSchemaValidCtxtPtr ctxt, + const char * filename, + int options); + +XMLPUBFUN xmlParserCtxtPtr + xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxtPtr ctxt); + +/* + * Interface to insert Schemas SAX validation in a SAX stream + */ +typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct; +typedef xmlSchemaSAXPlugStruct *xmlSchemaSAXPlugPtr; + +XMLPUBFUN xmlSchemaSAXPlugPtr + xmlSchemaSAXPlug (xmlSchemaValidCtxtPtr ctxt, + xmlSAXHandlerPtr *sax, + void **user_data); +XMLPUBFUN int + xmlSchemaSAXUnplug (xmlSchemaSAXPlugPtr plug); + + +XMLPUBFUN void + xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt, + xmlSchemaValidityLocatorFunc f, + void *ctxt); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_SCHEMAS_ENABLED */ +#endif /* __XML_SCHEMA_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlschemastypes.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlschemastypes.h new file mode 100644 index 0000000000000000000000000000000000000000..e2cde35707c5d14f4bdab4d0a6750719d52edda6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlschemastypes.h @@ -0,0 +1,152 @@ +/* + * Summary: implementation of XML Schema Datatypes + * Description: module providing the XML Schema Datatypes implementation + * both definition and validity checking + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + + +#ifndef __XML_SCHEMA_TYPES_H__ +#define __XML_SCHEMA_TYPES_H__ + +#include + +#ifdef LIBXML_SCHEMAS_ENABLED + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + XML_SCHEMA_WHITESPACE_UNKNOWN = 0, + XML_SCHEMA_WHITESPACE_PRESERVE = 1, + XML_SCHEMA_WHITESPACE_REPLACE = 2, + XML_SCHEMA_WHITESPACE_COLLAPSE = 3 +} xmlSchemaWhitespaceValueType; + +XMLPUBFUN int + xmlSchemaInitTypes (void); +XML_DEPRECATED +XMLPUBFUN void + xmlSchemaCleanupTypes (void); +XMLPUBFUN xmlSchemaTypePtr + xmlSchemaGetPredefinedType (const xmlChar *name, + const xmlChar *ns); +XMLPUBFUN int + xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type, + const xmlChar *value, + xmlSchemaValPtr *val); +XMLPUBFUN int + xmlSchemaValPredefTypeNode (xmlSchemaTypePtr type, + const xmlChar *value, + xmlSchemaValPtr *val, + xmlNodePtr node); +XMLPUBFUN int + xmlSchemaValidateFacet (xmlSchemaTypePtr base, + xmlSchemaFacetPtr facet, + const xmlChar *value, + xmlSchemaValPtr val); +XMLPUBFUN int + xmlSchemaValidateFacetWhtsp (xmlSchemaFacetPtr facet, + xmlSchemaWhitespaceValueType fws, + xmlSchemaValType valType, + const xmlChar *value, + xmlSchemaValPtr val, + xmlSchemaWhitespaceValueType ws); +XMLPUBFUN void + xmlSchemaFreeValue (xmlSchemaValPtr val); +XMLPUBFUN xmlSchemaFacetPtr + xmlSchemaNewFacet (void); +XMLPUBFUN int + xmlSchemaCheckFacet (xmlSchemaFacetPtr facet, + xmlSchemaTypePtr typeDecl, + xmlSchemaParserCtxtPtr ctxt, + const xmlChar *name); +XMLPUBFUN void + xmlSchemaFreeFacet (xmlSchemaFacetPtr facet); +XMLPUBFUN int + xmlSchemaCompareValues (xmlSchemaValPtr x, + xmlSchemaValPtr y); +XMLPUBFUN xmlSchemaTypePtr + xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaTypePtr type); +XMLPUBFUN int + xmlSchemaValidateListSimpleTypeFacet (xmlSchemaFacetPtr facet, + const xmlChar *value, + unsigned long actualLen, + unsigned long *expectedLen); +XMLPUBFUN xmlSchemaTypePtr + xmlSchemaGetBuiltInType (xmlSchemaValType type); +XMLPUBFUN int + xmlSchemaIsBuiltInTypeFacet (xmlSchemaTypePtr type, + int facetType); +XMLPUBFUN xmlChar * + xmlSchemaCollapseString (const xmlChar *value); +XMLPUBFUN xmlChar * + xmlSchemaWhiteSpaceReplace (const xmlChar *value); +XMLPUBFUN unsigned long + xmlSchemaGetFacetValueAsULong (xmlSchemaFacetPtr facet); +XMLPUBFUN int + xmlSchemaValidateLengthFacet (xmlSchemaTypePtr type, + xmlSchemaFacetPtr facet, + const xmlChar *value, + xmlSchemaValPtr val, + unsigned long *length); +XMLPUBFUN int + xmlSchemaValidateLengthFacetWhtsp(xmlSchemaFacetPtr facet, + xmlSchemaValType valType, + const xmlChar *value, + xmlSchemaValPtr val, + unsigned long *length, + xmlSchemaWhitespaceValueType ws); +XMLPUBFUN int + xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaTypePtr type, + const xmlChar *value, + xmlSchemaValPtr *val, + xmlNodePtr node); +XMLPUBFUN int + xmlSchemaGetCanonValue (xmlSchemaValPtr val, + const xmlChar **retValue); +XMLPUBFUN int + xmlSchemaGetCanonValueWhtsp (xmlSchemaValPtr val, + const xmlChar **retValue, + xmlSchemaWhitespaceValueType ws); +XMLPUBFUN int + xmlSchemaValueAppend (xmlSchemaValPtr prev, + xmlSchemaValPtr cur); +XMLPUBFUN xmlSchemaValPtr + xmlSchemaValueGetNext (xmlSchemaValPtr cur); +XMLPUBFUN const xmlChar * + xmlSchemaValueGetAsString (xmlSchemaValPtr val); +XMLPUBFUN int + xmlSchemaValueGetAsBoolean (xmlSchemaValPtr val); +XMLPUBFUN xmlSchemaValPtr + xmlSchemaNewStringValue (xmlSchemaValType type, + const xmlChar *value); +XMLPUBFUN xmlSchemaValPtr + xmlSchemaNewNOTATIONValue (const xmlChar *name, + const xmlChar *ns); +XMLPUBFUN xmlSchemaValPtr + xmlSchemaNewQNameValue (const xmlChar *namespaceName, + const xmlChar *localName); +XMLPUBFUN int + xmlSchemaCompareValuesWhtsp (xmlSchemaValPtr x, + xmlSchemaWhitespaceValueType xws, + xmlSchemaValPtr y, + xmlSchemaWhitespaceValueType yws); +XMLPUBFUN xmlSchemaValPtr + xmlSchemaCopyValue (xmlSchemaValPtr val); +XMLPUBFUN xmlSchemaValType + xmlSchemaGetValType (xmlSchemaValPtr val); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_SCHEMAS_ENABLED */ +#endif /* __XML_SCHEMA_TYPES_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlstring.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlstring.h new file mode 100644 index 0000000000000000000000000000000000000000..db11a0b0e50482acf67efd6b9c7ca03879648d45 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlstring.h @@ -0,0 +1,140 @@ +/* + * Summary: set of routines to process strings + * Description: type and interfaces needed for the internal string handling + * of the library, especially UTF8 processing. + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_STRING_H__ +#define __XML_STRING_H__ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlChar: + * + * This is a basic byte in an UTF-8 encoded string. + * It's unsigned allowing to pinpoint case where char * are assigned + * to xmlChar * (possibly making serialization back impossible). + */ +typedef unsigned char xmlChar; + +/** + * BAD_CAST: + * + * Macro to cast a string to an xmlChar * when one know its safe. + */ +#define BAD_CAST (xmlChar *) + +/* + * xmlChar handling + */ +XMLPUBFUN xmlChar * + xmlStrdup (const xmlChar *cur); +XMLPUBFUN xmlChar * + xmlStrndup (const xmlChar *cur, + int len); +XMLPUBFUN xmlChar * + xmlCharStrndup (const char *cur, + int len); +XMLPUBFUN xmlChar * + xmlCharStrdup (const char *cur); +XMLPUBFUN xmlChar * + xmlStrsub (const xmlChar *str, + int start, + int len); +XMLPUBFUN const xmlChar * + xmlStrchr (const xmlChar *str, + xmlChar val); +XMLPUBFUN const xmlChar * + xmlStrstr (const xmlChar *str, + const xmlChar *val); +XMLPUBFUN const xmlChar * + xmlStrcasestr (const xmlChar *str, + const xmlChar *val); +XMLPUBFUN int + xmlStrcmp (const xmlChar *str1, + const xmlChar *str2); +XMLPUBFUN int + xmlStrncmp (const xmlChar *str1, + const xmlChar *str2, + int len); +XMLPUBFUN int + xmlStrcasecmp (const xmlChar *str1, + const xmlChar *str2); +XMLPUBFUN int + xmlStrncasecmp (const xmlChar *str1, + const xmlChar *str2, + int len); +XMLPUBFUN int + xmlStrEqual (const xmlChar *str1, + const xmlChar *str2); +XMLPUBFUN int + xmlStrQEqual (const xmlChar *pref, + const xmlChar *name, + const xmlChar *str); +XMLPUBFUN int + xmlStrlen (const xmlChar *str); +XMLPUBFUN xmlChar * + xmlStrcat (xmlChar *cur, + const xmlChar *add); +XMLPUBFUN xmlChar * + xmlStrncat (xmlChar *cur, + const xmlChar *add, + int len); +XMLPUBFUN xmlChar * + xmlStrncatNew (const xmlChar *str1, + const xmlChar *str2, + int len); +XMLPUBFUN int + xmlStrPrintf (xmlChar *buf, + int len, + const char *msg, + ...) LIBXML_ATTR_FORMAT(3,4); +XMLPUBFUN int + xmlStrVPrintf (xmlChar *buf, + int len, + const char *msg, + va_list ap) LIBXML_ATTR_FORMAT(3,0); + +XMLPUBFUN int + xmlGetUTF8Char (const unsigned char *utf, + int *len); +XMLPUBFUN int + xmlCheckUTF8 (const unsigned char *utf); +XMLPUBFUN int + xmlUTF8Strsize (const xmlChar *utf, + int len); +XMLPUBFUN xmlChar * + xmlUTF8Strndup (const xmlChar *utf, + int len); +XMLPUBFUN const xmlChar * + xmlUTF8Strpos (const xmlChar *utf, + int pos); +XMLPUBFUN int + xmlUTF8Strloc (const xmlChar *utf, + const xmlChar *utfchar); +XMLPUBFUN xmlChar * + xmlUTF8Strsub (const xmlChar *utf, + int start, + int len); +XMLPUBFUN int + xmlUTF8Strlen (const xmlChar *utf); +XMLPUBFUN int + xmlUTF8Size (const xmlChar *utf); +XMLPUBFUN int + xmlUTF8Charcmp (const xmlChar *utf1, + const xmlChar *utf2); + +#ifdef __cplusplus +} +#endif +#endif /* __XML_STRING_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlunicode.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlunicode.h new file mode 100644 index 0000000000000000000000000000000000000000..b6d795b267d50c22553caed286ec2aea1803a336 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlunicode.h @@ -0,0 +1,366 @@ +/* + * Summary: Unicode character APIs + * Description: API for the Unicode character APIs + * + * This file is automatically generated from the + * UCS description files of the Unicode Character Database + * http://www.unicode.org/Public/4.0-Update1/UCD-4.0.1.html + * using the genUnicode.py Python script. + * + * Generation date: Tue Apr 30 17:30:38 2024 + * Sources: Blocks-4.0.1.txt UnicodeData-4.0.1.txt + * Author: Daniel Veillard + */ + +#ifndef __XML_UNICODE_H__ +#define __XML_UNICODE_H__ + +#include + +#ifdef LIBXML_UNICODE_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsAegeanNumbers (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsAlphabeticPresentationForms (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsArabic (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsArabicPresentationFormsA (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsArabicPresentationFormsB (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsArmenian (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsArrows (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsBasicLatin (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsBengali (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsBlockElements (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsBopomofo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsBopomofoExtended (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsBoxDrawing (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsBraillePatterns (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsBuhid (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsByzantineMusicalSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKCompatibility (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKCompatibilityForms (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKCompatibilityIdeographs (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKCompatibilityIdeographsSupplement (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKRadicalsSupplement (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKSymbolsandPunctuation (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKUnifiedIdeographs (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKUnifiedIdeographsExtensionA (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCJKUnifiedIdeographsExtensionB (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCherokee (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCombiningDiacriticalMarks (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCombiningDiacriticalMarksforSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCombiningHalfMarks (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCombiningMarksforSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsControlPictures (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCurrencySymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCypriotSyllabary (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCyrillic (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCyrillicSupplement (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsDeseret (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsDevanagari (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsDingbats (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsEnclosedAlphanumerics (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsEnclosedCJKLettersandMonths (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsEthiopic (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGeneralPunctuation (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGeometricShapes (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGeorgian (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGothic (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGreek (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGreekExtended (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGreekandCoptic (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGujarati (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsGurmukhi (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHalfwidthandFullwidthForms (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHangulCompatibilityJamo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHangulJamo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHangulSyllables (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHanunoo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHebrew (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHighPrivateUseSurrogates (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHighSurrogates (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsHiragana (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsIPAExtensions (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsIdeographicDescriptionCharacters (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsKanbun (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsKangxiRadicals (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsKannada (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsKatakana (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsKatakanaPhoneticExtensions (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsKhmer (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsKhmerSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLao (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLatin1Supplement (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLatinExtendedA (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLatinExtendedB (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLatinExtendedAdditional (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLetterlikeSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLimbu (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLinearBIdeograms (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLinearBSyllabary (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsLowSurrogates (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMalayalam (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMathematicalAlphanumericSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMathematicalOperators (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMiscellaneousMathematicalSymbolsA (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMiscellaneousMathematicalSymbolsB (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMiscellaneousSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMiscellaneousSymbolsandArrows (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMiscellaneousTechnical (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMongolian (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMusicalSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsMyanmar (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsNumberForms (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsOgham (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsOldItalic (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsOpticalCharacterRecognition (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsOriya (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsOsmanya (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsPhoneticExtensions (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsPrivateUse (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsPrivateUseArea (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsRunic (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsShavian (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSinhala (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSmallFormVariants (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSpacingModifierLetters (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSpecials (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSuperscriptsandSubscripts (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSupplementalArrowsA (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSupplementalArrowsB (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSupplementalMathematicalOperators (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSupplementaryPrivateUseAreaA (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSupplementaryPrivateUseAreaB (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsSyriac (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsTagalog (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsTagbanwa (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsTags (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsTaiLe (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsTaiXuanJingSymbols (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsTamil (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsTelugu (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsThaana (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsThai (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsTibetan (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsUgaritic (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsUnifiedCanadianAboriginalSyllabics (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsVariationSelectors (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsVariationSelectorsSupplement (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsYiRadicals (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsYiSyllables (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsYijingHexagramSymbols (int code); + +XMLPUBFUN int xmlUCSIsBlock (int code, const char *block); + +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatC (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatCc (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatCf (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatCo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatCs (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatL (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatLl (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatLm (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatLo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatLt (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatLu (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatM (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatMc (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatMe (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatMn (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatN (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatNd (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatNl (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatNo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatP (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatPc (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatPd (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatPe (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatPf (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatPi (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatPo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatPs (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatS (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatSc (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatSk (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatSm (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatSo (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatZ (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatZl (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatZp (int code); +XML_DEPRECATED +XMLPUBFUN int xmlUCSIsCatZs (int code); + +XMLPUBFUN int xmlUCSIsCat (int code, const char *cat); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_UNICODE_ENABLED */ + +#endif /* __XML_UNICODE_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlversion.h.in b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlversion.h.in new file mode 100644 index 0000000000000000000000000000000000000000..000a0fa990ec67dce678441ede9b51ece82d92be --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlversion.h.in @@ -0,0 +1,327 @@ +/* + * Summary: compile-time version information + * Description: compile-time version information for the XML library + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_VERSION_H__ +#define __XML_VERSION_H__ + +/** + * LIBXML_DOTTED_VERSION: + * + * the version string like "1.2.3" + */ +#define LIBXML_DOTTED_VERSION "@VERSION@" + +/** + * LIBXML_VERSION: + * + * the version number: 1.2.3 value is 10203 + */ +#define LIBXML_VERSION @LIBXML_VERSION_NUMBER@ + +/** + * LIBXML_VERSION_STRING: + * + * the version number string, 1.2.3 value is "10203" + */ +#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@" + +/** + * LIBXML_VERSION_EXTRA: + * + * extra version information, used to show a git commit description + */ +#define LIBXML_VERSION_EXTRA "@LIBXML_VERSION_EXTRA@" + +/** + * LIBXML_TEST_VERSION: + * + * Macro to check that the libxml version in use is compatible with + * the version the software has been compiled against + */ +#define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@); + +/** + * LIBXML_THREAD_ENABLED: + * + * Whether the thread support is configured in + */ +#if @WITH_THREADS@ +#define LIBXML_THREAD_ENABLED +#endif + +/** + * LIBXML_THREAD_ALLOC_ENABLED: + * + * Whether the allocation hooks are per-thread + */ +#if @WITH_THREAD_ALLOC@ +#define LIBXML_THREAD_ALLOC_ENABLED +#endif + +/** + * LIBXML_TREE_ENABLED: + * + * Always enabled since 2.14.0 + */ +#define LIBXML_TREE_ENABLED + +/** + * LIBXML_OUTPUT_ENABLED: + * + * Whether the serialization/saving support is configured in + */ +#if @WITH_OUTPUT@ +#define LIBXML_OUTPUT_ENABLED +#endif + +/** + * LIBXML_PUSH_ENABLED: + * + * Whether the push parsing interfaces are configured in + */ +#if @WITH_PUSH@ +#define LIBXML_PUSH_ENABLED +#endif + +/** + * LIBXML_READER_ENABLED: + * + * Whether the xmlReader parsing interface is configured in + */ +#if @WITH_READER@ +#define LIBXML_READER_ENABLED +#endif + +/** + * LIBXML_PATTERN_ENABLED: + * + * Whether the xmlPattern node selection interface is configured in + */ +#if @WITH_PATTERN@ +#define LIBXML_PATTERN_ENABLED +#endif + +/** + * LIBXML_WRITER_ENABLED: + * + * Whether the xmlWriter saving interface is configured in + */ +#if @WITH_WRITER@ +#define LIBXML_WRITER_ENABLED +#endif + +/** + * LIBXML_SAX1_ENABLED: + * + * Whether the older SAX1 interface is configured in + */ +#if @WITH_SAX1@ +#define LIBXML_SAX1_ENABLED +#endif + +/** + * LIBXML_HTTP_ENABLED: + * + * Whether the HTTP support is configured in + */ +#if @WITH_HTTP@ +#define LIBXML_HTTP_ENABLED +#endif + +/** + * LIBXML_VALID_ENABLED: + * + * Whether the DTD validation support is configured in + */ +#if @WITH_VALID@ +#define LIBXML_VALID_ENABLED +#endif + +/** + * LIBXML_HTML_ENABLED: + * + * Whether the HTML support is configured in + */ +#if @WITH_HTML@ +#define LIBXML_HTML_ENABLED +#endif + +/** + * LIBXML_LEGACY_ENABLED: + * + * Whether the deprecated APIs are compiled in for compatibility + */ +#if @WITH_LEGACY@ +#define LIBXML_LEGACY_ENABLED +#endif + +/** + * LIBXML_C14N_ENABLED: + * + * Whether the Canonicalization support is configured in + */ +#if @WITH_C14N@ +#define LIBXML_C14N_ENABLED +#endif + +/** + * LIBXML_CATALOG_ENABLED: + * + * Whether the Catalog support is configured in + */ +#if @WITH_CATALOG@ +#define LIBXML_CATALOG_ENABLED +#endif + +/** + * LIBXML_XPATH_ENABLED: + * + * Whether XPath is configured in + */ +#if @WITH_XPATH@ +#define LIBXML_XPATH_ENABLED +#endif + +/** + * LIBXML_XPTR_ENABLED: + * + * Whether XPointer is configured in + */ +#if @WITH_XPTR@ +#define LIBXML_XPTR_ENABLED +#endif + +/** + * LIBXML_XINCLUDE_ENABLED: + * + * Whether XInclude is configured in + */ +#if @WITH_XINCLUDE@ +#define LIBXML_XINCLUDE_ENABLED +#endif + +/** + * LIBXML_ICONV_ENABLED: + * + * Whether iconv support is available + */ +#if @WITH_ICONV@ +#define LIBXML_ICONV_ENABLED +#endif + +/** + * LIBXML_ICU_ENABLED: + * + * Whether icu support is available + */ +#if @WITH_ICU@ +#define LIBXML_ICU_ENABLED +#endif + +/** + * LIBXML_ISO8859X_ENABLED: + * + * Whether ISO-8859-* support is made available in case iconv is not + */ +#if @WITH_ISO8859X@ +#define LIBXML_ISO8859X_ENABLED +#endif + +/** + * LIBXML_DEBUG_ENABLED: + * + * Whether Debugging module is configured in + */ +#if @WITH_DEBUG@ +#define LIBXML_DEBUG_ENABLED +#endif + +/** + * LIBXML_UNICODE_ENABLED: + * + * Whether the Unicode related interfaces are compiled in + */ +#if @WITH_REGEXPS@ +#define LIBXML_UNICODE_ENABLED +#endif + +/** + * LIBXML_REGEXP_ENABLED: + * + * Whether the regular expressions interfaces are compiled in + */ +#if @WITH_REGEXPS@ +#define LIBXML_REGEXP_ENABLED +#endif + +/** + * LIBXML_AUTOMATA_ENABLED: + * + * Whether the automata interfaces are compiled in + */ +#if @WITH_REGEXPS@ +#define LIBXML_AUTOMATA_ENABLED +#endif + +/** + * LIBXML_SCHEMAS_ENABLED: + * + * Whether the Schemas validation interfaces are compiled in + */ +#if @WITH_SCHEMAS@ +#define LIBXML_SCHEMAS_ENABLED +#endif + +/** + * LIBXML_SCHEMATRON_ENABLED: + * + * Whether the Schematron validation interfaces are compiled in + */ +#if @WITH_SCHEMATRON@ +#define LIBXML_SCHEMATRON_ENABLED +#endif + +/** + * LIBXML_MODULES_ENABLED: + * + * Whether the module interfaces are compiled in + */ +#if @WITH_MODULES@ +#define LIBXML_MODULES_ENABLED +/** + * LIBXML_MODULE_EXTENSION: + * + * the string suffix used by dynamic modules (usually shared libraries) + */ +#define LIBXML_MODULE_EXTENSION "@MODULE_EXTENSION@" +#endif + +/** + * LIBXML_ZLIB_ENABLED: + * + * Whether the Zlib support is compiled in + */ +#if @WITH_ZLIB@ +#define LIBXML_ZLIB_ENABLED +#endif + +/** + * LIBXML_LZMA_ENABLED: + * + * Whether the Lzma support is compiled in + */ +#if @WITH_LZMA@ +#define LIBXML_LZMA_ENABLED +#endif + +#include + +#endif + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlwriter.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlwriter.h new file mode 100644 index 0000000000000000000000000000000000000000..55f88bc71f0c55d0d162a398bc5300dc87290f1b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xmlwriter.h @@ -0,0 +1,489 @@ +/* + * Summary: text writing API for XML + * Description: text writing API for XML + * + * Copy: See Copyright for the status of this software. + * + * Author: Alfred Mickautsch + */ + +#ifndef __XML_XMLWRITER_H__ +#define __XML_XMLWRITER_H__ + +#include + +#ifdef LIBXML_WRITER_ENABLED + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + typedef struct _xmlTextWriter xmlTextWriter; + typedef xmlTextWriter *xmlTextWriterPtr; + +/* + * Constructors & Destructor + */ + XMLPUBFUN xmlTextWriterPtr + xmlNewTextWriter(xmlOutputBufferPtr out); + XMLPUBFUN xmlTextWriterPtr + xmlNewTextWriterFilename(const char *uri, int compression); + XMLPUBFUN xmlTextWriterPtr + xmlNewTextWriterMemory(xmlBufferPtr buf, int compression); + XMLPUBFUN xmlTextWriterPtr + xmlNewTextWriterPushParser(xmlParserCtxtPtr ctxt, int compression); + XMLPUBFUN xmlTextWriterPtr + xmlNewTextWriterDoc(xmlDocPtr * doc, int compression); + XMLPUBFUN xmlTextWriterPtr + xmlNewTextWriterTree(xmlDocPtr doc, xmlNodePtr node, + int compression); + XMLPUBFUN void xmlFreeTextWriter(xmlTextWriterPtr writer); + +/* + * Functions + */ + + +/* + * Document + */ + XMLPUBFUN int + xmlTextWriterStartDocument(xmlTextWriterPtr writer, + const char *version, + const char *encoding, + const char *standalone); + XMLPUBFUN int xmlTextWriterEndDocument(xmlTextWriterPtr + writer); + +/* + * Comments + */ + XMLPUBFUN int xmlTextWriterStartComment(xmlTextWriterPtr + writer); + XMLPUBFUN int xmlTextWriterEndComment(xmlTextWriterPtr writer); + XMLPUBFUN int + xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer, + const char *format, ...) + LIBXML_ATTR_FORMAT(2,3); + XMLPUBFUN int + xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer, + const char *format, + va_list argptr) + LIBXML_ATTR_FORMAT(2,0); + XMLPUBFUN int xmlTextWriterWriteComment(xmlTextWriterPtr + writer, + const xmlChar * + content); + +/* + * Elements + */ + XMLPUBFUN int + xmlTextWriterStartElement(xmlTextWriterPtr writer, + const xmlChar * name); + XMLPUBFUN int xmlTextWriterStartElementNS(xmlTextWriterPtr + writer, + const xmlChar * + prefix, + const xmlChar * name, + const xmlChar * + namespaceURI); + XMLPUBFUN int xmlTextWriterEndElement(xmlTextWriterPtr writer); + XMLPUBFUN int xmlTextWriterFullEndElement(xmlTextWriterPtr + writer); + +/* + * Elements conveniency functions + */ + XMLPUBFUN int + xmlTextWriterWriteFormatElement(xmlTextWriterPtr writer, + const xmlChar * name, + const char *format, ...) + LIBXML_ATTR_FORMAT(3,4); + XMLPUBFUN int + xmlTextWriterWriteVFormatElement(xmlTextWriterPtr writer, + const xmlChar * name, + const char *format, + va_list argptr) + LIBXML_ATTR_FORMAT(3,0); + XMLPUBFUN int xmlTextWriterWriteElement(xmlTextWriterPtr + writer, + const xmlChar * name, + const xmlChar * + content); + XMLPUBFUN int + xmlTextWriterWriteFormatElementNS(xmlTextWriterPtr writer, + const xmlChar * prefix, + const xmlChar * name, + const xmlChar * namespaceURI, + const char *format, ...) + LIBXML_ATTR_FORMAT(5,6); + XMLPUBFUN int + xmlTextWriterWriteVFormatElementNS(xmlTextWriterPtr writer, + const xmlChar * prefix, + const xmlChar * name, + const xmlChar * namespaceURI, + const char *format, + va_list argptr) + LIBXML_ATTR_FORMAT(5,0); + XMLPUBFUN int xmlTextWriterWriteElementNS(xmlTextWriterPtr + writer, + const xmlChar * + prefix, + const xmlChar * name, + const xmlChar * + namespaceURI, + const xmlChar * + content); + +/* + * Text + */ + XMLPUBFUN int + xmlTextWriterWriteFormatRaw(xmlTextWriterPtr writer, + const char *format, ...) + LIBXML_ATTR_FORMAT(2,3); + XMLPUBFUN int + xmlTextWriterWriteVFormatRaw(xmlTextWriterPtr writer, + const char *format, va_list argptr) + LIBXML_ATTR_FORMAT(2,0); + XMLPUBFUN int + xmlTextWriterWriteRawLen(xmlTextWriterPtr writer, + const xmlChar * content, int len); + XMLPUBFUN int + xmlTextWriterWriteRaw(xmlTextWriterPtr writer, + const xmlChar * content); + XMLPUBFUN int xmlTextWriterWriteFormatString(xmlTextWriterPtr + writer, + const char + *format, ...) + LIBXML_ATTR_FORMAT(2,3); + XMLPUBFUN int xmlTextWriterWriteVFormatString(xmlTextWriterPtr + writer, + const char + *format, + va_list argptr) + LIBXML_ATTR_FORMAT(2,0); + XMLPUBFUN int xmlTextWriterWriteString(xmlTextWriterPtr writer, + const xmlChar * + content); + XMLPUBFUN int xmlTextWriterWriteBase64(xmlTextWriterPtr writer, + const char *data, + int start, int len); + XMLPUBFUN int xmlTextWriterWriteBinHex(xmlTextWriterPtr writer, + const char *data, + int start, int len); + +/* + * Attributes + */ + XMLPUBFUN int + xmlTextWriterStartAttribute(xmlTextWriterPtr writer, + const xmlChar * name); + XMLPUBFUN int xmlTextWriterStartAttributeNS(xmlTextWriterPtr + writer, + const xmlChar * + prefix, + const xmlChar * + name, + const xmlChar * + namespaceURI); + XMLPUBFUN int xmlTextWriterEndAttribute(xmlTextWriterPtr + writer); + +/* + * Attributes conveniency functions + */ + XMLPUBFUN int + xmlTextWriterWriteFormatAttribute(xmlTextWriterPtr writer, + const xmlChar * name, + const char *format, ...) + LIBXML_ATTR_FORMAT(3,4); + XMLPUBFUN int + xmlTextWriterWriteVFormatAttribute(xmlTextWriterPtr writer, + const xmlChar * name, + const char *format, + va_list argptr) + LIBXML_ATTR_FORMAT(3,0); + XMLPUBFUN int xmlTextWriterWriteAttribute(xmlTextWriterPtr + writer, + const xmlChar * name, + const xmlChar * + content); + XMLPUBFUN int + xmlTextWriterWriteFormatAttributeNS(xmlTextWriterPtr writer, + const xmlChar * prefix, + const xmlChar * name, + const xmlChar * namespaceURI, + const char *format, ...) + LIBXML_ATTR_FORMAT(5,6); + XMLPUBFUN int + xmlTextWriterWriteVFormatAttributeNS(xmlTextWriterPtr writer, + const xmlChar * prefix, + const xmlChar * name, + const xmlChar * namespaceURI, + const char *format, + va_list argptr) + LIBXML_ATTR_FORMAT(5,0); + XMLPUBFUN int xmlTextWriterWriteAttributeNS(xmlTextWriterPtr + writer, + const xmlChar * + prefix, + const xmlChar * + name, + const xmlChar * + namespaceURI, + const xmlChar * + content); + +/* + * PI's + */ + XMLPUBFUN int + xmlTextWriterStartPI(xmlTextWriterPtr writer, + const xmlChar * target); + XMLPUBFUN int xmlTextWriterEndPI(xmlTextWriterPtr writer); + +/* + * PI conveniency functions + */ + XMLPUBFUN int + xmlTextWriterWriteFormatPI(xmlTextWriterPtr writer, + const xmlChar * target, + const char *format, ...) + LIBXML_ATTR_FORMAT(3,4); + XMLPUBFUN int + xmlTextWriterWriteVFormatPI(xmlTextWriterPtr writer, + const xmlChar * target, + const char *format, va_list argptr) + LIBXML_ATTR_FORMAT(3,0); + XMLPUBFUN int + xmlTextWriterWritePI(xmlTextWriterPtr writer, + const xmlChar * target, + const xmlChar * content); + +/** + * xmlTextWriterWriteProcessingInstruction: + * + * This macro maps to xmlTextWriterWritePI + */ +#define xmlTextWriterWriteProcessingInstruction xmlTextWriterWritePI + +/* + * CDATA + */ + XMLPUBFUN int xmlTextWriterStartCDATA(xmlTextWriterPtr writer); + XMLPUBFUN int xmlTextWriterEndCDATA(xmlTextWriterPtr writer); + +/* + * CDATA conveniency functions + */ + XMLPUBFUN int + xmlTextWriterWriteFormatCDATA(xmlTextWriterPtr writer, + const char *format, ...) + LIBXML_ATTR_FORMAT(2,3); + XMLPUBFUN int + xmlTextWriterWriteVFormatCDATA(xmlTextWriterPtr writer, + const char *format, va_list argptr) + LIBXML_ATTR_FORMAT(2,0); + XMLPUBFUN int + xmlTextWriterWriteCDATA(xmlTextWriterPtr writer, + const xmlChar * content); + +/* + * DTD + */ + XMLPUBFUN int + xmlTextWriterStartDTD(xmlTextWriterPtr writer, + const xmlChar * name, + const xmlChar * pubid, + const xmlChar * sysid); + XMLPUBFUN int xmlTextWriterEndDTD(xmlTextWriterPtr writer); + +/* + * DTD conveniency functions + */ + XMLPUBFUN int + xmlTextWriterWriteFormatDTD(xmlTextWriterPtr writer, + const xmlChar * name, + const xmlChar * pubid, + const xmlChar * sysid, + const char *format, ...) + LIBXML_ATTR_FORMAT(5,6); + XMLPUBFUN int + xmlTextWriterWriteVFormatDTD(xmlTextWriterPtr writer, + const xmlChar * name, + const xmlChar * pubid, + const xmlChar * sysid, + const char *format, va_list argptr) + LIBXML_ATTR_FORMAT(5,0); + XMLPUBFUN int + xmlTextWriterWriteDTD(xmlTextWriterPtr writer, + const xmlChar * name, + const xmlChar * pubid, + const xmlChar * sysid, + const xmlChar * subset); + +/** + * xmlTextWriterWriteDocType: + * + * this macro maps to xmlTextWriterWriteDTD + */ +#define xmlTextWriterWriteDocType xmlTextWriterWriteDTD + +/* + * DTD element definition + */ + XMLPUBFUN int + xmlTextWriterStartDTDElement(xmlTextWriterPtr writer, + const xmlChar * name); + XMLPUBFUN int xmlTextWriterEndDTDElement(xmlTextWriterPtr + writer); + +/* + * DTD element definition conveniency functions + */ + XMLPUBFUN int + xmlTextWriterWriteFormatDTDElement(xmlTextWriterPtr writer, + const xmlChar * name, + const char *format, ...) + LIBXML_ATTR_FORMAT(3,4); + XMLPUBFUN int + xmlTextWriterWriteVFormatDTDElement(xmlTextWriterPtr writer, + const xmlChar * name, + const char *format, + va_list argptr) + LIBXML_ATTR_FORMAT(3,0); + XMLPUBFUN int xmlTextWriterWriteDTDElement(xmlTextWriterPtr + writer, + const xmlChar * + name, + const xmlChar * + content); + +/* + * DTD attribute list definition + */ + XMLPUBFUN int + xmlTextWriterStartDTDAttlist(xmlTextWriterPtr writer, + const xmlChar * name); + XMLPUBFUN int xmlTextWriterEndDTDAttlist(xmlTextWriterPtr + writer); + +/* + * DTD attribute list definition conveniency functions + */ + XMLPUBFUN int + xmlTextWriterWriteFormatDTDAttlist(xmlTextWriterPtr writer, + const xmlChar * name, + const char *format, ...) + LIBXML_ATTR_FORMAT(3,4); + XMLPUBFUN int + xmlTextWriterWriteVFormatDTDAttlist(xmlTextWriterPtr writer, + const xmlChar * name, + const char *format, + va_list argptr) + LIBXML_ATTR_FORMAT(3,0); + XMLPUBFUN int xmlTextWriterWriteDTDAttlist(xmlTextWriterPtr + writer, + const xmlChar * + name, + const xmlChar * + content); + +/* + * DTD entity definition + */ + XMLPUBFUN int + xmlTextWriterStartDTDEntity(xmlTextWriterPtr writer, + int pe, const xmlChar * name); + XMLPUBFUN int xmlTextWriterEndDTDEntity(xmlTextWriterPtr + writer); + +/* + * DTD entity definition conveniency functions + */ + XMLPUBFUN int + xmlTextWriterWriteFormatDTDInternalEntity(xmlTextWriterPtr writer, + int pe, + const xmlChar * name, + const char *format, ...) + LIBXML_ATTR_FORMAT(4,5); + XMLPUBFUN int + xmlTextWriterWriteVFormatDTDInternalEntity(xmlTextWriterPtr writer, + int pe, + const xmlChar * name, + const char *format, + va_list argptr) + LIBXML_ATTR_FORMAT(4,0); + XMLPUBFUN int + xmlTextWriterWriteDTDInternalEntity(xmlTextWriterPtr writer, + int pe, + const xmlChar * name, + const xmlChar * content); + XMLPUBFUN int + xmlTextWriterWriteDTDExternalEntity(xmlTextWriterPtr writer, + int pe, + const xmlChar * name, + const xmlChar * pubid, + const xmlChar * sysid, + const xmlChar * ndataid); + XMLPUBFUN int + xmlTextWriterWriteDTDExternalEntityContents(xmlTextWriterPtr + writer, + const xmlChar * pubid, + const xmlChar * sysid, + const xmlChar * + ndataid); + XMLPUBFUN int xmlTextWriterWriteDTDEntity(xmlTextWriterPtr + writer, int pe, + const xmlChar * name, + const xmlChar * + pubid, + const xmlChar * + sysid, + const xmlChar * + ndataid, + const xmlChar * + content); + +/* + * DTD notation definition + */ + XMLPUBFUN int + xmlTextWriterWriteDTDNotation(xmlTextWriterPtr writer, + const xmlChar * name, + const xmlChar * pubid, + const xmlChar * sysid); + +/* + * Indentation + */ + XMLPUBFUN int + xmlTextWriterSetIndent(xmlTextWriterPtr writer, int indent); + XMLPUBFUN int + xmlTextWriterSetIndentString(xmlTextWriterPtr writer, + const xmlChar * str); + + XMLPUBFUN int + xmlTextWriterSetQuoteChar(xmlTextWriterPtr writer, xmlChar quotechar); + + +/* + * misc + */ + XMLPUBFUN int xmlTextWriterFlush(xmlTextWriterPtr writer); + XMLPUBFUN int xmlTextWriterClose(xmlTextWriterPtr writer); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_WRITER_ENABLED */ + +#endif /* __XML_XMLWRITER_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpath.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpath.h new file mode 100644 index 0000000000000000000000000000000000000000..e03e97df3d246dea2aa3936d18fd4bcf009673a2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpath.h @@ -0,0 +1,569 @@ +/* + * Summary: XML Path Language implementation + * Description: API for the XML Path Language implementation + * + * XML Path Language implementation + * XPath is a language for addressing parts of an XML document, + * designed to be used by both XSLT and XPointer + * http://www.w3.org/TR/xpath + * + * Implements + * W3C Recommendation 16 November 1999 + * http://www.w3.org/TR/1999/REC-xpath-19991116 + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_XPATH_H__ +#define __XML_XPATH_H__ + +#include + +#ifdef LIBXML_XPATH_ENABLED + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _xmlXPathContext xmlXPathContext; +typedef xmlXPathContext *xmlXPathContextPtr; +typedef struct _xmlXPathParserContext xmlXPathParserContext; +typedef xmlXPathParserContext *xmlXPathParserContextPtr; + +/** + * The set of XPath error codes. + */ + +typedef enum { + XPATH_EXPRESSION_OK = 0, + XPATH_NUMBER_ERROR, + XPATH_UNFINISHED_LITERAL_ERROR, + XPATH_START_LITERAL_ERROR, + XPATH_VARIABLE_REF_ERROR, + XPATH_UNDEF_VARIABLE_ERROR, + XPATH_INVALID_PREDICATE_ERROR, + XPATH_EXPR_ERROR, + XPATH_UNCLOSED_ERROR, + XPATH_UNKNOWN_FUNC_ERROR, + XPATH_INVALID_OPERAND, + XPATH_INVALID_TYPE, + XPATH_INVALID_ARITY, + XPATH_INVALID_CTXT_SIZE, + XPATH_INVALID_CTXT_POSITION, + XPATH_MEMORY_ERROR, + XPTR_SYNTAX_ERROR, + XPTR_RESOURCE_ERROR, + XPTR_SUB_RESOURCE_ERROR, + XPATH_UNDEF_PREFIX_ERROR, + XPATH_ENCODING_ERROR, + XPATH_INVALID_CHAR_ERROR, + XPATH_INVALID_CTXT, + XPATH_STACK_ERROR, + XPATH_FORBID_VARIABLE_ERROR, + XPATH_OP_LIMIT_EXCEEDED, + XPATH_RECURSION_LIMIT_EXCEEDED +} xmlXPathError; + +/* + * A node-set (an unordered collection of nodes without duplicates). + */ +typedef struct _xmlNodeSet xmlNodeSet; +typedef xmlNodeSet *xmlNodeSetPtr; +struct _xmlNodeSet { + int nodeNr; /* number of nodes in the set */ + int nodeMax; /* size of the array as allocated */ + xmlNodePtr *nodeTab; /* array of nodes in no particular order */ + /* @@ with_ns to check whether namespace nodes should be looked at @@ */ +}; + +/* + * An expression is evaluated to yield an object, which + * has one of the following four basic types: + * - node-set + * - boolean + * - number + * - string + * + * @@ XPointer will add more types ! + */ + +typedef enum { + XPATH_UNDEFINED = 0, + XPATH_NODESET = 1, + XPATH_BOOLEAN = 2, + XPATH_NUMBER = 3, + XPATH_STRING = 4, + XPATH_USERS = 8, + XPATH_XSLT_TREE = 9 /* An XSLT value tree, non modifiable */ +} xmlXPathObjectType; + +/** DOC_DISABLE */ +#define XPATH_POINT 5 +#define XPATH_RANGE 6 +#define XPATH_LOCATIONSET 7 +/** DOC_ENABLE */ + +typedef struct _xmlXPathObject xmlXPathObject; +typedef xmlXPathObject *xmlXPathObjectPtr; +struct _xmlXPathObject { + xmlXPathObjectType type; + xmlNodeSetPtr nodesetval; + int boolval; + double floatval; + xmlChar *stringval; + void *user; + int index; + void *user2; + int index2; +}; + +/** + * xmlXPathConvertFunc: + * @obj: an XPath object + * @type: the number of the target type + * + * A conversion function is associated to a type and used to cast + * the new type to primitive values. + * + * Returns -1 in case of error, 0 otherwise + */ +typedef int (*xmlXPathConvertFunc) (xmlXPathObjectPtr obj, int type); + +/* + * Extra type: a name and a conversion function. + */ + +typedef struct _xmlXPathType xmlXPathType; +typedef xmlXPathType *xmlXPathTypePtr; +struct _xmlXPathType { + const xmlChar *name; /* the type name */ + xmlXPathConvertFunc func; /* the conversion function */ +}; + +/* + * Extra variable: a name and a value. + */ + +typedef struct _xmlXPathVariable xmlXPathVariable; +typedef xmlXPathVariable *xmlXPathVariablePtr; +struct _xmlXPathVariable { + const xmlChar *name; /* the variable name */ + xmlXPathObjectPtr value; /* the value */ +}; + +/** + * xmlXPathEvalFunc: + * @ctxt: an XPath parser context + * @nargs: the number of arguments passed to the function + * + * An XPath evaluation function, the parameters are on the XPath context stack. + */ + +typedef void (*xmlXPathEvalFunc)(xmlXPathParserContextPtr ctxt, + int nargs); + +/* + * Extra function: a name and a evaluation function. + */ + +typedef struct _xmlXPathFunct xmlXPathFunct; +typedef xmlXPathFunct *xmlXPathFuncPtr; +struct _xmlXPathFunct { + const xmlChar *name; /* the function name */ + xmlXPathEvalFunc func; /* the evaluation function */ +}; + +/** + * xmlXPathAxisFunc: + * @ctxt: the XPath interpreter context + * @cur: the previous node being explored on that axis + * + * An axis traversal function. To traverse an axis, the engine calls + * the first time with cur == NULL and repeat until the function returns + * NULL indicating the end of the axis traversal. + * + * Returns the next node in that axis or NULL if at the end of the axis. + */ + +typedef xmlXPathObjectPtr (*xmlXPathAxisFunc) (xmlXPathParserContextPtr ctxt, + xmlXPathObjectPtr cur); + +/* + * Extra axis: a name and an axis function. + */ + +typedef struct _xmlXPathAxis xmlXPathAxis; +typedef xmlXPathAxis *xmlXPathAxisPtr; +struct _xmlXPathAxis { + const xmlChar *name; /* the axis name */ + xmlXPathAxisFunc func; /* the search function */ +}; + +/** + * xmlXPathFunction: + * @ctxt: the XPath interprestation context + * @nargs: the number of arguments + * + * An XPath function. + * The arguments (if any) are popped out from the context stack + * and the result is pushed on the stack. + */ + +typedef void (*xmlXPathFunction) (xmlXPathParserContextPtr ctxt, int nargs); + +/* + * Function and Variable Lookup. + */ + +/** + * xmlXPathVariableLookupFunc: + * @ctxt: an XPath context + * @name: name of the variable + * @ns_uri: the namespace name hosting this variable + * + * Prototype for callbacks used to plug variable lookup in the XPath + * engine. + * + * Returns the XPath object value or NULL if not found. + */ +typedef xmlXPathObjectPtr (*xmlXPathVariableLookupFunc) (void *ctxt, + const xmlChar *name, + const xmlChar *ns_uri); + +/** + * xmlXPathFuncLookupFunc: + * @ctxt: an XPath context + * @name: name of the function + * @ns_uri: the namespace name hosting this function + * + * Prototype for callbacks used to plug function lookup in the XPath + * engine. + * + * Returns the XPath function or NULL if not found. + */ +typedef xmlXPathFunction (*xmlXPathFuncLookupFunc) (void *ctxt, + const xmlChar *name, + const xmlChar *ns_uri); + +/** + * xmlXPathFlags: + * Flags for XPath engine compilation and runtime + */ +/** + * XML_XPATH_CHECKNS: + * + * check namespaces at compilation + */ +#define XML_XPATH_CHECKNS (1<<0) +/** + * XML_XPATH_NOVAR: + * + * forbid variables in expression + */ +#define XML_XPATH_NOVAR (1<<1) + +/** + * xmlXPathContext: + * + * Expression evaluation occurs with respect to a context. + * he context consists of: + * - a node (the context node) + * - a node list (the context node list) + * - a set of variable bindings + * - a function library + * - the set of namespace declarations in scope for the expression + * Following the switch to hash tables, this need to be trimmed up at + * the next binary incompatible release. + * The node may be modified when the context is passed to libxml2 + * for an XPath evaluation so you may need to initialize it again + * before the next call. + */ + +struct _xmlXPathContext { + xmlDocPtr doc; /* The current document */ + xmlNodePtr node; /* The current node */ + + int nb_variables_unused; /* unused (hash table) */ + int max_variables_unused; /* unused (hash table) */ + xmlHashTablePtr varHash; /* Hash table of defined variables */ + + int nb_types; /* number of defined types */ + int max_types; /* max number of types */ + xmlXPathTypePtr types; /* Array of defined types */ + + int nb_funcs_unused; /* unused (hash table) */ + int max_funcs_unused; /* unused (hash table) */ + xmlHashTablePtr funcHash; /* Hash table of defined funcs */ + + int nb_axis; /* number of defined axis */ + int max_axis; /* max number of axis */ + xmlXPathAxisPtr axis; /* Array of defined axis */ + + /* the namespace nodes of the context node */ + xmlNsPtr *namespaces; /* Array of namespaces */ + int nsNr; /* number of namespace in scope */ + void *user; /* function to free */ + + /* extra variables */ + int contextSize; /* the context size */ + int proximityPosition; /* the proximity position */ + + /* extra stuff for XPointer */ + int xptr; /* is this an XPointer context? */ + xmlNodePtr here; /* for here() */ + xmlNodePtr origin; /* for origin() */ + + /* the set of namespace declarations in scope for the expression */ + xmlHashTablePtr nsHash; /* The namespaces hash table */ + xmlXPathVariableLookupFunc varLookupFunc;/* variable lookup func */ + void *varLookupData; /* variable lookup data */ + + /* Possibility to link in an extra item */ + void *extra; /* needed for XSLT */ + + /* The function name and URI when calling a function */ + const xmlChar *function; + const xmlChar *functionURI; + + /* function lookup function and data */ + xmlXPathFuncLookupFunc funcLookupFunc;/* function lookup func */ + void *funcLookupData; /* function lookup data */ + + /* temporary namespace lists kept for walking the namespace axis */ + xmlNsPtr *tmpNsList; /* Array of namespaces */ + int tmpNsNr; /* number of namespaces in scope */ + + /* error reporting mechanism */ + void *userData; /* user specific data block */ + xmlStructuredErrorFunc error; /* the callback in case of errors */ + xmlError lastError; /* the last error */ + xmlNodePtr debugNode; /* the source node XSLT */ + + /* dictionary */ + xmlDictPtr dict; /* dictionary if any */ + + int flags; /* flags to control compilation */ + + /* Cache for reusal of XPath objects */ + void *cache; + + /* Resource limits */ + unsigned long opLimit; + unsigned long opCount; + int depth; +}; + +/* + * The structure of a compiled expression form is not public. + */ + +typedef struct _xmlXPathCompExpr xmlXPathCompExpr; +typedef xmlXPathCompExpr *xmlXPathCompExprPtr; + +/** + * xmlXPathParserContext: + * + * An XPath parser context. It contains pure parsing information, + * an xmlXPathContext, and the stack of objects. + */ +struct _xmlXPathParserContext { + const xmlChar *cur; /* the current char being parsed */ + const xmlChar *base; /* the full expression */ + + int error; /* error code */ + + xmlXPathContextPtr context; /* the evaluation context */ + xmlXPathObjectPtr value; /* the current value */ + int valueNr; /* number of values stacked */ + int valueMax; /* max number of values stacked */ + xmlXPathObjectPtr *valueTab; /* stack of values */ + + xmlXPathCompExprPtr comp; /* the precompiled expression */ + int xptr; /* it this an XPointer expression */ + xmlNodePtr ancestor; /* used for walking preceding axis */ + + int valueFrame; /* always zero for compatibility */ +}; + +/************************************************************************ + * * + * Public API * + * * + ************************************************************************/ + +/** + * Objects and Nodesets handling + */ + +XML_DEPRECATED +XMLPUBVAR double xmlXPathNAN; +XML_DEPRECATED +XMLPUBVAR double xmlXPathPINF; +XML_DEPRECATED +XMLPUBVAR double xmlXPathNINF; + +/* These macros may later turn into functions */ +/** + * xmlXPathNodeSetGetLength: + * @ns: a node-set + * + * Implement a functionality similar to the DOM NodeList.length. + * + * Returns the number of nodes in the node-set. + */ +#define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0) +/** + * xmlXPathNodeSetItem: + * @ns: a node-set + * @index: index of a node in the set + * + * Implements a functionality similar to the DOM NodeList.item(). + * + * Returns the xmlNodePtr at the given @index in @ns or NULL if + * @index is out of range (0 to length-1) + */ +#define xmlXPathNodeSetItem(ns, index) \ + ((((ns) != NULL) && \ + ((index) >= 0) && ((index) < (ns)->nodeNr)) ? \ + (ns)->nodeTab[(index)] \ + : NULL) +/** + * xmlXPathNodeSetIsEmpty: + * @ns: a node-set + * + * Checks whether @ns is empty or not. + * + * Returns %TRUE if @ns is an empty node-set. + */ +#define xmlXPathNodeSetIsEmpty(ns) \ + (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL)) + + +XMLPUBFUN void + xmlXPathFreeObject (xmlXPathObjectPtr obj); +XMLPUBFUN xmlNodeSetPtr + xmlXPathNodeSetCreate (xmlNodePtr val); +XMLPUBFUN void + xmlXPathFreeNodeSetList (xmlXPathObjectPtr obj); +XMLPUBFUN void + xmlXPathFreeNodeSet (xmlNodeSetPtr obj); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathObjectCopy (xmlXPathObjectPtr val); +XMLPUBFUN int + xmlXPathCmpNodes (xmlNodePtr node1, + xmlNodePtr node2); +/** + * Conversion functions to basic types. + */ +XMLPUBFUN int + xmlXPathCastNumberToBoolean (double val); +XMLPUBFUN int + xmlXPathCastStringToBoolean (const xmlChar * val); +XMLPUBFUN int + xmlXPathCastNodeSetToBoolean(xmlNodeSetPtr ns); +XMLPUBFUN int + xmlXPathCastToBoolean (xmlXPathObjectPtr val); + +XMLPUBFUN double + xmlXPathCastBooleanToNumber (int val); +XMLPUBFUN double + xmlXPathCastStringToNumber (const xmlChar * val); +XMLPUBFUN double + xmlXPathCastNodeToNumber (xmlNodePtr node); +XMLPUBFUN double + xmlXPathCastNodeSetToNumber (xmlNodeSetPtr ns); +XMLPUBFUN double + xmlXPathCastToNumber (xmlXPathObjectPtr val); + +XMLPUBFUN xmlChar * + xmlXPathCastBooleanToString (int val); +XMLPUBFUN xmlChar * + xmlXPathCastNumberToString (double val); +XMLPUBFUN xmlChar * + xmlXPathCastNodeToString (xmlNodePtr node); +XMLPUBFUN xmlChar * + xmlXPathCastNodeSetToString (xmlNodeSetPtr ns); +XMLPUBFUN xmlChar * + xmlXPathCastToString (xmlXPathObjectPtr val); + +XMLPUBFUN xmlXPathObjectPtr + xmlXPathConvertBoolean (xmlXPathObjectPtr val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathConvertNumber (xmlXPathObjectPtr val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathConvertString (xmlXPathObjectPtr val); + +/** + * Context handling. + */ +XMLPUBFUN xmlXPathContextPtr + xmlXPathNewContext (xmlDocPtr doc); +XMLPUBFUN void + xmlXPathFreeContext (xmlXPathContextPtr ctxt); +XMLPUBFUN void + xmlXPathSetErrorHandler(xmlXPathContextPtr ctxt, + xmlStructuredErrorFunc handler, + void *context); +XMLPUBFUN int + xmlXPathContextSetCache(xmlXPathContextPtr ctxt, + int active, + int value, + int options); +/** + * Evaluation functions. + */ +XMLPUBFUN long + xmlXPathOrderDocElems (xmlDocPtr doc); +XMLPUBFUN int + xmlXPathSetContextNode (xmlNodePtr node, + xmlXPathContextPtr ctx); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathNodeEval (xmlNodePtr node, + const xmlChar *str, + xmlXPathContextPtr ctx); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathEval (const xmlChar *str, + xmlXPathContextPtr ctx); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathEvalExpression (const xmlChar *str, + xmlXPathContextPtr ctxt); +XMLPUBFUN int + xmlXPathEvalPredicate (xmlXPathContextPtr ctxt, + xmlXPathObjectPtr res); +/** + * Separate compilation/evaluation entry points. + */ +XMLPUBFUN xmlXPathCompExprPtr + xmlXPathCompile (const xmlChar *str); +XMLPUBFUN xmlXPathCompExprPtr + xmlXPathCtxtCompile (xmlXPathContextPtr ctxt, + const xmlChar *str); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathCompiledEval (xmlXPathCompExprPtr comp, + xmlXPathContextPtr ctx); +XMLPUBFUN int + xmlXPathCompiledEvalToBoolean(xmlXPathCompExprPtr comp, + xmlXPathContextPtr ctxt); +XMLPUBFUN void + xmlXPathFreeCompExpr (xmlXPathCompExprPtr comp); + +XML_DEPRECATED +XMLPUBFUN void + xmlXPathInit (void); +XMLPUBFUN int + xmlXPathIsNaN (double val); +XMLPUBFUN int + xmlXPathIsInf (double val); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_XPATH_ENABLED */ +#endif /* ! __XML_XPATH_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpathInternals.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpathInternals.h new file mode 100644 index 0000000000000000000000000000000000000000..48eb472d0c4ffec77884068cabfe7093244a4e07 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpathInternals.h @@ -0,0 +1,634 @@ +/* + * Summary: internal interfaces for XML Path Language implementation + * Description: internal interfaces for XML Path Language implementation + * used to build new modules on top of XPath like XPointer and + * XSLT + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_XPATH_INTERNALS_H__ +#define __XML_XPATH_INTERNALS_H__ + +#include +#include +#include + +#ifdef LIBXML_XPATH_ENABLED + +#ifdef __cplusplus +extern "C" { +#endif + +/************************************************************************ + * * + * Helpers * + * * + ************************************************************************/ + +/* + * Many of these macros may later turn into functions. They + * shouldn't be used in #ifdef's preprocessor instructions. + */ +/** + * xmlXPathSetError: + * @ctxt: an XPath parser context + * @err: an xmlXPathError code + * + * Raises an error. + */ +#define xmlXPathSetError(ctxt, err) \ + { xmlXPatherror((ctxt), __FILE__, __LINE__, (err)); \ + if ((ctxt) != NULL) (ctxt)->error = (err); } + +/** + * xmlXPathSetArityError: + * @ctxt: an XPath parser context + * + * Raises an XPATH_INVALID_ARITY error. + */ +#define xmlXPathSetArityError(ctxt) \ + xmlXPathSetError((ctxt), XPATH_INVALID_ARITY) + +/** + * xmlXPathSetTypeError: + * @ctxt: an XPath parser context + * + * Raises an XPATH_INVALID_TYPE error. + */ +#define xmlXPathSetTypeError(ctxt) \ + xmlXPathSetError((ctxt), XPATH_INVALID_TYPE) + +/** + * xmlXPathGetError: + * @ctxt: an XPath parser context + * + * Get the error code of an XPath context. + * + * Returns the context error. + */ +#define xmlXPathGetError(ctxt) ((ctxt)->error) + +/** + * xmlXPathCheckError: + * @ctxt: an XPath parser context + * + * Check if an XPath error was raised. + * + * Returns true if an error has been raised, false otherwise. + */ +#define xmlXPathCheckError(ctxt) ((ctxt)->error != XPATH_EXPRESSION_OK) + +/** + * xmlXPathGetDocument: + * @ctxt: an XPath parser context + * + * Get the document of an XPath context. + * + * Returns the context document. + */ +#define xmlXPathGetDocument(ctxt) ((ctxt)->context->doc) + +/** + * xmlXPathGetContextNode: + * @ctxt: an XPath parser context + * + * Get the context node of an XPath context. + * + * Returns the context node. + */ +#define xmlXPathGetContextNode(ctxt) ((ctxt)->context->node) + +XMLPUBFUN int + xmlXPathPopBoolean (xmlXPathParserContextPtr ctxt); +XMLPUBFUN double + xmlXPathPopNumber (xmlXPathParserContextPtr ctxt); +XMLPUBFUN xmlChar * + xmlXPathPopString (xmlXPathParserContextPtr ctxt); +XMLPUBFUN xmlNodeSetPtr + xmlXPathPopNodeSet (xmlXPathParserContextPtr ctxt); +XMLPUBFUN void * + xmlXPathPopExternal (xmlXPathParserContextPtr ctxt); + +/** + * xmlXPathReturnBoolean: + * @ctxt: an XPath parser context + * @val: a boolean + * + * Pushes the boolean @val on the context stack. + */ +#define xmlXPathReturnBoolean(ctxt, val) \ + valuePush((ctxt), xmlXPathNewBoolean(val)) + +/** + * xmlXPathReturnTrue: + * @ctxt: an XPath parser context + * + * Pushes true on the context stack. + */ +#define xmlXPathReturnTrue(ctxt) xmlXPathReturnBoolean((ctxt), 1) + +/** + * xmlXPathReturnFalse: + * @ctxt: an XPath parser context + * + * Pushes false on the context stack. + */ +#define xmlXPathReturnFalse(ctxt) xmlXPathReturnBoolean((ctxt), 0) + +/** + * xmlXPathReturnNumber: + * @ctxt: an XPath parser context + * @val: a double + * + * Pushes the double @val on the context stack. + */ +#define xmlXPathReturnNumber(ctxt, val) \ + valuePush((ctxt), xmlXPathNewFloat(val)) + +/** + * xmlXPathReturnString: + * @ctxt: an XPath parser context + * @str: a string + * + * Pushes the string @str on the context stack. + */ +#define xmlXPathReturnString(ctxt, str) \ + valuePush((ctxt), xmlXPathWrapString(str)) + +/** + * xmlXPathReturnEmptyString: + * @ctxt: an XPath parser context + * + * Pushes an empty string on the stack. + */ +#define xmlXPathReturnEmptyString(ctxt) \ + valuePush((ctxt), xmlXPathNewCString("")) + +/** + * xmlXPathReturnNodeSet: + * @ctxt: an XPath parser context + * @ns: a node-set + * + * Pushes the node-set @ns on the context stack. + */ +#define xmlXPathReturnNodeSet(ctxt, ns) \ + valuePush((ctxt), xmlXPathWrapNodeSet(ns)) + +/** + * xmlXPathReturnEmptyNodeSet: + * @ctxt: an XPath parser context + * + * Pushes an empty node-set on the context stack. + */ +#define xmlXPathReturnEmptyNodeSet(ctxt) \ + valuePush((ctxt), xmlXPathNewNodeSet(NULL)) + +/** + * xmlXPathReturnExternal: + * @ctxt: an XPath parser context + * @val: user data + * + * Pushes user data on the context stack. + */ +#define xmlXPathReturnExternal(ctxt, val) \ + valuePush((ctxt), xmlXPathWrapExternal(val)) + +/** + * xmlXPathStackIsNodeSet: + * @ctxt: an XPath parser context + * + * Check if the current value on the XPath stack is a node set or + * an XSLT value tree. + * + * Returns true if the current object on the stack is a node-set. + */ +#define xmlXPathStackIsNodeSet(ctxt) \ + (((ctxt)->value != NULL) \ + && (((ctxt)->value->type == XPATH_NODESET) \ + || ((ctxt)->value->type == XPATH_XSLT_TREE))) + +/** + * xmlXPathStackIsExternal: + * @ctxt: an XPath parser context + * + * Checks if the current value on the XPath stack is an external + * object. + * + * Returns true if the current object on the stack is an external + * object. + */ +#define xmlXPathStackIsExternal(ctxt) \ + ((ctxt->value != NULL) && (ctxt->value->type == XPATH_USERS)) + +/** + * xmlXPathEmptyNodeSet: + * @ns: a node-set + * + * Empties a node-set. + */ +#define xmlXPathEmptyNodeSet(ns) \ + { while ((ns)->nodeNr > 0) (ns)->nodeTab[--(ns)->nodeNr] = NULL; } + +/** + * CHECK_ERROR: + * + * Macro to return from the function if an XPath error was detected. + */ +#define CHECK_ERROR \ + if (ctxt->error != XPATH_EXPRESSION_OK) return + +/** + * CHECK_ERROR0: + * + * Macro to return 0 from the function if an XPath error was detected. + */ +#define CHECK_ERROR0 \ + if (ctxt->error != XPATH_EXPRESSION_OK) return(0) + +/** + * XP_ERROR: + * @X: the error code + * + * Macro to raise an XPath error and return. + */ +#define XP_ERROR(X) \ + { xmlXPathErr(ctxt, X); return; } + +/** + * XP_ERROR0: + * @X: the error code + * + * Macro to raise an XPath error and return 0. + */ +#define XP_ERROR0(X) \ + { xmlXPathErr(ctxt, X); return(0); } + +/** + * CHECK_TYPE: + * @typeval: the XPath type + * + * Macro to check that the value on top of the XPath stack is of a given + * type. + */ +#define CHECK_TYPE(typeval) \ + if ((ctxt->value == NULL) || (ctxt->value->type != typeval)) \ + XP_ERROR(XPATH_INVALID_TYPE) + +/** + * CHECK_TYPE0: + * @typeval: the XPath type + * + * Macro to check that the value on top of the XPath stack is of a given + * type. Return(0) in case of failure + */ +#define CHECK_TYPE0(typeval) \ + if ((ctxt->value == NULL) || (ctxt->value->type != typeval)) \ + XP_ERROR0(XPATH_INVALID_TYPE) + +/** + * CHECK_ARITY: + * @x: the number of expected args + * + * Macro to check that the number of args passed to an XPath function matches. + */ +#define CHECK_ARITY(x) \ + if (ctxt == NULL) return; \ + if (nargs != (x)) \ + XP_ERROR(XPATH_INVALID_ARITY); \ + if (ctxt->valueNr < (x)) \ + XP_ERROR(XPATH_STACK_ERROR); + +/** + * CAST_TO_STRING: + * + * Macro to try to cast the value on the top of the XPath stack to a string. + */ +#define CAST_TO_STRING \ + if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_STRING)) \ + xmlXPathStringFunction(ctxt, 1); + +/** + * CAST_TO_NUMBER: + * + * Macro to try to cast the value on the top of the XPath stack to a number. + */ +#define CAST_TO_NUMBER \ + if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_NUMBER)) \ + xmlXPathNumberFunction(ctxt, 1); + +/** + * CAST_TO_BOOLEAN: + * + * Macro to try to cast the value on the top of the XPath stack to a boolean. + */ +#define CAST_TO_BOOLEAN \ + if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_BOOLEAN)) \ + xmlXPathBooleanFunction(ctxt, 1); + +/* + * Variable Lookup forwarding. + */ + +XMLPUBFUN void + xmlXPathRegisterVariableLookup (xmlXPathContextPtr ctxt, + xmlXPathVariableLookupFunc f, + void *data); + +/* + * Function Lookup forwarding. + */ + +XMLPUBFUN void + xmlXPathRegisterFuncLookup (xmlXPathContextPtr ctxt, + xmlXPathFuncLookupFunc f, + void *funcCtxt); + +/* + * Error reporting. + */ +XMLPUBFUN void + xmlXPatherror (xmlXPathParserContextPtr ctxt, + const char *file, + int line, + int no); + +XMLPUBFUN void + xmlXPathErr (xmlXPathParserContextPtr ctxt, + int error); + +#ifdef LIBXML_DEBUG_ENABLED +XMLPUBFUN void + xmlXPathDebugDumpObject (FILE *output, + xmlXPathObjectPtr cur, + int depth); +XMLPUBFUN void + xmlXPathDebugDumpCompExpr(FILE *output, + xmlXPathCompExprPtr comp, + int depth); +#endif +/** + * NodeSet handling. + */ +XMLPUBFUN int + xmlXPathNodeSetContains (xmlNodeSetPtr cur, + xmlNodePtr val); +XMLPUBFUN xmlNodeSetPtr + xmlXPathDifference (xmlNodeSetPtr nodes1, + xmlNodeSetPtr nodes2); +XMLPUBFUN xmlNodeSetPtr + xmlXPathIntersection (xmlNodeSetPtr nodes1, + xmlNodeSetPtr nodes2); + +XMLPUBFUN xmlNodeSetPtr + xmlXPathDistinctSorted (xmlNodeSetPtr nodes); +XMLPUBFUN xmlNodeSetPtr + xmlXPathDistinct (xmlNodeSetPtr nodes); + +XMLPUBFUN int + xmlXPathHasSameNodes (xmlNodeSetPtr nodes1, + xmlNodeSetPtr nodes2); + +XMLPUBFUN xmlNodeSetPtr + xmlXPathNodeLeadingSorted (xmlNodeSetPtr nodes, + xmlNodePtr node); +XMLPUBFUN xmlNodeSetPtr + xmlXPathLeadingSorted (xmlNodeSetPtr nodes1, + xmlNodeSetPtr nodes2); +XMLPUBFUN xmlNodeSetPtr + xmlXPathNodeLeading (xmlNodeSetPtr nodes, + xmlNodePtr node); +XMLPUBFUN xmlNodeSetPtr + xmlXPathLeading (xmlNodeSetPtr nodes1, + xmlNodeSetPtr nodes2); + +XMLPUBFUN xmlNodeSetPtr + xmlXPathNodeTrailingSorted (xmlNodeSetPtr nodes, + xmlNodePtr node); +XMLPUBFUN xmlNodeSetPtr + xmlXPathTrailingSorted (xmlNodeSetPtr nodes1, + xmlNodeSetPtr nodes2); +XMLPUBFUN xmlNodeSetPtr + xmlXPathNodeTrailing (xmlNodeSetPtr nodes, + xmlNodePtr node); +XMLPUBFUN xmlNodeSetPtr + xmlXPathTrailing (xmlNodeSetPtr nodes1, + xmlNodeSetPtr nodes2); + + +/** + * Extending a context. + */ + +XMLPUBFUN int + xmlXPathRegisterNs (xmlXPathContextPtr ctxt, + const xmlChar *prefix, + const xmlChar *ns_uri); +XMLPUBFUN const xmlChar * + xmlXPathNsLookup (xmlXPathContextPtr ctxt, + const xmlChar *prefix); +XMLPUBFUN void + xmlXPathRegisteredNsCleanup (xmlXPathContextPtr ctxt); + +XMLPUBFUN int + xmlXPathRegisterFunc (xmlXPathContextPtr ctxt, + const xmlChar *name, + xmlXPathFunction f); +XMLPUBFUN int + xmlXPathRegisterFuncNS (xmlXPathContextPtr ctxt, + const xmlChar *name, + const xmlChar *ns_uri, + xmlXPathFunction f); +XMLPUBFUN int + xmlXPathRegisterVariable (xmlXPathContextPtr ctxt, + const xmlChar *name, + xmlXPathObjectPtr value); +XMLPUBFUN int + xmlXPathRegisterVariableNS (xmlXPathContextPtr ctxt, + const xmlChar *name, + const xmlChar *ns_uri, + xmlXPathObjectPtr value); +XMLPUBFUN xmlXPathFunction + xmlXPathFunctionLookup (xmlXPathContextPtr ctxt, + const xmlChar *name); +XMLPUBFUN xmlXPathFunction + xmlXPathFunctionLookupNS (xmlXPathContextPtr ctxt, + const xmlChar *name, + const xmlChar *ns_uri); +XMLPUBFUN void + xmlXPathRegisteredFuncsCleanup (xmlXPathContextPtr ctxt); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathVariableLookup (xmlXPathContextPtr ctxt, + const xmlChar *name); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathVariableLookupNS (xmlXPathContextPtr ctxt, + const xmlChar *name, + const xmlChar *ns_uri); +XMLPUBFUN void + xmlXPathRegisteredVariablesCleanup(xmlXPathContextPtr ctxt); + +/** + * Utilities to extend XPath. + */ +XMLPUBFUN xmlXPathParserContextPtr + xmlXPathNewParserContext (const xmlChar *str, + xmlXPathContextPtr ctxt); +XMLPUBFUN void + xmlXPathFreeParserContext (xmlXPathParserContextPtr ctxt); + +/* TODO: remap to xmlXPathValuePop and Push. */ +XMLPUBFUN xmlXPathObjectPtr + valuePop (xmlXPathParserContextPtr ctxt); +XMLPUBFUN int + valuePush (xmlXPathParserContextPtr ctxt, + xmlXPathObjectPtr value); + +XMLPUBFUN xmlXPathObjectPtr + xmlXPathNewString (const xmlChar *val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathNewCString (const char *val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathWrapString (xmlChar *val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathWrapCString (char * val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathNewFloat (double val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathNewBoolean (int val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathNewNodeSet (xmlNodePtr val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathNewValueTree (xmlNodePtr val); +XMLPUBFUN int + xmlXPathNodeSetAdd (xmlNodeSetPtr cur, + xmlNodePtr val); +XMLPUBFUN int + xmlXPathNodeSetAddUnique (xmlNodeSetPtr cur, + xmlNodePtr val); +XMLPUBFUN int + xmlXPathNodeSetAddNs (xmlNodeSetPtr cur, + xmlNodePtr node, + xmlNsPtr ns); +XMLPUBFUN void + xmlXPathNodeSetSort (xmlNodeSetPtr set); + +XMLPUBFUN void + xmlXPathRoot (xmlXPathParserContextPtr ctxt); +XML_DEPRECATED +XMLPUBFUN void + xmlXPathEvalExpr (xmlXPathParserContextPtr ctxt); +XMLPUBFUN xmlChar * + xmlXPathParseName (xmlXPathParserContextPtr ctxt); +XMLPUBFUN xmlChar * + xmlXPathParseNCName (xmlXPathParserContextPtr ctxt); + +/* + * Existing functions. + */ +XMLPUBFUN double + xmlXPathStringEvalNumber (const xmlChar *str); +XMLPUBFUN int + xmlXPathEvaluatePredicateResult (xmlXPathParserContextPtr ctxt, + xmlXPathObjectPtr res); +XMLPUBFUN void + xmlXPathRegisterAllFunctions (xmlXPathContextPtr ctxt); +XMLPUBFUN xmlNodeSetPtr + xmlXPathNodeSetMerge (xmlNodeSetPtr val1, + xmlNodeSetPtr val2); +XMLPUBFUN void + xmlXPathNodeSetDel (xmlNodeSetPtr cur, + xmlNodePtr val); +XMLPUBFUN void + xmlXPathNodeSetRemove (xmlNodeSetPtr cur, + int val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathNewNodeSetList (xmlNodeSetPtr val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathWrapNodeSet (xmlNodeSetPtr val); +XMLPUBFUN xmlXPathObjectPtr + xmlXPathWrapExternal (void *val); + +XMLPUBFUN int xmlXPathEqualValues(xmlXPathParserContextPtr ctxt); +XMLPUBFUN int xmlXPathNotEqualValues(xmlXPathParserContextPtr ctxt); +XMLPUBFUN int xmlXPathCompareValues(xmlXPathParserContextPtr ctxt, int inf, int strict); +XMLPUBFUN void xmlXPathValueFlipSign(xmlXPathParserContextPtr ctxt); +XMLPUBFUN void xmlXPathAddValues(xmlXPathParserContextPtr ctxt); +XMLPUBFUN void xmlXPathSubValues(xmlXPathParserContextPtr ctxt); +XMLPUBFUN void xmlXPathMultValues(xmlXPathParserContextPtr ctxt); +XMLPUBFUN void xmlXPathDivValues(xmlXPathParserContextPtr ctxt); +XMLPUBFUN void xmlXPathModValues(xmlXPathParserContextPtr ctxt); + +XMLPUBFUN int xmlXPathIsNodeType(const xmlChar *name); + +/* + * Some of the axis navigation routines. + */ +XMLPUBFUN xmlNodePtr xmlXPathNextSelf(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextChild(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextDescendant(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextDescendantOrSelf(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextParent(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextAncestorOrSelf(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextFollowingSibling(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextFollowing(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextNamespace(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextAttribute(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextPreceding(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextAncestor(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +XMLPUBFUN xmlNodePtr xmlXPathNextPrecedingSibling(xmlXPathParserContextPtr ctxt, + xmlNodePtr cur); +/* + * The official core of XPath functions. + */ +XMLPUBFUN void xmlXPathLastFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathPositionFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathCountFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathIdFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathLocalNameFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathNamespaceURIFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathStringFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathStringLengthFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathConcatFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathContainsFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathStartsWithFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathSubstringFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathSubstringBeforeFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathSubstringAfterFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathNormalizeFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathTranslateFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathNotFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathTrueFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathFalseFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathLangFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathNumberFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathSumFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathFloorFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathCeilingFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathRoundFunction(xmlXPathParserContextPtr ctxt, int nargs); +XMLPUBFUN void xmlXPathBooleanFunction(xmlXPathParserContextPtr ctxt, int nargs); + +/** + * Really internal functions + */ +XMLPUBFUN void xmlXPathNodeSetFreeNs(xmlNsPtr ns); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_XPATH_ENABLED */ +#endif /* ! __XML_XPATH_INTERNALS_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpointer.h b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpointer.h new file mode 100644 index 0000000000000000000000000000000000000000..16bd5b9fd60be2a2bb778fa02a16f9ba1a9a5bca --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/libxml/xpointer.h @@ -0,0 +1,48 @@ +/* + * Summary: API to handle XML Pointers + * Description: API to handle XML Pointers + * Base implementation was made accordingly to + * W3C Candidate Recommendation 7 June 2000 + * http://www.w3.org/TR/2000/CR-xptr-20000607 + * + * Added support for the element() scheme described in: + * W3C Proposed Recommendation 13 November 2002 + * http://www.w3.org/TR/2002/PR-xptr-element-20021113/ + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_XPTR_H__ +#define __XML_XPTR_H__ + +#include + +#ifdef LIBXML_XPTR_ENABLED + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Functions. + */ +XML_DEPRECATED +XMLPUBFUN xmlXPathContextPtr + xmlXPtrNewContext (xmlDocPtr doc, + xmlNodePtr here, + xmlNodePtr origin); +XMLPUBFUN xmlXPathObjectPtr + xmlXPtrEval (const xmlChar *str, + xmlXPathContextPtr ctx); + +#ifdef __cplusplus +} +#endif + +#endif /* LIBXML_XPTR_ENABLED */ +#endif /* __XML_XPTR_H__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/Makefile.am b/local-test-libxml2-delta-02/afc-libxml2/include/private/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..5e1cdf84dd74398559b66e3f220082d9c35a68e2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/Makefile.am @@ -0,0 +1,21 @@ +EXTRA_DIST = \ + buf.h \ + cata.h \ + dict.h \ + enc.h \ + entities.h \ + error.h \ + globals.h \ + html.h \ + io.h \ + memory.h \ + parser.h \ + regexp.h \ + save.h \ + shell.h \ + string.h \ + threads.h \ + tree.h \ + xinclude.h \ + xpath.h \ + xzlib.h diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/buf.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/buf.h new file mode 100644 index 0000000000000000000000000000000000000000..a8a568b137b53addcab328a4e719f9ff429e8648 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/buf.h @@ -0,0 +1,45 @@ +#ifndef XML_BUF_H_PRIVATE__ +#define XML_BUF_H_PRIVATE__ + +#include +#include + +XML_HIDDEN xmlBufPtr +xmlBufCreate(size_t size); +XML_HIDDEN xmlBufPtr +xmlBufCreateMem(const xmlChar *mem, size_t size, int isStatic); +XML_HIDDEN void +xmlBufFree(xmlBufPtr buf); + +XML_HIDDEN void +xmlBufEmpty(xmlBufPtr buf); + +XML_HIDDEN int +xmlBufGrow(xmlBufPtr buf, size_t len); + +XML_HIDDEN int +xmlBufAdd(xmlBufPtr buf, const xmlChar *str, size_t len); +XML_HIDDEN int +xmlBufCat(xmlBufPtr buf, const xmlChar *str); + +XML_HIDDEN size_t +xmlBufAvail(const xmlBufPtr buf); +XML_HIDDEN int +xmlBufIsEmpty(const xmlBufPtr buf); +XML_HIDDEN int +xmlBufAddLen(xmlBufPtr buf, size_t len); + +XML_HIDDEN xmlChar * +xmlBufDetach(xmlBufPtr buf); + +XML_HIDDEN xmlBufPtr +xmlBufFromBuffer(xmlBufferPtr buffer); +XML_HIDDEN int +xmlBufBackToBuffer(xmlBufPtr buf, xmlBufferPtr ret); + +XML_HIDDEN int +xmlBufResetInput(xmlBufPtr buf, xmlParserInputPtr input); +XML_HIDDEN int +xmlBufUpdateInput(xmlBufPtr buf, xmlParserInputPtr input, size_t pos); + +#endif /* XML_BUF_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/cata.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/cata.h new file mode 100644 index 0000000000000000000000000000000000000000..789808aa7036baa729e7611c37ad3bc0d5700c10 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/cata.h @@ -0,0 +1,13 @@ +#ifndef XML_CATA_H_PRIVATE__ +#define XML_CATA_H_PRIVATE__ + +#ifdef LIBXML_CATALOG_ENABLED + +XML_HIDDEN void +xmlInitCatalogInternal(void); +XML_HIDDEN void +xmlCleanupCatalogInternal(void); + +#endif /* LIBXML_CATALOG_ENABLED */ + +#endif /* XML_CATA_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/dict.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/dict.h new file mode 100644 index 0000000000000000000000000000000000000000..826ac54a51f95720d7cff1394b1b1bdfe037fa83 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/dict.h @@ -0,0 +1,74 @@ +#ifndef XML_DICT_H_PRIVATE__ +#define XML_DICT_H_PRIVATE__ + +#include + +/* + * Values are ANDed with 0xFFFFFFFF to support platforms where + * unsigned is larger than 32 bits. With 32-bit unsigned values, + * modern compilers should optimize the operation away. + */ + +#define HASH_ROL(x,n) ((x) << (n) | ((x) & 0xFFFFFFFF) >> (32 - (n))) +#define HASH_ROR(x,n) (((x) & 0xFFFFFFFF) >> (n) | (x) << (32 - (n))) + +/* + * GoodOAAT: One of a smallest non-multiplicative One-At-a-Time functions + * that passes SMHasher. + * + * Author: Sokolov Yura aka funny-falcon + */ + +#define HASH_INIT(h1, h2, seed) \ + do { \ + h1 = seed ^ 0x3b00; \ + h2 = HASH_ROL(seed, 15); \ + } while (0) + +#define HASH_UPDATE(h1, h2, ch) \ + do { \ + h1 += ch; \ + h1 += h1 << 3; \ + h2 += h1; \ + h2 = HASH_ROL(h2, 7); \ + h2 += h2 << 2; \ + } while (0) + +/* Result is in h2 */ +#define HASH_FINISH(h1, h2) \ + do { \ + h1 ^= h2; \ + h1 += HASH_ROL(h2, 14); \ + h2 ^= h1; h2 += HASH_ROR(h1, 6); \ + h1 ^= h2; h1 += HASH_ROL(h2, 5); \ + h2 ^= h1; h2 += HASH_ROR(h1, 8); \ + h2 &= 0xFFFFFFFF; \ + } while (0) + +typedef struct { + unsigned hashValue; + const xmlChar *name; +} xmlHashedString; + +XML_HIDDEN void +xmlInitDictInternal(void); +XML_HIDDEN void +xmlCleanupDictInternal(void); + +XML_HIDDEN unsigned +xmlDictComputeHash(const xmlDict *dict, const xmlChar *string); +XML_HIDDEN unsigned +xmlDictCombineHash(unsigned v1, unsigned v2); +XML_HIDDEN xmlHashedString +xmlDictLookupHashed(xmlDictPtr dict, const xmlChar *name, int len); + +XML_HIDDEN void +xmlInitRandom(void); +XML_HIDDEN void +xmlCleanupRandom(void); +XML_HIDDEN unsigned +xmlGlobalRandom(void); +XML_HIDDEN unsigned +xmlRandom(void); + +#endif /* XML_DICT_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/enc.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/enc.h new file mode 100644 index 0000000000000000000000000000000000000000..864025f8e62e1b7a8550af7a5470581dcb4d5aef --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/enc.h @@ -0,0 +1,18 @@ +#ifndef XML_ENC_H_PRIVATE__ +#define XML_ENC_H_PRIVATE__ + +#include +#include + +XML_HIDDEN void +xmlInitEncodingInternal(void); + +XML_HIDDEN int +xmlEncInputChunk(xmlCharEncodingHandler *handler, unsigned char *out, + int *outlen, const unsigned char *in, int *inlen); +XML_HIDDEN int +xmlCharEncInput(xmlParserInputBufferPtr input, size_t *sizeOut); +XML_HIDDEN int +xmlCharEncOutput(xmlOutputBufferPtr output, int init); + +#endif /* XML_ENC_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/entities.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/entities.h new file mode 100644 index 0000000000000000000000000000000000000000..d038cf055799d703aaa42e5ac5f01ad7857192e1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/entities.h @@ -0,0 +1,42 @@ +#ifndef XML_ENTITIES_H_PRIVATE__ +#define XML_ENTITIES_H_PRIVATE__ + +#include +#include + +/* + * Entity flags + * + * XML_ENT_PARSED: The entity was parsed and `children` points to the + * content. + * + * XML_ENT_CHECKED: The entity was checked for loops and amplification. + * expandedSize was set. + * + * XML_ENT_VALIDATED: The entity contains a valid attribute value. + * Only used when entities aren't substituted. + */ +#define XML_ENT_PARSED (1u << 0) +#define XML_ENT_CHECKED (1u << 1) +#define XML_ENT_VALIDATED (1u << 2) +#define XML_ENT_EXPANDING (1u << 3) + +#define XML_ESCAPE_ATTR (1u << 0) +#define XML_ESCAPE_NON_ASCII (1u << 1) +#define XML_ESCAPE_HTML (1u << 2) +#define XML_ESCAPE_QUOT (1u << 3) +#define XML_ESCAPE_ALLOW_INVALID (1u << 4) + +XML_HIDDEN int +xmlSerializeHexCharRef(char *buf, int val); +XML_HIDDEN int +xmlSerializeDecCharRef(char *buf, int val); + +XML_HIDDEN xmlChar * +xmlEscapeText(const xmlChar *text, int flags); + +XML_HIDDEN xmlChar * +xmlEncodeEntitiesInternal(xmlDocPtr doc, const xmlChar *input, + unsigned flags); + +#endif /* XML_ENTITIES_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/error.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/error.h new file mode 100644 index 0000000000000000000000000000000000000000..b88fd82588805f1d6a900676c6d00b26d592e6f1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/error.h @@ -0,0 +1,46 @@ +#ifndef XML_ERROR_H_PRIVATE__ +#define XML_ERROR_H_PRIVATE__ + +#include + +#include +#include + +#define MAX_ERR_MSG_SIZE 64000 + +struct _xmlNode; + +XML_HIDDEN int +xmlIsCatastrophicError(int level, int code); + +XML_HIDDEN void +xmlRaiseMemoryError(xmlStructuredErrorFunc schannel, xmlGenericErrorFunc channel, + void *data, int domain, xmlError *error); +XML_HIDDEN int +xmlVRaiseError(xmlStructuredErrorFunc schannel, xmlGenericErrorFunc channel, + void *data, void *ctx, struct _xmlNode *node, + int domain, int code, xmlErrorLevel level, + const char *file, int line, const char *str1, + const char *str2, const char *str3, int int1, int col, + const char *msg, va_list ap); +XML_HIDDEN int +xmlRaiseError(xmlStructuredErrorFunc schannel, xmlGenericErrorFunc channel, + void *data, void *ctx, struct _xmlNode *node, + int domain, int code, xmlErrorLevel level, + const char *file, int line, const char *str1, + const char *str2, const char *str3, int int1, int col, + const char *msg, ...) LIBXML_ATTR_FORMAT(16,17); +XML_HIDDEN void +xmlGenericErrorDefaultFunc(void *ctx, const char *msg, + ...) LIBXML_ATTR_FORMAT(2,3); +XML_HIDDEN const char * +xmlErrString(xmlParserErrors code); + +XML_HIDDEN void +xmlVPrintErrorMessage(const char *fmt, va_list ap); +XML_HIDDEN void +xmlPrintErrorMessage(const char *fmt, ...); +XML_HIDDEN void +xmlAbort(const char *fmt, ...); + +#endif /* XML_ERROR_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/globals.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/globals.h new file mode 100644 index 0000000000000000000000000000000000000000..d111701eb7013d27c63c9412946b820c106d4dc1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/globals.h @@ -0,0 +1,17 @@ +#ifndef XML_GLOBALS_H_PRIVATE__ +#define XML_GLOBALS_H_PRIVATE__ + +XML_HIDDEN void +xmlInitGlobalsInternal(void); +XML_HIDDEN void +xmlCleanupGlobalsInternal(void); + +XML_HIDDEN xmlError * +xmlGetLastErrorInternal(void); + +#ifdef LIBXML_THREAD_ENABLED +XML_HIDDEN unsigned * +xmlGetLocalRngState(void); +#endif + +#endif /* XML_GLOBALS_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/html.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/html.h new file mode 100644 index 0000000000000000000000000000000000000000..415be221147c3a5c3d33c49d0e7cb0dda70589ab --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/html.h @@ -0,0 +1,14 @@ +#ifndef XML_HTML_H_PRIVATE__ +#define XML_HTML_H_PRIVATE__ + +#include + +#ifdef LIBXML_HTML_ENABLED + +XML_HIDDEN xmlNodePtr +htmlCtxtParseContentInternal(xmlParserCtxtPtr ctxt, xmlParserInputPtr input); + +#endif /* LIBXML_HTML_ENABLED */ + +#endif /* XML_HTML_H_PRIVATE__ */ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/io.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/io.h new file mode 100644 index 0000000000000000000000000000000000000000..8748c663d432bd1f4bed752099cc5a5010768c17 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/io.h @@ -0,0 +1,40 @@ +#ifndef XML_IO_H_PRIVATE__ +#define XML_IO_H_PRIVATE__ + +#include +#include +#include + +/* + * Initial buffer size should include + * + * - MINLEN = 4000 (I/O chunk size) + * - INPUT_CHUNK = 250 (parser prefetch) + * - LINE_LEN = 80 (shrink limit for error messages) + * - some amount for unshrunken content. + */ +#define XML_IO_BUFFER_SIZE 6000 + +XML_HIDDEN void +xmlInitIOCallbacks(void); + +XML_HIDDEN int +xmlNoNetExists(const char *filename); + +XML_HIDDEN int +xmlParserInputBufferCreateUrl(const char *URI, xmlCharEncoding enc, + int flags, xmlParserInputBufferPtr *out); + +XML_HIDDEN xmlParserInputBufferPtr +xmlNewInputBufferString(const char *str, int flags); +XML_HIDDEN xmlParserInputBufferPtr +xmlNewInputBufferMemory(const void *mem, size_t size, int flags, + xmlCharEncoding enc); + +#ifdef LIBXML_OUTPUT_ENABLED +XML_HIDDEN void +xmlOutputBufferWriteQuotedString(xmlOutputBufferPtr buf, + const xmlChar *string); +#endif + +#endif /* XML_IO_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/memory.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/memory.h new file mode 100644 index 0000000000000000000000000000000000000000..754803b15fbf25695a6fc94a4ec95fe8717d0595 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/memory.h @@ -0,0 +1,58 @@ +#ifndef XML_MEMORY_H_PRIVATE__ +#define XML_MEMORY_H_PRIVATE__ + +#include "../../libxml.h" + +#include +#include + +#ifndef SIZE_MAX + #define SIZE_MAX ((size_t) -1) +#endif + +#define XML_MAX_ITEMS 1000000000 /* 1 billion */ + +XML_HIDDEN void +xmlInitMemoryInternal(void); +XML_HIDDEN void +xmlCleanupMemoryInternal(void); + +/** + * xmlGrowCapacity: + * @array: pointer to array + * @capacity: pointer to capacity (in/out) + * @elemSize: size of an element in bytes + * @min: elements in initial allocation + * @max: maximum elements in the array + * + * Grow an array by at least one element, checking for overflow. + * + * Returns the new array size on success, -1 on failure. + */ +static XML_INLINE int +xmlGrowCapacity(int capacity, size_t elemSize, int min, int max) { + int extra; + + if (capacity <= 0) { +#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION + (void) min; + return(1); +#else + return(min); +#endif + } + + if ((capacity >= max) || + ((size_t) capacity > SIZE_MAX / 2 / elemSize)) + return(-1); + + /* Grow by 50% */ + extra = (capacity + 1) / 2; + + if (capacity > max - extra) + return(max); + + return(capacity + extra); +} + +#endif /* XML_MEMORY_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/parser.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/parser.h new file mode 100644 index 0000000000000000000000000000000000000000..47fce207e10c6f14240ca126198b3b95c5b991cd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/parser.h @@ -0,0 +1,152 @@ +#ifndef XML_PARSER_H_PRIVATE__ +#define XML_PARSER_H_PRIVATE__ + +#include +#include + +#define XML_INVALID_CHAR 0x200000 + +#define XML_MAX_URI_LENGTH 2000 + +/** + * XML_VCTXT_DTD_VALIDATED: + * + * Set after xmlValidateDtdFinal was called. + */ +#define XML_VCTXT_DTD_VALIDATED (1u << 0) +/** + * XML_VCTXT_USE_PCTXT: + * + * Set if the validation context is part of a parser context. + */ +#define XML_VCTXT_USE_PCTXT (1u << 1) + +#define XML_INPUT_HAS_ENCODING (1u << 0) +#define XML_INPUT_AUTO_ENCODING (7u << 1) +#define XML_INPUT_AUTO_UTF8 (1u << 1) +#define XML_INPUT_AUTO_UTF16LE (2u << 1) +#define XML_INPUT_AUTO_UTF16BE (3u << 1) +#define XML_INPUT_AUTO_OTHER (4u << 1) +#define XML_INPUT_USES_ENC_DECL (1u << 4) +#define XML_INPUT_ENCODING_ERROR (1u << 5) +#define XML_INPUT_PROGRESSIVE (1u << 6) + +#define PARSER_STOPPED(ctxt) ((ctxt)->disableSAX > 1) + +#define PARSER_PROGRESSIVE(ctxt) \ + ((ctxt)->input->flags & XML_INPUT_PROGRESSIVE) + +#define PARSER_IN_PE(ctxt) \ + (((ctxt)->input->entity != NULL) && \ + (((ctxt)->input->entity->etype == XML_INTERNAL_PARAMETER_ENTITY) || \ + ((ctxt)->input->entity->etype == XML_EXTERNAL_PARAMETER_ENTITY))) + +#define PARSER_EXTERNAL(ctxt) \ + (((ctxt)->inSubset == 2) || \ + (((ctxt)->input->entity != NULL) && \ + ((ctxt)->input->entity->etype == XML_EXTERNAL_PARAMETER_ENTITY))) + +#define IS_BYTE_CHAR(c) xmlIsChar_ch(c) +#define IS_CHAR(c) xmlIsCharQ(c) +#define IS_BASECHAR(c) xmlIsBaseCharQ(c) +#define IS_DIGIT(c) xmlIsDigitQ(c) +#define IS_COMBINING(c) xmlIsCombiningQ(c) +#define IS_EXTENDER(c) xmlIsExtenderQ(c) +#define IS_IDEOGRAPHIC(c) xmlIsIdeographicQ(c) +#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c)) +#define IS_ASCII_LETTER(c) ((0x61 <= ((c) | 0x20)) && \ + (((c) | 0x20) <= 0x7a)) +#define IS_ASCII_DIGIT(c) ((0x30 <= (c)) && ((c) <= 0x39)) +#define IS_PUBIDCHAR(c) xmlIsPubidCharQ(c) +#define IS_PUBIDCHAR_CH(c) xmlIsPubidChar_ch(c) + +/** + * INPUT_CHUNK: + * + * The parser tries to always have that amount of input ready. + * One of the point is providing context when reporting errors. + */ +#define INPUT_CHUNK 250 + +struct _xmlAttrHashBucket { + int index; +}; + +XML_HIDDEN void +xmlCtxtVErr(xmlParserCtxtPtr ctxt, xmlNodePtr node, xmlErrorDomain domain, + xmlParserErrors code, xmlErrorLevel level, + const xmlChar *str1, const xmlChar *str2, const xmlChar *str3, + int int1, const char *msg, va_list ap); +XML_HIDDEN void +xmlCtxtErr(xmlParserCtxtPtr ctxt, xmlNodePtr node, xmlErrorDomain domain, + xmlParserErrors code, xmlErrorLevel level, + const xmlChar *str1, const xmlChar *str2, const xmlChar *str3, + int int1, const char *msg, ...); +XML_HIDDEN void +xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *info); +XML_HIDDEN void LIBXML_ATTR_FORMAT(3,0) +xmlWarningMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error, + const char *msg, const xmlChar *str1, const xmlChar *str2); +XML_HIDDEN void +xmlCtxtErrIO(xmlParserCtxtPtr ctxt, int code, const char *uri); +XML_HIDDEN int +xmlCtxtIsCatastrophicError(xmlParserCtxtPtr ctxt); + +XML_HIDDEN void +xmlHaltParser(xmlParserCtxtPtr ctxt); +XML_HIDDEN int +xmlParserGrow(xmlParserCtxtPtr ctxt); +XML_HIDDEN void +xmlParserShrink(xmlParserCtxtPtr ctxt); + +XML_HIDDEN void +xmlDetectEncoding(xmlParserCtxtPtr ctxt); +XML_HIDDEN void +xmlSetDeclaredEncoding(xmlParserCtxtPtr ctxt, xmlChar *encoding); +XML_HIDDEN const xmlChar * +xmlGetActualEncoding(xmlParserCtxtPtr ctxt); + +XML_HIDDEN xmlParserNsData * +xmlParserNsCreate(void); +XML_HIDDEN void +xmlParserNsFree(xmlParserNsData *nsdb); +/* + * These functions allow SAX handlers to attach extra data to namespaces + * efficiently and should be made public. + */ +XML_HIDDEN int +xmlParserNsUpdateSax(xmlParserCtxtPtr ctxt, const xmlChar *prefix, + void *saxData); +XML_HIDDEN void * +xmlParserNsLookupSax(xmlParserCtxtPtr ctxt, const xmlChar *prefix); + +XML_HIDDEN xmlParserInputPtr +xmlLoadResource(xmlParserCtxtPtr ctxt, const char *url, const char *publicId, + xmlResourceType type); +XML_HIDDEN xmlParserInputPtr +xmlCtxtNewInputFromUrl(xmlParserCtxtPtr ctxt, const char *url, + const char *publicId, const char *encoding, int flags); +XML_HIDDEN xmlParserInputPtr +xmlCtxtNewInputFromMemory(xmlParserCtxtPtr ctxt, const char *url, + const void *mem, size_t size, + const char *encoding, int flags); +XML_HIDDEN xmlParserInputPtr +xmlCtxtNewInputFromString(xmlParserCtxtPtr ctxt, const char *url, + const char *str, const char *encoding, int flags); +XML_HIDDEN xmlParserInputPtr +xmlCtxtNewInputFromFd(xmlParserCtxtPtr ctxt, const char *filename, int fd, + const char *encoding, int flags); +XML_HIDDEN xmlParserInputPtr +xmlCtxtNewInputFromIO(xmlParserCtxtPtr ctxt, const char *url, + xmlInputReadCallback ioRead, + xmlInputCloseCallback ioClose, + void *ioCtxt, + const char *encoding, int flags); +XML_HIDDEN xmlParserInputPtr +xmlNewPushInput(const char *url, const char *chunk, int size); + +XML_HIDDEN xmlChar * +xmlExpandEntitiesInAttValue(xmlParserCtxtPtr ctxt, const xmlChar *str, + int normalize); + +#endif /* XML_PARSER_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/regexp.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/regexp.h new file mode 100644 index 0000000000000000000000000000000000000000..b55c932bc0eaf80f220f783a93adc08bc6f6524c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/regexp.h @@ -0,0 +1,23 @@ +#ifndef XML_REGEXP_H_PRIVATE__ +#define XML_REGEXP_H_PRIVATE__ + +#include + +#ifdef LIBXML_REGEXP_ENABLED + +/* + * -2 and -3 are used by xmlValidateElementType for other things. + */ +#define XML_REGEXP_OK 0 +#define XML_REGEXP_NOT_FOUND (-1) +#define XML_REGEXP_INTERNAL_ERROR (-4) +#define XML_REGEXP_OUT_OF_MEMORY (-5) +#define XML_REGEXP_INTERNAL_LIMIT (-6) +#define XML_REGEXP_INVALID_UTF8 (-7) + +XML_HIDDEN void +xmlAutomataSetFlags(xmlAutomataPtr am, int flags); + +#endif /* LIBXML_REGEXP_ENABLED */ + +#endif /* XML_REGEXP_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/save.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/save.h new file mode 100644 index 0000000000000000000000000000000000000000..5d4a753f1ac78e0cdfe815ecad34877291d2c24e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/save.h @@ -0,0 +1,24 @@ +#ifndef XML_SAVE_H_PRIVATE__ +#define XML_SAVE_H_PRIVATE__ + +#include +#include +#include + +#ifdef LIBXML_OUTPUT_ENABLED + +XML_HIDDEN int +xmlSaveNotationDecl(xmlSaveCtxtPtr ctxt, xmlNotationPtr cur); +XML_HIDDEN int +xmlSaveNotationTable(xmlSaveCtxtPtr ctxt, xmlNotationTablePtr cur); + +XML_HIDDEN void +xmlBufAttrSerializeTxtContent(xmlOutputBufferPtr buf, xmlDocPtr doc, + const xmlChar *string); +XML_HIDDEN void +xmlNsListDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur); + +#endif /* LIBXML_OUTPUT_ENABLED */ + +#endif /* XML_SAVE_H_PRIVATE__ */ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/shell.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/shell.h new file mode 100644 index 0000000000000000000000000000000000000000..53a857e2a9c5421fe1b6f9694301aa1028ab6f37 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/shell.h @@ -0,0 +1,7 @@ +#ifndef XML_SHELL_H_PRIVATE__ +#define XML_SHELL_H_PRIVATE__ + +void +xmllintShell(xmlDocPtr doc, const char *filename, FILE *output); + +#endif /* XML_SHELL_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/string.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/string.h new file mode 100644 index 0000000000000000000000000000000000000000..34f4c96cb206abb0e78a1d01702f628b6e94c023 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/string.h @@ -0,0 +1,13 @@ +#ifndef XML_STRING_H_PRIVATE__ +#define XML_STRING_H_PRIVATE__ + +#include + +XML_HIDDEN int +xmlStrVASPrintf(xmlChar **out, int maxSize, const char *msg, va_list ap); +XML_HIDDEN int +xmlStrASPrintf(xmlChar **out, int maxSize, const char *msg, ...); +XML_HIDDEN xmlChar * +xmlEscapeFormatString(xmlChar **msg); + +#endif /* XML_STRING_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/threads.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/threads.h new file mode 100644 index 0000000000000000000000000000000000000000..95b38254f6cd5a8d381ffc50f9db58497cd6d417 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/threads.h @@ -0,0 +1,61 @@ +#ifndef XML_THREADS_H_PRIVATE__ +#define XML_THREADS_H_PRIVATE__ + +#include + +#ifdef LIBXML_THREAD_ENABLED + #ifdef _WIN32 + #define WIN32_LEAN_AND_MEAN + #ifdef _WIN32_WINNT + #undef _WIN32_WINNT + #endif + #define _WIN32_WINNT 0x0600 + #include + #define HAVE_WIN32_THREADS + #else + #include + #define HAVE_POSIX_THREADS + #endif +#endif + +/* + * xmlMutex are a simple mutual exception locks + */ +struct _xmlMutex { +#ifdef HAVE_POSIX_THREADS + pthread_mutex_t lock; +#elif defined HAVE_WIN32_THREADS + CRITICAL_SECTION cs; +#else + int empty; +#endif +}; + +/* + * xmlRMutex are reentrant mutual exception locks + */ +struct _xmlRMutex { +#ifdef HAVE_POSIX_THREADS + pthread_mutex_t lock; + unsigned int held; + unsigned int waiters; + pthread_t tid; + pthread_cond_t cv; +#elif defined HAVE_WIN32_THREADS + CRITICAL_SECTION cs; +#else + int empty; +#endif +}; + +XML_HIDDEN void +xmlInitMutex(xmlMutexPtr mutex); +XML_HIDDEN void +xmlCleanupMutex(xmlMutexPtr mutex); + +XML_HIDDEN void +xmlInitRMutex(xmlRMutexPtr mutex); +XML_HIDDEN void +xmlCleanupRMutex(xmlRMutexPtr mutex); + +#endif /* XML_THREADS_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/tree.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/tree.h new file mode 100644 index 0000000000000000000000000000000000000000..131e80c63df820f2da02cc4b4076935add98f5c6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/tree.h @@ -0,0 +1,22 @@ +#ifndef XML_TREE_H_PRIVATE__ +#define XML_TREE_H_PRIVATE__ + +XML_HIDDEN extern int +xmlRegisterCallbacks; + +XML_HIDDEN int +xmlSearchNsSafe(xmlNodePtr node, const xmlChar *href, xmlNsPtr *out); +XML_HIDDEN int +xmlSearchNsByHrefSafe(xmlNodePtr node, const xmlChar *href, xmlNsPtr *out); + +XML_HIDDEN int +xmlNodeParseContent(xmlNodePtr node, const xmlChar *content, int len); +XML_HIDDEN xmlNodePtr +xmlStaticCopyNode(xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent, + int extended); +XML_HIDDEN xmlNodePtr +xmlStaticCopyNodeList(xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent); +XML_HIDDEN const xmlChar * +xmlSplitQName4(const xmlChar *name, xmlChar **prefixPtr); + +#endif /* XML_TREE_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/xinclude.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/xinclude.h new file mode 100644 index 0000000000000000000000000000000000000000..43c77e5061816f83afd6646a7f0d2a3e9d800744 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/xinclude.h @@ -0,0 +1,9 @@ +#ifndef XML_INCLUDE_H_PRIVATE__ +#define XML_INCLUDE_H_PRIVATE__ + +#include + +XML_HIDDEN int +xmlXIncludeSetStreamingMode(xmlXIncludeCtxtPtr ctxt, int mode); + +#endif /* XML_INCLUDE_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/xpath.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/xpath.h new file mode 100644 index 0000000000000000000000000000000000000000..72a69720332175e332f9b5417818f4fabd325fec --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/xpath.h @@ -0,0 +1,16 @@ +#ifndef XML_XPATH_H_PRIVATE__ +#define XML_XPATH_H_PRIVATE__ + +#include + +XML_HIDDEN void +xmlInitXPathInternal(void); + +#ifdef LIBXML_XPATH_ENABLED +XML_HIDDEN void +xmlXPathErrMemory(xmlXPathContextPtr ctxt); +XML_HIDDEN void +xmlXPathPErrMemory(xmlXPathParserContextPtr ctxt); +#endif + +#endif /* XML_XPATH_H_PRIVATE__ */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/include/private/xzlib.h b/local-test-libxml2-delta-02/afc-libxml2/include/private/xzlib.h new file mode 100644 index 0000000000000000000000000000000000000000..8505ef329e8f3dc19eb4747eaac0e3a8302fefdf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/include/private/xzlib.h @@ -0,0 +1,32 @@ +/** + * xzlib.h: header for the front end for the transparent support of lzma + * compression at the I/O layer + * + * See Copyright for the status of this software. + * + * Anders F Bjorklund + */ + +#ifndef LIBXML2_XZLIB_H +#define LIBXML2_XZLIB_H + +#include + +#ifdef LIBXML_LZMA_ENABLED + +typedef void *xzFile; /* opaque lzma file descriptor */ + +XML_HIDDEN xzFile +__libxml2_xzopen(const char *path, const char *mode); +XML_HIDDEN xzFile +__libxml2_xzdopen(const char *path, int fd, const char *mode); +XML_HIDDEN int +__libxml2_xzread(xzFile file, void *buf, unsigned len); +XML_HIDDEN int +__libxml2_xzclose(xzFile file); +XML_HIDDEN int +__libxml2_xzcompressed(xzFile f); + +#endif /* LIBXML_LZMA_ENABLED */ + +#endif /* LIBXML2_XZLIB_H */ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/dlfcn/dlfcn.c b/local-test-libxml2-delta-02/afc-libxml2/os400/dlfcn/dlfcn.c new file mode 100644 index 0000000000000000000000000000000000000000..77190b32da1d6f26a89a1c23b35ad77fd9844d25 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/dlfcn/dlfcn.c @@ -0,0 +1,1213 @@ +/** +*** dlopen(), dlclose() dlsym(), dlerror() emulation for OS/400. +*** +*** See Copyright for the status of this software. +*** +*** Author: Patrick Monnerat , DATASPHERE S.A. +**/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include /* AS400 exceptions. */ +#include /* MI pointers support. */ +#include /* Error structures. */ +#include /* Path to QSYS object name. */ +#include /* For Qp0zInitEnv(). */ +#include /* For QleActBndPgmLong() definitions. */ +#include /* Qualified name structure. */ +#include /* Retrieve message from message file. */ + +#include +#include + +#include "libxml/hash.h" +#include "dlfcn.h" + + +/** +*** Maximum internal path length. +**/ + +#define MAXPATHLEN 5120 + + +/** +*** Maximum error string length. +**/ + +#define MAX_ERR_STR 511 + + +/** +*** Field address macro. +**/ + +#define offset_by(t, b, o) ((t *) ((char *) (b) + (unsigned int) (o))) + + +/** +*** Global flags. +**/ + +#define INITED 000001 /* Package has been initialized. */ +#define THREADS 000002 /* Multithreaded job. */ +#define MULTIBUF 000004 /* One error buffer per thread. */ + + +/** +*** DLL handle private structure. +**/ + +typedef struct { + Qle_ABP_Info_Long_t actinfo; /* Activation information. */ + _SYSPTR pointer; /* Pointer to DLL object. */ + unsigned int actcount; /* Activation count. */ +} dlinfo; + + +/** +*** Per-thread structure. +**/ + +typedef struct { + unsigned int lockcount; /* Mutex lock count. */ + unsigned int iserror; /* Flag error present. */ + char str[MAX_ERR_STR + 1]; /* Error string buffer. */ +} dlts_t; + + +static pthread_mutex_t dlmutex = PTHREAD_MUTEX_INITIALIZER; +static xmlHashTablePtr dldir = (xmlHashTablePtr) NULL; /* DLL directory. */ +static unsigned int dlflags = 0; /* Package flags. */ +static pthread_key_t dlkey; +static dlts_t static_buf; /* Static error buffer. */ + + + +static void +dlthreadterm(void * mem) + +{ + free(mem); + pthread_setspecific(dlkey, NULL); +} + + +static void +dlterm(void) + +{ + void * p; + + if (dlflags & MULTIBUF) { + p = pthread_getspecific(dlkey); + + if (p) + dlthreadterm(p); + } + + if (dlflags & THREADS) + pthread_mutex_lock(&dlmutex); + + if (dldir) { + xmlHashFree(dldir, (xmlHashDeallocator) NULL); + dldir = NULL; + } + + if (dlflags & MULTIBUF) + pthread_key_delete(dlkey); + + dlflags |= ~(INITED | MULTIBUF); + pthread_mutex_unlock(&dlmutex); + pthread_mutex_destroy(&dlmutex); +} + + +static void +dlinit(void) + +{ + int locked; + + /** + *** Initialize the package. + *** Should be call once per process. + **/ + + locked = !pthread_mutex_lock(&dlmutex); + + if (!(dlflags & INITED)) { + dlflags &= ~THREADS; + + if (locked) + dlflags |= THREADS; + + Qp0zInitEnv(); + dldir = xmlHashCreate(16); + dlflags &= ~MULTIBUF; + + if (dlflags & THREADS) + if (!pthread_key_create(&dlkey, dlthreadterm)) + dlflags |= MULTIBUF; + + atexit(dlterm); + dlflags |= INITED; + } + + if (locked) + pthread_mutex_unlock(&dlmutex); +} + + +static void +dlthreadinit(void) + +{ + dlts_t * p; + + if (!(dlflags & INITED)) + dlinit(); + + if (dlflags & MULTIBUF) { + p = pthread_getspecific(dlkey); + + if (!p) { + p = (dlts_t *) malloc(sizeof *p); + + if (p) { + p->lockcount = 0; + p->iserror = 0; + + if (pthread_setspecific(dlkey, p)) + free(p); + } + } + } +} + + +static void +dllock(void) + +{ + dlts_t * p; + + if (!(dlflags & THREADS)) + return; + + if (dlflags & MULTIBUF) { + p = pthread_getspecific(dlkey); + + if (p && p->lockcount) { + p->lockcount++; + return; + } + } + else + p = (dlts_t *) NULL; + + if (pthread_mutex_lock(&dlmutex)) + return; + + if (p) + p->lockcount++; +} + + +static void +dlunlock(void) + +{ + dlts_t * p; + + if (!(dlflags & THREADS)) + return; + + if (dlflags & MULTIBUF) { + p = pthread_getspecific(dlkey); + + if (p && p->lockcount > 1) { + p->lockcount--; + return; + } + } + else + p = (dlts_t *) NULL; + + if (pthread_mutex_unlock(&dlmutex)) + return; + + if (p) + p->lockcount--; +} + + +const char * +dlerror(void) + +{ + dlts_t * p; + + dlthreadinit(); + + if (!(dlflags & MULTIBUF)) + p = &static_buf; + else if (!(p = (dlts_t *) pthread_getspecific(dlkey))) + p = &static_buf; + + if (!p->iserror) + return (const char *) NULL; + + p->iserror = 0; + return p->str; +} + + +static void +dlseterror_from_errno(unsigned int err_no) + +{ + dlts_t * p; + + if (!(dlflags & MULTIBUF)) + p = &static_buf; + else if (!(p = (dlts_t *) pthread_getspecific(dlkey))) + p = &static_buf; + + strcpy(p->str, strerror(err_no)); + p->iserror = 1; +} + + +static void +dlseterror_from_exception(volatile _INTRPT_Hndlr_Parms_T * excp) + +{ + int i; + Qmh_Rtvm_RTVM0300_t * imp; + char * cp; + _INTRPT_Hndlr_Parms_T * p; + dlts_t * q; + char rtvmbuf[30000]; + Qus_EC_t errinfo; + + p = (_INTRPT_Hndlr_Parms_T *) excp; + errinfo.Bytes_Provided = 0; /* Exception on error. */ + QMHRTVM(rtvmbuf, sizeof rtvmbuf, "RTVM0300", p->Msg_Id, + "QCPFMSG QSYS ", p->Ex_Data, p->Msg_Data_Len, + "*YES ", "*NO ", &errinfo); + imp = offset_by(Qmh_Rtvm_RTVM0300_t, rtvmbuf, 0); + + if (!(dlflags & MULTIBUF)) + q = &static_buf; + else if (!(q = (dlts_t *) pthread_getspecific(dlkey))) + q = &static_buf; + + if (i = imp->Length_Message_Returned) + cp = offset_by(char, imp, imp->Offset_Message_Returned); + else if (i = imp->Length_Help_Returned) + cp = offset_by(char, imp, imp->Offset_Help_Returned); + else { + q->iserror = 0; + return; + } + + q->iserror = 1; + + if (i > sizeof q->str - 1) + i = sizeof q->str - 1; + + memcpy(q->str, cp, i); + q->str[i] = '\0'; +} + + +static int +dlparentpath(const char * path, size_t len) + +{ + if (len <= 1) + return len; + + while (path[--len] != '/') + ; + + return len? len: 1; +} + + +static int +dlmakepath(char * path, size_t pathlen, const char * tail, size_t taillen) + +{ + int i; + + if (taillen && tail[0] == '/') + pathlen = 0; + + for (;;) { + while (taillen && *tail == '/') { + tail++; + taillen--; + } + + if (!taillen) + break; + + for (i = 0; i < taillen; i++) + if (tail[i] == '/') + break; + + if (*tail == '.') + switch (i) { + + case 2: + if (tail[1] != '.') + break; + + pathlen = dlparentpath(path, pathlen); + + case 1: + tail += i; + taillen -= i; + continue; + } + + if (pathlen + i + 1 >= MAXPATHLEN) { + errno = ENAMETOOLONG; + return -1; + } + + path[pathlen++] = '/'; + memcpy(path + pathlen, tail, i); + pathlen += i; + } + + if (!pathlen) + path[pathlen++] = '/'; + + path[pathlen] = '\0'; + return pathlen; +} + + +static int +dlresolveLink(const char * path, char * buf, size_t bufsiz) + +{ + int n; + int l1; + int l2; + struct stat sbuf; + char buf1[MAXPATHLEN + 1]; + char buf2[MAXPATHLEN + 1]; + + /** + *** Resolve symbolic link to IFS object name. + **/ + + if (!buf) { + errno = EFAULT; + return -1; + } + + if (!path || !*path || !bufsiz) { + errno = EINVAL; + return -1; + } + + if (*path != '/') { + if (!getcwd(buf1, sizeof buf1)) + return -1; + + l1 = strlen(buf1); + } + else + l1 = 0; + + l1 = dlmakepath(buf1, l1, path, strlen(path)); + n = 0; + + for (;;) { + if (l1 < 0) + return -1; + + if (n++ >= 256) { + errno = ELOOP; + return -1; + } + + if (lstat(buf1, &sbuf)) { + if (errno == ENOENT) + break; + + return -1; + } + + if (!S_ISLNK(sbuf.st_mode)) + break; + + if (sbuf.st_size > MAXPATHLEN) { + errno = ENAMETOOLONG; + return -1; + } + + l2 = readlink(buf1, buf2, MAXPATHLEN + 1); + + if (l2 < 0) + return -1; + + if (buf2[0] != '/') + l1 = dlparentpath(buf1, l1); + + l1 = dlmakepath(buf1, l1, buf2, l2); + } + + if (l1 >= bufsiz) { + errno = ENAMETOOLONG; + return -1; + } + + memcpy(buf, buf1, l1 + 1); + return l1; +} + + +static int +dlGetObjectName(Qp0l_QSYS_Info_t * qsysinfo, const char * dir, + int dirlen, const char * link) + +{ + int n; + char * namebuf; + Qlg_Path_Name_T * qptp; + char pathbuf[sizeof(Qlg_Path_Name_T) + _QP0L_DIR_NAME_LG + 4]; + Qus_EC_t errinfo; + struct stat sbuf; + + /** + *** Get QSYS object library/name/member and type corresponding to + *** the symbolic `link' in directory `dir'. + **/ + + if (!qsysinfo) { + errno = EFAULT; + return -1; + } + + if (!dir && !link) { + errno = EINVAL; + return -1; + } + + qptp = (Qlg_Path_Name_T *) pathbuf; + namebuf = pathbuf + sizeof(Qlg_Path_Name_T); + n = 0; + + /** + *** Build full path. + **/ + + if (dir) { + if (dirlen < 0 || dirlen > _QP0L_DIR_NAME_LG + 4) + dirlen = _QP0L_DIR_NAME_LG + 4; + + while (*dir && n < dirlen) + namebuf[n++] = *dir++; + } + + if (n && namebuf[n - 1] == '/') + n--; + + if (link) { + if (*link && *link != '/' && n < _QP0L_DIR_NAME_LG + 4) + namebuf[n++] = '/'; + + while (*link && n < _QP0L_DIR_NAME_LG + 4) + namebuf[n++] = *link++; + } + + if (!n || n > _QP0L_DIR_NAME_LG) { + errno = ENAMETOOLONG; + return -1; + } + + namebuf[n] = '\0'; + n = dlresolveLink(namebuf, namebuf, _QP0L_DIR_NAME_LG + 1); + + if (n == -1) + return -1; + + if (stat(namebuf, &sbuf)) + return -1; + + memset((char *) qptp, 0, sizeof *qptp); + qptp->Path_Length = n; + qptp->Path_Name_Delimiter[0] = '/'; + errinfo.Bytes_Provided = sizeof errinfo; + Qp0lCvtPathToQSYSObjName(qptp, qsysinfo, "QSYS0100", sizeof *qsysinfo, + 0, &errinfo); + return errinfo.Bytes_Available? -1: 0; +} + + +static const char * +getcomponent(char * dst, const char * src) + +{ + int i; + + /** + *** Get a path component of at most 10 characters and + *** map it to upper case. + *** Return the address of the next delimiter in source. + **/ + + for (i = 0;; src++) { + if (!*src || *src == ' ' || *src == '/') { + *dst = '\0'; + return src; + } + + if (i < 10) { + *dst++ = toupper(*src); + i++; + } + } +} + + +static int +dlpath2QSYS(Qp0l_QSYS_Info_t * qsysinfo, const char * path, const char * dftlib) + +{ + unsigned int flags; + char * cp; + + /** + *** Convert the given path to a QSYS object name. + *** Syntax rules for paths are: + *** + *** '/'+ [ [ '/'+ [ '/'+ ] ] '/'* ] + *** '/'+ [ '/'+ ] '/'* + *** '/'* + *** + *** If default library is not given, *LIBL is assumed. + *** Components may no contain spaces. They are translated to + *** uppercase. Only the first 10 characters are significant. + *** There is no check for the validity of the given components and + *** for the object existence. + *** Component types are not in the path, but generated internally. + *** CCSID is not processed. + *** + *** Return 0 upon success, else -1. + **/ + + if (!qsysinfo || !path) { + errno = EFAULT; + return -1; + } + + /** + *** Strip leading spaces. + **/ + + while (*path == ' ') + path++; + + /** + *** Check for null path. + **/ + + if (!*path) { + errno = EINVAL; + return -1; + } + + /** + *** Preset the result structure. + **/ + + memset((char *) qsysinfo, 0, sizeof *qsysinfo); + + /** + *** Determine the format. + **/ + + if (*path == '/') { + /** + *** Library component present. + **/ + + while (*++path == '/') + ; + + if (!*path || *path == ' ') + strcpy(qsysinfo->Lib_Name, "QSYS"); + else + path = getcomponent(qsysinfo->Lib_Name, path); + + /** + *** Check for file component and get it. + **/ + + if (*path == '/') { + while (*++path == '/') + ; + + if (*path && *path != ' ') + path = getcomponent(qsysinfo->Obj_Name, path); + } + } + else { + /** + *** The mandatory component is the . + **/ + + path = getcomponent(qsysinfo->Obj_Name, path); + + while (*path == '/') + path++; + + /** + *** If there is a second component, move the first to + *** the library name and parse the file name. + **/ + + if (*path && *path != ' ') { + strcpy(qsysinfo->Lib_Name, qsysinfo->Obj_Name); + memset(qsysinfo->Obj_Name, 0, + sizeof qsysinfo->Obj_Name); + path = getcomponent(qsysinfo->Obj_Name, path); + } + else + strcpy(qsysinfo->Lib_Name, dftlib? dftlib: "*LIBL"); + } + + /** + *** Check and set-up member. + **/ + + while (*path == '/') + path++; + + if (*path && *path != ' ') { + path = getcomponent(qsysinfo->Mbr_Name, path); + strcpy(qsysinfo->Mbr_Type, "*MBR"); + + while (*path == '/') + path++; + } + + strcpy(qsysinfo->Lib_Type, "*LIB"); + + if (qsysinfo->Obj_Name[0]) + strcpy(qsysinfo->Obj_Type, "*FILE"); + + qsysinfo->Bytes_Returned = sizeof *qsysinfo; + qsysinfo->Bytes_Available = sizeof *qsysinfo; + + /** + *** Strip trailing spaces. + **/ + + while (*path == ' ') + path++; + + if (*path) { + errno = EINVAL; + return -1; + } + + return 0; +} + + +static int +dl_ifs_link(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) + +{ + /** + *** If `pathname' is a link found in IFS, set `qsysinfo' to its + *** DB2 name. + *** Return 0 if OK, else -1. + **/ + + return dlGetObjectName(qsysinfo, (const char *) NULL, 0, pathname); +} + + +static int +dl_path_link(Qp0l_QSYS_Info_t * qsysinfo, const char * pathvar, + const char * filename, int (* testproc)(const Qp0l_QSYS_Info_t *)) + +{ + const char * p; + const char * q; + unsigned int i; + const char * path; + + /** + *** If `filename' is not a path and is a link found in one of the + *** colon-separated paths in environment variable `pathvar', + *** set `qsysinfo' to its DB2 name. + *** Return 0 if OK, else -1. + **/ + + i = _QP0L_DIR_NAME_LG; + + for (p = filename; *p; p++) + if (*p == '/' || !--i) + return -1; /* Too long or a path. */ + + /** + *** Make sure we have the LD_LIBRARY_PATH environment + *** variable value. + **/ + + path = getenv(pathvar); + + if (!path) + return -1; /* No path list. */ + + /** + *** Try in each path listed. + **/ + + q = path; + + if (!*q) + return -1; /* No path list. */ + + for (;;) { + for (p = q; *p && *p != ':'; p++) + ; + + if (p > q) /* Ignore null path. */ + if (!dlGetObjectName(qsysinfo, q, p - q, filename)) + if (!testproc || (*testproc)(qsysinfo)) + return 0; /* Found: return. */ + + if (!*p) + break; + + q = p + 1; + } + + errno = ENOENT; + return -1; +} + + +static int +dl_DB2_path(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) + +{ + if (dlpath2QSYS(qsysinfo, pathname, (const char *) NULL)) + return -1; + + if (qsysinfo->Mbr_Type[0]) + return -1; /* Service program may not have members. */ + + if (!qsysinfo->Obj_Type[0]) + return -1; /* Object must be specified. */ + + strcpy(qsysinfo->Obj_Type, "*SRVPGM"); /* Set our object type. */ + return 0; +} + + +static int +dl_DB2_name(char * dst, const char * name) + +{ + int i; + + for (i = 0; i < 10; i++) { + switch (*name) { + + default: + if (!islower(*name)) + break; + + case '\0': + case '/': + case ' ': + return -1; + } + + *dst++ = *name++; + } + + if (!i) + return -1; + + *dst = '\0'; + return 0; +} + + +static int +dl_qualified_object(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) + +{ + memset((char *) qsysinfo, 0, sizeof *qsysinfo); + + if (dl_DB2_name(qsysinfo->Obj_Name, pathname) || + dl_DB2_name(qsysinfo->Lib_Name, pathname + 10)) + return -1; + + strcpy(qsysinfo->Lib_Type, "*LIB"); + strcpy(qsysinfo->Obj_Type, "*SRVPGM"); + return 0; +} + + +static int +dl_lib_object(Qp0l_QSYS_Info_t * qsysinfo, + const char * libname, const char * pathname) + +{ + int i; + char * cp; + + strcpy(qsysinfo->Lib_Name, libname); + strcpy(qsysinfo->Lib_Type, "*LIB"); + strcpy(qsysinfo->Obj_Type, "*SRVPGM"); + cp = qsysinfo->Obj_Name; + + while (*pathname == ' ') + pathname++; + + for (i = 0;; pathname++) { + switch (*pathname) { + + case '\0': + case ' ': + break; + + case '/': + return -1; + + default: + if (i < 10) + *cp++ = toupper(*pathname); + + i++; + continue; + } + + break; + } + + while (*pathname == ' ') + pathname++; + + if (!i || *pathname) + return -1; + + *cp = '\0'; + return 0; +} + + +static int +dl_is_srvpgm(const Qp0l_QSYS_Info_t * qsysinfo) + +{ + struct stat sbuf; + char namebuf[100]; + + if (!qsysinfo->Lib_Name[0] || strcmp(qsysinfo->Lib_Type, "*LIB") || + !qsysinfo->Obj_Name[0] || strcmp(qsysinfo->Obj_Type, "*SRVPGM") || + qsysinfo->Mbr_Name[0] || qsysinfo->Mbr_Type[0]) + return 0; + + /** + *** Build the IFS path name for the DB2 object. + **/ + + sprintf(namebuf, "%s/%s.LIB/%s.SRVPGM", + strcmp(qsysinfo->Lib_Name, "QSYS")? "/QSYS.LIB": "", + qsysinfo->Lib_Name, qsysinfo->Obj_Name); + + return stat(namebuf, &sbuf) == 0; +} + + +static int +dlreinit(dlinfo * dlip) + +{ + RINZ_TEMPL_T t; + RINZ_TEMPL_T * p; + volatile _INTRPT_Hndlr_Parms_T excbuf; + + if (dlip->actinfo.Flags & QLE_ABP_WAS_ACTIVE) + return 0; + + /** + *** Attempt to reinitialize the service program that was loaded. + *** The service program must be created to allow re-initialization: + *** ALWRINZ(*YES) for this to work. The default is + *** ALWRINZ(*NO). + **/ + +#pragma exception_handler(err, excbuf, 0, _C2_MH_ESCAPE, _CTLA_HANDLE_NO_MSG) + p = &t; + t.rinz_pgm = dlip->pointer; + t.rinz_agpmk = dlip->actinfo.Act_Grp_Mark; + _RINZSTAT(p); +#pragma disable_handler + + return 0; + +err: + if (!memcmp((char *) excbuf.Msg_Id, "MCH4421", 7)) + return 0; /* Program cannot be reinitialized. */ + + dlseterror_from_exception(&excbuf); + return -1; +} + + +void * +dlsym(void * handle, const char * symbol) + +{ + dlinfo * dlip; + void * p; + int export_type; + Qus_EC_t errinfo; + volatile _INTRPT_Hndlr_Parms_T excbuf; + static int zero = 0; + + dlthreadinit(); + + if (!handle || !symbol) { + dlseterror_from_errno(EFAULT); + return (void *) NULL; + } + + dlip = (dlinfo *) handle; + +#pragma exception_handler(error, excbuf, 0, _C2_MH_ESCAPE, _CTLA_HANDLE_NO_MSG) + errinfo.Bytes_Provided = 0; + QleGetExpLong(&dlip->actinfo.Act_Mark, &zero, &zero, + (char *) symbol, &p, &export_type, &errinfo); + return p; +#pragma disable_handler + +error: + dlseterror_from_exception(&excbuf); + return (void *) NULL; +} + + +int +dlclose(void * handle) + +{ + dlinfo * dlip; + void (* _fini)(void); + + dlthreadinit(); + + if (!handle) { + dlseterror_from_errno(EFAULT); + return -1; + } + + dlip = (dlinfo *) handle; + + if (dlip->actcount) { + if (--(dlip->actcount)) + return 0; + + if (_fini = dlsym(handle, "_fini")) + (*_fini)(); + } + + return dlreinit(dlip); +} + + +static void * +dlopenqsys(const Qp0l_QSYS_Info_t * dllinfo) + +{ + dlinfo * dlip; + dlinfo * dlip2; + void (* _init)(void); + unsigned int i; + _SYSPTR pgmptr; + unsigned long long actmark; + Qus_EC_t errinfo; + char actmarkstr[2 * sizeof actmark + 1]; + static int actinfo_size = sizeof dlip->actinfo; + volatile _INTRPT_Hndlr_Parms_T excbuf; + + /** + *** Capture any type of error and if any occurs, + *** return not found. + **/ + +#pragma exception_handler(error1, excbuf, 0, _C2_MH_ESCAPE, _CTLA_HANDLE_NO_MSG) + pgmptr = rslvsp(WLI_SRVPGM, (char *) dllinfo->Obj_Name, + (char *) dllinfo->Lib_Name ,_AUTH_NONE); + + if (!pgmptr) { + errno = ENOENT; + return (void *) NULL; + } + + /** + *** Create a new DLL info block. + **/ + + dlip = (dlinfo *) malloc(sizeof *dlip); + + if (!dlip) + return (void *) NULL; /* Cannot create block. */ +#pragma disable_handler + + dllock(); + +#pragma exception_handler(error2, excbuf, 0, _C2_MH_ESCAPE, _CTLA_HANDLE_NO_MSG) + memset((char *) dlip, 0, sizeof *dlip); + dlip->pointer = pgmptr; + + /** + *** Activate the DLL. + **/ + + errinfo.Bytes_Provided = 0; + QleActBndPgmLong(&pgmptr, &actmark, + &dlip->actinfo, &actinfo_size, &errinfo); + dlip->actinfo.Act_Mark = actmark; + + /** + *** Dummy string encoding activation mark to use as hash table key. + **/ + + for (i = 0; actmark; actmark >>= 6) + actmarkstr[i++] = 0x40 + (actmark & 0x3F); + + actmarkstr[i] = '\0'; + + /** + *** Check if already activated. + **/ + + dlip2 = (dlinfo *) xmlHashLookup(dldir, actmarkstr); + + if (dlip2) { + free((char *) dlip); + dlip = dlip2; + } + else if (xmlHashAddEntry(dldir, (const xmlChar *) actmarkstr, dlip)) { + dlreinit(dlip); + free((char *) dlip); + dlunlock(); + return (void *) NULL; + } +#pragma disable_handler + +#pragma exception_handler(error2, excbuf, 0, _C2_MH_ESCAPE, _CTLA_HANDLE_NO_MSG) + + /** + *** Bump activation counter. + **/ + + if (!(dlip->actcount++) && (_init = dlsym(dlip, "_init"))) + (*_init)(); + + dlunlock(); + + /** + *** Return the handle. + **/ + + return (void *) dlip; +#pragma disable_handler + +error2: + free((char *) dlip); + dlunlock(); + +error1: + dlseterror_from_exception(&excbuf); + return (void *) NULL; +} + + +void * +dlopen(const char * filename, int flag) + +{ + void * dlhandle; + int sverrno; + Qp0l_QSYS_Info_t dllinfo; + + sverrno = errno; + errno = 0; + + dlthreadinit(); + + if (!filename) { + dlseterror_from_errno(EFAULT); + errno = sverrno; + return NULL; + } + + /** + *** Try to locate the object in the following order: + *** _ `filename' is an IFS path. + *** _ `filename' is not a path and resides in one of + *** LD_LIBRARY_PATH colon-separated paths. + *** _ `filename' is not a path and resides in one of + *** PATH colon-separated paths. + *** _ `filename' is a DB2 path (as /library/object). + *** _ `filename' is a qualified object name. + *** _ `filename' is an object in *CURLIB. + *** _ `filename' is an object in *LIBL. + **/ + + if (!dl_ifs_link(&dllinfo, filename) && dl_is_srvpgm(&dllinfo)) + dlhandle = dlopenqsys(&dllinfo); + else if (!dl_path_link(&dllinfo, + "LD_LIBRARY_PATH", filename, dl_is_srvpgm)) + dlhandle = dlopenqsys(&dllinfo); + else if (!dl_path_link(&dllinfo, "PATH", filename, dl_is_srvpgm)) + dlhandle = dlopenqsys(&dllinfo); + else if (!dl_DB2_path(&dllinfo, filename) && dl_is_srvpgm(&dllinfo)) + dlhandle = dlopenqsys(&dllinfo); + else if (!dl_qualified_object(&dllinfo, filename) && + dl_is_srvpgm(&dllinfo)) + dlhandle = dlopenqsys(&dllinfo); + else if (!dl_lib_object(&dllinfo, "*CURLIB", filename) && + dl_is_srvpgm(&dllinfo)) + dlhandle = dlopenqsys(&dllinfo); + else if (!dl_lib_object(&dllinfo, "*LIBL", filename) && + dl_is_srvpgm(&dllinfo)) + dlhandle = dlopenqsys(&dllinfo); + else + dlhandle = NULL; + + if (!dlhandle && errno) + dlseterror_from_errno(errno); + + errno = sverrno; + return dlhandle; +} diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/dlfcn/dlfcn.h b/local-test-libxml2-delta-02/afc-libxml2/os400/dlfcn/dlfcn.h new file mode 100644 index 0000000000000000000000000000000000000000..0cf691e38018b98229cd2739124b50f9a7b86127 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/dlfcn/dlfcn.h @@ -0,0 +1,32 @@ +/** +*** dlopen(), dlclose() dlsym(), dlerror() emulation for OS/400. +*** +*** See Copyright for the status of this software. +*** +*** Author: Patrick Monnerat , DATASPHERE S.A. +**/ + +#ifndef _DLFCN_H_ +#define _DLFCN_H_ + + +/** +*** Flags for dlopen(). +*** Ignored for OS400. +**/ + +#define RTLD_LAZY 000 +#define RTLD_NOW 001 +#define RTLD_GLOBAL 010 + + +/** +*** Prototypes. +**/ + +extern void * dlopen(const char * filename, int flag); +extern void * dlsym(void * handle, const char * symbol); +extern const char * dlerror(void); +extern int dlclose(void * handle); + +#endif diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/README.iconv b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/README.iconv new file mode 100644 index 0000000000000000000000000000000000000000..4950d5956c2cda06333318fa584a69659ddd81c6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/README.iconv @@ -0,0 +1,47 @@ +IBM OS/400 implements iconv in an odd way: +- Type iconv_t is a structure: therefore objects of this type cannot be + compared to (iconv_t) -1. +- Supported character sets names are all of the form IBMCCSIDccsid..., where + ccsid is a decimal 5-digit integer identifying an IBM coded character set. + In addition, character set names have to be given in EBCDIC. + Standard character set names like "UTF-8" are NOT recognized. +- The prototype of iconv_open() does not declare parameters as const, although + they are not altered. + + Since libiconv does not support EBCDIC, use of this package here as a +replacement is not a solution. + + For these reasons, the code in this directory implements a wrapper to the +OS/400 iconv implementation. The wrapper performs the following transformations: +- Type iconv_t is an pointer. Although OS/400 pointers are odd, comparing + with (iconv_t) -1 is OK. +- All IANA character set names are recognized in a coding- and case-insensitive + way, providing an equivalent CCSID exists. see + http://www.iana.org/assignments/character-sets/character-sets.xhtml +- All CCSIDs from the association file can be expressed as IBMCCSIDxxxxx where + xxxxx is the 5 digit CCSID; no null terminator is required. Alternate codes + are of the form ibm-xxx (null-terminated), where xxx is the integer CCSID with + leading zeroes stripped. +- If a IANA BIBenum is defined for a CCSID, the name iana-xxx can be used, + where xxx is the integer MIBenum without leading zeroes. +- In addition, some aliases are also taken from the association file. Examples + are: ASCII, EBCDIC, UTF8. +- Prototype of iconv_open() has const parameters. +- Character code names can be given in any code. + +Character set names to CCSID conversion. +- http://www.iana.org/assignments/character-sets/character-sets.xhtml provides + all IANA registered character set names and aliases associated with a + MIBenum, that is a unique character set identifier. +- A hand-maintained file ccsid_mibenum.xml associates IBM CCSIDs to + IANA MBenums. +- An OS/400 C program (in subdirectory bldcsndfa) generates a deterministic + finite automaton from the files mentioned above into a C file for all + possible character set name and associating each of them with its + corresponding CCSID. This program can only be run on OS/400 since it uses + the native iconv support for EBCDIC. +- Since these operations are tedious and the table generation needs bootstraping + with libxml2, the generated automaton is stored within sources and need not + be rebuilt at each compilation. However, source is provided here to allow + new table generation with conversion tables that were not available at the + time of original generation. diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/bldcsndfa.c b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/bldcsndfa.c new file mode 100644 index 0000000000000000000000000000000000000000..48afd54ff3f8add686600b0c5370d26a4c9ebed1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/bldcsndfa.c @@ -0,0 +1,1953 @@ +/** +*** Build a deterministic finite automaton to associate CCSIDs with +*** character set names. +*** +*** Compile on OS/400 with options SYSIFCOPT(*IFSIO). +*** +*** See Copyright for the status of this software. +*** +*** Author: Patrick Monnerat , DATASPHERE S.A. +**/ + +#include +#include +#include +#include +#include +#include + +#include + + +#ifdef OLDXML +#include "xml.h" +#else +#include +#include +#include +#include +#endif + + +#ifdef __OS400__ +#define iconv_open_error(cd) ((cd).return_value == -1) +#define set_iconv_open_error(cd) ((cd).return_value = -1) +#else +#define iconv_open_error(cd) ((cd) == (iconv_t) -1) +#define set_iconv_open_error(cd) ((cd) = (iconv_t) -1) +#endif + + +#define C_SOURCE_CCSID 500 +#define C_UTF8_CCSID 1208 + + +#define UTF8_SPACE 0x20 +#define UTF8_HT 0x09 +#define UTF8_0 0x30 +#define UTF8_9 0x39 +#define UTF8_A 0x41 +#define UTF8_Z 0x5A +#define UTF8_a 0x61 +#define UTF8_z 0x7A + + +#define GRANULE 128 /* Memory allocation granule. */ + +#define EPSILON 0x100 /* Token for empty transition. */ + + +#ifndef OFFSETOF +#define OFFSETOF(t, f) ((unsigned int) ((char *) &((t *) 0)->f - (char *) 0)) +#endif + +#ifndef OFFSETBY +#define OFFSETBY(t, p, o) ((t *) ((char *) (p) + (unsigned int) (o))) +#endif + + +typedef struct t_transition t_transition; /* NFA/DFA transition. */ +typedef struct t_state t_state; /* NFA/DFA state node. */ +typedef struct t_symlist t_symlist; /* Symbol (i.e.: name) list. */ +typedef struct t_chset t_chset; /* Character set. */ +typedef struct t_stategroup t_stategroup; /* Optimization group. */ +typedef unsigned char utf8char; /* UTF-8 character byte. */ +typedef unsigned char byte; /* Untyped data byte. */ + + +typedef struct { /* Set of pointers. */ + unsigned int p_size; /* Current allocated size. */ + unsigned int p_card; /* Current element count. */ + void * p_set[1]; /* Element array. */ +} t_powerset; + + +struct t_transition { + t_transition * t_forwprev; /* Head of forward transition list. */ + t_transition * t_forwnext; /* Tail of forward transition list. */ + t_transition * t_backprev; /* Head of backward transition list. */ + t_transition * t_backnext; /* Tail of backward transition list. */ + t_state * t_from; /* Incoming state. */ + t_state * t_to; /* Destination state. */ + unsigned short t_token; /* Transition token. */ + unsigned int t_index; /* Transition array index. */ +}; + + +struct t_state { + t_state * s_next; /* Next state (for DFA construction). */ + t_state * s_stack; /* Unprocessed DFA states stack. */ + t_transition * s_forward; /* Forward transitions. */ + t_transition * s_backward; /* Backward transitions. */ + t_chset * s_final; /* Recognized character set. */ + t_powerset * s_nfastates; /* Corresponding NFA states. */ + unsigned int s_index; /* State index. */ +}; + + +struct t_symlist { + t_symlist * l_next; /* Next name in list. */ + utf8char l_symbol[1]; /* Name bytes. */ +}; + + +struct t_chset { + t_chset * c_next; /* Next character set. */ + t_symlist * c_names; /* Character set name list. */ + iconv_t c_fromUTF8; /* Conversion from UTF-8. */ + unsigned int c_ccsid; /* IBM character set code. */ + unsigned int c_mibenum; /* IANA character code. */ +}; + + +struct t_stategroup { + t_stategroup * g_next; /* Next group. */ + t_state * g_member; /* Group member (s_stack) list. */ + unsigned int g_id; /* Group ident. */ +}; + + + +t_chset * chset_list; /* Character set list. */ +t_state * initial_state; /* Initial NFA state. */ +iconv_t job2utf8; /* Job CCSID to UTF-8 conversion. */ +iconv_t utf82job; /* UTF-8 to job CCSID conversion. */ +t_state * dfa_states; /* List of DFA states. */ +unsigned int groupid; /* Group ident counter. */ + + +/** +*** UTF-8 strings. +**/ + +#pragma convert(819) + +static const utf8char utf8_MIBenum[] = "MIBenum"; +static const utf8char utf8_mibenum[] = "mibenum"; +static const utf8char utf8_ibm_[] = "ibm-"; +static const utf8char utf8_IBMCCSID[] = "IBMCCSID"; +static const utf8char utf8_iana_[] = "iana-"; +static const utf8char utf8_Name[] = "Name"; +static const utf8char utf8_Pref_MIME_Name[] = "Preferred MIME Name"; +static const utf8char utf8_Aliases[] = "Aliases"; +static const utf8char utf8_html[] = "html"; +static const utf8char utf8_htmluri[] = "http://www.w3.org/1999/xhtml"; +static const utf8char utf8_A[] = "A"; +static const utf8char utf8_C[] = "C"; +static const utf8char utf8_M[] = "M"; +static const utf8char utf8_N[] = "N"; +static const utf8char utf8_P[] = "P"; +static const utf8char utf8_T[] = "T"; +static const utf8char utf8_ccsid[] = "ccsid"; +static const utf8char utf8_EBCDIC[] = "EBCDIC"; +static const utf8char utf8_ASCII[] = "ASCII"; +static const utf8char utf8_assocnodes[] = "/ccsid_mibenum/assoc[@ccsid]"; +static const utf8char utf8_aliastext[] = + "/ccsid_mibenum/assoc[@ccsid=$C]/alias/text()"; +#ifdef OLDXML +static const utf8char utf8_tablerows[] = + "//table[@id='table-character-sets-1']/*/tr"; +static const utf8char utf8_headerpos[] = + "count(th[text()=$T]/preceding-sibling::th)+1"; +static const utf8char utf8_getmibenum[] = "number(td[$M])"; +static const utf8char utf8_getprefname[] = "string(td[$P])"; +static const utf8char utf8_getname[] = "string(td[$N])"; +static const utf8char utf8_getaliases[] = "td[$A]/text()"; +#else +static const utf8char utf8_tablerows[] = + "//html:table[@id='table-character-sets-1']/*/html:tr"; +static const utf8char utf8_headerpos[] = + "count(html:th[text()=$T]/preceding-sibling::html:th)+1"; +static const utf8char utf8_getmibenum[] = "number(html:td[$M])"; +static const utf8char utf8_getprefname[] = "string(html:td[$P])"; +static const utf8char utf8_getname[] = "string(html:td[$N])"; +static const utf8char utf8_getaliases[] = "html:td[$A]/text()"; +#endif + +#pragma convert(0) + + +/** +*** UTF-8 character length table. +*** +*** Index is first character byte, value is the character byte count. +**/ + +static signed char utf8_chlen[] = { +/* 00-07 */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 08-0F */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 10-17 */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 18-1F */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 20-27 */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 28-2F */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 30-37 */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 38-3F */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 40-47 */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 48-4F */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 50-57 */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 58-5F */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 60-67 */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 68-6F */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 70-77 */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 78-7F */ 1, 1, 1, 1, 1, 1, 1, 1, +/* 80-87 */ -1, -1, -1, -1, -1, -1, -1, -1, +/* 88-8F */ -1, -1, -1, -1, -1, -1, -1, -1, +/* 90-97 */ -1, -1, -1, -1, -1, -1, -1, -1, +/* 98-9F */ -1, -1, -1, -1, -1, -1, -1, -1, +/* A0-A7 */ -1, -1, -1, -1, -1, -1, -1, -1, +/* A8-AF */ -1, -1, -1, -1, -1, -1, -1, -1, +/* B0-B7 */ -1, -1, -1, -1, -1, -1, -1, -1, +/* B8-BF */ -1, -1, -1, -1, -1, -1, -1, -1, +/* C0-C7 */ 2, 2, 2, 2, 2, 2, 2, 2, +/* C8-CF */ 2, 2, 2, 2, 2, 2, 2, 2, +/* D0-D7 */ 2, 2, 2, 2, 2, 2, 2, 2, +/* D8-DF */ 2, 2, 2, 2, 2, 2, 2, 2, +/* E0-E7 */ 3, 3, 3, 3, 3, 3, 3, 3, +/* E8-EF */ 3, 3, 3, 3, 3, 3, 3, 3, +/* F0-F7 */ 4, 4, 4, 4, 4, 4, 4, 4, +/* F8-FF */ 5, 5, 5, 5, 6, 6, -1, -1 +}; + + + +void +chknull(void * p) + +{ + if (p) + return; + + fprintf(stderr, "Not enough memory\n"); + exit(1); +} + + +void +makecode(char * buf, unsigned int ccsid) + +{ + ccsid &= 0xFFFF; + memset(buf, 0, 32); + sprintf(buf, "IBMCCSID%05u0000000", ccsid); +} + + +iconv_t +iconv_open_ccsid(unsigned int ccsidout, + unsigned int ccsidin, unsigned int nullflag) + +{ + char fromcode[33]; + char tocode[33]; + + makecode(fromcode, ccsidin); + makecode(tocode, ccsidout); + memset(tocode + 13, 0, sizeof tocode - 13); + + if (nullflag) + fromcode[18] = '1'; + + return iconv_open(tocode, fromcode); +} + + +unsigned int +getnum(char * * cpp) + +{ + unsigned int n; + char * cp; + + cp = *cpp; + n = 0; + + while (isdigit(*cp)) + n = 10 * n + *cp++ - '0'; + + *cpp = cp; + return n; +} + + +const utf8char * +hashBinaryKey(const byte * bytes, unsigned int len) + +{ + const byte * bp; + utf8char * key; + utf8char * cp; + unsigned int n; + unsigned int n4; + unsigned int i; + + /** + *** Encode binary data in character form to be used as hash + *** table key. + **/ + + n = (4 * len + 2) / 3; + key = (utf8char *) malloc(n + 1); + chknull(key); + bp = bytes; + cp = key; + + for (n4 = n >> 2; n4; n4--) { + i = (bp[0] << 16) | (bp[1] << 8) | bp[2]; + *cp++ = 0x21 + ((i >> 18) & 0x3F); + *cp++ = 0x21 + ((i >> 12) & 0x3F); + *cp++ = 0x21 + ((i >> 6) & 0x3F); + *cp++ = 0x21 + (i & 0x3F); + bp += 3; + } + + switch (n & 0x3) { + + case 2: + *cp++ = 0x21 + ((*bp >> 2) & 0x3F); + *cp++ = 0x21 + ((*bp << 4) & 0x3F); + break; + + case 3: + i = (bp[0] << 8) | bp[1]; + *cp++ = 0x21 + ((i >> 10) & 0x3F); + *cp++ = 0x21 + ((i >> 4) & 0x3F); + *cp++ = 0x21 + ((i << 2) & 0x3F); + break; + } + + *cp = '\0'; + return key; +} + + +void * +hash_get(xmlHashTablePtr h, const void * binkey, unsigned int len) + +{ + const utf8char * key; + void * result; + + key = hashBinaryKey((const byte *) binkey, len); + result = xmlHashLookup(h, key); + free((char *) key); + return result; +} + + +int +hash_add(xmlHashTablePtr h, const void * binkey, unsigned int len, void * data) + +{ + const utf8char * key; + int result; + + key = hashBinaryKey((const byte *) binkey, len); + result = xmlHashAddEntry(h, key, data); + free((char *) key); + return result; +} + + +xmlDocPtr +loadXMLFile(const char * filename) + +{ + struct stat sbuf; + byte * databuf; + int fd; + int i; + xmlDocPtr doc; + + if (stat(filename, &sbuf)) + return (xmlDocPtr) NULL; + + databuf = malloc(sbuf.st_size + 4); + + if (!databuf) + return (xmlDocPtr) NULL; + + fd = open(filename, O_RDONLY +#ifdef O_BINARY + | O_BINARY +#endif + ); + + if (fd < 0) { + free((char *) databuf); + return (xmlDocPtr) NULL; + } + + i = read(fd, (char *) databuf, sbuf.st_size); + close(fd); + + if (i != sbuf.st_size) { + free((char *) databuf); + return (xmlDocPtr) NULL; + } + + databuf[i] = databuf[i + 1] = databuf[i + 2] = databuf[i + 3] = 0; + doc = xmlParseMemory((xmlChar *) databuf, i); + free((char *) databuf); + return doc; +} + + +int +match(char * * cpp, char * s) + +{ + char * cp; + int c1; + int c2; + + cp = *cpp; + + for (cp = *cpp; c2 = *s++; cp++) { + c1 = *cp; + + if (c1 != c2) { + if (isupper(c1)) + c1 = tolower(c1); + + if (isupper(c2)) + c2 = tolower(c2); + } + + if (c1 != c2) + return 0; + } + + c1 = *cp; + + while (c1 == ' ' || c1 == '\t') + c1 = *++cp; + + *cpp = cp; + return 1; +} + + +t_state * +newstate(void) + +{ + t_state * s; + + s = (t_state *) malloc(sizeof *s); + chknull(s); + memset((char *) s, 0, sizeof *s); + return s; +} + + +void +unlink_transition(t_transition * t) + +{ + if (t->t_backnext) + t->t_backnext->t_backprev = t->t_backprev; + + if (t->t_backprev) + t->t_backprev->t_backnext = t->t_backnext; + else if (t->t_to) + t->t_to->s_backward = t->t_backnext; + + if (t->t_forwnext) + t->t_forwnext->t_forwprev = t->t_forwprev; + + if (t->t_forwprev) + t->t_forwprev->t_forwnext = t->t_forwnext; + else if (t->t_from) + t->t_from->s_forward = t->t_forwnext; + + t->t_backprev = (t_transition *) NULL; + t->t_backnext = (t_transition *) NULL; + t->t_forwprev = (t_transition *) NULL; + t->t_forwnext = (t_transition *) NULL; + t->t_from = (t_state *) NULL; + t->t_to = (t_state *) NULL; +} + + +void +link_transition(t_transition * t, t_state * from, t_state * to) + +{ + if (!from) + from = t->t_from; + + if (!to) + to = t->t_to; + + unlink_transition(t); + + if ((t->t_from = from)) { + if ((t->t_forwnext = from->s_forward)) + t->t_forwnext->t_forwprev = t; + + from->s_forward = t; + } + + if ((t->t_to = to)) { + if ((t->t_backnext = to->s_backward)) + t->t_backnext->t_backprev = t; + + to->s_backward = t; + } +} + + +t_transition * +newtransition(unsigned int token, t_state * from, t_state * to) + +{ + t_transition * t; + + t = (t_transition *) malloc(sizeof *t); + chknull(t); + memset((char *) t, 0, sizeof *t); + t->t_token = token; + link_transition(t, from, to); + return t; +} + + +t_transition * +uniquetransition(unsigned int token, t_state * from, t_state * to) + +{ + t_transition * t; + + for (t = from->s_forward; t; t = t->t_forwnext) + if (t->t_token == token && (t->t_to == to || !to)) + return t; + + return to? newtransition(token, from, to): (t_transition *) NULL; +} + + +int +set_position(t_powerset * s, void * e) + +{ + unsigned int l; + unsigned int h; + unsigned int m; + int i; + + l = 0; + h = s->p_card; + + while (l < h) { + m = (l + h) >> 1; + + /** + *** If both pointers belong to different allocation arenas, + *** native comparison may find them neither + *** equal, nor greater, nor smaller. + *** We thus compare using memcmp() to get an orthogonal + *** result. + **/ + + i = memcmp(&e, s->p_set + m, sizeof e); + + if (i < 0) + h = m; + else if (!i) + return m; + else + l = m + 1; + } + + return l; +} + + +t_powerset * +set_include(t_powerset * s, void * e) + +{ + unsigned int pos; + unsigned int n; + + if (!s) { + s = (t_powerset *) malloc(sizeof *s + + GRANULE * sizeof s->p_set); + chknull(s); + s->p_size = GRANULE; + s->p_set[GRANULE] = (t_state *) NULL; + s->p_set[0] = e; + s->p_card = 1; + return s; + } + + pos = set_position(s, e); + + if (pos < s->p_card && s->p_set[pos] == e) + return s; + + if (s->p_card >= s->p_size) { + s->p_size += GRANULE; + s = (t_powerset *) realloc(s, + sizeof *s + s->p_size * sizeof s->p_set); + chknull(s); + s->p_set[s->p_size] = (t_state *) NULL; + } + + n = s->p_card - pos; + + if (n) + memmove((char *) (s->p_set + pos + 1), + (char *) (s->p_set + pos), n * sizeof s->p_set[0]); + + s->p_set[pos] = e; + s->p_card++; + return s; +} + + +t_state * +nfatransition(t_state * to, byte token) + +{ + t_state * from; + + from = newstate(); + newtransition(token, from, to); + return from; +} + + +static t_state * nfadevelop(t_state * from, t_state * final, iconv_t icc, + const utf8char * name, unsigned int len); + + +void +nfaslice(t_state * * from, t_state * * to, iconv_t icc, + const utf8char * chr, unsigned int chlen, + const utf8char * name, unsigned int len, t_state * final) + +{ + char * srcp; + char * dstp; + size_t srcc; + size_t dstc; + unsigned int cnt; + t_state * f; + t_state * t; + t_transition * tp; + byte bytebuf[8]; + + srcp = (char *) chr; + srcc = chlen; + dstp = (char *) bytebuf; + dstc = sizeof bytebuf; + iconv(icc, &srcp, &srcc, &dstp, &dstc); + dstp = (char *) bytebuf; + cnt = sizeof bytebuf - dstc; + t = *to; + f = *from; + + /** + *** Check for end of string. + **/ + + if (!len) + if (t && t != final) + uniquetransition(EPSILON, t, final); + else + t = final; + + if (f) + while (cnt) { + tp = uniquetransition(*dstp, f, (t_state *) NULL); + + if (!tp) + break; + + f = tp->t_to; + dstp++; + cnt--; + } + + if (!cnt) { + if (!t) + t = nfadevelop(f, final, icc, name, len); + + *to = t; + return; + } + + if (!t) { + t = nfadevelop((t_state *) NULL, final, icc, name, len); + *to = t; + } + + if (!f) + *from = f = newstate(); + + while (cnt > 1) + t = nfatransition(t, dstp[--cnt]); + + newtransition(*dstp, f, t); +} + + +t_state * +nfadevelop(t_state * from, t_state * final, iconv_t icc, + const utf8char * name, unsigned int len) + +{ + int chlen; + int i; + t_state * to; + int uccnt; + int lccnt; + utf8char chr; + + chlen = utf8_chlen[*name]; + + for (i = 1; i < chlen; i++) + if ((name[i] & 0xC0) != 0x80) + break; + + if (i != chlen) { + fprintf(stderr, + "Invalid UTF8 character in character set name\n"); + return (t_state *) NULL; + } + + to = (t_state *) NULL; + nfaslice(&from, &to, + icc, name, chlen, name + chlen, len - chlen, final); + + if (*name >= UTF8_a && *name <= UTF8_z) + chr = *name - UTF8_a + UTF8_A; + else if (*name >= UTF8_A && *name <= UTF8_Z) + chr = *name - UTF8_A + UTF8_a; + else + return from; + + nfaslice(&from, &to, icc, &chr, 1, name + chlen, len - chlen, final); + return from; +} + + + +void +nfaenter(const utf8char * name, int len, t_chset * charset) + +{ + t_chset * s; + t_state * final; + t_state * sp; + t_symlist * lp; + + /** + *** Enter case-insensitive `name' in NFA in all known + *** character codes. + *** Redundant shift state changes as well as shift state + *** differences between uppercase and lowercase are + *** not handled. + **/ + + if (len < 0) + len = strlen(name) + 1; + + for (lp = charset->c_names; lp; lp = lp->l_next) + if (!memcmp(name, lp->l_symbol, len)) + return; /* Already entered. */ + + lp = (t_symlist *) malloc(sizeof *lp + len); + chknull(lp); + memcpy(lp->l_symbol, name, len); + lp->l_symbol[len] = '\0'; + lp->l_next = charset->c_names; + charset->c_names = lp; + final = newstate(); + final->s_final = charset; + + for (s = chset_list; s; s = s->c_next) + if (!iconv_open_error(s->c_fromUTF8)) + sp = nfadevelop(initial_state, final, + s->c_fromUTF8, name, len); +} + + +unsigned int +utf8_utostr(utf8char * s, unsigned int v) + +{ + unsigned int d; + unsigned int i; + + d = v / 10; + v -= d * 10; + i = d? utf8_utostr(s, d): 0; + s[i++] = v + UTF8_0; + s[i] = '\0'; + return i; +} + + +unsigned int +utf8_utostrpad(utf8char * s, unsigned int v, int digits) + +{ + unsigned int i = utf8_utostr(s, v); + utf8char pad = UTF8_SPACE; + + if (digits < 0) { + pad = UTF8_0; + digits = -digits; + } + + if (i >= digits) + return i; + + memmove(s + digits - i, s, i + 1); + memset(s, pad, digits - i); + return digits; +} + + +unsigned int +utf8_strtou(const utf8char * s) + +{ + unsigned int v; + + while (*s == UTF8_SPACE || *s == UTF8_HT) + s++; + + for (v = 0; *s >= UTF8_0 && *s <= UTF8_9;) + v = 10 * v + *s++ - UTF8_0; + + return v; +} + + +unsigned int +getNumAttr(xmlNodePtr node, const xmlChar * name) + +{ + const xmlChar * s; + unsigned int val; + + s = xmlGetProp(node, name); + + if (!s) + return 0; + + val = utf8_strtou(s); + xmlFree((xmlChar *) s); + return val; +} + + +void +read_assocs(const char * filename) + +{ + xmlDocPtr doc; + xmlXPathContextPtr ctxt; + xmlXPathObjectPtr obj; + xmlNodePtr node; + t_chset * sp; + int i; + unsigned int ccsid; + unsigned int mibenum; + utf8char symbuf[32]; + + doc = loadXMLFile(filename); + + if (!doc) { + fprintf(stderr, "Cannot load file %s\n", filename); + exit(1); + } + + ctxt = xmlXPathNewContext(doc); + obj = xmlXPathEval(utf8_assocnodes, ctxt); + + if (!obj || obj->type != XPATH_NODESET || !obj->nodesetval || + !obj->nodesetval->nodeTab || !obj->nodesetval->nodeNr) { + fprintf(stderr, "No association found in %s\n", filename); + exit(1); + } + + for (i = 0; i < obj->nodesetval->nodeNr; i++) { + node = obj->nodesetval->nodeTab[i]; + ccsid = getNumAttr(node, utf8_ccsid); + mibenum = getNumAttr(node, utf8_mibenum); + + /** + *** Check for duplicate. + **/ + + for (sp = chset_list; sp; sp = sp->c_next) + if (ccsid && ccsid == sp->c_ccsid || + mibenum && mibenum == sp->c_mibenum) { + fprintf(stderr, "Duplicate character set: "); + fprintf(stderr, "CCSID = %u/%u, ", + ccsid, sp->c_ccsid); + fprintf(stderr, "MIBenum = %u/%u\n", + mibenum, sp->c_mibenum); + break; + } + + if (sp) + continue; + + /** + *** Allocate the new character set. + **/ + + sp = (t_chset *) malloc(sizeof *sp); + chknull(sp); + memset(sp, 0, sizeof *sp); + + if (!ccsid) /* Do not attempt with current job CCSID. */ + set_iconv_open_error(sp->c_fromUTF8); + else { + sp->c_fromUTF8 = + iconv_open_ccsid(ccsid, C_UTF8_CCSID, 0); + + if (iconv_open_error(sp->c_fromUTF8) == -1) + fprintf(stderr, + "Cannot convert into CCSID %u: ignored\n", + ccsid); + } + + sp->c_ccsid = ccsid; + sp->c_mibenum = mibenum; + sp->c_next = chset_list; + chset_list = sp; + } + + xmlXPathFreeObject(obj); + + /** + *** Enter aliases. + **/ + + for (sp = chset_list; sp; sp = sp->c_next) { + strcpy(symbuf, utf8_ibm_); + utf8_utostr(symbuf + 4, sp->c_ccsid); + nfaenter(symbuf, -1, sp); + strcpy(symbuf, utf8_IBMCCSID); + utf8_utostrpad(symbuf + 8, sp->c_ccsid, -5); + nfaenter(symbuf, 13, sp); /* Not null-terminated. */ + + if (sp->c_mibenum) { + strcpy(symbuf, utf8_iana_); + utf8_utostr(symbuf + 5, sp->c_mibenum); + nfaenter(symbuf, -1, sp); + } + + xmlXPathRegisterVariable(ctxt, utf8_C, + xmlXPathNewFloat((double) sp->c_ccsid)); + obj = xmlXPathEval(utf8_aliastext, ctxt); + + if (!obj || obj->type != XPATH_NODESET) { + fprintf(stderr, "getAlias failed in %s\n", filename); + exit(1); + } + + if (obj->nodesetval && + obj->nodesetval->nodeTab && obj->nodesetval->nodeNr) { + for (i = 0; i < obj->nodesetval->nodeNr; i++) { + node = obj->nodesetval->nodeTab[i]; + nfaenter(node->content, -1, sp); + } + } + + xmlXPathFreeObject(obj); + } + + xmlXPathFreeContext(ctxt); + xmlFreeDoc(doc); +} + + +unsigned int +columnPosition(xmlXPathContextPtr ctxt, const xmlChar * header) + +{ + xmlXPathObjectPtr obj; + unsigned int res = 0; + + xmlXPathRegisterVariable(ctxt, utf8_T, xmlXPathNewString(header)); + obj = xmlXPathEval(utf8_headerpos, ctxt); + + if (obj) { + if (obj->type == XPATH_NUMBER) + res = (unsigned int) obj->floatval; + + xmlXPathFreeObject(obj); + } + + return res; +} + + +void +read_iana(const char * filename) + +{ + xmlDocPtr doc; + xmlXPathContextPtr ctxt; + xmlXPathObjectPtr obj1; + xmlXPathObjectPtr obj2; + xmlNodePtr node; + int prefnamecol; + int namecol; + int mibenumcol; + int aliascol; + int mibenum; + t_chset * sp; + int n; + int i; + + doc = loadXMLFile(filename); + + if (!doc) { + fprintf(stderr, "Cannot load file %s\n", filename); + exit(1); + } + + ctxt = xmlXPathNewContext(doc); + +#ifndef OLDXML + xmlXPathRegisterNs(ctxt, utf8_html, utf8_htmluri); +#endif + + obj1 = xmlXPathEval(utf8_tablerows, ctxt); + + if (!obj1 || obj1->type != XPATH_NODESET || !obj1->nodesetval || + !obj1->nodesetval->nodeTab || obj1->nodesetval->nodeNr <= 1) { + fprintf(stderr, "No data in %s\n", filename); + exit(1); + } + + /** + *** Identify columns. + **/ + + xmlXPathSetContextNode(obj1->nodesetval->nodeTab[0], ctxt); + prefnamecol = columnPosition(ctxt, utf8_Pref_MIME_Name); + namecol = columnPosition(ctxt, utf8_Name); + mibenumcol = columnPosition(ctxt, utf8_MIBenum); + aliascol = columnPosition(ctxt, utf8_Aliases); + + if (!prefnamecol || !namecol || !mibenumcol || !aliascol) { + fprintf(stderr, "Key column(s) missing in %s\n", filename); + exit(1); + } + + xmlXPathRegisterVariable(ctxt, utf8_P, + xmlXPathNewFloat((double) prefnamecol)); + xmlXPathRegisterVariable(ctxt, utf8_N, + xmlXPathNewFloat((double) namecol)); + xmlXPathRegisterVariable(ctxt, utf8_M, + xmlXPathNewFloat((double) mibenumcol)); + xmlXPathRegisterVariable(ctxt, utf8_A, + xmlXPathNewFloat((double) aliascol)); + + /** + *** Process each row. + **/ + + for (n = 1; n < obj1->nodesetval->nodeNr; n++) { + xmlXPathSetContextNode(obj1->nodesetval->nodeTab[n], ctxt); + + /** + *** Get the MIBenum from current row. + */ + + obj2 = xmlXPathEval(utf8_getmibenum, ctxt); + + if (!obj2 || obj2->type != XPATH_NUMBER) { + fprintf(stderr, "get MIBenum failed at row %u\n", n); + exit(1); + } + + if (xmlXPathIsNaN(obj2->floatval) || + obj2->floatval < 1.0 || obj2->floatval > 65535.0 || + ((unsigned int) obj2->floatval) != obj2->floatval) { + fprintf(stderr, "invalid MIBenum at row %u\n", n); + xmlXPathFreeObject(obj2); + continue; + } + + mibenum = obj2->floatval; + xmlXPathFreeObject(obj2); + + /** + *** Search the associations for a corresponding CCSID. + **/ + + for (sp = chset_list; sp; sp = sp->c_next) + if (sp->c_mibenum == mibenum) + break; + + if (!sp) + continue; /* No CCSID for this MIBenum. */ + + /** + *** Process preferred MIME name. + **/ + + obj2 = xmlXPathEval(utf8_getprefname, ctxt); + + if (!obj2 || obj2->type != XPATH_STRING) { + fprintf(stderr, + "get Preferred_MIME_Name failed at row %u\n", n); + exit(1); + } + + if (obj2->stringval && obj2->stringval[0]) + nfaenter(obj2->stringval, -1, sp); + + xmlXPathFreeObject(obj2); + + /** + *** Process name. + **/ + + obj2 = xmlXPathEval(utf8_getname, ctxt); + + if (!obj2 || obj2->type != XPATH_STRING) { + fprintf(stderr, "get name failed at row %u\n", n); + exit(1); + } + + if (obj2->stringval && obj2->stringval[0]) + nfaenter(obj2->stringval, -1, sp); + + xmlXPathFreeObject(obj2); + + /** + *** Process aliases. + **/ + + obj2 = xmlXPathEval(utf8_getaliases, ctxt); + + if (!obj2 || obj2->type != XPATH_NODESET) { + fprintf(stderr, "get aliases failed at row %u\n", n); + exit(1); + } + + if (obj2->nodesetval && obj2->nodesetval->nodeTab) + for (i = 0; i < obj2->nodesetval->nodeNr; i++) { + node = obj2->nodesetval->nodeTab[i]; + + if (node && node->content && node->content[0]) + nfaenter(node->content, -1, sp); + } + + xmlXPathFreeObject(obj2); + } + + xmlXPathFreeObject(obj1); + xmlXPathFreeContext(ctxt); + xmlFreeDoc(doc); +} + + +t_powerset * closureset(t_powerset * dst, t_powerset * src); + + +t_powerset * +closure(t_powerset * dst, t_state * src) + +{ + t_transition * t; + unsigned int oldcard; + + if (src->s_nfastates) { + /** + *** Is a DFA state: return closure of set of equivalent + *** NFA states. + **/ + + return closureset(dst, src->s_nfastates); + } + + /** + *** Compute closure of NFA state. + **/ + + dst = set_include(dst, src); + + for (t = src->s_forward; t; t = t->t_forwnext) + if (t->t_token == EPSILON) { + oldcard = dst->p_card; + dst = set_include(dst, t->t_to); + + if (oldcard != dst->p_card) + dst = closure(dst, t->t_to); + } + + return dst; +} + + +t_powerset * +closureset(t_powerset * dst, t_powerset * src) + +{ + unsigned int i; + + for (i = 0; i < src->p_card; i++) + dst = closure(dst, (t_state *) src->p_set[i]); + + return dst; +} + + +t_state * +get_dfa_state(t_state * * stack, + t_powerset * nfastates, xmlHashTablePtr sethash) + +{ + t_state * s; + + if (s = hash_get(sethash, nfastates->p_set, + nfastates->p_card * sizeof nfastates->p_set[0])) { + /** + *** DFA state already present. + *** Release the NFA state set and return + *** the address of the old DFA state. + **/ + + free((char *) nfastates); + return s; + } + + /** + *** Build the new state. + **/ + + s = newstate(); + s->s_nfastates = nfastates; + s->s_next = dfa_states; + dfa_states = s; + s->s_stack = *stack; + *stack = s; + + /** + *** Enter it in hash. + **/ + + if (hash_add(sethash, nfastates->p_set, + nfastates->p_card * sizeof nfastates->p_set[0], s)) + chknull(NULL); /* Memory allocation error. */ + + return s; +} + + +int +transcmp(const void * p1, const void * p2) + +{ + t_transition * t1; + t_transition * t2; + + t1 = *(t_transition * *) p1; + t2 = *(t_transition * *) p2; + return ((int) t1->t_token) - ((int) t2->t_token); +} + + +void +builddfa(void) + +{ + t_powerset * transset; + t_powerset * stateset; + t_state * s; + t_state * s2; + unsigned int n; + unsigned int i; + unsigned int token; + t_transition * t; + t_state * stack; + xmlHashTablePtr sethash; + unsigned int nst; + + transset = set_include(NULL, NULL); + chknull(transset); + stateset = set_include(NULL, NULL); + chknull(stateset); + sethash = xmlHashCreate(1); + chknull(sethash); + dfa_states = (t_state *) NULL; + stack = (t_state *) NULL; + nst = 0; + + /** + *** Build the DFA initial state. + **/ + + get_dfa_state(&stack, closure(NULL, initial_state), sethash); + + /** + *** Build the other DFA states by looking at each + *** possible transition from stacked DFA states. + **/ + + do { + if (!(++nst % 100)) + fprintf(stderr, "%u DFA states\n", nst); + + s = stack; + stack = s->s_stack; + s->s_stack = (t_state *) NULL; + + /** + *** Build a set of all non-epsilon transitions from this + *** state. + **/ + + transset->p_card = 0; + + for (n = 0; n < s->s_nfastates->p_card; n++) { + s2 = s->s_nfastates->p_set[n]; + + for (t = s2->s_forward; t; t = t->t_forwnext) + if (t->t_token != EPSILON) { + transset = set_include(transset, t); + chknull(transset); + } + } + + /** + *** Sort transitions by token. + **/ + + qsort(transset->p_set, transset->p_card, + sizeof transset->p_set[0], transcmp); + + /** + *** Process all transitions, grouping them by token. + **/ + + stateset->p_card = 0; + token = EPSILON; + + for (i = 0; i < transset->p_card; i++) { + t = transset->p_set[i]; + + if (token != t->t_token) { + if (stateset->p_card) { + /** + *** Get the equivalent DFA state + *** and create transition. + **/ + + newtransition(token, s, + get_dfa_state(&stack, + closureset(NULL, stateset), + sethash)); + stateset->p_card = 0; + } + + token = t->t_token; + } + + stateset = set_include(stateset, t->t_to); + } + + if (stateset->p_card) + newtransition(token, s, get_dfa_state(&stack, + closureset(NULL, stateset), sethash)); + } while (stack); + + free((char *) transset); + free((char *) stateset); + xmlHashFree(sethash, NULL); + + /** + *** Reverse the state list to get the initial state first, + *** check for ambiguous prefixes, determine final states, + *** destroy NFA state sets. + **/ + + while (s = dfa_states) { + dfa_states = s->s_next; + s->s_next = stack; + stack = s; + stateset = s->s_nfastates; + s->s_nfastates = (t_powerset *) NULL; + + for (n = 0; n < stateset->p_card; n++) { + s2 = (t_state *) stateset->p_set[n]; + + if (s2->s_final) { + if (s->s_final && s->s_final != s2->s_final) + fprintf(stderr, + "Ambiguous name for CCSIDs %u/%u\n", + s->s_final->c_ccsid, + s2->s_final->c_ccsid); + + s->s_final = s2->s_final; + } + } + + free((char *) stateset); + } + + dfa_states = stack; +} + + +void +deletenfa(void) + +{ + t_transition * t; + t_state * s; + t_state * u; + t_state * stack; + + stack = initial_state; + stack->s_stack = (t_state *) NULL; + + while ((s = stack)) { + stack = s->s_stack; + + while ((t = s->s_forward)) { + u = t->t_to; + unlink_transition(t); + free((char *) t); + + if (!u->s_backward) { + u->s_stack = stack; + stack = u; + } + } + + free((char *) s); + } +} + + +t_stategroup * +newgroup(void) + +{ + t_stategroup * g; + + g = (t_stategroup *) malloc(sizeof *g); + chknull(g); + memset((char *) g, 0, sizeof *g); + g->g_id = groupid++; + return g; +} + + +void +optimizedfa(void) + +{ + unsigned int i; + xmlHashTablePtr h; + t_state * s1; + t_state * s2; + t_state * finstates; + t_state * * sp; + t_stategroup * g1; + t_stategroup * g2; + t_stategroup * ghead; + t_transition * t1; + t_transition * t2; + unsigned int done; + unsigned int startgroup; + unsigned int gtrans[1 << (8 * sizeof(unsigned char))]; + + /** + *** Reduce DFA state count. + **/ + + groupid = 0; + ghead = (t_stategroup *) NULL; + + /** + *** First split: non-final and each distinct final states. + **/ + + h = xmlHashCreate(4); + chknull(h); + + for (s1 = dfa_states; s1; s1 = s1->s_next) { + if (!(g1 = hash_get(h, &s1->s_final, sizeof s1->s_final))) { + g1 = newgroup(); + g1->g_next = ghead; + ghead = g1; + + if (hash_add(h, &s1->s_final, sizeof s1->s_final, g1)) + chknull(NULL); /* Memory allocation error. */ + } + + s1->s_index = g1->g_id; + s1->s_stack = g1->g_member; + g1->g_member = s1; + } + + xmlHashFree(h, NULL); + + /** + *** Subsequent splits: states that have the same forward + *** transition tokens to states in the same group. + **/ + + do { + done = 1; + + for (g2 = ghead; g2; g2 = g2->g_next) { + s1 = g2->g_member; + + if (!s1->s_stack) + continue; + + h = xmlHashCreate(1); + chknull(h); + + /** + *** Build the group transition map. + **/ + + memset((char *) gtrans, ~0, sizeof gtrans); + + for (t1 = s1->s_forward; t1; t1 = t1->t_forwnext) + gtrans[t1->t_token] = t1->t_to->s_index; + + if (hash_add(h, gtrans, sizeof gtrans, g2)) + chknull(NULL); + + /** + *** Process other states in group. + **/ + + sp = &s1->s_stack; + s1 = *sp; + + do { + *sp = s1->s_stack; + + /** + *** Build the transition map. + **/ + + memset((char *) gtrans, ~0, sizeof gtrans); + + for (t1 = s1->s_forward; + t1; t1 = t1->t_forwnext) + gtrans[t1->t_token] = t1->t_to->s_index; + + g1 = hash_get(h, gtrans, sizeof gtrans); + + if (g1 == g2) { + *sp = s1; + sp = &s1->s_stack; + } + else { + if (!g1) { + g1 = newgroup(); + g1->g_next = ghead; + ghead = g1; + + if (hash_add(h, gtrans, + sizeof gtrans, g1)) + chknull(NULL); + } + + s1->s_index = g1->g_id; + s1->s_stack = g1->g_member; + g1->g_member = s1; + done = 0; + } + } while (s1 = *sp); + + xmlHashFree(h, NULL); + } + } while (!done); + + /** + *** Establish group leaders and remap transitions. + **/ + + startgroup = dfa_states->s_index; + + for (g1 = ghead; g1; g1 = g1->g_next) + for (s1 = g1->g_member->s_stack; s1; s1 = s1->s_stack) + for (t1 = s1->s_backward; t1; t1 = t2) { + t2 = t1->t_backnext; + link_transition(t1, NULL, g1->g_member); + } + + /** + *** Remove redundant states and transitions. + **/ + + for (g1 = ghead; g1; g1 = g1->g_next) { + g1->g_member->s_next = (t_state *) NULL; + + while ((s1 = g1->g_member->s_stack)) { + g1->g_member->s_stack = s1->s_stack; + + for (t1 = s1->s_forward; t1; t1 = t2) { + t2 = t1->t_forwnext; + unlink_transition(t1); + free((char *) t1); + } + + free((char *) s1); + } + } + + /** + *** Remove group support and relink DFA states. + **/ + + dfa_states = (t_state *) NULL; + s2 = (t_state *) NULL; + finstates = (t_state *) NULL; + + while (g1 = ghead) { + ghead = g1->g_next; + s1 = g1->g_member; + + if (g1->g_id == startgroup) + dfa_states = s1; /* Keep start state first. */ + else if (s1->s_final) { /* Then final states. */ + s1->s_next = finstates; + finstates = s1; + } + else { /* Finish with non-final states. */ + s1->s_next = s2; + s2 = s1; + } + + free((char *) g1); + } + + for (dfa_states->s_next = finstates; finstates->s_next;) + finstates = finstates->s_next; + + finstates->s_next = s2; +} + + +const char * +inttype(unsigned long max) + +{ + int i; + + for (i = 0; max; i++) + max >>= 1; + + if (i > 8 * sizeof(unsigned int)) + return "unsigned long"; + + if (i > 8 * sizeof(unsigned short)) + return "unsigned int"; + + if (i > 8 * sizeof(unsigned char)) + return "unsigned short"; + + return "unsigned char"; +} + + +listids(FILE * fp) + +{ + unsigned int pos; + t_chset * cp; + t_symlist * lp; + char * srcp; + char * dstp; + size_t srcc; + size_t dstc; + char buf[80]; + + fprintf(fp, "/**\n*** CCSID For arg Recognized name.\n"); + pos = 0; + + for (cp = chset_list; cp; cp = cp->c_next) { + if (pos) { + fprintf(fp, "\n"); + pos = 0; + } + + if (!cp->c_names) + continue; + + pos = fprintf(fp, "*** %5u %c ", cp->c_ccsid, + iconv_open_error(cp->c_fromUTF8)? ' ': 'X'); + + for (lp = cp->c_names; lp; lp = lp->l_next) { + srcp = (char *) lp->l_symbol; + srcc = strlen(srcp); + dstp = buf; + dstc = sizeof buf; + iconv(utf82job, &srcp, &srcc, &dstp, &dstc); + srcc = dstp - buf; + + if (pos + srcc > 79) { + fprintf(fp, "\n***%22c", ' '); + pos = 25; + } + + pos += fprintf(fp, " %.*s", srcc, buf); + } + } + + if (pos) + fprintf(fp, "\n"); + + fprintf(fp, "**/\n\n"); +} + + +void +generate(FILE * fp) + +{ + unsigned int nstates; + unsigned int ntrans; + unsigned int maxfinal; + t_state * s; + t_transition * t; + unsigned int i; + unsigned int pos; + char * ns; + + /** + *** Assign indexes to states and transitions. + **/ + + nstates = 0; + ntrans = 0; + maxfinal = 0; + + for (s = dfa_states; s; s = s->s_next) { + s->s_index = nstates++; + + if (s->s_final) + maxfinal = nstates; + + for (t = s->s_forward; t; t = t->t_forwnext) + t->t_index = ntrans++; + } + + fprintf(fp, + "/**\n*** %u states, %u finals, %u transitions.\n**/\n\n", + nstates, maxfinal, ntrans); + fprintf(stderr, "%u states, %u finals, %u transitions.\n", + nstates, maxfinal, ntrans); + + /** + *** Generate types. + **/ + + fprintf(fp, "typedef unsigned short t_ccsid;\n"); + fprintf(fp, "typedef %-23s t_staterange;\n", inttype(nstates)); + fprintf(fp, "typedef %-23s t_transrange;\n\n", inttype(ntrans)); + + /** + *** Generate first transition index for each state. + **/ + + fprintf(fp, "static t_transrange trans_array[] = {\n"); + pos = 0; + ntrans = 0; + + for (s = dfa_states; s; s = s->s_next) { + pos += fprintf(fp, " %u,", ntrans); + + if (pos > 72) { + fprintf(fp, "\n"); + pos = 0; + } + + for (t = s->s_forward; t; t = t->t_forwnext) + ntrans++; + } + + fprintf(fp, " %u\n};\n\n", ntrans); + + /** + *** Generate final state info. + **/ + + fprintf(fp, "static t_ccsid final_array[] = {\n"); + pos = 0; + ns =""; + i = 0; + + for (s = dfa_states; s && i++ < maxfinal; s = s->s_next) { + pos += fprintf(fp, "%s", ns); + ns = ","; + + if (pos > 72) { + fprintf(fp, "\n"); + pos = 0; + } + + pos += fprintf(fp, " %u", + s->s_final? s->s_final->c_ccsid + 1: 0); + } + + fprintf(fp, "\n};\n\n"); + + /** + *** Generate goto table. + **/ + + fprintf(fp, "static t_staterange goto_array[] = {\n"); + pos = 0; + + for (s = dfa_states; s; s = s->s_next) + for (t = s->s_forward; t; t = t->t_forwnext) { + pos += fprintf(fp, " %u,", t->t_to->s_index); + + if (pos > 72) { + fprintf(fp, "\n"); + pos = 0; + } + } + + fprintf(fp, " %u\n};\n\n", nstates); + + /** + *** Generate transition label table. + **/ + + fprintf(fp, "static unsigned char label_array[] = {\n"); + pos = 0; + ns =""; + + for (s = dfa_states; s; s = s->s_next) + for (t = s->s_forward; t; t = t->t_forwnext) { + pos += fprintf(fp, "%s", ns); + ns = ","; + + if (pos > 72) { + fprintf(fp, "\n"); + pos = 0; + } + + pos += fprintf(fp, " 0x%02X", t->t_token); + } + + fprintf(fp, "\n};\n", nstates); +} + + +main(argc, argv) +int argc; +char * * argv; + +{ + FILE * fp; + t_chset * csp; + char symbuf[20]; + + chset_list = (t_chset *) NULL; + initial_state = newstate(); + job2utf8 = iconv_open_ccsid(C_UTF8_CCSID, C_SOURCE_CCSID, 0); + utf82job = iconv_open_ccsid(C_SOURCE_CCSID, C_UTF8_CCSID, 0); + + if (argc != 4) { + fprintf(stderr, "Usage: %s ", *argv); + fprintf(stderr, " \n"); + exit(1); + } + + /** + *** Read CCSID/MIBenum associations. Define special names. + **/ + + read_assocs(argv[1]); + + /** + *** Read character set names and establish the case-independent + *** name DFA in all possible CCSIDs. + **/ + + read_iana(argv[2]); + + /** + *** Build DFA from NFA. + **/ + + builddfa(); + + /** + *** Delete NFA. + **/ + + deletenfa(); + + /** + *** Minimize the DFA state count. + **/ + + optimizedfa(); + + /** + *** Generate the table. + **/ + + fp = fopen(argv[3], "w+"); + + if (!fp) { + perror(argv[3]); + exit(1); + } + + fprintf(fp, "/**\n"); + fprintf(fp, "*** Character set names table.\n"); + fprintf(fp, "*** Generated by program BLDCSNDFA from"); + fprintf(fp, " IANA character set assignment file\n"); + fprintf(fp, "*** and CCSID/MIBenum equivalence file.\n"); + fprintf(fp, "*** *** Do not edit by hand ***\n"); + fprintf(fp, "**/\n\n"); + listids(fp); + generate(fp); + + if (ferror(fp)) { + perror(argv[3]); + fclose(fp); + exit(1); + } + + fclose(fp); + iconv_close(job2utf8); + iconv_close(utf82job); + exit(0); +} diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/ccsid_mibenum.dtd b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/ccsid_mibenum.dtd new file mode 100644 index 0000000000000000000000000000000000000000..0c834eca6629d77a10d0a1f04a5c81fca8a0017c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/ccsid_mibenum.dtd @@ -0,0 +1,15 @@ + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/ccsid_mibenum.xml b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/ccsid_mibenum.xml new file mode 100644 index 0000000000000000000000000000000000000000..1b924732aa8a89e9f5bf4815dd81a8140215310e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/ccsid_mibenum.xml @@ -0,0 +1,270 @@ + + + + + + + EBCDIC + + + + + + + + + + + + + + ASCII + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + EUC-TH> + eucTH + csEUCTH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UTF16-BE + UTF16BE + UTF-16-BE + + + UTF16-LE + UTF16LE + UTF-16-LE + + + UTF8 + + + UTF32-BE + UTF32BE + UTF-32-BE + + + UTF32-LE + UTF32LE + UTF-32-LE + + + + + + + + + + + + + + + + + + korean + + + + + + + + EUC-CN + + + + + + + + + + + + + + + + + + + + + + + + + + + + + chinese + + + + + + + + + + + + + UCS-2 + UCS2 + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/character-sets.xhtml b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/character-sets.xhtml new file mode 100644 index 0000000000000000000000000000000000000000..e1d5a3b280de558a9899be6245fe9dd799f5832e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/bldcsndfa/character-sets.xhtml @@ -0,0 +1,3077 @@ + + + + + + + + Character Sets + + +

Character Sets

+
+
Last Updated
+
2013-01-23
+
Registration Procedure(s)
+
+
Expert Review
+
+
Expert(s)
+
+
Primary Expert Ned Freed and Secondary Expert Martin Dürst
+
+
Reference
+
[RFC2978]
+
Note
+
+
These are the official names for character sets that may be used in
+the Internet and may be referred to in Internet documentation.  These
+names are expressed in ANSI_X3.4-1968 which is commonly called
+US-ASCII or simply ASCII.  The character set most commonly use in the
+Internet and used especially in protocol standards is US-ASCII, this
+is strongly encouraged.  The use of the name US-ASCII is also
+encouraged.
+
+The character set names may be up to 40 characters taken from the
+printable characters of US-ASCII.  However, no distinction is made
+between use of upper and lower case letters.
+
+The MIBenum value is a unique value for use in MIBs to identify coded
+character sets.
+
+The value space for MIBenum values has been divided into three
+regions. The first region (3-999) consists of coded character sets
+that have been standardized by some standard setting organization.
+This region is intended for standards that do not have subset
+implementations. The second region (1000-1999) is for the Unicode and
+ISO/IEC 10646 coded character sets together with a specification of a
+(set of) sub-repertoires that may occur.  The third region (>1999) is
+intended for vendor specific coded character sets.
+
+        Assigned MIB enum Numbers
+        -------------------------
+        0-2             Reserved
+        3-999           Set By Standards Organizations
+        1000-1999       Unicode / 10646
+        2000-2999       Vendor
+
+The aliases that start with "cs" have been added for use with the
+IANA-CHARSET-MIB as originally defined in [RFC3808], and as currently
+maintained by IANA at [IANA registry ianacharset-mib].
+Note that the ianacharset-mib needs to be kept in sync with this
+registry.  These aliases that start with "cs" contain the standard
+numbers along with suggestive names in order to facilitate applications
+that want to display the names in user interfaces.  The "cs" stands
+for character set and is provided for applications that need a lower
+case first letter but want to use mixed case thereafter that cannot
+contain any special characters, such as underbar ("_") and dash ("-").
+
+If the character set is from an ISO standard, its cs alias is the ISO
+standard number or name.  If the character set is not from an ISO
+standard, but is registered with ISO (IPSJ/ITSCJ is the current ISO
+Registration Authority), the ISO Registry number is specified as
+ISOnnn followed by letters suggestive of the name or standards number
+of the code set.  When a national or international standard is
+revised, the year of revision is added to the cs alias of the new
+character set entry in the IANA Registry in order to distinguish the
+revised character set from the original character set.
+
+
Alternative Formats
+
+
Plain text
+
+
+
+
Alternative Formats
+
+
CSV
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Preferred MIME NameNameMIBenumSourceReferenceAliasesNote
US-ASCIIUS-ASCII3ANSI X3.4-1986[RFC2046]iso-ir-6
ANSI_X3.4-1968
ANSI_X3.4-1986
ISO_646.irv:1991
ISO646-US
US-ASCII
us
IBM367
cp367
csASCII
ISO-8859-1ISO_8859-1:19874 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-100
ISO_8859-1
ISO-8859-1
latin1
l1
IBM819
CP819
csISOLatin1
ISO-8859-2ISO_8859-2:19875 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-101
ISO_8859-2
ISO-8859-2
latin2
l2
csISOLatin2
ISO-8859-3ISO_8859-3:19886 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-109
ISO_8859-3
ISO-8859-3
latin3
l3
csISOLatin3
ISO-8859-4ISO_8859-4:19887 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-110
ISO_8859-4
ISO-8859-4
latin4
l4
csISOLatin4
ISO-8859-5ISO_8859-5:19888 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-144
ISO_8859-5
ISO-8859-5
cyrillic
csISOLatinCyrillic
ISO-8859-6ISO_8859-6:19879 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-127
ISO_8859-6
ISO-8859-6
ECMA-114
ASMO-708
arabic
csISOLatinArabic
ISO-8859-7ISO_8859-7:198710 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1947][RFC1345][Keld_Simonsen]iso-ir-126
ISO_8859-7
ISO-8859-7
ELOT_928
ECMA-118
greek
greek8
csISOLatinGreek
ISO-8859-8ISO_8859-8:198811 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-138
ISO_8859-8
ISO-8859-8
hebrew
csISOLatinHebrew
ISO-8859-9ISO_8859-9:198912 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-148
ISO_8859-9
ISO-8859-9
latin5
l5
csISOLatin5
ISO-8859-10ISO-8859-1013 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-157
l6
ISO_8859-10:1992
csISOLatin6
latin6
ISO_6937-2-add14 + [ISO-IR: International Register of Escape Sequences] and ISO 6937-2:1983
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-142
csISOTextComm
JIS_X020115JIS X 0201-1976. One byte only, this is equivalent to +JIS/Roman (similar to ASCII) plus eight-bit half-width +Katakana[RFC1345][Keld_Simonsen]X0201
csHalfWidthKatakana
JIS_Encoding16JIS X 0202-1991. Uses ISO 2022 escape sequences to +shift code sets as documented in JIS X 0202-1991.csJISEncoding
Shift_JISShift_JIS17This charset is an extension of csHalfWidthKatakana by +adding graphic characters in JIS X 0208. The CCS's are +JIS X0201:1997 and JIS X0208:1997. The +complete definition is shown in Appendix 1 of JIS +X0208:1997. +This charset can be used for the top-level media type "text".MS_Kanji
csShiftJIS
EUC-JPExtended_UNIX_Code_Packed_Format_for_Japanese18Standardized by OSF, UNIX International, and UNIX Systems +Laboratories Pacific. Uses ISO 2022 rules to select +code set 0: US-ASCII (a single 7-bit byte set) +code set 1: JIS X0208-1990 (a double 8-bit byte set) +restricted to A0-FF in both bytes +code set 2: Half Width Katakana (a single 7-bit byte set) +requiring SS2 as the character prefix +code set 3: JIS X0212-1990 (a double 7-bit byte set) +restricted to A0-FF in both bytes +requiring SS3 as the character prefixcsEUCPkdFmtJapanese
EUC-JP
Extended_UNIX_Code_Fixed_Width_for_Japanese19Used in Japan. Each character is 2 octets. +code set 0: US-ASCII (a single 7-bit byte set) +1st byte = 00 +2nd byte = 20-7E +code set 1: JIS X0208-1990 (a double 7-bit byte set) +restricted to A0-FF in both bytes +code set 2: Half Width Katakana (a single 7-bit byte set) +1st byte = 00 +2nd byte = A0-FF +code set 3: JIS X0212-1990 (a double 7-bit byte set) +restricted to A0-FF in +the first byte +and 21-7E in the second bytecsEUCFixWidJapanese
BS_473020 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-4
ISO646-GB
gb
uk
csISO4UnitedKingdom
SEN_850200_C21 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-11
ISO646-SE2
se2
csISO11SwedishForNames
IT22 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-15
ISO646-IT
csISO15Italian
ES23 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-17
ISO646-ES
csISO17Spanish
DIN_6600324 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-21
de
ISO646-DE
csISO21German
NS_4551-125 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-60
ISO646-NO
no
csISO60DanishNorwegian
csISO60Norwegian1
NF_Z_62-01026 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-69
ISO646-FR
fr
csISO69French
ISO-10646-UTF-127Universal Transfer Format (1), this is the multibyte +encoding, that subsets ASCII-7. It does not have byte +ordering issues.csISO10646UTF1
ISO_646.basic:198328 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]ref
csISO646basic1983
INVARIANT29[RFC1345][Keld_Simonsen]csINVARIANT
ISO_646.irv:198330 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-2
irv
csISO2IntlRefVersion
NATS-SEFI31 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-8-1
csNATSSEFI
NATS-SEFI-ADD32 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-8-2
csNATSSEFIADD
NATS-DANO33 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-9-1
csNATSDANO
NATS-DANO-ADD34 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-9-2
csNATSDANOADD
SEN_850200_B35 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-10
FI
ISO646-FI
ISO646-SE
se
csISO10Swedish
KS_C_5601-198736 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-149
KS_C_5601-1989
KSC_5601
korean
csKSC56011987
ISO-2022-KRISO-2022-KR37[RFC1557] (see also KS_C_5601-1987)[RFC1557][Woohyong_Choi]csISO2022KR
EUC-KREUC-KR38[RFC1557] (see also KS_C_5861-1992)[RFC1557][Woohyong_Choi]csEUCKR
ISO-2022-JPISO-2022-JP39[RFC1468] (see also [RFC2237])[RFC1468][Jun_Murai]csISO2022JP
ISO-2022-JP-2ISO-2022-JP-240 + [RFC1554] + [RFC1554][Masataka_Ohta]csISO2022JP2
JIS_C6220-1969-jp41 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]JIS_C6220-1969
iso-ir-13
katakana
x0201-7
csISO13JISC6220jp
JIS_C6220-1969-ro42 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-14
jp
ISO646-JP
csISO14JISC6220ro
PT43 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-16
ISO646-PT
csISO16Portuguese
greek7-old44 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-18
csISO18Greek7Old
latin-greek45 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-19
csISO19LatinGreek
NF_Z_62-010_(1973)46 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-25
ISO646-FR1
csISO25French
Latin-greek-147 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-27
csISO27LatinGreek1
ISO_542748 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-37
csISO5427Cyrillic
JIS_C6226-197849 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-42
csISO42JISC62261978
BS_viewdata50 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-47
csISO47BSViewdata
INIS51 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-49
csISO49INIS
INIS-852 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-50
csISO50INIS8
INIS-cyrillic53 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-51
csISO51INISCyrillic
ISO_5427:198154 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-54
ISO5427Cyrillic1981
csISO54271981
ISO_5428:198055 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-55
csISO5428Greek
GB_1988-8056 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-57
cn
ISO646-CN
csISO57GB1988
GB_2312-8057 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-58
chinese
csISO58GB231280
NS_4551-258 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]ISO646-NO2
iso-ir-61
no2
csISO61Norwegian2
videotex-suppl59 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-70
csISO70VideotexSupp1
PT260 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-84
ISO646-PT2
csISO84Portuguese2
ES261 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-85
ISO646-ES2
csISO85Spanish2
MSZ_7795.362 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-86
ISO646-HU
hu
csISO86Hungarian
JIS_C6226-198363 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-87
x0208
JIS_X0208-1983
csISO87JISX0208
greek764 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-88
csISO88Greek7
ASMO_44965 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]ISO_9036
arabic7
iso-ir-89
csISO89ASMO449
iso-ir-9066 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]csISO90
JIS_C6229-1984-a67 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-91
jp-ocr-a
csISO91JISC62291984a
JIS_C6229-1984-b68 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-92
ISO646-JP-OCR-B
jp-ocr-b
csISO92JISC62991984b
JIS_C6229-1984-b-add69 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-93
jp-ocr-b-add
csISO93JIS62291984badd
JIS_C6229-1984-hand70 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-94
jp-ocr-hand
csISO94JIS62291984hand
JIS_C6229-1984-hand-add71 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-95
jp-ocr-hand-add
csISO95JIS62291984handadd
JIS_C6229-1984-kana72 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-96
csISO96JISC62291984kana
ISO_2033-198373 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-98
e13b
csISO2033
ANSI_X3.110-198374 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-99
CSA_T500-1983
NAPLPS
csISO99NAPLPS
T.61-7bit75 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-102
csISO102T617bit
T.61-8bit76 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]T.61
iso-ir-103
csISO103T618bit
ECMA-cyrillic77[ISO registry] + (formerly [ECMA + registry])iso-ir-111
KOI8-E
csISO111ECMACyrillic
CSA_Z243.4-1985-178 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-121
ISO646-CA
csa7-1
csa71
ca
csISO121Canadian1
CSA_Z243.4-1985-279 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-122
ISO646-CA2
csa7-2
csa72
csISO122Canadian2
CSA_Z243.4-1985-gr80 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-123
csISO123CSAZ24341985gr
ISO-8859-6-EISO_8859-6-E81 + [RFC1556] + [RFC1556][IANA]csISO88596E
ISO-8859-6-E
ISO-8859-6-IISO_8859-6-I82 + [RFC1556] + [RFC1556][IANA]csISO88596I
ISO-8859-6-I
T.101-G283 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-128
csISO128T101G2
ISO-8859-8-EISO_8859-8-E84 + [RFC1556] + [RFC1556][Hank_Nussbacher]csISO88598E
ISO-8859-8-E
ISO-8859-8-IISO_8859-8-I85 + [RFC1556] + [RFC1556][Hank_Nussbacher]csISO88598I
ISO-8859-8-I
CSN_36910386 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-139
csISO139CSN369103
JUS_I.B1.00287 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-141
ISO646-YU
js
yu
csISO141JUSIB1002
IEC_P27-188 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-143
csISO143IECP271
JUS_I.B1.003-serb89 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-146
serbian
csISO146Serbian
JUS_I.B1.003-mac90 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]macedonian
iso-ir-147
csISO147Macedonian
greek-ccitt91 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-150
csISO150
csISO150GreekCCITT
NC_NC00-10:8192 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]cuba
iso-ir-151
ISO646-CU
csISO151Cuba
ISO_6937-2-2593 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-152
csISO6937Add
GOST_19768-7494 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]ST_SEV_358-88
iso-ir-153
csISO153GOST1976874
ISO_8859-supp95 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-154
latin1-2-5
csISO8859Supp
ISO_10367-box96 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]iso-ir-155
csISO10367Box
latin-lap97 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]lap
iso-ir-158
csISO158Lap
JIS_X0212-199098 + [ISO-IR: International Register of Escape Sequences]
+ Note: The current registration authority is IPSJ/ITSCJ, Japan. +
[RFC1345][Keld_Simonsen]x0212
iso-ir-159
csISO159JISX02121990
DS_208999Danish Standard, DS 2089, February 1974[RFC1345][Keld_Simonsen]DS2089
ISO646-DK
dk
csISO646Danish
us-dk100[RFC1345][Keld_Simonsen]csUSDK
dk-us101[RFC1345][Keld_Simonsen]csDKUS
KSC5636102[RFC1345][Keld_Simonsen]ISO646-KR
csKSC5636
UNICODE-1-1-UTF-7103 + [RFC1642] + [RFC1642]csUnicode11UTF7
ISO-2022-CN104 + [RFC1922] + [RFC1922]csISO2022CN
ISO-2022-CN-EXT105 + [RFC1922] + [RFC1922]csISO2022CNEXT
UTF-8106 + [RFC3629] + [RFC3629]csUTF8
ISO-8859-13109ISO See [http://www.iana.org/assignments/charset-reg/ISO-8859-13][Vladas_Tumasonis]csISO885913
ISO-8859-14110ISO See [http://www.iana.org/assignments/charset-reg/ISO-8859-14] [Keld_Simonsen_2]iso-ir-199
ISO_8859-14:1998
ISO_8859-14
latin8
iso-celtic
l8
csISO885914
ISO-8859-15111ISO +Please see: [http://www.iana.org/assignments/charset-reg/ISO-8859-15]ISO_8859-15
Latin-9
csISO885915
ISO-8859-16112ISOiso-ir-226
ISO_8859-16:2001
ISO_8859-16
latin10
l10
csISO885916
GBK113Chinese IT Standardization Technical Committee +Please see: [http://www.iana.org/assignments/charset-reg/GBK]CP936
MS936
windows-936
csGBK
GB18030114Chinese IT Standardization Technical Committee +Please see: [http://www.iana.org/assignments/charset-reg/GB18030]csGB18030
OSD_EBCDIC_DF04_15115Fujitsu-Siemens standard mainframe EBCDIC encoding +Please see: [http://www.iana.org/assignments/charset-reg/OSD-EBCDIC-DF04-15]csOSDEBCDICDF0415
OSD_EBCDIC_DF03_IRV116Fujitsu-Siemens standard mainframe EBCDIC encoding +Please see: [http://www.iana.org/assignments/charset-reg/OSD-EBCDIC-DF03-IRV]csOSDEBCDICDF03IRV
OSD_EBCDIC_DF04_1117Fujitsu-Siemens standard mainframe EBCDIC encoding +Please see: [http://www.iana.org/assignments/charset-reg/OSD-EBCDIC-DF04-1]csOSDEBCDICDF041
ISO-11548-1118See [http://www.iana.org/assignments/charset-reg/ISO-11548-1] [Samuel_Thibault]ISO_11548-1
ISO_TR_11548-1
csISO115481
KZ-1048119See [http://www.iana.org/assignments/charset-reg/KZ-1048] [Sairan_M_Kikkarin][Alexei_Veremeev]STRK1048-2002
RK1048
csKZ1048
ISO-10646-UCS-21000the 2-octet Basic Multilingual Plane, aka Unicode +this needs to specify network byte order: the standard +does not specify (it is a 16-bit integer space)csUnicode
ISO-10646-UCS-41001the full code space. (same comment about byte order, +these are 31-bit numbers.csUCS4
ISO-10646-UCS-Basic1002ASCII subset of Unicode. Basic Latin = collection 1 +See ISO 10646, Appendix AcsUnicodeASCII
ISO-10646-Unicode-Latin11003ISO Latin-1 subset of Unicode. Basic Latin and Latin-1 +Supplement = collections 1 and 2. See ISO 10646, +Appendix A. See [RFC1815].csUnicodeLatin1
ISO-10646
ISO-10646-J-11004ISO 10646 Japanese, see [RFC1815].csUnicodeJapanese
ISO-Unicode-IBM-12611005IBM Latin-2, -3, -5, Extended Presentation Set, GCSGID: 1261csUnicodeIBM1261
ISO-Unicode-IBM-12681006IBM Latin-4 Extended Presentation Set, GCSGID: 1268csUnicodeIBM1268
ISO-Unicode-IBM-12761007IBM Cyrillic Greek Extended Presentation Set, GCSGID: 1276csUnicodeIBM1276
ISO-Unicode-IBM-12641008IBM Arabic Presentation Set, GCSGID: 1264csUnicodeIBM1264
ISO-Unicode-IBM-12651009IBM Hebrew Presentation Set, GCSGID: 1265csUnicodeIBM1265
UNICODE-1-11010 + [RFC1641] + [RFC1641]csUnicode11
SCSU1011SCSU See [http://www.iana.org/assignments/charset-reg/SCSU] [Markus_Scherer]csSCSU
UTF-71012 + [RFC2152] + [RFC2152]csUTF7
UTF-16BE1013 + [RFC2781] + [RFC2781]csUTF16BE
UTF-16LE1014 + [RFC2781] + [RFC2781]csUTF16LE
UTF-161015 + [RFC2781] + [RFC2781]csUTF16
CESU-81016 + [http://www.unicode.org/unicode/reports/tr26] + [Toby_Phipps]csCESU8
csCESU-8
UTF-321017 + [http://www.unicode.org/unicode/reports/tr19/] + [Mark_Davis]csUTF32
UTF-32BE1018 + [http://www.unicode.org/unicode/reports/tr19/] + [Mark_Davis]csUTF32BE
UTF-32LE1019 + [http://www.unicode.org/unicode/reports/tr19/] + [Mark_Davis]csUTF32LE
BOCU-11020 + [http://www.unicode.org/notes/tn6/] + [Markus_Scherer]csBOCU1
csBOCU-1
ISO-8859-1-Windows-3.0-Latin-12000Extended ISO 8859-1 Latin-1 for Windows 3.0. +PCL Symbol Set id: 9U[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csWindows30Latin1
ISO-8859-1-Windows-3.1-Latin-12001Extended ISO 8859-1 Latin-1 for Windows 3.1. +PCL Symbol Set id: 19U[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csWindows31Latin1
ISO-8859-2-Windows-Latin-22002Extended ISO 8859-2. Latin-2 for Windows 3.1. +PCL Symbol Set id: 9E[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csWindows31Latin2
ISO-8859-9-Windows-Latin-52003Extended ISO 8859-9. Latin-5 for Windows 3.1 +PCL Symbol Set id: 5T[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csWindows31Latin5
hp-roman82004LaserJet IIP Printer User's Manual, +HP part no 33471-90901, Hewlet-Packard, June 1989.[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.][RFC1345][Keld_Simonsen]roman8
r8
csHPRoman8
Adobe-Standard-Encoding2005PostScript Language Reference Manual +PCL Symbol Set id: 10J[Adobe Systems Incorporated, PostScript Language Reference +Manual, second edition, Addison-Wesley Publishing Company, +Inc., 1990.]csAdobeStandardEncoding
Ventura-US2006Ventura US. ASCII plus characters typically used in +publishing, like pilcrow, copyright, registered, trade mark, +section, dagger, and double dagger in the range A0 (hex) +to FF (hex). +PCL Symbol Set id: 14J[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csVenturaUS
Ventura-International2007Ventura International. ASCII plus coded characters similar +to Roman8. +PCL Symbol Set id: 13J[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csVenturaInternational
DEC-MCS2008VAX/VMS User's Manual, +Order Number: AI-Y517A-TE, April 1986.[RFC1345][Keld_Simonsen]dec
csDECMCS
IBM8502009IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp850
850
csPC850Multilingual
PC8-Danish-Norwegian2012PC Danish Norwegian +8-bit PC set for Danish Norwegian +PCL Symbol Set id: 11U[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csPC8DanishNorwegian
IBM8622013IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp862
862
csPC862LatinHebrew
PC8-Turkish2014PC Latin Turkish. PCL Symbol Set id: 9T[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csPC8Turkish
IBM-Symbols2015Presentation Set, CPGID: 259[IBM Corporation, "ABOUT TYPE: IBM's Technical Reference +for Core Interchange Digitized Type", Publication number +S544-3708-01]csIBMSymbols
IBM-Thai2016Presentation Set, CPGID: 838[IBM Corporation, "ABOUT TYPE: IBM's Technical Reference +for Core Interchange Digitized Type", Publication number +S544-3708-01]csIBMThai
HP-Legal2017PCL 5 Comparison Guide, Hewlett-Packard, +HP part number 5961-0510, October 1992 +PCL Symbol Set id: 1U[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csHPLegal
HP-Pi-font2018PCL 5 Comparison Guide, Hewlett-Packard, +HP part number 5961-0510, October 1992 +PCL Symbol Set id: 15U[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csHPPiFont
HP-Math82019PCL 5 Comparison Guide, Hewlett-Packard, +HP part number 5961-0510, October 1992 +PCL Symbol Set id: 8M[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csHPMath8
Adobe-Symbol-Encoding2020PostScript Language Reference Manual +PCL Symbol Set id: 5M[Adobe Systems Incorporated, PostScript Language Reference +Manual, second edition, Addison-Wesley Publishing Company, +Inc., 1990.]csHPPSMath
HP-DeskTop2021PCL 5 Comparison Guide, Hewlett-Packard, +HP part number 5961-0510, October 1992 +PCL Symbol Set id: 7J[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csHPDesktop
Ventura-Math2022PCL 5 Comparison Guide, Hewlett-Packard, +HP part number 5961-0510, October 1992 +PCL Symbol Set id: 6M[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csVenturaMath
Microsoft-Publishing2023PCL 5 Comparison Guide, Hewlett-Packard, +HP part number 5961-0510, October 1992 +PCL Symbol Set id: 6J[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]csMicrosoftPublishing
Windows-31J2024Windows Japanese. A further extension of Shift_JIS +to include NEC special characters (Row 13), NEC +selection of IBM extensions (Rows 89 to 92), and IBM +extensions (Rows 115 to 119). The CCS's are +JIS X0201:1997, JIS X0208:1997, and these extensions. +This charset can be used for the top-level media type "text", +but it is of limited or specialized use (see [RFC2278]). +PCL Symbol Set id: 19KcsWindows31J
GB2312GB23122025Chinese for People's Republic of China (PRC) mixed one byte, +two byte set: +20-7E = one byte ASCII +A1-FE = two byte PRC Kanji +See GB 2312-80 +PCL Symbol Set Id: 18CcsGB2312
Big5Big52026Chinese for Taiwan Multi-byte set. +PCL Symbol Set Id: 18TcsBig5
macintosh2027The Unicode Standard ver1.0, ISBN 0-201-56788-1, Oct 1991[RFC1345][Keld_Simonsen]mac
csMacintosh
IBM0372028IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp037
ebcdic-cp-us
ebcdic-cp-ca
ebcdic-cp-wt
ebcdic-cp-nl
csIBM037
IBM0382029IBM 3174 Character Set Ref, GA27-3831-02, March 1990[RFC1345][Keld_Simonsen]EBCDIC-INT
cp038
csIBM038
IBM2732030IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP273
csIBM273
IBM2742031IBM 3174 Character Set Ref, GA27-3831-02, March 1990[RFC1345][Keld_Simonsen]EBCDIC-BE
CP274
csIBM274
IBM2752032IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]EBCDIC-BR
cp275
csIBM275
IBM2772033IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]EBCDIC-CP-DK
EBCDIC-CP-NO
csIBM277
IBM2782034IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP278
ebcdic-cp-fi
ebcdic-cp-se
csIBM278
IBM2802035IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP280
ebcdic-cp-it
csIBM280
IBM2812036IBM 3174 Character Set Ref, GA27-3831-02, March 1990[RFC1345][Keld_Simonsen]EBCDIC-JP-E
cp281
csIBM281
IBM2842037IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP284
ebcdic-cp-es
csIBM284
IBM2852038IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP285
ebcdic-cp-gb
csIBM285
IBM2902039IBM 3174 Character Set Ref, GA27-3831-02, March 1990[RFC1345][Keld_Simonsen]cp290
EBCDIC-JP-kana
csIBM290
IBM2972040IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp297
ebcdic-cp-fr
csIBM297
IBM4202041IBM NLS RM Vol2 SE09-8002-01, March 1990, +IBM NLS RM p 11-11[RFC1345][Keld_Simonsen]cp420
ebcdic-cp-ar1
csIBM420
IBM4232042IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp423
ebcdic-cp-gr
csIBM423
IBM4242043IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp424
ebcdic-cp-he
csIBM424
IBM4372011IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp437
437
csPC8CodePage437
IBM5002044IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP500
ebcdic-cp-be
ebcdic-cp-ch
csIBM500
IBM8512045IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp851
851
csIBM851
IBM8522010IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp852
852
csPCp852
IBM8552046IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp855
855
csIBM855
IBM8572047IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp857
857
csIBM857
IBM8602048IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp860
860
csIBM860
IBM8612049IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp861
861
cp-is
csIBM861
IBM8632050IBM Keyboard layouts and code pages, PN 07G4586 June 1991[RFC1345][Keld_Simonsen]cp863
863
csIBM863
IBM8642051IBM Keyboard layouts and code pages, PN 07G4586 June 1991[RFC1345][Keld_Simonsen]cp864
csIBM864
IBM8652052IBM DOS 3.3 Ref (Abridged), 94X9575 (Feb 1987)[RFC1345][Keld_Simonsen]cp865
865
csIBM865
IBM8682053IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP868
cp-ar
csIBM868
IBM8692054IBM Keyboard layouts and code pages, PN 07G4586 June 1991[RFC1345][Keld_Simonsen]cp869
869
cp-gr
csIBM869
IBM8702055IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP870
ebcdic-cp-roece
ebcdic-cp-yu
csIBM870
IBM8712056IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP871
ebcdic-cp-is
csIBM871
IBM8802057IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp880
EBCDIC-Cyrillic
csIBM880
IBM8912058IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp891
csIBM891
IBM9032059IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp903
csIBM903
IBM9042060IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]cp904
904
csIBBM904
IBM9052061IBM 3174 Character Set Ref, GA27-3831-02, March 1990[RFC1345][Keld_Simonsen]CP905
ebcdic-cp-tr
csIBM905
IBM9182062IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP918
ebcdic-cp-ar2
csIBM918
IBM10262063IBM NLS RM Vol2 SE09-8002-01, March 1990[RFC1345][Keld_Simonsen]CP1026
csIBM1026
EBCDIC-AT-DE2064IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csIBMEBCDICATDE
EBCDIC-AT-DE-A2065IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICATDEA
EBCDIC-CA-FR2066IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICCAFR
EBCDIC-DK-NO2067IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICDKNO
EBCDIC-DK-NO-A2068IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICDKNOA
EBCDIC-FI-SE2069IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICFISE
EBCDIC-FI-SE-A2070IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICFISEA
EBCDIC-FR2071IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICFR
EBCDIC-IT2072IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICIT
EBCDIC-PT2073IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICPT
EBCDIC-ES2074IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICES
EBCDIC-ES-A2075IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICESA
EBCDIC-ES-S2076IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICESS
EBCDIC-UK2077IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICUK
EBCDIC-US2078IBM 3270 Char Set Ref Ch 10, GA27-2837-9, April 1987[RFC1345][Keld_Simonsen]csEBCDICUS
UNKNOWN-8BIT2079[RFC1428]csUnknown8BiT
MNEMONIC2080[RFC1345], also known as "mnemonic+ascii+38"[RFC1345][Keld_Simonsen]csMnemonic
MNEM2081[RFC1345], also known as "mnemonic+ascii+8200"[RFC1345][Keld_Simonsen]csMnem
VISCII2082 + [RFC1456] + [RFC1456]csVISCII
VIQR2083 + [RFC1456] + [RFC1456]csVIQR
KOI8-RKOI8-R2084[RFC1489], based on GOST-19768-74, ISO-6937/8, +INIS-Cyrillic, ISO-5427.[RFC1489]csKOI8R
HZ-GB-23122085[RFC1842], [RFC1843][RFC1843][RFC1842]
IBM8662086IBM NLDG Volume 2 (SE09-8002-03) August 1994[Rick_Pond]cp866
866
csIBM866
IBM7752087HP PCL 5 Comparison Guide (P/N 5021-0329) pp B-13, 1996[Hewlett-Packard Company, "HP PCL 5 Comparison Guide", +(P/N 5021-0329) pp B-13, 1996.]cp775
csPC775Baltic
KOI8-U2088 + [RFC2319] + [RFC2319]csKOI8U
IBM008582089IBM See [http://www.iana.org/assignments/charset-reg/IBM00858] [Tamer_Mahdi]CCSID00858
CP00858
PC-Multilingual-850+euro
csIBM00858
IBM009242090IBM See [http://www.iana.org/assignments/charset-reg/IBM00924] [Tamer_Mahdi]CCSID00924
CP00924
ebcdic-Latin9--euro
csIBM00924
IBM011402091IBM See [http://www.iana.org/assignments/charset-reg/IBM01140] [Tamer_Mahdi]CCSID01140
CP01140
ebcdic-us-37+euro
csIBM01140
IBM011412092IBM See [http://www.iana.org/assignments/charset-reg/IBM01141] [Tamer_Mahdi]CCSID01141
CP01141
ebcdic-de-273+euro
csIBM01141
IBM011422093IBM See [http://www.iana.org/assignments/charset-reg/IBM01142] [Tamer_Mahdi]CCSID01142
CP01142
ebcdic-dk-277+euro
ebcdic-no-277+euro
csIBM01142
IBM011432094IBM See [http://www.iana.org/assignments/charset-reg/IBM01143] [Tamer_Mahdi]CCSID01143
CP01143
ebcdic-fi-278+euro
ebcdic-se-278+euro
csIBM01143
IBM011442095IBM See [http://www.iana.org/assignments/charset-reg/IBM01144] [Tamer_Mahdi]CCSID01144
CP01144
ebcdic-it-280+euro
csIBM01144
IBM011452096IBM See [http://www.iana.org/assignments/charset-reg/IBM01145] [Tamer_Mahdi]CCSID01145
CP01145
ebcdic-es-284+euro
csIBM01145
IBM011462097IBM See [http://www.iana.org/assignments/charset-reg/IBM01146] [Tamer_Mahdi]CCSID01146
CP01146
ebcdic-gb-285+euro
csIBM01146
IBM011472098IBM See [http://www.iana.org/assignments/charset-reg/IBM01147] [Tamer_Mahdi]CCSID01147
CP01147
ebcdic-fr-297+euro
csIBM01147
IBM011482099IBM See [http://www.iana.org/assignments/charset-reg/IBM01148] [Tamer_Mahdi]CCSID01148
CP01148
ebcdic-international-500+euro
csIBM01148
IBM011492100IBM See [http://www.iana.org/assignments/charset-reg/IBM01149] [Tamer_Mahdi]CCSID01149
CP01149
ebcdic-is-871+euro
csIBM01149
Big5-HKSCS2101See [http://www.iana.org/assignments/charset-reg/Big5-HKSCS][Nicky_Yick]csBig5HKSCS
IBM10472102IBM1047 (EBCDIC Latin 1/Open Systems) +[http://www-1.ibm.com/servers/eserver/iseries/software/globalization/pdf/cp01047z.pdf][Reuel_Robrigado]IBM-1047
csIBM1047
PTCP1542103See [http://www.iana.org/assignments/charset-reg/PTCP154][Alexander_Uskov]csPTCP154
PT154
CP154
Cyrillic-Asian
csPTCP154
Amiga-12512104See [http://www.amiga.ultranet.ru/Amiga-1251.html]Ami1251
Amiga1251
Ami-1251
csAmiga1251 +(Aliases are provided for historical reasons and should not be used) [Malyshev]
KOI7-switched2105See [http://www.iana.org/assignments/charset-reg/KOI7-switched]csKOI7switched
BRF2106See [http://www.iana.org/assignments/charset-reg/BRF] [Samuel_Thibault]csBRF
TSCII2107See [http://www.iana.org/assignments/charset-reg/TSCII] [Kuppuswamy_Kalyanasu]csTSCII
CP519322108See [http://www.iana.org/assignments/charset-reg/CP51932] [Yui_Naruse]csCP51932
windows-8742109See [http://www.iana.org/assignments/charset-reg/windows-874] [Shawn_Steele]cswindows874
windows-12502250Microsoft [http://www.iana.org/assignments/charset-reg/windows-1250] [Katya_Lazhintseva]cswindows1250
windows-12512251Microsoft [http://www.iana.org/assignments/charset-reg/windows-1251] [Katya_Lazhintseva]cswindows1251
windows-12522252Microsoft [http://www.iana.org/assignments/charset-reg/windows-1252] [Chris_Wendt]cswindows1252
windows-12532253Microsoft [http://www.iana.org/assignments/charset-reg/windows-1253] [Katya_Lazhintseva]cswindows1253
windows-12542254Microsoft [http://www.iana.org/assignments/charset-reg/windows-1254] [Katya_Lazhintseva]cswindows1254
windows-12552255Microsoft [http://www.iana.org/assignments/charset-reg/windows-1255] [Katya_Lazhintseva]cswindows1255
windows-12562256Microsoft [http://www.iana.org/assignments/charset-reg/windows-1256] [Katya_Lazhintseva]cswindows1256
windows-12572257Microsoft [http://www.iana.org/assignments/charset-reg/windows-1257] [Katya_Lazhintseva]cswindows1257
windows-12582258Microsoft [http://www.iana.org/assignments/charset-reg/windows-1258] [Katya_Lazhintseva]cswindows1258
TIS-6202259Thai Industrial Standards Institute (TISI) [Trin_Tantsetthi]csTIS620
CP502202260See [http://www.iana.org/assignments/charset-reg/CP50220] [Yui_Naruse]csCP50220
+

People

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IDNameContact URILast Updated
+ [Alexander_Uskov] + Alexander Uskov + mailto:auskov&idc.kz + 2002-09
+ [Alexei_Veremeev] + Alexei Veremeev + mailto:Alexey.Veremeev&oracle.com + 2006-12-07
+ [Chris_Wendt] + Chris Wendt + mailto:christw&microsoft.com + 1999-12
+ [Hank_Nussbacher] + Hank Nussbacher + mailto:hank&vm.tau.ac.il +
+ [IANA] + Internet Assigned Numbers Authority + mailto:iana&iana.org +
+ [Jun_Murai] + Jun Murai + mailto:jun&wide.ad.jp +
+ [Katya_Lazhintseva] + Katya Lazhintseva + mailto:katyal&microsoft.com + 1996-05
+ [Keld_Simonsen] + Keld Simonsen + mailto:Keld.Simonsen&dkuug.dk +
+ [Keld_Simonsen_2] + Keld Simonsen + mailto:Keld.Simonsen&rap.dk + 2000-08
+ [Kuppuswamy_Kalyanasu] + Kuppuswamy Kalyanasundaram + mailto:kalyan.geo&yahoo.com + 2007-05-14
+ [Mark_Davis] + Mark Davis + mailto:mark&unicode.org + 2002-04
+ [Markus_Scherer] + Markus Scherer + mailto:markus.scherer&jtcsv.com + 2002-09
+ [Masataka_Ohta] + Masataka Ohta + mailto:mohta&cc.titech.ac.jp + 1995-07
+ [Nicky_Yick] + Nicky Yick + mailto:cliac&itsd.gcn.gov.hk + 2000-10
+ [Reuel_Robrigado] + Reuel Robrigado + mailto:reuelr&ca.ibm.com + 2002-09
+ [Rick_Pond] + Rick Pond + mailto:rickpond&vnet.ibm.com + 1997-03
+ [Sairan_M_Kikkarin] + Sairan M. Kikkarin + mailto:sairan&sci.kz + 2006-12-07
+ [Samuel_Thibault] + Samuel Thibault + mailto:samuel.thibault&ens-lyon.org + 2006-12-07
+ [Shawn_Steele] + Shawn Steele + mailto:Shawn.Steele&microsoft.com + 2010-11-04
+ [Tamer_Mahdi] + Tamer Mahdi + mailto:tamer&ca.ibm.com + 2000-08
+ [Toby_Phipps] + Toby Phipps + mailto:tphipps&peoplesoft.com + 2002-03
+ [Trin_Tantsetthi] + Trin Tantsetthi + mailto:trin&mozart.inet.co.th + 1998-09
+ [Vladas_Tumasonis] + Vladas Tumasonis + mailto:vladas.tumasonis&maf.vu.lt + 2000-08
+ [Woohyong_Choi] + Woohyong Choi + mailto:whchoi&cosmos.kaist.ac.kr +
+ [Yui_Naruse] + Yui Naruse + mailto:naruse&airemix.jp + 2011-09-23
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/ianatables.c b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/ianatables.c new file mode 100644 index 0000000000000000000000000000000000000000..44b29c68a1237e6af240a620503e4537de99504e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/ianatables.c @@ -0,0 +1,4609 @@ +/** +*** Character set names table. +*** Generated by program BLDCSNDFA from IANA character set assignment file +*** and CCSID/MIBenum equivalence file. +*** *** Do not edit by hand *** +**/ + +/** +*** CCSID For arg Recognized name. +*** 62245 X IBMCCSID62245 ibm-62245 +*** 62235 X IBMCCSID62235 ibm-62235 +*** 62224 X IBMCCSID62224 ibm-62224 +*** 62211 X IBMCCSID62211 ibm-62211 +*** 61952 X IBMCCSID61952 ibm-61952 +*** 57345 IBMCCSID57345 ibm-57345 +*** 33722 X csEUCPkdFmtJapanese +*** Extended_UNIX_Code_Packed_Format_for_Japanese EUC-JP +*** iana-18 IBMCCSID33722 ibm-33722 +*** 28709 X IBMCCSID28709 ibm-28709 +*** 25546 IBMCCSID25546 ibm-25546 +*** 17354 X IBMCCSID17354 ibm-17354 +*** 13488 X csUnicode ISO-10646-UCS-2 UCS2 UCS-2 iana-1000 +*** IBMCCSID13488 ibm-13488 +*** 13124 X IBMCCSID13124 ibm-13124 +*** 13121 X IBMCCSID13121 ibm-13121 +*** 12708 X IBMCCSID12708 ibm-12708 +*** 9449 cswindows1257 windows-1257 iana-2257 IBMCCSID09449 +*** ibm-9449 +*** 9448 cswindows1256 windows-1256 iana-2256 IBMCCSID09448 +*** ibm-9448 +*** 9447 cswindows1255 windows-1255 iana-2255 IBMCCSID09447 +*** ibm-9447 +*** 9066 X IBMCCSID09066 ibm-9066 +*** 9056 X IBMCCSID09056 ibm-9056 +*** 9030 X IBMCCSID09030 ibm-9030 +*** 8612 X IBMCCSID08612 ibm-8612 +*** 5478 csISO58GB231280 iso-ir-58 GB_2312-80 chinese iana-57 +*** IBMCCSID05478 ibm-5478 +*** 5123 X IBMCCSID05123 ibm-5123 +*** 5350 X cswindows1254 windows-1254 iana-2254 IBMCCSID05350 +*** ibm-5350 +*** 5349 X cswindows1253 windows-1253 iana-2253 IBMCCSID05349 +*** ibm-5349 +*** 5348 X cswindows1252 windows-1252 iana-2252 IBMCCSID05348 +*** ibm-5348 +*** 5347 X cswindows1251 windows-1251 iana-2251 IBMCCSID05347 +*** ibm-5347 +*** 5346 X cswindows1250 windows-1250 iana-2250 IBMCCSID05346 +*** ibm-5346 +*** 5354 cswindows1258 windows-1258 iana-2258 IBMCCSID05354 +*** ibm-5354 +*** 5055 X IBMCCSID05055 ibm-5055 +*** 5054 X IBMCCSID05054 ibm-5054 +*** 5053 X IBMCCSID05053 ibm-5053 +*** 5052 X IBMCCSID05052 ibm-5052 +*** 5050 X IBMCCSID05050 ibm-5050 +*** 5035 X IBMCCSID05035 ibm-5035 +*** 5026 X IBMCCSID05026 ibm-5026 +*** 4971 X IBMCCSID04971 ibm-4971 +*** 4965 IBMCCSID04965 ibm-4965 +*** 4960 X IBMCCSID04960 ibm-4960 +*** 4953 IBMCCSID04953 ibm-4953 +*** 4952 X IBMCCSID04952 ibm-4952 +*** 4951 X IBMCCSID04951 ibm-4951 +*** 4948 X IBMCCSID04948 ibm-4948 +*** 4396 X IBMCCSID04396 ibm-4396 +*** 1399 X IBMCCSID01399 ibm-1399 +*** 1392 X IBMCCSID01392 ibm-1392 +*** 1388 X IBMCCSID01388 ibm-1388 +*** 1386 X csGBK windows-936 MS936 CP936 GBK iana-113 +*** IBMCCSID01386 ibm-1386 +*** 1383 X csGB2312 GB2312 EUC-CN iana-2025 IBMCCSID01383 +*** ibm-1383 +*** 1381 X IBMCCSID01381 ibm-1381 +*** 1380 X IBMCCSID01380 ibm-1380 +*** 1375 csBig5HKSCS Big5-HKSCS iana-2101 IBMCCSID01375 +*** ibm-1375 +*** 1373 IBMCCSID01373 ibm-1373 +*** 1364 X IBMCCSID01364 ibm-1364 +*** 1363 X csKSC56011987 KSC_5601 KS_C_5601-1989 iso-ir-149 +*** KS_C_5601-1987 korean iana-36 IBMCCSID01363 ibm-1363 +*** 1283 X IBMCCSID01283 ibm-1283 +*** 1282 X IBMCCSID01282 ibm-1282 +*** 1281 X IBMCCSID01281 ibm-1281 +*** 1280 X IBMCCSID01280 ibm-1280 +*** 1276 csAdobeStandardEncoding Adobe-Standard-Encoding +*** iana-2005 IBMCCSID01276 ibm-1276 +*** 1275 X IBMCCSID01275 ibm-1275 +*** 1258 X IBMCCSID01258 ibm-1258 +*** 1257 X IBMCCSID01257 ibm-1257 +*** 1256 X IBMCCSID01256 ibm-1256 +*** 1255 X IBMCCSID01255 ibm-1255 +*** 1254 X IBMCCSID01254 ibm-1254 +*** 1253 X IBMCCSID01253 ibm-1253 +*** 1252 X csWindows31Latin1 ISO-8859-1-Windows-3.1-Latin-1 +*** iana-2001 IBMCCSID01252 ibm-1252 +*** 1251 X IBMCCSID01251 ibm-1251 +*** 1250 X csWindows31Latin2 ISO-8859-2-Windows-Latin-2 iana-2002 +*** IBMCCSID01250 ibm-1250 +*** 1235 csUTF32LE UTF-32LE UTF-32-LE UTF32LE UTF32-LE +*** iana-1019 IBMCCSID01235 ibm-1235 +*** 1233 csUTF32BE UTF-32BE UTF-32-BE UTF32BE UTF32-BE +*** iana-1018 IBMCCSID01233 ibm-1233 +*** 1208 X csUTF8 UTF-8 UTF8 iana-106 IBMCCSID01208 ibm-1208 +*** 1203 csUTF16LE UTF-16LE UTF-16-LE UTF16LE UTF16-LE +*** iana-1014 IBMCCSID01203 ibm-1203 +*** 1201 csUTF16BE UTF-16BE UTF-16-BE UTF16BE UTF16-BE +*** iana-1013 IBMCCSID01201 ibm-1201 +*** 1164 X IBMCCSID01164 ibm-1164 +*** 1160 X IBMCCSID01160 ibm-1160 +*** 1158 X IBMCCSID01158 ibm-1158 +*** 1157 X IBMCCSID01157 ibm-1157 +*** 1156 X IBMCCSID01156 ibm-1156 +*** 1155 X IBMCCSID01155 ibm-1155 +*** 1154 X IBMCCSID01154 ibm-1154 +*** 1153 X IBMCCSID01153 ibm-1153 +*** 1149 X csIBM01149 ebcdic-is-871+euro CP01149 CCSID01149 +*** IBM01149 iana-2100 IBMCCSID01149 ibm-1149 +*** 1148 X csIBM01148 ebcdic-international-500+euro CP01148 +*** CCSID01148 IBM01148 iana-2099 IBMCCSID01148 ibm-1148 +*** 1147 X csIBM01147 ebcdic-fr-297+euro CP01147 CCSID01147 +*** IBM01147 iana-2098 IBMCCSID01147 ibm-1147 +*** 1146 X csIBM01146 ebcdic-gb-285+euro CP01146 CCSID01146 +*** IBM01146 iana-2097 IBMCCSID01146 ibm-1146 +*** 1145 X csIBM01145 ebcdic-es-284+euro CP01145 CCSID01145 +*** IBM01145 iana-2096 IBMCCSID01145 ibm-1145 +*** 1144 X csIBM01144 ebcdic-it-280+euro CP01144 CCSID01144 +*** IBM01144 iana-2095 IBMCCSID01144 ibm-1144 +*** 1143 X csIBM01143 ebcdic-se-278+euro ebcdic-fi-278+euro +*** CP01143 CCSID01143 IBM01143 iana-2094 IBMCCSID01143 +*** ibm-1143 +*** 1142 X csIBM01142 ebcdic-no-277+euro ebcdic-dk-277+euro +*** CP01142 CCSID01142 IBM01142 iana-2093 IBMCCSID01142 +*** ibm-1142 +*** 1141 X csIBM01141 ebcdic-de-273+euro CP01141 CCSID01141 +*** IBM01141 iana-2092 IBMCCSID01141 ibm-1141 +*** 1140 X csIBM01140 ebcdic-us-37+euro CP01140 CCSID01140 +*** IBM01140 iana-2091 IBMCCSID01140 ibm-1140 +*** 1137 X IBMCCSID01137 ibm-1137 +*** 1133 IBMCCSID01133 ibm-1133 +*** 1132 X IBMCCSID01132 ibm-1132 +*** 1130 X IBMCCSID01130 ibm-1130 +*** 1129 X IBMCCSID01129 ibm-1129 +*** 1123 X IBMCCSID01123 ibm-1123 +*** 1122 X IBMCCSID01122 ibm-1122 +*** 1115 IBMCCSID01115 ibm-1115 +*** 1114 IBMCCSID01114 ibm-1114 +*** 1112 X IBMCCSID01112 ibm-1112 +*** 1098 X IBMCCSID01098 ibm-1098 +*** 1097 X IBMCCSID01097 ibm-1097 +*** 1089 X csISOLatinArabic arabic ASMO-708 ECMA-114 ISO_8859-6 +*** iso-ir-127 ISO_8859-6:1987 ISO-8859-6 iana-9 +*** IBMCCSID01089 ibm-1089 +*** 1088 IBMCCSID01088 ibm-1088 +*** 1051 X csHPRoman8 r8 roman8 hp-roman8 iana-2004 IBMCCSID01051 +*** ibm-1051 +*** 1047 X csIBM1047 IBM-1047 IBM1047 iana-2102 IBMCCSID01047 +*** ibm-1047 +*** 1046 X IBMCCSID01046 ibm-1046 +*** 1043 IBMCCSID01043 ibm-1043 +*** 1042 IBMCCSID01042 ibm-1042 +*** 1041 IBMCCSID01041 ibm-1041 +*** 1040 IBMCCSID01040 ibm-1040 +*** 1027 X IBMCCSID01027 ibm-1027 +*** 1026 X csIBM1026 CP1026 IBM1026 iana-2063 IBMCCSID01026 +*** ibm-1026 +*** 1025 X IBMCCSID01025 ibm-1025 +*** 1019 X IBMCCSID01019 ibm-1019 +*** 1018 X IBMCCSID01018 ibm-1018 +*** 1017 X IBMCCSID01017 ibm-1017 +*** 1016 X IBMCCSID01016 ibm-1016 +*** 1015 X IBMCCSID01015 ibm-1015 +*** 1014 X IBMCCSID01014 ibm-1014 +*** 1013 X IBMCCSID01013 ibm-1013 +*** 1012 X IBMCCSID01012 ibm-1012 +*** 1011 X IBMCCSID01011 ibm-1011 +*** 1010 X IBMCCSID01010 ibm-1010 +*** 1009 X IBMCCSID01009 ibm-1009 +*** 1008 IBMCCSID01008 ibm-1008 +*** 970 X csEUCKR EUC-KR iana-38 IBMCCSID00970 ibm-970 +*** 965 X IBMCCSID00965 ibm-965 +*** 964 X IBMCCSID00964 ibm-964 +*** 959 X IBMCCSID00959 ibm-959 +*** 958 X IBMCCSID00958 ibm-958 +*** 957 X IBMCCSID00957 ibm-957 +*** 956 X IBMCCSID00956 ibm-956 +*** 951 X IBMCCSID00951 ibm-951 +*** 950 X IBMCCSID00950 ibm-950 +*** 949 X IBMCCSID00949 ibm-949 +*** 947 X IBMCCSID00947 ibm-947 +*** 946 X IBMCCSID00946 ibm-946 +*** 944 X IBMCCSID00944 ibm-944 +*** 943 X csShiftJIS MS_Kanji Shift_JIS iana-17 IBMCCSID00943 +*** ibm-943 +*** 942 X IBMCCSID00942 ibm-942 +*** 939 X IBMCCSID00939 ibm-939 +*** 938 X IBMCCSID00938 ibm-938 +*** 937 X IBMCCSID00937 ibm-937 +*** 936 IBMCCSID00936 ibm-936 +*** 935 X IBMCCSID00935 ibm-935 +*** 934 X IBMCCSID00934 ibm-934 +*** 933 X IBMCCSID00933 ibm-933 +*** 932 X IBMCCSID00932 ibm-932 +*** 930 X IBMCCSID00930 ibm-930 +*** 928 X IBMCCSID00928 ibm-928 +*** 927 X IBMCCSID00927 ibm-927 +*** 926 X IBMCCSID00926 ibm-926 +*** 924 X csIBM00924 ebcdic-Latin9--euro CP00924 CCSID00924 +*** IBM00924 iana-2090 IBMCCSID00924 ibm-924 +*** 923 X csISO885915 Latin-9 ISO_8859-15 ISO-8859-15 iana-111 +*** IBMCCSID00923 ibm-923 +*** 922 X IBMCCSID00922 ibm-922 +*** 921 X csISO885913 ISO-8859-13 iana-109 IBMCCSID00921 ibm-921 +*** 920 X csISOLatin5 l5 latin5 ISO_8859-9 iso-ir-148 +*** ISO_8859-9:1989 ISO-8859-9 iana-12 IBMCCSID00920 +*** ibm-920 +*** 918 X csIBM918 ebcdic-cp-ar2 CP918 IBM918 iana-2062 +*** IBMCCSID00918 ibm-918 +*** 916 X csISOLatinHebrew hebrew ISO_8859-8 iso-ir-138 +*** ISO_8859-8:1988 ISO-8859-8 iana-11 IBMCCSID00916 +*** ibm-916 +*** 915 X csISOLatinCyrillic cyrillic ISO_8859-5 iso-ir-144 +*** ISO_8859-5:1988 ISO-8859-5 iana-8 IBMCCSID00915 +*** ibm-915 +*** 914 X csISOLatin4 l4 latin4 ISO_8859-4 iso-ir-110 +*** ISO_8859-4:1988 ISO-8859-4 iana-7 IBMCCSID00914 +*** ibm-914 +*** 913 csISOLatin3 l3 latin3 ISO_8859-3 iso-ir-109 +*** ISO_8859-3:1988 ISO-8859-3 iana-6 IBMCCSID00913 +*** ibm-913 +*** 912 X csISOLatin2 l2 latin2 ISO_8859-2 iso-ir-101 +*** ISO_8859-2:1987 ISO-8859-2 iana-5 IBMCCSID00912 +*** ibm-912 +*** 905 X csIBM905 ebcdic-cp-tr CP905 IBM905 iana-2061 +*** IBMCCSID00905 ibm-905 +*** 904 csIBBM904 904 cp904 IBM904 iana-2060 IBMCCSID00904 +*** ibm-904 +*** 903 csIBM903 cp903 IBM903 iana-2059 IBMCCSID00903 ibm-903 +*** 897 X csHalfWidthKatakana X0201 JIS_X0201 iana-15 +*** IBMCCSID00897 ibm-897 +*** 896 IBMCCSID00896 ibm-896 +*** 891 X csIBM891 cp891 IBM891 iana-2058 IBMCCSID00891 ibm-891 +*** 880 X csIBM880 EBCDIC-Cyrillic cp880 IBM880 iana-2057 +*** IBMCCSID00880 ibm-880 +*** 878 X csKOI8R KOI8-R iana-2084 IBMCCSID00878 ibm-878 +*** 875 X IBMCCSID00875 ibm-875 +*** 874 X csTIS620 TIS-620 csEUCTH eucTH EUC-TH> iana-2259 +*** IBMCCSID00874 ibm-874 +*** 871 X csIBM871 ebcdic-cp-is CP871 IBM871 iana-2056 +*** IBMCCSID00871 ibm-871 +*** 870 X csIBM870 ebcdic-cp-yu ebcdic-cp-roece CP870 IBM870 +*** iana-2055 IBMCCSID00870 ibm-870 +*** 869 X csIBM869 cp-gr 869 cp869 IBM869 iana-2054 +*** IBMCCSID00869 ibm-869 +*** 868 X csIBM868 cp-ar CP868 IBM868 iana-2053 IBMCCSID00868 +*** ibm-868 +*** 866 X csIBM866 866 cp866 IBM866 iana-2086 IBMCCSID00866 +*** ibm-866 +*** 865 X csIBM865 865 cp865 IBM865 iana-2052 IBMCCSID00865 +*** ibm-865 +*** 864 X csIBM864 cp864 IBM864 iana-2051 IBMCCSID00864 ibm-864 +*** 863 X csIBM863 863 cp863 IBM863 iana-2050 IBMCCSID00863 +*** ibm-863 +*** 862 X csPC862LatinHebrew 862 cp862 IBM862 iana-2013 +*** IBMCCSID00862 ibm-862 +*** 861 X csIBM861 cp-is 861 cp861 IBM861 iana-2049 +*** IBMCCSID00861 ibm-861 +*** 860 X csIBM860 860 cp860 IBM860 iana-2048 IBMCCSID00860 +*** ibm-860 +*** 858 csIBM00858 PC-Multilingual-850+euro CP00858 CCSID00858 +*** IBM00858 iana-2089 IBMCCSID00858 ibm-858 +*** 857 X csIBM857 857 cp857 IBM857 iana-2047 IBMCCSID00857 +*** ibm-857 +*** 855 X csIBM855 855 cp855 IBM855 iana-2046 IBMCCSID00855 +*** ibm-855 +*** 852 X csPCp852 852 cp852 IBM852 iana-2010 IBMCCSID00852 +*** ibm-852 +*** 851 X csIBM851 851 cp851 IBM851 iana-2045 IBMCCSID00851 +*** ibm-851 +*** 850 X csPC850Multilingual 850 cp850 IBM850 iana-2009 +*** IBMCCSID00850 ibm-850 +*** 838 X csIBMThai IBM-Thai iana-2016 IBMCCSID00838 ibm-838 +*** 837 X IBMCCSID00837 ibm-837 +*** 836 X IBMCCSID00836 ibm-836 +*** 835 X IBMCCSID00835 ibm-835 +*** 833 X IBMCCSID00833 ibm-833 +*** 819 X csISOLatin1 CP819 IBM819 l1 latin1 ISO_8859-1 +*** iso-ir-100 ISO_8859-1:1987 ISO-8859-1 iana-4 +*** IBMCCSID00819 ibm-819 +*** 813 X csISOLatinGreek greek8 greek ECMA-118 ELOT_928 +*** ISO_8859-7 iso-ir-126 ISO_8859-7:1987 ISO-8859-7 +*** iana-10 IBMCCSID00813 ibm-813 +*** 775 X csPC775Baltic cp775 IBM775 iana-2087 IBMCCSID00775 +*** ibm-775 +*** 737 X IBMCCSID00737 ibm-737 +*** 720 X IBMCCSID00720 ibm-720 +*** 500 X csIBM500 ebcdic-cp-ch ebcdic-cp-be CP500 IBM500 +*** iana-2044 IBMCCSID00500 ibm-500 +*** 437 X csPC8CodePage437 437 cp437 IBM437 iana-2011 +*** IBMCCSID00437 ibm-437 +*** 424 X csIBM424 ebcdic-cp-he cp424 IBM424 iana-2043 +*** IBMCCSID00424 ibm-424 +*** 423 X csIBM423 ebcdic-cp-gr cp423 IBM423 iana-2042 +*** IBMCCSID00423 ibm-423 +*** 420 X csIBM420 ebcdic-cp-ar1 cp420 IBM420 iana-2041 +*** IBMCCSID00420 ibm-420 +*** 367 X csASCII cp367 IBM367 us ISO646-US ISO_646.irv:1991 +*** ANSI_X3.4-1986 ANSI_X3.4-1968 iso-ir-6 US-ASCII ASCII +*** iana-3 IBMCCSID00367 ibm-367 +*** 301 X IBMCCSID00301 ibm-301 +*** 300 X IBMCCSID00300 ibm-300 +*** 297 X csIBM297 ebcdic-cp-fr cp297 IBM297 iana-2040 +*** IBMCCSID00297 ibm-297 +*** 290 X csIBM290 EBCDIC-JP-kana cp290 IBM290 iana-2039 +*** IBMCCSID00290 ibm-290 +*** 285 X csIBM285 ebcdic-cp-gb CP285 IBM285 iana-2038 +*** IBMCCSID00285 ibm-285 +*** 284 X csIBM284 ebcdic-cp-es CP284 IBM284 iana-2037 +*** IBMCCSID00284 ibm-284 +*** 280 X csIBM280 ebcdic-cp-it CP280 IBM280 iana-2035 +*** IBMCCSID00280 ibm-280 +*** 278 X csIBM278 ebcdic-cp-se ebcdic-cp-fi CP278 IBM278 +*** iana-2034 IBMCCSID00278 ibm-278 +*** 277 X csIBM277 EBCDIC-CP-NO EBCDIC-CP-DK IBM277 iana-2033 +*** IBMCCSID00277 ibm-277 +*** 273 X csIBM273 CP273 IBM273 iana-2030 IBMCCSID00273 ibm-273 +*** 256 X IBMCCSID00256 ibm-256 +*** 37 X csIBM037 ebcdic-cp-nl ebcdic-cp-wt ebcdic-cp-ca +*** ebcdic-cp-us cp037 IBM037 EBCDIC iana-2028 +*** IBMCCSID00037 ibm-37 +*** 0 IBMCCSID00000 ibm-0 +**/ + +/** +*** 13499 states, 229 finals, 20020 transitions. +**/ + +typedef unsigned short t_ccsid; +typedef unsigned short t_staterange; +typedef unsigned short t_transrange; + +static t_transrange trans_array[] = { + 0, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 92, 93, 94, + 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 150, 151, 153, + 154, 156, 157, 159, 160, 162, 163, 165, 166, 168, 169, 171, 172, 173, 174, + 176, 177, 179, 180, 182, 183, 185, 186, 188, 189, 191, 192, 194, 195, 197, + 198, 199, 200, 202, 203, 205, 206, 208, 209, 210, 211, 212, 213, 214, 215, + 216, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, + 233, 234, 235, 236, 238, 239, 241, 242, 243, 245, 246, 248, 249, 251, 252, + 254, 256, 257, 259, 260, 261, 262, 263, 264, 265, 266, 267, 269, 270, 271, + 275, 276, 277, 278, 279, 287, 288, 289, 291, 292, 294, 295, 297, 298, 300, + 301, 303, 304, 305, 306, 307, 308, 310, 311, 313, 314, 315, 316, 317, 318, + 319, 320, 321, 322, 323, 324, 325, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 357, 358, + 359, 360, 361, 362, 363, 365, 366, 367, 368, 370, 371, 373, 374, 376, 377, + 378, 380, 381, 383, 384, 386, 387, 389, 390, 392, 393, 394, 396, 398, 400, + 401, 402, 403, 409, 410, 411, 412, 413, 416, 417, 418, 419, 420, 421, 422, + 423, 424, 425, 426, 427, 429, 430, 431, 432, 433, 434, 435, 438, 439, 440, + 441, 442, 444, 445, 446, 447, 450, 451, 452, 453, 454, 455, 456, 457, 458, + 459, 462, 463, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, + 477, 478, 479, 480, 489, 490, 491, 492, 493, 495, 496, 497, 498, 499, 500, + 501, 502, 503, 504, 505, 506, 512, 513, 514, 515, 516, 519, 520, 521, 522, + 523, 524, 525, 526, 527, 528, 531, 532, 533, 534, 535, 536, 537, 538, 539, + 540, 541, 551, 553, 554, 556, 557, 559, 560, 562, 563, 565, 566, 568, 569, + 571, 572, 574, 575, 577, 578, 580, 581, 583, 585, 586, 587, 591, 592, 593, + 595, 596, 598, 599, 600, 602, 603, 604, 606, 607, 609, 610, 612, 613, 615, + 616, 618, 619, 621, 622, 624, 625, 627, 628, 630, 631, 633, 634, 636, 637, + 639, 640, 642, 643, 644, 646, 647, 648, 649, 655, 656, 658, 659, 661, 662, + 663, 664, 665, 666, 667, 668, 669, 672, 673, 675, 676, 677, 679, 680, 682, + 683, 685, 686, 688, 689, 691, 692, 694, 695, 697, 698, 700, 701, 703, 704, + 706, 707, 709, 710, 712, 713, 715, 716, 718, 719, 721, 722, 723, 724, 725, + 727, 728, 730, 731, 733, 734, 736, 737, 739, 740, 741, 745, 746, 747, 748, + 750, 751, 752, 753, 754, 756, 757, 758, 759, 760, 763, 764, 767, 768, 771, + 779, 780, 781, 786, 788, 789, 791, 792, 793, 795, 796, 798, 799, 801, 802, + 803, 804, 805, 806, 807, 816, 817, 818, 822, 823, 824, 825, 826, 827, 828, + 829, 830, 831, 832, 833, 834, 836, 837, 839, 840, 841, 842, 843, 844, 845, + 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 861, 862, + 863, 865, 866, 868, 869, 871, 872, 874, 875, 877, 878, 880, 881, 883, 884, + 885, 887, 888, 890, 891, 893, 894, 896, 897, 898, 900, 901, 903, 904, 906, + 907, 909, 910, 912, 913, 914, 915, 916, 917, 918, 919, 920, 933, 934, 936, + 937, 939, 940, 942, 943, 945, 946, 947, 948, 952, 953, 955, 956, 957, 961, + 962, 963, 965, 966, 967, 968, 970, 971, 972, 973, 974, 975, 976, 977, 978, + 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 990, 991, 992, 996, 998, + 999, 1001, 1002, 1004, 1005, 1007, 1008, 1010, 1011, 1013, 1014, 1015, 1016, + 1017, 1019, 1020, 1022, 1023, 1025, 1026, 1028, 1029, 1031, 1032, 1034, 1035, + 1037, 1038, 1040, 1041, 1043, 1044, 1046, 1047, 1049, 1050, 1052, 1053, 1054, + 1056, 1057, 1059, 1060, 1062, 1063, 1065, 1066, 1068, 1069, 1071, 1072, 1074, + 1075, 1077, 1078, 1080, 1081, 1083, 1084, 1086, 1087, 1088, 1089, 1090, 1091, + 1093, 1094, 1096, 1097, 1099, 1100, 1102, 1103, 1105, 1106, 1108, 1109, 1111, + 1112, 1113, 1114, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1130, + 1131, 1133, 1134, 1135, 1137, 1138, 1140, 1141, 1143, 1144, 1146, 1147, 1149, + 1150, 1152, 1153, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1163, 1164, 1166, + 1167, 1168, 1170, 1171, 1173, 1174, 1176, 1177, 1179, 1180, 1182, 1183, 1184, + 1186, 1187, 1188, 1190, 1191, 1192, 1196, 1197, 1198, 1199, 1200, 1202, 1203, + 1204, 1206, 1207, 1208, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1221, 1222, + 1224, 1225, 1226, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, + 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1257, 1258, 1259, 1260, + 1261, 1262, 1263, 1264, 1265, 1267, 1268, 1270, 1271, 1273, 1274, 1276, 1277, + 1279, 1280, 1282, 1283, 1284, 1285, 1286, 1288, 1289, 1291, 1292, 1294, 1295, + 1297, 1298, 1300, 1301, 1303, 1304, 1306, 1307, 1308, 1309, 1310, 1311, 1312, + 1313, 1314, 1315, 1316, 1317, 1318, 1342, 1343, 1344, 1346, 1347, 1349, 1350, + 1352, 1353, 1355, 1356, 1358, 1359, 1361, 1362, 1363, 1364, 1365, 1366, 1376, + 1378, 1379, 1381, 1383, 1387, 1389, 1391, 1395, 1399, 1401, 1405, 1409, 1411, + 1412, 1414, 1415, 1417, 1418, 1420, 1422, 1424, 1426, 1428, 1430, 1431, 1432, + 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, + 1446, 1478, 1479, 1480, 1482, 1483, 1485, 1486, 1488, 1489, 1491, 1492, 1494, + 1495, 1497, 1498, 1499, 1503, 1505, 1506, 1508, 1509, 1511, 1512, 1514, 1515, + 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1526, 1527, 1529, 1530, + 1532, 1533, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, + 1546, 1547, 1551, 1553, 1554, 1556, 1557, 1559, 1560, 1562, 1563, 1564, 1565, + 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1575, 1577, 1578, 1580, 1581, + 1583, 1584, 1586, 1587, 1588, 1589, 1590, 1591, 1592, 1593, 1594, 1595, 1596, + 1598, 1599, 1601, 1602, 1604, 1605, 1607, 1608, 1609, 1610, 1611, 1612, 1613, + 1614, 1615, 1616, 1617, 1618, 1619, 1623, 1625, 1626, 1628, 1629, 1631, 1632, + 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1647, + 1649, 1650, 1652, 1653, 1655, 1656, 1658, 1659, 1660, 1661, 1662, 1663, 1664, + 1665, 1666, 1667, 1668, 1669, 1671, 1672, 1674, 1675, 1677, 1678, 1680, 1681, + 1683, 1684, 1686, 1687, 1689, 1690, 1692, 1693, 1695, 1696, 1698, 1699, 1701, + 1703, 1704, 1706, 1707, 1709, 1710, 1712, 1713, 1714, 1715, 1716, 1717, 1718, + 1719, 1720, 1721, 1722, 1724, 1725, 1727, 1728, 1730, 1731, 1733, 1734, 1735, + 1736, 1737, 1738, 1739, 1740, 1741, 1742, 1743, 1744, 1745, 1746, 1752, 1754, + 1755, 1757, 1758, 1760, 1761, 1763, 1764, 1765, 1766, 1768, 1770, 1771, 1773, + 1774, 1776, 1777, 1779, 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1788, 1789, + 1791, 1792, 1794, 1795, 1797, 1799, 1801, 1803, 1804, 1806, 1807, 1809, 1810, + 1812, 1813, 1814, 1815, 1816, 1817, 1818, 1819, 1820, 1821, 1823, 1824, 1825, + 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1834, 1856, 1857, 1859, 1860, + 1862, 1863, 1865, 1866, 1868, 1869, 1871, 1873, 1874, 1875, 1876, 1877, 1878, + 1879, 1880, 1882, 1883, 1885, 1886, 1887, 1888, 1889, 1890, 1891, 1892, 1893, + 1895, 1896, 1898, 1900, 1902, 1903, 1904, 1906, 1907, 1908, 1909, 1917, 1918, + 1921, 1922, 1924, 1925, 1926, 1928, 1929, 1931, 1932, 1934, 1935, 1936, 1937, + 1939, 1940, 1942, 1943, 1945, 1946, 1948, 1949, 1951, 1952, 1954, 1955, 1956, + 1957, 1959, 1960, 1962, 1963, 1965, 1966, 1968, 1969, 1971, 1972, 1974, 1975, + 1976, 1977, 1979, 1980, 1982, 1983, 1985, 1986, 1988, 1989, 1990, 1991, 1993, + 1994, 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2007, 2008, 2010, 2011, + 2013, 2014, 2016, 2017, 2019, 2020, 2022, 2023, 2024, 2025, 2026, 2027, 2037, + 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2051, 2053, 2054, + 2056, 2057, 2059, 2060, 2062, 2063, 2064, 2068, 2069, 2070, 2074, 2075, 2079, + 2080, 2081, 2086, 2089, 2090, 2091, 2092, 2093, 2099, 2104, 2108, 2110, 2117, + 2127, 2137, 2141, 2145, 2155, 2156, 2157, 2158, 2159, 2160, 2161, 2162, 2163, + 2164, 2173, 2176, 2177, 2178, 2188, 2189, 2190, 2191, 2192, 2193, 2196, 2199, + 2201, 2202, 2203, 2204, 2205, 2214, 2215, 2216, 2217, 2219, 2220, 2222, 2223, + 2224, 2225, 2226, 2227, 2229, 2230, 2231, 2232, 2233, 2234, 2235, 2236, 2237, + 2238, 2239, 2240, 2241, 2242, 2243, 2244, 2245, 2246, 2247, 2248, 2249, 2259, + 2260, 2261, 2262, 2263, 2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273, 2274, + 2275, 2276, 2282, 2283, 2284, 2285, 2287, 2288, 2289, 2290, 2291, 2293, 2294, + 2295, 2296, 2297, 2298, 2299, 2300, 2307, 2308, 2309, 2310, 2311, 2312, 2313, + 2316, 2317, 2318, 2319, 2320, 2321, 2322, 2325, 2326, 2327, 2328, 2329, 2330, + 2331, 2332, 2333, 2337, 2338, 2339, 2340, 2341, 2342, 2343, 2344, 2345, 2346, + 2347, 2348, 2349, 2355, 2356, 2357, 2358, 2359, 2361, 2362, 2363, 2364, 2365, + 2366, 2372, 2375, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2384, 2385, 2386, + 2387, 2388, 2389, 2390, 2391, 2400, 2401, 2402, 2403, 2404, 2405, 2406, 2409, + 2410, 2411, 2412, 2413, 2414, 2415, 2416, 2417, 2421, 2422, 2423, 2424, 2425, + 2426, 2431, 2432, 2433, 2434, 2435, 2437, 2438, 2439, 2440, 2441, 2442, 2443, + 2444, 2446, 2447, 2448, 2450, 2451, 2452, 2453, 2454, 2455, 2456, 2461, 2462, + 2463, 2464, 2465, 2467, 2468, 2469, 2470, 2471, 2472, 2473, 2479, 2480, 2481, + 2482, 2483, 2484, 2485, 2486, 2487, 2488, 2489, 2490, 2491, 2496, 2497, 2498, + 2499, 2500, 2501, 2502, 2503, 2504, 2506, 2507, 2508, 2509, 2510, 2511, 2512, + 2516, 2517, 2518, 2522, 2523, 2524, 2525, 2526, 2528, 2529, 2530, 2531, 2532, + 2533, 2534, 2535, 2539, 2540, 2541, 2542, 2543, 2545, 2546, 2547, 2548, 2549, + 2550, 2551, 2552, 2553, 2554, 2557, 2558, 2559, 2560, 2561, 2563, 2564, 2565, + 2566, 2567, 2568, 2569, 2570, 2574, 2575, 2576, 2579, 2580, 2581, 2582, 2583, + 2584, 2585, 2586, 2587, 2588, 2589, 2590, 2591, 2592, 2593, 2594, 2595, 2600, + 2601, 2602, 2603, 2607, 2608, 2609, 2610, 2611, 2612, 2616, 2618, 2619, 2620, + 2622, 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2630, 2631, 2632, 2633, 2634, + 2635, 2636, 2637, 2642, 2643, 2644, 2645, 2646, 2647, 2648, 2649, 2650, 2651, + 2652, 2653, 2654, 2655, 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, + 2665, 2669, 2670, 2671, 2672, 2673, 2675, 2676, 2677, 2678, 2679, 2680, 2681, + 2682, 2683, 2686, 2688, 2689, 2690, 2691, 2692, 2693, 2694, 2695, 2696, 2701, + 2707, 2708, 2709, 2711, 2712, 2721, 2722, 2723, 2728, 2729, 2730, 2733, 2734, + 2735, 2736, 2737, 2738, 2739, 2746, 2747, 2748, 2750, 2751, 2752, 2754, 2755, + 2756, 2757, 2758, 2759, 2760, 2764, 2770, 2771, 2772, 2773, 2774, 2775, 2776, + 2777, 2778, 2786, 2787, 2788, 2789, 2790, 2791, 2792, 2793, 2794, 2795, 2796, + 2797, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2813, 2814, 2818, 2819, 2820, + 2821, 2822, 2823, 2824, 2825, 2826, 2832, 2833, 2834, 2835, 2836, 2837, 2838, + 2839, 2840, 2841, 2842, 2843, 2844, 2850, 2851, 2852, 2853, 2854, 2856, 2857, + 2858, 2859, 2860, 2861, 2862, 2863, 2864, 2865, 2873, 2874, 2875, 2876, 2877, + 2878, 2879, 2880, 2881, 2882, 2883, 2895, 2897, 2898, 2899, 2900, 2901, 2903, + 2904, 2907, 2910, 2912, 2913, 2914, 2915, 2916, 2920, 2922, 2923, 2924, 2925, + 2927, 2930, 2931, 2932, 2933, 2935, 2936, 2937, 2938, 2939, 2940, 2941, 2942, + 2943, 2944, 2947, 2949, 2954, 2960, 2969, 2974, 2975, 2978, 2979, 2980, 2981, + 2982, 2983, 2984, 2985, 2992, 2995, 3001, 3009, 3018, 3024, 3030, 3032, 3033, + 3034, 3035, 3036, 3037, 3038, 3039, 3040, 3041, 3049, 3050, 3051, 3052, 3053, + 3054, 3055, 3056, 3057, 3065, 3067, 3077, 3080, 3086, 3087, 3089, 3091, 3092, + 3093, 3094, 3095, 3096, 3097, 3098, 3105, 3108, 3111, 3115, 3125, 3131, 3133, + 3134, 3135, 3136, 3137, 3138, 3139, 3145, 3148, 3150, 3159, 3161, 3165, 3166, + 3167, 3168, 3169, 3170, 3175, 3177, 3179, 3184, 3186, 3187, 3188, 3189, 3190, + 3194, 3195, 3196, 3197, 3198, 3202, 3203, 3204, 3205, 3206, 3209, 3211, 3212, + 3213, 3214, 3215, 3216, 3220, 3221, 3222, 3224, 3225, 3226, 3231, 3232, 3233, + 3234, 3237, 3238, 3239, 3240, 3244, 3246, 3247, 3248, 3250, 3251, 3252, 3253, + 3254, 3255, 3256, 3257, 3261, 3262, 3263, 3264, 3265, 3266, 3267, 3268, 3269, + 3270, 3271, 3272, 3275, 3278, 3279, 3280, 3281, 3282, 3284, 3285, 3286, 3287, + 3288, 3289, 3290, 3296, 3297, 3298, 3299, 3300, 3301, 3303, 3304, 3305, 3306, + 3307, 3308, 3309, 3310, 3312, 3313, 3314, 3315, 3316, 3317, 3318, 3319, 3320, + 3323, 3324, 3325, 3326, 3327, 3328, 3329, 3330, 3331, 3332, 3333, 3334, 3335, + 3337, 3338, 3339, 3340, 3341, 3342, 3343, 3344, 3345, 3346, 3347, 3348, 3349, + 3350, 3351, 3352, 3353, 3354, 3355, 3356, 3357, 3358, 3359, 3360, 3361, 3362, + 3363, 3364, 3368, 3369, 3370, 3371, 3372, 3374, 3375, 3376, 3377, 3378, 3379, + 3380, 3386, 3387, 3389, 3390, 3392, 3393, 3395, 3396, 3398, 3399, 3400, 3401, + 3413, 3414, 3416, 3417, 3418, 3419, 3420, 3422, 3423, 3425, 3426, 3428, 3429, + 3430, 3431, 3432, 3433, 3434, 3435, 3436, 3437, 3438, 3439, 3440, 3441, 3442, + 3444, 3445, 3447, 3448, 3450, 3451, 3453, 3454, 3456, 3457, 3458, 3459, 3460, + 3461, 3462, 3463, 3464, 3465, 3466, 3467, 3469, 3470, 3472, 3473, 3475, 3476, + 3478, 3479, 3481, 3482, 3484, 3485, 3487, 3488, 3492, 3493, 3494, 3495, 3496, + 3498, 3499, 3501, 3502, 3504, 3505, 3507, 3508, 3510, 3511, 3512, 3513, 3515, + 3516, 3518, 3519, 3521, 3522, 3524, 3525, 3527, 3528, 3530, 3531, 3533, 3534, + 3536, 3537, 3538, 3547, 3548, 3549, 3550, 3551, 3552, 3553, 3554, 3555, 3558, + 3559, 3561, 3562, 3565, 3566, 3567, 3568, 3569, 3570, 3575, 3576, 3579, 3580, + 3581, 3582, 3584, 3585, 3586, 3587, 3591, 3593, 3594, 3596, 3597, 3598, 3599, + 3600, 3601, 3602, 3603, 3604, 3605, 3606, 3607, 3608, 3609, 3610, 3611, 3612, + 3614, 3615, 3617, 3618, 3620, 3621, 3622, 3623, 3624, 3625, 3626, 3627, 3628, + 3629, 3630, 3631, 3632, 3633, 3634, 3637, 3638, 3639, 3640, 3641, 3642, 3643, + 3644, 3645, 3647, 3648, 3649, 3650, 3651, 3652, 3653, 3654, 3655, 3657, 3658, + 3659, 3660, 3661, 3662, 3663, 3664, 3665, 3667, 3668, 3669, 3670, 3671, 3672, + 3673, 3674, 3675, 3677, 3678, 3679, 3680, 3681, 3682, 3683, 3684, 3685, 3687, + 3688, 3689, 3690, 3691, 3692, 3693, 3694, 3695, 3697, 3698, 3699, 3700, 3701, + 3702, 3703, 3705, 3706, 3707, 3708, 3709, 3710, 3711, 3712, 3713, 3715, 3716, + 3717, 3718, 3719, 3720, 3721, 3722, 3723, 3724, 3733, 3734, 3735, 3736, 3737, + 3738, 3739, 3740, 3741, 3742, 3743, 3745, 3746, 3747, 3748, 3751, 3752, 3754, + 3755, 3756, 3757, 3763, 3764, 3765, 3766, 3767, 3768, 3769, 3770, 3771, 3773, + 3774, 3775, 3776, 3778, 3779, 3781, 3782, 3783, 3784, 3786, 3787, 3789, 3790, + 3792, 3793, 3794, 3798, 3799, 3800, 3801, 3802, 3803, 3804, 3805, 3806, 3807, + 3809, 3810, 3811, 3812, 3813, 3814, 3815, 3816, 3817, 3818, 3819, 3820, 3821, + 3822, 3823, 3824, 3825, 3826, 3827, 3828, 3830, 3831, 3832, 3835, 3836, 3837, + 3841, 3842, 3843, 3849, 3850, 3852, 3853, 3855, 3856, 3858, 3859, 3866, 3867, + 3869, 3870, 3872, 3873, 3875, 3876, 3878, 3879, 3881, 3882, 3883, 3885, 3886, + 3888, 3890, 3891, 3893, 3894, 3896, 3897, 3899, 3900, 3901, 3902, 3903, 3904, + 3905, 3906, 3907, 3908, 3909, 3910, 3912, 3913, 3915, 3916, 3918, 3919, 3921, + 3922, 3924, 3925, 3927, 3928, 3930, 3931, 3933, 3934, 3936, 3937, 3939, 3940, + 3942, 3943, 3945, 3946, 3947, 3948, 3950, 3953, 3954, 3955, 3957, 3958, 3960, + 3961, 3963, 3964, 3966, 3967, 3968, 3970, 3971, 3973, 3975, 3976, 3978, 3980, + 3981, 3983, 3984, 3986, 3991, 3992, 3993, 3998, 3999, 4000, 4001, 4002, 4005, + 4006, 4010, 4011, 4013, 4014, 4015, 4016, 4022, 4024, 4025, 4026, 4027, 4029, + 4030, 4032, 4033, 4035, 4036, 4038, 4039, 4041, 4042, 4044, 4045, 4046, 4047, + 4048, 4049, 4050, 4051, 4052, 4053, 4054, 4055, 4056, 4057, 4058, 4059, 4060, + 4061, 4062, 4063, 4064, 4065, 4066, 4067, 4068, 4069, 4074, 4075, 4076, 4083, + 4084, 4085, 4086, 4087, 4089, 4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, + 4098, 4100, 4101, 4102, 4103, 4105, 4106, 4107, 4108, 4110, 4111, 4112, 4113, + 4115, 4116, 4117, 4118, 4120, 4121, 4122, 4123, 4125, 4126, 4127, 4128, 4130, + 4131, 4132, 4133, 4135, 4136, 4137, 4138, 4139, 4140, 4141, 4142, 4144, 4145, + 4146, 4147, 4149, 4150, 4151, 4152, 4154, 4155, 4156, 4157, 4159, 4160, 4161, + 4162, 4164, 4165, 4166, 4167, 4169, 4170, 4171, 4172, 4174, 4175, 4176, 4177, + 4179, 4180, 4181, 4182, 4183, 4184, 4185, 4186, 4188, 4189, 4190, 4191, 4193, + 4194, 4195, 4196, 4198, 4199, 4200, 4201, 4202, 4203, 4204, 4205, 4206, 4207, + 4208, 4210, 4211, 4212, 4213, 4214, 4215, 4216, 4217, 4218, 4219, 4220, 4221, + 4222, 4223, 4224, 4225, 4226, 4227, 4228, 4229, 4230, 4231, 4232, 4233, 4234, + 4235, 4236, 4237, 4239, 4240, 4241, 4242, 4243, 4244, 4245, 4246, 4248, 4249, + 4250, 4251, 4253, 4254, 4255, 4257, 4258, 4259, 4260, 4262, 4263, 4264, 4265, + 4267, 4268, 4269, 4270, 4272, 4273, 4274, 4276, 4277, 4278, 4279, 4281, 4282, + 4283, 4284, 4285, 4286, 4287, 4288, 4289, 4290, 4291, 4292, 4293, 4294, 4295, + 4296, 4297, 4298, 4299, 4301, 4302, 4303, 4304, 4305, 4309, 4310, 4311, 4312, + 4313, 4314, 4315, 4323, 4324, 4325, 4327, 4328, 4329, 4330, 4332, 4333, 4334, + 4335, 4337, 4338, 4339, 4340, 4342, 4343, 4344, 4345, 4347, 4348, 4349, 4350, + 4351, 4352, 4353, 4354, 4355, 4356, 4357, 4358, 4360, 4361, 4362, 4363, 4365, + 4366, 4367, 4368, 4369, 4370, 4371, 4372, 4373, 4374, 4375, 4376, 4377, 4378, + 4379, 4380, 4381, 4382, 4383, 4385, 4386, 4387, 4397, 4398, 4399, 4400, 4401, + 4402, 4403, 4404, 4405, 4406, 4407, 4408, 4409, 4411, 4412, 4413, 4414, 4415, + 4416, 4417, 4418, 4420, 4421, 4422, 4423, 4425, 4426, 4427, 4428, 4430, 4431, + 4432, 4434, 4435, 4436, 4437, 4439, 4440, 4441, 4442, 4444, 4445, 4446, 4447, + 4449, 4450, 4451, 4452, 4454, 4455, 4456, 4458, 4459, 4460, 4462, 4463, 4464, + 4466, 4467, 4468, 4469, 4470, 4471, 4477, 4478, 4479, 4480, 4481, 4482, 4483, + 4486, 4487, 4488, 4489, 4490, 4491, 4492, 4493, 4494, 4495, 4496, 4497, 4498, + 4499, 4501, 4502, 4503, 4506, 4507, 4508, 4510, 4511, 4512, 4513, 4514, 4515, + 4518, 4519, 4520, 4521, 4522, 4523, 4524, 4525, 4526, 4527, 4530, 4531, 4532, + 4533, 4535, 4536, 4537, 4538, 4539, 4540, 4541, 4542, 4543, 4544, 4545, 4546, + 4547, 4548, 4549, 4550, 4551, 4552, 4553, 4554, 4563, 4564, 4565, 4567, 4568, + 4569, 4570, 4571, 4572, 4573, 4574, 4575, 4576, 4577, 4578, 4579, 4580, 4586, + 4587, 4588, 4591, 4592, 4593, 4594, 4595, 4596, 4597, 4598, 4599, 4600, 4601, + 4602, 4605, 4606, 4607, 4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, + 4617, 4627, 4628, 4629, 4631, 4632, 4633, 4634, 4636, 4637, 4638, 4639, 4641, + 4642, 4643, 4644, 4646, 4647, 4648, 4649, 4651, 4652, 4653, 4654, 4656, 4657, + 4658, 4659, 4661, 4662, 4663, 4664, 4666, 4667, 4668, 4669, 4671, 4672, 4673, + 4674, 4676, 4677, 4678, 4679, 4681, 4682, 4683, 4685, 4686, 4687, 4688, 4689, + 4693, 4694, 4695, 4696, 4697, 4698, 4699, 4701, 4702, 4703, 4704, 4706, 4707, + 4708, 4710, 4711, 4712, 4714, 4715, 4716, 4717, 4719, 4720, 4721, 4722, 4724, + 4725, 4726, 4727, 4729, 4730, 4731, 4732, 4734, 4735, 4736, 4737, 4739, 4740, + 4741, 4742, 4744, 4745, 4746, 4747, 4749, 4750, 4751, 4752, 4754, 4755, 4756, + 4757, 4759, 4760, 4761, 4762, 4764, 4765, 4766, 4767, 4769, 4770, 4771, 4772, + 4774, 4775, 4776, 4778, 4779, 4780, 4781, 4782, 4783, 4789, 4790, 4791, 4792, + 4794, 4795, 4796, 4797, 4799, 4800, 4801, 4802, 4803, 4804, 4805, 4806, 4807, + 4808, 4809, 4810, 4811, 4812, 4813, 4816, 4817, 4818, 4819, 4821, 4822, 4823, + 4825, 4826, 4827, 4828, 4830, 4831, 4832, 4833, 4835, 4836, 4837, 4838, 4840, + 4841, 4842, 4843, 4845, 4846, 4847, 4848, 4850, 4851, 4852, 4853, 4855, 4856, + 4857, 4858, 4860, 4861, 4862, 4863, 4865, 4866, 4867, 4868, 4870, 4871, 4872, + 4873, 4875, 4876, 4877, 4878, 4880, 4881, 4882, 4883, 4885, 4886, 4887, 4888, + 4890, 4891, 4892, 4893, 4895, 4896, 4897, 4898, 4899, 4900, 4901, 4903, 4904, + 4905, 4906, 4908, 4909, 4910, 4911, 4913, 4914, 4915, 4916, 4918, 4919, 4920, + 4921, 4923, 4924, 4925, 4926, 4927, 4931, 4932, 4933, 4934, 4935, 4936, 4937, + 4938, 4940, 4941, 4942, 4943, 4944, 4945, 4946, 4948, 4949, 4950, 4951, 4952, + 4953, 4954, 4957, 4958, 4959, 4960, 4963, 4964, 4965, 4966, 4967, 4968, 4971, + 4972, 4973, 4981, 4982, 4983, 4984, 4985, 4990, 4991, 4992, 4994, 4995, 4996, + 4997, 4999, 5000, 5001, 5003, 5004, 5005, 5006, 5008, 5009, 5010, 5011, 5013, + 5014, 5015, 5016, 5017, 5018, 5019, 5020, 5021, 5030, 5031, 5032, 5033, 5034, + 5038, 5039, 5040, 5041, 5042, 5043, 5044, 5045, 5046, 5047, 5048, 5049, 5050, + 5051, 5052, 5053, 5054, 5055, 5056, 5057, 5058, 5059, 5060, 5061, 5062, 5063, + 5064, 5066, 5067, 5068, 5069, 5071, 5072, 5073, 5074, 5075, 5076, 5077, 5079, + 5080, 5081, 5082, 5083, 5084, 5085, 5086, 5087, 5088, 5089, 5090, 5091, 5092, + 5093, 5094, 5095, 5096, 5097, 5099, 5100, 5101, 5103, 5104, 5105, 5106, 5108, + 5109, 5110, 5111, 5113, 5114, 5115, 5116, 5118, 5119, 5120, 5121, 5123, 5124, + 5125, 5126, 5128, 5129, 5130, 5131, 5133, 5134, 5135, 5137, 5138, 5139, 5140, + 5142, 5143, 5144, 5145, 5147, 5148, 5149, 5150, 5152, 5153, 5154, 5156, 5157, + 5158, 5159, 5161, 5162, 5163, 5164, 5166, 5167, 5168, 5169, 5171, 5172, 5173, + 5174, 5176, 5177, 5178, 5179, 5180, 5181, 5182, 5195, 5196, 5197, 5198, 5200, + 5201, 5202, 5203, 5205, 5206, 5207, 5208, 5210, 5211, 5212, 5213, 5215, 5216, + 5217, 5218, 5219, 5220, 5224, 5225, 5226, 5227, 5229, 5230, 5231, 5232, 5233, + 5237, 5238, 5239, 5241, 5242, 5243, 5244, 5245, 5246, 5247, 5248, 5250, 5251, + 5252, 5253, 5254, 5255, 5256, 5257, 5258, 5259, 5260, 5261, 5262, 5263, 5264, + 5265, 5266, 5267, 5268, 5269, 5270, 5271, 5272, 5273, 5274, 5275, 5276, 5277, + 5278, 5279, 5280, 5281, 5282, 5283, 5284, 5286, 5287, 5288, 5289, 5290, 5294, + 5295, 5296, 5298, 5299, 5300, 5301, 5303, 5304, 5305, 5306, 5308, 5309, 5310, + 5311, 5313, 5314, 5315, 5316, 5318, 5319, 5320, 5321, 5323, 5324, 5325, 5326, + 5327, 5328, 5329, 5330, 5331, 5332, 5333, 5335, 5336, 5337, 5338, 5340, 5341, + 5342, 5343, 5345, 5346, 5347, 5348, 5350, 5351, 5352, 5353, 5355, 5356, 5357, + 5358, 5360, 5361, 5362, 5363, 5365, 5366, 5367, 5368, 5370, 5371, 5372, 5373, + 5375, 5376, 5377, 5378, 5380, 5381, 5382, 5383, 5385, 5386, 5387, 5388, 5390, + 5391, 5392, 5393, 5394, 5395, 5396, 5398, 5399, 5400, 5401, 5403, 5404, 5405, + 5406, 5408, 5409, 5410, 5411, 5413, 5414, 5415, 5416, 5418, 5419, 5420, 5421, + 5423, 5424, 5425, 5426, 5428, 5429, 5430, 5431, 5433, 5434, 5435, 5436, 5438, + 5439, 5440, 5441, 5443, 5444, 5445, 5446, 5448, 5449, 5450, 5451, 5452, 5453, + 5454, 5455, 5456, 5457, 5458, 5459, 5461, 5462, 5463, 5464, 5466, 5467, 5468, + 5469, 5471, 5472, 5473, 5474, 5476, 5477, 5478, 5479, 5481, 5482, 5483, 5484, + 5486, 5487, 5488, 5489, 5491, 5492, 5493, 5494, 5495, 5496, 5500, 5501, 5502, + 5503, 5504, 5505, 5506, 5507, 5508, 5509, 5510, 5511, 5512, 5513, 5514, 5515, + 5516, 5520, 5521, 5522, 5523, 5525, 5526, 5527, 5529, 5530, 5531, 5532, 5534, + 5535, 5536, 5537, 5539, 5540, 5541, 5542, 5544, 5545, 5546, 5547, 5549, 5550, + 5551, 5552, 5554, 5555, 5556, 5557, 5559, 5560, 5561, 5562, 5563, 5564, 5565, + 5566, 5567, 5568, 5569, 5570, 5571, 5572, 5573, 5575, 5576, 5577, 5578, 5580, + 5581, 5582, 5584, 5585, 5586, 5587, 5589, 5590, 5591, 5592, 5594, 5595, 5596, + 5597, 5599, 5600, 5601, 5602, 5604, 5605, 5606, 5608, 5609, 5610, 5612, 5613, + 5614, 5615, 5616, 5620, 5621, 5622, 5623, 5624, 5625, 5626, 5628, 5629, 5630, + 5632, 5633, 5634, 5635, 5636, 5640, 5641, 5642, 5643, 5644, 5645, 5646, 5647, + 5648, 5651, 5652, 5653, 5654, 5656, 5657, 5658, 5659, 5660, 5664, 5665, 5666, + 5675, 5676, 5677, 5678, 5679, 5680, 5681, 5682, 5683, 5684, 5685, 5687, 5688, + 5689, 5690, 5692, 5693, 5694, 5695, 5697, 5698, 5699, 5700, 5702, 5703, 5704, + 5705, 5707, 5708, 5709, 5710, 5712, 5713, 5714, 5715, 5716, 5717, 5718, 5719, + 5720, 5722, 5723, 5724, 5725, 5727, 5728, 5729, 5730, 5732, 5733, 5734, 5735, + 5737, 5738, 5739, 5740, 5742, 5743, 5744, 5745, 5747, 5748, 5749, 5750, 5752, + 5753, 5754, 5755, 5756, 5757, 5758, 5759, 5760, 5761, 5762, 5763, 5764, 5765, + 5766, 5790, 5791, 5792, 5794, 5795, 5796, 5797, 5799, 5800, 5801, 5802, 5804, + 5805, 5806, 5807, 5809, 5810, 5811, 5812, 5814, 5815, 5816, 5817, 5819, 5820, + 5821, 5822, 5823, 5824, 5825, 5826, 5836, 5837, 5838, 5840, 5841, 5842, 5843, + 5845, 5846, 5847, 5849, 5850, 5851, 5855, 5856, 5857, 5859, 5860, 5861, 5863, + 5864, 5865, 5869, 5870, 5871, 5875, 5876, 5877, 5879, 5880, 5881, 5885, 5886, + 5887, 5891, 5892, 5893, 5895, 5896, 5897, 5898, 5900, 5901, 5902, 5903, 5905, + 5906, 5907, 5908, 5910, 5911, 5912, 5914, 5915, 5916, 5918, 5919, 5920, 5922, + 5923, 5924, 5926, 5927, 5928, 5930, 5931, 5932, 5933, 5934, 5935, 5936, 5937, + 5938, 5939, 5940, 5941, 5942, 5943, 5944, 5945, 5946, 5947, 5948, 5980, 5981, + 5982, 5983, 5984, 5985, 5986, 5988, 5989, 5990, 5991, 5993, 5994, 5995, 5996, + 5998, 5999, 6000, 6001, 6003, 6004, 6005, 6006, 6008, 6009, 6010, 6011, 6013, + 6014, 6015, 6016, 6017, 6021, 6022, 6023, 6025, 6026, 6027, 6028, 6030, 6031, + 6032, 6033, 6035, 6036, 6037, 6038, 6040, 6041, 6042, 6043, 6044, 6045, 6046, + 6047, 6048, 6049, 6050, 6051, 6052, 6053, 6054, 6055, 6056, 6057, 6058, 6059, + 6060, 6061, 6062, 6064, 6065, 6066, 6067, 6069, 6070, 6071, 6072, 6074, 6075, + 6076, 6077, 6079, 6080, 6081, 6082, 6083, 6084, 6085, 6086, 6087, 6088, 6089, + 6090, 6091, 6092, 6093, 6094, 6095, 6096, 6097, 6098, 6099, 6100, 6101, 6102, + 6103, 6107, 6108, 6109, 6111, 6112, 6113, 6114, 6116, 6117, 6118, 6119, 6121, + 6122, 6123, 6124, 6126, 6127, 6128, 6129, 6130, 6131, 6132, 6133, 6134, 6135, + 6136, 6137, 6138, 6139, 6140, 6141, 6142, 6143, 6144, 6145, 6146, 6147, 6148, + 6149, 6151, 6152, 6153, 6155, 6156, 6157, 6158, 6160, 6161, 6162, 6163, 6165, + 6166, 6167, 6168, 6170, 6171, 6172, 6173, 6174, 6175, 6176, 6177, 6178, 6179, + 6180, 6181, 6182, 6183, 6184, 6185, 6186, 6187, 6188, 6189, 6190, 6191, 6192, + 6194, 6195, 6196, 6197, 6199, 6200, 6201, 6202, 6204, 6205, 6206, 6207, 6209, + 6210, 6211, 6212, 6213, 6214, 6215, 6216, 6217, 6218, 6219, 6220, 6221, 6222, + 6223, 6224, 6225, 6226, 6227, 6228, 6229, 6230, 6231, 6232, 6233, 6237, 6238, + 6239, 6241, 6242, 6243, 6244, 6246, 6247, 6248, 6249, 6251, 6252, 6253, 6254, + 6256, 6257, 6258, 6259, 6260, 6261, 6262, 6263, 6264, 6265, 6266, 6267, 6268, + 6269, 6270, 6271, 6272, 6273, 6274, 6275, 6276, 6277, 6278, 6279, 6281, 6282, + 6283, 6285, 6286, 6287, 6288, 6290, 6291, 6292, 6293, 6295, 6296, 6297, 6298, + 6300, 6301, 6302, 6303, 6304, 6305, 6306, 6307, 6308, 6309, 6310, 6311, 6312, + 6313, 6314, 6315, 6316, 6317, 6318, 6319, 6320, 6321, 6322, 6323, 6325, 6326, + 6327, 6328, 6330, 6331, 6332, 6333, 6335, 6336, 6337, 6338, 6340, 6341, 6342, + 6343, 6345, 6346, 6347, 6348, 6350, 6351, 6352, 6353, 6355, 6356, 6357, 6358, + 6360, 6361, 6362, 6363, 6365, 6366, 6367, 6368, 6370, 6371, 6372, 6373, 6375, + 6376, 6377, 6379, 6380, 6381, 6382, 6384, 6385, 6386, 6387, 6389, 6390, 6391, + 6392, 6394, 6395, 6396, 6397, 6398, 6399, 6400, 6401, 6402, 6403, 6404, 6405, + 6406, 6407, 6408, 6409, 6410, 6411, 6412, 6413, 6414, 6415, 6416, 6418, 6419, + 6420, 6421, 6423, 6424, 6425, 6426, 6428, 6429, 6430, 6431, 6433, 6434, 6435, + 6436, 6437, 6438, 6439, 6440, 6441, 6442, 6443, 6444, 6445, 6446, 6447, 6448, + 6449, 6450, 6451, 6452, 6453, 6454, 6455, 6456, 6457, 6458, 6464, 6465, 6466, + 6468, 6469, 6470, 6471, 6473, 6474, 6475, 6476, 6478, 6479, 6480, 6481, 6483, + 6484, 6485, 6486, 6487, 6488, 6489, 6490, 6492, 6493, 6494, 6496, 6497, 6498, + 6499, 6501, 6502, 6503, 6504, 6506, 6507, 6508, 6509, 6511, 6512, 6513, 6514, + 6515, 6516, 6517, 6518, 6519, 6520, 6521, 6522, 6523, 6524, 6525, 6526, 6528, + 6529, 6530, 6531, 6533, 6534, 6535, 6536, 6538, 6539, 6540, 6541, 6543, 6544, + 6545, 6547, 6548, 6549, 6551, 6552, 6553, 6555, 6556, 6557, 6558, 6560, 6561, + 6562, 6563, 6565, 6566, 6567, 6568, 6570, 6571, 6572, 6573, 6574, 6575, 6576, + 6577, 6578, 6579, 6580, 6581, 6582, 6583, 6584, 6585, 6586, 6587, 6588, 6589, + 6591, 6592, 6593, 6594, 6595, 6596, 6597, 6598, 6599, 6600, 6601, 6602, 6603, + 6604, 6626, 6627, 6628, 6629, 6630, 6631, 6632, 6634, 6636, 6637, 6638, 6639, + 6641, 6642, 6643, 6644, 6646, 6647, 6648, 6649, 6651, 6652, 6653, 6655, 6656, + 6657, 6658, 6659, 6660, 6661, 6662, 6663, 6664, 6665, 6666, 6667, 6668, 6669, + 6670, 6672, 6673, 6674, 6675, 6677, 6678, 6679, 6680, 6681, 6682, 6683, 6684, + 6685, 6686, 6687, 6688, 6689, 6690, 6691, 6692, 6693, 6694, 6695, 6697, 6698, + 6699, 6700, 6702, 6703, 6704, 6706, 6707, 6708, 6710, 6711, 6712, 6713, 6714, + 6715, 6716, 6718, 6719, 6720, 6721, 6722, 6723, 6731, 6732, 6733, 6734, 6737, + 6738, 6739, 6740, 6742, 6743, 6744, 6745, 6746, 6747, 6748, 6750, 6751, 6752, + 6753, 6755, 6756, 6757, 6758, 6760, 6761, 6762, 6763, 6764, 6765, 6766, 6767, + 6769, 6770, 6771, 6772, 6774, 6775, 6776, 6777, 6779, 6780, 6781, 6782, 6784, + 6785, 6786, 6787, 6789, 6790, 6791, 6792, 6794, 6795, 6796, 6797, 6798, 6799, + 6800, 6801, 6803, 6804, 6805, 6806, 6808, 6809, 6810, 6811, 6813, 6814, 6815, + 6816, 6818, 6819, 6820, 6821, 6823, 6824, 6825, 6826, 6828, 6829, 6830, 6831, + 6832, 6833, 6834, 6835, 6837, 6838, 6839, 6840, 6842, 6843, 6844, 6845, 6847, + 6848, 6849, 6850, 6852, 6853, 6854, 6855, 6856, 6857, 6858, 6859, 6861, 6862, + 6863, 6864, 6866, 6867, 6868, 6869, 6871, 6872, 6873, 6874, 6876, 6877, 6878, + 6879, 6880, 6881, 6882, 6883, 6885, 6886, 6887, 6888, 6890, 6891, 6892, 6893, + 6895, 6896, 6897, 6898, 6900, 6901, 6902, 6903, 6905, 6906, 6907, 6908, 6910, + 6911, 6912, 6913, 6914, 6915, 6916, 6917, 6927, 6928, 6929, 6930, 6931, 6932, + 6933, 6934, 6935, 6936, 6937, 6938, 6939, 6940, 6941, 6942, 6943, 6944, 6945, + 6946, 6947, 6948, 6949, 6953, 6954, 6955, 6957, 6959, 6960, 6961, 6962, 6964, + 6965, 6966, 6967, 6969, 6970, 6971, 6972, 6973, 6977, 6978, 6979, 6980, 6981, + 6982, 6983, 6987, 6988, 6989, 6990, 6991, 6992, 6996, 6997, 6998, 6999, 7000, + 7004, 7005, 7006, 7008, 7009, 7010, 7012, 7014, 7020, 7021, 7022, 7027, 7028, + 7029, 7033, 7034, 7035, 7037, 7038, 7039, 7046, 7047, 7048, 7058, 7059, 7060, + 7070, 7071, 7072, 7076, 7077, 7078, 7082, 7083, 7084, 7094, 7095, 7096, 7097, + 7098, 7099, 7100, 7101, 7102, 7103, 7104, 7105, 7114, 7115, 7116, 7119, 7120, + 7121, 7122, 7123, 7124, 7125, 7135, 7136, 7137, 7138, 7139, 7140, 7141, 7142, + 7143, 7144, 7147, 7148, 7149, 7151, 7152, 7153, 7154, 7155, 7156, 7158, 7160, + 7161, 7162, 7171, 7172, 7173, 7174, 7175, 7176, 7177, 7178, 7180, 7181, 7182, + 7183, 7185, 7186, 7187, 7189, 7190, 7191, 7201, 7202, 7203, 7206, 7207, 7208, + 7214, 7215, 7216, 7217, 7218, 7219, 7221, 7222, 7223, 7225, 7226, 7227, 7228, + 7229, 7230, 7231, 7232, 7233, 7234, 7241, 7242, 7243, 7246, 7247, 7248, 7251, + 7252, 7253, 7257, 7258, 7259, 7265, 7266, 7267, 7269, 7270, 7271, 7272, 7273, + 7274, 7275, 7276, 7282, 7283, 7284, 7287, 7288, 7289, 7291, 7292, 7293, 7302, + 7303, 7304, 7305, 7306, 7307, 7308, 7311, 7312, 7313, 7317, 7318, 7319, 7320, + 7321, 7322, 7323, 7324, 7329, 7330, 7331, 7333, 7334, 7335, 7336, 7337, 7338, + 7339, 7340, 7341, 7342, 7343, 7344, 7345, 7346, 7348, 7349, 7350, 7352, 7353, + 7354, 7359, 7360, 7361, 7363, 7364, 7365, 7366, 7367, 7368, 7369, 7370, 7371, + 7377, 7378, 7379, 7380, 7381, 7382, 7383, 7384, 7385, 7386, 7387, 7388, 7389, + 7390, 7391, 7392, 7393, 7394, 7395, 7400, 7401, 7402, 7403, 7404, 7405, 7406, + 7407, 7408, 7409, 7410, 7412, 7413, 7414, 7415, 7416, 7417, 7418, 7419, 7420, + 7421, 7422, 7426, 7427, 7428, 7429, 7430, 7434, 7435, 7436, 7438, 7439, 7440, + 7441, 7442, 7443, 7444, 7445, 7446, 7447, 7448, 7449, 7450, 7451, 7452, 7453, + 7457, 7458, 7459, 7460, 7461, 7462, 7463, 7465, 7466, 7467, 7468, 7469, 7470, + 7473, 7474, 7475, 7477, 7478, 7479, 7480, 7481, 7482, 7483, 7484, 7485, 7486, + 7490, 7491, 7492, 7493, 7494, 7497, 7498, 7499, 7500, 7501, 7502, 7503, 7504, + 7505, 7510, 7511, 7512, 7513, 7514, 7515, 7519, 7520, 7521, 7522, 7523, 7524, + 7525, 7526, 7527, 7528, 7532, 7533, 7534, 7536, 7537, 7538, 7539, 7540, 7542, + 7543, 7544, 7545, 7546, 7547, 7548, 7549, 7550, 7551, 7552, 7553, 7554, 7555, + 7556, 7557, 7558, 7559, 7560, 7561, 7562, 7563, 7564, 7565, 7566, 7567, 7572, + 7573, 7574, 7575, 7576, 7577, 7578, 7579, 7580, 7581, 7582, 7583, 7584, 7585, + 7586, 7587, 7588, 7589, 7590, 7591, 7592, 7593, 7594, 7595, 7596, 7597, 7598, + 7599, 7600, 7601, 7605, 7606, 7607, 7608, 7609, 7610, 7611, 7612, 7613, 7615, + 7616, 7617, 7618, 7619, 7620, 7621, 7622, 7623, 7624, 7625, 7628, 7629, 7630, + 7632, 7633, 7634, 7639, 7640, 7641, 7647, 7648, 7649, 7650, 7651, 7652, 7654, + 7663, 7664, 7665, 7670, 7671, 7672, 7675, 7676, 7677, 7678, 7679, 7680, 7681, + 7682, 7683, 7690, 7691, 7692, 7693, 7694, 7695, 7696, 7697, 7698, 7699, 7700, + 7701, 7702, 7704, 7706, 7710, 7711, 7712, 7718, 7719, 7720, 7728, 7729, 7730, + 7739, 7740, 7741, 7744, 7745, 7746, 7748, 7754, 7755, 7756, 7762, 7763, 7764, + 7766, 7767, 7768, 7769, 7770, 7771, 7772, 7773, 7774, 7775, 7776, 7777, 7778, + 7779, 7787, 7788, 7789, 7790, 7791, 7792, 7793, 7794, 7795, 7796, 7797, 7798, + 7810, 7811, 7812, 7814, 7815, 7816, 7817, 7818, 7819, 7820, 7821, 7822, 7824, + 7825, 7826, 7827, 7828, 7829, 7830, 7831, 7832, 7833, 7834, 7835, 7836, 7837, + 7838, 7842, 7843, 7844, 7845, 7846, 7847, 7848, 7849, 7850, 7852, 7853, 7854, + 7855, 7856, 7857, 7858, 7859, 7860, 7862, 7863, 7864, 7865, 7866, 7867, 7868, + 7869, 7870, 7871, 7872, 7873, 7874, 7875, 7876, 7877, 7878, 7879, 7882, 7883, + 7884, 7885, 7886, 7887, 7888, 7889, 7890, 7891, 7892, 7893, 7894, 7895, 7896, + 7897, 7898, 7899, 7900, 7901, 7902, 7903, 7904, 7905, 7912, 7913, 7914, 7915, + 7916, 7917, 7918, 7919, 7920, 7921, 7922, 7923, 7924, 7925, 7926, 7927, 7928, + 7929, 7930, 7931, 7932, 7933, 7934, 7935, 7936, 7937, 7938, 7946, 7947, 7948, + 7949, 7950, 7951, 7952, 7953, 7954, 7955, 7956, 7964, 7965, 7966, 7967, 7968, + 7969, 7970, 7971, 7972, 7973, 7974, 7975, 7976, 7977, 7978, 7979, 7980, 7981, + 7982, 7983, 7984, 7985, 7986, 7987, 7994, 7995, 7996, 7997, 7998, 7999, 8000, + 8001, 8002, 8003, 8004, 8005, 8006, 8007, 8008, 8009, 8010, 8011, 8012, 8013, + 8014, 8020, 8021, 8022, 8023, 8024, 8025, 8026, 8027, 8028, 8029, 8030, 8031, + 8032, 8033, 8034, 8035, 8036, 8037, 8042, 8043, 8044, 8045, 8046, 8047, 8048, + 8049, 8050, 8051, 8052, 8053, 8054, 8055, 8056, 8060, 8061, 8062, 8063, 8064, + 8065, 8066, 8070, 8071, 8072, 8073, 8074, 8075, 8076, 8077, 8078, 8079, 8080, + 8081, 8082, 8083, 8084, 8085, 8086, 8087, 8088, 8089, 8090, 8094, 8095, 8096, + 8097, 8098, 8100, 8101, 8102, 8103, 8104, 8105, 8106, 8107, 8108, 8109, 8110, + 8111, 8114, 8115, 8116, 8117, 8118, 8119, 8120, 8121, 8122, 8123, 8124, 8125, + 8126, 8127, 8128, 8130, 8131, 8132, 8133, 8134, 8135, 8136, 8137, 8138, 8139, + 8140, 8141, 8142, 8146, 8147, 8148, 8149, 8150, 8151, 8152, 8153, 8154, 8155, + 8156, 8157, 8158, 8159, 8160, 8161, 8162, 8163, 8164, 8165, 8166, 8167, 8170, + 8171, 8172, 8173, 8174, 8175, 8176, 8177, 8178, 8179, 8180, 8182, 8183, 8184, + 8185, 8186, 8187, 8188, 8189, 8190, 8196, 8197, 8198, 8199, 8200, 8201, 8202, + 8203, 8204, 8205, 8206, 8207, 8208, 8209, 8210, 8211, 8212, 8213, 8214, 8215, + 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8227, 8228, 8229, + 8230, 8231, 8232, 8233, 8234, 8235, 8236, 8237, 8238, 8239, 8242, 8243, 8244, + 8245, 8246, 8247, 8248, 8249, 8250, 8251, 8252, 8253, 8254, 8255, 8256, 8257, + 8258, 8259, 8260, 8261, 8262, 8263, 8264, 8265, 8266, 8268, 8269, 8270, 8271, + 8272, 8273, 8274, 8275, 8276, 8277, 8278, 8279, 8280, 8281, 8282, 8283, 8284, + 8285, 8286, 8287, 8288, 8289, 8290, 8291, 8292, 8293, 8294, 8295, 8296, 8297, + 8298, 8299, 8300, 8301, 8302, 8303, 8304, 8305, 8306, 8307, 8308, 8309, 8310, + 8311, 8312, 8313, 8314, 8315, 8316, 8317, 8318, 8319, 8320, 8324, 8325, 8326, + 8327, 8328, 8329, 8330, 8331, 8332, 8334, 8335, 8336, 8337, 8338, 8339, 8340, + 8341, 8342, 8348, 8349, 8350, 8351, 8353, 8354, 8355, 8356, 8358, 8359, 8360, + 8361, 8363, 8364, 8365, 8366, 8368, 8369, 8370, 8371, 8372, 8373, 8385, 8386, + 8387, 8388, 8390, 8391, 8392, 8393, 8394, 8395, 8396, 8397, 8398, 8399, 8400, + 8402, 8403, 8404, 8405, 8407, 8408, 8409, 8410, 8412, 8413, 8414, 8415, 8416, + 8417, 8418, 8419, 8420, 8421, 8422, 8423, 8424, 8425, 8426, 8427, 8428, 8429, + 8430, 8431, 8432, 8433, 8434, 8435, 8436, 8437, 8438, 8439, 8440, 8441, 8442, + 8444, 8445, 8446, 8447, 8449, 8450, 8451, 8452, 8454, 8455, 8456, 8457, 8459, + 8460, 8461, 8462, 8464, 8465, 8466, 8467, 8468, 8469, 8470, 8471, 8472, 8473, + 8474, 8475, 8476, 8477, 8478, 8479, 8480, 8481, 8482, 8483, 8484, 8485, 8486, + 8487, 8489, 8490, 8491, 8492, 8494, 8495, 8496, 8497, 8499, 8500, 8501, 8502, + 8504, 8505, 8506, 8507, 8509, 8510, 8511, 8512, 8514, 8515, 8516, 8517, 8519, + 8520, 8521, 8522, 8525, 8526, 8527, 8528, 8529, 8530, 8531, 8532, 8533, 8534, + 8535, 8537, 8538, 8539, 8540, 8542, 8543, 8544, 8545, 8547, 8548, 8549, 8550, + 8552, 8553, 8554, 8555, 8557, 8558, 8559, 8560, 8561, 8562, 8563, 8564, 8566, + 8567, 8568, 8569, 8571, 8572, 8573, 8574, 8576, 8577, 8578, 8579, 8581, 8582, + 8583, 8584, 8586, 8587, 8588, 8589, 8591, 8592, 8593, 8594, 8596, 8597, 8598, + 8599, 8600, 8601, 8602, 8604, 8606, 8615, 8616, 8617, 8618, 8619, 8620, 8621, + 8622, 8623, 8624, 8625, 8626, 8627, 8628, 8629, 8630, 8631, 8632, 8633, 8636, + 8637, 8638, 8639, 8640, 8641, 8643, 8644, 8645, 8646, 8647, 8648, 8651, 8652, + 8653, 8654, 8655, 8656, 8657, 8658, 8663, 8664, 8665, 8666, 8669, 8670, 8671, + 8672, 8673, 8674, 8675, 8676, 8678, 8679, 8680, 8681, 8682, 8683, 8687, 8688, + 8689, 8691, 8692, 8693, 8694, 8696, 8697, 8698, 8699, 8700, 8701, 8702, 8703, + 8704, 8705, 8706, 8707, 8708, 8709, 8710, 8711, 8712, 8713, 8714, 8715, 8716, + 8717, 8718, 8719, 8720, 8721, 8722, 8723, 8724, 8725, 8726, 8727, 8728, 8729, + 8730, 8732, 8733, 8734, 8735, 8737, 8738, 8739, 8740, 8742, 8743, 8744, 8745, + 8746, 8747, 8748, 8749, 8750, 8751, 8752, 8753, 8754, 8755, 8756, 8757, 8758, + 8759, 8760, 8761, 8762, 8763, 8764, 8765, 8766, 8767, 8768, 8769, 8770, 8771, + 8772, 8774, 8775, 8776, 8777, 8778, 8779, 8780, 8781, 8782, 8783, 8784, 8785, + 8786, 8787, 8788, 8789, 8790, 8791, 8792, 8793, 8794, 8795, 8796, 8797, 8798, + 8799, 8800, 8801, 8802, 8803, 8804, 8805, 8806, 8807, 8808, 8809, 8810, 8811, + 8812, 8813, 8814, 8815, 8816, 8817, 8818, 8819, 8820, 8821, 8822, 8823, 8824, + 8825, 8826, 8827, 8828, 8829, 8830, 8831, 8832, 8833, 8834, 8835, 8836, 8837, + 8838, 8839, 8840, 8841, 8842, 8843, 8844, 8845, 8846, 8847, 8848, 8849, 8850, + 8851, 8852, 8853, 8854, 8855, 8856, 8857, 8858, 8859, 8860, 8861, 8862, 8863, + 8864, 8865, 8866, 8867, 8868, 8869, 8870, 8871, 8872, 8873, 8874, 8875, 8876, + 8877, 8878, 8879, 8880, 8881, 8882, 8883, 8884, 8885, 8886, 8887, 8888, 8889, + 8890, 8891, 8892, 8893, 8894, 8895, 8896, 8897, 8898, 8899, 8900, 8901, 8902, + 8903, 8904, 8905, 8906, 8907, 8908, 8909, 8910, 8911, 8912, 8913, 8914, 8915, + 8916, 8917, 8918, 8919, 8920, 8921, 8922, 8923, 8924, 8926, 8928, 8930, 8932, + 8934, 8936, 8938, 8940, 8942, 8951, 8952, 8953, 8954, 8955, 8956, 8957, 8958, + 8959, 8960, 8961, 8962, 8963, 8964, 8965, 8966, 8967, 8968, 8969, 8970, 8971, + 8973, 8974, 8975, 8976, 8977, 8978, 8981, 8982, 8983, 8984, 8986, 8987, 8988, + 8989, 8990, 8991, 8997, 8998, 8999, 9000, 9001, 9002, 9003, 9004, 9005, 9006, + 9007, 9008, 9009, 9010, 9011, 9012, 9013, 9014, 9015, 9017, 9018, 9019, 9020, + 9021, 9022, 9023, 9024, 9026, 9027, 9028, 9029, 9031, 9032, 9033, 9034, 9035, + 9036, 9037, 9038, 9039, 9040, 9042, 9043, 9044, 9045, 9047, 9048, 9049, 9050, + 9052, 9053, 9054, 9055, 9056, 9060, 9061, 9062, 9063, 9064, 9065, 9066, 9067, + 9068, 9069, 9070, 9071, 9072, 9073, 9074, 9075, 9076, 9077, 9078, 9079, 9080, + 9081, 9083, 9084, 9085, 9086, 9087, 9088, 9089, 9090, 9091, 9092, 9093, 9094, + 9095, 9096, 9097, 9098, 9099, 9100, 9101, 9102, 9103, 9104, 9105, 9106, 9107, + 9108, 9109, 9110, 9111, 9112, 9113, 9114, 9115, 9116, 9117, 9118, 9119, 9120, + 9121, 9122, 9124, 9125, 9126, 9127, 9128, 9131, 9132, 9133, 9134, 9135, 9139, + 9140, 9141, 9142, 9143, 9144, 9145, 9151, 9152, 9153, 9154, 9156, 9157, 9158, + 9159, 9161, 9162, 9163, 9164, 9166, 9167, 9168, 9169, 9176, 9177, 9178, 9179, + 9180, 9181, 9183, 9184, 9185, 9186, 9188, 9189, 9190, 9191, 9193, 9194, 9195, + 9196, 9198, 9199, 9200, 9201, 9203, 9204, 9205, 9206, 9207, 9209, 9210, 9211, + 9212, 9214, 9215, 9216, 9218, 9219, 9220, 9221, 9223, 9224, 9225, 9226, 9228, + 9229, 9230, 9231, 9233, 9234, 9235, 9236, 9237, 9238, 9239, 9240, 9241, 9242, + 9243, 9244, 9245, 9246, 9247, 9248, 9249, 9250, 9251, 9252, 9253, 9254, 9255, + 9256, 9258, 9259, 9260, 9261, 9263, 9264, 9265, 9266, 9268, 9269, 9270, 9271, + 9273, 9274, 9275, 9276, 9278, 9279, 9280, 9281, 9283, 9284, 9285, 9286, 9288, + 9289, 9290, 9291, 9293, 9294, 9295, 9296, 9298, 9299, 9300, 9301, 9303, 9304, + 9305, 9306, 9308, 9309, 9310, 9311, 9313, 9314, 9315, 9316, 9317, 9318, 9319, + 9320, 9322, 9323, 9324, 9327, 9328, 9329, 9330, 9331, 9332, 9333, 9335, 9336, + 9337, 9338, 9340, 9341, 9342, 9343, 9345, 9346, 9347, 9348, 9350, 9351, 9352, + 9353, 9354, 9355, 9356, 9358, 9359, 9360, 9361, 9363, 9364, 9365, 9367, 9368, + 9369, 9370, 9372, 9373, 9374, 9376, 9377, 9378, 9379, 9381, 9382, 9383, 9384, + 9385, 9386, 9387, 9392, 9393, 9394, 9395, 9396, 9397, 9398, 9403, 9404, 9405, + 9406, 9407, 9408, 9409, 9410, 9411, 9414, 9415, 9416, 9417, 9421, 9422, 9423, + 9424, 9426, 9427, 9428, 9429, 9431, 9432, 9438, 9439, 9440, 9442, 9443, 9444, + 9445, 9446, 9447, 9448, 9449, 9451, 9452, 9453, 9454, 9456, 9457, 9458, 9459, + 9461, 9462, 9463, 9464, 9466, 9467, 9468, 9469, 9471, 9472, 9473, 9474, 9476, + 9477, 9478, 9479, 9480, 9481, 9482, 9483, 9484, 9485, 9486, 9487, 9488, 9489, + 9490, 9491, 9492, 9493, 9494, 9495, 9496, 9497, 9498, 9499, 9500, 9501, 9502, + 9503, 9504, 9505, 9506, 9507, 9508, 9510, 9511, 9512, 9513, 9514, 9515, 9516, + 9517, 9518, 9519, 9520, 9521, 9523, 9524, 9525, 9526, 9528, 9529, 9530, 9531, + 9533, 9534, 9535, 9536, 9538, 9539, 9540, 9541, 9543, 9544, 9545, 9546, 9548, + 9549, 9550, 9551, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9562, 9563, + 9564, 9565, 9567, 9568, 9569, 9570, 9572, 9573, 9574, 9575, 9577, 9578, 9579, + 9580, 9582, 9583, 9584, 9585, 9587, 9588, 9589, 9590, 9592, 9593, 9594, 9595, + 9597, 9598, 9599, 9600, 9601, 9602, 9603, 9604, 9606, 9607, 9608, 9609, 9611, + 9612, 9613, 9614, 9616, 9617, 9618, 9619, 9620, 9621, 9622, 9623, 9624, 9626, + 9627, 9628, 9629, 9630, 9631, 9632, 9633, 9634, 9635, 9636, 9637, 9638, 9639, + 9640, 9641, 9642, 9643, 9644, 9645, 9646, 9647, 9648, 9649, 9650, 9651, 9652, + 9653, 9655, 9656, 9657, 9658, 9659, 9660, 9661, 9662, 9664, 9665, 9666, 9667, + 9669, 9670, 9671, 9672, 9673, 9674, 9676, 9677, 9678, 9679, 9681, 9682, 9683, + 9684, 9686, 9687, 9688, 9689, 9690, 9691, 9693, 9694, 9695, 9696, 9697, 9698, + 9699, 9700, 9701, 9702, 9703, 9704, 9705, 9706, 9707, 9708, 9709, 9710, 9712, + 9713, 9714, 9715, 9716, 9720, 9721, 9722, 9723, 9724, 9725, 9726, 9734, 9735, + 9736, 9737, 9738, 9739, 9741, 9742, 9743, 9744, 9746, 9747, 9748, 9749, 9751, + 9752, 9753, 9754, 9756, 9757, 9758, 9759, 9760, 9761, 9762, 9763, 9764, 9765, + 9766, 9767, 9769, 9770, 9771, 9772, 9774, 9775, 9776, 9777, 9778, 9779, 9780, + 9781, 9782, 9783, 9784, 9785, 9786, 9787, 9788, 9789, 9790, 9792, 9793, 9794, + 9795, 9796, 9797, 9798, 9799, 9800, 9801, 9802, 9803, 9804, 9805, 9806, 9808, + 9809, 9810, 9811, 9812, 9813, 9814, 9815, 9817, 9818, 9819, 9820, 9822, 9823, + 9824, 9825, 9827, 9828, 9829, 9830, 9831, 9832, 9834, 9835, 9836, 9837, 9839, + 9840, 9841, 9842, 9844, 9845, 9846, 9847, 9849, 9850, 9851, 9852, 9853, 9854, + 9855, 9856, 9857, 9858, 9859, 9860, 9866, 9867, 9868, 9869, 9870, 9871, 9874, + 9875, 9876, 9877, 9878, 9879, 9880, 9881, 9882, 9883, 9884, 9885, 9886, 9887, + 9888, 9889, 9890, 9891, 9892, 9893, 9894, 9895, 9898, 9899, 9900, 9901, 9902, + 9903, 9904, 9905, 9906, 9907, 9908, 9909, 9911, 9912, 9913, 9914, 9915, 9916, + 9917, 9918, 9919, 9920, 9921, 9922, 9923, 9924, 9925, 9926, 9927, 9928, 9929, + 9930, 9931, 9932, 9933, 9934, 9935, 9936, 9937, 9938, 9939, 9940, 9946, 9947, + 9948, 9949, 9950, 9951, 9952, 9953, 9954, 9955, 9956, 9957, 9960, 9961, 9962, + 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9982, 9983, 9984, + 9986, 9987, 9988, 9989, 9991, 9992, 9993, 9994, 9996, 9997, 9998, 9999, 10001, + 10002, 10003, 10004, 10006, 10007, 10008, 10009, 10011, 10012, 10013, 10014, + 10016, 10017, 10018, 10019, 10021, 10022, 10023, 10024, 10026, 10027, 10028, + 10029, 10031, 10032, 10033, 10034, 10036, 10037, 10038, 10040, 10041, 10042, + 10043, 10044, 10048, 10049, 10050, 10051, 10052, 10053, 10054, 10056, 10057, + 10058, 10059, 10061, 10062, 10063, 10064, 10065, 10066, 10067, 10068, 10070, + 10071, 10072, 10073, 10075, 10076, 10077, 10078, 10080, 10081, 10082, 10083, + 10085, 10086, 10087, 10088, 10090, 10091, 10092, 10093, 10095, 10096, 10097, + 10098, 10100, 10101, 10102, 10103, 10105, 10106, 10107, 10108, 10110, 10111, + 10112, 10113, 10115, 10116, 10117, 10118, 10120, 10121, 10122, 10123, 10125, + 10126, 10127, 10128, 10129, 10130, 10131, 10132, 10138, 10139, 10140, 10141, + 10143, 10144, 10145, 10146, 10148, 10149, 10150, 10151, 10152, 10153, 10154, + 10155, 10156, 10157, 10158, 10159, 10160, 10161, 10164, 10165, 10166, 10167, + 10169, 10170, 10171, 10172, 10173, 10174, 10176, 10177, 10178, 10179, 10181, + 10182, 10183, 10184, 10186, 10187, 10188, 10189, 10191, 10192, 10193, 10194, + 10196, 10197, 10198, 10199, 10201, 10202, 10203, 10204, 10206, 10207, 10208, + 10209, 10211, 10212, 10213, 10214, 10216, 10217, 10218, 10219, 10221, 10222, + 10223, 10224, 10226, 10227, 10228, 10229, 10231, 10232, 10233, 10234, 10236, + 10237, 10238, 10239, 10241, 10242, 10243, 10244, 10245, 10246, 10248, 10249, + 10250, 10251, 10253, 10254, 10255, 10256, 10258, 10259, 10260, 10261, 10263, + 10264, 10265, 10266, 10268, 10269, 10270, 10271, 10272, 10276, 10277, 10278, + 10279, 10280, 10281, 10282, 10283, 10285, 10286, 10287, 10288, 10289, 10290, + 10292, 10293, 10294, 10295, 10296, 10297, 10298, 10299, 10300, 10301, 10304, + 10305, 10306, 10307, 10308, 10309, 10310, 10311, 10312, 10313, 10314, 10315, + 10320, 10321, 10322, 10323, 10324, 10325, 10327, 10328, 10329, 10330, 10331, + 10332, 10334, 10335, 10336, 10337, 10339, 10340, 10341, 10342, 10343, 10344, + 10345, 10346, 10347, 10356, 10357, 10358, 10359, 10360, 10364, 10365, 10366, + 10367, 10368, 10369, 10370, 10371, 10372, 10373, 10374, 10375, 10376, 10377, + 10378, 10379, 10380, 10381, 10382, 10383, 10384, 10385, 10386, 10387, 10388, + 10389, 10391, 10392, 10393, 10394, 10396, 10397, 10398, 10399, 10400, 10401, + 10402, 10403, 10404, 10405, 10406, 10407, 10408, 10409, 10410, 10411, 10412, + 10413, 10414, 10415, 10416, 10417, 10418, 10419, 10420, 10422, 10423, 10424, + 10425, 10426, 10427, 10429, 10430, 10431, 10432, 10434, 10435, 10436, 10437, + 10439, 10440, 10441, 10442, 10444, 10445, 10446, 10447, 10449, 10450, 10451, + 10452, 10454, 10455, 10456, 10457, 10458, 10459, 10461, 10462, 10463, 10464, + 10466, 10467, 10468, 10469, 10471, 10472, 10473, 10474, 10475, 10476, 10478, + 10479, 10480, 10481, 10483, 10484, 10485, 10486, 10488, 10489, 10490, 10491, + 10493, 10494, 10495, 10496, 10497, 10498, 10499, 10512, 10513, 10514, 10515, + 10517, 10518, 10519, 10520, 10522, 10523, 10524, 10525, 10527, 10528, 10529, + 10530, 10532, 10533, 10534, 10535, 10536, 10537, 10541, 10542, 10543, 10544, + 10546, 10547, 10548, 10549, 10550, 10554, 10555, 10556, 10557, 10558, 10559, + 10560, 10561, 10562, 10563, 10565, 10566, 10567, 10568, 10569, 10570, 10571, + 10572, 10573, 10574, 10575, 10576, 10577, 10578, 10579, 10580, 10581, 10582, + 10583, 10584, 10585, 10586, 10587, 10588, 10589, 10590, 10591, 10592, 10593, + 10594, 10595, 10596, 10597, 10598, 10600, 10601, 10602, 10603, 10604, 10608, + 10609, 10610, 10611, 10612, 10613, 10615, 10616, 10617, 10618, 10620, 10621, + 10622, 10623, 10625, 10626, 10627, 10628, 10630, 10631, 10632, 10633, 10635, + 10636, 10637, 10638, 10639, 10640, 10641, 10642, 10643, 10644, 10645, 10646, + 10647, 10648, 10650, 10651, 10652, 10653, 10655, 10656, 10657, 10658, 10660, + 10661, 10662, 10663, 10665, 10666, 10667, 10668, 10670, 10671, 10672, 10673, + 10675, 10676, 10677, 10678, 10680, 10681, 10682, 10683, 10685, 10686, 10687, + 10688, 10690, 10691, 10692, 10693, 10695, 10696, 10697, 10698, 10700, 10701, + 10702, 10703, 10704, 10705, 10706, 10707, 10708, 10709, 10711, 10712, 10713, + 10714, 10716, 10717, 10718, 10719, 10721, 10722, 10723, 10724, 10726, 10727, + 10728, 10729, 10731, 10732, 10733, 10734, 10736, 10737, 10738, 10739, 10741, + 10742, 10743, 10744, 10746, 10747, 10748, 10749, 10751, 10752, 10753, 10754, + 10756, 10757, 10758, 10759, 10760, 10761, 10762, 10763, 10764, 10765, 10766, + 10767, 10769, 10770, 10771, 10772, 10774, 10775, 10776, 10777, 10779, 10780, + 10781, 10782, 10784, 10785, 10786, 10787, 10789, 10790, 10791, 10792, 10794, + 10795, 10796, 10797, 10799, 10800, 10801, 10802, 10803, 10804, 10808, 10809, + 10810, 10811, 10812, 10813, 10814, 10815, 10816, 10817, 10818, 10819, 10820, + 10821, 10822, 10823, 10827, 10828, 10829, 10830, 10832, 10833, 10834, 10835, + 10836, 10837, 10839, 10840, 10841, 10842, 10844, 10845, 10846, 10847, 10849, + 10850, 10851, 10852, 10854, 10855, 10856, 10857, 10859, 10860, 10861, 10862, + 10864, 10865, 10866, 10867, 10868, 10869, 10870, 10871, 10872, 10873, 10874, + 10875, 10876, 10877, 10879, 10880, 10881, 10882, 10884, 10885, 10886, 10887, + 10888, 10889, 10891, 10892, 10893, 10894, 10896, 10897, 10898, 10899, 10901, + 10902, 10903, 10904, 10906, 10907, 10908, 10909, 10910, 10911, 10912, 10913, + 10914, 10918, 10919, 10920, 10921, 10922, 10923, 10924, 10925, 10926, 10927, + 10928, 10929, 10930, 10934, 10935, 10936, 10937, 10938, 10939, 10940, 10941, + 10942, 10945, 10946, 10947, 10948, 10950, 10951, 10952, 10953, 10954, 10958, + 10959, 10960, 10961, 10962, 10963, 10964, 10965, 10966, 10967, 10968, 10969, + 10970, 10971, 10972, 10973, 10975, 10976, 10977, 10978, 10980, 10981, 10982, + 10983, 10985, 10986, 10987, 10988, 10990, 10991, 10992, 10993, 10995, 10996, + 10997, 10998, 10999, 11000, 11001, 11002, 11003, 11005, 11006, 11007, 11008, + 11010, 11011, 11012, 11013, 11015, 11016, 11017, 11018, 11020, 11021, 11022, + 11023, 11025, 11026, 11027, 11028, 11030, 11031, 11032, 11033, 11035, 11036, + 11037, 11038, 11039, 11040, 11041, 11042, 11043, 11044, 11045, 11046, 11047, + 11048, 11049, 11073, 11074, 11075, 11076, 11077, 11078, 11080, 11081, 11082, + 11083, 11085, 11086, 11087, 11088, 11090, 11091, 11092, 11093, 11095, 11096, + 11097, 11098, 11100, 11101, 11102, 11103, 11104, 11105, 11106, 11107, 11117, + 11118, 11119, 11120, 11121, 11122, 11124, 11125, 11126, 11127, 11128, 11129, + 11130, 11131, 11132, 11133, 11134, 11135, 11136, 11137, 11138, 11139, 11140, + 11141, 11142, 11143, 11144, 11145, 11146, 11147, 11149, 11150, 11151, 11152, + 11154, 11155, 11156, 11157, 11159, 11160, 11161, 11162, 11163, 11164, 11165, + 11166, 11167, 11168, 11169, 11170, 11171, 11172, 11173, 11174, 11175, 11176, + 11177, 11178, 11179, 11180, 11181, 11182, 11183, 11184, 11185, 11186, 11187, + 11219, 11220, 11221, 11222, 11223, 11224, 11225, 11226, 11227, 11228, 11230, + 11231, 11232, 11233, 11235, 11236, 11237, 11238, 11240, 11241, 11242, 11243, + 11245, 11246, 11247, 11248, 11250, 11251, 11252, 11253, 11254, 11258, 11259, + 11260, 11261, 11262, 11263, 11265, 11266, 11267, 11268, 11270, 11271, 11272, + 11273, 11275, 11276, 11277, 11278, 11279, 11280, 11281, 11282, 11283, 11284, + 11285, 11286, 11287, 11288, 11289, 11290, 11291, 11292, 11293, 11294, 11295, + 11296, 11297, 11298, 11299, 11300, 11302, 11303, 11304, 11305, 11307, 11308, + 11309, 11310, 11312, 11313, 11314, 11315, 11316, 11317, 11318, 11319, 11320, + 11321, 11322, 11323, 11324, 11325, 11326, 11327, 11328, 11329, 11330, 11331, + 11332, 11333, 11334, 11335, 11336, 11340, 11341, 11342, 11343, 11344, 11345, + 11347, 11348, 11349, 11350, 11352, 11353, 11354, 11355, 11357, 11358, 11359, + 11360, 11361, 11362, 11363, 11364, 11365, 11366, 11367, 11368, 11369, 11370, + 11371, 11372, 11373, 11374, 11375, 11376, 11377, 11378, 11379, 11380, 11382, + 11383, 11384, 11385, 11386, 11387, 11389, 11390, 11391, 11392, 11394, 11395, + 11396, 11397, 11399, 11400, 11401, 11402, 11403, 11404, 11405, 11406, 11407, + 11408, 11409, 11410, 11411, 11412, 11413, 11414, 11415, 11416, 11417, 11418, + 11419, 11420, 11421, 11422, 11423, 11424, 11426, 11427, 11428, 11429, 11431, + 11432, 11433, 11434, 11436, 11437, 11438, 11439, 11440, 11441, 11442, 11443, + 11444, 11445, 11446, 11447, 11448, 11449, 11450, 11451, 11452, 11453, 11454, + 11455, 11456, 11457, 11458, 11459, 11460, 11464, 11465, 11466, 11467, 11468, + 11469, 11471, 11472, 11473, 11474, 11476, 11477, 11478, 11479, 11481, 11482, + 11483, 11484, 11485, 11486, 11487, 11488, 11489, 11490, 11491, 11492, 11493, + 11494, 11495, 11496, 11497, 11498, 11499, 11500, 11501, 11502, 11503, 11504, + 11506, 11507, 11508, 11509, 11510, 11511, 11513, 11514, 11515, 11516, 11518, + 11519, 11520, 11521, 11523, 11524, 11525, 11526, 11527, 11528, 11529, 11530, + 11531, 11532, 11533, 11534, 11535, 11536, 11537, 11538, 11539, 11540, 11541, + 11542, 11543, 11544, 11545, 11546, 11548, 11549, 11550, 11551, 11553, 11554, + 11555, 11556, 11558, 11559, 11560, 11561, 11563, 11564, 11565, 11566, 11568, + 11569, 11570, 11571, 11573, 11574, 11575, 11576, 11578, 11579, 11580, 11581, + 11583, 11584, 11585, 11586, 11588, 11589, 11590, 11591, 11593, 11594, 11595, + 11596, 11598, 11599, 11600, 11601, 11602, 11603, 11605, 11606, 11607, 11608, + 11610, 11611, 11612, 11613, 11615, 11616, 11617, 11618, 11619, 11620, 11621, + 11622, 11623, 11624, 11625, 11626, 11627, 11628, 11629, 11630, 11631, 11632, + 11633, 11634, 11635, 11636, 11637, 11638, 11639, 11640, 11642, 11643, 11644, + 11645, 11647, 11648, 11649, 11650, 11652, 11653, 11654, 11655, 11656, 11657, + 11658, 11659, 11660, 11661, 11662, 11663, 11664, 11665, 11666, 11667, 11668, + 11669, 11670, 11671, 11672, 11673, 11674, 11675, 11676, 11677, 11683, 11684, + 11685, 11686, 11687, 11688, 11690, 11691, 11692, 11693, 11695, 11696, 11697, + 11698, 11700, 11701, 11702, 11703, 11704, 11705, 11706, 11707, 11709, 11710, + 11711, 11712, 11713, 11714, 11716, 11717, 11718, 11719, 11721, 11722, 11723, + 11724, 11726, 11727, 11728, 11729, 11730, 11731, 11732, 11733, 11734, 11735, + 11736, 11737, 11738, 11739, 11740, 11741, 11743, 11744, 11745, 11746, 11748, + 11749, 11750, 11751, 11753, 11754, 11755, 11756, 11758, 11759, 11760, 11762, + 11763, 11764, 11766, 11767, 11768, 11769, 11770, 11771, 11773, 11774, 11775, + 11776, 11778, 11779, 11780, 11781, 11783, 11784, 11785, 11786, 11787, 11788, + 11789, 11790, 11791, 11792, 11793, 11794, 11795, 11796, 11797, 11798, 11799, + 11800, 11801, 11802, 11804, 11805, 11806, 11807, 11808, 11809, 11810, 11811, + 11812, 11813, 11814, 11815, 11816, 11817, 11839, 11840, 11841, 11842, 11843, + 11844, 11845, 11847, 11849, 11850, 11851, 11852, 11854, 11855, 11856, 11857, + 11859, 11860, 11861, 11862, 11864, 11865, 11866, 11867, 11868, 11869, 11870, + 11871, 11872, 11873, 11874, 11875, 11876, 11877, 11878, 11879, 11880, 11881, + 11883, 11884, 11885, 11886, 11888, 11889, 11890, 11891, 11892, 11893, 11894, + 11895, 11896, 11897, 11898, 11899, 11900, 11901, 11902, 11903, 11904, 11905, + 11907, 11908, 11909, 11910, 11912, 11913, 11914, 11915, 11916, 11917, 11918, + 11919, 11920, 11921, 11923, 11924, 11925, 11926, 11927, 11928, 11936, 11937, + 11938, 11939, 11942, 11943, 11944, 11945, 11947, 11948, 11949, 11950, 11951, + 11952, 11953, 11955, 11956, 11957, 11958, 11960, 11961, 11962, 11963, 11965, + 11966, 11967, 11968, 11969, 11970, 11971, 11972, 11974, 11975, 11976, 11977, + 11979, 11980, 11981, 11982, 11984, 11985, 11986, 11987, 11989, 11990, 11991, + 11992, 11994, 11995, 11996, 11997, 11999, 12000, 12001, 12002, 12003, 12004, + 12005, 12006, 12008, 12009, 12010, 12011, 12013, 12014, 12015, 12016, 12018, + 12019, 12020, 12021, 12023, 12024, 12025, 12026, 12028, 12029, 12030, 12031, + 12033, 12034, 12035, 12036, 12037, 12038, 12039, 12040, 12042, 12043, 12044, + 12045, 12047, 12048, 12049, 12050, 12052, 12053, 12054, 12055, 12057, 12058, + 12059, 12060, 12061, 12062, 12063, 12064, 12066, 12067, 12068, 12069, 12071, + 12072, 12073, 12074, 12076, 12077, 12078, 12079, 12081, 12082, 12083, 12084, + 12085, 12086, 12087, 12088, 12090, 12091, 12092, 12093, 12095, 12096, 12097, + 12098, 12100, 12101, 12102, 12103, 12105, 12106, 12107, 12108, 12110, 12111, + 12112, 12113, 12115, 12116, 12117, 12118, 12119, 12120, 12121, 12122, 12132, + 12133, 12134, 12135, 12136, 12137, 12138, 12139, 12140, 12141, 12142, 12143, + 12144, 12145, 12146, 12147, 12148, 12149, 12150, 12151, 12152, 12153, 12154, + 12158, 12159, 12160, 12162, 12164, 12165, 12166, 12167, 12169, 12170, 12171, + 12172, 12174, 12175, 12176, 12177, 12178, 12182, 12183, 12184, 12185, 12186, + 12187, 12188, 12192, 12193, 12194, 12195, 12196, 12197, 12198, 12199, 12200, + 12204, 12205, 12206, 12207, 12208, 12210, 12212, 12218, 12219, 12220, 12221, + 12222, 12223, 12224, 12225, 12226, 12227, 12228, 12229, 12230, 12231, 12232, + 12233, 12234, 12235, 12236, 12237, 12238, 12239, 12240, 12241, 12242, 12243, + 12244, 12245, 12246, 12247, 12256, 12257, 12258, 12259, 12260, 12261, 12262, + 12263, 12264, 12265, 12266, 12267, 12268, 12269, 12270, 12271, 12272, 12273, + 12276, 12277, 12278, 12279, 12280, 12281, 12282, 12284, 12286, 12287, 12288, + 12297, 12298, 12299, 12300, 12301, 12302, 12303, 12304, 12306, 12307, 12308, + 12309, 12311, 12312, 12313, 12314, 12315, 12316, 12317, 12318, 12319, 12320, + 12321, 12322, 12323, 12324, 12325, 12326, 12327, 12328, 12329, 12330, 12331, + 12332, 12333, 12334, 12341, 12342, 12343, 12344, 12345, 12346, 12347, 12348, + 12349, 12350, 12351, 12352, 12353, 12354, 12355, 12356, 12357, 12358, 12364, + 12365, 12366, 12367, 12368, 12369, 12370, 12371, 12372, 12373, 12374, 12375, + 12378, 12379, 12380, 12381, 12382, 12383, 12384, 12385, 12386, 12387, 12392, + 12393, 12394, 12395, 12396, 12397, 12398, 12399, 12400, 12401, 12402, 12403, + 12404, 12405, 12406, 12407, 12408, 12409, 12410, 12411, 12412, 12413, 12414, + 12415, 12416, 12417, 12418, 12419, 12420, 12426, 12427, 12428, 12429, 12430, + 12431, 12432, 12433, 12434, 12435, 12436, 12437, 12438, 12439, 12440, 12441, + 12442, 12443, 12448, 12449, 12450, 12451, 12452, 12453, 12454, 12455, 12456, + 12457, 12459, 12460, 12461, 12462, 12463, 12464, 12465, 12466, 12467, 12468, + 12472, 12473, 12474, 12475, 12476, 12480, 12481, 12482, 12483, 12484, 12485, + 12486, 12487, 12488, 12489, 12490, 12491, 12492, 12493, 12494, 12495, 12496, + 12500, 12501, 12502, 12503, 12504, 12505, 12507, 12508, 12509, 12510, 12511, + 12512, 12513, 12514, 12515, 12516, 12517, 12518, 12519, 12520, 12521, 12525, + 12526, 12527, 12528, 12529, 12532, 12533, 12534, 12535, 12536, 12537, 12538, + 12539, 12540, 12541, 12542, 12543, 12547, 12548, 12549, 12550, 12551, 12552, + 12553, 12554, 12555, 12556, 12557, 12558, 12559, 12560, 12561, 12563, 12564, + 12565, 12566, 12567, 12568, 12569, 12570, 12571, 12572, 12573, 12574, 12575, + 12576, 12577, 12578, 12579, 12580, 12581, 12582, 12583, 12584, 12585, 12586, + 12591, 12592, 12593, 12594, 12595, 12596, 12597, 12598, 12599, 12600, 12601, + 12602, 12603, 12604, 12605, 12606, 12607, 12608, 12609, 12610, 12611, 12612, + 12613, 12614, 12615, 12619, 12620, 12621, 12622, 12623, 12624, 12625, 12626, + 12627, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12640, + 12641, 12642, 12643, 12644, 12645, 12646, 12647, 12648, 12649, 12650, 12652, + 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, + 12672, 12673, 12680, 12681, 12682, 12683, 12684, 12685, 12686, 12687, 12688, + 12689, 12691, 12693, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, + 12705, 12706, 12707, 12709, 12715, 12716, 12717, 12718, 12719, 12720, 12721, + 12722, 12723, 12724, 12725, 12726, 12727, 12728, 12729, 12730, 12731, 12739, + 12740, 12741, 12742, 12743, 12744, 12745, 12746, 12747, 12748, 12749, 12750, + 12762, 12763, 12764, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, + 12774, 12776, 12777, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785, + 12786, 12787, 12788, 12789, 12790, 12794, 12795, 12796, 12797, 12798, 12799, + 12800, 12801, 12802, 12804, 12805, 12806, 12807, 12808, 12809, 12810, 12811, + 12812, 12814, 12815, 12816, 12817, 12818, 12819, 12820, 12821, 12822, 12823, + 12824, 12825, 12826, 12827, 12828, 12829, 12830, 12831, 12834, 12835, 12836, + 12837, 12838, 12839, 12840, 12841, 12842, 12843, 12844, 12845, 12846, 12847, + 12848, 12849, 12850, 12851, 12852, 12853, 12854, 12855, 12856, 12857, 12864, + 12865, 12866, 12867, 12868, 12869, 12870, 12871, 12872, 12873, 12874, 12875, + 12876, 12877, 12878, 12879, 12880, 12881, 12882, 12883, 12884, 12885, 12886, + 12887, 12888, 12889, 12890, 12898, 12899, 12900, 12901, 12902, 12903, 12904, + 12905, 12906, 12907, 12908, 12916, 12917, 12918, 12919, 12920, 12921, 12922, + 12923, 12924, 12925, 12926, 12927, 12928, 12929, 12930, 12931, 12932, 12933, + 12934, 12935, 12936, 12937, 12938, 12939, 12946, 12947, 12948, 12949, 12950, + 12951, 12952, 12953, 12954, 12955, 12956, 12957, 12958, 12959, 12960, 12961, + 12962, 12963, 12964, 12965, 12966, 12972, 12973, 12974, 12975, 12976, 12977, + 12978, 12979, 12980, 12981, 12982, 12983, 12984, 12985, 12986, 12987, 12988, + 12989, 12994, 12995, 12996, 12997, 12998, 12999, 13000, 13001, 13002, 13003, + 13004, 13005, 13006, 13007, 13008, 13012, 13013, 13014, 13015, 13016, 13017, + 13018, 13022, 13023, 13024, 13025, 13026, 13027, 13028, 13029, 13030, 13031, + 13032, 13033, 13034, 13035, 13036, 13037, 13038, 13039, 13040, 13041, 13042, + 13046, 13047, 13048, 13049, 13050, 13052, 13053, 13054, 13055, 13056, 13057, + 13058, 13059, 13060, 13061, 13062, 13063, 13066, 13067, 13068, 13069, 13070, + 13071, 13072, 13073, 13074, 13075, 13076, 13077, 13078, 13079, 13080, 13082, + 13083, 13084, 13085, 13086, 13087, 13088, 13089, 13090, 13091, 13092, 13093, + 13094, 13098, 13099, 13100, 13101, 13102, 13103, 13104, 13105, 13106, 13107, + 13108, 13109, 13110, 13111, 13112, 13113, 13114, 13115, 13116, 13117, 13118, + 13119, 13122, 13123, 13124, 13125, 13126, 13127, 13128, 13129, 13130, 13131, + 13132, 13134, 13135, 13136, 13137, 13138, 13139, 13140, 13141, 13142, 13148, + 13149, 13150, 13151, 13152, 13153, 13154, 13155, 13156, 13157, 13158, 13159, + 13160, 13161, 13162, 13163, 13164, 13165, 13166, 13167, 13168, 13169, 13170, + 13171, 13172, 13173, 13174, 13176, 13177, 13178, 13179, 13180, 13181, 13182, + 13183, 13184, 13185, 13186, 13187, 13188, 13189, 13190, 13191, 13194, 13195, + 13196, 13197, 13198, 13199, 13200, 13201, 13202, 13203, 13204, 13205, 13206, + 13207, 13208, 13209, 13210, 13211, 13212, 13213, 13214, 13215, 13216, 13217, + 13218, 13220, 13221, 13222, 13223, 13224, 13225, 13226, 13227, 13228, 13229, + 13230, 13231, 13232, 13233, 13234, 13235, 13236, 13237, 13238, 13239, 13240, + 13241, 13242, 13243, 13244, 13245, 13246, 13247, 13248, 13249, 13250, 13251, + 13252, 13253, 13254, 13255, 13256, 13257, 13258, 13259, 13260, 13261, 13262, + 13263, 13264, 13265, 13266, 13267, 13268, 13269, 13270, 13271, 13272, 13276, + 13277, 13278, 13279, 13280, 13281, 13282, 13283, 13284, 13286, 13287, 13288, + 13289, 13290, 13291, 13292, 13293, 13294, 13300, 13301, 13302, 13303, 13305, + 13306, 13307, 13308, 13310, 13311, 13312, 13313, 13315, 13316, 13317, 13318, + 13320, 13321, 13322, 13323, 13324, 13325, 13337, 13338, 13339, 13340, 13342, + 13343, 13344, 13345, 13346, 13347, 13348, 13349, 13350, 13351, 13353, 13354, + 13355, 13356, 13358, 13359, 13360, 13361, 13363, 13364, 13365, 13366, 13367, + 13368, 13369, 13370, 13371, 13372, 13373, 13374, 13375, 13376, 13377, 13378, + 13379, 13380, 13381, 13382, 13383, 13384, 13385, 13386, 13387, 13388, 13389, + 13390, 13391, 13392, 13394, 13395, 13396, 13397, 13399, 13400, 13401, 13402, + 13404, 13405, 13406, 13407, 13409, 13410, 13411, 13412, 13414, 13415, 13416, + 13417, 13418, 13419, 13420, 13421, 13422, 13423, 13424, 13425, 13426, 13427, + 13428, 13429, 13430, 13431, 13432, 13433, 13434, 13435, 13436, 13437, 13439, + 13440, 13441, 13442, 13444, 13445, 13446, 13447, 13449, 13450, 13451, 13452, + 13454, 13455, 13456, 13457, 13459, 13460, 13461, 13462, 13464, 13465, 13466, + 13467, 13469, 13470, 13471, 13472, 13475, 13476, 13477, 13478, 13479, 13480, + 13481, 13482, 13483, 13484, 13486, 13487, 13488, 13489, 13491, 13492, 13493, + 13494, 13496, 13497, 13498, 13499, 13501, 13502, 13503, 13504, 13506, 13507, + 13508, 13509, 13510, 13511, 13512, 13513, 13515, 13516, 13517, 13518, 13520, + 13521, 13522, 13523, 13525, 13526, 13527, 13528, 13530, 13531, 13532, 13533, + 13535, 13536, 13537, 13538, 13540, 13541, 13542, 13543, 13545, 13546, 13547, + 13548, 13549, 13550, 13551, 13553, 13555, 13564, 13565, 13566, 13567, 13568, + 13569, 13570, 13571, 13572, 13573, 13574, 13575, 13576, 13577, 13578, 13579, + 13580, 13581, 13582, 13583, 13584, 13585, 13586, 13587, 13588, 13589, 13590, + 13591, 13592, 13593, 13594, 13595, 13596, 13597, 13602, 13603, 13604, 13605, + 13608, 13609, 13610, 13611, 13612, 13613, 13614, 13615, 13617, 13618, 13619, + 13620, 13621, 13622, 13626, 13627, 13628, 13629, 13630, 13631, 13633, 13634, + 13635, 13636, 13637, 13638, 13639, 13640, 13641, 13642, 13643, 13644, 13645, + 13646, 13647, 13648, 13649, 13650, 13651, 13652, 13653, 13654, 13655, 13656, + 13657, 13658, 13659, 13660, 13661, 13662, 13663, 13664, 13665, 13666, 13668, + 13669, 13670, 13671, 13673, 13674, 13675, 13676, 13678, 13679, 13680, 13681, + 13682, 13683, 13684, 13685, 13686, 13687, 13688, 13689, 13690, 13691, 13692, + 13693, 13694, 13695, 13696, 13697, 13698, 13699, 13700, 13701, 13702, 13703, + 13704, 13705, 13706, 13707, 13709, 13710, 13711, 13712, 13713, 13714, 13715, + 13716, 13717, 13718, 13719, 13720, 13721, 13722, 13723, 13724, 13725, 13726, + 13727, 13728, 13729, 13730, 13731, 13732, 13733, 13734, 13735, 13736, 13737, + 13738, 13739, 13740, 13741, 13742, 13743, 13744, 13745, 13746, 13747, 13748, + 13749, 13750, 13751, 13752, 13753, 13754, 13755, 13756, 13757, 13758, 13759, + 13760, 13761, 13762, 13763, 13764, 13765, 13766, 13767, 13768, 13769, 13770, + 13771, 13772, 13773, 13774, 13775, 13776, 13777, 13778, 13779, 13780, 13781, + 13782, 13783, 13784, 13785, 13786, 13787, 13788, 13789, 13790, 13791, 13792, + 13793, 13794, 13795, 13796, 13797, 13798, 13799, 13800, 13801, 13802, 13803, + 13804, 13805, 13806, 13807, 13808, 13809, 13810, 13811, 13812, 13813, 13814, + 13815, 13816, 13817, 13818, 13819, 13820, 13821, 13822, 13823, 13824, 13825, + 13826, 13827, 13828, 13829, 13830, 13831, 13832, 13833, 13834, 13835, 13836, + 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, + 13848, 13849, 13850, 13851, 13852, 13854, 13856, 13858, 13860, 13862, 13864, + 13866, 13868, 13870, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, + 13887, 13888, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, + 13898, 13899, 13901, 13902, 13903, 13904, 13905, 13906, 13909, 13910, 13911, + 13912, 13914, 13915, 13916, 13917, 13918, 13919, 13925, 13926, 13927, 13928, + 13929, 13930, 13931, 13932, 13933, 13934, 13935, 13936, 13937, 13938, 13939, + 13940, 13941, 13942, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, + 13953, 13954, 13955, 13956, 13958, 13959, 13960, 13961, 13962, 13963, 13964, + 13965, 13966, 13967, 13968, 13969, 13970, 13972, 13973, 13974, 13975, 13977, + 13978, 13979, 13980, 13981, 13985, 13986, 13987, 13988, 13989, 13990, 13991, + 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, + 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, + 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, + 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, + 14036, 14037, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14046, 14047, + 14048, 14049, 14050, 14053, 14054, 14055, 14056, 14057, 14061, 14062, 14063, + 14064, 14065, 14066, 14072, 14073, 14074, 14075, 14077, 14078, 14079, 14080, + 14082, 14083, 14084, 14085, 14087, 14088, 14089, 14090, 14097, 14098, 14099, + 14100, 14101, 14102, 14103, 14104, 14105, 14107, 14108, 14109, 14110, 14112, + 14113, 14114, 14115, 14117, 14118, 14119, 14120, 14122, 14123, 14124, 14125, + 14126, 14128, 14129, 14130, 14131, 14133, 14134, 14135, 14136, 14137, 14138, + 14140, 14141, 14142, 14143, 14145, 14146, 14147, 14148, 14150, 14151, 14152, + 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, + 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14171, 14172, 14173, 14175, + 14176, 14177, 14178, 14180, 14181, 14182, 14183, 14185, 14186, 14187, 14188, + 14190, 14191, 14192, 14193, 14195, 14196, 14197, 14198, 14200, 14201, 14202, + 14203, 14205, 14206, 14207, 14208, 14210, 14211, 14212, 14213, 14215, 14216, + 14217, 14218, 14220, 14221, 14222, 14223, 14225, 14226, 14227, 14228, 14230, + 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14239, 14240, 14241, 14244, + 14245, 14246, 14247, 14248, 14249, 14250, 14252, 14253, 14254, 14255, 14257, + 14258, 14259, 14260, 14262, 14263, 14264, 14265, 14267, 14268, 14269, 14270, + 14271, 14272, 14273, 14275, 14276, 14277, 14278, 14280, 14281, 14282, 14284, + 14285, 14286, 14287, 14289, 14290, 14291, 14293, 14294, 14295, 14296, 14298, + 14299, 14300, 14301, 14302, 14303, 14304, 14309, 14310, 14311, 14312, 14313, + 14314, 14315, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, + 14331, 14332, 14333, 14334, 14338, 14339, 14340, 14341, 14343, 14344, 14345, + 14346, 14348, 14349, 14355, 14356, 14357, 14359, 14360, 14361, 14362, 14363, + 14364, 14365, 14366, 14368, 14369, 14370, 14371, 14373, 14374, 14375, 14376, + 14378, 14379, 14380, 14381, 14383, 14384, 14385, 14386, 14388, 14389, 14390, + 14391, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14401, 14402, + 14403, 14404, 14405, 14406, 14407, 14408, 14409, 14410, 14411, 14412, 14413, + 14452, 14491, 14493, 14495, 14497, 14499, 14501, 14503, 14505, 14507, 14508, + 14510, 14512, 14514, 14516, 14518, 14520, 14522, 14524, 14525, 14527, 14529, + 14531, 14532, 14533, 14534, 14535, 14536, 14537, 14539, 14540, 14542, 14544, + 14546, 14547, 14548, 14549, 14551, 14553, 14557, 14559, 14561, 14563, 14565, + 14567, 14569, 14571, 14572, 14573, 14575, 14576, 14577, 14578, 14579, 14581, + 14583, 14584, 14586, 14588, 14590, 14592, 14594, 14595, 14598, 14604, 14605, + 14606, 14608, 14609, 14612, 14613, 14616, 14622, 14624, 14626, 14628, 14630, + 14632, 14634, 14636, 14638, 14640, 14642, 14644, 14646, 14647, 14649, 14651, + 14653, 14655, 14657, 14659, 14661, 14663, 14665, 14667, 14669, 14671, 14673, + 14679, 14681, 14682, 14683, 14686, 14688, 14690, 14692, 14694, 14696, 14698, + 14700, 14702, 14704, 14706, 14708, 14710, 14712, 14714, 14716, 14718, 14720, + 14722, 14724, 14725, 14726, 14728, 14730, 14732, 14734, 14739, 14740, 14743, + 14744, 14753, 14755, 14756, 14757, 14758, 14759, 14760, 14762, 14764, 14765, + 14766, 14767, 14769, 14771, 14773, 14775, 14777, 14779, 14781, 14783, 14785, + 14787, 14789, 14791, 14793, 14795, 14808, 14810, 14812, 14814, 14816, 14817, + 14818, 14822, 14824, 14828, 14829, 14830, 14831, 14832, 14833, 14834, 14835, + 14836, 14838, 14840, 14842, 14844, 14846, 14848, 14850, 14851, 14853, 14855, + 14857, 14859, 14861, 14863, 14865, 14867, 14869, 14871, 14873, 14875, 14877, + 14879, 14881, 14883, 14885, 14887, 14889, 14891, 14893, 14894, 14895, 14897, + 14899, 14901, 14903, 14905, 14907, 14909, 14910, 14911, 14912, 14913, 14917, + 14918, 14922, 14924, 14926, 14928, 14930, 14932, 14933, 14934, 14936, 14938, + 14940, 14942, 14946, 14950, 14951, 14952, 14955, 14957, 14959, 14960, 14962, + 14964, 14966, 14968, 14970, 14971, 14972, 14974, 14976, 14978, 14980, 14982, + 14984, 14986, 14990, 14992, 14994, 14996, 15000, 15004, 15008, 15010, 15012, + 15014, 15018, 15020, 15022, 15024, 15026, 15028, 15052, 15062, 15064, 15066, + 15068, 15070, 15072, 15074, 15106, 15108, 15110, 15112, 15114, 15116, 15117, + 15119, 15121, 15123, 15124, 15125, 15126, 15127, 15129, 15131, 15133, 15134, + 15135, 15136, 15137, 15138, 15139, 15141, 15143, 15145, 15146, 15147, 15148, + 15149, 15150, 15152, 15154, 15156, 15157, 15158, 15159, 15160, 15162, 15164, + 15166, 15167, 15168, 15169, 15170, 15171, 15172, 15174, 15176, 15178, 15179, + 15180, 15181, 15182, 15183, 15185, 15187, 15189, 15190, 15191, 15192, 15193, + 15194, 15196, 15198, 15200, 15202, 15204, 15206, 15208, 15210, 15212, 15214, + 15216, 15218, 15220, 15221, 15222, 15223, 15224, 15226, 15228, 15230, 15231, + 15232, 15233, 15234, 15235, 15236, 15238, 15240, 15242, 15244, 15245, 15247, + 15249, 15251, 15252, 15253, 15254, 15256, 15258, 15260, 15262, 15264, 15266, + 15267, 15268, 15269, 15270, 15272, 15274, 15276, 15278, 15280, 15286, 15288, + 15292, 15294, 15298, 15302, 15324, 15326, 15328, 15330, 15332, 15333, 15334, + 15335, 15337, 15338, 15339, 15340, 15342, 15344, 15352, 15355, 15356, 15358, + 15360, 15362, 15363, 15365, 15367, 15369, 15371, 15373, 15375, 15376, 15378, + 15380, 15382, 15384, 15386, 15388, 15389, 15391, 15393, 15395, 15397, 15398, + 15400, 15402, 15404, 15406, 15407, 15409, 15411, 15413, 15415, 15417, 15419, + 15421, 15423, 15425, 15427, 15428, 15429, 15430, 15431, 15432, 15434, 15436, + 15438, 15440, 15444, 15446, 15448, 15450, 15452, 15453, 15456, 15461, 15462, + 15463, 15472, 15474, 15477, 15480, 15486, 15495, 15496, 15498, 15501, 15502, + 15503, 15504, 15505, 15511, 15516, 15522, 15529, 15530, 15531, 15535, 15537, + 15538, 15539, 15543, 15545, 15546, 15547, 15548, 15550, 15551, 15555, 15556, + 15560, 15561, 15562, 15564, 15573, 15575, 15577, 15581, 15587, 15591, 15599, + 15606, 15609, 15611, 15616, 15619, 15623, 15627, 15632, 15640, 15647, 15650, + 15651, 15653, 15655, 15659, 15661, 15665, 15670, 15676, 15683, 15687, 15688, + 15689, 15691, 15692, 15695, 15696, 15697, 15700, 15702, 15703, 15707, 15709, + 15713, 15721, 15722, 15723, 15724, 15725, 15726, 15728, 15729, 15730, 15731, + 15732, 15733, 15734, 15735, 15736, 15737, 15738, 15742, 15743, 15744, 15746, + 15747, 15748, 15750, 15753, 15759, 15765, 15767, 15769, 15771, 15773, 15775, + 15787, 15799, 15800, 15802, 15804, 15806, 15807, 15808, 15809, 15810, 15811, + 15813, 15815, 15817, 15819, 15821, 15822, 15823, 15824, 15825, 15826, 15828, + 15830, 15832, 15834, 15836, 15838, 15840, 15841, 15843, 15845, 15847, 15849, + 15851, 15852, 15854, 15856, 15858, 15860, 15862, 15864, 15866, 15868, 15872, + 15881, 15882, 15883, 15884, 15889, 15892, 15893, 15895, 15896, 15897, 15899, + 15900, 15901, 15902, 15903, 15904, 15905, 15907, 15909, 15911, 15912, 15913, + 15914, 15915, 15916, 15917, 15918, 15919, 15920, 15921, 15922, 15923, 15924, + 15925, 15926, 15927, 15928, 15929, 15930, 15931, 15932, 15933, 15934, 15935, + 15936, 15937, 15938, 15939, 15940, 15942, 15944, 15946, 15948, 15950, 15952, + 15954, 15956, 15959, 15968, 15969, 15970, 15971, 15972, 15973, 15975, 15976, + 15980, 15983, 15985, 15987, 15989, 15990, 15992, 15994, 15996, 15998, 16000, + 16001, 16003, 16005, 16007, 16009, 16010, 16011, 16012, 16014, 16015, 16017, + 16018, 16020, 16022, 16023, 16024, 16025, 16026, 16027, 16028, 16029, 16030, + 16031, 16032, 16033, 16034, 16035, 16037, 16038, 16041, 16045, 16051, 16053, + 16055, 16057, 16059, 16061, 16063, 16065, 16066, 16068, 16070, 16072, 16074, + 16075, 16076, 16077, 16078, 16079, 16081, 16083, 16085, 16087, 16089, 16091, + 16093, 16095, 16097, 16099, 16101, 16103, 16104, 16105, 16106, 16107, 16108, + 16111, 16112, 16115, 16116, 16118, 16120, 16122, 16123, 16125, 16127, 16129, + 16131, 16136, 16141, 16142, 16143, 16146, 16150, 16152, 16154, 16156, 16158, + 16159, 16161, 16163, 16165, 16167, 16169, 16171, 16173, 16175, 16177, 16179, + 16181, 16183, 16185, 16186, 16188, 16190, 16192, 16194, 16196, 16198, 16200, + 16202, 16203, 16205, 16207, 16208, 16209, 16211, 16212, 16213, 16214, 16215, + 16216, 16217, 16220, 16221, 16224, 16226, 16228, 16230, 16232, 16234, 16236, + 16238, 16240, 16241, 16243, 16245, 16247, 16249, 16251, 16253, 16255, 16257, + 16258, 16260, 16262, 16264, 16266, 16268, 16270, 16272, 16274, 16277, 16278, + 16279, 16280, 16281, 16284, 16287, 16293, 16295, 16297, 16299, 16302, 16304, + 16306, 16308, 16310, 16312, 16314, 16316, 16318, 16319, 16321, 16322, 16323, + 16326, 16327, 16328, 16329, 16337, 16342, 16344, 16345, 16349, 16350, 16352, + 16353, 16354, 16355, 16361, 16363, 16365, 16367, 16369, 16371, 16373, 16375, + 16377, 16379, 16381, 16383, 16385, 16387, 16389, 16391, 16393, 16395, 16397, + 16399, 16400, 16402, 16404, 16406, 16408, 16410, 16412, 16414, 16416, 16418, + 16420, 16422, 16424, 16426, 16428, 16430, 16432, 16438, 16440, 16441, 16442, + 16443, 16446, 16448, 16450, 16452, 16454, 16456, 16458, 16460, 16462, 16464, + 16466, 16468, 16470, 16472, 16474, 16476, 16477, 16478, 16479, 16481, 16483, + 16484, 16485, 16486, 16487, 16497, 16498, 16499, 16501, 16502, 16503, 16505, + 16508, 16511, 16512, 16514, 16522, 16525, 16526, 16528, 16530, 16535, 16536, + 16537, 16540, 16541, 16544, 16546, 16555, 16557, 16559, 16561, 16563, 16565, + 16567, 16569, 16571, 16573, 16575, 16577, 16579, 16581, 16583, 16596, 16598, + 16600, 16602, 16603, 16604, 16605, 16606, 16607, 16608, 16610, 16612, 16614, + 16615, 16616, 16617, 16618, 16619, 16621, 16625, 16627, 16631, 16633, 16634, + 16635, 16636, 16637, 16638, 16639, 16640, 16641, 16642, 16644, 16646, 16647, + 16648, 16650, 16652, 16654, 16656, 16658, 16660, 16661, 16662, 16663, 16665, + 16667, 16669, 16671, 16673, 16675, 16677, 16679, 16681, 16683, 16685, 16687, + 16689, 16691, 16693, 16695, 16697, 16699, 16701, 16703, 16705, 16707, 16709, + 16711, 16713, 16715, 16717, 16719, 16721, 16722, 16723, 16725, 16729, 16730, + 16731, 16735, 16737, 16739, 16741, 16743, 16745, 16747, 16748, 16749, 16750, + 16752, 16754, 16756, 16758, 16760, 16762, 16764, 16768, 16770, 16772, 16776, + 16777, 16778, 16781, 16783, 16785, 16794, 16795, 16797, 16799, 16801, 16803, + 16805, 16807, 16808, 16809, 16811, 16813, 16815, 16817, 16819, 16821, 16823, + 16827, 16829, 16831, 16833, 16837, 16841, 16845, 16847, 16849, 16851, 16855, + 16857, 16859, 16861, 16863, 16865, 16867, 16891, 16899, 16901, 16903, 16905, + 16907, 16909, 16911, 16913, 16915, 16917, 16919, 16921, 16923, 16927, 16929, + 16933, 16937, 16939, 16943, 16945, 16947, 16977, 16978, 16980, 16982, 16984, + 16986, 16987, 16988, 16989, 16990, 16992, 16994, 16996, 16998, 16999, 17000, + 17001, 17002, 17003, 17004, 17006, 17008, 17010, 17012, 17013, 17014, 17015, + 17016, 17017, 17019, 17021, 17023, 17025, 17026, 17027, 17028, 17029, 17031, + 17033, 17035, 17037, 17038, 17039, 17040, 17041, 17042, 17043, 17045, 17047, + 17049, 17051, 17052, 17053, 17054, 17055, 17056, 17058, 17060, 17062, 17064, + 17065, 17066, 17067, 17068, 17069, 17071, 17073, 17075, 17077, 17079, 17081, + 17083, 17085, 17087, 17089, 17091, 17093, 17095, 17097, 17098, 17099, 17100, + 17101, 17103, 17105, 17107, 17109, 17110, 17111, 17112, 17113, 17114, 17115, + 17117, 17119, 17121, 17123, 17125, 17127, 17129, 17132, 17133, 17135, 17137, + 17139, 17141, 17142, 17143, 17144, 17146, 17148, 17150, 17152, 17154, 17156, + 17157, 17158, 17159, 17161, 17163, 17165, 17167, 17169, 17171, 17173, 17175, + 17177, 17179, 17181, 17183, 17185, 17189, 17191, 17195, 17199, 17201, 17205, + 17207, 17209, 17214, 17217, 17251, 17253, 17255, 17257, 17259, 17261, 17263, + 17265, 17267, 17269, 17271, 17273, 17275, 17276, 17278, 17280, 17282, 17284, + 17285, 17286, 17287, 17288, 17290, 17292, 17294, 17296, 17297, 17298, 17299, + 17300, 17301, 17302, 17304, 17306, 17308, 17310, 17311, 17312, 17313, 17314, + 17315, 17317, 17319, 17321, 17323, 17324, 17325, 17326, 17327, 17329, 17331, + 17333, 17335, 17336, 17337, 17338, 17339, 17340, 17341, 17343, 17345, 17347, + 17349, 17350, 17351, 17352, 17353, 17354, 17356, 17358, 17360, 17362, 17363, + 17364, 17365, 17366, 17367, 17369, 17371, 17373, 17375, 17377, 17379, 17381, + 17383, 17385, 17387, 17389, 17391, 17393, 17395, 17396, 17397, 17398, 17399, + 17401, 17403, 17405, 17407, 17408, 17409, 17410, 17411, 17412, 17413, 17415, + 17417, 17419, 17421, 17423, 17424, 17425, 17426, 17427, 17429, 17431, 17433, + 17435, 17436, 17437, 17438, 17439, 17441, 17443, 17445, 17447, 17449, 17455, + 17457, 17461, 17463, 17467, 17473, 17475, 17478, 17481, 17487, 17489, 17493, + 17495, 17499, 17501, 17534, 17536, 17539, 17542, 17545, 17547, 17548, 17549, + 17550, 17553, 17554, 17555, 17556, 17557, 17560, 17561, 17564, 17567, 17570, + 17573, 17576, 17588, 17592, 17594, 17596, 17598, 17600, 17602, 17604, 17606, + 17608, 17609, 17611, 17613, 17615, 17616, 17618, 17620, 17622, 17624, 17626, + 17628, 17629, 17631, 17633, 17635, 17637, 17639, 17641, 17642, 17644, 17646, + 17648, 17650, 17651, 17653, 17655, 17657, 17659, 17660, 17662, 17664, 17666, + 17668, 17670, 17671, 17673, 17675, 17677, 17678, 17680, 17682, 17684, 17686, + 17688, 17690, 17691, 17693, 17695, 17697, 17699, 17701, 17703, 17704, 17706, + 17708, 17710, 17712, 17713, 17715, 17717, 17719, 17721, 17722, 17724, 17726, + 17728, 17730, 17732, 17734, 17736, 17739, 17742, 17745, 17748, 17752, 17753, + 17756, 17761, 17771, 17775, 17779, 17789, 17799, 17806, 17808, 17812, 17817, + 17820, 17830, 17831, 17832, 17841, 17843, 17846, 17849, 17855, 17864, 17865, + 17867, 17869, 17871, 17872, 17878, 17881, 17891, 17893, 17895, 17901, 17905, + 17908, 17911, 17912, 17916, 17919, 17928, 17930, 17933, 17935, 17936, 17938, + 17943, 17945, 17947, 17948, 17949, 17950, 17951, 17952, 17958, 17963, 17969, + 17976, 17977, 17978, 17979, 17980, 17984, 17986, 17987, 17988, 17989, 17991, + 17992, 17993, 17995, 17998, 17999, 18003, 18005, 18010, 18011, 18012, 18013, + 18015, 18019, 18020, 18021, 18022, 18023, 18024, 18026, 18027, 18031, 18032, + 18033, 18034, 18035, 18036, 18037, 18041, 18042, 18043, 18044, 18045, 18047, + 18050, 18055, 18064, 18070, 18075, 18077, 18078, 18080, 18082, 18086, 18087, + 18089, 18095, 18101, 18110, 18118, 18124, 18128, 18136, 18143, 18146, 18148, + 18153, 18156, 18160, 18164, 18169, 18179, 18180, 18183, 18184, 18186, 18187, + 18190, 18195, 18198, 18199, 18201, 18203, 18204, 18206, 18208, 18210, 18212, + 18214, 18216, 18218, 18223, 18225, 18227, 18229, 18230, 18231, 18233, 18235, + 18237, 18239, 18241, 18242, 18243, 18245, 18247, 18249, 18250, 18253, 18256, + 18258, 18260, 18262, 18263, 18265, 18274, 18275, 18276, 18279, 18282, 18288, + 18291, 18292, 18298, 18300, 18302, 18304, 18306, 18308, 18310, 18312, 18314, + 18316, 18318, 18320, 18322, 18324, 18326, 18328, 18330, 18332, 18334, 18335, + 18337, 18339, 18341, 18343, 18345, 18347, 18349, 18351, 18357, 18359, 18362, + 18364, 18366, 18368, 18370, 18372, 18374, 18376, 18378, 18380, 18382, 18384, + 18386, 18388, 18390, 18392, 18394, 18396, 18398, 18400, 18402, 18404, 18406, + 18408, 18417, 18419, 18421, 18423, 18425, 18427, 18429, 18431, 18433, 18435, + 18437, 18439, 18441, 18443, 18445, 18447, 18449, 18451, 18453, 18466, 18468, + 18470, 18472, 18474, 18476, 18477, 18479, 18483, 18485, 18489, 18491, 18492, + 18494, 18496, 18498, 18500, 18502, 18504, 18506, 18508, 18509, 18511, 18513, + 18515, 18517, 18519, 18521, 18523, 18525, 18527, 18529, 18531, 18533, 18535, + 18537, 18539, 18541, 18543, 18545, 18547, 18549, 18551, 18553, 18555, 18557, + 18559, 18561, 18563, 18565, 18567, 18568, 18569, 18571, 18575, 18576, 18580, + 18582, 18584, 18586, 18588, 18590, 18592, 18594, 18596, 18598, 18600, 18602, + 18604, 18606, 18610, 18612, 18614, 18618, 18619, 18620, 18623, 18625, 18627, + 18629, 18631, 18633, 18635, 18637, 18638, 18640, 18642, 18644, 18646, 18648, + 18650, 18652, 18656, 18658, 18660, 18662, 18666, 18670, 18674, 18676, 18678, + 18680, 18684, 18686, 18688, 18690, 18692, 18694, 18696, 18720, 18722, 18732, + 18735, 18736, 18737, 18738, 18739, 18740, 18742, 18744, 18746, 18751, 18752, + 18755, 18756, 18757, 18759, 18762, 18765, 18766, 18767, 18769, 18770, 18773, + 18774, 18775, 18776, 18777, 18780, 18781, 18786, 18795, 18801, 18806, 18808, + 18809, 18811, 18817, 18823, 18832, 18840, 18846, 18849, 18857, 18864, 18867, + 18868, 18870, 18872, 18876, 18878, 18880, 18882, 18883, 18889, 18892, 18902, + 18904, 18906, 18912, 18922, 18926, 18929, 18932, 18936, 18938, 18947, 18949, + 18952, 18954, 18959, 18961, 18963, 18967, 18972, 18978, 18985, 18986, 18987, + 18989, 18992, 18993, 18997, 18998, 19003, 19004, 19005, 19006, 19008, 19012, + 19013, 19014, 19016, 19017, 19020, 19021, 19022, 19023, 19024, 19025, 19028, + 19029, 19032, 19034, 19035, 19039, 19041, 19045, 19053, 19054, 19055, 19057, + 19058, 19059, 19060, 19061, 19062, 19063, 19065, 19066, 19067, 19068, 19069, + 19070, 19071, 19072, 19073, 19074, 19075, 19076, 19077, 19078, 19079, 19080, + 19081, 19082, 19083, 19084, 19088, 19089, 19090, 19092, 19093, 19094, 19096, + 19099, 19105, 19111, 19114, 19117, 19120, 19122, 19125, 19138, 19151, 19153, + 19154, 19155, 19158, 19161, 19164, 19165, 19166, 19167, 19168, 19169, 19170, + 19172, 19174, 19176, 19178, 19180, 19181, 19182, 19183, 19184, 19185, 19187, + 19189, 19191, 19193, 19195, 19197, 19199, 19201, 19203, 19204, 19205, 19206, + 19207, 19208, 19210, 19212, 19214, 19216, 19218, 19220, 19223, 19226, 19227, + 19228, 19230, 19232, 19234, 19236, 19238, 19239, 19241, 19243, 19245, 19247, + 19249, 19251, 19253, 19255, 19257, 19258, 19260, 19262, 19264, 19266, 19268, + 19270, 19273, 19276, 19278, 19282, 19291, 19292, 19293, 19294, 19295, 19296, + 19298, 19299, 19300, 19301, 19302, 19303, 19305, 19307, 19309, 19311, 19314, + 19315, 19316, 19317, 19318, 19319, 19320, 19321, 19322, 19323, 19324, 19325, + 19326, 19327, 19328, 19329, 19330, 19331, 19332, 19333, 19334, 19335, 19336, + 19337, 19338, 19339, 19340, 19341, 19342, 19343, 19344, 19345, 19346, 19347, + 19348, 19349, 19350, 19351, 19353, 19355, 19357, 19359, 19361, 19363, 19365, + 19367, 19370, 19379, 19380, 19381, 19382, 19383, 19384, 19387, 19390, 19391, + 19392, 19393, 19395, 19399, 19402, 19405, 19407, 19410, 19413, 19414, 19416, + 19418, 19420, 19421, 19422, 19423, 19424, 19425, 19427, 19428, 19429, 19430, + 19431, 19432, 19433, 19434, 19435, 19436, 19439, 19440, 19444, 19449, 19450, + 19451, 19453, 19455, 19461, 19463, 19465, 19467, 19469, 19471, 19473, 19475, + 19477, 19479, 19481, 19484, 19485, 19488, 19490, 19492, 19494, 19496, 19498, + 19499, 19500, 19501, 19502, 19503, 19505, 19507, 19509, 19511, 19513, 19515, + 19517, 19519, 19521, 19523, 19525, 19527, 19529, 19530, 19531, 19532, 19533, + 19534, 19536, 19538, 19540, 19542, 19544, 19546, 19548, 19550, 19552, 19554, + 19556, 19559, 19562, 19563, 19564, 19566, 19568, 19569, 19571, 19573, 19575, + 19577, 19578, 19581, 19583, 19586, 19589, 19592, 19595, 19598, 19604, 19611, + 19614, 19617, 19623, 19630, 19631, 19632, 19635, 19639, 19642, 19644, 19647, + 19649, 19650, 19652, 19654, 19656, 19658, 19660, 19662, 19664, 19666, 19668, + 19670, 19677, 19678, 19679, 19680, 19681, 19682, 19683, 19684, 19685, 19686, + 19687, 19688, 19689, 19690, 19691, 19692, 19693, 19694, 19695, 19696, 19697, + 19698, 19699, 19700, 19701, 19702, 19703, 19704, 19705, 19706, 19707, 19708, + 19709, 19710, 19711, 19712, 19713, 19714, 19715, 19716, 19717, 19718, 19719, + 19720, 19721, 19722, 19723, 19724, 19725, 19726, 19727, 19728, 19729, 19730, + 19731, 19732, 19733, 19734, 19735, 19736, 19737, 19738, 19739, 19740, 19741, + 19742, 19743, 19744, 19745, 19746, 19747, 19748, 19749, 19750, 19751, 19752, + 19753, 19754, 19756, 19758, 19760, 19769, 19772, 19775, 19778, 19781, 19784, + 19787, 19795, 19801, 19809, 19813, 19818, 19830, 19833, 19840, 19842, 19848, + 19863, 19871, 19883, 19885, 19891, 19893, 19895, 19901, 19903, 19905, 19912, + 19916, 19918, 19928, 19934, 19938, 19948, 19958, 19960, 19968, 19970, 19971, + 20010, 20011, 20012, 20013, 20014, 20015, 20016, 20017, 20018, 20019, 20020 +}; + +static t_ccsid final_array[] = { + 0, 62246, 368, 916, 898, 33723, 905, 870, 867, 866, 864, 863, 862, 861, 858, + 856, 853, 852, 851, 438, 1387, 5355, 9450, 9449, 9448, 5351, 5350, 5349, + 5348, 5347, 1209, 1236, 1234, 1204, 1202, 13489, 875, 944, 1052, 859, 921, + 915, 914, 913, 820, 924, 1364, 879, 917, 814, 1090, 1251, 922, 1253, 5479, + 971, 1048, 1376, 1150, 1149, 1148, 1147, 1146, 1145, 1144, 1143, 1142, 1141, + 925, 776, 1027, 919, 906, 904, 892, 881, 872, 871, 869, 865, 501, 425, 424, + 421, 298, 291, 286, 285, 281, 279, 278, 274, 38, 1384, 839, 1277, 62236, + 62225, 62212, 61953, 57346, 28710, 25547, 17355, 13122, 13125, 12709, 9067, + 9057, 9031, 8613, 5124, 5051, 5053, 5054, 5055, 5056, 5036, 5027, 4972, 4961, + 4966, 4952, 4953, 4954, 4949, 4397, 1393, 1400, 1381, 1382, 1389, 1374, 1365, + 1281, 1282, 1283, 1284, 1276, 1252, 1254, 1255, 1256, 1257, 1258, 1259, 1161, + 1165, 1154, 1155, 1156, 1157, 1158, 1159, 1131, 1133, 1134, 1138, 1123, 1124, + 1130, 1113, 1115, 1116, 1098, 1099, 1089, 1041, 1042, 1043, 1044, 1047, 1026, + 1028, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1009, 1010, + 965, 966, 951, 952, 957, 958, 959, 960, 943, 945, 947, 948, 950, 931, 933, + 934, 935, 936, 937, 938, 939, 940, 923, 927, 928, 929, 897, 876, 834, 836, + 837, 838, 738, 721, 301, 302, 257, 1, 898, 916, 368, 368, 62246 +}; + +static t_staterange goto_array[] = { + 13445, 11977, 13446, 12066, 11793, 13448, 13449, 13450, 13451, 13453, 13454, + 13455, 13456, 13457, 13473, 13458, 13459, 13460, 13466, 13461, 13462, 13468, + 11793, 13447, 13449, 13450, 13451, 11793, 13448, 13449, 13450, 13451, 13452, + 13453, 13454, 13455, 13456, 13457, 13473, 13458, 13459, 13460, 13466, 13461, + 13462, 13468, 11735, 13469, 13470, 13463, 13464, 13473, 13465, 13474, 13475, + 13476, 13477, 13478, 13479, 13480, 13481, 13466, 13482, 13467, 13483, 13468, + 13485, 11735, 13469, 13470, 13471, 13472, 13473, 13474, 13475, 13476, 13477, + 13478, 13479, 13480, 13481, 13482, 13483, 13484, 13485, 11147, 13486, 11230, + 13487, 13488, 13426, 13419, 13420, 13496, 13423, 13498, 19, 229, 230, 231, + 232, 18, 17, 16, 15, 14, 238, 237, 236, 235, 234, 239, 240, 241, 242, 243, + 13, 12, 11, 10, 9, 8, 7, 251, 250, 249, 248, 247, 246, 245, 252, 253, 254, + 255, 256, 257, 258, 259, 244, 261, 260, 6, 263, 264, 265, 266, 95, 268, 269, + 269, 270, 271, 271, 272, 273, 273, 274, 275, 275, 276, 277, 277, 278, 279, + 279, 280, 281, 281, 282, 283, 283, 284, 285, 286, 287, 287, 288, 289, 289, + 290, 291, 291, 292, 293, 293, 294, 295, 295, 296, 297, 297, 298, 299, 299, + 300, 301, 301, 302, 303, 304, 305, 305, 306, 307, 307, 308, 309, 309, 227, + 311, 13494, 2, 314, 315, 316, 313, 317, 318, 319, 320, 321, 322, 323, 324, + 325, 326, 327, 328, 329, 330, 331, 332, 332, 333, 334, 335, 336, 336, 337, + 338, 338, 50, 340, 341, 341, 342, 343, 343, 344, 345, 345, 346, 347, 347, + 315, 315, 349, 350, 350, 341, 352, 353, 354, 355, 356, 357, 358, 359, 359, + 360, 351, 362, 362, 361, 361, 363, 348, 339, 310, 365, 365, 364, 366, 367, + 364, 366, 367, 57, 369, 370, 370, 371, 372, 372, 373, 374, 374, 375, 376, + 376, 377, 378, 378, 379, 380, 381, 382, 383, 384, 384, 385, 386, 386, 39, + 388, 389, 390, 391, 68, 393, 394, 395, 396, 397, 392, 398, 399, 67, 66, 65, + 64, 63, 62, 61, 60, 59, 58, 410, 409, 408, 407, 406, 405, 404, 403, 402, + 401, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, + 425, 400, 426, 427, 428, 429, 430, 431, 431, 432, 433, 433, 434, 435, 435, + 54, 437, 438, 438, 439, 440, 440, 441, 442, 442, 443, 444, 444, 445, 446, + 446, 78, 448, 449, 449, 252, 252, 257, 257, 452, 451, 450, 453, 454, 455, + 453, 454, 455, 92, 457, 458, 459, 460, 426, 427, 70, 462, 463, 464, 465, + 466, 467, 91, 89, 470, 469, 471, 472, 88, 87, 86, 476, 475, 474, 477, 478, + 479, 85, 84, 482, 481, 483, 484, 485, 480, 473, 486, 487, 488, 315, 490, + 491, 83, 82, 81, 495, 494, 493, 496, 497, 498, 499, 232, 500, 80, 502, 503, + 504, 505, 69, 507, 508, 509, 510, 44, 512, 513, 79, 515, 252, 449, 253, 254, + 516, 255, 256, 257, 258, 77, 76, 519, 518, 520, 521, 75, 523, 524, 74, 526, + 527, 528, 525, 522, 517, 514, 529, 530, 531, 532, 261, 533, 73, 72, 536, + 535, 537, 264, 538, 71, 540, 541, 20, 543, 544, 545, 542, 539, 546, 547, + 548, 549, 534, 511, 506, 501, 492, 489, 468, 461, 456, 551, 552, 553, 554, + 555, 558, 550, 556, 557, 559, 285, 285, 561, 562, 562, 563, 564, 564, 565, + 566, 566, 567, 568, 568, 569, 570, 570, 571, 572, 572, 573, 574, 574, 575, + 576, 576, 577, 578, 578, 579, 580, 580, 362, 362, 582, 581, 583, 583, 584, + 584, 380, 586, 587, 587, 588, 589, 589, 55, 591, 592, 592, 5, 594, 595, 595, + 596, 597, 597, 598, 599, 599, 600, 601, 601, 602, 603, 603, 604, 605, 605, + 606, 607, 607, 608, 609, 609, 610, 611, 611, 612, 613, 613, 614, 615, 615, + 616, 617, 617, 618, 619, 619, 36, 621, 622, 622, 623, 620, 593, 624, 624, + 626, 626, 625, 625, 627, 628, 628, 629, 630, 630, 93, 632, 633, 634, 635, + 636, 637, 638, 544, 544, 639, 640, 641, 641, 224, 643, 644, 644, 645, 646, + 646, 647, 648, 648, 649, 650, 650, 651, 652, 652, 653, 654, 654, 655, 656, + 656, 657, 658, 658, 659, 660, 660, 661, 662, 662, 663, 664, 664, 665, 666, + 666, 667, 668, 668, 669, 670, 670, 671, 672, 672, 38, 674, 675, 676, 677, + 677, 678, 679, 679, 680, 681, 681, 682, 683, 683, 684, 685, 685, 686, 673, + 687, 687, 688, 688, 267, 690, 691, 692, 692, 56, 694, 695, 696, 697, 465, + 698, 699, 90, 701, 471, 702, 472, 703, 486, 487, 704, 500, 239, 240, 242, + 252, 253, 254, 255, 257, 258, 449, 516, 708, 707, 529, 530, 531, 709, 710, + 537, 538, 712, 547, 713, 94, 715, 716, 716, 717, 718, 718, 719, 720, 720, + 721, 714, 711, 706, 705, 700, 553, 558, 722, 722, 726, 727, 723, 724, 725, + 728, 693, 729, 730, 729, 730, 438, 732, 733, 734, 735, 736, 737, 738, 739, + 740, 741, 742, 743, 743, 744, 745, 745, 746, 747, 52, 45, 750, 749, 751, + 752, 753, 754, 755, 756, 757, 758, 759, 760, 43, 42, 41, 40, 365, 365, 225, + 767, 768, 768, 769, 770, 770, 771, 772, 772, 773, 774, 774, 775, 776, 776, + 777, 778, 778, 779, 780, 780, 49, 782, 783, 783, 784, 785, 785, 786, 787, + 787, 788, 789, 789, 48, 791, 792, 792, 793, 794, 794, 795, 796, 796, 797, + 798, 798, 799, 800, 800, 801, 790, 781, 766, 765, 764, 763, 762, 513, 806, + 807, 808, 809, 802, 803, 804, 805, 802, 803, 804, 805, 810, 811, 811, 812, + 813, 813, 814, 815, 815, 816, 817, 817, 818, 761, 748, 819, 819, 820, 821, + 822, 823, 823, 824, 731, 825, 826, 825, 826, 47, 828, 829, 829, 830, 831, + 832, 833, 833, 46, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, + 846, 847, 848, 849, 850, 851, 852, 852, 853, 834, 854, 855, 854, 855, 508, + 508, 857, 858, 858, 859, 860, 860, 861, 862, 862, 863, 864, 864, 865, 866, + 866, 867, 868, 869, 870, 243, 243, 872, 873, 873, 874, 875, 875, 876, 877, + 877, 878, 879, 879, 880, 881, 881, 882, 883, 883, 884, 885, 885, 886, 887, + 887, 888, 889, 889, 890, 891, 891, 892, 893, 893, 894, 895, 256, 256, 897, + 898, 898, 899, 900, 900, 901, 902, 902, 903, 904, 904, 905, 906, 906, 907, + 908, 908, 909, 910, 910, 911, 912, 912, 913, 914, 914, 915, 916, 916, 917, + 918, 233, 920, 921, 922, 922, 923, 924, 924, 925, 926, 926, 927, 928, 928, + 929, 930, 930, 931, 932, 932, 933, 934, 934, 935, 919, 896, 936, 936, 937, + 938, 241, 940, 941, 942, 943, 944, 939, 871, 945, 945, 946, 947, 948, 949, + 949, 37, 951, 952, 952, 953, 954, 954, 955, 956, 956, 957, 958, 958, 959, + 960, 960, 961, 962, 962, 963, 964, 964, 622, 966, 967, 968, 969, 970, 971, + 971, 972, 973, 973, 35, 975, 976, 976, 977, 978, 978, 979, 980, 980, 981, + 982, 982, 983, 984, 984, 34, 986, 987, 987, 33, 989, 990, 990, 991, 988, + 992, 992, 993, 993, 994, 995, 32, 997, 998, 998, 31, 1000, 1001, 1001, 1002, + 999, 1003, 1003, 1004, 1004, 1005, 1006, 30, 1008, 1007, 996, 1009, 1010, + 1011, 1012, 1013, 1013, 1014, 985, 1015, 1016, 1015, 1016, 29, 28, 27, 26, + 25, 24, 23, 22, 21, 1026, 1025, 1024, 1023, 1022, 1021, 1020, 1019, 1018, + 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, + 53, 51, 1042, 1041, 1043, 1044, 1045, 1046, 1046, 1047, 1048, 1048, 1049, + 1050, 1050, 1051, 1052, 1052, 1053, 1054, 1054, 1055, 1056, 1057, 1040, 1059, + 1058, 1060, 1061, 1061, 1062, 1063, 1063, 1064, 1065, 1065, 1066, 1067, 1067, + 1068, 1069, 1069, 1070, 1071, 1071, 1072, 1017, 974, 965, 950, 856, 827, + 689, 642, 631, 590, 585, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, + 1081, 1082, 1083, 1084, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, + 1082, 1083, 1084, 3, 1086, 1087, 1087, 1088, 1089, 1089, 1090, 1091, 1091, + 1092, 1093, 1093, 1094, 1095, 1095, 1096, 1097, 1097, 1098, 1085, 560, 447, + 436, 1099, 1100, 1101, 1102, 1103, 1099, 1100, 1101, 1102, 1103, 498, 541, + 1105, 1106, 1106, 503, 503, 458, 458, 503, 503, 702, 702, 478, 478, 471, + 471, 483, 483, 477, 477, 497, 497, 496, 496, 479, 479, 520, 520, 458, 458, + 702, 702, 521, 521, 1117, 1118, 1118, 1119, 1120, 1120, 1121, 1122, 1122, + 471, 471, 537, 537, 458, 458, 458, 458, 521, 521, 1128, 1127, 1126, 1125, + 1124, 1123, 1116, 1115, 1114, 1113, 1112, 1111, 1110, 1109, 1108, 1107, 1129, + 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, + 1143, 1144, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, + 1140, 1141, 1142, 1143, 1144, 1145, 1146, 524, 524, 1148, 1149, 1149, 1150, + 1151, 1151, 1152, 1153, 1153, 1154, 1155, 1155, 1156, 1157, 1157, 1158, 1147, + 1159, 1160, 1159, 1160, 419, 419, 1162, 1163, 1163, 1164, 1165, 1165, 1166, + 1167, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 418, + 418, 1179, 1180, 1180, 1181, 1182, 1182, 1183, 1184, 1184, 1185, 1186, 1187, + 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1178, 1196, 1196, 1197, 1197, + 415, 415, 1199, 1200, 1200, 1201, 1202, 1202, 1203, 1204, 1204, 1205, 1206, + 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1216, 417, 417, + 1218, 1219, 1219, 1220, 1221, 1221, 1222, 1223, 1223, 1224, 1225, 1226, 1227, + 1228, 1229, 1230, 1231, 1232, 1233, 413, 413, 1235, 1236, 1236, 1237, 1238, + 1238, 1239, 1240, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, + 1250, 1251, 1234, 1253, 1253, 1252, 1252, 414, 414, 1255, 1256, 1256, 1257, + 1258, 1258, 1259, 1260, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, + 1269, 1270, 1271, 1272, 1272, 412, 412, 1274, 1275, 1275, 1276, 1277, 1277, + 1278, 1279, 1279, 1280, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1289, + 1290, 1291, 1291, 1292, 1293, 1293, 1294, 1295, 1295, 1296, 1297, 1297, 1298, + 1299, 1299, 1300, 1301, 1301, 1302, 1303, 1303, 1304, 1305, 1305, 1306, 1307, + 1307, 1308, 1309, 1309, 1310, 1311, 1311, 411, 411, 1313, 1314, 1314, 1315, + 1316, 1316, 1317, 1318, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326, + 1327, 1328, 416, 416, 1330, 1331, 1331, 1332, 1333, 1333, 1334, 1335, 1335, + 1336, 1337, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1329, 1312, + 1347, 1348, 1349, 1347, 1348, 1349, 484, 484, 1351, 1352, 1352, 1353, 1354, + 1354, 1355, 1356, 1356, 1357, 1358, 1359, 1360, 1360, 394, 394, 1362, 1363, + 1363, 1364, 1365, 1365, 1366, 1367, 1367, 1368, 1369, 1370, 1371, 1372, 1373, + 1374, 1375, 1375, 1376, 1377, 1377, 1378, 1379, 1379, 1380, 1381, 1381, 1196, + 1196, 1253, 1253, 420, 420, 1385, 1386, 1386, 1387, 1388, 1388, 1389, 1390, + 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1400, 1401, + 1384, 1383, 1382, 1361, 1350, 1273, 1254, 1217, 1198, 1161, 1402, 1403, 1404, + 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1402, 1403, 1404, 1405, 1406, + 1407, 1408, 1409, 1410, 1411, 1412, 1413, 92, 1414, 1415, 1416, 1416, 1417, + 1418, 1418, 1419, 1420, 1420, 1421, 1422, 1422, 341, 783, 1424, 1425, 1426, + 1427, 1428, 1429, 1430, 1431, 1431, 1432, 1433, 1433, 783, 1435, 1436, 1437, + 1438, 1439, 1440, 1441, 1442, 1442, 1443, 1444, 1444, 633, 633, 595, 595, + 622, 1448, 1449, 1449, 1450, 1447, 1446, 1451, 626, 1452, 1453, 1451, 626, + 1452, 1453, 1454, 624, 624, 1455, 1456, 1457, 1457, 611, 1459, 1460, 1460, + 1461, 1462, 1462, 1463, 1464, 1464, 1465, 1466, 1467, 1468, 1468, 1469, 1470, + 1470, 1471, 1472, 1472, 1473, 1474, 1474, 1475, 1476, 1476, 1477, 1478, 1478, + 1479, 1480, 1481, 1482, 1482, 1483, 1484, 1484, 1485, 1486, 1486, 1487, 1488, + 1488, 1489, 1490, 1490, 1491, 1492, 1492, 1493, 1494, 1495, 1496, 1496, 1497, + 1498, 1498, 1499, 1500, 1500, 1501, 1502, 1502, 1503, 1504, 1505, 1506, 1506, + 1507, 1508, 1508, 1509, 1510, 1510, 1511, 1512, 1512, 1513, 1514, 1515, 1516, + 1516, 1517, 1518, 1518, 1519, 1520, 1520, 1521, 1522, 1522, 1523, 1524, 1524, + 1525, 1526, 1526, 1527, 1458, 1445, 1434, 1423, 1528, 1529, 1530, 1531, 1532, + 1528, 1529, 1530, 1531, 1532, 735, 1534, 1535, 1536, 1537, 1538, 1539, 1540, + 1541, 1542, 544, 544, 1543, 639, 49, 783, 1545, 1546, 1546, 1547, 1548, 1548, + 1549, 1550, 1550, 1551, 1544, 1552, 1553, 1552, 1553, 687, 1555, 1556, 800, + 1556, 800, 976, 987, 990, 998, 1001, 1559, 1558, 49, 752, 1009, 1560, 1561, + 48, 544, 751, 4, 1564, 1563, 1562, 595, 806, 952, 1565, 1566, 1567, 243, + 269, 675, 1043, 1044, 230, 241, 256, 716, 458, 633, 471, 472, 477, 478, 479, + 484, 702, 239, 240, 242, 257, 258, 483, 496, 497, 498, 503, 252, 254, 255, + 449, 516, 520, 521, 524, 527, 538, 264, 463, 537, 541, 253, 389, 508, 829, + 394, 412, 413, 414, 415, 416, 417, 418, 419, 420, 1577, 1576, 1575, 1574, + 1573, 1572, 1571, 1570, 1569, 1578, 1579, 1580, 1581, 1582, 1583, 1584, 1585, + 1586, 370, 411, 695, 1588, 1589, 622, 1027, 1028, 1029, 1030, 1031, 1032, + 1033, 1034, 1035, 1591, 1592, 1593, 1590, 1587, 1594, 1595, 1596, 2, 592, + 836, 43, 438, 1599, 1598, 1597, 1568, 341, 513, 807, 808, 1087, 1600, 1601, + 1602, 1603, 1604, 1605, 1606, 1607, 1607, 1608, 1609, 1609, 223, 184, 185, + 1613, 1612, 1614, 1615, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, + 1626, 1625, 1624, 1623, 1622, 1621, 1620, 1619, 1618, 1617, 1627, 1628, 1629, + 1630, 1631, 1632, 1633, 1634, 1635, 1636, 172, 173, 1639, 1638, 463, 1640, + 1641, 167, 168, 169, 170, 171, 1647, 1646, 1645, 1644, 1643, 695, 1648, 1649, + 1650, 1651, 1652, 675, 166, 1655, 341, 1656, 164, 165, 1659, 1658, 1660, + 1661, 1662, 1657, 1654, 1653, 1642, 1637, 1616, 1663, 1664, 1665, 1666, 1667, + 1668, 1669, 161, 162, 163, 1673, 1672, 1671, 1674, 1675, 1676, 158, 159, + 160, 1680, 1679, 1678, 1681, 1682, 1683, 154, 155, 156, 157, 1688, 1687, + 1686, 1685, 1689, 1690, 1691, 1692, 148, 149, 150, 151, 152, 153, 1699, 1698, + 1697, 1696, 1695, 1694, 1700, 1701, 1702, 1703, 1704, 1705, 146, 147, 1708, + 1707, 1709, 1710, 1711, 1706, 1693, 1684, 1677, 422, 1712, 1713, 1714, 1715, + 1716, 987, 990, 1009, 998, 1001, 139, 140, 141, 142, 143, 144, 145, 1726, + 1725, 1724, 1723, 1722, 1721, 1720, 1043, 1044, 1727, 1728, 1729, 1730, 1731, + 1732, 1733, 106, 1735, 1736, 138, 1738, 1737, 269, 1739, 1740, 134, 135, + 136, 137, 1745, 1744, 1743, 1742, 1746, 1747, 1748, 1749, 1750, 1741, 1734, + 1719, 1718, 1751, 1752, 1753, 1754, 1755, 104, 105, 1758, 1757, 1759, 1760, + 1761, 1762, 976, 1764, 1765, 133, 1767, 836, 1768, 132, 1770, 370, 1771, + 129, 130, 131, 1775, 1774, 1773, 544, 1776, 633, 1777, 1778, 127, 128, 1781, + 1780, 1782, 1783, 1784, 1779, 1772, 1769, 1766, 1763, 1785, 1786, 1787, 1788, + 1789, 1790, 103, 1792, 1793, 1794, 1795, 1796, 1797, 1798, 1791, 1756, 1717, + 1670, 1799, 1800, 1801, 1802, 1803, 102, 1805, 1806, 1807, 1808, 222, 1810, + 1809, 1811, 1812, 101, 1814, 1815, 1816, 1817, 1818, 477, 478, 479, 1819, + 1820, 1813, 486, 704, 1821, 1822, 220, 221, 1825, 1824, 1826, 1827, 595, + 1829, 1830, 1831, 1832, 1833, 1828, 458, 491, 1834, 1835, 126, 1837, 1838, + 1839, 230, 1840, 125, 1842, 1843, 122, 123, 124, 1847, 1846, 1845, 1848, + 1849, 1850, 120, 121, 1853, 1852, 1854, 1855, 119, 1857, 1858, 1859, 1856, + 1851, 1844, 1860, 1861, 1862, 1863, 1864, 1841, 500, 1865, 1866, 118, 1868, + 1869, 117, 1871, 1872, 112, 113, 114, 115, 116, 1878, 1877, 1876, 1875, 1874, + 1879, 1880, 1881, 1882, 1883, 1884, 1873, 1870, 503, 1885, 1886, 1887, 111, + 1889, 1890, 1891, 1892, 1032, 1033, 1034, 1035, 1027, 1031, 1895, 1894, 1896, + 1897, 438, 1899, 1900, 100, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1901, + 1898, 1893, 1888, 1909, 1910, 1911, 1912, 1913, 99, 1915, 1916, 1917, 1918, + 1919, 1920, 98, 1922, 1923, 97, 1925, 1926, 96, 1928, 1929, 228, 1931, 1932, + 1933, 1930, 1927, 1924, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1921, 1941, + 1942, 219, 1944, 1945, 218, 1947, 1948, 1949, 1946, 510, 1950, 1951, 513, + 783, 214, 215, 216, 217, 1957, 1956, 1955, 1954, 716, 1958, 1959, 1960, 1961, + 239, 240, 241, 242, 243, 389, 110, 1964, 12, 1965, 1966, 252, 253, 254, 255, + 256, 258, 449, 516, 1967, 213, 1969, 520, 521, 622, 829, 1970, 212, 1972, + 527, 1565, 1973, 1974, 1971, 1968, 1963, 1962, 1953, 530, 1975, 1976, 1977, + 1978, 1979, 1980, 109, 1982, 73, 1983, 108, 1985, 72, 1986, 107, 1988, 1989, + 1990, 1987, 1984, 264, 1991, 1992, 1993, 541, 792, 807, 808, 809, 1087, 208, + 209, 210, 211, 1999, 1998, 1997, 1996, 394, 751, 752, 806, 2000, 2001, 2002, + 2003, 199, 200, 201, 202, 203, 204, 205, 206, 207, 2013, 2012, 2011, 2010, + 2009, 2008, 2007, 2006, 2005, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, + 2022, 194, 1028, 1029, 1030, 195, 196, 197, 198, 2028, 2027, 2026, 2025, + 2024, 952, 2029, 2030, 2031, 2032, 2033, 188, 189, 190, 191, 192, 193, 2040, + 2039, 2038, 2037, 2036, 2035, 2041, 2042, 2043, 2044, 2045, 2046, 186, 187, + 2049, 2048, 2050, 2051, 592, 2053, 2052, 2047, 2034, 2023, 2004, 1995, 1994, + 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 1981, 1952, 1943, 1914, + 1867, 1836, 1823, 1804, 1611, 722, 722, 2063, 2064, 2065, 2066, 2067, 2068, + 2069, 2070, 2071, 2072, 547, 548, 223, 92, 2076, 2075, 2077, 2078, 222, 89, + 90, 91, 86, 87, 88, 84, 85, 2083, 2082, 2081, 2080, 2084, 2085, 2086, 2087, + 220, 221, 2, 2090, 2089, 2091, 2092, 81, 82, 83, 19, 2095, 2094, 2096, 2097, + 80, 2099, 2100, 219, 218, 69, 2104, 2103, 2102, 2105, 2106, 2107, 44, 49, + 94, 214, 215, 216, 217, 14, 15, 16, 17, 18, 39, 7, 8, 9, 10, 11, 12, 13, + 78, 79, 36, 47, 76, 77, 213, 75, 4, 74, 212, 2115, 2114, 2113, 2112, 2111, + 2110, 2109, 2116, 2117, 2118, 2119, 2120, 2121, 2122, 6, 72, 73, 3, 41, 42, + 43, 48, 71, 40, 45, 52, 68, 208, 209, 210, 211, 199, 200, 201, 202, 203, + 204, 205, 206, 207, 37, 194, 195, 196, 197, 198, 188, 189, 190, 191, 192, + 193, 186, 187, 55, 2131, 2130, 2129, 2128, 2127, 2126, 2125, 2124, 2132, + 2133, 2134, 2135, 2136, 2137, 2138, 2139, 2140, 2123, 2108, 2101, 2098, 2093, + 2088, 2079, 2141, 2142, 2143, 2144, 2145, 2146, 2147, 2148, 184, 185, 174, + 175, 176, 177, 178, 179, 180, 181, 182, 183, 70, 172, 173, 56, 167, 168, + 169, 170, 171, 38, 50, 166, 164, 165, 2156, 2155, 2154, 2153, 2152, 2151, + 2150, 2157, 2158, 2159, 2160, 2161, 2162, 2163, 161, 162, 163, 158, 159, + 160, 154, 155, 156, 157, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 148, 149, + 150, 151, 152, 153, 146, 147, 2170, 2169, 2168, 2167, 2166, 2165, 2171, 2172, + 2173, 2174, 2175, 2176, 30, 33, 34, 31, 32, 51, 53, 139, 140, 141, 142, 143, + 144, 145, 95, 138, 134, 135, 136, 137, 2182, 2181, 2180, 2179, 2178, 2183, + 2184, 2185, 2186, 2187, 46, 133, 57, 132, 20, 93, 129, 130, 131, 127, 128, + 2192, 2191, 2190, 2189, 2193, 2194, 2195, 2196, 2197, 2188, 2177, 2164, 2198, + 2199, 2200, 2201, 126, 2203, 2204, 125, 122, 123, 124, 120, 121, 119, 2209, + 2208, 2207, 2206, 2210, 2211, 2212, 2213, 2214, 2205, 2215, 2216, 118, 117, + 112, 113, 114, 115, 116, 2220, 2219, 2218, 2221, 2222, 2223, 111, 2225, 2226, + 26, 27, 28, 29, 21, 25, 2229, 2228, 2230, 2231, 54, 2233, 2234, 2235, 2232, + 2227, 2224, 2236, 2237, 2238, 2239, 110, 2241, 2242, 2243, 2244, 109, 108, + 107, 2248, 2247, 2246, 2249, 2250, 2251, 22, 23, 24, 2253, 2254, 2255, 2252, + 2256, 2257, 2258, 2245, 2240, 2217, 2202, 2149, 2259, 2260, 2261, 2262, 2263, + 2264, 106, 2266, 2267, 2268, 2269, 104, 105, 2271, 2272, 35, 2274, 2275, + 2276, 2273, 2277, 2278, 103, 2280, 2281, 2282, 2283, 2284, 2279, 2270, 2285, + 2286, 2287, 102, 2289, 2290, 2291, 2292, 101, 2294, 2295, 2296, 2297, 2298, + 2293, 2299, 2300, 5, 2302, 2303, 2304, 2305, 2306, 2307, 100, 2309, 2310, + 2311, 2312, 2313, 2314, 99, 2316, 2317, 2318, 2319, 98, 97, 96, 1, 2324, + 2323, 2322, 2321, 2325, 2326, 2327, 2328, 2329, 2330, 2331, 2320, 2332, 2333, + 2334, 2315, 2308, 2301, 2288, 2265, 2335, 2336, 2337, 2338, 2339, 2340, 2341, + 2342, 2342, 2343, 2344, 2344, 2345, 2346, 2346, 2347, 2348, 2348, 2349, 2074, + 2073, 2350, 2350, 2351, 551, 552, 553, 554, 555, 726, 727, 558, 2352, 2353, + 2354, 2354, 976, 2356, 2357, 2358, 2359, 2359, 2360, 2361, 2361, 2362, 2363, + 2363, 2364, 2365, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 1044, 2375, + 2376, 2377, 2378, 2378, 2379, 2380, 2380, 2381, 2382, 2382, 2383, 2384, 2384, + 2385, 2386, 2386, 2387, 2388, 2389, 2390, 2391, 2392, 2393, 2394, 2395, 2396, + 2397, 2398, 2398, 2399, 2400, 2400, 2401, 2402, 2402, 2403, 2404, 2404, 2405, + 2406, 2406, 2407, 2408, 2408, 2409, 2410, 2410, 2411, 44, 751, 752, 2412, + 1043, 2414, 2415, 2416, 2417, 2417, 2418, 2419, 2419, 2420, 2421, 2421, 2422, + 2423, 2423, 2424, 2425, 2425, 2426, 2427, 2428, 2429, 2429, 2430, 2431, 2431, + 2432, 2433, 2433, 2434, 2435, 2435, 2436, 2437, 2437, 2438, 2439, 2439, 2440, + 2441, 2441, 2442, 43, 2443, 2444, 2413, 341, 783, 792, 806, 807, 808, 1087, + 2445, 2446, 2447, 2448, 2449, 2450, 2451, 2452, 2453, 2454, 513, 808, 809, + 807, 341, 783, 792, 806, 836, 1087, 2460, 2459, 2458, 2457, 2456, 2462, 2461, + 2463, 2464, 2465, 2466, 315, 1900, 2467, 2468, 2469, 2470, 2471, 2471, 2472, + 2455, 2374, 2473, 2473, 2474, 2475, 315, 315, 2477, 2478, 2478, 2479, 2480, + 2481, 2482, 2483, 2484, 312, 2486, 2487, 2488, 2489, 2490, 2491, 2492, 2493, + 2494, 2495, 2495, 2496, 2497, 2497, 2498, 2499, 2499, 2500, 2501, 2502, 2503, + 2504, 2505, 513, 2507, 2508, 2509, 2510, 2511, 2512, 2513, 44, 751, 2514, + 809, 2516, 2517, 2518, 2519, 2520, 2521, 2522, 43, 2523, 808, 2525, 2526, + 2527, 2528, 2529, 2530, 2531, 42, 2532, 807, 2534, 2535, 2536, 2537, 2538, + 2539, 2540, 41, 2541, 1087, 2543, 2544, 2545, 2546, 2547, 2548, 2549, 3, + 2550, 341, 2552, 2553, 2554, 2555, 2556, 2557, 2558, 50, 2559, 783, 2561, + 2562, 2563, 2564, 2565, 2566, 2567, 49, 2568, 2462, 2570, 2571, 2572, 2573, + 2574, 48, 2575, 806, 2577, 2578, 2579, 2580, 2581, 2582, 2583, 40, 2584, + 2585, 2576, 2569, 2560, 2551, 2542, 2533, 2524, 2515, 2586, 2587, 2588, 2589, + 2590, 2591, 2592, 2593, 2594, 2595, 2596, 2597, 2598, 2599, 2600, 2601, 2602, + 2603, 2506, 2604, 2605, 2606, 2485, 2476, 2607, 2608, 2609, 2610, 2611, 2611, + 2612, 2355, 1610, 2613, 2614, 2615, 2613, 2614, 2615, 1565, 2617, 2618, 2619, + 2620, 2621, 2622, 2623, 2624, 2624, 2625, 2626, 2627, 2628, 2628, 2629, 2630, + 2630, 831, 2632, 2633, 836, 836, 2635, 2636, 2636, 2637, 2638, 2638, 2639, + 2634, 2640, 2641, 2640, 2641, 836, 2643, 2644, 2645, 2646, 2647, 2648, 2649, + 2650, 836, 836, 2652, 2653, 2654, 2655, 2656, 2657, 2658, 2659, 2660, 2661, + 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, 2671, 2671, 2672, 2651, + 2674, 2673, 2674, 2675, 2642, 2676, 2677, 2676, 2677, 751, 2679, 513, 806, + 807, 808, 809, 2680, 2681, 2682, 2682, 2683, 2684, 2684, 2685, 2686, 2686, + 2687, 2688, 2688, 806, 807, 808, 809, 513, 546, 952, 952, 2691, 2692, 2692, + 2693, 2694, 2694, 2695, 2696, 2696, 2697, 2698, 2698, 2699, 2690, 2701, 2700, + 2702, 2703, 2703, 389, 389, 2705, 2706, 2706, 2707, 2708, 2708, 2709, 2710, + 2710, 2711, 2712, 2713, 2714, 2715, 2716, 2717, 2718, 2719, 2720, 2721, 2722, + 2722, 2723, 2724, 2724, 2725, 2726, 2726, 2727, 2728, 2728, 2729, 2730, 2730, + 2731, 2732, 2732, 2733, 2734, 2734, 2735, 2736, 2736, 2737, 2738, 2738, 2739, + 2740, 2740, 2741, 2742, 2742, 2743, 2744, 2744, 2745, 2746, 2747, 2748, 2748, + 683, 683, 675, 958, 2751, 2752, 2752, 2753, 2754, 2754, 2755, 2756, 2756, + 2757, 2758, 2758, 971, 2760, 2761, 2761, 2762, 2763, 2763, 976, 2357, 2765, + 2766, 2766, 583, 583, 2768, 2769, 2769, 2770, 2, 2771, 992, 993, 992, 993, + 995, 2773, 2774, 1003, 1004, 1003, 1004, 1006, 2776, 2777, 2778, 2775, 1009, + 2779, 2780, 2781, 1009, 2779, 2780, 2782, 2783, 2784, 2784, 2785, 2772, 2767, + 2786, 2787, 2788, 2786, 2787, 2788, 2701, 1059, 2790, 2791, 2792, 2793, 2793, + 2794, 2795, 2795, 2796, 2797, 2797, 2798, 2799, 2799, 2800, 2801, 2801, 2802, + 2803, 2803, 2804, 2789, 2764, 2759, 2750, 2749, 2704, 2689, 2678, 2631, 2616, + 1557, 1554, 1533, 1104, 387, 368, 262, 229, 2823, 2824, 2825, 2826, 2827, + 2828, 234, 235, 236, 237, 238, 2830, 2831, 245, 246, 247, 248, 249, 250, + 251, 2833, 2834, 2835, 2832, 2837, 2836, 2838, 2839, 263, 2841, 2842, 2843, + 2844, 2845, 2846, 268, 268, 2848, 2849, 2850, 2851, 2851, 2852, 2853, 2854, + 2855, 2855, 2856, 2857, 2858, 2859, 2859, 2860, 2861, 2862, 2863, 2863, 2864, + 2865, 2866, 2867, 2867, 2868, 2869, 2870, 2871, 2871, 2872, 2873, 2874, 2875, + 2875, 2876, 2877, 2878, 2879, 2880, 2881, 2882, 2883, 2883, 2884, 2885, 2886, + 2887, 2887, 2888, 2889, 2890, 2891, 2891, 2892, 2893, 2894, 2895, 2895, 2896, + 2897, 2898, 2899, 2899, 2900, 2901, 2902, 2903, 2903, 2904, 2905, 2906, 2907, + 2907, 2908, 2909, 2910, 2911, 2911, 2912, 2913, 2914, 2915, 2916, 2917, 2918, + 2919, 2919, 2920, 2921, 2922, 2923, 2923, 2924, 2925, 2926, 2927, 2927, 2928, + 2929, 13491, 2931, 2932, 314, 2934, 2935, 2936, 2933, 2937, 2938, 2939, 2940, + 2941, 2942, 2943, 2944, 2945, 2946, 2947, 2948, 2949, 2950, 2951, 2952, 2953, + 2954, 2955, 2956, 2957, 2958, 2959, 2960, 2961, 2962, 2963, 2964, 2965, 2966, + 2966, 2967, 2968, 2969, 2970, 2971, 2972, 2973, 2974, 2974, 2975, 2976, 2977, + 2978, 2978, 2979, 2980, 340, 340, 2982, 2983, 2984, 2985, 2985, 2986, 2987, + 2988, 2989, 2989, 2990, 2991, 2992, 2993, 2993, 2994, 2995, 314, 314, 2997, + 2998, 2999, 3000, 3000, 3001, 3002, 340, 3004, 3005, 3006, 3007, 3008, 3009, + 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019, 3019, 3020, 3021, + 3022, 3003, 3024, 3024, 3023, 3023, 3025, 3026, 3027, 2996, 2981, 2930, 3029, + 3029, 3028, 3030, 3031, 3028, 3030, 3031, 3032, 3033, 369, 369, 3035, 3036, + 3037, 3038, 3038, 3039, 3040, 3041, 3042, 3042, 3043, 3044, 3045, 3046, 3046, + 3047, 3048, 3049, 3050, 3050, 3051, 3052, 3053, 3054, 3055, 3056, 3057, 3058, + 3059, 3060, 3061, 3062, 3062, 3063, 3064, 3065, 3066, 3066, 3067, 3068, 388, + 3070, 3071, 3072, 3073, 3074, 3075, 393, 3077, 3078, 3079, 3080, 3081, 3082, + 3083, 3076, 3084, 3085, 3086, 3087, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 3089, 3090, 3091, 3092, 3093, 3094, 3095, 3096, 3097, 3098, 3099, + 3088, 3100, 3101, 3102, 3103, 3104, 3105, 3106, 3107, 3108, 3109, 3109, 3110, + 3111, 3112, 3113, 3113, 3114, 3115, 3116, 3117, 3117, 3118, 3119, 437, 437, + 3121, 3122, 3123, 3124, 3124, 3125, 3126, 3127, 3128, 3128, 3129, 3130, 3131, + 3132, 3132, 3133, 3134, 3135, 3136, 3136, 3137, 3138, 448, 448, 3140, 3141, + 251, 251, 3143, 3144, 246, 246, 3146, 3147, 3148, 3145, 3142, 3149, 3150, + 3151, 3149, 3150, 3151, 3152, 3153, 457, 3155, 3156, 3157, 3158, 3100, 3101, + 3159, 3160, 462, 3162, 3163, 3164, 3165, 3166, 3167, 3168, 3169, 3170, 3171, + 469, 470, 3173, 3174, 474, 475, 476, 3176, 3177, 481, 482, 3179, 3180, 3181, + 3178, 3175, 3182, 3183, 3184, 3185, 3186, 314, 3188, 3189, 3190, 3191, 3192, + 3193, 493, 494, 495, 3195, 3196, 3197, 2826, 3198, 3199, 3200, 502, 3202, + 3203, 3204, 3205, 3206, 3207, 507, 3209, 3210, 3211, 3212, 3213, 3214, 512, + 3216, 3217, 245, 246, 247, 248, 249, 250, 251, 448, 515, 3219, 3220, 518, + 519, 3222, 3223, 523, 3225, 3226, 526, 3228, 3229, 3230, 3227, 3224, 3221, + 3218, 3231, 3232, 3233, 3234, 2837, 3235, 3236, 3237, 263, 535, 536, 3239, + 3240, 540, 3242, 3243, 543, 3245, 3246, 3247, 3244, 3241, 3248, 3249, 3250, + 3251, 3252, 3253, 3238, 3215, 3208, 3201, 3194, 3187, 3172, 3161, 3154, 3255, + 3256, 3257, 3258, 3259, 3262, 3254, 3260, 3261, 3263, 3264, 3265, 2879, 2879, + 3267, 3268, 3269, 3270, 3270, 3271, 3272, 3273, 3274, 3274, 3275, 3276, 3277, + 3278, 3278, 3279, 3280, 3281, 3282, 3282, 3283, 3284, 3285, 3286, 3286, 3287, + 3288, 3289, 3290, 3290, 3291, 3292, 3293, 3294, 3294, 3295, 3296, 3297, 3298, + 3298, 3299, 3300, 3301, 3302, 3302, 3303, 3304, 3305, 3306, 3306, 3307, 3308, + 3024, 3024, 3310, 3311, 3312, 3309, 3313, 3313, 3314, 3314, 3315, 3316, 3054, + 3318, 3319, 3320, 3321, 3321, 3322, 3323, 3324, 3325, 3325, 3326, 3327, 591, + 591, 3329, 3330, 594, 594, 3332, 3333, 3334, 3335, 3335, 3336, 3337, 3338, + 3339, 3339, 3340, 3341, 3342, 3343, 3343, 3344, 3345, 3346, 3347, 3347, 3348, + 3349, 3350, 3351, 3351, 3352, 3353, 3354, 3355, 3355, 3356, 3357, 3358, 3359, + 3359, 3360, 3361, 3362, 3363, 3363, 3364, 3365, 3366, 3367, 3367, 3368, 3369, + 3370, 3371, 3371, 3372, 3373, 3374, 3375, 3375, 3376, 3377, 3378, 3379, 3379, + 3380, 3381, 621, 621, 3383, 3384, 3385, 3382, 3331, 3386, 3386, 3388, 3388, + 3387, 3387, 3389, 3390, 3391, 3392, 3392, 3393, 3394, 3395, 3396, 3396, 3397, + 3398, 632, 3400, 3401, 3402, 3403, 3404, 3405, 3406, 3407, 3408, 3409, 3410, + 543, 543, 3411, 3412, 3413, 3414, 3415, 3415, 3416, 3417, 643, 643, 3419, + 3420, 3421, 3422, 3422, 3423, 3424, 3425, 3426, 3426, 3427, 3428, 3429, 3430, + 3430, 3431, 3432, 3433, 3434, 3434, 3435, 3436, 3437, 3438, 3438, 3439, 3440, + 3441, 3442, 3442, 3443, 3444, 3445, 3446, 3446, 3447, 3448, 3449, 3450, 3450, + 3451, 3452, 3453, 3454, 3454, 3455, 3456, 3457, 3458, 3458, 3459, 3460, 3461, + 3462, 3462, 3463, 3464, 3465, 3466, 3466, 3467, 3468, 3469, 3470, 3470, 3471, + 3472, 3473, 3474, 3474, 3475, 3476, 674, 3478, 3479, 3480, 3481, 3481, 3482, + 3483, 3484, 3485, 3485, 3486, 3487, 3488, 3489, 3489, 3490, 3491, 3492, 3493, + 3493, 3494, 3495, 3496, 3497, 3497, 3498, 3499, 3500, 3477, 3501, 3501, 3502, + 3502, 3503, 3504, 2847, 3506, 3507, 3508, 3509, 3510, 3510, 3511, 3512, 694, + 3514, 3515, 3516, 3517, 3165, 3518, 3519, 3520, 3521, 3522, 3523, 469, 470, + 701, 3525, 3526, 3527, 3182, 3183, 3528, 3529, 3530, 3198, 3532, 3533, 235, + 237, 238, 3535, 3536, 245, 246, 248, 249, 250, 251, 448, 515, 3538, 3539, + 3540, 3537, 3231, 3232, 3233, 3541, 3542, 3543, 3544, 535, 536, 3546, 3547, + 3548, 3249, 3549, 3550, 3551, 715, 715, 3553, 3554, 3555, 3556, 3556, 3557, + 3558, 3559, 3560, 3560, 3561, 3562, 3563, 3552, 3545, 3534, 3531, 3524, 3257, + 3262, 3564, 3564, 3568, 3569, 3565, 3566, 3567, 3570, 3571, 3572, 3513, 3573, + 3574, 3573, 3574, 3575, 3576, 437, 3578, 3579, 3580, 3581, 3582, 3583, 3584, + 3585, 3586, 3587, 3588, 3589, 3590, 3591, 3592, 3593, 3594, 3595, 3596, 3597, + 3598, 3599, 3600, 3601, 3601, 3602, 3603, 3604, 3605, 3605, 3606, 3607, 3608, + 3609, 3610, 3611, 749, 750, 3613, 3614, 3615, 3616, 3617, 3618, 3619, 3620, + 3621, 3622, 3623, 3624, 3625, 3626, 3627, 3628, 3629, 3630, 3029, 3029, 3632, + 3633, 767, 767, 3635, 3636, 3637, 3638, 3638, 3639, 3640, 3641, 3642, 3642, + 3643, 3644, 3645, 3646, 3646, 3647, 3648, 3649, 3650, 3650, 3651, 3652, 3653, + 3654, 3654, 3655, 3656, 3657, 3658, 3658, 3659, 3660, 782, 782, 3662, 3663, + 3664, 3665, 3665, 3666, 3667, 3668, 3669, 3669, 3670, 3671, 3672, 3673, 3673, + 3674, 3675, 791, 791, 3677, 3678, 3679, 3680, 3680, 3681, 3682, 3683, 3684, + 3684, 3685, 3686, 3687, 3688, 3688, 3689, 3690, 3691, 3692, 3692, 3693, 3694, + 3695, 3676, 3661, 3634, 512, 762, 763, 764, 765, 3696, 3697, 3698, 3699, + 3696, 3697, 3698, 3699, 3700, 3701, 3702, 3703, 3703, 3704, 3705, 3706, 3707, + 3707, 3708, 3709, 3710, 3711, 3711, 3712, 3713, 3714, 3715, 3715, 3716, 3717, + 3718, 3631, 3612, 3719, 3719, 3720, 3721, 3722, 3723, 3724, 3725, 3725, 3726, + 3727, 3728, 3577, 3729, 3730, 3729, 3730, 3731, 3732, 828, 828, 3734, 3735, + 3736, 3737, 3738, 3739, 3740, 3741, 3741, 3742, 3743, 835, 3745, 3746, 3747, + 3748, 3749, 3750, 3751, 3752, 3753, 3754, 3755, 3756, 3757, 3758, 3759, 3760, + 3761, 3762, 3763, 3764, 3765, 3766, 3767, 3768, 3769, 3770, 3771, 3772, 3773, + 3774, 3775, 3776, 3776, 3777, 3778, 3779, 3744, 3780, 3781, 3780, 3781, 3782, + 3783, 507, 507, 3785, 3786, 3787, 3788, 3788, 3789, 3790, 3791, 3792, 3792, + 3793, 3794, 3795, 3796, 3796, 3797, 3798, 3799, 3800, 3800, 3801, 3802, 3803, + 3804, 3804, 3805, 3806, 3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 234, + 234, 3816, 3817, 3818, 3819, 3819, 3820, 3821, 3822, 3823, 3823, 3824, 3825, + 3826, 3827, 3827, 3828, 3829, 3830, 3831, 3831, 3832, 3833, 3834, 3835, 3835, + 3836, 3837, 3838, 3839, 3839, 3840, 3841, 3842, 3843, 3843, 3844, 3845, 3846, + 3847, 3847, 3848, 3849, 3850, 3851, 3851, 3852, 3853, 3854, 3855, 3855, 3856, + 3857, 3858, 3859, 3859, 3860, 3861, 3862, 3863, 3864, 3865, 247, 247, 3867, + 3868, 3869, 3870, 3870, 3871, 3872, 3873, 3874, 3874, 3875, 3876, 3877, 3878, + 3878, 3879, 3880, 3881, 3882, 3882, 3883, 3884, 3885, 3886, 3886, 3887, 3888, + 3889, 3890, 3890, 3891, 3892, 3893, 3894, 3894, 3895, 3896, 3897, 3898, 3898, + 3899, 3900, 3901, 3902, 3902, 3903, 3904, 3905, 3906, 3906, 3907, 3908, 3909, + 3910, 3911, 3912, 2829, 3914, 3915, 3916, 3917, 3918, 3918, 3919, 3920, 3921, + 3922, 3922, 3923, 3924, 3925, 3926, 3926, 3927, 3928, 3929, 3930, 3930, 3931, + 3932, 3933, 3934, 3934, 3935, 3936, 3937, 3938, 3938, 3939, 3940, 3941, 3942, + 3942, 3943, 3944, 3945, 3913, 3866, 3946, 3946, 3947, 3948, 3949, 3950, 236, + 3952, 3953, 3954, 3955, 3956, 3957, 3958, 3959, 3960, 3961, 3962, 3951, 3815, + 3963, 3963, 3964, 3965, 3966, 3967, 3968, 3969, 3969, 3970, 3971, 951, 951, + 3973, 3974, 3975, 3976, 3976, 3977, 3978, 3979, 3980, 3980, 3981, 3982, 3983, + 3984, 3984, 3985, 3986, 3987, 3988, 3988, 3989, 3990, 3991, 3992, 3992, 3993, + 3994, 3995, 3996, 3996, 3997, 3998, 621, 4000, 4001, 4002, 4003, 4004, 4005, + 4006, 4007, 4008, 4009, 4010, 4011, 4011, 4012, 4013, 4014, 4015, 4015, 4016, + 4017, 975, 975, 4019, 4020, 4021, 4022, 4022, 4023, 4024, 4025, 4026, 4026, + 4027, 4028, 4029, 4030, 4030, 4031, 4032, 4033, 4034, 4034, 4035, 4036, 986, + 986, 4038, 4039, 989, 989, 4041, 4042, 4043, 4040, 4044, 4044, 4045, 4045, + 4046, 4047, 4048, 4049, 4050, 4051, 997, 997, 4053, 4054, 1000, 1000, 4056, + 4057, 4058, 4055, 4059, 4059, 4060, 4060, 4061, 4062, 4063, 4064, 4065, 4066, + 4067, 4052, 1008, 4068, 4069, 4070, 4071, 4072, 4073, 4073, 4074, 4075, 4076, + 4037, 4077, 4078, 4077, 4078, 4079, 4080, 1018, 1019, 1020, 1021, 1022, 1023, + 1024, 1025, 1026, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089, 4090, 4091, + 1041, 1042, 4093, 4094, 4095, 4096, 4096, 4097, 4098, 4099, 4100, 4100, 4101, + 4102, 4103, 4104, 4104, 4105, 4106, 4107, 4108, 4108, 4109, 4110, 4111, 4112, + 4112, 4113, 4114, 4115, 4116, 4117, 4118, 4119, 4092, 4121, 4120, 4122, 4123, + 4124, 4125, 4125, 4126, 4127, 4128, 4129, 4129, 4130, 4131, 4132, 4133, 4133, + 4134, 4135, 4136, 4137, 4137, 4138, 4139, 4140, 4141, 4141, 4142, 4143, 4144, + 4145, 4145, 4146, 4147, 4148, 4081, 4018, 3999, 3972, 3784, 3733, 3505, 3418, + 3399, 3328, 3317, 4149, 4150, 4151, 4152, 4153, 4154, 4155, 4156, 4157, 4158, + 4159, 4160, 4149, 4150, 4151, 4152, 4153, 4154, 4155, 4156, 4157, 4158, 4159, + 4160, 4161, 4162, 1086, 1086, 4164, 4165, 4166, 4167, 4167, 4168, 4169, 4170, + 4171, 4171, 4172, 4173, 4174, 4175, 4175, 4176, 4177, 4178, 4179, 4179, 4180, + 4181, 4182, 4183, 4183, 4184, 4185, 4186, 4163, 3266, 3139, 3120, 4187, 4188, + 4189, 4190, 4191, 4187, 4188, 4189, 4190, 4191, 4192, 4193, 493, 540, 4195, + 4196, 4197, 4198, 4198, 4199, 4200, 502, 502, 4202, 4203, 457, 457, 502, + 502, 4205, 4206, 701, 701, 4208, 4209, 475, 475, 4211, 4212, 470, 470, 482, + 482, 4214, 4215, 476, 476, 494, 494, 4217, 4218, 495, 495, 4220, 4221, 474, + 474, 519, 519, 4223, 4224, 457, 457, 701, 701, 4226, 4227, 518, 518, 4229, + 4230, 4231, 4232, 4232, 4233, 4234, 4235, 4236, 4236, 4237, 4238, 4239, 4240, + 4240, 4241, 4242, 470, 470, 4244, 4245, 536, 536, 4247, 4248, 457, 457, 4250, + 4251, 457, 457, 4253, 4254, 518, 518, 4256, 4257, 4258, 4255, 4252, 4249, + 4246, 4243, 4228, 4225, 4222, 4219, 4216, 4213, 4210, 4207, 4204, 4201, 4259, + 4260, 4261, 4262, 4263, 4264, 4265, 4266, 4267, 4268, 4269, 4270, 4271, 4272, + 4273, 4274, 4259, 4260, 4261, 4262, 4263, 4264, 4265, 4266, 4267, 4268, 4269, + 4270, 4271, 4272, 4273, 4274, 4275, 4276, 4277, 4278, 4279, 4280, 523, 523, + 4282, 4283, 4284, 4285, 4285, 4286, 4287, 4288, 4289, 4289, 4290, 4291, 4292, + 4293, 4293, 4294, 4295, 4296, 4297, 4297, 4298, 4299, 4300, 4301, 4301, 4302, + 4303, 4304, 4281, 4305, 4306, 4305, 4306, 4307, 4308, 402, 402, 4310, 4311, + 4312, 4313, 4313, 4314, 4315, 4316, 4317, 4317, 4318, 4319, 4320, 4321, 4321, + 4322, 4323, 4324, 4325, 4326, 4327, 4328, 4329, 4330, 4331, 4332, 4333, 4334, + 4335, 4336, 4337, 4338, 4339, 4340, 4341, 4342, 4343, 403, 403, 4345, 4346, + 4347, 4348, 4348, 4349, 4350, 4351, 4352, 4352, 4353, 4354, 4355, 4356, 4356, + 4357, 4358, 4359, 4360, 4361, 4362, 4363, 4364, 4365, 4366, 4367, 4368, 4369, + 4370, 4371, 4372, 4373, 4374, 4375, 4376, 4377, 4378, 4379, 4344, 4380, 4380, + 4381, 4381, 4382, 4383, 406, 406, 4385, 4386, 4387, 4388, 4388, 4389, 4390, + 4391, 4392, 4392, 4393, 4394, 4395, 4396, 4396, 4397, 4398, 4399, 4400, 4401, + 4402, 4403, 4404, 4405, 4406, 4407, 4408, 4409, 4410, 4411, 4412, 4413, 4414, + 4415, 4416, 4417, 4418, 4419, 4420, 4420, 4421, 4422, 404, 404, 4424, 4425, + 4426, 4427, 4427, 4428, 4429, 4430, 4431, 4431, 4432, 4433, 4434, 4435, 4435, + 4436, 4437, 4438, 4439, 4440, 4441, 4442, 4443, 4444, 4445, 4446, 4447, 4448, + 4449, 4450, 4451, 4452, 4453, 4454, 4455, 4456, 4457, 408, 408, 4459, 4460, + 4461, 4462, 4462, 4463, 4464, 4465, 4466, 4466, 4467, 4468, 4469, 4470, 4470, + 4471, 4472, 4473, 4474, 4475, 4476, 4477, 4478, 4479, 4480, 4481, 4482, 4483, + 4484, 4485, 4486, 4487, 4488, 4489, 4490, 4491, 4492, 4493, 4458, 4495, 4495, + 4494, 4494, 4496, 4497, 407, 407, 4499, 4500, 4501, 4502, 4502, 4503, 4504, + 4505, 4506, 4506, 4507, 4508, 4509, 4510, 4510, 4511, 4512, 4513, 4514, 4515, + 4516, 4517, 4518, 4519, 4520, 4521, 4522, 4523, 4524, 4525, 4526, 4527, 4528, + 4529, 4530, 4531, 4532, 4533, 4534, 4534, 4535, 4536, 409, 409, 4538, 4539, + 4540, 4541, 4541, 4542, 4543, 4544, 4545, 4545, 4546, 4547, 4548, 4549, 4549, + 4550, 4551, 4552, 4553, 4554, 4555, 4556, 4557, 4558, 4559, 4560, 4561, 4562, + 4563, 4564, 4565, 4566, 4567, 4568, 4569, 4570, 4571, 4572, 4573, 4573, 4574, + 4575, 4576, 4577, 4577, 4578, 4579, 4580, 4581, 4581, 4582, 4583, 4584, 4585, + 4585, 4586, 4587, 4588, 4589, 4589, 4590, 4591, 4592, 4593, 4593, 4594, 4595, + 4596, 4597, 4597, 4598, 4599, 4600, 4601, 4601, 4602, 4603, 4604, 4605, 4605, + 4606, 4607, 4608, 4609, 4609, 4610, 4611, 4612, 4613, 4613, 4614, 4615, 410, + 410, 4617, 4618, 4619, 4620, 4620, 4621, 4622, 4623, 4624, 4624, 4625, 4626, + 4627, 4628, 4628, 4629, 4630, 4631, 4632, 4633, 4634, 4635, 4636, 4637, 4638, + 4639, 4640, 4641, 4642, 4643, 4644, 4645, 4646, 4647, 4648, 4649, 4650, 405, + 405, 4652, 4653, 4654, 4655, 4655, 4656, 4657, 4658, 4659, 4659, 4660, 4661, + 4662, 4663, 4663, 4664, 4665, 4666, 4667, 4668, 4669, 4670, 4671, 4672, 4673, + 4674, 4675, 4676, 4677, 4678, 4679, 4680, 4681, 4682, 4683, 4684, 4685, 4686, + 4651, 4616, 4687, 4688, 4689, 4687, 4688, 4689, 4690, 4691, 481, 481, 4693, + 4694, 4695, 4696, 4696, 4697, 4698, 4699, 4700, 4700, 4701, 4702, 4703, 4704, + 4704, 4705, 4706, 4707, 4708, 4709, 4710, 4711, 4712, 4712, 4713, 4714, 393, + 393, 4716, 4717, 4718, 4719, 4719, 4720, 4721, 4722, 4723, 4723, 4724, 4725, + 4726, 4727, 4727, 4728, 4729, 4730, 4731, 4732, 4733, 4734, 4735, 4736, 4737, + 4738, 4739, 4740, 4741, 4742, 4743, 4743, 4744, 4745, 4746, 4747, 4747, 4748, + 4749, 4750, 4751, 4751, 4752, 4753, 4754, 4755, 4755, 4756, 4757, 4380, 4380, + 4759, 4760, 4495, 4495, 4762, 4763, 401, 401, 4765, 4766, 4767, 4768, 4768, + 4769, 4770, 4771, 4772, 4772, 4773, 4774, 4775, 4776, 4776, 4777, 4778, 4779, + 4780, 4781, 4782, 4783, 4784, 4785, 4786, 4787, 4788, 4789, 4790, 4791, 4792, + 4793, 4794, 4795, 4796, 4796, 4797, 4798, 4799, 4764, 4761, 4758, 4715, 4692, + 4537, 4498, 4423, 4384, 4309, 4800, 4801, 4802, 4803, 4804, 4805, 4806, 4807, + 4808, 4809, 4810, 4800, 4801, 4802, 4803, 4804, 4805, 4806, 4807, 4808, 4809, + 4810, 4811, 4812, 4813, 4814, 4815, 4816, 92, 4817, 4818, 4818, 4819, 4820, + 4821, 4822, 4822, 4823, 4824, 4825, 4826, 4826, 4827, 4828, 4829, 4830, 4830, + 4831, 4832, 340, 782, 4834, 4835, 4836, 4837, 4838, 4839, 4840, 4841, 4842, + 4843, 4844, 4845, 4846, 4847, 4848, 4849, 4849, 4850, 4851, 4852, 4853, 4853, + 4854, 4855, 782, 4857, 4858, 4859, 4860, 4861, 4862, 4863, 4864, 4865, 4866, + 4867, 4868, 4869, 4870, 4871, 4872, 4872, 4873, 4874, 4875, 4876, 4876, 4877, + 4878, 632, 632, 4880, 4881, 594, 594, 4883, 4884, 621, 4886, 4887, 4888, + 4889, 4889, 4890, 4891, 4892, 4885, 4882, 4893, 3388, 4894, 4895, 4893, 3388, + 4894, 4895, 4896, 4897, 4898, 3386, 3386, 4899, 4900, 4901, 4902, 4903, 4903, + 4904, 4905, 3363, 4907, 4908, 4909, 4910, 4910, 4911, 4912, 4913, 4914, 4914, + 4915, 4916, 4917, 4918, 4918, 4919, 4920, 4921, 4922, 4923, 4924, 4925, 4926, + 4926, 4927, 4928, 4929, 4930, 4930, 4931, 4932, 4933, 4934, 4934, 4935, 4936, + 4937, 4938, 4938, 4939, 4940, 4941, 4942, 4942, 4943, 4944, 4945, 4946, 4946, + 4947, 4948, 4949, 4950, 4951, 4952, 4953, 4954, 4954, 4955, 4956, 4957, 4958, + 4958, 4959, 4960, 4961, 4962, 4962, 4963, 4964, 4965, 4966, 4966, 4967, 4968, + 4969, 4970, 4970, 4971, 4972, 4973, 4974, 4974, 4975, 4976, 4977, 4978, 4979, + 4980, 4981, 4982, 4982, 4983, 4984, 4985, 4986, 4986, 4987, 4988, 4989, 4990, + 4990, 4991, 4992, 4993, 4994, 4994, 4995, 4996, 4997, 4998, 4999, 5000, 5001, + 5002, 5002, 5003, 5004, 5005, 5006, 5006, 5007, 5008, 5009, 5010, 5010, 5011, + 5012, 5013, 5014, 5014, 5015, 5016, 5017, 5018, 5019, 5020, 5021, 5022, 5022, + 5023, 5024, 5025, 5026, 5026, 5027, 5028, 5029, 5030, 5030, 5031, 5032, 5033, + 5034, 5034, 5035, 5036, 5037, 5038, 5038, 5039, 5040, 5041, 5042, 5042, 5043, + 5044, 5045, 4906, 4879, 4856, 4833, 5046, 5047, 5048, 5049, 5050, 5046, 5047, + 5048, 5049, 5050, 5051, 5052, 3585, 5054, 5055, 5056, 5057, 5058, 5059, 5060, + 5061, 5062, 5063, 5064, 5065, 5066, 5067, 5068, 5069, 5070, 5071, 5072, 543, + 543, 5073, 3411, 5074, 5075, 49, 4859, 5077, 5077, 5078, 5079, 5080, 5081, + 5081, 5082, 5083, 5084, 5085, 5085, 5086, 5087, 5088, 5076, 5089, 5090, 5089, + 5090, 5091, 5092, 3501, 5094, 5095, 5096, 5097, 3692, 5097, 3692, 5098, 5099, + 975, 5101, 5102, 986, 989, 997, 1000, 5104, 5105, 5106, 5103, 749, 1008, + 5107, 5108, 5109, 5110, 543, 750, 5112, 5113, 48, 5114, 49, 5111, 594, 765, + 951, 1564, 5115, 5116, 5117, 5118, 234, 268, 674, 1041, 1042, 5120, 5121, + 229, 236, 247, 715, 5123, 5124, 457, 632, 5126, 5127, 469, 470, 474, 475, + 476, 481, 701, 5129, 5130, 235, 237, 238, 245, 246, 482, 493, 494, 495, 502, + 5132, 5133, 248, 249, 251, 448, 515, 518, 519, 523, 526, 535, 5135, 5136, + 263, 462, 536, 540, 5138, 5139, 250, 388, 507, 828, 5141, 5142, 393, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 5144, 5145, 5146, 5143, 5140, 5137, + 5134, 5131, 5128, 5125, 5122, 5147, 5148, 5149, 5150, 5151, 5152, 5153, 5154, + 5155, 5156, 5157, 369, 410, 694, 5159, 5160, 5161, 5162, 5163, 5164, 621, + 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 5166, 5167, 5168, 5169, + 5170, 5171, 5172, 5165, 5158, 5173, 5174, 5175, 5176, 5177, 591, 835, 5179, + 5180, 437, 5182, 5183, 43, 5184, 2, 5181, 5178, 5119, 340, 512, 763, 764, + 1086, 5185, 5186, 5187, 5188, 5189, 5190, 5191, 5192, 5193, 5194, 5195, 5196, + 5196, 5197, 5198, 5199, 5200, 5200, 5201, 5202, 1612, 1613, 5204, 5205, 1617, + 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625, 1626, 5207, 5208, 462, 1638, + 1639, 5210, 5211, 694, 1643, 1644, 1645, 1646, 1647, 5213, 5214, 674, 5216, + 5217, 340, 1655, 5219, 5220, 1658, 1659, 5222, 5223, 5224, 5221, 5218, 5215, + 5212, 5209, 5206, 5225, 5226, 5227, 5228, 5229, 5230, 5231, 5232, 5233, 1671, + 1672, 1673, 5235, 5236, 1678, 1679, 1680, 5238, 5239, 1685, 1686, 1687, 1688, + 5241, 5242, 1694, 1695, 1696, 1697, 1698, 1699, 5244, 5245, 1707, 1708, 5247, + 5248, 5249, 5246, 5243, 5240, 5237, 3092, 5250, 5251, 5252, 5253, 5254, 5255, + 5256, 986, 989, 1008, 5258, 5259, 997, 1000, 5261, 5262, 1041, 1042, 1720, + 1721, 1722, 1723, 1724, 1725, 1726, 5264, 5265, 1735, 5267, 5268, 5269, 268, + 1738, 5270, 5271, 5272, 1742, 1743, 1744, 1745, 5274, 5275, 5276, 5273, 5266, + 5263, 5260, 5277, 5278, 5279, 5280, 5281, 5282, 5283, 1757, 1758, 5285, 5286, + 5287, 5288, 5289, 5290, 975, 5292, 5293, 5294, 5295, 5296, 5297, 835, 1767, + 5299, 5300, 369, 1770, 5302, 5303, 543, 632, 1773, 1774, 1775, 5305, 5306, + 1780, 1781, 5308, 5309, 5310, 5307, 5304, 5301, 5298, 5291, 5311, 5312, 5313, + 5314, 5315, 5316, 5317, 5318, 1792, 5320, 5321, 5322, 5323, 5324, 5325, 5326, + 5327, 5328, 5329, 5330, 5319, 5284, 5257, 5234, 5331, 5332, 5333, 5334, 5335, + 5336, 5337, 1805, 5339, 5340, 5341, 5342, 5343, 5344, 5345, 1810, 5346, 5347, + 5348, 1814, 5350, 5351, 5352, 5353, 5354, 5355, 5356, 474, 475, 476, 5357, + 5358, 5359, 5360, 5349, 3182, 3528, 5361, 5362, 5363, 5364, 1824, 1825, 5366, + 5367, 594, 5369, 5370, 5371, 5372, 5373, 5374, 5375, 5376, 5377, 5378, 5379, + 5368, 457, 3191, 5380, 5381, 5382, 5383, 1837, 5385, 5386, 5387, 229, 5388, + 5389, 5390, 1842, 5392, 5393, 1845, 1846, 1847, 5395, 5396, 1852, 1853, 5398, + 5399, 1857, 5401, 5402, 5403, 5400, 5397, 5394, 5404, 5405, 5406, 5407, 5408, + 5409, 5410, 5391, 3198, 5411, 5412, 5413, 5414, 1868, 5416, 5417, 1871, 5419, + 5420, 1874, 1875, 1876, 1877, 1878, 5422, 5423, 5424, 5421, 5418, 502, 5425, + 5426, 5427, 5428, 5429, 1889, 5431, 5432, 5433, 5434, 5435, 5436, 1018, 1019, + 1020, 1021, 5438, 5439, 1022, 1026, 5441, 5442, 5443, 5440, 5444, 5445, 5446, + 5447, 437, 5449, 5450, 5451, 5452, 5453, 5454, 1902, 5456, 5457, 5458, 5459, + 5460, 5461, 5462, 5463, 5464, 5465, 5466, 5455, 5448, 5437, 5430, 5467, 5468, + 5469, 5470, 5471, 5472, 5473, 1915, 5475, 5476, 5477, 5478, 5479, 5480, 5481, + 5482, 5483, 5484, 1922, 5486, 5487, 1925, 5489, 5490, 1928, 5492, 5493, 1931, + 5495, 5496, 5497, 5494, 5491, 5488, 5498, 5499, 5500, 5501, 5502, 5503, 5504, + 5505, 5506, 5507, 5508, 5485, 5509, 5510, 5511, 5512, 1944, 5514, 5515, 1947, + 5517, 5518, 5519, 5516, 3212, 5520, 5521, 5522, 5523, 512, 782, 5525, 5526, + 715, 1954, 1955, 1956, 1957, 5528, 5529, 234, 235, 236, 237, 238, 388, 5531, + 5532, 1964, 5534, 5535, 12, 5536, 245, 247, 248, 249, 250, 251, 448, 515, + 5537, 5538, 5539, 518, 519, 621, 828, 1969, 5541, 5542, 526, 1564, 1972, + 5544, 5545, 5546, 5543, 5540, 5533, 5530, 5527, 3232, 5547, 5548, 5549, 5550, + 5551, 5552, 5553, 5554, 1982, 5556, 5557, 1985, 5559, 5560, 1988, 5562, 5563, + 5564, 72, 5561, 73, 5558, 263, 5565, 5566, 5567, 5568, 5569, 540, 762, 763, + 764, 791, 1086, 5571, 5572, 393, 749, 750, 765, 1996, 1997, 1998, 1999, 5574, + 5575, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 5577, 5578, 1023, + 1024, 1025, 5580, 5581, 5582, 195, 951, 2024, 2026, 2027, 2028, 5583, 5584, + 5585, 2035, 2036, 2037, 2038, 2039, 2040, 5587, 5588, 2048, 2049, 5590, 5591, + 591, 5593, 5594, 5595, 5592, 5589, 5586, 5579, 5576, 5573, 5570, 5596, 5597, + 5598, 5599, 5600, 5601, 5602, 5603, 5604, 5605, 5606, 5555, 5524, 5513, 5474, + 5415, 5384, 5365, 5338, 1611, 3564, 3564, 5607, 5608, 5609, 5610, 5611, 5612, + 5613, 5614, 5615, 5616, 5617, 3249, 3250, 5619, 5620, 2075, 5622, 2076, 5624, + 5625, 5623, 5626, 5627, 5628, 5629, 2080, 5631, 2081, 5633, 2082, 5635, 2083, + 5637, 5638, 5636, 5634, 5632, 5639, 5640, 5641, 5642, 5643, 5644, 2089, 5646, + 2090, 5648, 5649, 5647, 5650, 5651, 5652, 5653, 2094, 5655, 2095, 5657, 5658, + 5656, 5659, 5660, 5661, 5662, 2099, 5664, 5665, 5666, 5667, 5668, 2102, 5670, + 2103, 5672, 2104, 5674, 5675, 5673, 5671, 5676, 5677, 5678, 5679, 5680, 2109, + 5682, 2110, 5684, 2111, 5686, 2112, 5688, 2113, 5690, 2114, 5692, 2115, 5694, + 5695, 5693, 5691, 5689, 5687, 5685, 5683, 5696, 5697, 5698, 5699, 5700, 5701, + 5702, 5703, 5704, 2124, 5706, 2125, 5708, 2126, 5710, 2127, 5712, 2128, 5714, + 2129, 5716, 2130, 5718, 2131, 5720, 5721, 5719, 5717, 5715, 5713, 5711, 5709, + 5707, 5722, 5723, 5724, 5725, 5726, 5727, 5728, 5729, 5730, 5731, 5732, 5705, + 5681, 5669, 5663, 5654, 5645, 5630, 5733, 5734, 5735, 5736, 5737, 5738, 5739, + 5740, 5741, 5742, 2150, 5744, 2151, 5746, 2152, 5748, 2153, 5750, 2154, 5752, + 2155, 5754, 2156, 5756, 5757, 5755, 5753, 5751, 5749, 5747, 5745, 5758, 5759, + 5760, 5761, 5762, 5763, 5764, 5765, 5766, 2165, 5768, 2166, 5770, 2167, 5772, + 2168, 5774, 2169, 5776, 2170, 5778, 5779, 5777, 5775, 5773, 5771, 5769, 5780, + 5781, 5782, 5783, 5784, 5785, 5786, 5787, 2178, 5789, 2179, 5791, 2180, 5793, + 2181, 5795, 2182, 5797, 5798, 5796, 5794, 5792, 5790, 5799, 5800, 5801, 5802, + 5803, 5804, 5805, 2189, 5807, 2190, 5809, 2191, 5811, 2192, 5813, 5814, 5812, + 5810, 5808, 5815, 5816, 5817, 5818, 5819, 5820, 5821, 5806, 5788, 5767, 5822, + 5823, 5824, 5825, 5826, 5827, 2203, 5829, 5830, 5831, 5832, 5833, 2206, 5835, + 2207, 5837, 2208, 5839, 2209, 5841, 5842, 5840, 5838, 5836, 5843, 5844, 5845, + 5846, 5847, 5848, 5849, 5834, 5850, 5851, 5852, 5853, 2218, 5855, 2219, 5857, + 2220, 5859, 5860, 5858, 5856, 5861, 5862, 5863, 5864, 5865, 2225, 5867, 5868, + 5869, 5870, 5871, 2228, 5873, 2229, 5875, 5876, 5874, 5877, 5878, 5879, 5880, + 2233, 5882, 5883, 5884, 5885, 5886, 5887, 5881, 5872, 5866, 5888, 5889, 5890, + 5891, 5892, 5893, 2241, 5895, 5896, 5897, 5898, 5899, 5900, 5901, 5902, 5903, + 2246, 5905, 2247, 5907, 2248, 5909, 5910, 5908, 5906, 5911, 5912, 5913, 5914, + 5915, 2253, 5917, 5918, 5919, 5920, 5921, 5922, 5916, 5923, 5924, 5925, 5926, + 5927, 5904, 5894, 5854, 5828, 5743, 5928, 5929, 5930, 5931, 5932, 5933, 5934, + 5935, 2266, 5937, 5938, 5939, 5940, 5941, 5942, 5943, 5944, 5945, 2271, 5947, + 5948, 5949, 5950, 5951, 2274, 5953, 5954, 5955, 5956, 5957, 5958, 5952, 5959, + 5960, 5961, 5962, 2280, 5964, 5965, 5966, 5967, 5968, 5969, 5970, 5971, 5972, + 5973, 5963, 5946, 5974, 5975, 5976, 5977, 5978, 2289, 5980, 5981, 5982, 5983, + 5984, 5985, 5986, 5987, 5988, 2294, 5990, 5991, 5992, 5993, 5994, 5995, 5996, + 5997, 5998, 5999, 5989, 6000, 6001, 6002, 6003, 2302, 6005, 6006, 6007, 6008, + 6009, 6010, 6011, 6012, 6013, 6014, 6015, 6016, 6017, 2309, 6019, 6020, 6021, + 6022, 6023, 6024, 6025, 6026, 6027, 6028, 6029, 6030, 6031, 2316, 6033, 6034, + 6035, 6036, 6037, 6038, 6039, 6040, 6041, 2321, 6043, 2322, 6045, 2323, 6047, + 2324, 6049, 6050, 6048, 6046, 6044, 6051, 6052, 6053, 6054, 6055, 6056, 6057, + 6058, 6059, 6060, 6061, 6042, 6062, 6063, 6064, 6065, 6066, 6032, 6018, 6004, + 5979, 5936, 6067, 6068, 6069, 6070, 6071, 6072, 6073, 6074, 6075, 6076, 6076, + 6077, 6078, 6079, 6080, 6080, 6081, 6082, 6083, 6084, 6084, 6085, 6086, 6087, + 6088, 6088, 6089, 6090, 6091, 5621, 5618, 6092, 6092, 6093, 3255, 3256, 3257, + 3258, 3259, 3568, 3569, 3262, 6094, 6095, 6096, 6097, 6098, 6098, 6099, 6100, + 975, 6102, 6103, 6104, 6105, 6106, 6107, 6108, 6109, 6109, 6110, 6111, 6112, + 6113, 6113, 6114, 6115, 6116, 6117, 6117, 6118, 6119, 6120, 6121, 6122, 6123, + 6124, 6125, 6126, 6127, 6128, 6129, 6130, 6131, 6132, 6133, 6134, 6135, 6136, + 6137, 6138, 6139, 1041, 6141, 6142, 6143, 6144, 6145, 6146, 6147, 6148, 6148, + 6149, 6150, 6151, 6152, 6152, 6153, 6154, 6155, 6156, 6156, 6157, 6158, 6159, + 6160, 6160, 6161, 6162, 6163, 6164, 6164, 6165, 6166, 6167, 6168, 6169, 6170, + 6171, 6172, 6173, 6174, 6175, 6176, 6177, 6178, 6179, 6180, 6181, 6182, 6183, + 6184, 6185, 6186, 6187, 6188, 6188, 6189, 6190, 6191, 6192, 6192, 6193, 6194, + 6195, 6196, 6196, 6197, 6198, 6199, 6200, 6200, 6201, 6202, 6203, 6204, 6204, + 6205, 6206, 6207, 6208, 6208, 6209, 6210, 6211, 6212, 6212, 6213, 6214, 6215, + 749, 750, 6216, 6217, 6218, 1042, 6220, 6221, 6222, 6223, 6224, 6225, 6226, + 6227, 6227, 6228, 6229, 6230, 6231, 6231, 6232, 6233, 6234, 6235, 6235, 6236, + 6237, 6238, 6239, 6239, 6240, 6241, 6242, 6243, 6243, 6244, 6245, 6246, 6247, + 6248, 6249, 6250, 6251, 6251, 6252, 6253, 6254, 6255, 6255, 6256, 6257, 6258, + 6259, 6259, 6260, 6261, 6262, 6263, 6263, 6264, 6265, 6266, 6267, 6267, 6268, + 6269, 6270, 6271, 6271, 6272, 6273, 6274, 6275, 6275, 6276, 6277, 6278, 6279, + 6280, 6281, 43, 6282, 44, 6219, 340, 763, 764, 765, 782, 791, 1086, 6283, + 6284, 6285, 6286, 6287, 6288, 6289, 6290, 6291, 6292, 6293, 6294, 6295, 6296, + 6297, 6298, 6299, 6300, 6301, 6302, 512, 762, 763, 6304, 6305, 764, 6307, + 6308, 340, 782, 6310, 6311, 791, 6313, 6314, 765, 835, 1086, 6316, 6317, + 6318, 6315, 6312, 6309, 6306, 6320, 6319, 6321, 6322, 6323, 6324, 6325, 6326, + 314, 5452, 6327, 6328, 6329, 6330, 6331, 6332, 6333, 6334, 6335, 6335, 6336, + 6337, 6338, 6303, 6140, 6339, 6339, 6340, 6341, 6342, 6343, 314, 314, 6345, + 6346, 6347, 6348, 6348, 6349, 6350, 6351, 6352, 6353, 6354, 6355, 6356, 6357, + 6358, 6359, 6360, 6361, 6362, 311, 6364, 6365, 6366, 6367, 6368, 6369, 6370, + 6371, 6372, 6373, 6374, 6375, 6376, 6377, 6378, 6379, 6380, 6381, 6382, 6383, + 6383, 6384, 6385, 6386, 6387, 6387, 6388, 6389, 6390, 6391, 6391, 6392, 6393, + 6394, 6395, 6396, 6397, 6398, 6399, 6400, 6401, 6402, 6403, 6404, 6405, 512, + 6407, 6408, 6409, 6410, 6411, 6412, 6413, 6414, 6415, 6416, 6417, 6418, 6419, + 6420, 6421, 750, 6422, 6423, 6424, 762, 6426, 6427, 6428, 6429, 6430, 6431, + 6432, 6433, 6434, 6435, 6436, 6437, 6438, 6439, 6440, 6441, 6442, 6443, 763, + 6445, 6446, 6447, 6448, 6449, 6450, 6451, 6452, 6453, 6454, 6455, 6456, 6457, + 6458, 6459, 6460, 6461, 6462, 764, 6464, 6465, 6466, 6467, 6468, 6469, 6470, + 6471, 6472, 6473, 6474, 6475, 6476, 6477, 6478, 6479, 6480, 6481, 1086, 6483, + 6484, 6485, 6486, 6487, 6488, 6489, 6490, 6491, 6492, 6493, 6494, 6495, 6496, + 6497, 6498, 6499, 6500, 340, 6502, 6503, 6504, 6505, 6506, 6507, 6508, 6509, + 6510, 6511, 6512, 6513, 6514, 6515, 6516, 6517, 6518, 6519, 782, 6521, 6522, + 6523, 6524, 6525, 6526, 6527, 6528, 6529, 6530, 6531, 6532, 6533, 6534, 6535, + 6536, 6537, 6538, 6320, 6540, 6541, 6542, 6543, 6544, 6545, 6546, 6547, 6548, + 6549, 6550, 6551, 6552, 6553, 765, 6555, 6556, 6557, 6558, 6559, 6560, 6561, + 6562, 6563, 6564, 6565, 6566, 6567, 6568, 6569, 6570, 6571, 6572, 40, 6573, + 48, 6554, 49, 6539, 50, 6520, 3, 6501, 41, 6482, 42, 6463, 43, 6444, 44, + 6425, 6574, 6575, 6576, 6577, 6578, 6579, 6580, 6581, 6582, 6583, 6584, 6585, + 6586, 6587, 6588, 6589, 6590, 6591, 6592, 6593, 6594, 6595, 6596, 6597, 6598, + 6599, 6600, 6601, 6406, 6602, 6603, 6604, 6605, 6606, 6363, 6344, 6607, 6608, + 6609, 6610, 6611, 6612, 6613, 6613, 6614, 6615, 6616, 6101, 5203, 6617, 6618, + 6619, 6617, 6618, 6619, 6620, 6621, 1564, 6623, 6624, 6625, 6626, 6627, 6628, + 6629, 6630, 6631, 6632, 6633, 6634, 6635, 6636, 6637, 6638, 6638, 6639, 6640, + 6641, 6642, 6643, 6644, 6645, 6646, 6646, 6647, 6648, 6649, 6650, 6650, 6651, + 6652, 3737, 6654, 6655, 6656, 6657, 6658, 6659, 835, 835, 6661, 6662, 6663, + 6664, 6664, 6665, 6666, 6667, 6668, 6668, 6669, 6670, 6671, 6660, 6672, 6673, + 6672, 6673, 6674, 6675, 835, 6677, 6678, 6679, 6680, 6681, 6682, 6683, 6684, + 6685, 6686, 6687, 6688, 6689, 6690, 6691, 6692, 6693, 6694, 835, 835, 6696, + 6697, 6698, 6699, 6700, 6701, 6702, 6703, 6704, 6705, 6706, 6707, 6708, 6709, + 6710, 6711, 6712, 6713, 6714, 6715, 6716, 6717, 6718, 6719, 6720, 6721, 6722, + 6723, 6724, 6725, 6726, 6727, 6728, 6729, 6730, 6731, 6732, 6733, 6734, 6735, + 6735, 6736, 6737, 6738, 6695, 6740, 6739, 6740, 6741, 6742, 6743, 6676, 6744, + 6745, 6744, 6745, 6746, 6747, 750, 6749, 6750, 6751, 512, 762, 763, 764, + 765, 6752, 6753, 6754, 6755, 6756, 6756, 6757, 6758, 6759, 6760, 6760, 6761, + 6762, 6763, 6764, 6764, 6765, 6766, 6767, 512, 762, 763, 764, 765, 6768, + 6768, 6769, 6770, 3248, 6772, 6773, 951, 951, 6775, 6776, 6777, 6778, 6778, + 6779, 6780, 6781, 6782, 6782, 6783, 6784, 6785, 6786, 6786, 6787, 6788, 6789, + 6790, 6790, 6791, 6792, 6793, 6774, 6795, 6794, 6796, 6797, 6798, 6799, 6799, + 6800, 6801, 388, 388, 6803, 6804, 6805, 6806, 6806, 6807, 6808, 6809, 6810, + 6810, 6811, 6812, 6813, 6814, 6814, 6815, 6816, 6817, 6818, 6819, 6820, 6821, + 6822, 6823, 6824, 6825, 6826, 6827, 6828, 6829, 6830, 6831, 6832, 6833, 6834, + 6835, 6836, 6837, 6838, 6838, 6839, 6840, 6841, 6842, 6842, 6843, 6844, 6845, + 6846, 6846, 6847, 6848, 6849, 6850, 6850, 6851, 6852, 6853, 6854, 6854, 6855, + 6856, 6857, 6858, 6858, 6859, 6860, 6861, 6862, 6862, 6863, 6864, 6865, 6866, + 6866, 6867, 6868, 6869, 6870, 6870, 6871, 6872, 6873, 6874, 6874, 6875, 6876, + 6877, 6878, 6878, 6879, 6880, 6881, 6882, 6882, 6883, 6884, 6885, 6886, 6887, + 6888, 6889, 6890, 6890, 6891, 6892, 674, 3493, 3493, 6894, 6895, 3984, 6897, + 6898, 6899, 6900, 6900, 6901, 6902, 6903, 6904, 6904, 6905, 6906, 6907, 6908, + 6908, 6909, 6910, 6911, 6912, 6912, 6913, 6914, 4011, 6916, 6917, 6918, 6919, + 6919, 6920, 6921, 6922, 6923, 6923, 6924, 6925, 975, 6105, 6927, 6928, 6929, + 6930, 6930, 6931, 6932, 3313, 3313, 6934, 6935, 6936, 6937, 6937, 6938, 6939, + 6940, 6941, 6942, 6943, 4044, 4045, 4044, 4045, 4049, 6945, 6946, 6947, 6948, + 6949, 6950, 4059, 4060, 4059, 4060, 4064, 6952, 6953, 6954, 6955, 6956, 6957, + 6958, 6951, 1008, 6959, 6960, 6961, 6962, 6963, 1008, 6959, 6960, 6964, 6965, + 6966, 6967, 6968, 6968, 6969, 6970, 6971, 2, 6944, 6933, 6972, 6973, 6974, + 6972, 6973, 6974, 6975, 6976, 6795, 4121, 6978, 6979, 6980, 6981, 6982, 6983, + 6984, 6985, 6985, 6986, 6987, 6988, 6989, 6989, 6990, 6991, 6992, 6993, 6993, + 6994, 6995, 6996, 6997, 6997, 6998, 6999, 7000, 7001, 7001, 7002, 7003, 7004, + 7005, 7005, 7006, 7007, 7008, 6977, 6926, 6915, 6896, 6893, 6802, 6771, 6748, + 6653, 6622, 5100, 5093, 5053, 4194, 3069, 3034, 2840, 2823, 7027, 7028, 7029, + 7030, 7031, 2830, 7033, 2833, 7035, 7036, 7034, 7038, 7037, 7039, 7040, 2841, + 7042, 7043, 7044, 7045, 7046, 2848, 7048, 7049, 7050, 7050, 7051, 7052, 7053, + 7054, 7054, 7055, 7056, 7057, 7058, 7058, 7059, 7060, 7061, 7062, 7062, 7063, + 7064, 7065, 7066, 7066, 7067, 7068, 7069, 7070, 7070, 7071, 7072, 7073, 7074, + 7074, 7075, 7076, 7077, 7078, 7079, 7080, 7081, 7082, 7082, 7083, 7084, 7085, + 7086, 7086, 7087, 7088, 7089, 7090, 7090, 7091, 7092, 7093, 7094, 7094, 7095, + 7096, 7097, 7098, 7098, 7099, 7100, 7101, 7102, 7102, 7103, 7104, 7105, 7106, + 7106, 7107, 7108, 7109, 7110, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7117, + 7118, 7118, 7119, 7120, 7121, 7122, 7122, 7123, 7124, 7125, 7126, 7126, 7127, + 7128, 2931, 7130, 2934, 7132, 7133, 7131, 7134, 7135, 7136, 7137, 7138, 7139, + 7140, 7141, 7142, 7143, 7144, 7145, 7146, 7147, 7148, 7149, 7150, 7151, 7152, + 7153, 7154, 7155, 7156, 7157, 7158, 7159, 7160, 7161, 7162, 7163, 7163, 7164, + 7165, 7166, 7167, 7168, 7169, 7170, 7171, 7171, 7172, 7173, 7174, 7175, 7175, + 7176, 7177, 2982, 7179, 7180, 7181, 7181, 7182, 7183, 7184, 7185, 7185, 7186, + 7187, 7188, 7189, 7189, 7190, 7191, 2997, 7193, 7194, 7195, 7195, 7196, 7197, + 3004, 7199, 7200, 7201, 7202, 7203, 7204, 7205, 7206, 7207, 7208, 7209, 7210, + 7211, 7212, 7213, 7213, 7214, 7215, 7216, 7198, 7218, 7218, 7217, 7217, 7219, + 7220, 7221, 7192, 7178, 7129, 7223, 7223, 7222, 7224, 7225, 7222, 7224, 7225, + 7226, 7227, 3035, 7229, 7230, 7231, 7231, 7232, 7233, 7234, 7235, 7235, 7236, + 7237, 7238, 7239, 7239, 7240, 7241, 7242, 7243, 7243, 7244, 7245, 7246, 7247, + 7248, 7249, 7250, 7251, 7252, 7253, 7254, 7255, 7255, 7256, 7257, 7258, 7259, + 7259, 7260, 7261, 3070, 7263, 7264, 7265, 7266, 7267, 3077, 7269, 7270, 7271, + 7272, 7273, 7274, 7268, 7275, 7276, 7277, 7278, 3089, 7280, 7281, 7282, 7283, + 7284, 7285, 7286, 7287, 7288, 7289, 7279, 7290, 7291, 7292, 7293, 7294, 7295, + 7296, 7297, 7298, 7299, 7299, 7300, 7301, 7302, 7303, 7303, 7304, 7305, 7306, + 7307, 7307, 7308, 7309, 3121, 7311, 7312, 7313, 7313, 7314, 7315, 7316, 7317, + 7317, 7318, 7319, 7320, 7321, 7321, 7322, 7323, 7324, 7325, 7325, 7326, 7327, + 3140, 7329, 3143, 7331, 3146, 7333, 7334, 7332, 7330, 7335, 7336, 7337, 7335, + 7336, 7337, 7338, 7339, 3155, 7341, 7342, 7343, 7290, 7291, 7344, 7345, 3162, + 7347, 7348, 7349, 7350, 7351, 7352, 7353, 7354, 7355, 3173, 7357, 3176, 7359, + 3179, 7361, 7362, 7360, 7358, 7363, 7364, 7365, 7366, 7367, 3188, 7369, 7370, + 7371, 7372, 7373, 3195, 7375, 7376, 7029, 7377, 7378, 7379, 3202, 7381, 7382, + 7383, 7384, 7385, 3209, 7387, 7388, 7389, 7390, 7391, 3216, 7393, 3219, 7395, + 3222, 7397, 3225, 7399, 3228, 7401, 7402, 7400, 7398, 7396, 7394, 7403, 7404, + 7405, 7406, 7038, 7407, 7408, 7409, 3239, 7411, 3242, 7413, 3245, 7415, 7416, + 7414, 7412, 7417, 7418, 7419, 7420, 7421, 7422, 7410, 7392, 7386, 7380, 7374, + 7368, 7356, 7346, 7340, 7424, 7425, 7426, 7427, 7428, 7431, 7423, 7429, 7430, + 7432, 7433, 7434, 7078, 7078, 7436, 7437, 7438, 7439, 7439, 7440, 7441, 7442, + 7443, 7443, 7444, 7445, 7446, 7447, 7447, 7448, 7449, 7450, 7451, 7451, 7452, + 7453, 7454, 7455, 7455, 7456, 7457, 7458, 7459, 7459, 7460, 7461, 7462, 7463, + 7463, 7464, 7465, 7466, 7467, 7467, 7468, 7469, 7470, 7471, 7471, 7472, 7473, + 7474, 7475, 7475, 7476, 7477, 7218, 7218, 7479, 7480, 7481, 7478, 7482, 7482, + 7483, 7483, 7484, 7485, 7247, 7487, 7488, 7489, 7490, 7490, 7491, 7492, 7493, + 7494, 7494, 7495, 7496, 3329, 7498, 3332, 7500, 7501, 7502, 7502, 7503, 7504, + 7505, 7506, 7506, 7507, 7508, 7509, 7510, 7510, 7511, 7512, 7513, 7514, 7514, + 7515, 7516, 7517, 7518, 7518, 7519, 7520, 7521, 7522, 7522, 7523, 7524, 7525, + 7526, 7526, 7527, 7528, 7529, 7530, 7530, 7531, 7532, 7533, 7534, 7534, 7535, + 7536, 7537, 7538, 7538, 7539, 7540, 7541, 7542, 7542, 7543, 7544, 7545, 7546, + 7546, 7547, 7548, 3383, 7550, 7551, 7549, 7499, 7552, 7552, 7554, 7554, 7553, + 7553, 7555, 7556, 7557, 7558, 7558, 7559, 7560, 7561, 7562, 7562, 7563, 7564, + 3400, 7566, 7567, 7568, 7569, 7570, 7571, 7572, 7573, 7574, 7575, 543, 543, + 7576, 7577, 7578, 7579, 7580, 7580, 7581, 7582, 3419, 7584, 7585, 7586, 7586, + 7587, 7588, 7589, 7590, 7590, 7591, 7592, 7593, 7594, 7594, 7595, 7596, 7597, + 7598, 7598, 7599, 7600, 7601, 7602, 7602, 7603, 7604, 7605, 7606, 7606, 7607, + 7608, 7609, 7610, 7610, 7611, 7612, 7613, 7614, 7614, 7615, 7616, 7617, 7618, + 7618, 7619, 7620, 7621, 7622, 7622, 7623, 7624, 7625, 7626, 7626, 7627, 7628, + 7629, 7630, 7630, 7631, 7632, 7633, 7634, 7634, 7635, 7636, 7637, 7638, 7638, + 7639, 7640, 3478, 7642, 7643, 7644, 7644, 7645, 7646, 7647, 7648, 7648, 7649, + 7650, 7651, 7652, 7652, 7653, 7654, 7655, 7656, 7656, 7657, 7658, 7659, 7660, + 7660, 7661, 7662, 7663, 7641, 7664, 7664, 7665, 7665, 7666, 7667, 7047, 7669, + 7670, 7671, 7672, 7673, 7673, 7674, 7675, 3514, 7677, 7678, 7679, 7349, 7680, + 7681, 7682, 7683, 7684, 7685, 3525, 7687, 7688, 7363, 7364, 7689, 7690, 7691, + 7377, 7693, 7694, 3535, 7696, 3538, 7698, 7699, 7697, 7403, 7404, 7405, 7700, + 7701, 7702, 7703, 3546, 7705, 7706, 7418, 7707, 7708, 7709, 3553, 7711, 7712, + 7713, 7713, 7714, 7715, 7716, 7717, 7717, 7718, 7719, 7720, 7710, 7704, 7695, + 7692, 7686, 7426, 7431, 7721, 7721, 7725, 7726, 7722, 7723, 7724, 7727, 7728, + 7729, 7676, 7730, 7731, 7730, 7731, 7732, 7733, 3578, 7735, 7736, 7737, 7738, + 7739, 7740, 7741, 7742, 7743, 7744, 7745, 7746, 7747, 7748, 7749, 7750, 7751, + 7752, 7753, 7754, 7755, 7756, 7757, 7757, 7758, 7759, 7760, 7761, 7761, 7762, + 7763, 7764, 7765, 7766, 7767, 3613, 7769, 7770, 7771, 7772, 7773, 7774, 7775, + 7776, 7777, 7778, 7779, 7780, 7781, 7782, 7783, 7784, 7785, 7223, 7223, 7787, + 7788, 3635, 7790, 7791, 7792, 7792, 7793, 7794, 7795, 7796, 7796, 7797, 7798, + 7799, 7800, 7800, 7801, 7802, 7803, 7804, 7804, 7805, 7806, 7807, 7808, 7808, + 7809, 7810, 7811, 7812, 7812, 7813, 7814, 3662, 7816, 7817, 7818, 7818, 7819, + 7820, 7821, 7822, 7822, 7823, 7824, 7825, 7826, 7826, 7827, 7828, 3677, 7830, + 7831, 7832, 7832, 7833, 7834, 7835, 7836, 7836, 7837, 7838, 7839, 7840, 7840, + 7841, 7842, 7843, 7844, 7844, 7845, 7846, 7847, 7829, 7815, 7789, 512, 762, + 763, 764, 765, 7848, 7849, 7850, 7851, 7848, 7849, 7850, 7851, 7852, 7853, + 7854, 7855, 7855, 7856, 7857, 7858, 7859, 7859, 7860, 7861, 7862, 7863, 7863, + 7864, 7865, 7866, 7867, 7867, 7868, 7869, 7870, 7786, 7768, 7871, 7871, 7872, + 7873, 7874, 7875, 7876, 7877, 7877, 7878, 7879, 7880, 7734, 7881, 7882, 7881, + 7882, 7883, 7884, 3734, 7886, 7887, 7888, 7889, 7890, 7891, 7892, 7892, 7893, + 7894, 3745, 7896, 7897, 7898, 7899, 7900, 7901, 7902, 7903, 7904, 7905, 7906, + 7907, 7908, 7909, 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7918, 7919, + 7920, 7921, 7922, 7923, 7924, 7925, 7926, 7926, 7927, 7928, 7929, 7895, 7930, + 7931, 7930, 7931, 7932, 7933, 3785, 7935, 7936, 7937, 7937, 7938, 7939, 7940, + 7941, 7941, 7942, 7943, 7944, 7945, 7945, 7946, 7947, 7948, 7949, 7949, 7950, + 7951, 7952, 7953, 7953, 7954, 7955, 7956, 7957, 7958, 7959, 7960, 7961, 7962, + 7963, 3816, 7965, 7966, 7967, 7967, 7968, 7969, 7970, 7971, 7971, 7972, 7973, + 7974, 7975, 7975, 7976, 7977, 7978, 7979, 7979, 7980, 7981, 7982, 7983, 7983, + 7984, 7985, 7986, 7987, 7987, 7988, 7989, 7990, 7991, 7991, 7992, 7993, 7994, + 7995, 7995, 7996, 7997, 7998, 7999, 7999, 8000, 8001, 8002, 8003, 8003, 8004, + 8005, 8006, 8007, 8007, 8008, 8009, 8010, 8011, 8012, 8013, 3867, 8015, 8016, + 8017, 8017, 8018, 8019, 8020, 8021, 8021, 8022, 8023, 8024, 8025, 8025, 8026, + 8027, 8028, 8029, 8029, 8030, 8031, 8032, 8033, 8033, 8034, 8035, 8036, 8037, + 8037, 8038, 8039, 8040, 8041, 8041, 8042, 8043, 8044, 8045, 8045, 8046, 8047, + 8048, 8049, 8049, 8050, 8051, 8052, 8053, 8053, 8054, 8055, 8056, 8057, 8058, + 8059, 7032, 8061, 8062, 8063, 8064, 8065, 8065, 8066, 8067, 8068, 8069, 8069, + 8070, 8071, 8072, 8073, 8073, 8074, 8075, 8076, 8077, 8077, 8078, 8079, 8080, + 8081, 8081, 8082, 8083, 8084, 8085, 8085, 8086, 8087, 8088, 8089, 8089, 8090, + 8091, 8092, 8060, 8014, 8093, 8093, 8094, 8095, 8096, 8097, 3952, 8099, 8100, + 8101, 8102, 8103, 8104, 8105, 8106, 8107, 8108, 8098, 7964, 8109, 8109, 8110, + 8111, 8112, 8113, 8114, 8115, 8115, 8116, 8117, 3973, 8119, 8120, 8121, 8121, + 8122, 8123, 8124, 8125, 8125, 8126, 8127, 8128, 8129, 8129, 8130, 8131, 8132, + 8133, 8133, 8134, 8135, 8136, 8137, 8137, 8138, 8139, 8140, 8141, 8141, 8142, + 8143, 4000, 8145, 8146, 8147, 8148, 8149, 8150, 8151, 8152, 8153, 8154, 8155, + 8155, 8156, 8157, 8158, 8159, 8159, 8160, 8161, 4019, 8163, 8164, 8165, 8165, + 8166, 8167, 8168, 8169, 8169, 8170, 8171, 8172, 8173, 8173, 8174, 8175, 8176, + 8177, 8177, 8178, 8179, 4038, 8181, 4041, 8183, 8184, 8182, 8185, 8185, 8186, + 8186, 8187, 8188, 8189, 8190, 8191, 8192, 4053, 8194, 4056, 8196, 8197, 8195, + 8198, 8198, 8199, 8199, 8200, 8201, 8202, 8203, 8204, 8205, 8206, 8193, 1008, + 8207, 8208, 8209, 8210, 8211, 8212, 8212, 8213, 8214, 8215, 8180, 8216, 8217, + 8216, 8217, 8218, 8219, 4082, 8221, 8222, 8223, 8224, 8225, 8226, 8227, 8228, + 8229, 4093, 8231, 8232, 8233, 8233, 8234, 8235, 8236, 8237, 8237, 8238, 8239, + 8240, 8241, 8241, 8242, 8243, 8244, 8245, 8245, 8246, 8247, 8248, 8249, 8249, + 8250, 8251, 8252, 8253, 8254, 8255, 8256, 8230, 8258, 8257, 8259, 8260, 8261, + 8262, 8262, 8263, 8264, 8265, 8266, 8266, 8267, 8268, 8269, 8270, 8270, 8271, + 8272, 8273, 8274, 8274, 8275, 8276, 8277, 8278, 8278, 8279, 8280, 8281, 8282, + 8282, 8283, 8284, 8285, 8220, 8162, 8144, 8118, 7934, 7885, 7668, 7583, 7565, + 7497, 7486, 8286, 8287, 8288, 8289, 8290, 8291, 8292, 8293, 8294, 8295, 8296, + 8297, 8286, 8287, 8288, 8289, 8290, 8291, 8292, 8293, 8294, 8295, 8296, 8297, + 8298, 8299, 4164, 8301, 8302, 8303, 8303, 8304, 8305, 8306, 8307, 8307, 8308, + 8309, 8310, 8311, 8311, 8312, 8313, 8314, 8315, 8315, 8316, 8317, 8318, 8319, + 8319, 8320, 8321, 8322, 8300, 7435, 7328, 7310, 8323, 8324, 8325, 8326, 8327, + 8323, 8324, 8325, 8326, 8327, 8328, 8329, 4195, 8331, 8332, 8333, 8333, 8334, + 8335, 4202, 8337, 4205, 8339, 4208, 8341, 4211, 8343, 4214, 8345, 4217, 8347, + 4220, 8349, 4223, 8351, 4226, 8353, 4229, 8355, 8356, 8357, 8357, 8358, 8359, + 8360, 8361, 8361, 8362, 8363, 8364, 8365, 8365, 8366, 8367, 4244, 8369, 4247, + 8371, 4250, 8373, 4253, 8375, 4256, 8377, 8378, 8376, 8374, 8372, 8370, 8368, + 8354, 8352, 8350, 8348, 8346, 8344, 8342, 8340, 8338, 8336, 8379, 8380, 8381, + 8382, 8383, 8384, 8385, 8386, 8387, 8388, 8389, 8390, 8391, 8392, 8393, 8394, + 8379, 8380, 8381, 8382, 8383, 8384, 8385, 8386, 8387, 8388, 8389, 8390, 8391, + 8392, 8393, 8394, 8395, 8396, 8397, 8398, 8399, 8400, 4282, 8402, 8403, 8404, + 8404, 8405, 8406, 8407, 8408, 8408, 8409, 8410, 8411, 8412, 8412, 8413, 8414, + 8415, 8416, 8416, 8417, 8418, 8419, 8420, 8420, 8421, 8422, 8423, 8401, 8424, + 8425, 8424, 8425, 8426, 8427, 4310, 8429, 8430, 8431, 8431, 8432, 8433, 8434, + 8435, 8435, 8436, 8437, 8438, 8439, 8439, 8440, 8441, 8442, 8443, 8444, 8445, + 8446, 8447, 8448, 8449, 8450, 8451, 8452, 8453, 8454, 8455, 8456, 8457, 8458, + 8459, 8460, 8461, 4345, 8463, 8464, 8465, 8465, 8466, 8467, 8468, 8469, 8469, + 8470, 8471, 8472, 8473, 8473, 8474, 8475, 8476, 8477, 8478, 8479, 8480, 8481, + 8482, 8483, 8484, 8485, 8486, 8487, 8488, 8489, 8490, 8491, 8492, 8493, 8494, + 8495, 8496, 8462, 8497, 8497, 8498, 8498, 8499, 8500, 4385, 8502, 8503, 8504, + 8504, 8505, 8506, 8507, 8508, 8508, 8509, 8510, 8511, 8512, 8512, 8513, 8514, + 8515, 8516, 8517, 8518, 8519, 8520, 8521, 8522, 8523, 8524, 8525, 8526, 8527, + 8528, 8529, 8530, 8531, 8532, 8533, 8534, 8535, 8536, 8536, 8537, 8538, 4424, + 8540, 8541, 8542, 8542, 8543, 8544, 8545, 8546, 8546, 8547, 8548, 8549, 8550, + 8550, 8551, 8552, 8553, 8554, 8555, 8556, 8557, 8558, 8559, 8560, 8561, 8562, + 8563, 8564, 8565, 8566, 8567, 8568, 8569, 8570, 8571, 8572, 4459, 8574, 8575, + 8576, 8576, 8577, 8578, 8579, 8580, 8580, 8581, 8582, 8583, 8584, 8584, 8585, + 8586, 8587, 8588, 8589, 8590, 8591, 8592, 8593, 8594, 8595, 8596, 8597, 8598, + 8599, 8600, 8601, 8602, 8603, 8604, 8605, 8606, 8607, 8573, 8609, 8609, 8608, + 8608, 8610, 8611, 4499, 8613, 8614, 8615, 8615, 8616, 8617, 8618, 8619, 8619, + 8620, 8621, 8622, 8623, 8623, 8624, 8625, 8626, 8627, 8628, 8629, 8630, 8631, + 8632, 8633, 8634, 8635, 8636, 8637, 8638, 8639, 8640, 8641, 8642, 8643, 8644, + 8645, 8646, 8647, 8647, 8648, 8649, 4538, 8651, 8652, 8653, 8653, 8654, 8655, + 8656, 8657, 8657, 8658, 8659, 8660, 8661, 8661, 8662, 8663, 8664, 8665, 8666, + 8667, 8668, 8669, 8670, 8671, 8672, 8673, 8674, 8675, 8676, 8677, 8678, 8679, + 8680, 8681, 8682, 8683, 8684, 8685, 8685, 8686, 8687, 8688, 8689, 8689, 8690, + 8691, 8692, 8693, 8693, 8694, 8695, 8696, 8697, 8697, 8698, 8699, 8700, 8701, + 8701, 8702, 8703, 8704, 8705, 8705, 8706, 8707, 8708, 8709, 8709, 8710, 8711, + 8712, 8713, 8713, 8714, 8715, 8716, 8717, 8717, 8718, 8719, 8720, 8721, 8721, + 8722, 8723, 8724, 8725, 8725, 8726, 8727, 4617, 8729, 8730, 8731, 8731, 8732, + 8733, 8734, 8735, 8735, 8736, 8737, 8738, 8739, 8739, 8740, 8741, 8742, 8743, + 8744, 8745, 8746, 8747, 8748, 8749, 8750, 8751, 8752, 8753, 8754, 8755, 8756, + 8757, 8758, 8759, 8760, 8761, 4652, 8763, 8764, 8765, 8765, 8766, 8767, 8768, + 8769, 8769, 8770, 8771, 8772, 8773, 8773, 8774, 8775, 8776, 8777, 8778, 8779, + 8780, 8781, 8782, 8783, 8784, 8785, 8786, 8787, 8788, 8789, 8790, 8791, 8792, + 8793, 8794, 8795, 8796, 8762, 8728, 8797, 8798, 8799, 8797, 8798, 8799, 8800, + 8801, 4693, 8803, 8804, 8805, 8805, 8806, 8807, 8808, 8809, 8809, 8810, 8811, + 8812, 8813, 8813, 8814, 8815, 8816, 8817, 8818, 8819, 8820, 8821, 8821, 8822, + 8823, 4716, 8825, 8826, 8827, 8827, 8828, 8829, 8830, 8831, 8831, 8832, 8833, + 8834, 8835, 8835, 8836, 8837, 8838, 8839, 8840, 8841, 8842, 8843, 8844, 8845, + 8846, 8847, 8848, 8849, 8850, 8851, 8851, 8852, 8853, 8854, 8855, 8855, 8856, + 8857, 8858, 8859, 8859, 8860, 8861, 8862, 8863, 8863, 8864, 8865, 8497, 8497, + 8867, 8868, 8609, 8609, 8870, 8871, 4765, 8873, 8874, 8875, 8875, 8876, 8877, + 8878, 8879, 8879, 8880, 8881, 8882, 8883, 8883, 8884, 8885, 8886, 8887, 8888, + 8889, 8890, 8891, 8892, 8893, 8894, 8895, 8896, 8897, 8898, 8899, 8900, 8901, + 8902, 8903, 8903, 8904, 8905, 8906, 8872, 8869, 8866, 8824, 8802, 8650, 8612, + 8539, 8501, 8428, 8907, 8908, 8909, 8910, 8911, 8912, 8913, 8914, 8915, 8916, + 8917, 8907, 8908, 8909, 8910, 8911, 8912, 8913, 8914, 8915, 8916, 8917, 8918, + 8919, 8920, 8921, 8922, 8923, 92, 8924, 8925, 8925, 8926, 8927, 8928, 8929, + 8929, 8930, 8931, 8932, 8933, 8933, 8934, 8935, 8936, 8937, 8937, 8938, 8939, + 4834, 8941, 8942, 8943, 8944, 8945, 8946, 8947, 8948, 8949, 8950, 8951, 8952, + 8953, 8954, 8955, 8955, 8956, 8957, 8958, 8959, 8959, 8960, 8961, 4857, 8963, + 8964, 8965, 8966, 8967, 8968, 8969, 8970, 8971, 8972, 8973, 8974, 8975, 8976, + 8977, 8977, 8978, 8979, 8980, 8981, 8981, 8982, 8983, 4880, 8985, 4883, 8987, + 4886, 8989, 8990, 8991, 8991, 8992, 8993, 8994, 8988, 8986, 8995, 7554, 8996, + 8997, 8995, 7554, 8996, 8997, 8998, 8999, 9000, 7552, 7552, 9001, 9002, 9003, + 9004, 9005, 9005, 9006, 9007, 7530, 9009, 9010, 9011, 9012, 9012, 9013, 9014, + 9015, 9016, 9016, 9017, 9018, 9019, 9020, 9020, 9021, 9022, 9023, 9024, 9025, + 9026, 9027, 9028, 9028, 9029, 9030, 9031, 9032, 9032, 9033, 9034, 9035, 9036, + 9036, 9037, 9038, 9039, 9040, 9040, 9041, 9042, 9043, 9044, 9044, 9045, 9046, + 9047, 9048, 9048, 9049, 9050, 9051, 9052, 9053, 9054, 9055, 9056, 9056, 9057, + 9058, 9059, 9060, 9060, 9061, 9062, 9063, 9064, 9064, 9065, 9066, 9067, 9068, + 9068, 9069, 9070, 9071, 9072, 9072, 9073, 9074, 9075, 9076, 9076, 9077, 9078, + 9079, 9080, 9081, 9082, 9083, 9084, 9084, 9085, 9086, 9087, 9088, 9088, 9089, + 9090, 9091, 9092, 9092, 9093, 9094, 9095, 9096, 9096, 9097, 9098, 9099, 9100, + 9101, 9102, 9103, 9104, 9104, 9105, 9106, 9107, 9108, 9108, 9109, 9110, 9111, + 9112, 9112, 9113, 9114, 9115, 9116, 9116, 9117, 9118, 9119, 9120, 9121, 9122, + 9123, 9124, 9124, 9125, 9126, 9127, 9128, 9128, 9129, 9130, 9131, 9132, 9132, + 9133, 9134, 9135, 9136, 9136, 9137, 9138, 9139, 9140, 9140, 9141, 9142, 9143, + 9144, 9144, 9145, 9146, 9147, 9008, 8984, 8962, 8940, 9148, 9149, 9150, 9151, + 9152, 9148, 9149, 9150, 9151, 9152, 9153, 9154, 7741, 9156, 9157, 9158, 9159, + 9160, 9161, 9162, 9163, 9164, 9165, 9166, 9167, 9168, 9169, 9170, 9171, 9172, + 9173, 9174, 543, 543, 9175, 7576, 9176, 9177, 49, 8964, 9179, 9179, 9180, + 9181, 9182, 9183, 9183, 9184, 9185, 9186, 9187, 9187, 9188, 9189, 9190, 9178, + 9191, 9192, 9191, 9192, 9193, 9194, 7664, 9196, 9197, 9198, 9199, 7844, 9199, + 7844, 9200, 9201, 5101, 9203, 5104, 9205, 9206, 9204, 749, 1008, 9207, 9208, + 9209, 9210, 5112, 9212, 48, 9213, 49, 9211, 594, 765, 951, 1564, 9214, 9215, + 9216, 9217, 5120, 9219, 5123, 9221, 5126, 9223, 5129, 9225, 5132, 9227, 5135, + 9229, 5138, 9231, 5141, 9233, 5144, 9235, 9236, 9234, 9232, 9230, 9228, 9226, + 9224, 9222, 9220, 9237, 9238, 9239, 9240, 9241, 9242, 9243, 9244, 9245, 9246, + 9247, 5159, 9249, 9250, 9251, 9252, 9253, 5166, 9255, 9256, 9257, 9258, 9259, + 9260, 9254, 9248, 9261, 9262, 9263, 9264, 9265, 5179, 9267, 5182, 9269, 43, + 9270, 2, 9268, 9266, 9218, 340, 512, 763, 764, 1086, 9271, 9272, 9273, 9274, + 9275, 9276, 9277, 9278, 9279, 9280, 9281, 9282, 9282, 9283, 9284, 9285, 9286, + 9286, 9287, 9288, 5204, 9290, 5207, 9292, 5210, 9294, 5213, 9296, 5216, 9298, + 5219, 9300, 5222, 9302, 9303, 9301, 9299, 9297, 9295, 9293, 9291, 9304, 9305, + 9306, 9307, 9308, 9309, 9310, 9311, 9312, 5235, 9314, 5238, 9316, 5241, 9318, + 5244, 9320, 5247, 9322, 9323, 9321, 9319, 9317, 9315, 7282, 9324, 9325, 9326, + 9327, 9328, 9329, 9330, 5258, 9332, 5261, 9334, 5264, 9336, 5267, 9338, 9339, + 268, 1738, 9340, 9341, 9342, 5274, 9344, 9345, 9343, 9337, 9335, 9333, 9346, + 9347, 9348, 9349, 9350, 9351, 9352, 5285, 9354, 9355, 9356, 9357, 9358, 5292, + 9360, 9361, 9362, 9363, 9364, 5299, 9366, 5302, 9368, 5305, 9370, 5308, 9372, + 9373, 9371, 9369, 9367, 9365, 9359, 9374, 9375, 9376, 9377, 9378, 9379, 9380, + 9381, 5320, 9383, 9384, 9385, 9386, 9387, 9388, 9389, 9390, 9391, 9392, 9382, + 9353, 9331, 9313, 9393, 9394, 9395, 9396, 9397, 9398, 9399, 5339, 9401, 9402, + 9403, 9404, 9405, 9406, 1810, 9407, 9408, 9409, 5350, 9411, 9412, 9413, 9414, + 9415, 9416, 474, 475, 476, 9417, 9418, 9419, 9420, 9410, 7363, 7689, 9421, + 9422, 9423, 9424, 5366, 9426, 5369, 9428, 9429, 9430, 9431, 9432, 9433, 9434, + 9435, 9436, 9437, 9427, 457, 7371, 9438, 9439, 9440, 9441, 5385, 9443, 9444, + 229, 9445, 9446, 9447, 5392, 9449, 5395, 9451, 5398, 9453, 5401, 9455, 9456, + 9454, 9452, 9450, 9457, 9458, 9459, 9460, 9461, 9462, 9463, 9448, 7377, 9464, + 9465, 9466, 9467, 5416, 9469, 5419, 9471, 5422, 9473, 9474, 9472, 9470, 502, + 9475, 9476, 9477, 9478, 9479, 5431, 9481, 9482, 9483, 9484, 9485, 5438, 9487, + 5441, 9489, 9490, 9488, 9491, 9492, 9493, 9494, 5449, 9496, 9497, 9498, 9499, + 9500, 5456, 9502, 9503, 9504, 9505, 9506, 9507, 9508, 9509, 9510, 9511, 9501, + 9495, 9486, 9480, 9512, 9513, 9514, 9515, 9516, 9517, 9518, 5475, 9520, 9521, + 9522, 9523, 9524, 9525, 9526, 9527, 9528, 5486, 9530, 5489, 9532, 5492, 9534, + 5495, 9536, 9537, 9535, 9533, 9531, 9538, 9539, 9540, 9541, 9542, 9543, 9544, + 9545, 9546, 9547, 9548, 9529, 9549, 9550, 9551, 9552, 5514, 9554, 5517, 9556, + 9557, 9555, 7389, 9558, 9559, 9560, 9561, 5525, 9563, 5528, 9565, 5531, 9567, + 5534, 9569, 12, 9570, 245, 247, 248, 249, 250, 251, 448, 515, 9571, 9572, + 9573, 5541, 9575, 5544, 9577, 9578, 9576, 9574, 9568, 9566, 9564, 7404, 9579, + 9580, 9581, 9582, 9583, 9584, 9585, 9586, 5556, 9588, 5559, 9590, 5562, 9592, + 9593, 72, 9591, 73, 9589, 263, 9594, 9595, 9596, 9597, 9598, 5571, 9600, + 5574, 9602, 5577, 9604, 5580, 9606, 9607, 195, 951, 2024, 2026, 2027, 2028, + 9608, 9609, 9610, 5587, 9612, 5590, 9614, 5593, 9616, 9617, 9615, 9613, 9611, + 9605, 9603, 9601, 9599, 9618, 9619, 9620, 9621, 9622, 9623, 9624, 9625, 9626, + 9627, 9628, 9587, 9562, 9553, 9519, 9468, 9442, 9425, 9400, 1611, 7721, 7721, + 9629, 9630, 9631, 9632, 9633, 9634, 9635, 9636, 9637, 9638, 9639, 7418, 7419, + 9641, 9642, 2075, 9644, 2076, 9646, 9647, 9645, 9648, 9649, 9650, 9651, 2080, + 9653, 2081, 9655, 2082, 9657, 2083, 9659, 9660, 9658, 9656, 9654, 9661, 9662, + 9663, 9664, 9665, 9666, 2089, 9668, 2090, 9670, 9671, 9669, 9672, 9673, 9674, + 9675, 2094, 9677, 2095, 9679, 9680, 9678, 9681, 9682, 9683, 9684, 2099, 9686, + 9687, 9688, 9689, 9690, 2102, 9692, 2103, 9694, 2104, 9696, 9697, 9695, 9693, + 9698, 9699, 9700, 9701, 9702, 2109, 9704, 2110, 9706, 2111, 9708, 2112, 9710, + 2113, 9712, 2114, 9714, 2115, 9716, 9717, 9715, 9713, 9711, 9709, 9707, 9705, + 9718, 9719, 9720, 9721, 9722, 9723, 9724, 9725, 9726, 2124, 9728, 2125, 9730, + 2126, 9732, 2127, 9734, 2128, 9736, 2129, 9738, 2130, 9740, 2131, 9742, 9743, + 9741, 9739, 9737, 9735, 9733, 9731, 9729, 9744, 9745, 9746, 9747, 9748, 9749, + 9750, 9751, 9752, 9753, 9754, 9727, 9703, 9691, 9685, 9676, 9667, 9652, 9755, + 9756, 9757, 9758, 9759, 9760, 9761, 9762, 9763, 9764, 2150, 9766, 2151, 9768, + 2152, 9770, 2153, 9772, 2154, 9774, 2155, 9776, 2156, 9778, 9779, 9777, 9775, + 9773, 9771, 9769, 9767, 9780, 9781, 9782, 9783, 9784, 9785, 9786, 9787, 9788, + 2165, 9790, 2166, 9792, 2167, 9794, 2168, 9796, 2169, 9798, 2170, 9800, 9801, + 9799, 9797, 9795, 9793, 9791, 9802, 9803, 9804, 9805, 9806, 9807, 9808, 9809, + 2178, 9811, 2179, 9813, 2180, 9815, 2181, 9817, 2182, 9819, 9820, 9818, 9816, + 9814, 9812, 9821, 9822, 9823, 9824, 9825, 9826, 9827, 2189, 9829, 2190, 9831, + 2191, 9833, 2192, 9835, 9836, 9834, 9832, 9830, 9837, 9838, 9839, 9840, 9841, + 9842, 9843, 9828, 9810, 9789, 9844, 9845, 9846, 9847, 9848, 9849, 2203, 9851, + 9852, 9853, 9854, 9855, 2206, 9857, 2207, 9859, 2208, 9861, 2209, 9863, 9864, + 9862, 9860, 9858, 9865, 9866, 9867, 9868, 9869, 9870, 9871, 9856, 9872, 9873, + 9874, 9875, 2218, 9877, 2219, 9879, 2220, 9881, 9882, 9880, 9878, 9883, 9884, + 9885, 9886, 9887, 2225, 9889, 9890, 9891, 9892, 9893, 2228, 9895, 2229, 9897, + 9898, 9896, 9899, 9900, 9901, 9902, 2233, 9904, 9905, 9906, 9907, 9908, 9909, + 9903, 9894, 9888, 9910, 9911, 9912, 9913, 9914, 9915, 2241, 9917, 9918, 9919, + 9920, 9921, 9922, 9923, 9924, 9925, 2246, 9927, 2247, 9929, 2248, 9931, 9932, + 9930, 9928, 9933, 9934, 9935, 9936, 9937, 2253, 9939, 9940, 9941, 9942, 9943, + 9944, 9938, 9945, 9946, 9947, 9948, 9949, 9926, 9916, 9876, 9850, 9765, 9950, + 9951, 9952, 9953, 9954, 9955, 9956, 9957, 2266, 9959, 9960, 9961, 9962, 9963, + 9964, 9965, 9966, 9967, 2271, 9969, 9970, 9971, 9972, 9973, 2274, 9975, 9976, + 9977, 9978, 9979, 9980, 9974, 9981, 9982, 9983, 9984, 2280, 9986, 9987, 9988, + 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9985, 9968, 9996, 9997, 9998, 9999, + 10000, 2289, 10002, 10003, 10004, 10005, 10006, 10007, 10008, 10009, 10010, + 2294, 10012, 10013, 10014, 10015, 10016, 10017, 10018, 10019, 10020, 10021, + 10011, 10022, 10023, 10024, 10025, 2302, 10027, 10028, 10029, 10030, 10031, + 10032, 10033, 10034, 10035, 10036, 10037, 10038, 10039, 2309, 10041, 10042, + 10043, 10044, 10045, 10046, 10047, 10048, 10049, 10050, 10051, 10052, 10053, + 2316, 10055, 10056, 10057, 10058, 10059, 10060, 10061, 10062, 10063, 2321, + 10065, 2322, 10067, 2323, 10069, 2324, 10071, 10072, 10070, 10068, 10066, + 10073, 10074, 10075, 10076, 10077, 10078, 10079, 10080, 10081, 10082, 10083, + 10064, 10084, 10085, 10086, 10087, 10088, 10054, 10040, 10026, 10001, 9958, + 10089, 10090, 10091, 10092, 10093, 10094, 10095, 10096, 10097, 10098, 10098, + 10099, 10100, 10101, 10102, 10102, 10103, 10104, 10105, 10106, 10106, 10107, + 10108, 10109, 10110, 10110, 10111, 10112, 10113, 9643, 9640, 10114, 10114, + 10115, 7424, 7425, 7426, 7427, 7428, 7725, 7726, 7431, 10116, 10117, 10118, + 10119, 10120, 10120, 10121, 10122, 6102, 10124, 10125, 10126, 10127, 10128, + 10129, 10130, 10130, 10131, 10132, 10133, 10134, 10134, 10135, 10136, 10137, + 10138, 10138, 10139, 10140, 10141, 10142, 10143, 10144, 10145, 10146, 10147, + 10148, 10149, 10150, 10151, 10152, 10153, 10154, 10155, 10156, 10157, 10158, + 10159, 10160, 6141, 10162, 10163, 10164, 10165, 10166, 10167, 10168, 10168, + 10169, 10170, 10171, 10172, 10172, 10173, 10174, 10175, 10176, 10176, 10177, + 10178, 10179, 10180, 10180, 10181, 10182, 10183, 10184, 10184, 10185, 10186, + 10187, 10188, 10189, 10190, 10191, 10192, 10193, 10194, 10195, 10196, 10197, + 10198, 10199, 10200, 10201, 10202, 10203, 10204, 10205, 10206, 10207, 10208, + 10208, 10209, 10210, 10211, 10212, 10212, 10213, 10214, 10215, 10216, 10216, + 10217, 10218, 10219, 10220, 10220, 10221, 10222, 10223, 10224, 10224, 10225, + 10226, 10227, 10228, 10228, 10229, 10230, 10231, 10232, 10232, 10233, 10234, + 10235, 749, 750, 10236, 10237, 10238, 6220, 10240, 10241, 10242, 10243, 10244, + 10245, 10246, 10246, 10247, 10248, 10249, 10250, 10250, 10251, 10252, 10253, + 10254, 10254, 10255, 10256, 10257, 10258, 10258, 10259, 10260, 10261, 10262, + 10262, 10263, 10264, 10265, 10266, 10267, 10268, 10269, 10270, 10270, 10271, + 10272, 10273, 10274, 10274, 10275, 10276, 10277, 10278, 10278, 10279, 10280, + 10281, 10282, 10282, 10283, 10284, 10285, 10286, 10286, 10287, 10288, 10289, + 10290, 10290, 10291, 10292, 10293, 10294, 10294, 10295, 10296, 10297, 10298, + 10299, 10300, 43, 10301, 44, 10239, 340, 763, 764, 765, 782, 791, 1086, 10302, + 10303, 10304, 10305, 10306, 10307, 10308, 10309, 10310, 10311, 10312, 10313, + 10314, 10315, 10316, 10317, 10318, 10319, 10320, 10321, 6304, 10323, 6307, + 10325, 6310, 10327, 6313, 10329, 6316, 10331, 10332, 10330, 10328, 10326, + 10324, 10334, 10333, 10335, 10336, 10337, 10338, 10339, 10340, 314, 9498, + 10341, 10342, 10343, 10344, 10345, 10346, 10347, 10348, 10349, 10349, 10350, + 10351, 10352, 10322, 10161, 10353, 10353, 10354, 10355, 10356, 10357, 6345, + 10359, 10360, 10361, 10361, 10362, 10363, 10364, 10365, 10366, 10367, 10368, + 10369, 10370, 10371, 10372, 10373, 10374, 10375, 6364, 10377, 10378, 10379, + 10380, 10381, 10382, 10383, 10384, 10385, 10386, 10387, 10388, 10389, 10390, + 10391, 10392, 10393, 10394, 10395, 10395, 10396, 10397, 10398, 10399, 10399, + 10400, 10401, 10402, 10403, 10403, 10404, 10405, 10406, 10407, 10408, 10409, + 10410, 10411, 10412, 10413, 10414, 10415, 10416, 10417, 6407, 10419, 10420, + 10421, 10422, 10423, 10424, 10425, 10426, 10427, 10428, 10429, 10430, 10431, + 10432, 750, 10433, 10434, 10435, 6426, 10437, 10438, 10439, 10440, 10441, + 10442, 10443, 10444, 10445, 10446, 10447, 10448, 10449, 10450, 10451, 10452, + 10453, 6445, 10455, 10456, 10457, 10458, 10459, 10460, 10461, 10462, 10463, + 10464, 10465, 10466, 10467, 10468, 10469, 10470, 10471, 6464, 10473, 10474, + 10475, 10476, 10477, 10478, 10479, 10480, 10481, 10482, 10483, 10484, 10485, + 10486, 10487, 10488, 10489, 6483, 10491, 10492, 10493, 10494, 10495, 10496, + 10497, 10498, 10499, 10500, 10501, 10502, 10503, 10504, 10505, 10506, 10507, + 6502, 10509, 10510, 10511, 10512, 10513, 10514, 10515, 10516, 10517, 10518, + 10519, 10520, 10521, 10522, 10523, 10524, 10525, 6521, 10527, 10528, 10529, + 10530, 10531, 10532, 10533, 10534, 10535, 10536, 10537, 10538, 10539, 10540, + 10541, 10542, 10543, 10334, 10545, 10546, 10547, 10548, 10549, 10550, 10551, + 10552, 10553, 10554, 10555, 10556, 10557, 10558, 6555, 10560, 10561, 10562, + 10563, 10564, 10565, 10566, 10567, 10568, 10569, 10570, 10571, 10572, 10573, + 10574, 10575, 10576, 40, 10577, 48, 10559, 49, 10544, 50, 10526, 3, 10508, + 41, 10490, 42, 10472, 43, 10454, 44, 10436, 10578, 10579, 10580, 10581, 10582, + 10583, 10584, 10585, 10586, 10587, 10588, 10589, 10590, 10591, 10592, 10593, + 10594, 10595, 10596, 10597, 10598, 10599, 10600, 10601, 10602, 10603, 10604, + 10605, 10418, 10606, 10607, 10608, 10609, 10610, 10376, 10358, 10611, 10612, + 10613, 10614, 10615, 10616, 10617, 10617, 10618, 10619, 10620, 10123, 9289, + 10621, 10622, 10623, 10621, 10622, 10623, 10624, 10625, 6623, 10627, 10628, + 10629, 10630, 10631, 10632, 10633, 10634, 10635, 10636, 10637, 10638, 10639, + 10640, 10641, 10641, 10642, 10643, 10644, 10645, 10646, 10647, 10648, 10649, + 10649, 10650, 10651, 10652, 10653, 10653, 10654, 10655, 7888, 10657, 10658, + 10659, 10660, 10661, 10662, 6661, 10664, 10665, 10666, 10666, 10667, 10668, + 10669, 10670, 10670, 10671, 10672, 10673, 10663, 10674, 10675, 10674, 10675, + 10676, 10677, 6677, 10679, 10680, 10681, 10682, 10683, 10684, 10685, 10686, + 10687, 10688, 10689, 10690, 10691, 10692, 10693, 10694, 10695, 6696, 10697, + 10698, 10699, 10700, 10701, 10702, 10703, 10704, 10705, 10706, 10707, 10708, + 10709, 10710, 10711, 10712, 10713, 10714, 10715, 10716, 10717, 10718, 10719, + 10720, 10721, 10722, 10723, 10724, 10725, 10726, 10727, 10728, 10729, 10730, + 10731, 10732, 10733, 10734, 10735, 10735, 10736, 10737, 10738, 10696, 10740, + 10739, 10740, 10741, 10742, 10743, 10678, 10744, 10745, 10744, 10745, 10746, + 10747, 6749, 10749, 10750, 512, 762, 763, 764, 765, 10751, 10752, 10753, + 10754, 10755, 10755, 10756, 10757, 10758, 10759, 10759, 10760, 10761, 10762, + 10763, 10763, 10764, 10765, 10766, 512, 762, 763, 764, 765, 10767, 10767, + 10768, 10769, 7417, 10771, 10772, 6775, 10774, 10775, 10776, 10776, 10777, + 10778, 10779, 10780, 10780, 10781, 10782, 10783, 10784, 10784, 10785, 10786, + 10787, 10788, 10788, 10789, 10790, 10791, 10773, 10793, 10792, 10794, 10795, + 10796, 10797, 10797, 10798, 10799, 6803, 10801, 10802, 10803, 10803, 10804, + 10805, 10806, 10807, 10807, 10808, 10809, 10810, 10811, 10811, 10812, 10813, + 10814, 10815, 10816, 10817, 10818, 10819, 10820, 10821, 10822, 10823, 10824, + 10825, 10826, 10827, 10828, 10829, 10830, 10831, 10832, 10833, 10834, 10835, + 10835, 10836, 10837, 10838, 10839, 10839, 10840, 10841, 10842, 10843, 10843, + 10844, 10845, 10846, 10847, 10847, 10848, 10849, 10850, 10851, 10851, 10852, + 10853, 10854, 10855, 10855, 10856, 10857, 10858, 10859, 10859, 10860, 10861, + 10862, 10863, 10863, 10864, 10865, 10866, 10867, 10867, 10868, 10869, 10870, + 10871, 10871, 10872, 10873, 10874, 10875, 10875, 10876, 10877, 10878, 10879, + 10879, 10880, 10881, 10882, 10883, 10884, 10885, 10886, 10887, 10887, 10888, + 10889, 674, 7656, 7656, 10891, 10892, 8129, 10894, 10895, 10896, 10897, 10897, + 10898, 10899, 10900, 10901, 10901, 10902, 10903, 10904, 10905, 10905, 10906, + 10907, 10908, 10909, 10909, 10910, 10911, 8155, 10913, 10914, 10915, 10916, + 10916, 10917, 10918, 10919, 10920, 10920, 10921, 10922, 975, 10126, 10924, + 10925, 10926, 10927, 10927, 10928, 10929, 7482, 7482, 10931, 10932, 10933, + 10934, 10934, 10935, 10936, 10937, 10938, 10939, 10940, 8185, 8186, 8185, + 8186, 8190, 10942, 10943, 10944, 10945, 10946, 10947, 8198, 8199, 8198, 8199, + 8203, 10949, 10950, 10951, 10952, 10953, 10954, 10955, 10948, 1008, 10956, + 10957, 10958, 10959, 10960, 1008, 10956, 10957, 10961, 10962, 10963, 10964, + 10965, 10965, 10966, 10967, 10968, 2, 10941, 10930, 10969, 10970, 10971, + 10969, 10970, 10971, 10972, 10973, 10793, 8258, 10975, 10976, 10977, 10978, + 10979, 10980, 10981, 10982, 10982, 10983, 10984, 10985, 10986, 10986, 10987, + 10988, 10989, 10990, 10990, 10991, 10992, 10993, 10994, 10994, 10995, 10996, + 10997, 10998, 10998, 10999, 11000, 11001, 11002, 11002, 11003, 11004, 11005, + 10974, 10923, 10912, 10893, 10890, 10800, 10770, 10748, 10656, 10626, 9202, + 9195, 9155, 8330, 7262, 7228, 7041, 10641, 11006, 11007, 11008, 11009, 11010, + 11011, 11012, 11013, 11014, 11015, 11016, 11017, 11018, 11019, 11020, 11021, + 11022, 10641, 11006, 11007, 11008, 11009, 11010, 11011, 11012, 11013, 11014, + 11015, 11016, 11017, 11018, 11019, 11020, 11021, 11022, 7669, 11023, 8061, + 6638, 7009, 7010, 7011, 7012, 7013, 7014, 7015, 7016, 7017, 7018, 7019, 7020, + 7021, 7022, 7023, 7024, 7025, 6638, 7009, 7010, 7011, 7012, 7013, 7014, 7015, + 7016, 7017, 7018, 7019, 7020, 7021, 7022, 7023, 7024, 7025, 3506, 7026, 3914, + 11024, 11025, 2848, 2848, 11027, 11027, 11028, 11028, 11029, 11029, 11030, + 11030, 11031, 11031, 11032, 11032, 11033, 11034, 11034, 11035, 11035, 11036, + 11036, 11037, 11037, 11038, 11038, 11039, 11039, 11040, 11040, 11041, 11041, + 11042, 11043, 11043, 11044, 11044, 2934, 2931, 11046, 11047, 11048, 11049, + 11050, 11051, 11052, 11052, 11053, 11054, 11054, 2982, 2982, 11056, 11056, + 3004, 11058, 11059, 11060, 11060, 2997, 2997, 11062, 11062, 11061, 11061, + 11057, 11057, 11055, 11055, 11045, 11045, 3035, 3035, 11067, 11067, 11068, + 11068, 11069, 11069, 11070, 11071, 11072, 11072, 3077, 3070, 3089, 11076, + 11074, 11075, 11077, 11078, 11079, 11080, 11080, 11081, 11081, 3121, 3121, + 11083, 11083, 11084, 11084, 3162, 3239, 3242, 3245, 3228, 3225, 3222, 3219, + 2830, 3216, 3209, 3202, 2823, 3195, 3188, 3176, 3179, 3173, 11086, 3155, + 11077, 11078, 3146, 3143, 3140, 3146, 3143, 3140, 11033, 11033, 11097, 11097, + 11098, 11098, 11099, 11099, 11100, 11100, 11101, 11101, 11102, 11102, 11103, + 11103, 11104, 11104, 11105, 11105, 11062, 11062, 11106, 11106, 11070, 11109, + 11109, 3332, 3332, 11111, 11111, 11112, 11112, 11113, 11113, 11114, 11114, + 11115, 11115, 11116, 11116, 11117, 11117, 11118, 11118, 11119, 11119, 11120, + 11120, 11121, 11121, 3329, 3329, 3383, 3383, 11122, 11122, 11123, 11123, + 3400, 11125, 543, 543, 11126, 3419, 3419, 11128, 11128, 11129, 11129, 11130, + 11130, 11131, 11131, 11132, 11132, 11133, 11133, 11134, 11134, 11135, 11135, + 11136, 11136, 11137, 11137, 11138, 11138, 11139, 11139, 3478, 3478, 11141, + 11141, 11142, 11142, 11143, 11143, 11144, 11144, 11140, 11140, 2841, 11147, + 3514, 3162, 3553, 3553, 11150, 11150, 3242, 3546, 3222, 3225, 3228, 3538, + 3535, 3195, 3179, 3176, 3525, 11149, 11090, 11095, 11151, 11151, 11155, 11156, + 11152, 11153, 11154, 11148, 11148, 3578, 11159, 11160, 11161, 11162, 11163, + 11163, 11164, 11164, 3613, 11166, 11167, 3635, 3635, 11169, 11169, 11170, + 11170, 11171, 11171, 11172, 11172, 3662, 3662, 11174, 11174, 3677, 3677, + 11176, 11176, 11177, 11177, 11178, 11178, 11175, 11175, 11173, 11173, 11064, + 11064, 512, 762, 763, 764, 765, 11179, 11180, 11181, 11182, 11179, 11180, + 11181, 11182, 11183, 11183, 11184, 11184, 11185, 11185, 11186, 11186, 11168, + 11165, 11187, 11187, 11188, 11189, 11190, 11190, 11157, 11158, 11157, 11158, + 3734, 3745, 11194, 11195, 11196, 11197, 11198, 11199, 11200, 11200, 11193, + 11193, 3785, 3785, 11203, 11203, 11204, 11204, 11205, 11205, 11206, 11206, + 11207, 3816, 3816, 11209, 11209, 11210, 11210, 11211, 11211, 11212, 11212, + 11213, 11213, 11214, 11214, 11215, 11215, 11216, 11216, 11217, 11217, 11218, + 11218, 3867, 3867, 11220, 11220, 11221, 11221, 11222, 11222, 11223, 11223, + 11224, 11224, 11225, 11225, 11226, 11226, 11227, 11227, 11228, 11228, 2823, + 11230, 11231, 11231, 11232, 11232, 11233, 11233, 11234, 11234, 11235, 11235, + 11236, 11236, 11237, 11237, 11229, 11219, 3952, 11241, 11238, 11238, 11239, + 11240, 11208, 11242, 11242, 11243, 11244, 3973, 3973, 11246, 11246, 11247, + 11247, 11248, 11248, 11249, 11249, 4000, 11251, 11252, 11252, 4019, 4019, + 11254, 11254, 11255, 11255, 4038, 4038, 4041, 4041, 4053, 4053, 4056, 4056, + 11258, 11257, 1008, 11259, 11260, 11261, 11261, 11256, 11256, 4082, 4093, + 4093, 11265, 11265, 11266, 11266, 11267, 11267, 11268, 11268, 11269, 11264, + 11271, 11270, 11272, 11272, 11273, 11273, 11274, 11274, 11275, 11275, 11276, + 11276, 11277, 11277, 11262, 11263, 11262, 11263, 11253, 11253, 11250, 11250, + 11245, 11245, 11201, 11202, 11201, 11202, 11191, 11192, 11191, 11192, 11145, + 11145, 11146, 11146, 11127, 11127, 11124, 11124, 11110, 11110, 11107, 11107, + 11108, 11108, 4164, 4164, 11290, 11290, 11291, 11291, 11292, 11292, 11293, + 11293, 11278, 11279, 11280, 11281, 11282, 11283, 11284, 11285, 11286, 11287, + 11288, 11289, 11278, 11279, 11280, 11281, 11282, 11283, 11284, 11285, 11286, + 11287, 11288, 11289, 11088, 11089, 11090, 11091, 11092, 11095, 11087, 11093, + 11094, 11096, 11085, 11085, 11082, 11082, 4229, 4229, 11299, 11299, 11300, + 11300, 4195, 4195, 4256, 4253, 4250, 4247, 4244, 11301, 4226, 4223, 4220, + 4217, 4214, 4211, 4208, 4205, 4202, 11302, 4256, 4253, 4250, 4247, 4244, + 11301, 4226, 4223, 4220, 4217, 4214, 4211, 4208, 4205, 4202, 11302, 4282, + 4282, 11304, 11304, 11305, 11305, 11306, 11306, 11307, 11307, 11303, 4310, + 4310, 11310, 11310, 11311, 11311, 11312, 11313, 11314, 11315, 4345, 4345, + 11317, 11317, 11318, 11318, 11319, 11320, 11321, 11322, 11323, 11316, 4385, + 4385, 11326, 11326, 11327, 11327, 11328, 11329, 11330, 11331, 11332, 4424, + 4424, 11334, 11334, 11335, 11335, 11336, 11337, 11338, 11339, 4459, 4459, + 11341, 11341, 11342, 11342, 11343, 11344, 11345, 11346, 11347, 11340, 4499, + 4499, 11350, 11350, 11351, 11351, 11352, 11353, 11354, 11355, 11356, 4538, + 4538, 11358, 11358, 11359, 11359, 11360, 11361, 11362, 11363, 11364, 11365, + 11365, 11366, 11366, 11367, 11367, 11368, 11368, 11369, 11369, 11370, 11370, + 11371, 11371, 11372, 11372, 11373, 11373, 11374, 11374, 4617, 4617, 11376, + 11376, 11377, 11377, 11378, 11379, 11380, 11381, 4652, 4652, 11383, 11383, + 11384, 11384, 11385, 11386, 11387, 11388, 11389, 11382, 11375, 11375, 4693, + 4693, 11393, 11393, 11394, 11394, 11395, 4716, 4716, 11397, 11397, 11398, + 11398, 11399, 11400, 11401, 11402, 11402, 11403, 11403, 11404, 11404, 4765, + 4765, 11406, 11406, 11407, 11407, 11408, 11409, 11410, 11411, 11412, 11412, + 11349, 11349, 11324, 11324, 11405, 11405, 11396, 11396, 11390, 11391, 11392, + 11390, 11391, 11392, 11357, 11357, 11349, 11349, 11348, 11348, 11333, 11333, + 11324, 11324, 11325, 11325, 11308, 11309, 11308, 11309, 11413, 11414, 11415, + 11416, 11417, 11418, 11419, 11420, 11421, 11422, 11423, 11413, 11414, 11415, + 11416, 11417, 11418, 11419, 11420, 11421, 11422, 11423, 92, 11424, 11425, + 11425, 11426, 11426, 11427, 11427, 4834, 11429, 11430, 11431, 11431, 4857, + 11433, 11434, 11435, 11435, 4886, 4886, 11437, 3329, 4883, 4880, 11437, 3329, + 4883, 4880, 3383, 3383, 11438, 11117, 11440, 11440, 11441, 11441, 11442, + 11442, 11443, 11444, 11444, 11445, 11445, 11446, 11446, 11447, 11447, 11448, + 11448, 11449, 11449, 11450, 11451, 11451, 11452, 11452, 11453, 11453, 11454, + 11454, 11455, 11455, 11456, 11456, 11457, 11458, 11458, 11459, 11459, 11460, + 11460, 11461, 11461, 11462, 11463, 11463, 11464, 11464, 11465, 11465, 11466, + 11466, 11467, 11468, 11468, 11469, 11469, 11470, 11470, 11471, 11471, 11472, + 11472, 11473, 11473, 11439, 11439, 11436, 11436, 11432, 11432, 11428, 11428, + 11159, 11479, 11480, 11481, 11482, 49, 782, 11484, 11484, 11485, 11485, 11486, + 11486, 543, 543, 11483, 11126, 49, 782, 11489, 11489, 11490, 11490, 11491, + 11491, 11145, 48, 543, 750, 49, 749, 1008, 5104, 5101, 5166, 5159, 5144, + 5141, 5138, 5135, 5132, 5129, 5126, 5123, 5120, 43, 437, 2, 591, 835, 11496, + 11497, 11498, 594, 765, 951, 1564, 11494, 11495, 340, 512, 763, 764, 1086, + 11499, 11500, 11501, 11502, 11503, 11504, 11504, 268, 1738, 5267, 5292, 5285, + 5320, 11509, 5308, 5305, 5302, 5299, 11507, 11508, 5274, 11506, 5264, 5261, + 5258, 3089, 5247, 5244, 5241, 5238, 5235, 5222, 5219, 5216, 5213, 5210, 5207, + 5204, 5339, 5350, 474, 475, 476, 11516, 1810, 11515, 5369, 11519, 5401, 5398, + 5395, 5392, 229, 5385, 5456, 11523, 5449, 5441, 5438, 5431, 502, 5422, 5419, + 5416, 5475, 5495, 5492, 5489, 5486, 11530, 11529, 12, 1964, 245, 247, 248, + 249, 250, 251, 448, 515, 11533, 72, 1985, 73, 1982, 1023, 1024, 1025, 195, + 951, 2024, 2026, 2027, 2028, 11537, 263, 5562, 11535, 11536, 5593, 5590, + 5587, 11538, 5577, 5574, 5571, 11539, 3225, 5544, 5541, 11534, 5531, 5528, + 5525, 3209, 5517, 5514, 11531, 11532, 11524, 11525, 11526, 11527, 11528, + 3195, 11521, 11522, 457, 3188, 11520, 5366, 3179, 3525, 11517, 11518, 11510, + 11511, 11512, 11513, 11514, 2131, 2130, 2129, 2128, 2127, 2126, 2125, 2124, + 2115, 2114, 2113, 2112, 2111, 2110, 2109, 2104, 2103, 2102, 2099, 2095, 2094, + 2090, 2089, 2083, 2082, 2081, 2080, 2076, 2075, 2192, 2191, 2190, 2189, 2182, + 2181, 2180, 2179, 2178, 2170, 2169, 2168, 2167, 2166, 2165, 2156, 2155, 2154, + 2153, 2152, 2151, 2150, 2209, 2208, 2207, 2206, 2203, 2233, 2229, 2228, 2225, + 2220, 2219, 2218, 2241, 2253, 2248, 2247, 2246, 11568, 11569, 11567, 11563, + 11564, 11565, 11566, 11561, 11562, 11557, 11558, 11559, 11560, 11549, 11550, + 11551, 11552, 11553, 11554, 11555, 11556, 2266, 2274, 2271, 2280, 11579, + 11577, 11578, 11576, 2289, 2294, 11584, 11583, 2302, 11587, 2309, 11589, + 2316, 2324, 2323, 2322, 2321, 11592, 11591, 11593, 11594, 11590, 11588, 11585, + 11586, 11580, 11581, 11582, 11570, 11571, 11572, 11573, 11574, 11575, 11595, + 11596, 11597, 11598, 11599, 11600, 11601, 11601, 11602, 11602, 11603, 11603, + 11604, 11604, 3242, 3239, 1611, 11151, 11151, 11540, 11541, 11542, 11543, + 11544, 11545, 11546, 11547, 11548, 11605, 11605, 11606, 11088, 11089, 11090, + 11091, 11092, 11155, 11156, 11095, 11607, 6102, 11609, 11609, 11610, 11610, + 11611, 11611, 11612, 11613, 11614, 11615, 6141, 11617, 11617, 11618, 11618, + 11619, 11619, 11620, 11620, 11621, 11621, 11622, 11623, 11624, 11625, 11626, + 11627, 11627, 11628, 11628, 11629, 11629, 11630, 11630, 11631, 11631, 11632, + 11632, 11633, 11633, 6220, 11635, 11635, 11636, 11636, 11637, 11637, 11638, + 11638, 11639, 11639, 11640, 11641, 11641, 11642, 11642, 11643, 11643, 11644, + 11644, 11645, 11645, 11646, 11646, 11647, 11647, 43, 11648, 44, 749, 750, + 11634, 340, 763, 764, 765, 782, 791, 1086, 11649, 11650, 11651, 11652, 11653, + 6313, 6316, 6310, 6307, 6304, 314, 5449, 11655, 11656, 11657, 11657, 11654, + 11616, 6345, 6345, 11661, 11662, 6364, 11664, 11665, 11666, 11667, 11667, + 11668, 11668, 11669, 11669, 11670, 11671, 6407, 11673, 11674, 6426, 11676, + 11677, 6445, 11679, 11680, 6464, 11682, 11683, 6483, 11685, 11686, 6502, + 11688, 11689, 6521, 11691, 11692, 6313, 11694, 11695, 6555, 11697, 11698, + 40, 11699, 48, 11696, 49, 11693, 50, 11690, 3, 11687, 41, 11684, 42, 11681, + 43, 11678, 44, 750, 11675, 11700, 11701, 11702, 11703, 11704, 11705, 11706, + 11707, 11708, 11709, 11710, 11711, 11712, 11672, 11713, 11714, 11663, 11658, + 11658, 11659, 11660, 11715, 11716, 11717, 791, 791, 11719, 11719, 11720, + 11720, 674, 11722, 11722, 11723, 11723, 11724, 11724, 11725, 11725, 11726, + 11726, 11727, 11721, 11721, 11718, 11718, 11608, 11608, 11505, 11505, 6623, + 11733, 11734, 11735, 11735, 11736, 11737, 11737, 3734, 6661, 6661, 11740, + 11740, 11739, 6677, 11743, 11744, 6696, 11746, 11747, 11748, 11749, 11750, + 11751, 11752, 11753, 11754, 11754, 11745, 11756, 11755, 11756, 11741, 11742, + 11741, 11742, 512, 762, 763, 764, 765, 6749, 11759, 11759, 11760, 11760, + 11761, 11761, 6775, 6775, 11763, 11763, 11764, 11764, 11765, 11765, 3245, + 11767, 11766, 6803, 6803, 11769, 11769, 11770, 11770, 11771, 11772, 11773, + 11774, 11775, 11776, 11776, 11777, 11777, 11778, 11778, 11779, 11779, 11780, + 11780, 11781, 11781, 11782, 11782, 11783, 11783, 11784, 11784, 11785, 11785, + 11786, 11786, 11787, 11787, 11788, 1564, 11790, 11791, 11792, 11793, 11793, + 11793, 11794, 11795, 11795, 11795, 11247, 11797, 11797, 11798, 11798, 11799, + 11799, 11252, 11801, 11801, 975, 6102, 11107, 11107, 11804, 11804, 4041, + 4038, 4041, 4038, 11257, 4056, 4053, 4056, 4053, 11258, 11807, 11806, 1008, + 11808, 11809, 1008, 11808, 11809, 11810, 11811, 11811, 2, 11805, 11803, 11803, + 11767, 11271, 11815, 11816, 11816, 11817, 11817, 11818, 11818, 11819, 11819, + 11820, 11820, 268, 268, 11822, 11822, 11823, 11823, 11824, 11824, 11825, + 11825, 11826, 11826, 11827, 11827, 11828, 11828, 11829, 11830, 11830, 11831, + 11831, 11832, 11832, 11833, 11833, 11834, 11834, 11835, 11835, 11836, 11836, + 11837, 11837, 11838, 11839, 11839, 11840, 11840, 314, 13491, 11842, 11843, + 11844, 11845, 11846, 11847, 11848, 11849, 11850, 11850, 11850, 11851, 11852, + 11852, 11852, 268, 268, 11854, 11854, 11855, 11855, 11856, 11856, 11857, + 11857, 11858, 11858, 11859, 11859, 11860, 11860, 11861, 11862, 11862, 11863, + 11863, 11864, 11864, 11865, 11865, 11866, 11866, 11867, 11867, 11868, 11868, + 11869, 11869, 11870, 11871, 11871, 11872, 11872, 340, 340, 11874, 11874, + 11875, 11875, 340, 340, 11877, 11877, 11878, 11878, 314, 314, 314, 340, 11881, + 11882, 11883, 11884, 11884, 11884, 11880, 11880, 11880, 11886, 11886, 11886, + 11885, 11885, 11885, 11879, 11879, 11876, 11876, 11873, 11873, 11853, 11853, + 11853, 11841, 11841, 437, 437, 11893, 11893, 11894, 11894, 11895, 11895, + 246, 246, 251, 251, 448, 448, 457, 481, 482, 314, 229, 493, 494, 495, 507, + 526, 523, 245, 246, 247, 248, 249, 250, 251, 515, 238, 237, 236, 235, 234, + 263, 535, 11910, 11906, 11907, 11909, 11908, 11905, 11903, 11904, 11902, + 11901, 11900, 11897, 11898, 11899, 11897, 11898, 11899, 11829, 11829, 11919, + 11919, 11920, 11920, 11921, 11921, 11922, 11922, 11923, 11923, 11924, 11924, + 11925, 11925, 11926, 11926, 11927, 11927, 314, 314, 11929, 11929, 11930, + 11930, 11928, 11928, 369, 369, 11933, 11933, 11934, 11934, 11935, 11935, + 11936, 11936, 11937, 11938, 11938, 594, 594, 11940, 11940, 11941, 11941, + 11942, 11942, 11943, 11943, 11944, 11944, 11945, 11945, 11946, 11946, 11947, + 11947, 11948, 11948, 11949, 11949, 11950, 11950, 621, 621, 11951, 11951, + 591, 591, 11952, 11953, 11954, 11952, 11953, 11954, 11955, 11955, 632, 11957, + 11958, 543, 543, 11959, 643, 643, 11961, 11961, 11962, 11962, 11963, 11963, + 11964, 11964, 11965, 11965, 11966, 11966, 11967, 11967, 11968, 11968, 11969, + 11969, 11970, 11970, 11971, 11971, 11972, 11972, 11973, 11973, 11974, 11974, + 263, 11976, 11977, 715, 715, 11979, 11979, 388, 393, 11982, 11981, 401, 402, + 403, 404, 405, 406, 407, 408, 409, 410, 11985, 11986, 11983, 11984, 694, + 462, 11989, 11990, 474, 475, 476, 469, 470, 701, 502, 518, 519, 245, 246, + 248, 249, 250, 251, 448, 515, 235, 237, 238, 540, 535, 536, 11998, 11999, + 11906, 11907, 11995, 11996, 11997, 11994, 11904, 11901, 11992, 11993, 11991, + 11900, 11987, 11988, 11980, 11980, 12000, 12001, 12002, 12003, 12004, 12005, + 12006, 12007, 12007, 11978, 11978, 767, 767, 12010, 12010, 12011, 12011, + 12012, 12012, 12013, 12013, 12014, 12014, 782, 782, 12016, 12016, 12017, + 12017, 11729, 11729, 12018, 12018, 12015, 12015, 11888, 11888, 512, 762, + 763, 764, 765, 12019, 12020, 12021, 12022, 12019, 12020, 12021, 12022, 12023, + 12023, 12024, 12024, 12025, 12025, 437, 12027, 12028, 12029, 12030, 12031, + 12032, 12032, 12033, 12033, 749, 750, 12035, 12036, 12037, 12038, 12034, + 12026, 12026, 12039, 12040, 12041, 12041, 12042, 12042, 12008, 12009, 12008, + 12009, 828, 828, 12045, 835, 12047, 12048, 12049, 12050, 12051, 12052, 12053, + 12054, 12054, 12046, 12046, 236, 12057, 507, 507, 12059, 12059, 12060, 12060, + 12061, 12061, 12062, 12062, 12063, 12063, 12064, 11903, 12066, 12067, 12067, + 12068, 12068, 12069, 12069, 12070, 12070, 12071, 12071, 12072, 12072, 234, + 234, 12074, 12074, 12075, 12075, 12076, 12076, 12077, 12077, 12078, 12078, + 12079, 12079, 12080, 12080, 12081, 12081, 12082, 12082, 12083, 12083, 12084, + 12084, 247, 247, 12086, 12086, 12087, 12087, 12088, 12088, 12089, 12089, + 12090, 12090, 12091, 12091, 12092, 12092, 12093, 12093, 12094, 12094, 12095, + 12095, 12096, 12085, 12073, 12073, 12097, 12098, 12099, 12099, 12065, 12058, + 12102, 12102, 12100, 12101, 951, 951, 12104, 12104, 12105, 12105, 12106, + 12106, 12107, 12107, 12108, 12108, 621, 12110, 12111, 12112, 12112, 975, + 975, 12114, 12114, 12115, 12115, 12116, 12116, 989, 989, 986, 986, 12118, + 12119, 12118, 12119, 1000, 1000, 997, 997, 12121, 12122, 12121, 12122, 12123, + 12120, 1008, 12124, 12125, 12126, 12126, 12117, 12117, 1026, 1025, 1024, + 1023, 1022, 1021, 1020, 1019, 1018, 12129, 1041, 1042, 12131, 12131, 12132, + 12132, 12133, 12133, 12134, 12134, 12135, 12135, 12136, 12130, 12138, 12137, + 12139, 12139, 12140, 12140, 12141, 12141, 12142, 12142, 12143, 12143, 12144, + 12144, 12127, 12128, 12127, 12128, 12113, 12113, 12109, 12109, 12103, 12103, + 12055, 12056, 12055, 12056, 12043, 12044, 12043, 12044, 11727, 11975, 11727, + 11975, 11960, 11960, 11956, 11956, 11939, 11939, 11931, 11932, 11931, 11932, + 1086, 1086, 12157, 12157, 12158, 12158, 12159, 12159, 12160, 12160, 12161, + 12161, 12145, 12146, 12147, 12148, 12149, 12150, 12151, 12152, 12153, 12154, + 12155, 12156, 12145, 12146, 12147, 12148, 12149, 12150, 12151, 12152, 12153, + 12154, 12155, 12156, 11913, 11914, 11915, 11911, 11912, 11916, 11917, 11918, + 11896, 11896, 493, 540, 518, 518, 12167, 12167, 12168, 12168, 518, 518, 457, + 457, 457, 457, 536, 536, 470, 470, 12169, 12169, 457, 457, 474, 474, 519, + 519, 495, 495, 476, 476, 494, 494, 470, 470, 482, 482, 475, 475, 457, 457, + 502, 502, 502, 502, 12166, 12166, 12170, 12171, 12172, 12173, 12174, 12175, + 12176, 12177, 12178, 12179, 12180, 12181, 12182, 12183, 12184, 12170, 12171, + 12172, 12173, 12174, 12175, 12176, 12177, 12178, 12179, 12180, 12181, 12182, + 12183, 12184, 12185, 402, 402, 12187, 12187, 12188, 12188, 12189, 12189, + 12190, 12191, 12192, 12193, 403, 403, 12195, 12195, 12196, 12196, 12197, + 12197, 12198, 12199, 12200, 12201, 12202, 12194, 406, 406, 12205, 12205, + 12206, 12206, 12207, 12207, 12208, 12209, 12210, 12211, 12212, 404, 404, + 12214, 12214, 12215, 12215, 12216, 12216, 12217, 12218, 12219, 12220, 408, + 408, 12222, 12222, 12223, 12223, 12224, 12224, 12225, 12226, 12227, 12228, + 12229, 12221, 407, 407, 12232, 12232, 12233, 12233, 12234, 12234, 12235, + 12236, 12237, 12238, 12239, 409, 409, 12241, 12241, 12242, 12242, 12243, + 12243, 12244, 12245, 12246, 12247, 12248, 12249, 12249, 12250, 12250, 12251, + 12251, 12252, 12252, 12253, 12253, 12254, 12254, 12255, 12255, 12256, 12256, + 12257, 12257, 12258, 12258, 410, 410, 12260, 12260, 12261, 12261, 12262, + 12262, 12263, 12264, 12265, 12266, 405, 405, 12268, 12268, 12269, 12269, + 12270, 12270, 12271, 12272, 12273, 12274, 12275, 12267, 12259, 12259, 481, + 481, 12279, 12279, 481, 481, 12281, 12281, 12282, 12282, 12280, 12280, 12283, + 12283, 12284, 12285, 393, 393, 12287, 12287, 12288, 12288, 12289, 12289, + 12290, 12291, 12292, 12293, 12293, 12294, 12294, 393, 393, 12296, 12296, + 12297, 12297, 12298, 12298, 12299, 12300, 12301, 12302, 12302, 12303, 12303, + 12304, 12304, 12295, 12295, 518, 518, 12307, 12307, 12308, 12308, 518, 518, + 457, 457, 457, 457, 536, 536, 470, 470, 12309, 12309, 474, 474, 519, 519, + 495, 495, 476, 476, 494, 494, 470, 470, 482, 482, 475, 475, 457, 457, 502, + 502, 502, 502, 12166, 12166, 457, 457, 701, 701, 701, 701, 701, 701, 12310, + 12311, 12312, 12313, 12314, 12315, 12324, 12316, 12317, 12318, 12319, 12320, + 12325, 12321, 12322, 12323, 12310, 12311, 12312, 12313, 12314, 12315, 12324, + 12316, 12317, 12318, 12319, 12320, 12325, 12321, 12322, 12323, 12324, 12325, + 523, 523, 12327, 12327, 12328, 12328, 12329, 12329, 12330, 12330, 523, 523, + 12332, 12332, 12333, 12333, 12334, 12334, 12335, 12335, 12336, 12336, 12331, + 12331, 12326, 402, 402, 12340, 12340, 12341, 12341, 12342, 12342, 12343, + 12344, 12345, 12346, 403, 403, 12348, 12348, 12349, 12349, 12350, 12350, + 12351, 12352, 12353, 12354, 12355, 12347, 406, 406, 12358, 12358, 12359, + 12359, 12360, 12360, 12361, 12362, 12363, 12364, 12365, 404, 404, 12367, + 12367, 12368, 12368, 12369, 12369, 12370, 12371, 12372, 12373, 408, 408, + 12375, 12375, 12376, 12376, 12377, 12377, 12378, 12379, 12380, 12381, 12382, + 12374, 407, 407, 12385, 12385, 12386, 12386, 12387, 12387, 12388, 12389, + 12390, 12391, 12392, 409, 409, 12394, 12394, 12395, 12395, 12396, 12396, + 12397, 12398, 12399, 12400, 12401, 12402, 12402, 12403, 12403, 12404, 12404, + 12405, 12405, 12406, 12406, 12407, 12407, 12408, 12408, 12409, 12409, 12410, + 12410, 12411, 12411, 410, 410, 12413, 12413, 12414, 12414, 12415, 12415, + 12416, 12417, 12418, 12419, 405, 405, 12421, 12421, 12422, 12422, 12423, + 12423, 12424, 12425, 12426, 12427, 12428, 12420, 12412, 12412, 401, 401, + 12432, 12432, 12433, 12433, 12434, 12434, 12435, 12436, 12437, 12438, 401, + 401, 12440, 12440, 12441, 12441, 12442, 12442, 12443, 12444, 12445, 12446, + 12447, 12447, 12231, 12231, 12439, 12439, 12384, 12384, 12356, 12356, 12429, + 12430, 12431, 12429, 12430, 12431, 12393, 12393, 12384, 12384, 12383, 12383, + 12366, 12366, 12356, 12356, 12357, 12357, 12338, 12339, 12337, 12338, 12339, + 12339, 12203, 12203, 12305, 12305, 12306, 12286, 12286, 12286, 12276, 12277, + 12278, 12276, 12277, 12278, 12240, 12240, 12231, 12231, 12230, 12230, 12213, + 12213, 12203, 12203, 12204, 12204, 12186, 12186, 12450, 12451, 12452, 12460, + 12461, 12453, 12454, 12455, 12456, 12457, 12458, 12448, 12449, 12450, 12451, + 12452, 12460, 12461, 12453, 12454, 12455, 12456, 12457, 12458, 12459, 12460, + 12461, 12462, 12463, 12464, 12465, 12466, 12467, 92, 12468, 12469, 12469, + 12469, 12470, 12470, 12470, 12471, 12471, 12471, 340, 782, 12473, 12474, + 12475, 12476, 12476, 12476, 782, 12478, 12479, 12480, 12481, 12481, 12481, + 621, 12483, 12483, 12483, 591, 591, 591, 594, 594, 594, 632, 632, 632, 621, + 621, 621, 12484, 12485, 12486, 12487, 12484, 12484, 12485, 12486, 12487, + 12485, 12486, 12487, 12488, 12488, 12488, 12489, 594, 594, 12491, 12491, + 12492, 12492, 12493, 12493, 12494, 12494, 12495, 12495, 12496, 12496, 12497, + 12497, 12498, 12499, 12499, 12500, 12500, 12501, 12501, 12502, 12503, 12503, + 12504, 12504, 12505, 12505, 12506, 12506, 12507, 12507, 12508, 12508, 12509, + 12510, 12510, 12511, 12511, 12512, 12512, 12513, 12513, 12514, 12514, 12515, + 12515, 12516, 12517, 12517, 12518, 12518, 12519, 12519, 12520, 12520, 12521, + 12522, 12522, 12523, 12523, 12524, 12524, 12525, 12525, 12526, 12527, 12527, + 12528, 12528, 12529, 12529, 12530, 12530, 12531, 12531, 11947, 12533, 12533, + 12534, 12534, 12535, 12535, 12536, 12537, 12537, 12538, 12538, 12539, 12539, + 12540, 12540, 12541, 12541, 12542, 12542, 12543, 12544, 12544, 12545, 12545, + 12546, 12546, 12547, 12547, 12548, 12548, 12549, 12549, 12550, 12551, 12551, + 12552, 12552, 12553, 12553, 12554, 12554, 12555, 12556, 12556, 12557, 12557, + 12558, 12558, 12559, 12559, 12560, 12561, 12561, 12562, 12562, 12563, 12563, + 12564, 12564, 12565, 12565, 12566, 12566, 12532, 12532, 12490, 12490, 12490, + 12482, 12482, 12482, 12477, 12477, 12477, 12472, 12472, 12472, 986, 989, + 997, 1000, 975, 48, 543, 750, 49, 749, 1008, 12573, 12574, 409, 408, 407, + 406, 405, 404, 403, 402, 401, 393, 250, 388, 828, 507, 263, 462, 540, 536, + 248, 249, 251, 535, 526, 523, 519, 518, 448, 515, 235, 237, 238, 245, 246, + 502, 495, 494, 493, 482, 481, 476, 475, 474, 470, 701, 469, 457, 632, 229, + 236, 247, 715, 234, 674, 1041, 1042, 268, 694, 369, 410, 621, 1018, 1019, + 1020, 1021, 1022, 1023, 1024, 1025, 1026, 12587, 12586, 12577, 12578, 12579, + 12580, 12581, 12582, 12583, 12584, 12585, 43, 437, 2, 835, 591, 12588, 12589, + 12590, 765, 951, 1564, 594, 12575, 12576, 340, 512, 763, 764, 1086, 12591, + 12592, 12593, 12594, 12595, 12596, 12596, 1659, 1658, 340, 1655, 674, 694, + 1647, 1646, 1645, 1644, 1643, 462, 1639, 1638, 1626, 1625, 1624, 1623, 1622, + 1621, 1620, 1619, 1618, 1617, 1613, 1612, 1708, 1707, 1699, 1698, 1697, 1696, + 1695, 1694, 1688, 1687, 1686, 1685, 1680, 1679, 1678, 1673, 1672, 1671, 1735, + 1745, 1744, 1743, 1742, 268, 1738, 12610, 1041, 1042, 1726, 1725, 1724, 1723, + 1722, 1721, 1720, 997, 1000, 986, 989, 1008, 1758, 1757, 975, 1781, 1780, + 543, 632, 1775, 1774, 1773, 369, 1770, 835, 1767, 12617, 12616, 1792, 12624, + 12625, 12618, 12619, 12620, 12621, 12622, 12623, 12611, 12612, 12613, 12614, + 12615, 11985, 12605, 12606, 12607, 12608, 12609, 12598, 12599, 12600, 12601, + 12602, 12603, 12604, 1805, 12631, 1814, 12633, 474, 475, 476, 12634, 1810, + 12632, 594, 12637, 12638, 1825, 1824, 1837, 1857, 1853, 1852, 1847, 1846, + 1845, 1842, 12642, 12643, 12644, 12645, 229, 12641, 1878, 1877, 1876, 1875, + 1874, 1871, 1868, 1889, 1022, 1026, 1018, 1019, 1020, 1021, 437, 1902, 12655, + 12656, 12654, 12652, 12653, 12651, 502, 12648, 12649, 12650, 1915, 12662, + 1931, 1928, 1925, 1922, 12664, 12665, 12666, 12667, 12668, 12663, 1947, 1944, + 12, 1964, 526, 1564, 1972, 518, 519, 621, 828, 1969, 245, 247, 248, 249, + 250, 251, 448, 515, 12673, 234, 235, 236, 237, 238, 388, 715, 1957, 1956, + 1955, 1954, 512, 782, 1988, 72, 1985, 73, 1982, 1023, 1024, 1025, 195, 591, + 2049, 2048, 2040, 2039, 2038, 2037, 2036, 2035, 951, 2028, 2027, 2026, 12683, + 2024, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 393, 749, 750, + 765, 1999, 1998, 1997, 1996, 540, 762, 763, 764, 791, 1086, 263, 12680, 12681, + 12682, 12684, 12685, 12686, 12687, 12688, 12689, 12690, 12691, 11907, 12674, + 12675, 12676, 12677, 12678, 12679, 11905, 12671, 12672, 12669, 12670, 12657, + 12658, 12659, 12660, 12661, 11904, 12646, 12647, 457, 11902, 12639, 12640, + 11901, 11993, 12635, 12636, 12626, 12627, 12628, 12629, 12630, 1611, 12692, + 12693, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 765, 835, + 1086, 791, 340, 782, 764, 512, 762, 763, 12704, 12703, 12705, 12706, 12707, + 314, 12654, 12708, 12709, 12710, 12710, 12711, 12711, 12712, 12713, 12713, + 12702, 12702, 12597, 12597, 835, 835, 12717, 12717, 12718, 12718, 12719, + 12719, 512, 762, 763, 764, 765, 12721, 12721, 12722, 12722, 12723, 12723, + 11937, 12725, 369, 369, 12727, 12727, 12728, 12728, 12729, 12729, 12730, + 12730, 12731, 12732, 12733, 12733, 12726, 12726, 11987, 11988, 12736, 12737, + 12737, 12737, 12738, 12738, 12738, 246, 246, 251, 251, 448, 448, 11990, 469, + 470, 245, 246, 247, 248, 249, 250, 251, 448, 515, 512, 543, 263, 535, 536, + 11998, 12747, 12748, 11909, 11906, 11907, 11995, 12745, 12746, 11901, 11992, + 12744, 12743, 12740, 12741, 12742, 12740, 12741, 12742, 437, 437, 12754, + 12754, 12755, 12755, 12756, 12756, 11861, 11861, 12758, 12758, 12759, 12759, + 12760, 12760, 12761, 12761, 12762, 12762, 12763, 12763, 12764, 12764, 12765, + 12765, 12766, 12766, 314, 314, 12768, 12768, 12769, 12769, 12767, 12767, + 12731, 12772, 12772, 12498, 12498, 12774, 12774, 12775, 12775, 12776, 12776, + 621, 621, 12777, 12777, 591, 591, 12778, 12779, 12780, 12778, 12779, 12780, + 12781, 12781, 543, 543, 11959, 643, 643, 12784, 12784, 12785, 12785, 12786, + 12786, 12787, 12787, 12788, 12788, 12789, 12789, 12790, 12790, 12791, 12791, + 12792, 12792, 12793, 12793, 12794, 12794, 12795, 12795, 12796, 12796, 11722, + 11722, 12798, 12798, 12799, 12799, 12800, 12800, 12801, 12801, 12797, 12797, + 715, 715, 12804, 12804, 12805, 12805, 12002, 12004, 12005, 12006, 12000, + 12001, 12003, 12806, 12806, 11978, 11978, 767, 767, 12809, 12809, 12810, + 12810, 12811, 12811, 12812, 12812, 12813, 12813, 782, 782, 12815, 12815, + 12816, 12816, 791, 791, 12818, 12818, 12819, 12819, 12820, 12820, 12821, + 12821, 12817, 12817, 12814, 12814, 11889, 11889, 512, 762, 763, 764, 765, + 12822, 12823, 12824, 12825, 12822, 12823, 12824, 12825, 12826, 12826, 12827, + 12827, 12828, 12828, 12032, 12032, 12830, 12830, 12831, 12829, 12829, 12039, + 12832, 12833, 12833, 12834, 12834, 12807, 12808, 12807, 12808, 828, 828, + 12837, 12054, 12054, 12838, 12838, 507, 507, 12841, 12841, 12842, 12842, + 12843, 12843, 12844, 12844, 12845, 12845, 12846, 12067, 12067, 12848, 12848, + 12849, 12849, 12850, 12850, 12851, 12851, 12852, 12852, 234, 234, 12854, + 12854, 12855, 12855, 12856, 12856, 12857, 12857, 12858, 12858, 12859, 12859, + 12860, 12860, 12861, 12861, 12862, 12862, 12863, 12863, 12864, 12864, 247, + 247, 12866, 12866, 12867, 12867, 12868, 12868, 12869, 12869, 12870, 12870, + 12871, 12871, 12872, 12872, 12873, 12873, 12874, 12874, 12875, 12875, 12876, + 12865, 12853, 12853, 12877, 12878, 12879, 12879, 12847, 12880, 12881, 12102, + 12102, 951, 951, 12883, 12883, 12884, 12884, 12885, 12885, 12886, 12886, + 12887, 12887, 12112, 12112, 975, 975, 12890, 12890, 12891, 12891, 12892, + 12892, 989, 989, 986, 986, 12894, 12895, 12894, 12895, 1000, 1000, 997, 997, + 12897, 12898, 12897, 12898, 12899, 12896, 1008, 12900, 12901, 12902, 12902, + 12893, 12893, 12131, 12131, 12905, 12905, 12906, 12906, 12907, 12907, 12908, + 12908, 12909, 12138, 12910, 12911, 12911, 12912, 12912, 12913, 12913, 12914, + 12914, 12915, 12915, 12916, 12916, 12903, 12904, 12903, 12904, 12889, 12889, + 12888, 12888, 12882, 12882, 12839, 12840, 12839, 12840, 12835, 12836, 12835, + 12836, 12802, 12802, 12803, 12803, 12783, 12783, 12782, 12782, 12773, 12773, + 12770, 12771, 12770, 12771, 1086, 1086, 12929, 12929, 12930, 12930, 12931, + 12931, 12932, 12932, 12933, 12933, 12917, 12918, 12919, 12920, 12921, 12922, + 12923, 12924, 12925, 12926, 12927, 12928, 12917, 12918, 12919, 12920, 12921, + 12922, 12923, 12924, 12925, 12926, 12927, 12928, 12757, 12757, 11913, 11914, + 11915, 12002, 12006, 12750, 12749, 12751, 12752, 12753, 12739, 12739, 12739, + 12028, 12939, 12940, 12941, 12942, 11489, 11489, 12944, 12944, 12945, 12945, + 543, 543, 543, 11959, 12943, 12802, 12805, 12805, 11980, 92, 223, 84, 85, + 86, 87, 88, 89, 90, 91, 222, 2, 220, 221, 19, 81, 82, 83, 80, 69, 218, 219, + 4, 74, 212, 75, 36, 47, 76, 77, 213, 7, 8, 9, 10, 11, 12, 13, 78, 79, 14, + 15, 16, 17, 18, 39, 94, 214, 215, 216, 217, 44, 49, 55, 186, 187, 188, 189, + 190, 191, 192, 193, 37, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, + 204, 205, 206, 207, 40, 45, 52, 68, 208, 209, 210, 211, 3, 41, 42, 43, 48, + 71, 6, 72, 73, 12971, 12972, 12973, 12974, 12975, 12976, 12977, 12978, 12964, + 12965, 12966, 12967, 12968, 12969, 12970, 12961, 12962, 12963, 12960, 12958, + 12959, 12956, 12957, 12952, 12953, 12954, 12955, 12950, 12951, 164, 165, + 50, 166, 38, 56, 167, 168, 169, 170, 171, 70, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 146, 147, 148, 149, 150, 151, 152, + 153, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 154, 155, 156, 157, 158, 159, + 160, 161, 162, 163, 134, 135, 136, 137, 95, 138, 51, 53, 139, 140, 141, 142, + 143, 144, 145, 31, 32, 30, 33, 34, 127, 128, 20, 93, 129, 130, 131, 57, 132, + 46, 133, 13005, 13006, 13007, 13008, 13000, 13001, 13002, 13003, 13004, 12994, + 12995, 12996, 12997, 12998, 12999, 12987, 12988, 12989, 12990, 12991, 12992, + 12993, 126, 119, 120, 121, 122, 123, 124, 125, 13014, 13015, 13016, 13017, + 13013, 112, 113, 114, 115, 116, 117, 118, 111, 21, 25, 26, 27, 28, 29, 54, + 13026, 13024, 13025, 13023, 13020, 13021, 13022, 110, 13031, 107, 108, 109, + 22, 23, 24, 13036, 13033, 13034, 13035, 13037, 13038, 13032, 13027, 13028, + 13029, 13030, 13018, 13019, 13009, 13010, 13011, 13012, 12979, 12980, 12981, + 12982, 12983, 12984, 12985, 12986, 106, 13045, 104, 105, 35, 13048, 13047, + 103, 13051, 13052, 13049, 13050, 13046, 102, 13056, 101, 13058, 13059, 13057, + 5, 13062, 13063, 100, 13065, 13066, 99, 13068, 1, 96, 97, 98, 13070, 13071, + 13072, 13073, 13074, 13069, 13075, 13076, 13067, 13064, 13060, 13061, 13053, + 13054, 13055, 13039, 13040, 13041, 13042, 13043, 13044, 13077, 13078, 13079, + 13080, 13081, 13082, 13083, 13083, 13083, 13084, 13084, 13084, 13085, 13085, + 13085, 11998, 12748, 13086, 13086, 13086, 12692, 12693, 12694, 12695, 12696, + 12697, 12698, 12699, 12700, 1611, 12949, 12949, 12949, 13087, 12750, 11913, + 12002, 11914, 11915, 12004, 12005, 12006, 13088, 13088, 13088, 13089, 12596, + 12596, 975, 13092, 13093, 13093, 13093, 13094, 13094, 13094, 13095, 13095, + 13095, 13096, 13097, 13098, 13099, 1041, 13101, 13102, 13102, 13103, 13103, + 13104, 13104, 13105, 13105, 13106, 13106, 13107, 13108, 13109, 13110, 13111, + 13112, 13112, 13113, 13113, 13114, 13114, 13115, 13115, 13102, 13102, 13117, + 13117, 13118, 13118, 13119, 13119, 13120, 13120, 13121, 13122, 13123, 13124, + 13125, 13126, 13126, 13127, 13127, 13128, 13128, 13129, 13129, 13130, 13130, + 13116, 13116, 13131, 13131, 13132, 13133, 13133, 13133, 1042, 13135, 13136, + 13136, 13137, 13137, 13138, 13138, 13139, 13139, 13140, 13140, 13141, 13142, + 13142, 13143, 13143, 13144, 13144, 13145, 13145, 13136, 13136, 13147, 13147, + 13148, 13148, 13149, 13149, 13150, 13150, 13151, 13152, 13152, 13153, 13153, + 13154, 13154, 13155, 13155, 13156, 13156, 13146, 13146, 13157, 13157, 13158, + 13159, 13159, 13159, 43, 13160, 44, 750, 749, 13134, 340, 763, 764, 765, + 782, 791, 1086, 13161, 13162, 13163, 13164, 13165, 13166, 13100, 12710, 12710, + 311, 13170, 13171, 13172, 13173, 13174, 13174, 13174, 13174, 13176, 13176, + 13175, 13175, 13177, 13177, 13178, 13179, 13180, 512, 13182, 13183, 13184, + 762, 13186, 13187, 13188, 763, 13190, 13191, 13192, 764, 13194, 13195, 13196, + 1086, 13198, 13199, 13200, 340, 13202, 13203, 13204, 782, 13206, 13207, 13208, + 12704, 13210, 13211, 765, 13213, 13214, 13215, 40, 13216, 48, 13212, 49, + 13209, 50, 13205, 3, 13201, 41, 13197, 42, 13193, 43, 13189, 44, 750, 13185, + 13217, 13218, 13219, 13220, 13221, 13222, 13223, 13224, 13225, 13226, 13227, + 13228, 13229, 13181, 314, 314, 314, 13232, 13232, 13232, 13233, 13234, 13235, + 13230, 13231, 13167, 13168, 13169, 13169, 13236, 13237, 13238, 13239, 13239, + 13239, 13091, 13091, 13090, 13090, 13090, 828, 828, 828, 13243, 835, 835, + 13245, 13245, 13246, 13246, 13244, 835, 13249, 13250, 13251, 835, 835, 13253, + 13254, 13255, 13256, 13257, 13258, 13259, 13260, 13261, 13262, 13262, 13262, + 13252, 13264, 13264, 13263, 13264, 13247, 13248, 13247, 13248, 13248, 750, + 13267, 13268, 13268, 13269, 13269, 512, 762, 763, 764, 765, 13267, 13271, + 13271, 13272, 13272, 13273, 13273, 13270, 13270, 951, 951, 13276, 13276, + 951, 951, 13278, 13278, 13279, 13279, 13277, 13277, 13280, 13280, 13281, + 12747, 13282, 13282, 13282, 13283, 13284, 388, 388, 13286, 13286, 13287, + 13287, 13288, 13288, 13289, 13290, 13291, 13292, 13293, 13294, 13294, 13295, + 13295, 13296, 13296, 13297, 13297, 13298, 13298, 13299, 13299, 13300, 13300, + 13301, 13301, 13302, 13302, 388, 388, 13304, 13304, 13305, 13305, 13306, + 13306, 13307, 13308, 13309, 13310, 13311, 13312, 13312, 13313, 13313, 13314, + 13314, 13315, 13315, 13316, 13316, 13317, 13317, 13318, 13318, 13319, 13319, + 13320, 13320, 13321, 13321, 13303, 13303, 13323, 13322, 13323, 13324, 13324, + 13324, 13325, 12106, 13327, 13327, 13328, 13328, 12885, 13330, 13330, 13331, + 13331, 13332, 13332, 13329, 13329, 12112, 13335, 13335, 13335, 975, 13092, + 11886, 11886, 11886, 13338, 13338, 13338, 13339, 13339, 13339, 989, 989, + 989, 986, 986, 986, 13341, 13341, 13341, 13342, 13342, 13342, 13341, 13342, + 13341, 13342, 13341, 13342, 13343, 1000, 1000, 1000, 997, 997, 997, 13345, + 13345, 13345, 13346, 13346, 13346, 13345, 13346, 13345, 13346, 13345, 13346, + 13347, 13348, 13344, 1008, 13349, 13350, 1008, 13349, 13350, 13351, 13352, + 13352, 13352, 2, 13340, 13337, 13337, 13337, 13283, 12138, 13356, 13357, + 13357, 13358, 13358, 13359, 13359, 13360, 13360, 13361, 13361, 13357, 13357, + 13363, 13363, 13364, 13364, 13365, 13365, 13366, 13366, 251, 250, 249, 248, + 247, 246, 245, 5, 13369, 13370, 13371, 13372, 13373, 13374, 13375, 13376, + 13377, 13378, 13379, 13380, 13381, 13382, 13383, 13384, 13385, 13386, 13387, + 13388, 13389, 13390, 13391, 13392, 13393, 13394, 13395, 13396, 13397, 13398, + 13399, 13400, 13401, 13402, 13403, 13404, 13405, 13406, 13407, 13408, 13409, + 13410, 13411, 13412, 13413, 13414, 13415, 13416, 13417, 13418, 224, 225, + 13421, 13422, 226, 13424, 13425, 228, 13427, 13428, 13429, 13430, 13431, + 13432, 13433, 13434, 13435, 13436, 13437, 13438, 13439, 13440, 13441, 13442, + 13443, 13444, 13368, 11909, 13367, 13367, 13362, 13362, 13353, 13354, 13355, + 13353, 13354, 13353, 13354, 13355, 13355, 13336, 13336, 13336, 13333, 13333, + 13334, 674, 11725, 11725, 674, 12800, 12800, 13326, 13326, 13326, 13285, + 13285, 13285, 765, 764, 763, 762, 512, 13274, 13274, 13275, 13265, 13266, + 13265, 13265, 13266, 13266, 13240, 13242, 13241, 13240, 13240, 13242, 13241, + 13242, 12948, 12821, 12948, 12821, 12946, 12947, 12946, 12947, 12947, 12934, + 12935, 12937, 12936, 12938, 12934, 12935, 12937, 12936, 12938, 12937, 12938, + 12734, 12734, 12735, 512, 762, 763, 764, 765, 12724, 12724, 12720, 12720, + 12714, 12715, 12716, 12714, 12715, 12716, 12568, 12569, 12570, 12571, 12572, + 12567, 12569, 12568, 12569, 12570, 12571, 12572, 12570, 12571, 12572, 12162, + 12163, 12164, 12165, 12162, 12163, 12164, 12165, 11888, 11889, 11889, 11887, + 11891, 11890, 11887, 11887, 11891, 11890, 11891, 11892, 11821, 11821, 11812, + 11813, 11814, 11812, 11813, 11814, 11802, 11802, 11800, 11800, 674, 11796, + 11796, 11796, 11143, 11143, 11789, 11789, 11768, 11768, 512, 762, 763, 764, + 765, 11762, 11762, 11757, 11758, 11757, 11758, 11738, 11738, 11729, 11729, + 11728, 11728, 11730, 11731, 11732, 11730, 11731, 11732, 11492, 11492, 11493, + 11178, 11493, 11178, 11487, 11488, 11487, 11488, 11474, 11475, 11476, 11477, + 11478, 11474, 11475, 11476, 11477, 11478, 11294, 11295, 11296, 11297, 11298, + 11294, 11295, 11296, 11297, 11298, 11073, 11073, 11064, 11064, 11063, 11065, + 11066, 11063, 11065, 11066, 2830, 2833, 11026, 2624, 2805, 2806, 2807, 2808, + 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821, + 2624, 2805, 2806, 2807, 2808, 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, + 2817, 2818, 2819, 2820, 2821, 690, 2822, 920, 1, 227, 226, 13489, 13490, + 13491, 13492, 13493, 13495, 13497, 13499 +}; + +static unsigned char label_array[] = { + 0xFE, 0xF9, 0xF8, 0xF4, 0xE7, 0xE6, 0xE4, 0xE3, 0xE2, 0xD9, 0xD7, 0xD4, 0xD3, + 0xD2, 0xD1, 0xC9, 0xC8, 0xC7, 0xC5, 0xC3, 0xC2, 0xC1, 0xB7, 0xB6, 0xB4, 0xB3, + 0xAB, 0xA7, 0xA6, 0xA4, 0xA3, 0xA2, 0x9B, 0x99, 0x97, 0x94, 0x93, 0x92, 0x91, + 0x89, 0x88, 0x87, 0x85, 0x83, 0x82, 0x81, 0x78, 0x77, 0x75, 0x74, 0x73, 0x72, + 0x71, 0x70, 0x6D, 0x6C, 0x6B, 0x6A, 0x69, 0x68, 0x67, 0x66, 0x65, 0x64, 0x63, + 0x62, 0x61, 0x58, 0x57, 0x55, 0x54, 0x53, 0x52, 0x50, 0x4D, 0x4C, 0x4B, 0x4A, + 0x49, 0x48, 0x47, 0x45, 0x43, 0x42, 0x41, 0x39, 0x38, 0x34, 0x1B, 0x00, 0xFE, + 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0x00, 0x00, 0x37, 0x00, 0x33, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x37, 0x35, 0x32, 0x31, 0x30, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x39, 0x36, 0x35, 0x33, 0x32, 0x31, 0x30, 0x00, 0x00, 0x35, 0x36, 0x00, 0x00, + 0x34, 0x00, 0x30, 0x00, 0x00, 0x47, 0x67, 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, + 0x00, 0x64, 0x44, 0x00, 0x6F, 0x4F, 0x00, 0x63, 0x43, 0x00, 0x6E, 0x4E, 0x00, + 0x65, 0x45, 0x00, 0x2D, 0x00, 0x64, 0x44, 0x00, 0x72, 0x52, 0x00, 0x61, 0x41, + 0x00, 0x64, 0x44, 0x00, 0x6E, 0x4E, 0x00, 0x61, 0x41, 0x00, 0x74, 0x54, 0x00, + 0x73, 0x53, 0x00, 0x2D, 0x00, 0x65, 0x45, 0x00, 0x62, 0x42, 0x00, 0x6F, 0x4F, + 0x00, 0x00, 0x38, 0x00, 0x00, 0x36, 0x00, 0x00, 0x38, 0x36, 0x00, 0x39, 0x00, + 0x31, 0x00, 0x2D, 0x00, 0x34, 0x00, 0x2E, 0x00, 0x33, 0x00, 0x78, 0x58, 0x00, + 0x5F, 0x00, 0x69, 0x49, 0x00, 0x73, 0x53, 0x00, 0x00, 0x43, 0x63, 0x00, 0x69, + 0x49, 0x00, 0x62, 0x42, 0x00, 0x61, 0x41, 0x69, 0x49, 0x00, 0x69, 0x49, 0x38, + 0x00, 0x30, 0x00, 0x37, 0x00, 0x2D, 0x00, 0x6F, 0x4F, 0x00, 0x00, 0x43, 0x63, + 0x6D, 0x4D, 0x00, 0x00, 0x00, 0x00, 0x52, 0x72, 0x73, 0x6E, 0x64, 0x53, 0x4E, + 0x44, 0x00, 0x00, 0x53, 0x73, 0x00, 0x63, 0x43, 0x00, 0x73, 0x53, 0x00, 0x6B, + 0x4B, 0x00, 0x68, 0x48, 0x00, 0x2D, 0x00, 0x35, 0x00, 0x67, 0x47, 0x00, 0x69, + 0x49, 0x00, 0x00, 0x38, 0x00, 0x35, 0x00, 0x00, 0x34, 0x00, 0x32, 0x00, 0x00, + 0x39, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, 0x36, + 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x00, 0x34, 0x00, 0x31, 0x00, 0x00, 0x31, + 0x30, 0x00, 0x30, 0x00, 0x64, 0x44, 0x00, 0x69, 0x49, 0x00, 0x73, 0x53, 0x00, + 0x00, 0x45, 0x65, 0x00, 0x73, 0x53, 0x00, 0x65, 0x45, 0x00, 0x6E, 0x4E, 0x00, + 0x69, 0x49, 0x00, 0x00, 0x52, 0x72, 0x52, 0x72, 0x53, 0x73, 0x00, 0x00, 0x00, + 0x69, 0x67, 0x61, 0x49, 0x47, 0x41, 0x00, 0x00, 0x37, 0x00, 0x33, 0x31, 0x30, + 0x00, 0x00, 0x36, 0x00, 0x32, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x38, 0x33, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 0x34, 0x30, 0x00, 0x00, 0x00, 0x00, + 0x37, 0x30, 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, 0x37, 0x00, 0x36, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x34, 0x33, 0x30, 0x00, 0x33, 0x32, 0x00, 0x00, 0x30, + 0x00, 0x30, 0x00, 0x00, 0x35, 0x00, 0x37, 0x00, 0x00, 0x39, 0x00, 0x00, 0x39, + 0x38, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x00, 0x00, 0x00, 0x00, 0x31, + 0x30, 0x00, 0x00, 0x30, 0x00, 0x00, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, + 0x38, 0x37, 0x36, 0x35, 0x31, 0x00, 0x00, 0x00, 0x00, 0x35, 0x34, 0x33, 0x00, + 0x00, 0x38, 0x00, 0x00, 0x36, 0x00, 0x00, 0x00, 0x33, 0x31, 0x30, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x37, 0x35, 0x34, 0x33, + 0x30, 0x39, 0x32, 0x31, 0x2D, 0x64, 0x44, 0x00, 0x72, 0x52, 0x00, 0x61, 0x41, + 0x00, 0x64, 0x44, 0x00, 0x6E, 0x4E, 0x00, 0x61, 0x41, 0x00, 0x74, 0x54, 0x00, + 0x73, 0x53, 0x00, 0x65, 0x45, 0x00, 0x62, 0x42, 0x00, 0x6F, 0x4F, 0x63, 0x43, + 0x00, 0x00, 0x53, 0x73, 0x64, 0x44, 0x35, 0x00, 0x67, 0x47, 0x00, 0x69, 0x49, + 0x00, 0x00, 0x52, 0x72, 0x00, 0x00, 0x45, 0x65, 0x00, 0x73, 0x53, 0x00, 0x65, + 0x45, 0x00, 0x6E, 0x4E, 0x00, 0x61, 0x41, 0x00, 0x70, 0x50, 0x00, 0x61, 0x41, + 0x00, 0x6A, 0x4A, 0x00, 0x54, 0x74, 0x00, 0x6D, 0x4D, 0x00, 0x66, 0x46, 0x00, + 0x64, 0x44, 0x00, 0x6B, 0x4B, 0x00, 0x00, 0x48, 0x68, 0x00, 0x00, 0x00, 0x54, + 0x74, 0x4B, 0x6B, 0x70, 0x50, 0x00, 0x63, 0x43, 0x00, 0x75, 0x55, 0x00, 0x00, + 0x32, 0x00, 0x31, 0x00, 0x33, 0x00, 0x4B, 0x6B, 0x32, 0x00, 0x62, 0x42, 0x00, + 0x00, 0x61, 0x41, 0x00, 0x6E, 0x4E, 0x00, 0x61, 0x41, 0x00, 0x6B, 0x4B, 0x00, + 0x61, 0x41, 0x00, 0x74, 0x54, 0x00, 0x61, 0x41, 0x00, 0x6B, 0x4B, 0x00, 0x68, + 0x48, 0x00, 0x74, 0x54, 0x00, 0x64, 0x44, 0x00, 0x69, 0x49, 0x00, 0x77, 0x57, + 0x00, 0x66, 0x46, 0x00, 0x6C, 0x4C, 0x00, 0x00, 0x38, 0x00, 0x6E, 0x4E, 0x00, + 0x61, 0x41, 0x00, 0x6D, 0x4D, 0x00, 0x4F, 0x6F, 0x00, 0x72, 0x52, 0x00, 0x00, + 0x50, 0x70, 0x61, 0x41, 0x00, 0x39, 0x00, 0x6D, 0x4D, 0x00, 0x00, 0x37, 0x00, + 0x34, 0x32, 0x00, 0x30, 0x00, 0x00, 0x38, 0x37, 0x33, 0x00, 0x39, 0x38, 0x37, + 0x32, 0x37, 0x35, 0x31, 0x39, 0x36, 0x35, 0x33, 0x31, 0x30, 0x38, 0x34, 0x00, + 0x00, 0x39, 0x38, 0x37, 0x36, 0x35, 0x35, 0x33, 0x00, 0x31, 0x30, 0x00, 0x00, + 0x69, 0x49, 0x00, 0x61, 0x41, 0x00, 0x68, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x35, 0x30, 0x54, 0x74, 0x32, 0x31, 0x39, 0x38, 0x34, 0x00, 0x00, 0x6D, + 0x62, 0x4D, 0x42, 0x30, 0x00, 0x38, 0x00, 0x32, 0x00, 0x31, 0x00, 0x33, 0x00, + 0x32, 0x00, 0x62, 0x42, 0x00, 0x67, 0x47, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, + 0x35, 0x33, 0x00, 0x31, 0x00, 0x39, 0x00, 0x35, 0x00, 0x38, 0x00, 0x00, 0x00, + 0x00, 0x72, 0x52, 0x00, 0x00, 0x63, 0x43, 0x00, 0x69, 0x49, 0x00, 0x6C, 0x4C, + 0x00, 0x6C, 0x4C, 0x00, 0x69, 0x49, 0x00, 0x72, 0x52, 0x00, 0x79, 0x59, 0x00, + 0x00, 0x4B, 0x6B, 0x00, 0x65, 0x45, 0x00, 0x65, 0x45, 0x00, 0x72, 0x52, 0x00, + 0x00, 0x57, 0x77, 0x00, 0x65, 0x45, 0x00, 0x72, 0x52, 0x00, 0x62, 0x42, 0x00, + 0x45, 0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x31, 0x35, 0x34, + 0x33, 0x32, 0x68, 0x67, 0x63, 0x61, 0x48, 0x47, 0x43, 0x41, 0x00, 0x6E, 0x4E, + 0x00, 0x69, 0x49, 0x00, 0x74, 0x54, 0x00, 0x61, 0x41, 0x00, 0x00, 0x00, 0x6C, + 0x4C, 0x38, 0x35, 0x00, 0x6F, 0x4F, 0x00, 0x00, 0x73, 0x62, 0x53, 0x42, 0x00, + 0x00, 0x72, 0x52, 0x00, 0x38, 0x00, 0x69, 0x49, 0x00, 0x00, 0x37, 0x00, 0x38, + 0x00, 0x39, 0x00, 0x31, 0x00, 0x31, 0x00, 0x30, 0x00, 0x36, 0x00, 0x35, 0x00, + 0x63, 0x43, 0x00, 0x00, 0x73, 0x6F, 0x53, 0x4F, 0x43, 0x63, 0x00, 0x69, 0x49, + 0x00, 0x74, 0x54, 0x00, 0x6C, 0x4C, 0x00, 0x61, 0x41, 0x00, 0x62, 0x42, 0x00, + 0x35, 0x00, 0x37, 0x4C, 0x6C, 0x00, 0x61, 0x41, 0x00, 0x75, 0x55, 0x00, 0x67, + 0x47, 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, 0x00, 0x6C, 0x4C, 0x00, 0x69, 0x49, + 0x00, 0x74, 0x54, 0x00, 0x6C, 0x4C, 0x00, 0x75, 0x55, 0x00, 0x6D, 0x4D, 0x00, + 0x30, 0x57, 0x77, 0x00, 0x65, 0x45, 0x00, 0x72, 0x52, 0x00, 0x62, 0x42, 0x00, + 0x65, 0x45, 0x00, 0x68, 0x48, 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, 0x00, 0x74, + 0x54, 0x00, 0x61, 0x41, 0x00, 0x6C, 0x4C, 0x00, 0x32, 0x00, 0x34, 0x00, 0x65, + 0x45, 0x00, 0x67, 0x47, 0x00, 0x61, 0x41, 0x00, 0x70, 0x50, 0x00, 0x65, 0x45, + 0x00, 0x64, 0x44, 0x00, 0x6F, 0x4F, 0x00, 0x00, 0x00, 0x63, 0x43, 0x36, 0x35, + 0x32, 0x00, 0x35, 0x00, 0x38, 0x00, 0x00, 0x00, 0x70, 0x50, 0x38, 0x37, 0x00, + 0x63, 0x43, 0x00, 0x00, 0x73, 0x53, 0x00, 0x69, 0x49, 0x00, 0x6A, 0x4A, 0x00, + 0x54, 0x74, 0x00, 0x66, 0x46, 0x00, 0x69, 0x49, 0x00, 0x68, 0x48, 0x30, 0x00, + 0x32, 0x00, 0x36, 0x00, 0x53, 0x73, 0x00, 0x69, 0x49, 0x00, 0x00, 0x45, 0x65, + 0x00, 0x64, 0x44, 0x00, 0x6F, 0x4F, 0x00, 0x63, 0x43, 0x00, 0x69, 0x49, 0x00, + 0x00, 0x65, 0x45, 0x00, 0x00, 0x65, 0x45, 0x00, 0x00, 0x4C, 0x6C, 0x42, 0x62, + 0x00, 0x36, 0x00, 0x00, 0x65, 0x45, 0x00, 0x00, 0x65, 0x45, 0x00, 0x00, 0x4C, + 0x6C, 0x42, 0x62, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x38, 0x33, 0x31, 0x00, + 0x66, 0x46, 0x00, 0x00, 0x74, 0x6E, 0x54, 0x4E, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x00, 0x35, 0x00, 0x32, + 0x00, 0x00, 0x00, 0x00, 0x32, 0x31, 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, 0x00, + 0x74, 0x54, 0x00, 0x61, 0x41, 0x00, 0x6C, 0x4C, 0x00, 0x31, 0x00, 0x00, 0x31, + 0x33, 0x00, 0x73, 0x53, 0x00, 0x77, 0x57, 0x00, 0x6F, 0x4F, 0x00, 0x64, 0x44, + 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x75, 0x74, 0x73, 0x70, 0x6B, 0x69, 0x68, + 0x67, 0x65, 0x62, 0x61, 0x57, 0x55, 0x54, 0x53, 0x50, 0x4B, 0x49, 0x48, 0x47, + 0x45, 0x42, 0x41, 0x00, 0x00, 0x43, 0x63, 0x00, 0x69, 0x49, 0x00, 0x6C, 0x4C, + 0x00, 0x6C, 0x4C, 0x00, 0x69, 0x49, 0x00, 0x72, 0x52, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x79, 0x73, 0x70, 0x68, 0x63, 0x59, 0x53, 0x50, 0x48, 0x43, 0x31, 0x32, + 0x00, 0x72, 0x52, 0x45, 0x65, 0x41, 0x61, 0x48, 0x68, 0x4B, 0x6B, 0x53, 0x73, + 0x49, 0x69, 0x52, 0x72, 0x42, 0x62, 0x52, 0x72, 0x45, 0x65, 0x54, 0x74, 0x53, + 0x73, 0x4C, 0x6C, 0x4F, 0x6F, 0x45, 0x65, 0x00, 0x63, 0x43, 0x00, 0x65, 0x45, + 0x00, 0x6F, 0x4F, 0x45, 0x65, 0x52, 0x72, 0x53, 0x73, 0x54, 0x74, 0x55, 0x75, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x79, 0x77, 0x75, 0x74, 0x73, 0x72, 0x6E, 0x69, 0x68, 0x67, + 0x66, 0x65, 0x64, 0x63, 0x62, 0x61, 0x59, 0x57, 0x55, 0x54, 0x53, 0x52, 0x4E, + 0x49, 0x48, 0x47, 0x46, 0x45, 0x44, 0x43, 0x42, 0x41, 0x00, 0x2D, 0x43, 0x63, + 0x00, 0x69, 0x49, 0x00, 0x6C, 0x4C, 0x00, 0x6C, 0x4C, 0x00, 0x69, 0x49, 0x00, + 0x72, 0x52, 0x00, 0x00, 0x79, 0x70, 0x59, 0x50, 0x4F, 0x6F, 0x00, 0x72, 0x52, + 0x00, 0x75, 0x55, 0x00, 0x65, 0x45, 0x00, 0x2B, 0x00, 0x33, 0x00, 0x37, 0x00, + 0x32, 0x00, 0x2D, 0x4F, 0x6F, 0x00, 0x72, 0x52, 0x00, 0x75, 0x55, 0x00, 0x65, + 0x45, 0x00, 0x2B, 0x00, 0x37, 0x00, 0x37, 0x00, 0x32, 0x00, 0x2D, 0x00, 0x00, + 0x4B, 0x6B, 0x65, 0x45, 0x4F, 0x6F, 0x00, 0x72, 0x52, 0x00, 0x75, 0x55, 0x00, + 0x65, 0x45, 0x00, 0x2B, 0x00, 0x34, 0x00, 0x38, 0x00, 0x32, 0x00, 0x2D, 0x00, + 0x73, 0x53, 0x4F, 0x6F, 0x00, 0x72, 0x52, 0x00, 0x75, 0x55, 0x00, 0x65, 0x45, + 0x00, 0x2B, 0x00, 0x38, 0x00, 0x37, 0x00, 0x32, 0x00, 0x2D, 0x4F, 0x6F, 0x00, + 0x72, 0x52, 0x00, 0x75, 0x55, 0x00, 0x65, 0x45, 0x00, 0x2B, 0x00, 0x37, 0x00, + 0x39, 0x00, 0x32, 0x00, 0x2D, 0x00, 0x00, 0x49, 0x69, 0x72, 0x52, 0x4F, 0x6F, + 0x00, 0x72, 0x52, 0x00, 0x75, 0x55, 0x00, 0x65, 0x45, 0x00, 0x2B, 0x00, 0x35, + 0x00, 0x38, 0x00, 0x32, 0x00, 0x2D, 0x00, 0x62, 0x42, 0x4F, 0x6F, 0x00, 0x72, + 0x52, 0x00, 0x75, 0x55, 0x00, 0x65, 0x45, 0x00, 0x2B, 0x00, 0x30, 0x00, 0x30, + 0x00, 0x35, 0x00, 0x2D, 0x00, 0x6C, 0x4C, 0x00, 0x61, 0x41, 0x00, 0x6E, 0x4E, + 0x00, 0x6F, 0x4F, 0x00, 0x69, 0x49, 0x00, 0x74, 0x54, 0x00, 0x61, 0x41, 0x00, + 0x6E, 0x4E, 0x00, 0x72, 0x52, 0x00, 0x65, 0x45, 0x00, 0x74, 0x54, 0x4F, 0x6F, + 0x00, 0x72, 0x52, 0x00, 0x75, 0x55, 0x00, 0x65, 0x45, 0x00, 0x2B, 0x00, 0x31, + 0x00, 0x37, 0x00, 0x38, 0x00, 0x2D, 0x4F, 0x6F, 0x00, 0x72, 0x52, 0x00, 0x75, + 0x55, 0x00, 0x65, 0x45, 0x00, 0x2B, 0x00, 0x30, 0x00, 0x38, 0x00, 0x32, 0x00, + 0x2D, 0x00, 0x00, 0x00, 0x74, 0x73, 0x6E, 0x54, 0x53, 0x4E, 0x41, 0x61, 0x00, + 0x6E, 0x4E, 0x00, 0x61, 0x41, 0x00, 0x6B, 0x4B, 0x00, 0x2D, 0x00, 0x70, 0x50, + 0x4F, 0x6F, 0x00, 0x72, 0x52, 0x00, 0x75, 0x55, 0x00, 0x65, 0x45, 0x00, 0x2D, + 0x00, 0x2D, 0x00, 0x39, 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, 0x00, 0x74, 0x54, + 0x00, 0x61, 0x41, 0x6F, 0x4F, 0x65, 0x45, 0x4F, 0x6F, 0x00, 0x72, 0x52, 0x00, + 0x75, 0x55, 0x00, 0x65, 0x45, 0x00, 0x2B, 0x00, 0x37, 0x00, 0x33, 0x00, 0x2D, + 0x00, 0x73, 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x75, 0x73, 0x6E, 0x6C, 0x6A, 0x69, 0x67, 0x66, 0x65, 0x64, 0x63, 0x55, + 0x53, 0x4E, 0x4C, 0x4A, 0x49, 0x47, 0x46, 0x45, 0x44, 0x43, 0x00, 0x00, 0x2D, + 0x00, 0x63, 0x43, 0x00, 0x69, 0x49, 0x00, 0x64, 0x44, 0x00, 0x63, 0x43, 0x34, + 0x38, 0x00, 0x31, 0x00, 0x31, 0x00, 0x2D, 0x00, 0x61, 0x41, 0x00, 0x6D, 0x4D, + 0x38, 0x00, 0x32, 0x00, 0x39, 0x00, 0x5F, 0x00, 0x74, 0x54, 0x00, 0x6F, 0x4F, + 0x4E, 0x6E, 0x50, 0x70, 0x3E, 0x00, 0x68, 0x48, 0x00, 0x00, 0x00, 0x74, 0x6B, + 0x6A, 0x63, 0x54, 0x4B, 0x4A, 0x43, 0x00, 0x74, 0x54, 0x2D, 0x00, 0x63, 0x43, + 0x5F, 0x00, 0x72, 0x52, 0x00, 0x6F, 0x4F, 0x00, 0x66, 0x46, 0x00, 0x5F, 0x00, + 0x74, 0x54, 0x00, 0x61, 0x41, 0x00, 0x6D, 0x4D, 0x00, 0x72, 0x52, 0x00, 0x6F, + 0x4F, 0x00, 0x66, 0x46, 0x00, 0x5F, 0x00, 0x64, 0x44, 0x00, 0x65, 0x45, 0x00, + 0x6B, 0x4B, 0x00, 0x63, 0x43, 0x00, 0x61, 0x41, 0x00, 0x70, 0x50, 0x00, 0x5F, + 0x00, 0x65, 0x45, 0x00, 0x64, 0x44, 0x00, 0x6F, 0x4F, 0x00, 0x63, 0x43, 0x00, + 0x5F, 0x00, 0x78, 0x58, 0x00, 0x69, 0x49, 0x00, 0x6E, 0x4E, 0x00, 0x75, 0x55, + 0x00, 0x5F, 0x00, 0x64, 0x44, 0x00, 0x65, 0x45, 0x00, 0x64, 0x44, 0x00, 0x6E, + 0x4E, 0x00, 0x65, 0x45, 0x00, 0x74, 0x54, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, + 0x75, 0x6C, 0x63, 0x62, 0x58, 0x55, 0x4C, 0x43, 0x42, 0x2D, 0x00, 0x32, 0x00, + 0x31, 0x00, 0x33, 0x00, 0x32, 0x00, 0x4B, 0x6B, 0x5F, 0x32, 0x00, 0x38, 0x00, + 0x6B, 0x4B, 0x00, 0x65, 0x45, 0x00, 0x65, 0x45, 0x00, 0x00, 0x72, 0x62, 0x52, + 0x42, 0x2D, 0x00, 0x70, 0x65, 0x50, 0x45, 0x30, 0x33, 0x34, 0x38, 0x39, 0x00, + 0x00, 0x00, 0x39, 0x36, 0x31, 0x30, 0x00, 0x33, 0x31, 0x00, 0x00, 0x00, 0x00, + 0x38, 0x32, 0x37, 0x35, 0x31, 0x30, 0x39, 0x35, 0x34, 0x32, 0x31, 0x31, 0x30, + 0x33, 0x36, 0x38, 0x35, 0x34, 0x30, 0x38, 0x37, 0x35, 0x39, 0x33, 0x37, 0x36, + 0x35, 0x39, 0x38, 0x30, 0x33, 0x32, 0x31, 0x34, 0x34, 0x32, 0x30, 0x33, 0x31, + 0x36, 0x35, 0x37, 0x38, 0x39, 0x30, 0x33, 0x31, 0x32, 0x36, 0x39, 0x37, 0x34, + 0x30, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x36, 0x35, 0x34, 0x33, 0x32, + 0x31, 0x30, 0x31, 0x30, 0x32, 0x00, 0x30, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, + 0x33, 0x32, 0x31, 0x30, 0x00, 0x35, 0x00, 0x00, 0x00, 0x32, 0x31, 0x30, 0x00, + 0x38, 0x36, 0x00, 0x37, 0x00, 0x00, 0x00, 0x00, 0x39, 0x34, 0x37, 0x36, 0x38, + 0x35, 0x33, 0x32, 0x31, 0x00, 0x2D, 0x00, 0x61, 0x41, 0x00, 0x6E, 0x4E, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x00, 0x00, 0x00, + 0x00, 0x36, 0x37, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x37, 0x36, 0x33, 0x32, 0x31, 0x30, 0x31, 0x00, 0x00, 0x39, 0x38, 0x00, + 0x00, 0x00, 0x00, 0x38, 0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, + 0x38, 0x35, 0x34, 0x32, 0x31, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, + 0x34, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x33, 0x32, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x37, 0x33, 0x32, 0x30, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x37, 0x36, 0x35, + 0x34, 0x33, 0x00, 0x00, 0x00, 0x00, 0x34, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x34, 0x36, 0x35, 0x33, 0x32, 0x31, 0x31, 0x33, 0x38, 0x33, 0x35, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, + 0x32, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x31, 0x00, 0x00, 0x38, 0x00, 0x00, + 0x00, 0x36, 0x35, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, + 0x32, 0x31, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x37, 0x35, 0x33, 0x30, + 0x00, 0x00, 0x00, 0x00, 0x34, 0x31, 0x00, 0x32, 0x38, 0x00, 0x38, 0x00, 0x00, + 0x33, 0x34, 0x00, 0x00, 0x35, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, + 0x38, 0x33, 0x31, 0x30, 0x00, 0x00, 0x00, 0x00, 0x39, 0x32, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, 0x36, 0x34, 0x31, 0x00, 0x00, 0x34, 0x00, + 0x35, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x37, 0x33, 0x32, 0x31, 0x30, + 0x00, 0x00, 0x36, 0x00, 0x34, 0x00, 0x00, 0x00, 0x36, 0x35, 0x00, 0x00, 0x39, + 0x00, 0x30, 0x00, 0x35, 0x34, 0x30, 0x37, 0x00, 0x00, 0x39, 0x37, 0x38, 0x35, + 0x00, 0x00, 0x00, 0x00, 0x31, 0x30, 0x32, 0x00, 0x32, 0x00, 0x37, 0x00, 0x00, + 0x37, 0x36, 0x33, 0x30, 0x00, 0x00, 0x36, 0x00, 0x37, 0x39, 0x00, 0x00, 0x38, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x32, 0x31, 0x00, 0x00, 0x00, 0x00, + 0x35, 0x30, 0x00, 0x00, 0x31, 0x00, 0x00, 0x00, 0x00, 0x37, 0x36, 0x35, 0x34, + 0x00, 0x00, 0x32, 0x39, 0x33, 0x00, 0x00, 0x36, 0x00, 0x00, 0x35, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 0x34, 0x33, 0x32, 0x30, + 0x00, 0x00, 0x00, 0x30, 0x35, 0x33, 0x32, 0x00, 0x00, 0x33, 0x00, 0x32, 0x39, + 0x38, 0x37, 0x36, 0x34, 0x30, 0x00, 0x00, 0x35, 0x34, 0x38, 0x00, 0x37, 0x00, + 0x00, 0x35, 0x00, 0x34, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x37, 0x34, + 0x33, 0x31, 0x30, 0x00, 0x00, 0x32, 0x00, 0x35, 0x00, 0x39, 0x00, 0x00, 0x31, + 0x00, 0x00, 0x34, 0x00, 0x00, 0x35, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, + 0x34, 0x33, 0x32, 0x31, 0x00, 0x32, 0x00, 0x00, 0x32, 0x31, 0x00, 0x00, 0x30, + 0x00, 0x00, 0x37, 0x00, 0x00, 0x37, 0x33, 0x32, 0x39, 0x33, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x37, 0x36, 0x35, 0x33, 0x37, 0x35, 0x32, + 0x31, 0x30, 0x38, 0x00, 0x00, 0x00, 0x32, 0x00, 0x39, 0x36, 0x35, 0x33, 0x32, + 0x30, 0x38, 0x34, 0x31, 0x00, 0x00, 0x31, 0x30, 0x34, 0x38, 0x35, 0x00, 0x00, + 0x31, 0x37, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x39, 0x37, 0x36, + 0x35, 0x33, 0x31, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, + 0x36, 0x00, 0x00, 0x00, 0x34, 0x36, 0x35, 0x33, 0x38, 0x36, 0x34, 0x33, 0x32, + 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x33, 0x31, 0x30, + 0x38, 0x37, 0x36, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, 0x36, + 0x35, 0x34, 0x33, 0x32, 0x30, 0x00, 0x39, 0x38, 0x37, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x39, 0x37, 0x36, 0x34, 0x32, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, + 0x36, 0x31, 0x30, 0x00, 0x00, 0x00, 0x00, 0x35, 0x34, 0x30, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x54, 0x39, + 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x31, 0x30, 0x30, 0x37, + 0x00, 0x00, 0x33, 0x30, 0x36, 0x38, 0x37, 0x33, 0x35, 0x34, 0x30, 0x37, 0x30, + 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, 0x35, 0x30, 0x31, 0x37, 0x00, 0x00, + 0x36, 0x30, 0x34, 0x33, 0x30, 0x37, 0x00, 0x00, 0x33, 0x32, 0x30, 0x00, 0x30, + 0x30, 0x37, 0x35, 0x00, 0x00, 0x00, 0x37, 0x33, 0x32, 0x39, 0x33, 0x38, 0x33, + 0x35, 0x36, 0x37, 0x37, 0x35, 0x32, 0x31, 0x30, 0x38, 0x39, 0x36, 0x35, 0x33, + 0x32, 0x31, 0x30, 0x38, 0x34, 0x34, 0x38, 0x31, 0x30, 0x35, 0x30, 0x37, 0x31, + 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, 0x36, 0x35, + 0x33, 0x31, 0x34, 0x35, 0x33, 0x35, 0x34, 0x33, 0x32, 0x36, 0x38, 0x30, 0x33, + 0x31, 0x34, 0x32, 0x36, 0x37, 0x38, 0x30, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, + 0x38, 0x39, 0x33, 0x32, 0x34, 0x36, 0x37, 0x39, 0x30, 0x31, 0x36, 0x37, 0x38, + 0x39, 0x34, 0x35, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x37, + 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x39, 0x38, 0x37, 0x35, 0x34, 0x33, 0x32, 0x30, 0x38, 0x39, 0x30, + 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x36, 0x35, 0x37, 0x37, + 0x30, 0x31, 0x32, 0x33, 0x36, 0x31, 0x39, 0x38, 0x37, 0x38, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x35, 0x34, 0x32, 0x31, 0x30, 0x32, 0x34, + 0x35, 0x32, 0x33, 0x39, 0x30, 0x32, 0x33, 0x37, 0x39, 0x38, 0x37, 0x36, 0x35, + 0x34, 0x33, 0x32, 0x31, 0x30, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x30, 0x34, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x38, + 0x33, 0x31, 0x35, 0x33, 0x30, 0x32, 0x31, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, + 0x36, 0x35, 0x30, 0x31, 0x32, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x37, + 0x35, 0x33, 0x30, 0x33, 0x34, 0x35, 0x33, 0x36, 0x33, 0x30, 0x31, 0x38, 0x32, + 0x39, 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, 0x36, 0x00, 0x00, 0x00, 0x00, + 0x33, 0x32, 0x31, 0x30, 0x36, 0x00, 0x39, 0x38, 0x31, 0x32, 0x33, 0x30, 0x35, + 0x31, 0x00, 0x00, 0x00, 0x00, 0x37, 0x36, 0x35, 0x34, 0x00, 0x00, 0x39, 0x33, + 0x36, 0x35, 0x30, 0x32, 0x33, 0x34, 0x35, 0x00, 0x00, 0x00, 0x35, 0x33, 0x32, + 0x33, 0x00, 0x32, 0x39, 0x38, 0x37, 0x36, 0x34, 0x30, 0x00, 0x00, 0x35, 0x34, + 0x38, 0x00, 0x37, 0x00, 0x00, 0x00, 0x00, 0x34, 0x33, 0x31, 0x30, 0x32, 0x00, + 0x31, 0x00, 0x36, 0x30, 0x36, 0x36, 0x00, 0x00, 0x00, 0x36, 0x35, 0x33, 0x39, + 0x38, 0x37, 0x00, 0x34, 0x00, 0x00, 0x34, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x39, 0x38, 0x35, 0x34, 0x31, 0x30, 0x38, 0x00, 0x30, 0x00, 0x37, 0x31, + 0x34, 0x00, 0x32, 0x38, 0x00, 0x38, 0x00, 0x00, 0x34, 0x31, 0x34, 0x00, 0x35, + 0x00, 0x33, 0x00, 0x00, 0x00, 0x37, 0x33, 0x32, 0x36, 0x00, 0x34, 0x00, 0x35, + 0x39, 0x00, 0x30, 0x00, 0x37, 0x00, 0x00, 0x38, 0x35, 0x32, 0x00, 0x32, 0x00, + 0x37, 0x00, 0x33, 0x35, 0x00, 0x34, 0x00, 0x33, 0x00, 0x37, 0x32, 0x00, 0x35, + 0x00, 0x39, 0x31, 0x34, 0x35, 0x35, 0x00, 0x00, 0x00, 0x00, 0x34, 0x33, 0x32, + 0x31, 0x00, 0x32, 0x00, 0x00, 0x32, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x36, 0x35, 0x33, 0x32, 0x31, 0x30, 0x00, 0x64, 0x44, 0x00, 0x69, 0x49, 0x00, + 0x73, 0x53, 0x00, 0x63, 0x43, 0x00, 0x00, 0x00, 0x63, 0x43, 0x39, 0x38, 0x37, + 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x2D, 0x00, 0x6D, 0x4D, 0x32, 0x00, 0x2D, + 0x00, 0x73, 0x53, 0x00, 0x63, 0x43, 0x00, 0x75, 0x55, 0x00, 0x2D, 0x00, 0x36, + 0x00, 0x34, 0x00, 0x36, 0x00, 0x30, 0x31, 0x00, 0x2D, 0x00, 0x6E, 0x4E, 0x00, + 0x69, 0x49, 0x00, 0x74, 0x54, 0x00, 0x61, 0x41, 0x00, 0x6C, 0x4C, 0x00, 0x2D, + 0x00, 0x31, 0x00, 0x2E, 0x00, 0x33, 0x00, 0x2D, 0x00, 0x73, 0x53, 0x00, 0x77, + 0x57, 0x00, 0x6F, 0x4F, 0x00, 0x64, 0x44, 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, + 0x00, 0x77, 0x57, 0x00, 0x00, 0x35, 0x33, 0x2D, 0x32, 0x00, 0x2D, 0x00, 0x6E, + 0x4E, 0x00, 0x69, 0x49, 0x00, 0x74, 0x54, 0x00, 0x61, 0x41, 0x00, 0x6C, 0x4C, + 0x00, 0x2D, 0x00, 0x73, 0x53, 0x00, 0x77, 0x57, 0x00, 0x6F, 0x4F, 0x00, 0x64, + 0x44, 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, 0x00, 0x77, 0x57, 0x00, 0x00, 0x2D, + 0x00, 0x00, 0x36, 0x37, 0x38, 0x39, 0x34, 0x33, 0x35, 0x32, 0x31, 0x00, 0x2D, + 0x00, 0x39, 0x00, 0x35, 0x00, 0x38, 0x30, 0x39, 0x31, 0x30, 0x37, 0x36, 0x38, + 0x38, 0x39, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x34, 0x32, 0x31, 0x30, + 0x00, 0x36, 0x35, 0x31, 0x00, 0x2D, 0x00, 0x72, 0x52, 0x00, 0x00, 0x00, 0x69, + 0x49, 0x38, 0x31, 0x53, 0x73, 0x00, 0x75, 0x55, 0x00, 0x2D, 0x00, 0x36, 0x00, + 0x34, 0x31, 0x00, 0x39, 0x00, 0x39, 0x00, 0x31, 0x00, 0x3A, 0x00, 0x76, 0x56, + 0x00, 0x72, 0x52, 0x00, 0x69, 0x49, 0x00, 0x2E, 0x00, 0x36, 0x00, 0x34, 0x37, + 0x00, 0x38, 0x00, 0x39, 0x00, 0x31, 0x00, 0x00, 0x35, 0x3A, 0x37, 0x00, 0x38, + 0x00, 0x39, 0x00, 0x31, 0x00, 0x00, 0x3A, 0x38, 0x00, 0x38, 0x00, 0x39, 0x00, + 0x31, 0x00, 0x00, 0x3A, 0x38, 0x00, 0x38, 0x00, 0x39, 0x00, 0x31, 0x00, 0x00, + 0x3A, 0x38, 0x00, 0x38, 0x00, 0x39, 0x00, 0x31, 0x00, 0x00, 0x3A, 0x37, 0x00, + 0x38, 0x00, 0x39, 0x00, 0x31, 0x00, 0x00, 0x3A, 0x37, 0x00, 0x38, 0x00, 0x39, + 0x00, 0x31, 0x00, 0x00, 0x3A, 0x38, 0x00, 0x39, 0x00, 0x31, 0x00, 0x00, 0x3A, + 0x39, 0x00, 0x38, 0x00, 0x39, 0x00, 0x31, 0x00, 0x00, 0x3A, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, + 0x32, 0x31, 0x00, 0x2D, 0x00, 0x39, 0x00, 0x35, 0x00, 0x38, 0x00, 0x00, 0x38, + 0x36, 0x00, 0x00, 0x00, 0x5F, 0x36, 0x2D, 0x00, 0x6F, 0x4F, 0x00, 0x00, 0x00, + 0x73, 0x62, 0x61, 0x53, 0x42, 0x41, 0x31, 0x00, 0x30, 0x00, 0x32, 0x00, 0x30, + 0x00, 0x58, 0x78, 0x00, 0x5F, 0x00, 0x73, 0x53, 0x00, 0x69, 0x49, 0x2D, 0x00, + 0x38, 0x4E, 0x6E, 0x00, 0x61, 0x41, 0x00, 0x65, 0x45, 0x00, 0x00, 0x72, 0x69, + 0x52, 0x49, 0x31, 0x00, 0x30, 0x00, 0x36, 0x00, 0x35, 0x00, 0x5F, 0x39, 0x37, + 0x00, 0x38, 0x00, 0x39, 0x00, 0x31, 0x00, 0x2D, 0x00, 0x31, 0x00, 0x30, 0x00, + 0x36, 0x00, 0x35, 0x00, 0x5F, 0x00, 0x63, 0x43, 0x00, 0x00, 0x63, 0x5F, 0x43, + 0x00, 0x00, 0x73, 0x6F, 0x53, 0x4F, 0x39, 0x00, 0x31, 0x35, 0x34, 0x33, 0x32, + 0x2D, 0x00, 0x6E, 0x4E, 0x00, 0x69, 0x49, 0x00, 0x74, 0x54, 0x00, 0x61, 0x41, + 0x35, 0x34, 0x33, 0x32, 0x31, 0x33, 0x49, 0x69, 0x00, 0x6A, 0x4A, 0x00, 0x6E, + 0x4E, 0x00, 0x61, 0x41, 0x00, 0x6B, 0x4B, 0x00, 0x00, 0x39, 0x5F, 0x00, 0x73, + 0x53, 0x6F, 0x4F, 0x00, 0x72, 0x52, 0x00, 0x75, 0x55, 0x00, 0x65, 0x45, 0x00, + 0x2B, 0x00, 0x30, 0x00, 0x35, 0x00, 0x38, 0x00, 0x2D, 0x00, 0x6C, 0x4C, 0x00, + 0x61, 0x41, 0x00, 0x75, 0x55, 0x00, 0x67, 0x47, 0x00, 0x6E, 0x4E, 0x00, 0x69, + 0x49, 0x00, 0x6C, 0x4C, 0x00, 0x69, 0x49, 0x00, 0x74, 0x54, 0x00, 0x6C, 0x4C, + 0x00, 0x75, 0x55, 0x00, 0x6D, 0x4D, 0x00, 0x2D, 0x00, 0x63, 0x43, 0x6F, 0x4F, + 0x38, 0x5F, 0x00, 0x74, 0x54, 0x00, 0x66, 0x46, 0x00, 0x69, 0x49, 0x00, 0x68, + 0x48, 0x2D, 0x00, 0x73, 0x53, 0x00, 0x69, 0x49, 0x32, 0x2D, 0x00, 0x73, 0x53, + 0x73, 0x53, 0x00, 0x61, 0x41, 0x00, 0x00, 0x2D, 0x6C, 0x62, 0x4C, 0x42, 0x2D, + 0x00, 0x36, 0x6C, 0x62, 0x4C, 0x42, 0x2D, 0x00, 0x32, 0x00, 0x00, 0x38, 0x33, + 0x31, 0x00, 0x38, 0x33, 0x31, 0x2D, 0x00, 0x66, 0x46, 0x00, 0x00, 0x00, 0x74, + 0x73, 0x63, 0x54, 0x53, 0x43, 0x39, 0x31, 0x00, 0x2D, 0x00, 0x73, 0x53, 0x00, + 0x77, 0x57, 0x00, 0x6F, 0x4F, 0x00, 0x64, 0x44, 0x00, 0x6E, 0x4E, 0x00, 0x69, + 0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x37, 0x42, 0x28, 0x1B, 0x33, 0x42, 0x28, + 0x30, 0x31, 0x32, 0x35, 0x37, 0x42, 0x28, 0x30, 0x31, 0x32, 0x33, 0x35, 0x36, + 0x39, 0x42, 0x28, 0x1B, 0x1B, 0x35, 0x36, 0x42, 0x28, 0x34, 0x42, 0x28, 0x1B, + 0x30, 0x42, 0x28, 0x47, 0x67, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, + 0x69, 0x49, 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, + 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x65, + 0x45, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, + 0x72, 0x52, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, + 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x74, + 0x54, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, + 0x65, 0x45, 0x42, 0x28, 0x1B, 0x62, 0x42, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, + 0x28, 0x38, 0x42, 0x28, 0x36, 0x42, 0x28, 0x1B, 0x1B, 0x38, 0x36, 0x42, 0x28, + 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, + 0x34, 0x42, 0x28, 0x1B, 0x2E, 0x42, 0x28, 0x1B, 0x33, 0x42, 0x28, 0x1B, 0x78, + 0x58, 0x42, 0x28, 0x1B, 0x5F, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, + 0x73, 0x53, 0x42, 0x28, 0x43, 0x63, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, + 0x1B, 0x62, 0x42, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x49, 0x69, 0x42, + 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x38, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, + 0x1B, 0x37, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, + 0x1B, 0x1B, 0x43, 0x63, 0x6D, 0x4D, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x52, + 0x72, 0x73, 0x6E, 0x64, 0x53, 0x4E, 0x44, 0x42, 0x28, 0x53, 0x73, 0x42, 0x28, + 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x1B, 0x6B, 0x4B, + 0x42, 0x28, 0x1B, 0x68, 0x48, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x35, + 0x42, 0x28, 0x1B, 0x67, 0x47, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x38, + 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, 0x34, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, + 0x1B, 0x1B, 0x39, 0x38, 0x42, 0x28, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, + 0x37, 0x38, 0x39, 0x42, 0x28, 0x1B, 0x34, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, + 0x1B, 0x1B, 0x31, 0x30, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x64, 0x44, + 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x45, + 0x65, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, + 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x52, 0x72, 0x42, + 0x28, 0x52, 0x72, 0x42, 0x28, 0x53, 0x73, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x69, + 0x67, 0x61, 0x49, 0x47, 0x41, 0x42, 0x28, 0x37, 0x42, 0x28, 0x1B, 0x33, 0x31, + 0x30, 0x42, 0x28, 0x36, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x30, 0x42, + 0x28, 0x33, 0x38, 0x42, 0x28, 0x30, 0x34, 0x35, 0x42, 0x28, 0x30, 0x37, 0x42, + 0x28, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x42, 0x28, 0x37, 0x42, 0x28, 0x1B, + 0x36, 0x42, 0x28, 0x30, 0x33, 0x34, 0x42, 0x28, 0x1B, 0x33, 0x32, 0x42, 0x28, + 0x30, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x35, 0x42, 0x28, 0x1B, 0x37, 0x42, + 0x28, 0x39, 0x42, 0x28, 0x30, 0x31, 0x32, 0x33, 0x35, 0x36, 0x39, 0x38, 0x34, + 0x42, 0x28, 0x30, 0x31, 0x42, 0x28, 0x30, 0x42, 0x28, 0x31, 0x42, 0x28, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x36, 0x35, 0x31, 0x42, 0x28, 0x34, + 0x33, 0x35, 0x42, 0x28, 0x38, 0x42, 0x28, 0x36, 0x42, 0x28, 0x1B, 0x1B, 0x1B, + 0x33, 0x31, 0x30, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x38, 0x37, 0x35, 0x34, 0x33, 0x30, 0x39, 0x32, 0x31, 0x2D, 0x42, + 0x28, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x61, 0x41, + 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, + 0x61, 0x41, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, + 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x62, 0x42, 0x42, 0x28, 0x1B, 0x6F, + 0x4F, 0x42, 0x28, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x1B, 0x53, 0x73, 0x64, 0x44, + 0x42, 0x28, 0x35, 0x42, 0x28, 0x1B, 0x67, 0x47, 0x42, 0x28, 0x1B, 0x69, 0x49, + 0x42, 0x28, 0x52, 0x72, 0x42, 0x28, 0x45, 0x65, 0x42, 0x28, 0x1B, 0x73, 0x53, + 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, + 0x61, 0x41, 0x42, 0x28, 0x1B, 0x70, 0x50, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, + 0x28, 0x1B, 0x6A, 0x4A, 0x42, 0x28, 0x1B, 0x54, 0x74, 0x42, 0x28, 0x1B, 0x6D, + 0x4D, 0x42, 0x28, 0x1B, 0x66, 0x46, 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, + 0x1B, 0x6B, 0x4B, 0x42, 0x28, 0x48, 0x68, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x54, + 0x74, 0x4B, 0x6B, 0x70, 0x50, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, + 0x75, 0x55, 0x42, 0x28, 0x32, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x33, + 0x42, 0x28, 0x1B, 0x4B, 0x6B, 0x32, 0x42, 0x28, 0x1B, 0x62, 0x42, 0x42, 0x28, + 0x41, 0x61, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, + 0x28, 0x1B, 0x6B, 0x4B, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x74, + 0x54, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x6B, 0x4B, 0x42, 0x28, + 0x1B, 0x68, 0x48, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x64, 0x44, + 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x77, 0x57, 0x42, 0x28, 0x1B, + 0x66, 0x46, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x38, 0x42, 0x28, 0x1B, + 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x6D, 0x4D, 0x42, + 0x28, 0x1B, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x1B, + 0x50, 0x70, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x6D, 0x4D, + 0x42, 0x28, 0x37, 0x42, 0x28, 0x1B, 0x34, 0x32, 0x42, 0x28, 0x1B, 0x30, 0x42, + 0x28, 0x33, 0x38, 0x37, 0x42, 0x28, 0x1B, 0x39, 0x38, 0x37, 0x42, 0x28, 0x32, + 0x42, 0x28, 0x31, 0x35, 0x37, 0x42, 0x28, 0x30, 0x31, 0x33, 0x35, 0x36, 0x39, + 0x38, 0x34, 0x42, 0x28, 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x36, 0x35, 0x42, 0x28, + 0x33, 0x35, 0x42, 0x28, 0x1B, 0x31, 0x30, 0x42, 0x28, 0x49, 0x69, 0x42, 0x28, + 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x68, 0x48, 0x42, 0x28, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x35, 0x30, 0x54, 0x74, 0x32, 0x31, 0x39, 0x38, 0x34, 0x42, + 0x28, 0x1B, 0x1B, 0x6D, 0x62, 0x4D, 0x42, 0x42, 0x28, 0x30, 0x42, 0x28, 0x1B, + 0x38, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x33, + 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x62, 0x42, 0x42, 0x28, 0x1B, 0x67, + 0x47, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x33, 0x35, 0x42, 0x28, 0x1B, 0x31, + 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x38, 0x42, + 0x28, 0x72, 0x52, 0x42, 0x28, 0x43, 0x63, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, + 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x69, + 0x49, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x79, 0x59, 0x42, 0x28, + 0x4B, 0x6B, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, + 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x57, 0x77, 0x42, 0x28, 0x1B, 0x65, 0x45, + 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x62, 0x42, 0x42, 0x28, 0x1B, + 0x45, 0x65, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x31, 0x32, 0x33, 0x34, 0x35, + 0x68, 0x67, 0x63, 0x61, 0x48, 0x47, 0x43, 0x41, 0x42, 0x28, 0x1B, 0x6E, 0x4E, + 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, + 0x61, 0x41, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x6C, 0x4C, 0x38, 0x35, 0x42, 0x28, + 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x1B, 0x73, 0x62, 0x53, 0x42, 0x42, 0x28, + 0x52, 0x72, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, + 0x37, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, + 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x36, 0x42, + 0x28, 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x1B, 0x73, + 0x6F, 0x53, 0x4F, 0x42, 0x28, 0x43, 0x63, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, + 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x61, + 0x41, 0x42, 0x28, 0x1B, 0x62, 0x42, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, 0x1B, + 0x37, 0x42, 0x28, 0x4C, 0x6C, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, + 0x75, 0x55, 0x42, 0x28, 0x1B, 0x67, 0x47, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, + 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x69, + 0x49, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, + 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x6D, 0x4D, 0x42, 0x28, 0x1B, 0x30, 0x42, + 0x28, 0x57, 0x77, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x72, 0x52, + 0x42, 0x28, 0x1B, 0x62, 0x42, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, + 0x68, 0x48, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, + 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x6C, + 0x4C, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x34, 0x42, 0x28, 0x1B, 0x65, + 0x45, 0x42, 0x28, 0x1B, 0x67, 0x47, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, + 0x1B, 0x70, 0x50, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x64, 0x44, + 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x63, 0x43, 0x36, + 0x35, 0x42, 0x28, 0x32, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x38, 0x42, + 0x28, 0x1B, 0x1B, 0x1B, 0x70, 0x50, 0x38, 0x37, 0x42, 0x28, 0x1B, 0x63, 0x43, + 0x42, 0x28, 0x53, 0x73, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x6A, + 0x4A, 0x42, 0x28, 0x1B, 0x54, 0x74, 0x42, 0x28, 0x1B, 0x66, 0x46, 0x42, 0x28, + 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x68, 0x48, 0x42, 0x28, 0x30, 0x42, 0x28, + 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, 0x1B, 0x53, 0x73, 0x42, 0x28, + 0x1B, 0x69, 0x49, 0x42, 0x28, 0x45, 0x65, 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, + 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x69, + 0x49, 0x42, 0x28, 0x45, 0x65, 0x42, 0x28, 0x45, 0x65, 0x42, 0x28, 0x1B, 0x1B, + 0x4C, 0x6C, 0x42, 0x62, 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, 0x45, 0x65, 0x42, + 0x28, 0x45, 0x65, 0x42, 0x28, 0x1B, 0x1B, 0x4C, 0x6C, 0x42, 0x62, 0x42, 0x28, + 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x1B, 0x38, 0x33, 0x31, 0x42, 0x28, 0x1B, 0x66, + 0x46, 0x42, 0x28, 0x1B, 0x1B, 0x74, 0x6E, 0x54, 0x4E, 0x42, 0x28, 0x30, 0x31, + 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, + 0x1B, 0x32, 0x42, 0x28, 0x31, 0x32, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, + 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x61, 0x41, + 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x1B, + 0x31, 0x33, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x1B, 0x77, 0x57, 0x42, + 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x6E, + 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x77, 0x75, 0x74, 0x73, 0x70, 0x6B, + 0x69, 0x68, 0x67, 0x65, 0x62, 0x61, 0x57, 0x55, 0x54, 0x53, 0x50, 0x4B, 0x49, + 0x48, 0x47, 0x45, 0x42, 0x41, 0x42, 0x28, 0x43, 0x63, 0x42, 0x28, 0x1B, 0x69, + 0x49, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, + 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x79, 0x73, 0x70, 0x68, 0x63, 0x59, 0x53, 0x50, 0x48, 0x43, 0x42, + 0x28, 0x31, 0x32, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x45, 0x65, 0x42, + 0x28, 0x41, 0x61, 0x48, 0x68, 0x42, 0x28, 0x4B, 0x6B, 0x42, 0x28, 0x53, 0x73, + 0x42, 0x28, 0x49, 0x69, 0x52, 0x72, 0x42, 0x28, 0x42, 0x62, 0x52, 0x72, 0x42, + 0x28, 0x45, 0x65, 0x42, 0x28, 0x54, 0x74, 0x53, 0x73, 0x42, 0x28, 0x4C, 0x6C, + 0x4F, 0x6F, 0x42, 0x28, 0x45, 0x65, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, + 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x45, 0x65, 0x42, + 0x28, 0x52, 0x72, 0x42, 0x28, 0x53, 0x73, 0x42, 0x28, 0x54, 0x74, 0x42, 0x28, + 0x55, 0x75, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x79, 0x77, 0x75, 0x74, 0x73, 0x72, + 0x6E, 0x69, 0x68, 0x67, 0x66, 0x65, 0x64, 0x63, 0x62, 0x61, 0x59, 0x57, 0x55, + 0x54, 0x53, 0x52, 0x4E, 0x49, 0x48, 0x47, 0x46, 0x45, 0x44, 0x43, 0x42, 0x41, + 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x43, 0x63, 0x42, 0x28, 0x1B, 0x69, 0x49, + 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, + 0x69, 0x49, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x1B, 0x79, 0x70, + 0x59, 0x50, 0x42, 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, + 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, + 0x28, 0x1B, 0x33, 0x42, 0x28, 0x1B, 0x37, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, + 0x1B, 0x2D, 0x42, 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, + 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, + 0x28, 0x1B, 0x37, 0x42, 0x28, 0x1B, 0x37, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, + 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x1B, 0x4B, 0x6B, 0x65, 0x45, 0x42, 0x28, 0x4F, + 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, 0x28, + 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, 0x28, 0x1B, 0x34, 0x42, 0x28, + 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, + 0x73, 0x53, 0x42, 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, + 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, + 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x37, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, + 0x1B, 0x2D, 0x42, 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, + 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, + 0x28, 0x1B, 0x37, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, + 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x1B, 0x49, 0x69, 0x72, 0x52, 0x42, 0x28, 0x4F, + 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, 0x28, + 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, + 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, + 0x62, 0x42, 0x42, 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, + 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, + 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, + 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, + 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x69, + 0x49, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, + 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x65, 0x45, + 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, + 0x52, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, + 0x1B, 0x2B, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x37, 0x42, 0x28, 0x1B, + 0x38, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, + 0x52, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, + 0x1B, 0x2B, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, + 0x32, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x74, 0x73, 0x6E, + 0x54, 0x53, 0x4E, 0x42, 0x28, 0x41, 0x61, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, + 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x6B, 0x4B, 0x42, 0x28, 0x1B, 0x2D, + 0x42, 0x28, 0x1B, 0x70, 0x50, 0x42, 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, + 0x52, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, + 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, + 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, + 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x6F, 0x4F, 0x42, 0x28, 0x65, 0x45, 0x42, + 0x28, 0x4F, 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x75, 0x55, + 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, 0x28, 0x1B, 0x37, + 0x42, 0x28, 0x1B, 0x33, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x73, 0x53, + 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x75, 0x73, 0x6E, 0x6C, 0x6A, 0x69, 0x67, 0x66, 0x65, 0x64, 0x63, 0x55, 0x53, + 0x4E, 0x4C, 0x4A, 0x49, 0x47, 0x46, 0x45, 0x44, 0x43, 0x42, 0x28, 0x1B, 0x2D, + 0x42, 0x28, 0x00, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, + 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x34, 0x38, 0x42, + 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, + 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x6D, 0x4D, 0x42, 0x28, 0x38, 0x42, 0x28, + 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x5F, 0x42, 0x28, 0x1B, + 0x74, 0x54, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x4E, 0x6E, 0x42, 0x28, + 0x50, 0x70, 0x42, 0x28, 0x3E, 0x42, 0x28, 0x1B, 0x68, 0x48, 0x42, 0x28, 0x1B, + 0x1B, 0x1B, 0x74, 0x6B, 0x6A, 0x63, 0x54, 0x4B, 0x4A, 0x43, 0x42, 0x28, 0x1B, + 0x74, 0x54, 0x2D, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x5F, 0x42, 0x28, + 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x66, 0x46, + 0x42, 0x28, 0x1B, 0x5F, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x61, + 0x41, 0x42, 0x28, 0x1B, 0x6D, 0x4D, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, + 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x66, 0x46, 0x42, 0x28, 0x1B, 0x5F, 0x42, + 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x6B, + 0x4B, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, + 0x1B, 0x70, 0x50, 0x42, 0x28, 0x1B, 0x5F, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, + 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x63, + 0x43, 0x42, 0x28, 0x1B, 0x5F, 0x42, 0x28, 0x1B, 0x78, 0x58, 0x42, 0x28, 0x1B, + 0x69, 0x49, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, + 0x28, 0x1B, 0x5F, 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x65, 0x45, + 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, + 0x65, 0x45, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x78, 0x75, 0x6C, 0x63, 0x62, 0x58, 0x55, 0x4C, 0x43, 0x42, 0x42, 0x28, + 0x2D, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x33, + 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x4B, 0x6B, 0x5F, 0x32, 0x42, 0x28, + 0x00, 0x1B, 0x6B, 0x4B, 0x42, 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x65, + 0x45, 0x42, 0x28, 0x1B, 0x1B, 0x72, 0x62, 0x52, 0x42, 0x42, 0x28, 0x2D, 0x42, + 0x28, 0x1B, 0x70, 0x65, 0x50, 0x45, 0x42, 0x28, 0x30, 0x42, 0x28, 0x33, 0x34, + 0x38, 0x39, 0x42, 0x28, 0x1B, 0x1B, 0x39, 0x36, 0x31, 0x30, 0x42, 0x28, 0x33, + 0x31, 0x42, 0x28, 0x00, 0x1B, 0x00, 0x1B, 0x38, 0x32, 0x37, 0x35, 0x31, 0x30, + 0x42, 0x28, 0x39, 0x35, 0x34, 0x31, 0x32, 0x42, 0x28, 0x31, 0x30, 0x33, 0x36, + 0x42, 0x28, 0x38, 0x35, 0x42, 0x28, 0x30, 0x34, 0x35, 0x37, 0x38, 0x39, 0x33, + 0x42, 0x28, 0x35, 0x36, 0x37, 0x38, 0x39, 0x30, 0x31, 0x32, 0x33, 0x34, 0x42, + 0x28, 0x30, 0x32, 0x34, 0x33, 0x31, 0x35, 0x36, 0x37, 0x38, 0x39, 0x42, 0x28, + 0x30, 0x33, 0x31, 0x32, 0x42, 0x28, 0x36, 0x39, 0x37, 0x34, 0x42, 0x28, 0x30, + 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x42, 0x28, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x36, 0x35, 0x34, 0x33, + 0x32, 0x31, 0x30, 0x42, 0x28, 0x31, 0x30, 0x32, 0x42, 0x28, 0x1B, 0x30, 0x42, + 0x28, 0x39, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x42, 0x28, + 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x32, 0x31, 0x30, 0x42, 0x28, 0x38, + 0x36, 0x42, 0x28, 0x37, 0x42, 0x28, 0x00, 0x1B, 0x00, 0x1B, 0x1B, 0x1B, 0x39, + 0x34, 0x36, 0x37, 0x38, 0x35, 0x33, 0x32, 0x31, 0x42, 0x28, 0x1B, 0x2D, 0x42, + 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x38, 0x39, + 0x42, 0x28, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x42, + 0x28, 0x36, 0x35, 0x37, 0x42, 0x28, 0x37, 0x30, 0x31, 0x32, 0x33, 0x36, 0x42, + 0x28, 0x31, 0x42, 0x28, 0x39, 0x38, 0x42, 0x28, 0x37, 0x38, 0x42, 0x28, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x35, 0x34, 0x32, 0x31, 0x30, + 0x42, 0x28, 0x32, 0x34, 0x35, 0x42, 0x28, 0x32, 0x33, 0x39, 0x42, 0x28, 0x30, + 0x32, 0x33, 0x37, 0x42, 0x28, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x42, 0x28, + 0x30, 0x34, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x34, 0x36, 0x35, 0x33, + 0x32, 0x31, 0x42, 0x28, 0x31, 0x33, 0x38, 0x42, 0x28, 0x33, 0x35, 0x42, 0x28, + 0x32, 0x30, 0x31, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x42, 0x28, 0x38, 0x42, + 0x28, 0x1B, 0x36, 0x35, 0x30, 0x42, 0x28, 0x30, 0x31, 0x32, 0x33, 0x42, 0x28, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x38, 0x37, 0x35, 0x33, 0x30, 0x42, 0x28, 0x31, + 0x34, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x38, 0x42, 0x28, 0x1B, 0x38, 0x42, + 0x28, 0x33, 0x34, 0x42, 0x28, 0x35, 0x33, 0x42, 0x28, 0x36, 0x33, 0x30, 0x31, + 0x38, 0x42, 0x28, 0x32, 0x39, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x39, 0x38, 0x37, 0x36, 0x34, 0x31, 0x42, 0x28, 0x34, 0x42, 0x28, 0x1B, 0x35, + 0x42, 0x28, 0x1B, 0x33, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x37, 0x33, + 0x32, 0x31, 0x30, 0x42, 0x28, 0x36, 0x42, 0x28, 0x1B, 0x34, 0x42, 0x28, 0x1B, + 0x36, 0x35, 0x42, 0x28, 0x39, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x30, + 0x34, 0x35, 0x37, 0x42, 0x28, 0x1B, 0x1B, 0x39, 0x37, 0x38, 0x35, 0x42, 0x28, + 0x30, 0x31, 0x42, 0x28, 0x32, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x37, + 0x42, 0x28, 0x1B, 0x1B, 0x37, 0x36, 0x33, 0x30, 0x42, 0x28, 0x36, 0x42, 0x28, + 0x1B, 0x37, 0x39, 0x42, 0x28, 0x38, 0x42, 0x28, 0x31, 0x32, 0x33, 0x42, 0x28, + 0x30, 0x35, 0x42, 0x28, 0x31, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x37, 0x36, + 0x35, 0x34, 0x42, 0x28, 0x1B, 0x1B, 0x32, 0x39, 0x33, 0x42, 0x28, 0x36, 0x42, + 0x28, 0x35, 0x42, 0x28, 0x30, 0x32, 0x33, 0x34, 0x35, 0x42, 0x28, 0x1B, 0x1B, + 0x1B, 0x30, 0x35, 0x33, 0x32, 0x42, 0x28, 0x33, 0x42, 0x28, 0x1B, 0x32, 0x42, + 0x28, 0x36, 0x37, 0x38, 0x39, 0x42, 0x28, 0x30, 0x34, 0x42, 0x28, 0x1B, 0x1B, + 0x35, 0x34, 0x42, 0x28, 0x38, 0x42, 0x28, 0x1B, 0x37, 0x42, 0x28, 0x35, 0x42, + 0x28, 0x1B, 0x34, 0x42, 0x28, 0x1B, 0x33, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x37, 0x34, 0x33, 0x31, 0x30, 0x42, 0x28, 0x32, 0x42, 0x28, 0x1B, 0x35, + 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x31, 0x42, 0x28, 0x34, 0x42, 0x28, 0x35, + 0x42, 0x28, 0x35, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x34, 0x33, 0x32, 0x31, + 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x1B, 0x32, 0x31, 0x42, 0x28, 0x30, + 0x42, 0x28, 0x37, 0x42, 0x28, 0x1B, 0x1B, 0x37, 0x33, 0x32, 0x42, 0x28, 0x39, + 0x33, 0x42, 0x28, 0x38, 0x33, 0x35, 0x36, 0x37, 0x42, 0x28, 0x30, 0x31, 0x32, + 0x35, 0x37, 0x38, 0x42, 0x28, 0x32, 0x42, 0x28, 0x00, 0x1B, 0x30, 0x32, 0x33, + 0x35, 0x36, 0x39, 0x38, 0x34, 0x31, 0x42, 0x28, 0x30, 0x31, 0x34, 0x38, 0x35, + 0x42, 0x28, 0x31, 0x37, 0x36, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x38, 0x39, 0x37, 0x36, 0x35, 0x33, 0x31, 0x42, 0x28, 0x30, 0x42, 0x28, 0x36, + 0x42, 0x28, 0x36, 0x42, 0x28, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x34, 0x36, 0x35, + 0x33, 0x42, 0x28, 0x38, 0x32, 0x33, 0x34, 0x36, 0x35, 0x42, 0x28, 0x34, 0x31, + 0x33, 0x30, 0x32, 0x36, 0x37, 0x38, 0x42, 0x28, 0x30, 0x32, 0x33, 0x34, 0x35, + 0x36, 0x37, 0x38, 0x39, 0x42, 0x28, 0x37, 0x38, 0x39, 0x42, 0x28, 0x1B, 0x00, + 0x33, 0x32, 0x36, 0x37, 0x39, 0x34, 0x42, 0x28, 0x30, 0x31, 0x36, 0x37, 0x38, + 0x39, 0x42, 0x28, 0x34, 0x35, 0x42, 0x28, 0x30, 0x42, 0x28, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, + 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x30, 0x74, + 0x54, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x42, 0x28, 0x31, + 0x30, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, 0x33, 0x30, 0x42, 0x28, + 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, + 0x38, 0x37, 0x35, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, 0x36, 0x30, + 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, 0x33, 0x32, 0x42, 0x28, 0x42, + 0x28, 0x1B, 0x30, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, + 0x1B, 0x37, 0x33, 0x32, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, + 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x39, 0x38, 0x37, 0x36, 0x35, 0x33, 0x31, 0x42, 0x28, 0x42, 0x28, 0x42, + 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x37, 0x36, 0x35, 0x34, 0x33, + 0x32, 0x31, 0x30, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x39, 0x38, 0x37, 0x35, 0x34, 0x33, 0x32, 0x30, 0x42, 0x28, 0x42, 0x28, 0x42, + 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x35, 0x34, 0x32, 0x31, 0x30, 0x42, + 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x42, + 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x38, 0x37, 0x35, 0x33, 0x30, 0x42, 0x28, 0x42, 0x28, 0x42, + 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x36, + 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x33, 0x32, 0x31, 0x30, 0x42, 0x28, 0x42, + 0x28, 0x1B, 0x39, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, + 0x1B, 0x1B, 0x1B, 0x1B, 0x37, 0x36, 0x35, 0x34, 0x42, 0x28, 0x1B, 0x1B, 0x39, + 0x33, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x35, + 0x33, 0x32, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x42, 0x28, 0x42, + 0x28, 0x1B, 0x1B, 0x35, 0x34, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x37, 0x42, 0x28, + 0x1B, 0x1B, 0x1B, 0x1B, 0x34, 0x33, 0x31, 0x30, 0x42, 0x28, 0x42, 0x28, 0x1B, + 0x31, 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, + 0x1B, 0x1B, 0x1B, 0x36, 0x35, 0x33, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x34, 0x42, + 0x28, 0x1B, 0x1B, 0x34, 0x30, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x39, 0x38, 0x35, 0x34, 0x31, 0x30, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x30, 0x42, + 0x28, 0x1B, 0x37, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x42, 0x28, + 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x1B, 0x34, 0x31, 0x42, 0x28, 0x42, 0x28, 0x1B, + 0x35, 0x42, 0x28, 0x1B, 0x33, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x37, 0x33, 0x32, + 0x42, 0x28, 0x42, 0x28, 0x1B, 0x34, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, 0x42, + 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x37, 0x42, 0x28, 0x1B, 0x1B, 0x38, 0x35, + 0x42, 0x28, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x37, 0x42, 0x28, 0x1B, + 0x33, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x34, 0x42, 0x28, 0x1B, 0x33, 0x42, 0x28, + 0x1B, 0x37, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x39, 0x42, + 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, + 0x34, 0x33, 0x32, 0x31, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x1B, 0x32, + 0x31, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x36, 0x35, 0x33, 0x32, + 0x31, 0x30, 0x42, 0x28, 0x1B, 0x64, 0x44, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, + 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x1B, + 0x1B, 0x63, 0x43, 0x39, 0x38, 0x37, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x2D, + 0x42, 0x28, 0x1B, 0x6D, 0x4D, 0x42, 0x28, 0x32, 0x42, 0x28, 0x1B, 0x2D, 0x42, + 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, 0x1B, 0x75, + 0x55, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, 0x1B, 0x34, + 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x31, 0x42, 0x28, + 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, + 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x6C, + 0x4C, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x2E, + 0x42, 0x28, 0x1B, 0x33, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x73, 0x53, + 0x42, 0x28, 0x1B, 0x77, 0x57, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, + 0x64, 0x44, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, + 0x28, 0x1B, 0x77, 0x57, 0x42, 0x28, 0x1B, 0x33, 0x35, 0x2D, 0x42, 0x28, 0x32, + 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, + 0x49, 0x42, 0x28, 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, + 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, + 0x28, 0x1B, 0x77, 0x57, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x64, + 0x44, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, + 0x1B, 0x77, 0x57, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x00, 0x1B, 0x00, 0x1B, + 0x36, 0x33, 0x34, 0x39, 0x37, 0x38, 0x35, 0x32, 0x31, 0x42, 0x28, 0x1B, 0x2D, + 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x38, 0x42, + 0x28, 0x30, 0x31, 0x39, 0x42, 0x28, 0x30, 0x42, 0x28, 0x37, 0x36, 0x42, 0x28, + 0x38, 0x42, 0x28, 0x38, 0x39, 0x34, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x33, 0x34, 0x32, 0x31, 0x30, 0x42, 0x28, 0x1B, 0x36, 0x35, 0x31, 0x42, 0x28, + 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x69, + 0x49, 0x38, 0x31, 0x42, 0x28, 0x53, 0x73, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, + 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, 0x1B, 0x34, 0x42, 0x28, + 0x31, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, + 0x42, 0x28, 0x1B, 0x3A, 0x42, 0x28, 0x1B, 0x76, 0x56, 0x42, 0x28, 0x1B, 0x72, + 0x52, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x2E, 0x42, 0x28, 0x1B, + 0x36, 0x42, 0x28, 0x1B, 0x34, 0x42, 0x28, 0x37, 0x42, 0x28, 0x1B, 0x38, 0x42, + 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x35, 0x3A, 0x42, + 0x28, 0x37, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, + 0x31, 0x42, 0x28, 0x1B, 0x3A, 0x42, 0x28, 0x38, 0x42, 0x28, 0x1B, 0x38, 0x42, + 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x3A, 0x42, 0x28, + 0x38, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, + 0x42, 0x28, 0x1B, 0x3A, 0x42, 0x28, 0x38, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, + 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x3A, 0x42, 0x28, 0x37, + 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, 0x42, + 0x28, 0x1B, 0x3A, 0x42, 0x28, 0x37, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, + 0x39, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x3A, 0x42, 0x28, 0x38, 0x42, + 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x3A, 0x42, 0x28, + 0x39, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, + 0x42, 0x28, 0x1B, 0x3A, 0x42, 0x28, 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x00, + 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x39, 0x38, + 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, + 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, + 0x1B, 0x38, 0x36, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x5F, 0x36, 0x2D, 0x42, 0x28, + 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, 0x1B, 0x1B, 0x73, 0x62, 0x61, 0x53, 0x42, + 0x41, 0x42, 0x28, 0x31, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x32, 0x42, + 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x58, 0x78, 0x42, 0x28, 0x1B, 0x5F, 0x42, + 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x2D, 0x42, + 0x28, 0x1B, 0x38, 0x42, 0x28, 0x4E, 0x6E, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, + 0x28, 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x1B, 0x72, 0x69, 0x52, 0x49, 0x42, + 0x28, 0x31, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, 0x1B, + 0x35, 0x42, 0x28, 0x1B, 0x5F, 0x42, 0x28, 0x39, 0x37, 0x42, 0x28, 0x1B, 0x38, + 0x42, 0x28, 0x1B, 0x39, 0x42, 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x2D, 0x42, + 0x28, 0x1B, 0x31, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, + 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x5F, 0x42, 0x28, 0x1B, 0x63, 0x43, 0x42, 0x28, + 0x1B, 0x1B, 0x63, 0x5F, 0x43, 0x42, 0x28, 0x1B, 0x1B, 0x73, 0x6F, 0x53, 0x4F, + 0x42, 0x28, 0x39, 0x42, 0x28, 0x1B, 0x31, 0x32, 0x33, 0x34, 0x35, 0x2D, 0x42, + 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, 0x1B, 0x74, + 0x54, 0x42, 0x28, 0x1B, 0x31, 0x32, 0x33, 0x34, 0x35, 0x61, 0x41, 0x42, 0x28, + 0x33, 0x42, 0x28, 0x49, 0x69, 0x42, 0x28, 0x1B, 0x6A, 0x4A, 0x42, 0x28, 0x1B, + 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x6B, 0x4B, 0x42, + 0x28, 0x1B, 0x1B, 0x39, 0x5F, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, 0x4F, + 0x6F, 0x42, 0x28, 0x1B, 0x72, 0x52, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, 0x28, + 0x1B, 0x65, 0x45, 0x42, 0x28, 0x1B, 0x2B, 0x42, 0x28, 0x1B, 0x30, 0x42, 0x28, + 0x1B, 0x35, 0x42, 0x28, 0x1B, 0x38, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, + 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x75, 0x55, 0x42, + 0x28, 0x1B, 0x67, 0x47, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, + 0x49, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, + 0x1B, 0x74, 0x54, 0x42, 0x28, 0x1B, 0x6C, 0x4C, 0x42, 0x28, 0x1B, 0x75, 0x55, + 0x42, 0x28, 0x1B, 0x6D, 0x4D, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x63, + 0x43, 0x42, 0x28, 0x38, 0x6F, 0x4F, 0x42, 0x28, 0x5F, 0x42, 0x28, 0x1B, 0x74, + 0x54, 0x42, 0x28, 0x1B, 0x66, 0x46, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, 0x28, + 0x1B, 0x68, 0x48, 0x42, 0x28, 0x2D, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, 0x28, + 0x1B, 0x69, 0x49, 0x42, 0x28, 0x32, 0x2D, 0x42, 0x28, 0x1B, 0x73, 0x53, 0x42, + 0x28, 0x73, 0x53, 0x42, 0x28, 0x1B, 0x61, 0x41, 0x42, 0x28, 0x1B, 0x2D, 0x42, + 0x28, 0x6C, 0x62, 0x4C, 0x42, 0x2D, 0x42, 0x28, 0x1B, 0x36, 0x42, 0x28, 0x6C, + 0x62, 0x4C, 0x42, 0x2D, 0x42, 0x28, 0x1B, 0x32, 0x42, 0x28, 0x1B, 0x1B, 0x38, + 0x33, 0x31, 0x42, 0x28, 0x1B, 0x38, 0x33, 0x31, 0x2D, 0x42, 0x28, 0x1B, 0x66, + 0x46, 0x42, 0x28, 0x1B, 0x00, 0x1B, 0x1B, 0x74, 0x73, 0x63, 0x54, 0x53, 0x43, + 0x42, 0x28, 0x39, 0x31, 0x42, 0x28, 0x1B, 0x2D, 0x42, 0x28, 0x1B, 0x73, 0x53, + 0x42, 0x28, 0x1B, 0x77, 0x57, 0x42, 0x28, 0x1B, 0x6F, 0x4F, 0x42, 0x28, 0x1B, + 0x64, 0x44, 0x42, 0x28, 0x1B, 0x6E, 0x4E, 0x42, 0x28, 0x1B, 0x69, 0x49, 0x42, + 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x35, 0x36, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x30, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, + 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x63, + 0x43, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, + 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, + 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x6E, + 0x4E, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, + 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, + 0x28, 0x1B, 0x62, 0x42, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x1B, 0x38, 0x36, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, + 0x31, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x34, 0x4A, 0x28, 0x1B, 0x2E, + 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, 0x78, 0x58, 0x4A, 0x28, 0x1B, 0x5F, + 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x4A, + 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x62, 0x42, 0x4A, 0x28, 0x1B, 0x61, + 0x41, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x30, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x6F, + 0x4F, 0x4A, 0x28, 0x1B, 0x1B, 0x43, 0x63, 0x6D, 0x4D, 0x4A, 0x28, 0x1B, 0x1B, + 0x1B, 0x1B, 0x52, 0x72, 0x73, 0x6E, 0x64, 0x53, 0x4E, 0x44, 0x4A, 0x28, 0x4A, + 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x6B, + 0x4B, 0x4A, 0x28, 0x1B, 0x68, 0x48, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, + 0x35, 0x4A, 0x28, 0x1B, 0x67, 0x47, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, + 0x1B, 0x39, 0x38, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x34, 0x4A, 0x28, 0x1B, 0x31, + 0x4A, 0x28, 0x1B, 0x1B, 0x31, 0x30, 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x1B, + 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, + 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x69, 0x67, 0x61, 0x49, 0x47, 0x41, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x33, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x32, + 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x33, 0x32, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x36, 0x35, + 0x31, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x33, + 0x31, 0x30, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x38, 0x37, 0x35, 0x34, 0x33, 0x30, 0x39, 0x32, 0x31, 0x2D, 0x4A, 0x28, + 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, + 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x61, + 0x41, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, + 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x62, 0x42, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, + 0x4A, 0x28, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x1B, 0x53, 0x73, 0x64, 0x44, 0x4A, + 0x28, 0x35, 0x4A, 0x28, 0x1B, 0x67, 0x47, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, + 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x65, 0x45, + 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, + 0x70, 0x50, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6A, 0x4A, 0x4A, + 0x28, 0x1B, 0x54, 0x74, 0x4A, 0x28, 0x1B, 0x6D, 0x4D, 0x4A, 0x28, 0x1B, 0x66, + 0x46, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x6B, 0x4B, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x54, 0x74, 0x4B, 0x6B, 0x70, 0x50, 0x4A, 0x28, + 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x31, 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, 0x4B, 0x6B, 0x32, 0x4A, 0x28, + 0x1B, 0x62, 0x42, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, + 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6B, 0x4B, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, + 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6B, + 0x4B, 0x4A, 0x28, 0x1B, 0x68, 0x48, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, + 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x77, 0x57, + 0x4A, 0x28, 0x1B, 0x66, 0x46, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x4A, + 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6D, + 0x4D, 0x4A, 0x28, 0x1B, 0x4F, 0x6F, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, + 0x1B, 0x1B, 0x50, 0x70, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, + 0x6D, 0x4D, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x34, 0x32, 0x4A, 0x28, 0x1B, 0x30, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x39, 0x38, 0x37, 0x4A, 0x28, 0x32, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x36, 0x35, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, + 0x28, 0x1B, 0x68, 0x48, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x35, + 0x30, 0x54, 0x74, 0x32, 0x31, 0x39, 0x38, 0x34, 0x4A, 0x28, 0x1B, 0x1B, 0x6D, + 0x62, 0x4D, 0x42, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x32, + 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, 0x32, 0x4A, + 0x28, 0x1B, 0x62, 0x42, 0x4A, 0x28, 0x1B, 0x67, 0x47, 0x4A, 0x28, 0x1B, 0x38, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, + 0x35, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x72, 0x52, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, + 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, + 0x79, 0x59, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x65, + 0x45, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x65, 0x45, + 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x62, 0x42, 0x4A, 0x28, 0x1B, + 0x45, 0x65, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x31, 0x32, 0x33, 0x34, 0x35, + 0x68, 0x67, 0x63, 0x61, 0x48, 0x47, 0x43, 0x41, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, + 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, 0x1B, + 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x6C, 0x4C, 0x38, 0x35, 0x4A, 0x28, + 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x1B, 0x73, 0x62, 0x53, 0x42, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, + 0x31, 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, 0x1B, 0x35, + 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x1B, 0x73, 0x6F, 0x53, 0x4F, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, + 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x62, + 0x42, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x67, 0x47, + 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, + 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, + 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x6D, + 0x4D, 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, + 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x62, 0x42, 0x4A, 0x28, 0x1B, 0x65, + 0x45, 0x4A, 0x28, 0x1B, 0x68, 0x48, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, + 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, 0x1B, 0x61, 0x41, + 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x34, + 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x67, 0x47, 0x4A, 0x28, 0x1B, + 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x70, 0x50, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, + 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x1B, + 0x1B, 0x63, 0x43, 0x36, 0x35, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, + 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x70, 0x50, 0x38, 0x37, 0x4A, 0x28, + 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, + 0x6A, 0x4A, 0x4A, 0x28, 0x1B, 0x54, 0x74, 0x4A, 0x28, 0x1B, 0x66, 0x46, 0x4A, + 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x68, 0x48, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, 0x1B, 0x53, 0x73, 0x4A, 0x28, + 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, + 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, + 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x4C, 0x6C, 0x42, 0x62, 0x4A, 0x28, + 0x1B, 0x36, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x4C, 0x6C, 0x42, + 0x62, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x1B, 0x38, 0x33, 0x31, 0x4A, + 0x28, 0x1B, 0x66, 0x46, 0x4A, 0x28, 0x1B, 0x1B, 0x74, 0x6E, 0x54, 0x4E, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x74, 0x54, + 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, + 0x31, 0x4A, 0x28, 0x1B, 0x1B, 0x31, 0x33, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, + 0x28, 0x1B, 0x77, 0x57, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x64, + 0x44, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x77, + 0x75, 0x74, 0x73, 0x70, 0x6B, 0x69, 0x68, 0x67, 0x65, 0x62, 0x61, 0x57, 0x55, + 0x54, 0x53, 0x50, 0x4B, 0x49, 0x48, 0x47, 0x45, 0x42, 0x41, 0x4A, 0x28, 0x4A, + 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x6C, + 0x4C, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x79, 0x73, 0x70, 0x68, 0x63, 0x59, 0x53, 0x50, + 0x48, 0x43, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x65, 0x45, + 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x79, 0x77, 0x75, 0x74, 0x73, 0x72, + 0x6E, 0x69, 0x68, 0x67, 0x66, 0x65, 0x64, 0x63, 0x62, 0x61, 0x59, 0x57, 0x55, + 0x54, 0x53, 0x52, 0x4E, 0x49, 0x48, 0x47, 0x46, 0x45, 0x44, 0x43, 0x42, 0x41, + 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, + 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x69, 0x49, + 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x1B, 0x79, 0x70, 0x59, 0x50, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, + 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, 0x28, 0x1B, 0x33, 0x4A, + 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, + 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, + 0x37, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x1B, + 0x4B, 0x6B, 0x65, 0x45, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, + 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, + 0x28, 0x1B, 0x34, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, + 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, + 0x52, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, + 0x1B, 0x2B, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, + 0x32, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, + 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, + 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x32, 0x4A, + 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x1B, 0x49, 0x69, 0x72, 0x52, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, + 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, + 0x38, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x62, + 0x42, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, 0x55, + 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, 0x28, 0x1B, 0x30, + 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, + 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6E, + 0x4E, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, + 0x1B, 0x74, 0x54, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, + 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, + 0x74, 0x54, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, + 0x55, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, 0x28, 0x1B, + 0x31, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x2D, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, + 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, 0x28, 0x1B, 0x30, 0x4A, + 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, + 0x1B, 0x1B, 0x1B, 0x74, 0x73, 0x6E, 0x54, 0x53, 0x4E, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6B, 0x4B, + 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x70, 0x50, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x65, 0x45, + 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x39, 0x4A, + 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x74, + 0x54, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x6F, 0x4F, 0x4A, 0x28, 0x65, + 0x45, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, 0x55, + 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, 0x28, 0x1B, 0x37, + 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x73, 0x53, + 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x75, 0x73, 0x6E, 0x6C, 0x6A, 0x69, 0x67, 0x66, 0x65, 0x64, 0x63, 0x55, 0x53, + 0x4E, 0x4C, 0x4A, 0x49, 0x47, 0x46, 0x45, 0x44, 0x43, 0x4A, 0x28, 0x1B, 0x2D, + 0x4A, 0x28, 0x00, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, + 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x31, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x61, + 0x41, 0x4A, 0x28, 0x1B, 0x6D, 0x4D, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x32, 0x4A, + 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x5F, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, + 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x68, 0x48, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x74, 0x6B, 0x6A, 0x63, 0x54, 0x4B, + 0x4A, 0x43, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x2D, 0x4A, 0x28, 0x1B, 0x63, 0x43, + 0x4A, 0x28, 0x5F, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, + 0x4A, 0x28, 0x1B, 0x66, 0x46, 0x4A, 0x28, 0x1B, 0x5F, 0x4A, 0x28, 0x1B, 0x74, + 0x54, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6D, 0x4D, 0x4A, 0x28, + 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x66, 0x46, + 0x4A, 0x28, 0x1B, 0x5F, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x65, + 0x45, 0x4A, 0x28, 0x1B, 0x6B, 0x4B, 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, + 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x70, 0x50, 0x4A, 0x28, 0x1B, 0x5F, 0x4A, + 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x6F, + 0x4F, 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x5F, 0x4A, 0x28, 0x1B, + 0x78, 0x58, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, + 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x5F, 0x4A, 0x28, 0x1B, 0x64, 0x44, + 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, + 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, + 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x78, 0x75, 0x6C, 0x63, 0x62, 0x58, 0x55, + 0x4C, 0x43, 0x42, 0x4A, 0x28, 0x2D, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, + 0x31, 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x4B, + 0x6B, 0x5F, 0x32, 0x4A, 0x28, 0x00, 0x1B, 0x6B, 0x4B, 0x4A, 0x28, 0x1B, 0x65, + 0x45, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x1B, 0x72, 0x62, 0x52, + 0x42, 0x4A, 0x28, 0x2D, 0x4A, 0x28, 0x1B, 0x70, 0x65, 0x50, 0x45, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x39, 0x36, 0x31, 0x30, 0x4A, 0x28, 0x4A, + 0x28, 0x00, 0x1B, 0x00, 0x1B, 0x38, 0x32, 0x37, 0x35, 0x31, 0x30, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x39, 0x38, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x4A, 0x28, 0x4A, + 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x1B, + 0x1B, 0x32, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x00, 0x1B, 0x00, + 0x1B, 0x1B, 0x1B, 0x39, 0x34, 0x36, 0x37, 0x38, 0x35, 0x33, 0x32, 0x31, 0x4A, + 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x35, + 0x34, 0x32, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x34, 0x36, 0x35, 0x33, 0x32, + 0x31, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x36, + 0x35, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x38, 0x37, + 0x35, 0x33, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x38, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x36, 0x34, 0x31, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x37, 0x33, 0x32, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x34, + 0x4A, 0x28, 0x1B, 0x36, 0x35, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, + 0x1B, 0x30, 0x34, 0x35, 0x37, 0x4A, 0x28, 0x1B, 0x1B, 0x39, 0x37, 0x38, 0x35, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x37, 0x4A, + 0x28, 0x1B, 0x1B, 0x37, 0x36, 0x33, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x37, + 0x39, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, + 0x1B, 0x1B, 0x37, 0x36, 0x35, 0x34, 0x4A, 0x28, 0x1B, 0x1B, 0x32, 0x39, 0x33, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x30, 0x35, + 0x33, 0x32, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x1B, 0x1B, 0x35, 0x34, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, + 0x4A, 0x28, 0x1B, 0x34, 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x37, 0x34, 0x33, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x35, + 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x34, 0x33, 0x32, 0x31, 0x4A, 0x28, 0x1B, 0x32, + 0x4A, 0x28, 0x1B, 0x1B, 0x32, 0x31, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x1B, 0x37, 0x33, 0x32, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x00, 0x1B, 0x30, 0x32, 0x33, 0x35, 0x36, 0x39, 0x38, 0x34, 0x31, 0x4A, + 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x38, 0x39, + 0x37, 0x36, 0x35, 0x33, 0x31, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x34, 0x36, 0x35, 0x33, 0x4A, 0x28, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x00, 0x33, 0x32, 0x36, 0x37, 0x39, + 0x34, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x4A, + 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x30, 0x74, 0x54, + 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x4A, 0x28, 0x31, 0x30, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x33, 0x30, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, + 0x37, 0x35, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x36, 0x30, 0x4A, + 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x33, 0x32, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, + 0x37, 0x33, 0x32, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x39, 0x38, 0x37, 0x36, 0x35, 0x33, 0x31, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, + 0x31, 0x30, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, + 0x38, 0x37, 0x35, 0x34, 0x33, 0x32, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x35, 0x34, 0x32, 0x31, 0x30, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x38, 0x37, 0x35, 0x33, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, 0x38, 0x37, 0x36, 0x4A, + 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x33, 0x32, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x39, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x1B, 0x1B, 0x1B, 0x37, 0x36, 0x35, 0x34, 0x4A, 0x28, 0x1B, 0x1B, 0x39, 0x33, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x35, 0x33, + 0x32, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x1B, 0x35, 0x34, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, + 0x1B, 0x1B, 0x1B, 0x34, 0x33, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x31, + 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x1B, 0x1B, 0x36, 0x35, 0x33, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x34, 0x4A, 0x28, + 0x1B, 0x1B, 0x34, 0x30, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x39, + 0x38, 0x35, 0x34, 0x31, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, + 0x1B, 0x37, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x38, 0x4A, 0x28, 0x1B, 0x1B, 0x34, 0x31, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x35, + 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x37, 0x33, 0x32, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x34, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x30, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, 0x1B, 0x38, 0x35, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x37, 0x4A, 0x28, 0x1B, 0x33, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x34, 0x4A, 0x28, 0x1B, 0x33, 0x4A, 0x28, 0x1B, + 0x37, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, + 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x34, + 0x33, 0x32, 0x31, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, 0x1B, 0x1B, 0x32, 0x31, + 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x36, 0x35, 0x33, 0x32, 0x31, + 0x30, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, + 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, + 0x63, 0x43, 0x39, 0x38, 0x37, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x2D, 0x4A, + 0x28, 0x1B, 0x6D, 0x4D, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, + 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, + 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, 0x1B, 0x34, 0x4A, 0x28, + 0x1B, 0x36, 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, + 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x74, + 0x54, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, + 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x2E, 0x4A, 0x28, 0x1B, + 0x33, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, + 0x77, 0x57, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, + 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x77, + 0x57, 0x4A, 0x28, 0x1B, 0x33, 0x35, 0x2D, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x2D, + 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, + 0x74, 0x54, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, + 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x77, 0x57, + 0x4A, 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, + 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x77, 0x57, 0x4A, + 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x00, 0x1B, 0x00, 0x1B, 0x36, 0x33, 0x34, 0x39, + 0x37, 0x38, 0x35, 0x32, 0x31, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x39, + 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x4A, 0x28, 0x4A, + 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x33, + 0x34, 0x32, 0x31, 0x30, 0x4A, 0x28, 0x1B, 0x36, 0x35, 0x31, 0x4A, 0x28, 0x1B, + 0x2D, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x69, 0x49, + 0x38, 0x31, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x2D, + 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, 0x1B, 0x34, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x39, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x3A, + 0x4A, 0x28, 0x1B, 0x76, 0x56, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, + 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x2E, 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, 0x1B, + 0x34, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, + 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x35, 0x3A, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x38, + 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x3A, 0x4A, + 0x28, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x31, + 0x4A, 0x28, 0x1B, 0x3A, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, + 0x39, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x3A, 0x4A, 0x28, 0x4A, 0x28, + 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, + 0x3A, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, + 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x3A, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x38, 0x4A, + 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x3A, 0x4A, 0x28, + 0x38, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x3A, + 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, + 0x31, 0x4A, 0x28, 0x1B, 0x3A, 0x4A, 0x28, 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, + 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x00, 0x1B, 0x39, + 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, + 0x28, 0x1B, 0x39, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, + 0x1B, 0x1B, 0x38, 0x36, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x5F, 0x36, 0x2D, 0x4A, + 0x28, 0x1B, 0x6F, 0x4F, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x73, 0x62, 0x61, 0x53, + 0x42, 0x41, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x1B, 0x32, 0x4A, + 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x1B, 0x58, 0x78, 0x4A, 0x28, 0x1B, 0x5F, 0x4A, + 0x28, 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x2D, 0x4A, + 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, + 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x1B, 0x72, 0x69, 0x52, 0x49, 0x4A, 0x28, 0x4A, + 0x28, 0x1B, 0x30, 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, + 0x1B, 0x5F, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x39, 0x4A, + 0x28, 0x1B, 0x31, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, 0x1B, 0x31, 0x4A, 0x28, + 0x1B, 0x30, 0x4A, 0x28, 0x1B, 0x36, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, + 0x5F, 0x4A, 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x1B, 0x1B, 0x63, 0x5F, 0x43, + 0x4A, 0x28, 0x1B, 0x1B, 0x73, 0x6F, 0x53, 0x4F, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x31, 0x32, 0x33, 0x34, 0x35, 0x2D, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, + 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, 0x1B, 0x31, 0x32, + 0x33, 0x34, 0x35, 0x61, 0x41, 0x4A, 0x28, 0x33, 0x4A, 0x28, 0x4A, 0x28, 0x1B, + 0x6A, 0x4A, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, + 0x28, 0x1B, 0x6B, 0x4B, 0x4A, 0x28, 0x1B, 0x1B, 0x39, 0x5F, 0x4A, 0x28, 0x1B, + 0x73, 0x53, 0x4A, 0x28, 0x4A, 0x28, 0x1B, 0x72, 0x52, 0x4A, 0x28, 0x1B, 0x75, + 0x55, 0x4A, 0x28, 0x1B, 0x65, 0x45, 0x4A, 0x28, 0x1B, 0x2B, 0x4A, 0x28, 0x1B, + 0x30, 0x4A, 0x28, 0x1B, 0x35, 0x4A, 0x28, 0x1B, 0x38, 0x4A, 0x28, 0x1B, 0x2D, + 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, 0x1B, + 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x67, 0x47, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, + 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, 0x1B, 0x69, + 0x49, 0x4A, 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, 0x1B, 0x6C, 0x4C, 0x4A, 0x28, + 0x1B, 0x75, 0x55, 0x4A, 0x28, 0x1B, 0x6D, 0x4D, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, + 0x28, 0x1B, 0x63, 0x43, 0x4A, 0x28, 0x38, 0x6F, 0x4F, 0x4A, 0x28, 0x5F, 0x4A, + 0x28, 0x1B, 0x74, 0x54, 0x4A, 0x28, 0x1B, 0x66, 0x46, 0x4A, 0x28, 0x1B, 0x69, + 0x49, 0x4A, 0x28, 0x1B, 0x68, 0x48, 0x4A, 0x28, 0x2D, 0x4A, 0x28, 0x1B, 0x73, + 0x53, 0x4A, 0x28, 0x1B, 0x69, 0x49, 0x4A, 0x28, 0x32, 0x2D, 0x4A, 0x28, 0x1B, + 0x73, 0x53, 0x4A, 0x28, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x61, 0x41, 0x4A, 0x28, + 0x1B, 0x2D, 0x4A, 0x28, 0x6C, 0x62, 0x4C, 0x42, 0x2D, 0x4A, 0x28, 0x1B, 0x36, + 0x4A, 0x28, 0x6C, 0x62, 0x4C, 0x42, 0x2D, 0x4A, 0x28, 0x1B, 0x32, 0x4A, 0x28, + 0x1B, 0x1B, 0x38, 0x33, 0x31, 0x4A, 0x28, 0x1B, 0x38, 0x33, 0x31, 0x2D, 0x4A, + 0x28, 0x1B, 0x66, 0x46, 0x4A, 0x28, 0x1B, 0x00, 0x1B, 0x1B, 0x74, 0x73, 0x63, + 0x54, 0x53, 0x43, 0x4A, 0x28, 0x39, 0x31, 0x4A, 0x28, 0x1B, 0x2D, 0x4A, 0x28, + 0x1B, 0x73, 0x53, 0x4A, 0x28, 0x1B, 0x77, 0x57, 0x4A, 0x28, 0x1B, 0x6F, 0x4F, + 0x4A, 0x28, 0x1B, 0x64, 0x44, 0x4A, 0x28, 0x1B, 0x6E, 0x4E, 0x4A, 0x28, 0x1B, + 0x69, 0x49, 0x4A, 0x28, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, + 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x78, 0x77, 0x75, 0x74, + 0x73, 0x72, 0x70, 0x6D, 0x6C, 0x6B, 0x6A, 0x69, 0x68, 0x67, 0x65, 0x63, 0x62, + 0x61, 0x58, 0x57, 0x55, 0x54, 0x53, 0x52, 0x50, 0x4D, 0x4C, 0x4B, 0x4A, 0x49, + 0x48, 0x47, 0x45, 0x43, 0x42, 0x41, 0x39, 0x38, 0x34, 0x78, 0x77, 0x75, 0x74, + 0x73, 0x72, 0x70, 0x6D, 0x6C, 0x6B, 0x6A, 0x69, 0x68, 0x67, 0x65, 0x63, 0x62, + 0x61, 0x58, 0x57, 0x55, 0x54, 0x53, 0x52, 0x50, 0x4D, 0x4C, 0x4B, 0x4A, 0x49, + 0x48, 0x47, 0x45, 0x43, 0x42, 0x41, 0x39, 0x38, 0x34, 0x4A, 0x42, 0x6E, 0x4E, + 0x69, 0x49, 0x64, 0x44, 0x6F, 0x4F, 0x63, 0x43, 0x6E, 0x4E, 0x65, 0x45, 0x2D, + 0x64, 0x44, 0x72, 0x52, 0x61, 0x41, 0x64, 0x44, 0x6E, 0x4E, 0x61, 0x41, 0x74, + 0x54, 0x73, 0x53, 0x2D, 0x65, 0x45, 0x62, 0x42, 0x38, 0x36, 0x39, 0x31, 0x2D, + 0x34, 0x2E, 0x33, 0x78, 0x58, 0x5F, 0x69, 0x49, 0x69, 0x49, 0x62, 0x42, 0x30, + 0x37, 0x2D, 0x6F, 0x4F, 0x69, 0x49, 0x43, 0x63, 0x6D, 0x4D, 0x61, 0x41, 0x73, + 0x53, 0x6F, 0x4F, 0x63, 0x43, 0x73, 0x53, 0x6B, 0x4B, 0x68, 0x48, 0x2D, 0x35, + 0x67, 0x47, 0x32, 0x35, 0x34, 0x31, 0x39, 0x38, 0x31, 0x30, 0x30, 0x64, 0x44, + 0x69, 0x49, 0x73, 0x53, 0x65, 0x45, 0x6E, 0x4E, 0x32, 0x30, 0x31, 0x33, 0x39, + 0x38, 0x37, 0x36, 0x35, 0x31, 0x37, 0x30, 0x33, 0x32, 0x36, 0x38, 0x39, 0x37, + 0x30, 0x33, 0x31, 0x30, 0x69, 0x67, 0x61, 0x49, 0x47, 0x41, 0x64, 0x44, 0x72, + 0x52, 0x61, 0x41, 0x64, 0x44, 0x6E, 0x4E, 0x61, 0x41, 0x74, 0x54, 0x73, 0x53, + 0x65, 0x45, 0x62, 0x42, 0x63, 0x43, 0x6F, 0x4F, 0x35, 0x67, 0x47, 0x73, 0x53, + 0x65, 0x45, 0x6E, 0x4E, 0x61, 0x41, 0x70, 0x50, 0x61, 0x41, 0x6A, 0x4A, 0x54, + 0x74, 0x6D, 0x4D, 0x66, 0x46, 0x64, 0x44, 0x6B, 0x4B, 0x4B, 0x6B, 0x54, 0x74, + 0x70, 0x50, 0x63, 0x43, 0x31, 0x33, 0x4B, 0x6B, 0x32, 0x6E, 0x4E, 0x61, 0x41, + 0x6B, 0x4B, 0x61, 0x41, 0x74, 0x54, 0x61, 0x41, 0x6B, 0x4B, 0x68, 0x48, 0x74, + 0x54, 0x64, 0x44, 0x69, 0x49, 0x77, 0x57, 0x66, 0x46, 0x6E, 0x4E, 0x61, 0x41, + 0x6D, 0x4D, 0x4F, 0x6F, 0x72, 0x52, 0x6C, 0x4C, 0x30, 0x39, 0x34, 0x32, 0x61, + 0x41, 0x68, 0x48, 0x31, 0x30, 0x37, 0x38, 0x39, 0x36, 0x35, 0x32, 0x39, 0x38, + 0x37, 0x30, 0x35, 0x30, 0x54, 0x74, 0x32, 0x31, 0x39, 0x38, 0x34, 0x6D, 0x4D, + 0x38, 0x32, 0x31, 0x33, 0x32, 0x62, 0x42, 0x67, 0x47, 0x31, 0x39, 0x35, 0x69, + 0x49, 0x6C, 0x4C, 0x6C, 0x4C, 0x69, 0x49, 0x72, 0x52, 0x65, 0x45, 0x65, 0x45, + 0x65, 0x45, 0x72, 0x52, 0x62, 0x42, 0x45, 0x65, 0x72, 0x52, 0x79, 0x59, 0x72, + 0x52, 0x31, 0x32, 0x33, 0x34, 0x35, 0x68, 0x67, 0x63, 0x61, 0x48, 0x47, 0x43, + 0x41, 0x6E, 0x4E, 0x69, 0x49, 0x74, 0x54, 0x61, 0x41, 0x38, 0x38, 0x6C, 0x4C, + 0x38, 0x35, 0x6F, 0x4F, 0x6D, 0x62, 0x4D, 0x42, 0x38, 0x38, 0x39, 0x31, 0x31, + 0x30, 0x36, 0x35, 0x63, 0x43, 0x69, 0x49, 0x69, 0x49, 0x74, 0x54, 0x6C, 0x4C, + 0x61, 0x41, 0x62, 0x42, 0x35, 0x61, 0x41, 0x75, 0x55, 0x67, 0x47, 0x6E, 0x4E, + 0x69, 0x49, 0x6C, 0x4C, 0x69, 0x49, 0x74, 0x54, 0x6C, 0x4C, 0x75, 0x55, 0x6D, + 0x4D, 0x65, 0x45, 0x72, 0x52, 0x62, 0x42, 0x65, 0x45, 0x68, 0x48, 0x6E, 0x4E, + 0x69, 0x49, 0x74, 0x54, 0x61, 0x41, 0x6C, 0x4C, 0x33, 0x34, 0x65, 0x45, 0x67, + 0x47, 0x61, 0x41, 0x70, 0x50, 0x65, 0x45, 0x64, 0x44, 0x6F, 0x4F, 0x32, 0x30, + 0x35, 0x38, 0x63, 0x43, 0x36, 0x35, 0x37, 0x70, 0x50, 0x38, 0x37, 0x69, 0x49, + 0x6A, 0x4A, 0x54, 0x74, 0x66, 0x46, 0x69, 0x49, 0x32, 0x36, 0x53, 0x73, 0x64, + 0x44, 0x6F, 0x4F, 0x63, 0x43, 0x42, 0x62, 0x4C, 0x6C, 0x42, 0x62, 0x4C, 0x6C, + 0x32, 0x36, 0x38, 0x33, 0x31, 0x66, 0x46, 0x69, 0x49, 0x35, 0x6E, 0x4E, 0x69, + 0x49, 0x74, 0x54, 0x61, 0x41, 0x6C, 0x4C, 0x31, 0x32, 0x31, 0x33, 0x73, 0x53, + 0x77, 0x57, 0x6F, 0x4F, 0x64, 0x44, 0x6E, 0x4E, 0x69, 0x49, 0x74, 0x6E, 0x54, + 0x4E, 0x69, 0x49, 0x68, 0x48, 0x63, 0x43, 0x73, 0x6F, 0x53, 0x4F, 0x73, 0x62, + 0x53, 0x42, 0x50, 0x70, 0x61, 0x41, 0x62, 0x42, 0x75, 0x55, 0x69, 0x49, 0x53, + 0x73, 0x64, 0x44, 0x69, 0x49, 0x6C, 0x4C, 0x6C, 0x4C, 0x69, 0x49, 0x72, 0x52, + 0x77, 0x75, 0x74, 0x73, 0x70, 0x6B, 0x69, 0x68, 0x67, 0x65, 0x62, 0x61, 0x57, + 0x55, 0x54, 0x53, 0x50, 0x4B, 0x49, 0x48, 0x47, 0x45, 0x42, 0x41, 0x38, 0x37, + 0x35, 0x34, 0x33, 0x30, 0x39, 0x32, 0x31, 0x2D, 0x69, 0x49, 0x73, 0x53, 0x63, + 0x43, 0x65, 0x45, 0x6F, 0x4F, 0x72, 0x52, 0x79, 0x77, 0x75, 0x74, 0x73, 0x72, + 0x6E, 0x69, 0x68, 0x67, 0x66, 0x65, 0x64, 0x63, 0x62, 0x61, 0x59, 0x57, 0x55, + 0x54, 0x53, 0x52, 0x4E, 0x49, 0x48, 0x47, 0x46, 0x45, 0x44, 0x43, 0x42, 0x41, + 0x69, 0x49, 0x6C, 0x4C, 0x6C, 0x4C, 0x69, 0x49, 0x72, 0x52, 0x2D, 0x72, 0x52, + 0x75, 0x55, 0x65, 0x45, 0x2B, 0x33, 0x37, 0x32, 0x72, 0x52, 0x75, 0x55, 0x65, + 0x45, 0x2B, 0x37, 0x37, 0x32, 0x2D, 0x2D, 0x72, 0x52, 0x75, 0x55, 0x65, 0x45, + 0x2B, 0x34, 0x38, 0x32, 0x2D, 0x72, 0x52, 0x75, 0x55, 0x65, 0x45, 0x2B, 0x38, + 0x37, 0x32, 0x72, 0x52, 0x75, 0x55, 0x65, 0x45, 0x2B, 0x37, 0x39, 0x32, 0x2D, + 0x2D, 0x72, 0x52, 0x75, 0x55, 0x65, 0x45, 0x2B, 0x35, 0x38, 0x32, 0x2D, 0x72, + 0x52, 0x75, 0x55, 0x65, 0x45, 0x2B, 0x30, 0x30, 0x35, 0x2D, 0x6C, 0x4C, 0x61, + 0x41, 0x6E, 0x4E, 0x6F, 0x4F, 0x69, 0x49, 0x74, 0x54, 0x61, 0x41, 0x6E, 0x4E, + 0x72, 0x52, 0x65, 0x45, 0x72, 0x52, 0x75, 0x55, 0x65, 0x45, 0x2B, 0x31, 0x37, + 0x38, 0x72, 0x52, 0x75, 0x55, 0x65, 0x45, 0x2B, 0x30, 0x38, 0x32, 0x2D, 0x2D, + 0x74, 0x54, 0x6E, 0x4E, 0x61, 0x41, 0x6B, 0x4B, 0x2D, 0x72, 0x52, 0x75, 0x55, + 0x65, 0x45, 0x2D, 0x2D, 0x39, 0x6E, 0x4E, 0x69, 0x49, 0x74, 0x54, 0x72, 0x52, + 0x75, 0x55, 0x65, 0x45, 0x2B, 0x37, 0x33, 0x2D, 0x73, 0x53, 0x65, 0x45, 0x6F, + 0x4F, 0x61, 0x41, 0x70, 0x50, 0x74, 0x73, 0x6E, 0x54, 0x53, 0x4E, 0x62, 0x42, + 0x49, 0x69, 0x72, 0x52, 0x73, 0x53, 0x4B, 0x6B, 0x65, 0x45, 0x79, 0x70, 0x59, + 0x50, 0x75, 0x73, 0x6E, 0x6C, 0x6A, 0x69, 0x67, 0x66, 0x65, 0x64, 0x63, 0x55, + 0x53, 0x4E, 0x4C, 0x4A, 0x49, 0x47, 0x46, 0x45, 0x44, 0x43, 0x00, 0x2D, 0x63, + 0x43, 0x69, 0x49, 0x64, 0x44, 0x31, 0x31, 0x2D, 0x61, 0x41, 0x32, 0x39, 0x5F, + 0x74, 0x54, 0x68, 0x48, 0x74, 0x6B, 0x6A, 0x63, 0x54, 0x4B, 0x4A, 0x43, 0x74, + 0x54, 0x2D, 0x5F, 0x72, 0x52, 0x6F, 0x4F, 0x66, 0x46, 0x5F, 0x74, 0x54, 0x61, + 0x41, 0x6D, 0x4D, 0x72, 0x52, 0x6F, 0x4F, 0x66, 0x46, 0x5F, 0x64, 0x44, 0x65, + 0x45, 0x6B, 0x4B, 0x63, 0x43, 0x61, 0x41, 0x70, 0x50, 0x5F, 0x65, 0x45, 0x64, + 0x44, 0x6F, 0x4F, 0x63, 0x43, 0x5F, 0x78, 0x58, 0x69, 0x49, 0x6E, 0x4E, 0x75, + 0x55, 0x5F, 0x64, 0x44, 0x65, 0x45, 0x64, 0x44, 0x6E, 0x4E, 0x65, 0x45, 0x74, + 0x54, 0x63, 0x43, 0x6F, 0x4F, 0x6D, 0x4D, 0x63, 0x43, 0x2D, 0x32, 0x31, 0x33, + 0x32, 0x00, 0x38, 0x6B, 0x4B, 0x65, 0x45, 0x65, 0x45, 0x4B, 0x6B, 0x5F, 0x32, + 0x00, 0xF8, 0x73, 0xD2, 0xC5, 0x66, 0xC5, 0x66, 0x2D, 0x00, 0x33, 0x31, 0x00, + 0x39, 0x36, 0x31, 0x30, 0x35, 0x30, 0x39, 0x38, 0x36, 0x35, 0x34, 0x33, 0x32, + 0x31, 0x30, 0x00, 0x37, 0x00, 0x38, 0x36, 0x32, 0x31, 0x30, 0x38, 0x32, 0x37, + 0x35, 0x31, 0x30, 0x39, 0x34, 0x36, 0x37, 0x38, 0x35, 0x33, 0x32, 0x31, 0x2D, + 0x61, 0x41, 0x36, 0x35, 0x30, 0x38, 0x32, 0x35, 0x33, 0x39, 0x38, 0x37, 0x36, + 0x34, 0x31, 0x38, 0x37, 0x35, 0x33, 0x30, 0x34, 0x36, 0x35, 0x33, 0x32, 0x31, + 0x39, 0x38, 0x35, 0x34, 0x32, 0x31, 0x30, 0x34, 0x30, 0x30, 0x34, 0x35, 0x37, + 0x36, 0x35, 0x32, 0x37, 0x37, 0x36, 0x35, 0x34, 0x37, 0x39, 0x34, 0x33, 0x37, + 0x35, 0x34, 0x32, 0x30, 0x35, 0x33, 0x32, 0x35, 0x34, 0x33, 0x32, 0x31, 0x32, + 0x39, 0x00, 0x32, 0x30, 0x32, 0x33, 0x35, 0x36, 0x39, 0x38, 0x34, 0x31, 0x00, + 0x36, 0x00, 0x30, 0x37, 0x38, 0x39, 0x00, 0x33, 0x32, 0x36, 0x37, 0x39, 0x34, + 0x34, 0x36, 0x35, 0x33, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x38, + 0x39, 0x37, 0x36, 0x35, 0x33, 0x31, 0x37, 0x33, 0x32, 0x32, 0x31, 0x37, 0x34, + 0x33, 0x31, 0x30, 0x32, 0x39, 0x33, 0x37, 0x36, 0x33, 0x30, 0x39, 0x37, 0x38, + 0x35, 0x37, 0x33, 0x32, 0x31, 0x30, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, + 0x30, 0x39, 0x38, 0x37, 0x36, 0x35, 0x33, 0x31, 0x37, 0x33, 0x32, 0x30, 0x33, + 0x32, 0x36, 0x30, 0x39, 0x38, 0x37, 0x35, 0x33, 0x30, 0x39, 0x38, 0x37, 0x36, + 0x38, 0x37, 0x35, 0x33, 0x30, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x39, 0x38, + 0x35, 0x34, 0x32, 0x31, 0x30, 0x37, 0x36, 0x35, 0x34, 0x39, 0x37, 0x35, 0x34, + 0x32, 0x35, 0x33, 0x32, 0x31, 0x34, 0x36, 0x35, 0x33, 0x34, 0x30, 0x36, 0x34, + 0x33, 0x31, 0x30, 0x39, 0x33, 0x33, 0x32, 0x31, 0x30, 0x39, 0x38, 0x37, 0x35, + 0x34, 0x33, 0x32, 0x30, 0x30, 0x38, 0x32, 0x35, 0x33, 0x34, 0x31, 0x37, 0x34, + 0x30, 0x37, 0x35, 0x32, 0x37, 0x34, 0x33, 0x35, 0x34, 0x33, 0x32, 0x31, 0x32, + 0x39, 0x32, 0x31, 0x37, 0x33, 0x38, 0x35, 0x37, 0x33, 0x32, 0x39, 0x38, 0x35, + 0x34, 0x31, 0x30, 0x36, 0x35, 0x33, 0x32, 0x31, 0x30, 0x64, 0x44, 0x69, 0x49, + 0x73, 0x53, 0x63, 0x43, 0x31, 0x30, 0x30, 0x74, 0x54, 0x39, 0x38, 0x37, 0x36, + 0x35, 0x34, 0x33, 0x32, 0x31, 0x63, 0x43, 0x39, 0x38, 0x37, 0x35, 0x34, 0x33, + 0x32, 0x31, 0x30, 0x2D, 0x2D, 0x73, 0x53, 0x63, 0x43, 0x75, 0x55, 0x2D, 0x36, + 0x34, 0x36, 0x2D, 0x6E, 0x4E, 0x69, 0x49, 0x74, 0x54, 0x61, 0x41, 0x6C, 0x4C, + 0x2D, 0x31, 0x2E, 0x33, 0x2D, 0x73, 0x53, 0x77, 0x57, 0x6F, 0x4F, 0x64, 0x44, + 0x6E, 0x4E, 0x69, 0x49, 0x77, 0x57, 0x2D, 0x6E, 0x4E, 0x69, 0x49, 0x74, 0x54, + 0x61, 0x41, 0x6C, 0x4C, 0x2D, 0x73, 0x53, 0x77, 0x57, 0x6F, 0x4F, 0x64, 0x44, + 0x6E, 0x4E, 0x69, 0x49, 0x77, 0x57, 0x00, 0x2D, 0x00, 0x33, 0x35, 0x2D, 0x36, + 0x33, 0x34, 0x39, 0x37, 0x38, 0x35, 0x32, 0x31, 0x2D, 0x39, 0x35, 0x33, 0x34, + 0x32, 0x31, 0x30, 0x36, 0x35, 0x31, 0x2D, 0x72, 0x52, 0x38, 0x30, 0x75, 0x55, + 0x2D, 0x36, 0x39, 0x39, 0x31, 0x3A, 0x76, 0x56, 0x72, 0x52, 0x69, 0x49, 0x2E, + 0x36, 0x38, 0x39, 0x31, 0x38, 0x39, 0x31, 0x38, 0x39, 0x31, 0x38, 0x39, 0x31, + 0x38, 0x39, 0x31, 0x38, 0x39, 0x31, 0x38, 0x39, 0x31, 0x38, 0x39, 0x31, 0x38, + 0x39, 0x31, 0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A, 0x00, + 0x3A, 0x00, 0x3A, 0x00, 0x3A, 0x00, 0x35, 0x3A, 0x39, 0x38, 0x37, 0x36, 0x35, + 0x34, 0x33, 0x32, 0x31, 0x2D, 0x39, 0x35, 0x38, 0x34, 0x38, 0x36, 0x34, 0x69, + 0x49, 0x38, 0x31, 0x5F, 0x36, 0x2D, 0xB6, 0xE6, 0xC5, 0x66, 0xD9, 0x9B, 0xF8, + 0xD5, 0x76, 0xC1, 0x62, 0xD4, 0x75, 0x77, 0xD6, 0xD9, 0x9B, 0x60, 0xC2, 0x63, + 0x6F, 0x4F, 0x6D, 0x4D, 0x6E, 0x4E, 0x30, 0x32, 0x30, 0x58, 0x78, 0x5F, 0x73, + 0x53, 0x2D, 0x61, 0x41, 0x65, 0x45, 0x38, 0x30, 0x36, 0x35, 0x38, 0x39, 0x31, + 0x2D, 0x31, 0x30, 0x36, 0x35, 0x5F, 0x63, 0x43, 0x5F, 0x63, 0x5F, 0x43, 0x72, + 0x69, 0x52, 0x49, 0x31, 0x32, 0x33, 0x34, 0x35, 0x2D, 0x6E, 0x4E, 0x69, 0x49, + 0x74, 0x54, 0x6A, 0x4A, 0x6E, 0x4E, 0x61, 0x41, 0x6B, 0x4B, 0x33, 0x39, 0x5F, + 0x72, 0x52, 0x75, 0x55, 0x65, 0x45, 0x2B, 0x30, 0x35, 0x38, 0x2D, 0x6C, 0x4C, + 0x61, 0x41, 0x75, 0x55, 0x67, 0x47, 0x6E, 0x4E, 0x69, 0x49, 0x6C, 0x4C, 0x69, + 0x49, 0x74, 0x54, 0x6C, 0x4C, 0x75, 0x55, 0x6D, 0x4D, 0x2D, 0xF1, 0xF0, 0xF2, + 0xF0, 0xA7, 0xB7, 0xE7, 0x6D, 0xE2, 0xAB, 0xA2, 0x5F, 0x74, 0x54, 0x66, 0x46, + 0x69, 0x49, 0x2D, 0x73, 0x53, 0x32, 0x2D, 0x73, 0x53, 0x61, 0x41, 0x6C, 0x62, + 0x4C, 0x42, 0x2D, 0x6C, 0x62, 0x4C, 0x42, 0x2D, 0x32, 0x36, 0x38, 0x33, 0x31, + 0x38, 0x33, 0x31, 0x2D, 0x66, 0x46, 0x00, 0x2D, 0x73, 0x53, 0x39, 0x31, 0x2D, + 0x73, 0x53, 0x77, 0x57, 0x6F, 0x4F, 0x64, 0x44, 0x6E, 0x4E, 0x68, 0xC7, 0xD5, + 0x76, 0xC9, 0x71, 0xC4, 0x65, 0xD6, 0x77, 0xC3, 0x64, 0xD5, 0x76, 0xC5, 0x66, + 0x60, 0xC4, 0x65, 0xD9, 0x9B, 0xC1, 0x62, 0xC4, 0x65, 0xD5, 0x76, 0xC1, 0x62, + 0xE3, 0xB3, 0xE2, 0xAB, 0x60, 0xC5, 0x66, 0xC2, 0x63, 0xF6, 0xF8, 0xF8, 0xF6, + 0xF9, 0xF1, 0x60, 0xF4, 0x4B, 0xF3, 0xE7, 0xB7, 0xA7, 0x6D, 0xC9, 0x89, 0x71, + 0x87, 0xC7, 0xD5, 0x95, 0xC9, 0x89, 0xC4, 0x84, 0xD6, 0x96, 0xC3, 0x83, 0xD5, + 0x95, 0xC5, 0x85, 0x60, 0xC4, 0x84, 0xD9, 0x99, 0xC1, 0x81, 0xC4, 0x84, 0xD5, + 0x95, 0xC1, 0x81, 0xE3, 0xA3, 0xE2, 0xA2, 0x60, 0xC5, 0x85, 0xC2, 0x82, 0x83, + 0xC3, 0xC9, 0x89, 0xC2, 0x82, 0x64, 0xC3, 0xC9, 0x71, 0xC2, 0x63, 0xC9, 0x89, + 0x71, 0xF8, 0xF0, 0xF7, 0x60, 0xD6, 0x96, 0x77, 0xC9, 0x89, 0x71, 0x64, 0x83, + 0xC3, 0xD4, 0x94, 0x75, 0xC1, 0x62, 0xC1, 0x81, 0xD6, 0x96, 0xE2, 0xAB, 0xA2, + 0xD6, 0x77, 0x66, 0xC5, 0xE2, 0xAB, 0xC5, 0x66, 0xD5, 0x76, 0xAB, 0xE2, 0x9B, + 0xD9, 0x9B, 0xD9, 0xF7, 0xF0, 0xF7, 0xF7, 0xF7, 0xF0, 0xF3, 0xF4, 0xF5, 0xF1, + 0xF0, 0xF0, 0xF1, 0xF2, 0xF3, 0xF5, 0xF6, 0xF9, 0xF4, 0xF7, 0xF5, 0xF2, 0xF1, + 0xF0, 0xF4, 0xF3, 0xF0, 0xF9, 0xF8, 0xF5, 0xF6, 0xF7, 0xF3, 0xF2, 0xF6, 0xF9, + 0xF3, 0xC9, 0xC7, 0xC1, 0x71, 0x68, 0x62, 0xC4, 0x65, 0xD9, 0x9B, 0xC1, 0x62, + 0xC4, 0x65, 0xD5, 0x76, 0xC1, 0x62, 0xE3, 0xB3, 0xE2, 0xAB, 0xC5, 0x66, 0xC2, + 0x63, 0x71, 0xC9, 0xC9, 0x71, 0xC3, 0x64, 0xD6, 0x77, 0xAB, 0xE2, 0xC3, 0x64, + 0xE2, 0xAB, 0xD2, 0x73, 0xC8, 0x69, 0xF5, 0xC7, 0x68, 0x66, 0xC5, 0xE2, 0xAB, + 0xC5, 0x66, 0xD5, 0x76, 0xC1, 0x62, 0xD7, 0x78, 0xC1, 0x62, 0xD1, 0x72, 0xB3, + 0xE3, 0xD4, 0x75, 0xC6, 0x67, 0xC4, 0x65, 0x69, 0xC8, 0xD2, 0x73, 0x9B, 0xD9, + 0xE3, 0xD7, 0xD2, 0xB3, 0x78, 0x73, 0xC3, 0x64, 0xF2, 0xF1, 0xF3, 0x73, 0xD2, + 0xF2, 0x62, 0xC1, 0xD5, 0x76, 0xC1, 0x62, 0xD2, 0x73, 0xC1, 0x62, 0xE3, 0xB3, + 0xC1, 0x62, 0xD2, 0x73, 0xC8, 0x69, 0xE3, 0xB3, 0xC4, 0x65, 0xC9, 0x71, 0xE6, + 0xB6, 0xC6, 0x67, 0xD3, 0x74, 0xF4, 0xF0, 0xF9, 0x71, 0xC9, 0xC1, 0x62, 0xF8, + 0xF4, 0xF2, 0xF5, 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, + 0xF4, 0xF1, 0xF9, 0xF8, 0xF7, 0xF6, 0xF4, 0xF2, 0xF0, 0xF4, 0xF5, 0xF3, 0xF8, + 0xF7, 0xF0, 0xF0, 0xF1, 0xF0, 0xF1, 0xF3, 0xF5, 0xF6, 0xF9, 0xF8, 0xF4, 0xF1, + 0xF5, 0xF7, 0xF8, 0xF3, 0xF5, 0xF1, 0xF0, 0xF9, 0xF8, 0xF7, 0xF6, 0xF5, 0xF0, + 0xF2, 0xF9, 0xF8, 0xF7, 0xF0, 0xF3, 0xF1, 0xF0, 0x69, 0xC8, 0xF9, 0xF8, 0xF5, + 0xF4, 0xF2, 0xF1, 0xF0, 0xE3, 0xB3, 0x75, 0xD4, 0x64, 0xC3, 0xC9, 0x71, 0xD3, + 0x74, 0xD3, 0x74, 0xC9, 0x71, 0xD9, 0x9B, 0x73, 0xD2, 0xC5, 0x66, 0xC5, 0x66, + 0xC5, 0x66, 0xD9, 0x9B, 0xE8, 0xB8, 0xD9, 0x9B, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, + 0xC8, 0xC7, 0xC3, 0xC1, 0x69, 0x68, 0x64, 0x62, 0xD5, 0x76, 0xC9, 0x71, 0xE3, + 0xB3, 0xF0, 0xF8, 0xF2, 0xF1, 0xF3, 0xF2, 0x63, 0xC2, 0xC7, 0x68, 0xF3, 0xF5, + 0xF1, 0xF9, 0xF5, 0xF8, 0xF8, 0xC1, 0x62, 0xF8, 0xF5, 0xD3, 0x74, 0xD6, 0x77, + 0xD4, 0xC2, 0x75, 0x63, 0x9B, 0xD9, 0xF8, 0xF7, 0xF8, 0xF9, 0xF1, 0xF1, 0xF0, + 0xF6, 0xF5, 0x64, 0xC3, 0xC9, 0x71, 0xF2, 0xF5, 0x64, 0xC3, 0xC9, 0x71, 0xE3, + 0xB3, 0xD3, 0x74, 0xC1, 0x62, 0xC2, 0x63, 0xF5, 0xF3, 0xF4, 0x66, 0xC5, 0xC7, + 0x68, 0xC1, 0x62, 0xD7, 0x78, 0xC5, 0x66, 0xC4, 0x65, 0x74, 0xD3, 0xC1, 0x62, + 0xE4, 0xB4, 0xC7, 0x68, 0xD5, 0x76, 0xC9, 0x71, 0xD3, 0x74, 0xC9, 0x71, 0xE3, + 0xB3, 0xD3, 0x74, 0xE4, 0xB4, 0xD4, 0x75, 0xB6, 0xE6, 0xC5, 0x66, 0xD9, 0x9B, + 0xC2, 0x63, 0xC5, 0x66, 0xC8, 0x69, 0xD5, 0x76, 0xC9, 0x71, 0xE3, 0xB3, 0xC1, + 0x62, 0xD3, 0x74, 0xF2, 0xF0, 0xD6, 0x77, 0xF6, 0xF5, 0xC3, 0x64, 0xF7, 0xF8, + 0x78, 0xD7, 0xF8, 0xF7, 0xAB, 0xE2, 0xC9, 0x71, 0xD1, 0x72, 0xB3, 0xE3, 0xC6, + 0x67, 0xC9, 0x71, 0xF0, 0xF2, 0xF6, 0xAB, 0xE2, 0x66, 0xC5, 0xC4, 0x65, 0xD6, + 0x77, 0xC3, 0x64, 0x66, 0xC5, 0x66, 0xC5, 0xD3, 0xC2, 0x74, 0x63, 0x66, 0xC5, + 0x66, 0xC5, 0xD3, 0xC2, 0x74, 0x63, 0xF2, 0xF6, 0xF8, 0xF3, 0xF1, 0xC6, 0x67, + 0xC9, 0x71, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0xF0, 0xF5, 0xF1, + 0xF2, 0x76, 0xD5, 0xC9, 0x71, 0xE3, 0xB3, 0xC1, 0x62, 0xD3, 0x74, 0xF1, 0xF2, + 0xF1, 0xF3, 0xE2, 0xAB, 0xE6, 0xB6, 0xD6, 0x77, 0xC4, 0x65, 0xD5, 0x76, 0xC9, + 0x71, 0xE3, 0xD5, 0xB3, 0x76, 0xC9, 0x71, 0xC8, 0x69, 0xC3, 0x64, 0xE2, 0xD6, + 0xAB, 0x77, 0xE2, 0xC2, 0xAB, 0x63, 0xD7, 0xC1, 0x78, 0x62, 0xC2, 0x63, 0xE4, + 0xB4, 0xC9, 0x71, 0xE2, 0xC4, 0xAB, 0x65, 0x64, 0xC3, 0xC9, 0x71, 0xD3, 0x74, + 0xD3, 0x74, 0xC9, 0x71, 0xD9, 0x9B, 0xE6, 0xE4, 0xE3, 0xE2, 0xD7, 0xD2, 0xC9, + 0xC8, 0xC7, 0xC5, 0xC2, 0xC1, 0xB6, 0xB4, 0xB3, 0xAB, 0x78, 0x73, 0x71, 0x69, + 0x68, 0x66, 0x63, 0x62, 0xF7, 0xF4, 0xF3, 0xF9, 0xF8, 0xF2, 0xF0, 0x60, 0xC9, + 0x71, 0xF1, 0xF2, 0x66, 0xC5, 0xC3, 0x64, 0xC5, 0x66, 0xB4, 0xE4, 0xB3, 0xE3, + 0xAB, 0xE2, 0x9B, 0xD9, 0x66, 0xC5, 0xD6, 0x77, 0x74, 0xD3, 0xB3, 0xE3, 0xAB, + 0xE2, 0x66, 0xC5, 0x63, 0xC2, 0x9B, 0xD9, 0x71, 0xC9, 0x9B, 0xD9, 0xAB, 0xE2, + 0x62, 0xC1, 0x69, 0xC8, 0x66, 0xC5, 0x9B, 0xD9, 0xE8, 0xE6, 0xE4, 0xE3, 0xE2, + 0xD9, 0xD5, 0xC9, 0xC8, 0xC7, 0xC6, 0xC5, 0xC3, 0xC2, 0xC1, 0xB8, 0xB6, 0xB4, + 0xB3, 0xAB, 0x9B, 0x76, 0x71, 0x69, 0x68, 0x67, 0x66, 0x64, 0x63, 0x62, 0x60, + 0x77, 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, 0x66, 0x4E, 0xF3, 0xF7, 0xF2, 0x77, + 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, 0x66, 0x4E, 0xF7, 0xF7, 0xF2, 0x60, 0x60, + 0x77, 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, 0x66, 0x4E, 0xF4, 0xF8, 0xF2, 0x60, + 0x77, 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, 0x66, 0x4E, 0xF8, 0xF7, 0xF2, 0x77, + 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, 0x66, 0x4E, 0xF7, 0xF9, 0xF2, 0x60, 0x60, + 0x77, 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, 0x66, 0x4E, 0xF5, 0xF8, 0xF2, 0x60, + 0x77, 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, 0x66, 0x4E, 0xF0, 0xF0, 0xF5, 0x60, + 0xD3, 0x74, 0xC1, 0x62, 0xD5, 0x76, 0xD6, 0x77, 0xC9, 0x71, 0xE3, 0xB3, 0xC1, + 0x62, 0xD5, 0x76, 0xD9, 0x9B, 0xC5, 0x66, 0x77, 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, + 0xC5, 0x66, 0x4E, 0xF1, 0xF7, 0xF8, 0x77, 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, + 0x66, 0x4E, 0xF0, 0xF8, 0xF2, 0x60, 0x60, 0xE3, 0xB3, 0x62, 0xC1, 0xD5, 0x76, + 0x81, 0xC1, 0xD5, 0x95, 0xC1, 0x81, 0xC1, 0x62, 0xD2, 0x92, 0x73, 0x60, 0x77, + 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, 0xC5, 0x66, 0x60, 0x60, 0xF9, 0xD5, 0x76, 0xC9, + 0x71, 0x96, 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x60, 0x60, 0xF9, 0xD5, + 0x95, 0xC9, 0x89, 0xE3, 0xA3, 0xE3, 0xB3, 0x85, 0xC5, 0xC3, 0x83, 0xC5, 0x85, + 0xA4, 0xE4, 0xA3, 0xE3, 0xA2, 0xE2, 0x99, 0xD9, 0x85, 0xC5, 0xD6, 0x96, 0xA3, + 0xE3, 0xA2, 0xE2, 0x85, 0xC5, 0x82, 0xC2, 0x99, 0xD9, 0x89, 0xC9, 0x99, 0xD9, + 0xA2, 0xE2, 0x81, 0xC1, 0x88, 0xC8, 0x85, 0xC5, 0xD9, 0x99, 0x93, 0xD3, 0x77, + 0x96, 0xD6, 0x73, 0x92, 0xD2, 0xE8, 0xE6, 0xE4, 0xE3, 0xE2, 0xD9, 0xD5, 0xC9, + 0xC8, 0xC7, 0xC6, 0xC5, 0xC4, 0xC3, 0xC2, 0xC1, 0xA8, 0xA6, 0xA4, 0xA3, 0xA2, + 0x99, 0x95, 0x89, 0x88, 0x87, 0x86, 0x85, 0x84, 0x83, 0x82, 0x81, 0x76, 0x65, + 0x83, 0xC3, 0xC9, 0x89, 0xD3, 0x93, 0xD3, 0x93, 0xC9, 0x89, 0x64, 0xC3, 0xC9, + 0x71, 0xD3, 0x74, 0xD3, 0x74, 0xC9, 0x71, 0xD9, 0x9B, 0xD9, 0x99, 0x60, 0x96, + 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x4E, 0xF3, 0xF7, 0xF2, 0x96, 0xD6, + 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x4E, 0xF7, 0xF7, 0xF2, 0x60, 0x60, 0x96, + 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x4E, 0xF4, 0xF8, 0xF2, 0x60, 0x96, + 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x4E, 0xF8, 0xF7, 0xF2, 0x96, 0xD6, + 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x4E, 0xF7, 0xF9, 0xF2, 0x60, 0x60, 0x96, + 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x4E, 0xF5, 0xF8, 0xF2, 0x60, 0x96, + 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x4E, 0xF0, 0xF0, 0xF5, 0x60, 0xD3, + 0x93, 0xC1, 0x81, 0xD5, 0x95, 0xD6, 0x96, 0xC9, 0x89, 0xE3, 0xA3, 0xC1, 0x81, + 0xD5, 0x95, 0xD9, 0x99, 0xC5, 0x85, 0x96, 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, + 0x85, 0x4E, 0xF1, 0xF7, 0xF8, 0x96, 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, + 0x4E, 0xF0, 0xF8, 0xF2, 0x60, 0x60, 0xE3, 0xA3, 0x96, 0xD6, 0xD9, 0x99, 0xE4, + 0xA4, 0xC5, 0x85, 0x4E, 0xF7, 0xF3, 0x60, 0x77, 0xD6, 0xD9, 0x9B, 0xE4, 0xB4, + 0xC5, 0x66, 0x4E, 0xF7, 0xF3, 0x60, 0xE2, 0xAB, 0xC5, 0x66, 0xE2, 0xA2, 0xC5, + 0x85, 0xD6, 0x96, 0xE3, 0xE2, 0xD5, 0xA3, 0xA2, 0x95, 0xC2, 0x82, 0x89, 0xC9, + 0xD9, 0x99, 0xE2, 0xA2, 0x92, 0xD2, 0xC5, 0x85, 0xE8, 0xD7, 0xB8, 0xA8, 0x97, + 0x78, 0xD6, 0x77, 0xC1, 0x81, 0x62, 0xD7, 0x97, 0x78, 0xE3, 0xE2, 0xD5, 0xB3, + 0xAB, 0x76, 0xC2, 0x63, 0x71, 0xC9, 0xD9, 0x9B, 0xE2, 0xAB, 0x73, 0xD2, 0xC5, + 0x66, 0xD7, 0x78, 0xE4, 0xE2, 0xD5, 0xD3, 0xD1, 0xC9, 0xC7, 0xC6, 0xC5, 0xC4, + 0xC3, 0xB4, 0xAB, 0xA4, 0xA2, 0x95, 0x93, 0x91, 0x89, 0x87, 0x86, 0x85, 0x84, + 0x83, 0x76, 0x74, 0x72, 0x71, 0x68, 0x67, 0x66, 0x65, 0x64, 0x00, 0x60, 0xC3, + 0x83, 0x64, 0xC9, 0x89, 0x71, 0xC4, 0x84, 0x65, 0xF4, 0xF8, 0xF1, 0xF1, 0x60, + 0xC1, 0x81, 0x62, 0xF8, 0xF2, 0xF9, 0x6D, 0xE3, 0xB3, 0xA3, 0x6E, 0xC8, 0x88, + 0x69, 0x99, 0x9B, 0xD9, 0x78, 0x97, 0xD7, 0x76, 0x95, 0xD5, 0x69, 0x88, 0xC8, + 0xE3, 0xD2, 0xD1, 0xC3, 0xB3, 0xA3, 0x92, 0x91, 0x83, 0x73, 0x72, 0x64, 0xE3, + 0xB3, 0xA3, 0x60, 0x85, 0xC5, 0xE2, 0xA2, 0xC5, 0x85, 0xD5, 0x95, 0xC1, 0x81, + 0xD7, 0x97, 0xC1, 0x81, 0xD1, 0x91, 0x6D, 0xD9, 0x99, 0xD6, 0x96, 0xC6, 0x86, + 0x6D, 0xE3, 0xA3, 0xC1, 0x81, 0xD4, 0x94, 0xD9, 0x99, 0xD6, 0x96, 0xC6, 0x86, + 0x6D, 0xC4, 0x84, 0xC5, 0x85, 0xD2, 0x92, 0xC3, 0x83, 0xC1, 0x81, 0xD7, 0x97, + 0x6D, 0xC5, 0x85, 0xC4, 0x84, 0xD6, 0x96, 0xC3, 0x83, 0x6D, 0xE7, 0xA7, 0xC9, + 0x89, 0xD5, 0x95, 0xE4, 0xA4, 0x6D, 0xC4, 0x84, 0xC5, 0x85, 0xC4, 0x84, 0xD5, + 0x95, 0xC5, 0x85, 0x6D, 0xD9, 0x9B, 0xD6, 0x77, 0xC6, 0x67, 0x6D, 0xE3, 0xB3, + 0xC1, 0x62, 0xD4, 0x75, 0xD9, 0x9B, 0xD6, 0x77, 0xC6, 0x67, 0x6D, 0xC4, 0x65, + 0xC5, 0x66, 0xD2, 0x73, 0xC3, 0x64, 0xC1, 0x62, 0xD7, 0x78, 0x6D, 0xC5, 0x66, + 0xC4, 0x65, 0xD6, 0x77, 0xC3, 0x64, 0x6D, 0xE7, 0xB7, 0xC9, 0x71, 0xD5, 0x76, + 0xE4, 0xB4, 0x6D, 0xC4, 0x65, 0xC5, 0x66, 0xC4, 0x65, 0xD5, 0x76, 0xC5, 0x66, + 0xE3, 0xB3, 0xE3, 0xA3, 0xC3, 0x83, 0x64, 0xD6, 0x96, 0x77, 0xD4, 0x94, 0x75, + 0xC3, 0x83, 0x64, 0xF3, 0xF4, 0xF8, 0xF9, 0xF0, 0x00, 0xF3, 0xF1, 0x00, 0xF9, + 0xF6, 0xF1, 0xF0, 0xF9, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0xF0, + 0xF6, 0xF9, 0xF4, 0xF7, 0xF0, 0xF3, 0xF2, 0xF1, 0xF0, 0xF2, 0xF4, 0xF9, 0xF8, + 0xF7, 0xF6, 0xF5, 0xF3, 0xF1, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, 0xF4, 0xF3, 0xF2, + 0xF1, 0xF0, 0xF9, 0xF8, 0xF7, 0xF5, 0xF4, 0xF3, 0xF0, 0xF8, 0xF5, 0xF1, 0xF0, + 0xF3, 0xF6, 0xF9, 0xF4, 0xF1, 0xF2, 0xF5, 0xF2, 0xF1, 0xF0, 0xF9, 0xF0, 0xF1, + 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF5, 0xF0, 0xF9, 0xF8, 0xF6, 0xF5, + 0xF4, 0xF3, 0xF2, 0xF1, 0xF0, 0x00, 0xF7, 0x00, 0xF6, 0xF8, 0xF2, 0xF1, 0xF0, + 0xF2, 0xF7, 0xF5, 0xF8, 0xF1, 0xF0, 0xF9, 0xF4, 0xF6, 0xF7, 0xF8, 0xF5, 0xF3, + 0xF2, 0xF1, 0x60, 0x62, 0xC1, 0xF8, 0xF7, 0xF9, 0xF8, 0xF1, 0xF7, 0xF6, 0xF3, + 0xF2, 0xF1, 0xF0, 0xF6, 0xF7, 0xF5, 0xF9, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, + 0xF2, 0xF1, 0xF0, 0xF9, 0xF8, 0xF4, 0xF0, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, + 0xF7, 0xF3, 0xF2, 0xF0, 0xF9, 0xF3, 0xF2, 0xF5, 0xF4, 0xF2, 0xF8, 0xF3, 0xF2, + 0xF1, 0xF0, 0xF6, 0xF5, 0xF0, 0xF2, 0xF0, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, + 0xF1, 0xF3, 0xF5, 0xF1, 0xF3, 0xF8, 0xF4, 0xF1, 0xF8, 0xF9, 0xF2, 0xF6, 0xF3, + 0xF8, 0xF1, 0xF0, 0xF5, 0xF3, 0xF3, 0xF4, 0xF8, 0xF2, 0xF4, 0xF5, 0xF3, 0xF9, + 0xF8, 0xF7, 0xF6, 0xF4, 0xF1, 0xF8, 0xF7, 0xF5, 0xF3, 0xF0, 0xF4, 0xF6, 0xF5, + 0xF3, 0xF2, 0xF1, 0xF9, 0xF8, 0xF5, 0xF4, 0xF2, 0xF1, 0xF0, 0xF6, 0xF4, 0xF9, + 0xF0, 0xF0, 0xF4, 0xF5, 0xF7, 0xF6, 0xF5, 0xF2, 0xF2, 0xF7, 0xF1, 0xF0, 0xF6, + 0xF1, 0xF5, 0xF0, 0xF3, 0xF2, 0xF1, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF7, 0xF9, + 0xF5, 0xF4, 0xF3, 0xF2, 0xF0, 0xF5, 0xF6, 0xF3, 0xF0, 0xF4, 0xF6, 0xF7, 0xF8, + 0xF9, 0xF8, 0xF5, 0xF4, 0xF3, 0xF7, 0xF5, 0xF4, 0xF2, 0xF0, 0xF5, 0xF3, 0xF2, + 0xF2, 0xF5, 0xF5, 0xF5, 0xF4, 0xF1, 0xF4, 0xF3, 0xF2, 0xF1, 0xF2, 0xF9, 0xF7, + 0xF0, 0x00, 0xF2, 0xF1, 0xF7, 0xF6, 0xF0, 0xF1, 0xF4, 0xF8, 0xF5, 0xF0, 0xF2, + 0xF3, 0xF5, 0xF6, 0xF9, 0xF8, 0xF4, 0xF1, 0xF0, 0xF1, 0xF2, 0xF5, 0xF7, 0xF8, + 0xF8, 0xF7, 0xF6, 0xF5, 0xF3, 0xF9, 0xF3, 0xF6, 0x00, 0xF6, 0x00, 0xF0, 0xF7, + 0xF8, 0xF9, 0x00, 0xF0, 0xF5, 0xF4, 0xF9, 0xF8, 0xF7, 0xF6, 0xF1, 0xF0, 0xF3, + 0xF9, 0xF7, 0xF6, 0xF4, 0xF2, 0xF9, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, + 0xF0, 0xF4, 0xF1, 0xF3, 0xF0, 0xF8, 0xF7, 0xF6, 0xF2, 0xF8, 0xF2, 0xF3, 0xF4, + 0xF6, 0xF5, 0xF4, 0xF6, 0xF5, 0xF3, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, + 0xF0, 0xF8, 0xF9, 0xF7, 0xF6, 0xF5, 0xF3, 0xF1, 0xF7, 0xF3, 0xF2, 0xF2, 0xF1, + 0xF7, 0xF4, 0xF3, 0xF1, 0xF0, 0xF2, 0xF9, 0xF3, 0xF7, 0xF6, 0xF3, 0xF0, 0xF9, + 0xF7, 0xF8, 0xF5, 0xF7, 0xF3, 0xF2, 0xF1, 0xF0, 0xF0, 0xF9, 0xF8, 0xF7, 0xF6, + 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0x60, 0xF8, 0xF9, 0xF4, 0xF8, 0xF7, 0xF6, 0xF0, + 0xF0, 0xF1, 0xF9, 0xF3, 0xF4, 0xF2, 0xF1, 0xF0, 0xF6, 0xF5, 0xF1, 0x60, 0x9B, + 0xD9, 0xC9, 0x71, 0x60, 0xD6, 0x77, 0xD4, 0x75, 0xD5, 0x76, 0x76, 0xD5, 0xC1, + 0x62, 0xC5, 0x66, 0xD9, 0x9B, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xD5, 0x76, 0xC9, + 0x71, 0xE3, 0xB3, 0x60, 0xF5, 0xA2, 0xE2, 0xC3, 0x83, 0xE2, 0xA2, 0xD2, 0x92, + 0xC8, 0x88, 0x60, 0xF5, 0xC7, 0x87, 0xC7, 0x68, 0xF1, 0xF0, 0xF0, 0xC4, 0x84, + 0x65, 0xC9, 0x89, 0x71, 0xA2, 0xE2, 0x99, 0xD9, 0x99, 0xD9, 0xF2, 0xF3, 0xF8, + 0xF0, 0xF1, 0xF2, 0xF3, 0xF5, 0xF6, 0xF9, 0xF8, 0xF4, 0xF9, 0xF6, 0xF4, 0xF3, + 0xF5, 0xF1, 0xF3, 0xF0, 0xF5, 0xF9, 0xF8, 0xF7, 0xF6, 0xF1, 0xF9, 0xF8, 0xF7, + 0xF0, 0xC9, 0xC7, 0xC1, 0x89, 0x87, 0x81, 0x85, 0xC5, 0xE2, 0xA2, 0xC5, 0x85, + 0xD5, 0x95, 0xC4, 0x84, 0xD9, 0x99, 0xC1, 0x81, 0xC4, 0x84, 0xD5, 0x95, 0xC1, + 0x81, 0xE3, 0xA3, 0xE2, 0xA2, 0xC5, 0x85, 0xC2, 0x82, 0x89, 0xC9, 0xC9, 0x89, + 0xC3, 0x83, 0xD6, 0x96, 0xF5, 0xC7, 0x87, 0xE3, 0xA3, 0xD4, 0x94, 0xC6, 0x86, + 0xC4, 0x84, 0x88, 0xC8, 0xD2, 0x92, 0x99, 0xD9, 0xE3, 0xD7, 0xD2, 0xA3, 0x97, + 0x92, 0xC3, 0x83, 0x92, 0xD2, 0xF2, 0xC1, 0x81, 0xD5, 0x95, 0xC1, 0x81, 0xD2, + 0x92, 0xC1, 0x81, 0xE3, 0xA3, 0xC1, 0x81, 0xD2, 0x92, 0xC8, 0x88, 0xE3, 0xA3, + 0xC4, 0x84, 0xC9, 0x89, 0xE6, 0xA6, 0xC6, 0x86, 0x95, 0xD5, 0xC1, 0x81, 0xD4, + 0x94, 0x96, 0xD6, 0xD9, 0x99, 0xD3, 0x93, 0x89, 0xC9, 0xC1, 0x81, 0x88, 0xC8, + 0xF5, 0xF2, 0xF1, 0xF0, 0xF9, 0xF8, 0xF4, 0xE3, 0xA3, 0xD4, 0x94, 0xC3, 0x83, + 0xC9, 0x89, 0xD3, 0x93, 0xD3, 0x93, 0xC9, 0x89, 0xD9, 0x99, 0x92, 0xD2, 0xC5, + 0x85, 0xC5, 0x85, 0xA6, 0xE6, 0xC5, 0x85, 0xD9, 0x99, 0xC2, 0x82, 0x85, 0xC5, + 0xD9, 0x99, 0xE8, 0xA8, 0xD9, 0x99, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xC8, 0xC7, + 0xC3, 0xC1, 0x88, 0x87, 0x83, 0x81, 0xD5, 0x95, 0xC9, 0x89, 0xE3, 0xA3, 0xC2, + 0x82, 0xC7, 0x87, 0xF8, 0xC1, 0x81, 0xF8, 0xF5, 0xD3, 0x93, 0xD6, 0x96, 0xD4, + 0xC2, 0x94, 0x82, 0x99, 0xD9, 0xF8, 0xC3, 0x83, 0xC9, 0x89, 0x83, 0xC3, 0xC9, + 0x89, 0xE3, 0xA3, 0xD3, 0x93, 0xC1, 0x81, 0xC2, 0x82, 0xF5, 0xC5, 0x85, 0xC7, + 0x87, 0xC1, 0x81, 0xD7, 0x97, 0xC5, 0x85, 0xC4, 0x84, 0x93, 0xD3, 0xC1, 0x81, + 0xE4, 0xA4, 0xC7, 0x87, 0xD5, 0x95, 0xC9, 0x89, 0xD3, 0x93, 0xC9, 0x89, 0xE3, + 0xA3, 0xD3, 0x93, 0xE4, 0xA4, 0xD4, 0x94, 0xA6, 0xE6, 0xC5, 0x85, 0xD9, 0x99, + 0xC2, 0x82, 0xC5, 0x85, 0xC8, 0x88, 0xD5, 0x95, 0xC9, 0x89, 0xE3, 0xA3, 0xC1, + 0x81, 0xD3, 0x93, 0xF2, 0xF0, 0xD6, 0x96, 0xF6, 0xF5, 0xC3, 0x83, 0xF7, 0xF8, + 0xF7, 0xD7, 0x97, 0xE2, 0xA2, 0xC9, 0x89, 0xD1, 0x91, 0xA3, 0xE3, 0xC6, 0x86, + 0xC9, 0x89, 0xA2, 0xE2, 0x85, 0xC5, 0xC4, 0x84, 0xD6, 0x96, 0xC3, 0x83, 0x85, + 0xC5, 0x85, 0xC5, 0xD3, 0xC2, 0x93, 0x82, 0x85, 0xC5, 0x85, 0xC5, 0xD3, 0xC2, + 0x93, 0x82, 0xF2, 0xF6, 0xF8, 0xF3, 0xF1, 0xC6, 0x86, 0xC9, 0x89, 0xD5, 0x95, + 0xC9, 0x89, 0xE3, 0xA3, 0xC1, 0x81, 0xD3, 0x93, 0xF1, 0xF1, 0xF3, 0xE2, 0xA2, + 0xE6, 0xA6, 0xD6, 0x96, 0xC4, 0x84, 0xD5, 0x95, 0xC9, 0x89, 0xE3, 0xD5, 0xA3, + 0x95, 0xC9, 0x89, 0xC8, 0x88, 0xC3, 0x83, 0xE2, 0xD6, 0xA2, 0x96, 0xE2, 0xC2, + 0xA2, 0x82, 0x97, 0xD7, 0xC1, 0x81, 0xC2, 0x82, 0xE4, 0xA4, 0xC9, 0x89, 0xE2, + 0xC4, 0xA2, 0x84, 0x83, 0xC3, 0xC9, 0x89, 0xD3, 0x93, 0xD3, 0x93, 0xC9, 0x89, + 0xD9, 0x99, 0xE6, 0xE4, 0xE3, 0xE2, 0xD7, 0xD2, 0xC9, 0xC8, 0xC7, 0xC5, 0xC2, + 0xC1, 0xA6, 0xA4, 0xA3, 0xA2, 0x97, 0x92, 0x89, 0x88, 0x87, 0x85, 0x82, 0x81, + 0xC9, 0x89, 0xF7, 0xF4, 0xF3, 0xF5, 0xF0, 0xF8, 0xF9, 0xF2, 0xF1, 0x60, 0xE2, + 0xAB, 0xA2, 0x60, 0xF2, 0xF1, 0xF3, 0xF2, 0xD2, 0x92, 0xC5, 0x85, 0xC5, 0x85, + 0x73, 0x92, 0xD2, 0xF2, 0x6D, 0x60, 0xC8, 0x88, 0x69, 0xF7, 0xF0, 0xF7, 0xF0, + 0xF5, 0xF4, 0xF0, 0xF8, 0xF7, 0xF3, 0xF6, 0xF7, 0xF0, 0xF1, 0xF7, 0xF4, 0xF3, + 0xF0, 0xF0, 0xF5, 0xF7, 0xF0, 0xF7, 0xF1, 0xF6, 0xF0, 0xF4, 0xF8, 0xF1, 0xF0, + 0xF5, 0xF9, 0xF6, 0xF5, 0xF3, 0xF2, 0xF1, 0xF0, 0xF8, 0xF4, 0xF7, 0xF5, 0xF2, + 0xF1, 0xF0, 0xF8, 0xF8, 0xF3, 0xF5, 0xF6, 0xF7, 0xF9, 0xF3, 0xF0, 0xF4, 0xF5, + 0xF0, 0xF1, 0xF6, 0xF7, 0xF8, 0xF9, 0xF3, 0xF2, 0xF4, 0xF6, 0xF7, 0xF9, 0xF0, + 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, 0xF0, 0xF3, 0xF1, 0xF4, 0xF2, + 0xF6, 0xF7, 0xF8, 0xF5, 0xF4, 0xF3, 0xF2, 0xF6, 0xF8, 0xF4, 0xF5, 0xF3, 0xF7, + 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0xF0, 0xF9, 0xF8, 0xF7, 0xF6, 0xF5, 0xF3, + 0xF1, 0xF7, 0xF3, 0xF2, 0xF0, 0xF3, 0xF2, 0xF6, 0xF0, 0xF9, 0xF8, 0xF7, 0xF5, + 0xF3, 0xF0, 0xF7, 0xF8, 0xF9, 0xF8, 0xF1, 0xF7, 0xF0, 0xF1, 0xF2, 0xF3, 0xF6, + 0xF6, 0xF5, 0xF7, 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, + 0xF8, 0xF9, 0xF0, 0xF4, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, 0xF8, 0xF7, + 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0xF0, 0xF0, 0xF2, 0xF3, 0xF7, 0xF2, 0xF3, + 0xF9, 0xF2, 0xF4, 0xF5, 0xF0, 0xF1, 0xF2, 0xF3, 0xF6, 0xF5, 0xF0, 0xF2, 0xF1, + 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF5, 0xF3, 0xF8, 0xF3, 0xF1, 0xF2, 0xF9, + 0xF6, 0xF3, 0xF0, 0xF1, 0xF8, 0xF5, 0xF3, 0xF3, 0xF4, 0xF9, 0xF8, 0xF7, 0xF6, + 0xF8, 0xF7, 0xF5, 0xF3, 0xF0, 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0xF9, 0xF8, + 0xF5, 0xF4, 0xF2, 0xF1, 0xF0, 0xF6, 0xF1, 0xF0, 0xF5, 0xF1, 0xF2, 0xF3, 0xF8, + 0xF7, 0xF6, 0xF5, 0xF4, 0xF9, 0xF0, 0xF2, 0xF3, 0xF4, 0xF5, 0xF5, 0xF6, 0xF3, + 0xF4, 0xF0, 0xF9, 0xF8, 0xF7, 0xF6, 0xF8, 0xF7, 0xF5, 0xF4, 0xF2, 0xF5, 0xF3, + 0xF2, 0xF2, 0xF1, 0xF6, 0xF6, 0xF0, 0xF9, 0xF8, 0xF7, 0xF4, 0xF6, 0xF5, 0xF3, + 0xF4, 0xF0, 0xF6, 0xF4, 0xF3, 0xF1, 0xF0, 0xF9, 0xF3, 0xF3, 0xF2, 0xF1, 0xF0, + 0xF9, 0xF8, 0xF7, 0xF5, 0xF4, 0xF3, 0xF2, 0xF0, 0xF8, 0xF0, 0xF1, 0xF4, 0xF8, + 0xF8, 0xF2, 0xF4, 0xF5, 0xF3, 0xF4, 0xF1, 0xF7, 0xF6, 0xF4, 0xF9, 0xF0, 0xF7, + 0xF5, 0xF2, 0xF2, 0xF7, 0xF5, 0xF4, 0xF3, 0xF2, 0xF5, 0xF5, 0xF5, 0xF4, 0xF1, + 0xF4, 0xF3, 0xF2, 0xF1, 0xF2, 0xF9, 0xF2, 0xF1, 0xF7, 0xF3, 0xF8, 0xF5, 0xF7, + 0xF3, 0xF2, 0xF9, 0xF8, 0xF5, 0xF4, 0xF1, 0xF0, 0xF6, 0xF5, 0xF3, 0xF2, 0xF1, + 0xF0, 0xC4, 0x84, 0x65, 0xC9, 0x89, 0x71, 0xE2, 0xAB, 0xA2, 0xF1, 0xF0, 0xC3, + 0x83, 0x64, 0xF9, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0xF0, 0xE3, + 0xB3, 0xA3, 0xF9, 0xF8, 0xF7, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0xF0, 0xC3, 0x83, + 0x64, 0x60, 0xC1, 0x81, 0xF2, 0x60, 0xE2, 0xAB, 0xA2, 0xC3, 0x83, 0x64, 0xE4, + 0xB4, 0xA4, 0x60, 0xF6, 0xF4, 0xF6, 0xF1, 0x60, 0x76, 0xD5, 0xC9, 0x71, 0xE3, + 0xB3, 0xC1, 0x62, 0xD3, 0x74, 0x60, 0xF1, 0x4B, 0xF3, 0x60, 0xE2, 0xAB, 0xE6, + 0xB6, 0xD6, 0x77, 0xC4, 0x65, 0xD5, 0x95, 0xC9, 0x89, 0xE3, 0xA3, 0xC1, 0x81, + 0xD3, 0x93, 0x60, 0xF1, 0x4B, 0xF3, 0x60, 0xE2, 0xA2, 0xE6, 0xA6, 0xD6, 0x96, + 0xC4, 0x84, 0xD5, 0x95, 0xD5, 0x76, 0xC9, 0x89, 0x71, 0xE6, 0xB6, 0xA6, 0xF2, + 0x60, 0x76, 0xD5, 0xC9, 0x71, 0xE3, 0xB3, 0xC1, 0x62, 0xD3, 0x74, 0x60, 0xE2, + 0xAB, 0xE6, 0xB6, 0xD6, 0x77, 0xC4, 0x65, 0xD5, 0x95, 0xC9, 0x89, 0xE3, 0xA3, + 0xC1, 0x81, 0xD3, 0x93, 0x60, 0xE2, 0xA2, 0xE6, 0xA6, 0xD6, 0x96, 0xC4, 0x84, + 0xD5, 0x95, 0xD5, 0x76, 0xC9, 0x89, 0x71, 0xE6, 0xB6, 0xA6, 0x00, 0x60, 0x00, + 0xF5, 0xF3, 0x60, 0xF6, 0xF3, 0xF4, 0xF9, 0xF7, 0xF8, 0xF5, 0xF2, 0xF1, 0x60, + 0xF9, 0xF5, 0xF8, 0xF0, 0xD9, 0x99, 0xF1, 0xF9, 0xF9, 0xF1, 0x7A, 0xB5, 0xE5, + 0xE5, 0xA5, 0xD9, 0x99, 0xD9, 0x9B, 0xC9, 0x89, 0x71, 0x4B, 0xF6, 0xF7, 0xF8, + 0xF9, 0xF1, 0xF7, 0xF8, 0xF9, 0xF1, 0xF8, 0xF8, 0xF9, 0xF1, 0xF8, 0xF8, 0xF9, + 0xF1, 0xF8, 0xF8, 0xF9, 0xF1, 0xF7, 0xF8, 0xF9, 0xF1, 0xF7, 0xF8, 0xF9, 0xF1, + 0xF8, 0xF9, 0xF1, 0xF9, 0xF8, 0xF9, 0xF1, 0x00, 0x7A, 0x00, 0x7A, 0x00, 0x7A, + 0x00, 0x7A, 0x00, 0x7A, 0x00, 0x7A, 0x00, 0x7A, 0x00, 0x7A, 0x00, 0xF5, 0x7A, + 0xF9, 0xF8, 0xF7, 0xF6, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0x60, 0xF9, 0xF5, 0xF8, + 0xF4, 0xA2, 0xAB, 0xE2, 0xE4, 0xB4, 0xA4, 0x60, 0xF6, 0xF4, 0xF8, 0xF6, 0xF8, + 0xF1, 0xC9, 0x89, 0xF6, 0x6D, 0x60, 0xD6, 0x96, 0x77, 0xD5, 0x95, 0xD4, 0x94, + 0x75, 0xD9, 0x9B, 0x99, 0x60, 0x95, 0xD5, 0xC1, 0x81, 0xC5, 0x85, 0xF8, 0xF1, + 0xF0, 0xF6, 0xF5, 0xF9, 0xF7, 0xF8, 0xF9, 0xF1, 0x60, 0xF1, 0xF0, 0xF6, 0xF5, + 0x6D, 0xC3, 0x83, 0x64, 0x6D, 0xC3, 0x83, 0x6D, 0x64, 0xD9, 0xC9, 0x99, 0x89, + 0x71, 0xF9, 0x60, 0xD5, 0x76, 0xC9, 0x71, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0x60, + 0xD5, 0x95, 0xC9, 0x89, 0xE3, 0xA3, 0xE3, 0xB3, 0x71, 0xC9, 0xD1, 0x72, 0x89, + 0xC9, 0xD1, 0x91, 0xD5, 0x95, 0xD5, 0x76, 0xC1, 0x81, 0x62, 0xF3, 0xD2, 0x92, + 0x73, 0xF9, 0x6D, 0x96, 0xD6, 0xD9, 0x99, 0xE4, 0xA4, 0xC5, 0x85, 0x4E, 0xF0, + 0xF5, 0xF8, 0x60, 0xD3, 0x93, 0xC1, 0x81, 0xE4, 0xA4, 0xC7, 0x87, 0xD5, 0x95, + 0xC9, 0x89, 0xD3, 0x93, 0xC9, 0x89, 0xE3, 0xA3, 0xD6, 0x77, 0xD9, 0x9B, 0xE4, + 0xB4, 0xC5, 0x66, 0x4E, 0xF0, 0xF5, 0xF8, 0x60, 0xD3, 0x74, 0xC1, 0x62, 0xE4, + 0xB4, 0xC7, 0x68, 0xD5, 0x76, 0xC9, 0x71, 0xD3, 0x74, 0xC9, 0x71, 0xE3, 0xB3, + 0xD3, 0x74, 0xD3, 0x93, 0xE4, 0xB4, 0xA4, 0xD4, 0x94, 0x75, 0x60, 0x6D, 0xE3, + 0xB3, 0xC6, 0x67, 0x6D, 0xE3, 0xA3, 0xC6, 0x86, 0xC9, 0x89, 0xC9, 0x71, 0x60, + 0xE2, 0xAB, 0xA2, 0xF2, 0x60, 0xC3, 0x83, 0x64, 0xE2, 0xAB, 0xA2, 0xC1, 0x81, + 0x62, 0xC5, 0x85, 0x66, 0xC5, 0x85, 0x66, 0x74, 0x93, 0xD3, 0x63, 0x82, 0xC2, + 0xD3, 0xC2, 0x93, 0x82, 0x74, 0x63, 0x60, 0xC5, 0x85, 0x66, 0xC5, 0x85, 0x66, + 0x74, 0x93, 0xD3, 0x63, 0x82, 0xC2, 0xD3, 0xC2, 0x93, 0x82, 0x74, 0x63, 0x60, + 0xF2, 0xF6, 0xF8, 0xF3, 0xF1, 0xF8, 0xF3, 0xF1, 0x60, 0xC6, 0x86, 0x67, 0x00, + 0x60, 0xE2, 0xAB, 0xA2, 0xF9, 0xF1, 0x60, 0xA2, 0xE2, 0xE6, 0xA6, 0xD6, 0x96, + 0xC4, 0x84, 0xD5, 0x95, 0xE2, 0xAB, 0xE6, 0xB6, 0xD6, 0x77, 0xC4, 0x65, 0xD5, + 0x76, 0xF9, 0xF6, 0xF5, 0xF3, 0xF2, 0xF1, 0xF0, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, + 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, + 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, + 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, + 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, + 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, + 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xF6, 0xF5, 0xC9, 0x71, 0xC9, 0x89, + 0xE3, 0xE2, 0xC3, 0xB3, 0xAB, 0xA3, 0xA2, 0x83, 0x64, 0xC9, 0x89, 0x71, 0xC8, + 0x88, 0x69, 0xF8, 0xD6, 0x77, 0xF8, 0xD6, 0x96, 0xC3, 0x83, 0x64, 0xE2, 0xAB, + 0xA2, 0xF5, 0xF4, 0xF3, 0xF2, 0xF1, 0xC1, 0x81, 0x62, 0xE2, 0xD6, 0xAB, 0xA2, + 0x96, 0x77, 0xE2, 0xC2, 0xC1, 0xAB, 0xA2, 0x82, 0x81, 0x63, 0xD7, 0xC5, 0x97, + 0x85, 0xD9, 0xC2, 0x99, 0x82, 0x63, 0xE8, 0xE2, 0xD7, 0xC8, 0xC3, 0xA8, 0xA2, + 0x97, 0x88, 0x83, 0x78, 0x64, 0xC9, 0x89, 0x71, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, + 0xC1, 0x62, 0xD6, 0x77, 0xE2, 0xC2, 0xC1, 0xAB, 0x63, 0x62, 0xE7, 0xE4, 0xD3, + 0xC3, 0xC2, 0xB7, 0xB4, 0xA7, 0xA4, 0x93, 0x83, 0x82, 0x74, 0x64, 0x63, 0xE8, + 0xE2, 0xD7, 0xC8, 0xB8, 0xAB, 0x78, 0x69, 0x9B, 0x99, 0xD9, 0xE2, 0xD5, 0xC4, + 0xAB, 0xA2, 0x95, 0x84, 0x76, 0x65, 0x69, 0x49, 0x74, 0x73, 0x63, 0x54, 0x53, + 0x43, 0x69, 0x49, 0x68, 0x48, 0x38, 0xC9, 0x89, 0x71, 0x6F, 0x4F, 0x63, 0x43, + 0x73, 0x53, 0x31, 0x32, 0x33, 0x34, 0x35, 0x61, 0x41, 0x73, 0x6F, 0x53, 0x4F, + 0x69, 0x49, 0x66, 0xC5, 0xD7, 0x78, 0x73, 0x62, 0x61, 0x53, 0x42, 0x41, 0xD9, + 0x9B, 0x70, 0x65, 0x50, 0x45, 0x72, 0x62, 0x52, 0x42, 0x78, 0x75, 0x6C, 0x63, + 0x62, 0x58, 0x55, 0x4C, 0x43, 0x42, 0x79, 0x73, 0x70, 0x68, 0x63, 0x59, 0x53, + 0x50, 0x48, 0x43, 0x69, 0x49, 0x52, 0x72, 0x73, 0x6E, 0x64, 0x53, 0x4E, 0x44, + 0x35, 0x36, 0x28, 0x78, 0x77, 0x75, 0x74, 0x73, 0x72, 0x70, 0x6D, 0x6C, 0x6B, + 0x6A, 0x69, 0x68, 0x67, 0x65, 0x63, 0x62, 0x61, 0x58, 0x57, 0x55, 0x54, 0x53, + 0x52, 0x50, 0x4D, 0x4C, 0x4B, 0x4A, 0x49, 0x48, 0x47, 0x45, 0x43, 0x42, 0x41, + 0x39, 0x38, 0x34, 0xFE, 0xFE, 0x00, 0xFE, 0xFE, 0x00, 0xFE, 0xFE, 0xFE, 0xFE +}; diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/iconv.c b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/iconv.c new file mode 100644 index 0000000000000000000000000000000000000000..c85c2689cf553f70f3c49cc655c9839aab90738b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/iconv.c @@ -0,0 +1,154 @@ +/** +*** iconv_open(), iconv(), iconv_close() wrappers for the OS/400. +*** +*** See Copyright for the status of this software. +*** +*** Author: Patrick Monnerat , DATASPHERE S.A. +**/ + +#include +#include +#include + +#include "/QIBM/include/iconv.h" /* Force system definition. */ + +#define USE_SYSTEM_ICONV +#include "iconv.h" /* Use local definitions. */ + + + +/** +*** Bring-in the name-->CCSID mapping DFA tables. +**/ + +#include "ianatables.c" + + + +static int +findEncoding(const unsigned char * * namep) + +{ + t_staterange curstate; + t_ccsid ccsid; + t_ccsid final; + t_transrange l; + t_transrange h; + const unsigned char * name; + + /** + *** Get the CCSID correspong to the name at *`namep'. + *** If success, update pointer at `namep' to 1st byte after matched + *** name and return the CCSID. + *** If failure, set errno and return -1. + **/ + + if (!namep || !(name = *namep)) { + errno = EINVAL; + return -1; + } + + curstate = 0; + final = 0; + + for (;;) { + if (curstate < sizeof final_array / sizeof final_array[0]) + if (final_array[curstate]) { + final = final_array[curstate]; + *namep = name; + } + + l = trans_array[curstate] - 1; + h = trans_array[curstate + 1]; + + do { + if (++l >= h) { + if (!final) { + errno = EINVAL; + return -1; + } + + return final - 1; + } + } while (label_array[l] != *name); + + curstate = goto_array[l]; + name++; + } + + /* NOTREACHED. */ +} + + +static void +makeos400codename(char * buf, unsigned int ccsid) + +{ + ccsid &= 0xFFFF; + memset(buf, 0, 32); + sprintf(buf, "IBMCCSID%05u0000000", ccsid); +} + + +Iconv_t +IconvOpen(const char * tocode, const char * fromcode) + +{ + int toccsid = findEncoding(&tocode); + int fromccsid = findEncoding(&fromcode); + char fromibmccsid[33]; + char toibmccsid[33]; + iconv_t * cd; + + if (toccsid < 0 || fromccsid < 0) + return (Iconv_t) -1; + + makeos400codename(fromibmccsid, fromccsid); + makeos400codename(toibmccsid, toccsid); + memset(toibmccsid + 13, 0, sizeof toibmccsid - 13); + + cd = (iconv_t *) malloc(sizeof *cd); + + if (!cd) + return (Iconv_t) -1; + + *cd = iconv_open(toibmccsid, fromibmccsid); + + if (cd->return_value) { + free((char *) cd); + return (Iconv_t) -1; + } + + return (Iconv_t) cd; +} + + +size_t +Iconv(Iconv_t cd, char * * inbuf, size_t * inbytesleft, + char * * outbuf, size_t * outbytesleft) + +{ + if (!cd || cd == (Iconv_t) -1) { + errno = EINVAL; + return (size_t) -1; + } + + return iconv(*(iconv_t *) cd, inbuf, inbytesleft, outbuf, outbytesleft); +} + + +int +IconvClose(Iconv_t cd) + +{ + if (!cd || cd == (Iconv_t) -1) { + errno = EINVAL; + return -1; + } + + if (iconv_close(*(iconv_t *) cd)) + return -1; + + free((char *) cd); + return 0; +} diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/iconv.h b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/iconv.h new file mode 100644 index 0000000000000000000000000000000000000000..87a8bbc5940674281239eabc9d6a5f2feeeef360 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/iconv/iconv.h @@ -0,0 +1,40 @@ +/** +*** Declarations for the iconv wrappers. +*** +*** See Copyright for the status of this software. +*** +*** Author: Patrick Monnerat , DATASPHERE S.A. +**/ + +#ifndef __ICONV_H_ +#define __ICONV_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include /* For size_t. */ + + +typedef void * Iconv_t; + + +Iconv_t IconvOpen(const char * tocode, const char * fromcode); +size_t Iconv(Iconv_t cd, char * * inbuf, size_t * inbytesleft, + char * * outbuf, size_t * outbytesleft); +int IconvClose(Iconv_t cd); + + +#ifndef USE_SYSTEM_ICONV +#define iconv_t Iconv_t +#define iconv_open IconvOpen +#define iconv Iconv +#define iconv_close IconvClose +#endif + + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/DOCBparser.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/DOCBparser.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..08a6b8c0e8079f68c8efab149ffd6859e8a48dc2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/DOCBparser.rpgle @@ -0,0 +1,120 @@ + * Summary: old DocBook SGML parser + * Description: interface for a DocBook SGML non-verifying parser + * This code is DEPRECATED, and should not be used anymore. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(DOCB_PARSER_H__) + /define DOCB_PARSER_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_DOCB_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/parser" + /include "libxmlrpg/parserInternals" + + * Most of the back-end structures from XML and SGML are shared. + + d docbParserCtxtPtr... + d s based(######typedef######) + d like(xmlParserCtxtPtr) + + d docbParserCtxt ds based(docbParserCtxtPtr) + d likeds(xmlParserCtxt) + + d docbSAXHandlerPtr... + d s based(######typedef######) + d like(xmlSAXHandlerPtr) + + d docbSAXHandler ds based(docbSAXHandlerPtr) + d likeds(xmlSAXHandler) + + d docbParserInputPtr... + d s based(######typedef######) + d like(xmlParserInputPtr) + + d docbParserInput... + d ds based(docbParserInputPtr) + d likeds(xmlParserInput) + + d docbDocPtr s based(######typedef######) + d like(xmlDocPtr) + + * There is only few public functions. + + d docbEncodeEntities... + d pr extproc('docbEncodeEntities') + d like(xmlCint) + d out * value options(*string) unsigned char * + d outlen * value int * + d in * value options(*string) const unsigned char + d * + d inlen * value int * + d quoteChar value like(xmlCint) + + d docbSAXParseDoc... + d pr extproc('docbSAXParseDoc') + d like(docbDocPtr) + d cur * value options(*string) xmlChar * + d encoding * value options(*string) const char * + d sax value like(docbSAXHandlerPtr) + d userData * value void * + + d docbParseDoc pr extproc('docbParseDoc') + d like(docbDocPtr) + d cur * value options(*string) xmlChar * + d encoding * value options(*string) const char * + + d docbSAXParseFile... + d pr extproc('docbSAXParseFile') + d like(docbDocPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + d sax value like(docbSAXHandlerPtr) + d userData * value void * + + d docbParseFile pr extproc('docbParseFile') + d like(docbDocPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + + * Interfaces for the Push mode. + + d docbFreeParserCtxt... + d pr extproc('docbFreeParserCtxt') + d ctxt value like(docbParserCtxtPtr) + + d docbCreatePushParserCtxt... + d pr extproc('docbCreatePushParserCtxt') + d like(docbParserCtxtPtr) + d sax value like(docbSAXHandlerPtr) + d user_data * value void * + d chunk * value options(*string) const char * + d size value like(xmlCint) + d filename * value options(*string) const char * + d enc value like(xmlCharEncoding) + + d docbParseChunk pr extproc('docbParseChunk') + d like(xmlCint) + d ctxt value like(docbParserCtxtPtr) + d chunk * value options(*string) const char * + d size value like(xmlCint) + d terminate value like(xmlCint) + + d docbCreateFileParserCtxt... + d pr extproc('docbCreateFileParserCtxt') + d like(docbParserCtxtPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + + d docbParseDocument... + d pr extproc('docbParseDocument') + d like(xmlCint) + d ctxt value like(docbParserCtxtPtr) + + /endif LIBXML_DOCB_ENABLED + /endif DOCB_PARSER_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/HTMLparser.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/HTMLparser.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..c27d8e5f070dbff852000e3c45ad15d7dc5af2c6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/HTMLparser.rpgle @@ -0,0 +1,419 @@ + * Summary: interface for an HTML 4.0 non-verifying parser + * Description: this module implements an HTML 4.0 non-verifying parser + * with API compatible with the XML parser ones. It should + * be able to parse "real world" HTML, even if severely + * broken from a specification point of view. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(HTML_PARSER_H__) + /define HTML_PARSER_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_HTML_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/parser" + + * Most of the back-end structures from XML and HTML are shared. + + d htmlParserCtxtPtr... + d s based(######typedef######) + d like(xmlParserCtxtPtr) + + d htmlParserCtxt ds based(htmlParserCtxtPtr) + d likeds(xmlParserCtxt) + + d htmlParserNodeInfoPtr... + d s based(######typedef######) + d like(xmlParserNodeInfoPtr) + + d htmlParserNodeInfo... + d ds based(htmlParserNodeInfoPtr) + d likeds(xmlParserNodeInfo) + + d htmlSAXHandlerPtr... + d s based(######typedef######) + d like(xmlSAXHandlerPtr) + + d htmlSAXHandler ds based(htmlSAXHandlerPtr) + d likeds(xmlSAXHandler) + + d htmlParserInputPtr... + d s based(######typedef######) + d like(xmlParserInputPtr) + + d htmlParserInput... + d ds based(htmlParserInputPtr) + d likeds(xmlParserInput) + + d htmlDocPtr s based(######typedef######) + d like(xmlDocPtr) + + d htmlNodePtr s based(######typedef######) + d like(xmlNodePtr) + + * Internal description of an HTML element, representing HTML 4.01 + * and XHTML 1.0 (which share the same structure). + + d htmlElemDescPtr... + d s * based(######typedef######) + + d htmlElemDesc ds based(htmlElemDescPtr) + d align qualified + d name * const char * + d startTag like(xmlCchar) Start tag implied ? + d endTag like(xmlCchar) End tag implied ? + d saveEndTag like(xmlCchar) Save end tag ? + d empty like(xmlCchar) Empty element ? + d depr like(xmlCchar) Deprecated element ? + d dtd like(xmlCchar) Loose DTD/Frameset + d isinline like(xmlCchar) Block 0/inline elem? + d desc * const char * + * + * New fields encapsulating HTML structure + * + * Bugs: + * This is a very limited representation. It fails to tell us when + * an element *requires* subelements (we only have whether they're + * allowed or not), and it doesn't tell us where CDATA and PCDATA + * are allowed. Some element relationships are not fully represented: + * these are flagged with the word MODIFIER + * + d subelts * const char * * + d defaultsubelt * const char * + d attrs_opt * const char * * + d attrs_depr * const char * * + d attrs_req * const char * * + + * Internal description of an HTML entity. + + d htmlEntityDescPtr... + d s * based(######typedef######) + + d htmlEntityDesc... + d ds based(htmlEntityDescPtr) + d align qualified + d value like(xmlCuint) + d name * const char * + d desc * const char * + + * There is only few public functions. + + d htmlTagLookup pr extproc('htmlTagLookup') + d like(htmlElemDescPtr) const + d tag * value options(*string) const xmlChar * + + d htmlEntityLookup... + d pr extproc('htmlEntityLookup') + d like(htmlEntityDescPtr) const + d name * value options(*string) const xmlChar * + + d htmlEntityValueLookup... + d pr extproc('htmlEntityValueLookup') + d like(htmlEntityDescPtr) const + d value value like(xmlCuint) + + d htmlIsAutoClosed... + d pr extproc('htmlIsAutoClosed') + d like(xmlCint) + d doc value like(htmlDocPtr) + d elem value like(htmlNodePtr) + + d htmlAutoCloseTag... + d pr extproc('htmlAutoCloseTag') + d like(xmlCint) + d doc value like(htmlDocPtr) + d name * value options(*string) const xmlChar * + d elem value like(htmlNodePtr) + + d htmlParseEntityRef... + d pr extproc('htmlParseEntityRef') + d like(htmlEntityDescPtr) const + d ctxt value like(htmlParserCtxtPtr) + d str * const xmlChar *(*) + + d htmlParseCharRef... + d pr extproc('htmlParseCharRef') + d like(xmlCint) + d ctxt value like(htmlParserCtxtPtr) + + d htmlParseElement... + d pr extproc('htmlParseElement') + d ctxt value like(htmlParserCtxtPtr) + + d htmlNewParserCtxt... + d pr extproc('htmlNewParserCtxt') + d like(htmlParserCtxtPtr) + + d htmlCreateMemoryParserCtxt... + d pr extproc('htmlCreateMemoryParserCtxt') + d like(htmlParserCtxtPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + + d htmlParseDocument... + d pr extproc('htmlParseDocument') + d like(xmlCint) + d ctxt value like(htmlParserCtxtPtr) + + d htmlSAXParseDoc... + d pr extproc('htmlSAXParseDoc') + d like(htmlDocPtr) + d cur * value options(*string) xmlChar * + d encoding * value options(*string) const char * + d sax value like(htmlSAXHandlerPtr) + d userData * value void * + + d htmlParseDoc pr extproc('htmlParseDoc') + d like(htmlDocPtr) + d cur * value options(*string) xmlChar * + d encoding * value options(*string) const char * + + d htmlSAXParseFile... + d pr extproc('htmlSAXParseFile') + d like(htmlDocPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + d sax value like(htmlSAXHandlerPtr) + d userData * value void * + + d htmlParseFile pr extproc('htmlParseFile') + d like(htmlDocPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + + d UTF8ToHtml pr extproc('UTF8ToHtml') + d like(xmlCint) + d out 65535 options(*varsize) unsigned char [] + d outlen like(xmlCint) + d in * value options(*string) const unsigned char* + d inlen like(xmlCint) + + d htmlEncodeEntities... + d pr extproc('htmlEncodeEntities') + d like(xmlCint) + d out 65535 options(*varsize) unsigned char [] + d outlen like(xmlCint) + d in * value options(*string) const unsigned char* + d inlen like(xmlCint) + d quoteChar value like(xmlCint) + + d htmlIsScriptAttribute... + d pr extproc('htmlIsScriptAttribute') + d like(xmlCint) + d name * value options(*string) const xmlChar * + + d htmlHandleOmittedElem... + d pr extproc('htmlHandleOmittedElem') + d like(xmlCint) + d val value like(xmlCint) + + /if defined(LIBXML_PUSH_ENABLED) + + * Interfaces for the Push mode. + + d htmlCreatePushParserCtxt... + d pr extproc('htmlCreatePushParserCtxt') + d like(htmlParserCtxtPtr) + d sax value like(htmlSAXHandlerPtr) + d user_data * value void * + d chunk * value options(*string) const char * + d size value like(xmlCint) + d filename * value options(*string) const char * + d enc value like(xmlCharEncoding) + + d htmlParseChunk pr extproc('htmlParseChunk') + d like(xmlCint) + d ctxt value like(htmlParserCtxtPtr) + d chunk * value options(*string) const char * + d size value like(xmlCint) + d terminate value like(xmlCint) + /endif LIBXML_PUSH_ENABLED + + d htmlFreeParserCtxt... + d pr extproc('htmlFreeParserCtxt') + d ctxt value like(htmlParserCtxtPtr) + + * New set of simpler/more flexible APIs + + * xmlParserOption: + * + * This is the set of XML parser options that can be passed down + * to the xmlReadDoc() and similar calls. + + d htmlParserOption... + d s based(######typedef######) + d like(xmlCenum) + d HTML_PARSE_RECOVER... Relaxed parsing + d c X'00000001' + d HTML_PARSE_NODEFDTD... No default doctype + d c X'00000004' + d HTML_PARSE_NOERROR... No error reports + d c X'00000020' + d HTML_PARSE_NOWARNING... No warning reports + d c X'00000040' + d HTML_PARSE_PEDANTIC... Pedantic err reports + d c X'00000080' + d HTML_PARSE_NOBLANKS... Remove blank nodes + d c X'00000100' + d HTML_PARSE_NONET... Forbid net access + d c X'00000800' + d HTML_PARSE_NOIMPLIED... No implied html/body + d c X'00002000' + d HTML_PARSE_COMPACT... compact small txtnod + d c X'00010000' + d HTML_PARSE_IGNORE_ENC... Ignore encoding hint + d c X'00200000' + + d htmlCtxtReset pr extproc('htmlCtxtReset') + d ctxt value like(htmlParserCtxtPtr) + + d htmlCtxtUseOptions... + d pr extproc('htmlCtxtUseOptions') + d like(xmlCint) + d ctxt value like(htmlParserCtxtPtr) + d options value like(xmlCint) + + d htmlReadDoc pr extproc('htmlReadDoc') + d like(htmlDocPtr) + d cur * value options(*string) const xmlChar * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlReadFile pr extproc('htmlReadFile') + d like(htmlDocPtr) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlReadMemory pr extproc('htmlReadMemory') + d like(htmlDocPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlReadFd pr extproc('htmlReadFd') + d like(htmlDocPtr) + d fd value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlReadIO pr extproc('htmlReadIO') + d like(htmlDocPtr) + d ioread value like(xmlInputReadCallback) + d ioclose value like(xmlInputCloseCallback) + d ioctx * value void * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlCtxtReadDoc... + d pr extproc('htmlCtxtReadDoc') + d like(htmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d cur * value options(*string) const xmlChar * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlCtxtReadFile... + d pr extproc('htmlCtxtReadFile') + d like(htmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlCtxtReadMemory... + d pr extproc('htmlCtxtReadMemory') + d like(htmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlCtxtReadFd pr extproc('htmlCtxtReadFd') + d like(htmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d fd value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d htmlCtxtReadIO pr extproc('htmlCtxtReadIO') + d like(htmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d ioread value like(xmlInputReadCallback) + d ioclose value like(xmlInputCloseCallback) + d ioctx * value void * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + * Further knowledge of HTML structure + + d htmlStatus s based(######typedef######) + d like(xmlCenum) + d HTML_NA c X'0000' No check at all + d HTML_INVALID c X'0001' + d HTML_DEPRECATED... + d c X'0002' + d HTML_VALID c X'0004' + d HTML_REQUIRED c X'000C' HTML_VALID ored-in + + * Using htmlElemDesc rather than name here, to emphasise the fact + * that otherwise there's a lookup overhead + + d htmlAttrAllowed... + d pr extproc('htmlAttrAllowed') + d like(htmlStatus) + d #param1 value like(htmlElemDescPtr) const + d #param2 * value options(*string) const xmlChar * + d #param3 value like(xmlCint) + + d htmlElementAllowedHere... + d pr extproc('htmlElementAllowedHere') + d like(xmlCint) + d #param1 value like(htmlElemDescPtr) const + d #param2 * value options(*string) const xmlChar * + + d htmlElementStatusHere... + d pr extproc('htmlElementStatusHere') + d like(htmlStatus) + d #param1 value like(htmlElemDescPtr) const + d #param2 value like(htmlElemDescPtr) const + + d htmlNodeStatus pr extproc('htmlNodeStatus') + d like(htmlStatus) + d #param1 value like(htmlNodePtr) + d #param2 value like(xmlCint) + + * C macros implemented as procedures for ILE/RPG support. + + d htmlDefaultSubelement... + d pr * extproc('__htmlDefaultSubelement') const char * + d elt * value const htmlElemDesc * + + d htmlElementAllowedHereDesc... + d pr extproc( + d '__htmlElementAllowedHereDesc') + d like(xmlCint) + d parent * value const htmlElemDesc * + d elt * value const htmlElemDesc * + + d htmlRequiredAttrs... + d pr * extproc('__htmlRequiredAttrs') const char * * + d elt * value const htmlElemDesc * + + /endif LIBXML_HTML_ENABLED + /endif HTML_PARSER_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/HTMLtree.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/HTMLtree.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..99c38a0c3ee54fd95814c2f46fc563b22ca4de63 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/HTMLtree.rpgle @@ -0,0 +1,176 @@ + * Summary: specific APIs to process HTML tree, especially serialization + * Description: this module implements a few function needed to process + * tree in an HTML specific way. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(HTML_TREE_H__) + /define HTML_TREE_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_HTML_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/HTMLparser" + + * HTML_TEXT_NODE: + * + * Macro. A text node in a HTML document is really implemented + * the same way as a text node in an XML document. + + d HTML_TEXT_NODE c 3 + + * HTML_ENTITY_REF_NODE: + * + * Macro. An entity reference in a HTML document is really implemented + * the same way as an entity reference in an XML document. + + d HTML_ENTITY_REF_NODE... + d c 5 + + * HTML_COMMENT_NODE: + * + * Macro. A comment in a HTML document is really implemented + * the same way as a comment in an XML document. + + d HTML_COMMENT_NODE... + d c 8 + + * HTML_PRESERVE_NODE: + * + * Macro. A preserved node in a HTML document is really implemented + * the same way as a CDATA section in an XML document. + + d HTML_PRESERVE_NODE... + d c 4 + + * HTML_PI_NODE: + * + * Macro. A processing instruction in a HTML document is really implemented + * the same way as a processing instruction in an XML document. + + d HTML_PI_NODE c 7 + + d htmlNewDoc pr extproc('htmlNewDoc') + d like(htmlDocPtr) + d URI * value options(*string) const xmlChar * + d ExternalID * value options(*string) const xmlChar * + + d htmlNewDocNoDtD... + d pr extproc('htmlNewDocNoDtD') + d like(htmlDocPtr) + d URI * value options(*string) const xmlChar * + d ExternalID * value options(*string) const xmlChar * + + d htmlGetMetaEncoding... + d pr * extproc('htmlGetMetaEncoding') const xmlChar * + d doc value like(htmlDocPtr) + + d htmlSetMetaEncoding... + d pr extproc('htmlSetMetaEncoding') + d like(xmlCint) + d doc value like(htmlDocPtr) + d encoding * value options(*string) const xmlChar * + + /if defined(LIBXML_OUTPUT_ENABLED) + d htmlDocDumpMemory... + d pr extproc('htmlDocDumpMemory') + d cur value like(xmlDocPtr) + d mem * value xmlChar * * + d size like(xmlCint) + + d htmlDocDumpMemoryFormat... + d pr extproc('htmlDocDumpMemoryFormat') + d cur value like(xmlDocPtr) + d mem * value xmlChar * * + d size like(xmlCint) + d format value like(xmlCint) + + d htmlDocDump pr extproc('htmlDocDump') + d like(xmlCint) + d f * value FILE * + d cur value like(xmlDocPtr) + + d htmlSaveFile pr extproc('htmlSaveFile') + d like(xmlCint) + d filename * value options(*string) const char * + d cur value like(xmlDocPtr) + + d htmlNodeDump pr extproc('htmlNodeDump') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + + d htmlNodeDumpFile... + d pr extproc('htmlNodeDumpFile') + d out * value FILE * + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + + d htmlNodeDumpFileFormat... + d pr extproc('htmlNodeDumpFileFormat') + d like(xmlCint) + d out * value FILE * + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + d encoding * value options(*string) const char * + d format value like(xmlCint) + + d htmlSaveFileEnc... + d pr extproc('htmlSaveFileEnc') + d like(xmlCint) + d filename * value options(*string) const char * + d cur value like(xmlDocPtr) + d encoding * value options(*string) const char * + + d htmlSaveFileFormat... + d pr extproc('htmlSaveFileFormat') + d like(xmlCint) + d filename * value options(*string) const char * + d cur value like(xmlDocPtr) + d encoding * value options(*string) const char * + d format value like(xmlCint) + + d htmlNodeDumpFormatOutput... + d pr extproc('htmlNodeDumpFormatOutput') + d buf value like(xmlOutputBufferPtr) + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + d encoding * value options(*string) const char * + d format value like(xmlCint) + + d htmlDocContentDumpOutput... + d pr extproc('htmlDocContentDumpOutput') + d buf value like(xmlOutputBufferPtr) + d cur value like(xmlDocPtr) + d encoding * value options(*string) const char * + + d htmlDocContentDumpFormatOutput... + d pr extproc( + d 'htmlDocContentDumpFormatOutput') + d buf value like(xmlOutputBufferPtr) + d cur value like(xmlDocPtr) + d encoding * value options(*string) const char * + d format value like(xmlCint) + + d htmlNodeDumpOutput... + d pr extproc('htmlNodeDumpOutput') + d buf value like(xmlOutputBufferPtr) + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + d encoding * value options(*string) const char * + + /endif LIBXML_OUTPUT_ENABLD + + d htmlIsBooleanAttr... + d pr extproc('htmlIsBooleanAttr') + d like(xmlCint) + d name * value options(*string) const xmlChar * + + /endif LIBXML_HTML_ENABLED + /endif HTML_TREE_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/SAX.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/SAX.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..a22d49ae9ba738c8a526389fe4c89625a7aeb881 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/SAX.rpgle @@ -0,0 +1,213 @@ + * Summary: Old SAX version 1 handler, deprecated + * Description: DEPRECATED set of SAX version 1 interfaces used to + * build the DOM tree. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_SAX_H__) + /define XML_SAX_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/parser" + /include "libxmlrpg/xlink" + + /if defined(LIBXML_LEGACY_ENABLED) + + d getPublicId pr * extproc('getPublicId') const xmlChar * + d ctx * value void * + + d getSystemId pr * extproc('getSystemId') const xmlChar * + d ctx * value void * + + d setDocumentLocator... + d pr extproc('setDocumentLocator') + d ctx * value void * + d loc value like(xmlSAXLocatorPtr) + + d getLineNumber pr extproc('getLineNumber') + d like(xmlCint) + d ctx * value void * + + d getColumnNumber... + d pr extproc('getColumnNumber') + d like(xmlCint) + d ctx * value void * + + d isStandalone pr extproc('isStandalone') + d like(xmlCint) + d ctx * value void * + + d hasInternalSubset... + d pr extproc('hasInternalSubset') + d like(xmlCint) + d ctx * value void * + + d hasExternalSubset... + d pr extproc('hasExternalSubset') + d like(xmlCint) + d ctx * value void * + + d internalSubset pr extproc('internalSubset') + d ctx * value void * + d name * value options(*string) const xmlChar * + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + + d externalSubset pr extproc('externalSubset') + d ctx * value void * + d name * value options(*string) const xmlChar * + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + + d getEntity pr extproc('getEntity') + d like(xmlEntityPtr) + d ctx * value void * + d name * value options(*string) const xmlChar * + + d getParameterEntity... + d pr extproc('getParameterEntity') + d like(xmlEntityPtr) + d ctx * value void * + d name * value options(*string) const xmlChar * + + d resolveEntity pr extproc('resolveEntity') + d like(xmlParserInputPtr) + d ctx * value void * + d publicId * value options(*string) const xmlChar * + d systemId * value options(*string) const xmlChar * + + d entityDecl pr extproc('entityDecl') + d ctx * value void * + d name * value options(*string) const xmlChar * + d type value like(xmlCint) + d publicId * value options(*string) const xmlChar * + d systemId * value options(*string) const xmlChar * + d content * value options(*string) xmlChar * + + d attributeDecl pr extproc('attributeDecl') + d ctx * value void * + d elem * value options(*string) const xmlChar * + d fullname * value options(*string) const xmlChar * + d type value like(xmlCint) + d def value like(xmlCint) + d defaultValue * value options(*string) const xmlChar * + d tree value like(xmlEnumerationPtr) + + d elementDecl pr extproc('elementDecl') + d ctx * value void * + d name * value options(*string) const xmlChar * + d type value like(xmlCint) + d content value like(xmlElementContentPtr) + + d notationDecl pr extproc('notationDecl') + d ctx * value void * + d name * value options(*string) const xmlChar * + d publicId * value options(*string) const xmlChar * + d systemId * value options(*string) const xmlChar * + + d unparsedEntityDecl... + d pr extproc('unparsedEntityDecl') + d ctx * value void * + d name * value options(*string) const xmlChar * + d publicId * value options(*string) const xmlChar * + d systemId * value options(*string) const xmlChar * + d notationName * value options(*string) const xmlChar * + + d startDocument pr extproc('startDocument') + d ctx * value void * + + d endDocument pr extproc('endDocument') + d ctx * value void * + + d attribute pr extproc('attribute') + d ctx * value void * + d fullname * value options(*string) const xmlChar * + d value * value options(*string) const xmlChar * + + d startElement pr extproc('startElement') + d ctx * value void * + d fullname * value options(*string) const xmlChar * + d atts * const xmlChar *(*) + + d endElement pr extproc('endElement') + d ctx * value void * + d name * value options(*string) const xmlChar * + + d reference pr extproc('reference') + d ctx * value void * + d name * value options(*string) const xmlChar * + + d characters pr extproc('characters') + d ctx * value void * + d ch * value options(*string) const xmlChar * + d len value like(xmlCint) + + d ignorableWhitespace... + d pr extproc('ignorableWhitespace') + d ctx * value void * + d ch * value options(*string) const xmlChar * + d len value like(xmlCint) + + d processingInstruction... + d pr extproc('processingInstruction') + d ctx * value void * + d target * value options(*string) const xmlChar * + d data * value options(*string) const xmlChar * + + d globalNamespace... + d pr extproc('globalNamespace') + d ctx * value void * + d href * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + + d setNamespace pr extproc('setNamespace') + d ctx * value void * + d name * value options(*string) const xmlChar * + + d getNamespace pr extproc('getNamespace') + d like(xmlNsPtr) + d ctx * value void * + + d checkNamespace pr extproc('checkNamespace') + d like(xmlCint) + d ctx * value void * + d nameSpace * value options(*string) xmlChar * + + d namespaceDecl pr extproc('namespaceDecl') + d ctx * value void * + d href * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + + d comment pr extproc('comment') + d ctx * value void * + d value * value options(*string) const xmlChar * + + d cdataBlock pr extproc('cdataBlock') + d ctx * value void * + d value * value options(*string) const xmlChar * + d len value like(xmlCint) + + /if defined(LIBXML_SAX1_ENABLED) + d initxmlDefaultSAXHandler... + d pr extproc('initxmlDefaultSAXHandler') + d hdlr likeds(xmlSAXHandlerV1) + d warning value like(xmlCint) + + /if defined(LIBXML_HTML_ENABLED) + d inithtmlDefaultSAXHandler... + d pr extproc('inithtmlDefaultSAXHandler') + d hdlr likeds(xmlSAXHandlerV1) + /endif + + /if defined(LIBXML_DOCB_ENABLED) + d initdocbDefaultSAXHandler... + d pr extproc('initdocbDefaultSAXHandler') + d hdlr likeds(xmlSAXHandlerV1) + /endif + /endif LIBXML_SAX1_ENABLED + + /endif LIBXML_LEGACY_ENABLD + + /endif XML_SAX_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/SAX2.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/SAX2.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..c72be259fc38f78988bb973f5a698067532c8c56 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/SAX2.rpgle @@ -0,0 +1,256 @@ + * Summary: SAX2 parser interface used to build the DOM tree + * Description: those are the default SAX2 interfaces used by + * the library when building DOM tree. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_SAX2_H__) + /define XML_SAX2_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/parser" + /include "libxmlrpg/xlink" + + d xmlSAX2GetPublicId... + d pr * extproc('xmlSAX2getPublicId') const xmlChar * + d ctx * value void * + + d xmlSAX2GetSystemId... + d pr * extproc('xmlSAX2getSystemId') const xmlChar * + d ctx * value void * + + d xmlSAX2SetDocumentLocator... + d pr extproc('xmlSAX2SetDocumentLocator') + d ctx * value void * + d loc value like(xmlSAXLocatorPtr) + + d xmlSAX2GetLineNumber... + d pr extproc('xmlSAX2GetLineNumber') + d like(xmlCint) + d ctx * value void * + + d xmlSAX2GetColumnNumber... + d pr extproc('xmlSAX2GetColumnNumber') + d like(xmlCint) + d ctx * value void * + + d xmlSAX2IsStandalone... + d pr extproc('xmlSAX2IsStandalone') + d like(xmlCint) + d ctx * value void * + + d xmlSAX2HasInternalSubset... + d pr extproc('xmlSAX2HasInternalSubset') + d like(xmlCint) + d ctx * value void * + + d xmlSAX2HasExternalSubset... + d pr extproc('xmlSAX2HasExternalSubset') + d like(xmlCint) + d ctx * value void * + + d xmlSAX2InternalSubset... + d pr extproc('xmlSAX2InternalSubset') + d ctx * value void * + d name * value options(*string) const xmlChar * + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + + d xmlSAX2ExternalSubset... + d pr extproc('xmlSAX2ExternalSubset') + d ctx * value void * + d name * value options(*string) const xmlChar * + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + + d xmlSAX2GetEntity... + d pr extproc('xmlSAX2GetEntity') + d like(xmlEntityPtr) + d ctx * value void * + d name * value options(*string) const xmlChar * + + d xmlSAX2GetParameterEntity... + d pr extproc('xmlSAX2GetParameterEntity') + d like(xmlEntityPtr) + d ctx * value void * + d name * value options(*string) const xmlChar * + + d xmlSAX2ResolveEntity... + d pr extproc('xmlSAX2ResolveEntity') + d like(xmlParserInputPtr) + d ctx * value void * + d publicId * value options(*string) const xmlChar * + d systemId * value options(*string) const xmlChar * + + d xmlSAX2EntityDecl... + d pr extproc('xmlSAX2EntityDecl') + d ctx * value void * + d name * value options(*string) const xmlChar * + d type value like(xmlCint) + d publicId * value options(*string) const xmlChar * + d systemId * value options(*string) const xmlChar * + d content * value options(*string) xmlChar * + + d xmlSAX2AttributeDecl... + d pr extproc('xmlSAX2AttributeDecl') + d ctx * value void * + d elem * value options(*string) const xmlChar * + d fullname * value options(*string) const xmlChar * + d type value like(xmlCint) + d def value like(xmlCint) + d defaultValue * value options(*string) const xmlChar * + d tree value like(xmlEnumerationPtr) + + d xmlSAX2ElementDecl... + d pr extproc('xmlSAX2ElementDecl') + d ctx * value void * + d name * value options(*string) const xmlChar * + d type value like(xmlCint) + d content value like(xmlElementContentPtr) + + d xmlSAX2NotationDecl... + d pr extproc('xmlSAX2NotationDecl') + d ctx * value void * + d name * value options(*string) const xmlChar * + d publicId * value options(*string) const xmlChar * + d systemId * value options(*string) const xmlChar * + + d xmlSAX2UnparsedEntityDecl... + d pr extproc('xmlSAX2UnparsedEntityDecl') + d ctx * value void * + d name * value options(*string) const xmlChar * + d publicId * value options(*string) const xmlChar * + d systemId * value options(*string) const xmlChar * + d notationName * value options(*string) xmlChar * + + d xmlSAX2StartDocument... + d pr extproc('xmlSAX2StartDocument') + d ctx * value void * + + d xmlSAX2EndDocument... + d pr extproc('xmlSAX2EndDocument') + d ctx * value void * + + /undefine XML_TESTVAL + /if defined(LIBXML_SAX1_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_HTML_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_WRITER_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_DOCB_ENABLED) + /endif + /if defined(XML_TESTVAL) + d xmlSAX2StartElement... + d pr extproc('xmlSAX2StartElement') + d ctx * value void * + d fullname * value options(*string) const xmlChar * + d atts * const xmlChar *(*) + + d xmlSAX2EndElement... + d pr extproc('xmlSAX2EndElement') + d ctx * value void * + d name * value options(*string) const xmlChar * + + /undefine XML_TESTVAL + /endif + + d xmlSAX2StartElementNs... + d pr extproc('xmlSAX2StartElementNs') + d ctx * value void * + d localname * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + d URI * value options(*string) const xmlChar * + d nb_namespaces value like(xmlCint) + d namespaces * value const xmlChar *(*) + d nb_attributes value like(xmlCint) + d nb_defaulted value like(xmlCint) + d attributes * const xmlChar *(*) + + d xmlSAX2EndElementNs... + d pr extproc('xmlSAX2EndElementNs') + d ctx * value void * + d localname * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + d URI * value options(*string) const xmlChar * + + d xmlSAX2Reference... + d pr extproc('xmlSAX2Reference') + d ctx * value void * + d name * value options(*string) const xmlChar * + + d xmlSAX2Characters... + d pr extproc('xmlSAX2Characters') + d ctx * value void * + d ch * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlSAX2IgnorableWhitespace... + d pr extproc('xmlSAX2IgnorableWhitespace') + d ctx * value void * + d ch * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlSAX2ProcessingInstruction... + d pr extproc( + d 'xmlSAX2ProcessingInstruction') + d ctx * value void * + d target * value options(*string) const xmlChar * + d data * value options(*string) const xmlChar * + + d xmlSAX2Comment... + d pr extproc('xmlSAX2Comment') + d ctx * value void * + d value * value options(*string) const xmlChar * + + d xmlSAX2CDataBlock... + d pr extproc('xmlSAX2CDataBlock') + d ctx * value void * + d value * value options(*string) const xmlChar * + d len value like(xmlCint) + + /if defined(LIBXML_SAX1_ENABLED) + d xmlSAXDefaultVersion... + d pr extproc('xmlSAXDefaultVersion') + d like(xmlCint) + d version value like(xmlCint) + /endif LIBXML_SAX1_ENABLED + + d xmlSAXVersion pr extproc('xmlSAXVersion') + d like(xmlCint) + d hdlr likeds(xmlSAXHandler) + d version value like(xmlCint) + + d xmlSAX2InitDefaultSAXHandler... + d pr extproc( + d 'xmlSAX2InitDefaultSAXHandler') + d hdlr likeds(xmlSAXHandler) + d warning value like(xmlCint) + + /if defined(LIBXML_HTML_ENABLED) + d xmlSAX2InitHtmlDefaultSAXHandler... + d pr extproc( + d 'xmlSAX2InitHtmlDefaultSAXHandler') + d hdlr likeds(xmlSAXHandler) + + d htmlDefaultSAXHandlerInit... + d pr extproc('htmlDefaultSAXHandlerInit') + /endif + + /if defined(LIBXML_DOCB_ENABLED) + d xmlSAX2InitDocbDefaultSAXHandler... + d pr extproc( + d 'xmlSAX2InitDocbDefaultSAXHandler') + d hdlr likeds(xmlSAXHandler) + + d docbDefaultSAXHandlerInit... + d pr extproc('docbDefaultSAXHandlerInit') + /endif + + d xmlDefaultSAXHandlerInit... + d pr extproc('xmlDefaultSAXHandlerInit') + + /endif XML_SAX2_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/c14n.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/c14n.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..963ed3749ac08b83245070e370afa4c42fd0dd92 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/c14n.rpgle @@ -0,0 +1,125 @@ + * Summary: Provide Canonical XML and Exclusive XML Canonicalization + * Description: the c14n modules provides a + * + * "Canonical XML" implementation + * http://www.w3.org/TR/xml-c14n + * + * and an + * + * "Exclusive XML Canonicalization" implementation + * http://www.w3.org/TR/xml-exc-c14n + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_C14N_H__) + /define XML_C14N_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_C14N_ENABLED) + /if defined(LIBXML_OUTPUT_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/xpath" + + * XML Canonicazation + * http://www.w3.org/TR/xml-c14n + * + * Exclusive XML Canonicazation + * http://www.w3.org/TR/xml-exc-c14n + * + * Canonical form of an XML document could be created if and only if + * a) default attributes (if any) are added to all nodes + * b) all character and parsed entity references are resolved + * In order to achive this in libxml2 the document MUST be loaded with + * following global setings: + * + * xmlLoadExtDtdDefaultValue = XML_DETECT_IDS ã XML_COMPLETE_ATTRS; + * xmlSubstituteEntitiesDefault(1); + * + * or corresponding parser context setting: + * xmlParserCtxtPtr ctxt; + * + * ... + * ctxt->loadsubset = XML_DETECT_IDS ã XML_COMPLETE_ATTRS; + * ctxt->replaceEntities = 1; + * ... + + * xmlC14NMode: + * + * Predefined values for C14N modes + + d xmlBufferAllocationScheme... + d xmlC14NMode s based(######typedef######) + d like(xmlCenum) + d XML_C14N_1_0 c 0 Original C14N 1.0 + d XML_C14N_EXCLUSIVE_1_0... Exclusive C14N 1.0 + d c 1 + d XML_C14N_1_1 c 2 C14N 1.1 spec + + d xmlC14NDocSaveTo... + d pr extproc('xmlC14NDocSaveTo') + d like(xmlCint) + d doc value like(xmlDocPtr) + d nodes value like(xmlNodeSetPtr) + d mode value like(xmlCint) + d inclusive_ns_prefixes... + d * options(*omit) xmlChar *(*) + d with_comments value like(xmlCint) + d buf value like(xmlOutputBufferPtr) + + d xmlC14NDocDumpMemory... + d pr extproc('xmlC14NDocDumpMemory') + d like(xmlCint) + d doc value like(xmlDocPtr) + d nodes value like(xmlNodeSetPtr) + d mode value like(xmlCint) + d inclusive_ns_prefixes... + d * options(*omit) xmlChar *(*) + d with_comments value like(xmlCint) + d doc_txt_ptr * xmlChar *(*) + + d xmlC14NDocSave pr extproc('xmlC14NDocSave') + d like(xmlCint) + d doc value like(xmlDocPtr) + d nodes value like(xmlNodeSetPtr) + d mode value like(xmlCint) + d inclusive_ns_prefixes... + d * options(*omit) xmlChar *(*) + d with_comments value like(xmlCint) + d filename * value options(*string) const char * + d compression value like(xmlCint) + + * This is the core C14N function + + * xmlC14NIsVisibleCallback: + * @user_data: user data + * @node: the curent node + * @parent: the parent node + * + * Signature for a C14N callback on visible nodes + * + * Returns 1 if the node should be included + + d xmlC14NIsVisibleCallback... + d s * based(######typedef######) + d procptr + + d xmlC14NExecute pr extproc('xmlC14NExecute') + d like(xmlCint) + d doc value like(xmlDocPtr) + d is_visible_callback... + d value like(xmlC14NIsVisibleCallback) + d user_data * value void * + d mode value like(xmlCint) + d inclusive_ns_prefixes... + d * options(*omit) xmlChar *(*) + d with_comments value like(xmlCint) + d buf value like(xmlOutputBufferPtr) + + /endif LIBXML_OUTPUT_ENABLD + /endif LIBXML_C14N_ENABLED + /endif XML_C14N_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/catalog.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/catalog.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..698ec5a92c19c84456bbcb3c4fb5526585d11c87 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/catalog.rpgle @@ -0,0 +1,248 @@ + * Summary: interfaces to the Catalog handling system + * Description: the catalog module implements the support for + * XML Catalogs and SGML catalogs + * + * SGML Open Technical Resolution TR9401:1997. + * http://www.jclark.com/sp/catalog.htm + * + * XML Catalogs Working Draft 06 August 2001 + * http://www.oasis-open.org/committees/entity/spec-2001-08-06.html + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_CATALOG_H__) + /define XML_CATALOG_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_CATALOG_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlstring" + /include "libxmlrpg/tree" + + * XML_CATALOGS_NAMESPACE: + * + * The namespace for the XML Catalogs elements. + + d XML_CATALOGS_NAMESPACE... + d c 'urn:oasis:names:+ + d tc:entity:xmlns:xml:catalog' + + * XML_CATALOG_PI: + * + * The specific XML Catalog Processing Instruction name. + + d XML_CATALOG_PI c 'oasis-xml-catalog' + + * The API is voluntarily limited to general cataloging. + + d xmlCatalogPrefer... + d s based(######typedef######) + d like(xmlCenum) + d XML_CATA_PREFER_NONE... + d c 0 + d XML_CATA_PREFER_PUBLIC... + d c 1 + d XML_CATA_PREFER_SYSTEM... + d c 2 + + d xmlCatalogAllow... + d s based(######typedef######) + d like(xmlCenum) + d XML_CATA_ALLOW_NONE... + d c 0 + d XML_CATA_ALLOW_GLOBAL... + d c 1 + d XML_CATA_ALLOW_DOCUMENT... + d c 2 + d XML_CATA_ALLOW_ALL... + d c 3 + + d xmlCatalogPtr s * based(######typedef######) + + * Operations on a given catalog. + + d xmlNewCatalog pr extproc('xmlNewCatalog') + d like(xmlCatalogPtr) + d sgml value like(xmlCint) + + d xmlLoadACatalog... + d pr extproc('xmlLoadACatalog') + d like(xmlCatalogPtr) + d filename * value options(*string) const char * + + d xmlLoadSGMLSuperCatalog... + d pr extproc('xmlLoadSGMLSuperCatalog') + d like(xmlCatalogPtr) + d filename * value options(*string) const char * + + d xmlConvertSGMLCatalog... + d pr extproc('xmlConvertSGMLCatalog') + d like(xmlCint) + d catal value like(xmlCatalogPtr) + + d xmlACatalogAdd pr extproc('xmlACatalogAdd') + d like(xmlCint) + d catal value like(xmlCatalogPtr) + d type * value options(*string) const xmlChar * + d orig * value options(*string) const xmlChar * + d replace * value options(*string) const xmlChar * + + d xmlACatalogRemove... + d pr extproc('xmlACatalogRemove') + d like(xmlCint) + d catal value like(xmlCatalogPtr) + d value * value options(*string) const xmlChar * + + d xmlACatalogResolve... + d pr * extproc('xmlACatalogResolve') xmlChar * + d catal value like(xmlCatalogPtr) + d pubID * value options(*string) const xmlChar * + d sysID * value options(*string) const xmlChar * + + d xmlACatalogResolveSystem... + d pr * extproc('xmlACatalogResolveSystem') xmlChar * + d catal value like(xmlCatalogPtr) + d sysID * value options(*string) const xmlChar * + + d xmlACatalogResolvePublic... + d pr * extproc('xmlACatalogResolvePublic') xmlChar * + d catal value like(xmlCatalogPtr) + d pubID * value options(*string) const xmlChar * + + d xmlACatalogResolveURI... + d pr * extproc('xmlACatalogResolveURI') xmlChar * + d catal value like(xmlCatalogPtr) + d URI * value options(*string) const xmlChar * + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlACatalogDump... + d pr extproc('xmlACatalogDump') + d catal value like(xmlCatalogPtr) + d out * value FILE * + /endif LIBXML_OUTPUT_ENABLD + + d xmlFreeCatalog pr extproc('xmlFreeCatalog') + d catal value like(xmlCatalogPtr) + + d xmlCatalogIsEmpty... + d pr extproc('xmlCatalogIsEmpty') + d like(xmlCint) + d catal value like(xmlCatalogPtr) + + * Global operations. + + d xmlInitializeCatalog... + d pr extproc('xmlInitializeCatalog') + + d xmlLoadCatalog pr extproc('xmlLoadCatalog') + d like(xmlCint) + d filename * value options(*string) const char * + + d xmlLoadCatalogs... + d pr extproc('xmlLoadCatalogs') + d paths * value options(*string) const char * + + d xmlCatalogCleanup... + d pr extproc('xmlCatalogCleanup') + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlCatalogDump pr extproc('xmlCatalogDump') + d out * value FILE * + /endif LIBXML_OUTPUT_ENABLD + + d xmlCatalogResolve... + d pr * extproc('xmlCatalogResolve') xmlChar * + d pubID * value options(*string) const xmlChar * + d sysID * value options(*string) const xmlChar * + + d xmlCatalogResolveSystem... + d pr * extproc('xmlCatalogResolveSystem') xmlChar * + d sysID * value options(*string) const xmlChar * + + d xmlCatalogResolvePublic... + d pr * extproc('xmlCatalogResolvePublic') xmlChar * + d pubID * value options(*string) const xmlChar * + + d xmlCatalogResolveURI... + d pr * extproc('xmlCatalogResolveURI') xmlChar * + d URI * value options(*string) const xmlChar * + + d xmlCatalogAdd pr extproc('xmlCatalogAdd') + d like(xmlCint) + d type * value options(*string) const xmlChar * + d orig * value options(*string) const xmlChar * + d replace * value options(*string) const xmlChar * + + d xmlCatalogRemove... + d pr extproc('xmlCatalogRemove') + d like(xmlCint) + d value * value options(*string) const xmlChar * + + d xmlParseCatalogFile... + d pr extproc('xmlParseCatalogFile') + d like(xmlDocPtr) + d filename * value options(*string) const char * + + d xmlCatalogConvert... + d pr extproc('xmlCatalogConvert') + d like(xmlCint) + + * Strictly minimal interfaces for per-document catalogs used + * by the parser. + + d xmlCatalogFreeLocal... + d pr extproc('xmlCatalogFreeLocal') + d catalogs * value void * + + d xmlCatalogAddLocal... + d pr * extproc('xmlCatalogAddLocal') void * + d catalogs * value void * + d URL * value options(*string) const xmlChar * + + d xmlCatalogLocalResolve... + d pr * extproc('xmlCatalogLocalResolve') xmlChar * + d catalogs * value void * + d pubID * value options(*string) const xmlChar * + d sysID * value options(*string) const xmlChar * + + d xmlCatalogLocalResolveURI... + d pr * extproc('xmlCatalogLocalResolveURI') xmlChar * + d catalogs * value void * + d URI * value options(*string) const xmlChar * + + * Preference settings. + + d xmlCatalogSetDebug... + d pr extproc('xmlCatalogSetDebug') + d like(xmlCint) + d level value like(xmlCint) + + d xmlCatalogSetDefaultPrefer... + d pr extproc('xmlCatalogSetDefaultPrefer') + d like(xmlCatalogPrefer) + d prefer value like(xmlCatalogPrefer) + + d xmlCatalogSetDefaults... + d pr extproc('xmlCatalogSetDefaults') + d allow value like(xmlCatalogAllow) + + d xmlCatalogGetDefaults... + d pr extproc('xmlCatalogGetDefaults') + d like(xmlCatalogAllow) + + * DEPRECATED interfaces + + d xmlCatalogGetSystem... + d pr * extproc('xmlCatalogGetSystem') const xmlChar * + d sysID * value options(*string) const xmlChar * + + d xmlCatalogGetPublic... + d pr * extproc('xmlCatalogGetPublic') const xmlChar * + d pubID * value options(*string) const xmlChar * + + /endif LIBXML_CATALOG_ENBLD + /endif XML_CATALOG_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/chvalid.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/chvalid.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..c601442fa91ad35fdd58dc73b700e626ff5fc127 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/chvalid.rpgle @@ -0,0 +1,107 @@ + * Summary: Unicode character range checking + * Description: this module exports interfaces for the character + * range validation APIs + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_CHVALID_H__) + /define XML_CHVALID_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlstring" + + * Define our typedefs and structures + + d xmlChSRangePtr s * based(######typedef######) + + d xmlChSRange ds based(xmlChSRangePtr) + d align qualified + d low like(xmlCushort) + d high like(xmlCushort) + + d xmlChLRangePtr s * based(######typedef######) + + d xmlChLRange ds based(xmlChLRangePtr) + d align qualified + d low like(xmlCuint) + d high like(xmlCuint) + + d xmlChRangeGroupPtr... + d s * based(######typedef######) + + d xmlChRangeGroup... + d ds based(xmlChRangeGroupPtr) + d align qualified + d nbShortRange like(xmlCint) + d nbLongRange like(xmlCint) + d shortRange like(xmlChSRangePtr) + d longRange like(xmlChLRangePtr) + + * Range checking routine + + d xmlCharInRange pr extproc('xmlCharInRange') + d like(xmlCint) + d val value like(xmlCuint) + d group like(xmlChRangeGroupPtr) const + + d xmlIsBaseCharGroup... + d ds import('xmlIsBaseCharGroup') + d likeds(xmlChRangeGroup) const + + d xmlIsCharGroup... + d ds import('xmlIsCharGroup') + d likeds(xmlChRangeGroup) const + + d xmlIsCombiningGroup... + d ds import('xmlIsCombiningGroup') + d likeds(xmlChRangeGroup) const + + d xmlIsDigitGroup... + d ds import('xmlIsDigitGroup') + d likeds(xmlChRangeGroup) const + + d xmlIsExtenderGroup... + d ds import('xmlIsExtenderGroup') + d likeds(xmlChRangeGroup) const + + d xmlIsIdeographicGroup... + d ds import('xmlIsIdeographicGroup') + d likeds(xmlChRangeGroup) const + + d xmlIsBaseChar pr extproc('xmlIsBaseChar') + d like(xmlCint) + d ch value like(xmlCuint) + + d xmlIsBlank pr extproc('xmlIsBlank') + d like(xmlCint) + d ch value like(xmlCuint) + + d xmlIsChar pr extproc('xmlIsChar') + d like(xmlCint) + d ch value like(xmlCuint) + + d xmlIsCombining pr extproc('xmlIsCombining') + d like(xmlCint) + d ch value like(xmlCuint) + + d xmlIsDigit pr extproc('xmlIsDigit') + d like(xmlCint) + d ch value like(xmlCuint) + + d xmlIsExtender pr extproc('xmlIsExtender') + d like(xmlCint) + d ch value like(xmlCuint) + + d xmlIsIdeographic... + d pr extproc('xmlIsIdeographic') + d like(xmlCint) + d ch value like(xmlCuint) + + d xmlIsPubidChar pr extproc('xmlIsPubidChar') + d like(xmlCint) + d ch value like(xmlCuint) + + /endif XML_CHVALID_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/debugXML.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/debugXML.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..81826bcf8293ff5c17920e187c3eaca157ff24f5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/debugXML.rpgle @@ -0,0 +1,254 @@ + * Summary: Tree debugging APIs + * Description: Interfaces to a set of routines used for debugging the tree + * produced by the XML parser. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(DEBUG_XML__) + /define DEBUG_XML__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_DEBUG_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/xpath" + + * The standard Dump routines. + + d xmlDebugDumpString... + d pr extproc('xmlDebugDumpString') + d output * value FILE * + d str * value options(*string) const xmlChar * + + d xmlDebugDumpAttr... + d pr extproc('xmlDebugDumpAttr') + d output * value FILE * + d attr value like(xmlAttrPtr) + d depth value like(xmlCint) + + d xmlDebugDumpAttrList... + d pr extproc('xmlDebugDumpAttrList') + d output * value FILE * + d attr value like(xmlAttrPtr) + d depth value like(xmlCint) + + d xmlDebugDumpOneNode... + d pr extproc('xmlDebugDumpOneNode') + d output * value FILE * + d node value like(xmlNodePtr) + d depth value like(xmlCint) + + d xmlDebugDumpNode... + d pr extproc('xmlDebugDumpNode') + d output * value FILE * + d node value like(xmlNodePtr) + d depth value like(xmlCint) + + d xmlDebugDumpNodeList... + d pr extproc('xmlDebugDumpNodeList') + d output * value FILE * + d node value like(xmlNodePtr) + d depth value like(xmlCint) + + d xmlDebugDumpDocumentHead... + d pr extproc('xmlDebugDumpDocumentHead') + d output * value FILE * + d doc value like(xmlDocPtr) + + d xmlDebugDumpDocument... + d pr extproc('xmlDebugDumpDocument') + d output * value FILE * + d doc value like(xmlDocPtr) + + d xmlDebugDumpDTD... + d pr extproc('xmlDebugDumpDTD') + d output * value FILE * + d dtd value like(xmlDtdPtr) + + d xmlDebugDumpEntities... + d pr extproc('xmlDebugDumpEntities') + d output * value FILE * + d doc value like(xmlDocPtr) + + **************************************************************** + * * + * Checking routines * + * * + **************************************************************** + + d xmlDebugCheckDocument... + d pr extproc('xmlDebugCheckDocument') + d like(xmlCint) + d output * value FILE * + d doc value like(xmlDocPtr) + + **************************************************************** + * * + * XML shell helpers * + * * + **************************************************************** + + d xmlLsOneNode pr extproc('xmlLsOneNode') + d output * value FILE * + d node value like(xmlNodePtr) + + d xmlLsCountNode pr extproc('xmlLsCountNode') + d like(xmlCint) + d node value like(xmlNodePtr) + + d xmlBoolToText pr * extproc('xmlBoolToText') const char * + d boolval value like(xmlCint) + + **************************************************************** + * * + * The XML shell related structures and functions * + * * + **************************************************************** + + /if defined(LIBXML_XPATH_ENABLED) + + * xmlShellReadlineFunc: + * @prompt: a string prompt + * + * This is a generic signature for the XML shell input function. + * + * Returns a string which will be freed by the Shell. + + d xmlShellReadlineFunc... + d s * based(######typedef######) + d procptr + + * xmlShellCtxt: + * + * A debugging shell context. + * TODO: add the defined function tables. + + d xmlShellCtxtPtr... + d s * based(######typedef######) + + d xmlSchellCtxt ds based(xmlShellCtxtPtr) + d align qualified + d filename * char * + d doc like(xmlDocPtr) + d node like(xmlNodePtr) + d pctxt like(xmlXPathContextPtr) + d loaded like(xmlCint) + d output * FILE * + d input like(xmlShellReadlineFunc) + + * xmlShellCmd: + * @ctxt: a shell context + * @arg: a string argument + * @node: a first node + * @node2: a second node + * + * This is a generic signature for the XML shell functions. + * + * Returns an int, negative returns indicating errors. + + d xmlShellCmd s * based(######typedef######) + d procptr + + d xmlShellPrintXPathError... + d pr extproc('xmlShellPrintXPathError') + d errorType value like(xmlCint) + d arg * value options(*string) const char * + + d xmlShellPrintXPathResult... + d pr extproc('xmlShellPrintXPathResult') + d list value like(xmlXPathObjectPtr) + + d xmlShellList pr extproc('xmlShellList') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d arg * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + d xmlShellBase pr extproc('xmlShellBase') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d arg * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + d xmlShellDir pr extproc('xmlShellDir') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d arg * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + d xmlShellLoad pr extproc('xmlShellLoad') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d filename * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlShellPrintNode... + d pr extproc('xmlShellPrintNode') + d node value like(xmlNodePtr) + + d xmlShellCat pr extproc('xmlShellCat') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d arg * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + d xmlShellWrite pr extproc('xmlShellWrite') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d filename * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + d xmlShellSave pr extproc('xmlShellSave') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d filename * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + /endif LIBXML_OUTPUT_ENABLD + + /if defined(LIBXML_VALID_ENABLED) + d xmlShellValidate... + d pr extproc('xmlShellValidate') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d dtd * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + /endif LIBXML_VALID_ENABLED + + d xmlShellDu pr extproc('xmlShellDu') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d arg * value options(*string) char * + d tree value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + d xmlShellPwd pr extproc('xmlShellPwd') + d like(xmlCint) + d ctxt value like(xmlShellCtxtPtr) + d buffer * value options(*string) char * + d node value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + * The Shell interface. + + d xmlShell pr extproc('xmlShell') + d doc value like(xmlDocPtr) + d filename * value options(*string) char * + d input value like(xmlShellReadlineFunc) + d output * value FILE * + + /endif LIBXML_XPATH_ENABLED + /endif LIBXML_DEBUG_ENABLED + /endif DEBUG_XML__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/dict.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/dict.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..c061e4c8c3193cbb698639f64c2a43edc8d1a32d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/dict.rpgle @@ -0,0 +1,85 @@ + * Summary: string dictionary + * Description: dictionary of reusable strings, just used to avoid + * allocation and freeing operations. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_DICT_H__) + /define XML_DICT_H__ + + * The dictionary. + + d xmlDictPtr s * based(######typedef######) + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + + * Initializer + + d xmlInitializeDict... + d pr extproc('xmlInitializeDict') + d like(xmlCint) + + * Constructor and destructor. + + d xmlDictCreate pr extproc('xmlDictCreate') + d like(xmlDictPtr) + + d xmlDictSetLimit... + d pr extproc('xmlDictSetLimit') + d like(xmlCsize_t) + d dict value like(xmlDictPtr) + d limit value like(xmlCsize_t) + + d xmlDictGetUsage... + d pr extproc('xmlDictGetUsage') + d like(xmlCsize_t) + d dict value like(xmlDictPtr) + + d xmlDictCreateSub... + d pr extproc('xmlDictCreateSub') + d like(xmlDictPtr) + d sub value like(xmlDictPtr) + + d xmlDictReference... + d pr extproc('xmlDictGetReference') + d like(xmlCint) + d dict value like(xmlDictPtr) + + d xmlDictFree pr extproc('xmlDictFree') + d dict value like(xmlDictPtr) + + * Lookup of entry in the dictionary. + + d xmlDictLookup pr * extproc('xmlDictLookup') const xmlChar * + d dict value like(xmlDictPtr) + d name * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlDictExists pr * extproc('xmlDictExists') const xmlChar * + d dict value like(xmlDictPtr) + d name * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlDictQLookup pr * extproc('xmlDictQLookup') const xmlChar * + d dict value like(xmlDictPtr) + d name * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + + d xmlDictOwns pr extproc('xmlDictOwns') + d like(xmlCint) + d dict value like(xmlDictPtr) + d str * value options(*string) const xmlChar * + + d xmlDictSize pr extproc('xmlDictSize') + d like(xmlCint) + d dict value like(xmlDictPtr) + + * Cleanup function + + d xmlDictCleanup pr extproc('xmlDictCleanup') + + /endif ! XML_DICT_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/encoding.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/encoding.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..8153f3ca7f62221ac3a0a300ab1f6021c5300e64 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/encoding.rpgle @@ -0,0 +1,284 @@ + * Summary: interface for the encoding conversion functions + * Description: interface for the encoding conversion functions needed for + * XML basic encoding and iconv() support. + * + * Related specs are + * rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies + * [ISO-10646] UTF-8 and UTF-16 in Annexes + * [ISO-8859-1] ISO Latin-1 characters codes. + * [UNICODE] The Unicode Consortium, "The Unicode Standard -- + * Worldwide Character Encoding -- Version 1.0", Addison- + * Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is + * described in Unicode Technical Report #4. + * [US-ASCII] Coded Character Set--7-bit American Standard Code for + * Information Interchange, ANSI X3.4-1986. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_CHAR_ENCODING_H__) + /define XML_CHAR_ENCODING_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + + * xmlCharEncoding: + * + * Predefined values for some standard encodings. + * Libxml does not do beforehand translation on UTF8 and ISOLatinX. + * It also supports ASCII, ISO-8859-1, and UTF16 (LE and BE) by default. + * + * Anything else would have to be translated to UTF8 before being + * given to the parser itself. The BOM for UTF16 and the encoding + * declaration are looked at and a converter is looked for at that + * point. If not found the parser stops here as asked by the XML REC. A + * converter can be registered by the user + * xmlRegisterCharEncodingHandler but the current form doesn't allow + * stateful transcoding (a serious problem agreed !). If iconv has been + * found it will be used automatically and allow stateful transcoding, + * the simplest is then to be sure to enable iconv and to provide iconv + * libs for the encoding support needed. + * + * Note that the generic "UTF-16" is not a predefined value. Instead, only + * the specific UTF-16LE and UTF-16BE are present. + + d xmlCharEncoding... + d s based(######typedef######) + d like(xmlCenum) + d XML_CHAR_ENCODING_ERROR... No encoding detected + d c -1 + d XML_CHAR_ENCODING_NONE... No encoding detected + d c 0 + d XML_CHAR_ENCODING_UTF8... UTF-8 + d c 1 + d XML_CHAR_ENCODING_UTF16LE... UTF-16 little endian + d c 2 + d XML_CHAR_ENCODING_UTF16BE... UTF-16 big endian + d c 3 + d XML_CHAR_ENCODING_UCS4LE... UCS-4 little endian + d c 4 + d XML_CHAR_ENCODING_UCS4BE... UCS-4 big endian + d c 5 + d XML_CHAR_ENCODING_EBCDIC... EBCDIC uh! + d c 6 + d XML_CHAR_ENCODING_UCS4_2143... UCS-4 unusual order + d c 7 + d XML_CHAR_ENCODING_UCS4_3412... UCS-4 unusual order + d c 8 + d XML_CHAR_ENCODING_UCS2... UCS-2 + d c 9 + d XML_CHAR_ENCODING_8859_1... ISO-8859-1 ISOLatin1 + d c 10 + d XML_CHAR_ENCODING_8859_2... ISO-8859-2 ISOLatin2 + d c 11 + d XML_CHAR_ENCODING_8859_3... ISO-8859-3 + d c 12 + d XML_CHAR_ENCODING_8859_4... ISO-8859-4 + d c 13 + d XML_CHAR_ENCODING_8859_5... ISO-8859-5 + d c 14 + d XML_CHAR_ENCODING_8859_6... ISO-8859-6 + d c 15 + d XML_CHAR_ENCODING_8859_7... ISO-8859-7 + d c 16 + d XML_CHAR_ENCODING_8859_8... ISO-8859-8 + d c 17 + d XML_CHAR_ENCODING_8859_9... ISO-8859-9 + d c 18 + d XML_CHAR_ENCODING_2022_JP... ISO-2022-JP + d c 19 + d XML_CHAR_ENCODING_SHIFT_JIS... Shift_JIS + d c 20 + d XML_CHAR_ENCODING_EUC_JP... EUC-JP + d c 21 + d XML_CHAR_ENCODING_ASCII... Pure ASCII + d c 22 + + * xmlCharEncodingInputFunc: + * @out: a pointer to an array of bytes to store the UTF-8 result + * @outlen: the length of @out + * @in: a pointer to an array of chars in the original encoding + * @inlen: the length of @in + * + * Take a block of chars in the original encoding and try to convert + * it to an UTF-8 block of chars out. + * + * Returns the number of bytes written, -1 if lack of space, or -2 + * if the transcoding failed. + * The value of @inlen after return is the number of octets consumed + * if the return value is positive, else unpredictiable. + * The value of @outlen after return is the number of octets consumed. + + d xmlCharEncodingInputFunc... + d s * based(######typedef######) + d procptr + + * xmlCharEncodingOutputFunc: + * @out: a pointer to an array of bytes to store the result + * @outlen: the length of @out + * @in: a pointer to an array of UTF-8 chars + * @inlen: the length of @in + * + * Take a block of UTF-8 chars in and try to convert it to another + * encoding. + * Note: a first call designed to produce heading info is called with + * in = NULL. If stateful this should also initialize the encoder state. + * + * Returns the number of bytes written, -1 if lack of space, or -2 + * if the transcoding failed. + * The value of @inlen after return is the number of octets consumed + * if the return value is positive, else unpredictiable. + * The value of @outlen after return is the number of octets produced. + + d xmlCharEncodingOutputFunc... + d s * based(######typedef######) + d procptr + + * Block defining the handlers for non UTF-8 encodings. + * If iconv is supported, there are two extra fields. + + /if defined(LIBXML_ICU_ENABLED) + d uconv_t ds based(######typedef######) + d align qualified + d uconv * UConverter * + d utf8 * UConverter * + /endif + + d xmlCharEncodingHandlerPtr... + d s * based(######typedef######) + + d xmlCharEncodingHandler... + d ds based(xmlCharEncodingHandlerPtr) + d align qualified + d name * char * + d input like(xmlCharEncodingInputFunc) + d output like(xmlCharEncodingOutputFunc) + * + /if defined(LIBXML_ICONV_ENABLED) + d iconv_in * iconv_t + d iconv_out * iconv_t + /endif LIBXML_ICONV_ENABLED + * + /if defined(LIBXML_ICU_ENABLED) + d uconv_in * uconv_t * + d uconv_out * uconv_t * + /endif LIBXML_ICU_ENABLED + + /include "libxmlrpg/tree" + + * Interfaces for encoding handlers. + + d xmlInitCharEncodingHandlers... + d pr extproc( + d 'xmlInitCharEncodingHandlers') + + d xmlCleanupCharEncodingHandlers... + d pr extproc( + d 'xmlCleanupCharEncodingHandlers') + + d xmlRegisterCharEncodingHandler... + d pr extproc( + d 'xmlRegisterCharEncodingHandler') + d handler value like(xmlCharEncodingHandlerPtr) + + d xmlGetCharEncodingHandler... + d pr extproc('xmlGetCharEncodingHandler') + d like(xmlCharEncodingHandlerPtr) + d enc value like(xmlCharEncoding) + + d xmlFindCharEncodingHandler... + d pr extproc('xmlFindCharEncodingHandler') + d like(xmlCharEncodingHandlerPtr) + d name * value options(*string) const char * + + d xmlNewCharEncodingHandler... + d pr extproc('xmlNewCharEncodingHandler') + d like(xmlCharEncodingHandlerPtr) + d name * value options(*string) const char * + d input value like(xmlCharEncodingInputFunc) + d output value like(xmlCharEncodingOutputFunc) + + * Interfaces for encoding names and aliases. + + d xmlAddEncodingAlias... + d pr extproc('xmlAddEncodingAlias') + d like(xmlCint) + d name * value options(*string) const char * + d alias * value options(*string) const char * + + d xmlDelEncodingAlias... + d pr extproc('xmlDelEncodingAlias') + d like(xmlCint) + d alias * value options(*string) const char * + + d xmlGetEncodingAlias... + d pr * extproc('xmlGetEncodingAlias') const char * + d alias * value options(*string) const char * + + d xmlCleanupEncodingAliases... + d pr extproc('xmlCleanupEncodingAliases') + + d xmlParseCharEncoding... + d pr extproc('xmlParseCharEncoding') + d like(xmlCharEncoding) + d name * value options(*string) const char * + + d xmlGetCharEncodingName... + d pr * extproc('xmlGetCharEncodingName') const char * + d enc value like(xmlCharEncoding) + + * Interfaces directly used by the parsers. + + d xmlDetectCharEncoding... + d pr extproc('xmlDetectCharEncoding') + d like(xmlCharEncoding) + d in * value options(*string) const unsigned char* + d len value like(xmlCint) + + d xmlCharEncOutFunc... + d pr extproc('xmlCharEncOutFunc') + d like(xmlCint) + d handler likeds(xmlCharEncodingHandler) + d out value like(xmlBufferPtr) + d in value like(xmlBufferPtr) + + d xmlCharEncInFunc... + d pr extproc('xmlCharEncInFunc') + d like(xmlCint) + d handler likeds(xmlCharEncodingHandler) + d out value like(xmlBufferPtr) + d in value like(xmlBufferPtr) + + d xmlCharEncFirstLine... + d pr extproc('xmlCharEncFirstLine') + d like(xmlCint) + d handler likeds(xmlCharEncodingHandler) + d out value like(xmlBufferPtr) + d in value like(xmlBufferPtr) + + d xmlCharEncCloseFunc... + d pr extproc('xmlCharEncCloseFunc') + d like(xmlCint) + d handler likeds(xmlCharEncodingHandler) + + * Export a few useful functions + + /if defined(LIBXML_OUTPUT_ENABLED) + d UTF8Toisolat1 pr extproc('UTF8Toisolat1') + d like(xmlCint) + d out 65535 options(*varsize) unsigned char (*) + d outlen like(xmlCint) + d in * value options(*string) const unsigned char* + d inlen like(xmlCint) + + /endif LIBXML_OUTPUT_ENABLD + + d isolat1ToUTF8 pr extproc('isolat1ToUTF8') + d like(xmlCint) + d out 65535 options(*varsize) unsigned char (*) + d outlen like(xmlCint) + d in * value options(*string) const unsigned char* + d inlen like(xmlCint) + + /endif XML_CHAR_ENCODING_H diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/entities.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/entities.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..eeec1b6db19313282d6c132e2ba0ee87929d58a2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/entities.rpgle @@ -0,0 +1,176 @@ + * Summary: interface for the XML entities handling + * Description: this module provides some of the entity API needed + * for the parser and applications. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_ENTITIES_H__) + /define XML_ENTITIES_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + + * The different valid entity types. + + d xmlEntityType s based(######typedef######) + d like(xmlCenum) + d XML_INTERNAL_GENERAL_ENTITY... + d c 1 + d XML_EXTERNAL_GENERAL_PARSED_ENTITY... + d c 2 + d XML_EXTERNAL_GENERAL_UNPARSED_ENTITY... + d c 3 + d XML_INTERNAL_PARAMETER_ENTITY... + d c 4 + d XML_EXTERNAL_PARAMETER_ENTITY... + d c 5 + d XML_INTERNAL_PREDEFINED_ENTITY... + d c 6 + + * An unit of storage for an entity, contains the string, the value + * and the linkind data needed for the linking in the hash table. + + d xmlEntity ds based(xmlEntityPtr) + d align qualified + d #private * void * + d type like(xmlElementType) XML_ENTITY_DECL + d name * const xmlChar * + d children like(xmlNodePtr) First child link + d last like(xmlNodePtr) Last child link + d parent like(xmlDtdPtr) -> DTD + d next like(xmlNodePtr) next sibling link + d prev like(xmlNodePtr) prev sibling link + d doc like(xmlDocPtr) containing document + d orig * xmlChar * + d content * xmlChar * + d length like(xmlCint) content length + d etype like(xmlEntityType) The entity type + d ExternalID * const xmlChar * + d SystemlID * const xmlChar * + d nexte like(xmlEntityPtr) unused + d URI * const xmlChar * + d owner like(xmlCint) Owns children ? + d checked like(xmlCint) Content checked ? + + * All entities are stored in an hash table. + * There is 2 separate hash tables for global and parameter entities. + + d xmlEntitiesTablePtr... + d s * based(######typedef######) + + * External functions: + + /if defined(LIBXML_LEGACY_ENABLED) + d xmlInitializePredefinedEntities... + d pr extproc( + d 'xmlInitializePredefinedEntities') + /endif LIBXML_LEGACY_ENABLD + + d xmlNewEntity pr extproc('xmlNewEntity') + d like(xmlEntityPtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + d type value like(xmlCint) + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlAddDocEntity... + d pr extproc('xmlAddDocEntity') + d like(xmlEntityPtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + d type value like(xmlCint) + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlAddDtdEntity... + d pr extproc('xmlAddDtdEntity') + d like(xmlEntityPtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + d type value like(xmlCint) + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlGetPredefinedEntity... + d pr extproc('xmlGetPredefinedEntity') + d like(xmlEntityPtr) + d name * value options(*string) const xmlChar * + + d xmlGetDocEntity... + d pr extproc('xmlGetDocEntity') + d like(xmlEntityPtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + + d xmlGetDtdEntity... + d pr extproc('xmlGetDtdEntity') + d like(xmlEntityPtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + + d xmlGetParameterEntity... + d pr extproc('xmlGetParameterEntity') + d like(xmlEntityPtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + + + /if defined(LIBXML_LEGACY_ENABLED) + d xmlEncodeEntities... + d pr * extproc('xmlEncodeEntities') xmlChar * + d doc value like(xmlDocPtr) + d input * value options(*string) const xmlChar * + /endif LIBXML_LEGACY_ENABLD + + d xmlEncodeEntitiesReentrant... + d pr * extproc( xmlChar * + d 'xmlEncodeEntitiesReentrant') + d doc value like(xmlDocPtr) + d input * value options(*string) const xmlChar * +XMLPU + d xmlEncodeSpecialChars... + d pr * extproc('xmlSpecialChars') xmlChar * + d doc value like(xmlDocPtr) + d input * value options(*string) const xmlChar * +XMLPU + d xmlCreateEntitiesTable... + d pr extproc('xmlCreateEntitiesTable') + d like(xmlEntitiesTablePtr) + + /if defined(LIBXML_TREE_ENABLED) + d xmlCopyEntitiesTable... + d pr extproc('xmlCopyEntitiesTable') + d like(xmlEntitiesTablePtr) + d table value like(xmlEntitiesTablePtr) + /endif LIBXML_TREE_ENABLED + + d xmlFreeEntitiesTable... + d pr extproc('xmlFreeEntitiesTable') + d table value like(xmlEntitiesTablePtr) +XMLPU + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlDumpEntitiesTable... + d pr extproc('xmlDumpEntitiesTable') + d buf value like(xmlBufferPtr) + d table value like(xmlEntitiesTablePtr) +XMLPU + d xmlDumpEntityDecl... + d pr extproc('xmlDumpEntityDecl') + d buf value like(xmlBufferPtr) + d ent value like(xmlEntityPtr) + /endif LIBXML_OUTPUT_ENABLD + + /if defined(LIBXML_LEGACY_ENABLED) + d xmlCleanupPredefinedEntities... + d pr extproc( +XMLPUd 'xmlCleanupPredefinedEntities') + /endif LIBXML_LEGACY_ENABLD + + /endif XML_ENTITIES_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/globals.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/globals.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..3fe3a9bc6a9c338519ccfdfdccaeec7e0f5bb74b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/globals.rpgle @@ -0,0 +1,581 @@ + * Summary: interface for all global variables of the library + * Description: all the global variables and thread handling for + * those variables is handled by this module. + * + * The bottom of this file is automatically generated by build_glob.py + * based on the description file global.data + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_GLOBALS_H) + /define XML_GLOBALS_H + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/parser" + /include "libxmlrpg/xmlerror" + /include "libxmlrpg/SAX" + /include "libxmlrpg/SAX2" + /include "libxmlrpg/xmlmemory" + + d xmlInitGlobals pr extproc('xmlInitGlobals') + + d xmlCleanupGlobals... + d pr extproc('xmlCleanupGlobals') + + * xmlParserInputBufferCreateFilenameFunc: + * @URI: the URI to read from + * @enc: the requested source encoding + * + * Signature for the function doing the lookup for a suitable input method + * corresponding to an URI. + * + * Returns the new xmlParserInputBufferPtr in case of success or NULL if no + * method was found. + + d xmlParserInputBufferCreateFilenameFunc... + d s * based(######typedef######) + d procptr + + * xmlOutputBufferCreateFilenameFunc: + * @URI: the URI to write to + * @enc: the requested target encoding + * + * Signature for the function doing the lookup for a suitable output method + * corresponding to an URI. + * + * Returns the new xmlOutputBufferPtr in case of success or NULL if no + * method was found. + + d xmlOutputBufferCreateFilenameFunc... + d s * based(######typedef######) + d procptr + + d xmlParserInputBufferCreateFilenameDefault... + d pr extproc('xmlParserInputBufferCreate+ + d FilenameDefault') + d like(xmlParserInputBuffer... + d CreateFilenameFunc) + d func value like(xmlParserInputBuffer... + d CreateFilenameFunc) + + d xmlOutputBufferCreateFilenameDefault... + d pr extproc('xmlOutputBufferCreate+ + d FilenameDefault') + d like(xmlOutputBuffer... + d CreateFilenameFunc) + d func value like(xmlOutputBuffer... + d CreateFilenameFunc) + + * xmlRegisterNodeFunc: + * @node: the current node + * + * Signature for the registration callback of a created node + + d xmlRegisterNodeFunc... + d s * based(######typedef######) + d procptr + + * xmlDeregisterNodeFunc: + * @node: the current node + * + * Signature for the deregistration callback of a discarded node + + d xmlDeregisterNodeFunc... + d s * based(######typedef######) + d procptr + + d xmlGlobalStatePtr... + d s * based(######typedef######) + + d xmlGlobalState ds based(xmlGlobalStatePtr) + d align qualified + d xmlParserVersion... + d * const char * + d xmlDefaultSAXLocator... + d likeds(xmlSAXLocator) + d xmlDefaultSAXHandler... + d likeds(xmlSAXHandlerV1) + d docbDefaultSAXHandler... + d likeds(xmlSAXHandlerV1) + d htmlDefaultSAXHandler... + d likeds(xmlSAXHandlerV1) + d xmlFree like(xmlFreeFunc) + d xmlMalloc like(xmlMallocFunc) + d xmlMemStrdup like(xmlStrdupFunc) + d xmlRealloc like(xmlReallocFunc) + d xmlGenericError... + d like(xmlGenericErrorFunc) + d xmlStructuredError... + d like(xmlStructuredErrorFunc) + d xmlGenericErrorContext... + d * void * + d oldXMLWDcompatibility... + d like(xmlCint) + d xmlBufferAllocScheme... + d like(xmlBufferAllocationScheme) + d xmlDefaultBufferSize... + d like(xmlCint) + d xmlSubstituteEntitiesDefaultValue... + d like(xmlCint) + d xmlDoValidityCheckingDefaultValue... + d like(xmlCint) + d xmlGetWarningsDefaultValue... + d like(xmlCint) + d xmlKeepBlanksDefaultValue... + d like(xmlCint) + d xmlLineNumbersDefaultValue... + d like(xmlCint) + d xmlLoadExtDtdDefaultValue... + d like(xmlCint) + d xmlParserDebugEntities... + d like(xmlCint) + d xmlPedanticParserDefaultValue... + d like(xmlCint) + d xmlSaveNoEmptyTags... + d like(xmlCint) + d xmlIndentTreeOutput... + d like(xmlCint) + d xmlTreeIndentString... + d * const char * + d xmlRegisterNodeDefaultValue... + d like(xmlRegisterNodeFunc) + d xmlDeregisterNodeDefaultValue... + d like(xmlDeregisterNodeFunc) + d xmlMallocAtomic... + d like(xmlMallocFunc) + d xmlLastError likeds(xmlError) + d xmlParserInputBufferCreateFilenameValue... + d like(xmlParserInputBuffer... + d CreateFilenameFunc) + d xmlOutputBufferCreateFilenameValue... + d like(xmlOutputBuffer... + d CreateFilenameFunc) + d xmlStructuredErrorContext... + d * void * + + /include "libxmlrpg/threads" + + d xmlInitializeGlobalState... + d pr extproc('xmlInitializeGlobalState') + d qs value like(xmlGlobalStatePtr) + + d xmlThrDefSetGenericErrorFunc... + d pr extproc( + d 'xmlThrDefSetGenericErrorFunc') + d ctx * value void * + d handler value like(xmlGenericErrorFunc) + + d xmlThrDefSetStructuredErrorFunc... + d pr extproc( + d 'xmlThrDefSetStructuredErrorFunc') + d ctx * value void * + d handler value like(xmlStructuredErrorFunc) + + d xmlRegisterNodeDefault... + d pr extproc('xmlRegisterNodeDefault') + d like(xmlRegisterNodeFunc) + d func value like(xmlRegisterNodeFunc) + + d xmlThrDefRegisterNodeDefault... + d pr extproc( + d 'xmlThrDefRegisterNodeDefault') + d like(xmlRegisterNodeFunc) + d func value like(xmlRegisterNodeFunc) + + d xmlDeregisterNodeDefault... + d pr extproc('xmlDeregisterNodeDefault') + d like(xmlDeregisterNodeFunc) + d func value like(xmlDeregisterNodeFunc) + + d xmlThrDefDeregisterNodeDefault... + d pr extproc( + d 'xmlThrDefDeregisterNodeDefault') + d like(xmlDeregisterNodeFunc) + d func value like(xmlDeregisterNodeFunc) + + d xmlThrDefOutputBufferCreateFilenameDefault... + d pr extproc('xmlThrDefOutputBuffer+ + d CreateFilenameDefault') + d like(xmlOutputBuffer... + d CreateFilenameFunc) + d func value like(xmlOutputBuffer... + d CreateFilenameFunc) + + d xmlThrDefParserInputBufferCreateFilenameDefault... + d pr extproc('xmlThrDefParserInputBuffer+ + d CreateFilenameDefault') + d like(xmlParserInputBuffer... + d CreateFilenameFunc) + d func value like(xmlParserInputBuffer... + d CreateFilenameFunc) + + /if defined(LIBXML_DOCB_ENABLED) + d get_docbDefaultSAXHandler... + d pr extproc( + d '__get_docbDefaultSAXHandler') + d likeds(xmlSAXHandlerV1) + + d set_docbDefaultSAXHandler... + d pr extproc( + d '__set_docbDefaultSAXHandler') + d value value likeds(xmlSAXHandlerV1) + /endif + + /if defined(LIBXML_HTML_ENABLED) + d get_htmlDefaultSAXHandler... + d pr extproc( + d '__get_htmlDefaultSAXHandler') + d likeds(xmlSAXHandlerV1) + + d set_htmlDefaultSAXHandler... + d pr extproc( + d '__set_htmlDefaultSAXHandler') + d value value likeds(xmlSAXHandlerV1) + /endif + + d get_xmlLastError... + d pr extproc('__get_xmlLastError') + d likeds(xmlError) + + d set_xmlLastError... + d pr extproc('__set_xmlLastError') + d value value likeds(xmlError) + + d get_oldXMLWDcompatibility... + d pr extproc( + d '__get_oldXMLWDcompatibility') + d like(xmlCint) + + d set_oldXMLWDcompatibility... + d pr extproc( + d '__set_oldXMLWDcompatibility') + d value value like(xmlCint) + + d get_xmlBufferAllocScheme... + d pr extproc('__get_xmlBufferAllocScheme') + d like(xmlBufferAllocationScheme) + + d set_xmlBufferAllocScheme... + d pr extproc('__set_xmlBufferAllocScheme') + d value value like(xmlBufferAllocationScheme) + + d xmlThrDefBufferAllocScheme... + d pr extproc('xmlThrDefBufferAllocScheme') + d like(xmlBufferAllocationScheme) + d v value like(xmlBufferAllocationScheme) + + d get_xmlDefaultBufferSize... + d pr extproc('__get_xmlDefaultBufferSize') + d like(xmlCint) + + d set_xmlDefaultBufferSize... + d pr extproc('__set_xmlDefaultBufferSize') + d value value like(xmlCint) + + d xmlThrDefDefaultBufferSize... + d pr extproc('xmlThrDefDefaultBufferSize') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlDefaultSAXHandler... + d pr extproc('__get_xmlDefaultSAXHandler') + d likeds(xmlSAXHandlerV1) + + d set_xmlDefaultSAXHandler... + d pr extproc('__set_xmlDefaultSAXHandler') + d value value likeds(xmlSAXHandlerV1) + + d get_xmlDefaultSAXLocator... + d pr extproc('__get_xmlDefaultSAXLocator') + d likeds(xmlSAXLocator) + + d set_xmlDefaultSAXLocator... + d pr extproc('__set_xmlDefaultSAXLocator') + d value value likeds(xmlSAXLocator) + + d get_xmlDoValidityCheckingDefaultValue... + d pr extproc('__get_xmlDoValidity+ + d CheckingDefaultValue') + d like(xmlCint) + + d set_xmlDoValidityCheckingDefaultValue... + d pr extproc('__set_xmlDoValidity+ + d CheckingDefaultValue') + d value value like(xmlCint) + + d xmlThrDefDoValidityCheckingDefaultValue... + d pr extproc('xmlThrDefDoValidity+ + d CheckingDefaultValue') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlGenericError... + d pr extproc('__get_xmlGenericError') + d like(xmlGenericErrorFunc) + + d set_xmlGenericError... + d pr extproc('__set_xmlGenericError') + d func value like(xmlGenericErrorFunc) + + d get_xmlStructuredError... + d pr extproc('__get_xmlStructuredError') + d like(xmlStructuredErrorFunc) + + d set_xmlStructuredError... + d pr extproc('__set_xmlStructuredError') + d func value like(xmlStructuredErrorFunc) + + d xmlStructuredError... + d pr extproc('__call_xmlStructuredError') + d userData * value options(*string) void * + d error value like(xmlErrorPtr) + + d get_xmlGenericErrorContext... + d pr extproc( + d '__get_xmlGenericErrorContext') + d * void * + + d set_xmlGenericErrorContext... + d pr extproc( + d '__set_xmlGenericErrorContext') + d value * value options(*string) void * + + d get_xmlStructuredErrorContext... + d pr extproc( + d '__get_xmlStructuredErrorContext') + d * void * + + d set_xmlStructuredErrorContext... + d pr extproc( + d '__set_xmlStructuredErrorContext') + d value * value options(*string) void * + + d get_xmlGetWarningsDefaultValue... + d pr extproc( + d '__get_xmlGetWarningsDefaultValue') + d like(xmlCint) + + d set_xmlGetWarningsDefaultValue... + d pr extproc( + d '__set_xmlGetWarningsDefaultValue') + d value value like(xmlCint) + + d xmlThrDefGetWarningsDefaultValue... + d pr extproc( + d 'xmlThrDefGetWarningsDefaultValue') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlIndentTreeOutput... + d pr extproc('__get_xmlIndentTreeOutput') + d like(xmlCint) + + d set_xmlIndentTreeOutput... + d pr extproc('__set_xmlIndentTreeOutput') + d value value like(xmlCint) + + d xmlThrDefIndentTreeOutput... + d pr extproc('xmlThrDefIndentTreeOutput') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlTreeIndentString... + d pr * extproc('__get_xmlTreeIndentString') const char * + + d set_xmlTreeIndentString... + d pr extproc('__set_xmlTreeIndentString') + d value * value options(*string) const char * + + d xmlThrDefTreeIndentString... + d pr * extproc('xmlThrDefTreeIndentString') const char * + d v * value options(*string) const char * + + d get_xmlKeepBlanksDefaultValue... + d pr extproc( + d '__get_xmlKeepBlanksDefaultValue') + d like(xmlCint) + + d set_xmlKeepBlanksDefaultValue... + d pr extproc( + d '__set_xmlKeepBlanksDefaultValue') + d value value like(xmlCint) + + d xmlThrDefKeepBlanksDefaultValue... + d pr extproc( + d 'xmlThrDefKeepBlanksDefaultValue') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlLineNumbersDefaultValue... + d pr extproc( + d '__get_xmlLineNumbersDefaultValue') + d like(xmlCint) + + d set_xmlLineNumbersDefaultValue... + d pr extproc( + d '__set_xmlLineNumbersDefaultValue') + d value value like(xmlCint) + + d xmlThrDefLineNumbersDefaultValue... + d pr extproc( + d 'xmlThrDefLineNumbersDefaultValue') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlLoadExtDtdDefaultValue... + d pr extproc( + d '__get_xmlLoadExtDtdDefaultValue') + d like(xmlCint) + + d set_xmlLoadExtDtdDefaultValue... + d pr extproc( + d '__set_xmlLoadExtDtdDefaultValue') + d value value like(xmlCint) + + d xmlThrDefLoadExtDtdDefaultValue... + d pr extproc( + d 'xmlThrDefLoadExtDtdDefaultValue') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlParserDebugEntities... + d pr extproc( + d '__get_xmlParserDebugEntities') + d like(xmlCint) + + d set_xmlParserDebugEntities... + d pr extproc( + d '__set_xmlParserDebugEntities') + d value value like(xmlCint) + + d xmlThrDefParserDebugEntities... + d pr extproc( + d 'xmlThrDefParserDebugEntities') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlParserVersion... + d pr * extproc('__get_xmlParserVersion') const char * + + d set_xmlParserVersion... + d pr extproc('__set_xmlParserVersion') + d value * value options(*string) const char * + + d get_xmlPedanticParserDefaultValue... + d pr extproc('__get_xmlPedantic+ + d ParserDefaultValue') + d like(xmlCint) + + d set_xmlPedanticParserDefaultValue... + d pr extproc('__set_xmlPedantic+ + d ParserDefaultValue') + d value value like(xmlCint) + + d xmlThrDefPedanticParserDefaultValue... + d pr extproc('xmlThrDefPedantic+ + d ParserDefaultValue') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlSaveNoEmptyTags... + d pr extproc('__get_xmlSaveNoEmptyTags') + d like(xmlCint) + + d set_xmlSaveNoEmptyTags... + d pr extproc('__set_xmlSaveNoEmptyTags') + d value value like(xmlCint) + + d xmlThrDefSaveNoEmptyTags... + d pr extproc('xmlThrDefSaveNoEmptyTags') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlSubstituteEntitiesDefaultValue... + d pr extproc('__get_xmlSubstitute+ + d EntitiesDefaultValue') + d like(xmlCint) + + d set_xmlSubstituteEntitiesDefaultValue... + d pr extproc('__set_xmlSubstitute+ + d EntitiesDefaultValue') + d value value like(xmlCint) + + d xmlThrDefSubstituteEntitiesDefaultValue... + d pr extproc('xmlThrDefSubstitute+ + d EntitiesDefaultValue') + d like(xmlCint) + d v value like(xmlCint) + + d get_xmlRegisterNodeDefaultValue... + d pr extproc('__get_xmlRegisterNode+ + d DefaultValue') + d like(xmlRegisterNodeFunc) + + d set_xmlRegisterNodeDefaultValue... + d pr extproc('__set_xmlRegisterNode+ + d DefaultValue') + d value value like(xmlRegisterNodeFunc) + + d xmlRegisterNodeDefaultValue... + d pr extproc('__call_xmlRegisterNode+ + d DefaultValue') + d node value like(xmlNodePtr) + + d get_xmlDeregisterNodeDefaultValue... + d pr extproc('__get_xmlDeregisterNode+ + d DefaultValue') + d like(xmlDeregisterNodeFunc) + + d set_xmlDeregisterNodeDefaultValue... + d pr extproc('__set_xmlDeregisterNode+ + d DefaultValue') + d value value like(xmlDeregisterNodeFunc) + + d xmlDeregisterNodeDefaultValue... + d pr extproc('__call_xmlDeregisterNode+ + d DefaultValue') + d node value like(xmlNodePtr) + + d get_xmlParserInputBufferCreateFilenameValue... + d pr extproc('__get_xmlParserInputBuffer+ + d CreateFilenameValue') + d like(xmlParserInputBuffer... + d CreateFilenameFunc) + + d set_xmlParserInputBufferCreateFilenameValue... + d pr extproc('__set_xmlParserInputBuffer+ + d CreateFilenameValue') + d value value like(xmlParserInputBuffer... + d CreateFilenameFunc) + + d xmlParserInputBufferCreateFilenameValue... + d pr extproc('__call_xmlParserInputBuffer+ + d CreateFilenameValue') + d like(xmlParserInputBufferPtr) + d URI * value options(*string) const char * + d enc value like(xmlCharEncoding) + + d get_xmlOutputBufferCreateFilenameValue... + d pr extproc('__get_xmlOutputBuffer+ + d CreateFilenameValue') + d like( + d xmlOutputBufferCreateFilenameFunc) + + d set_xmlOutputBufferCreateFilenameValue... + d pr extproc('__set_xmlOutputBuffer+ + d CreateFilenameValue') + d value value like( + d xmlOutputBufferCreateFilenameFunc) + + d xmlOutputBufferCreateFilenameValue... + d pr extproc('__call_xmlOutputBuffer+ + d CreateFilenameValue') + d like(xmlOutputBufferPtr) + d URI * value options(*string) const char * + d encoder value like(xmlCharEncodingHandlerPtr) + d compression value like(xmlCint) + + /endif XML_GLOBALS_H diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/hash.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/hash.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..b2169dfe31ca0d8f0f609a26a8246e52417087f4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/hash.rpgle @@ -0,0 +1,243 @@ + * Summary: Chained hash tables + * Description: This module implements the hash table support used in + * various places in the library. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_HASH_H__) + /define XML_HASH_H__ + + /include "libxmlrpg/xmlTypesC" + + * The hash table. + + d xmlHashTablePtr... + d s * based(######typedef######) + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/parser" + /include "libxmlrpg/dict" + + * function types: + + * xmlHashDeallocator: + * @payload: the data in the hash + * @name: the name associated + * + * Callback to free data from a hash. + + d xmlHashDeallocator... + d s * based(######typedef######) + d procptr + + * xmlHashCopier: + * @payload: the data in the hash + * @name: the name associated + * + * Callback to copy data from a hash. + * + * Returns a copy of the data or NULL in case of error. + + d xmlHashCopier s * based(######typedef######) + d procptr + + * xmlHashScanner: + * @payload: the data in the hash + * @data: extra scannner data + * @name: the name associated + * + * Callback when scanning data in a hash with the simple scanner. + + d xmlHashScanner s * based(######typedef######) + d procptr + + * xmlHashScannerFull: + * @payload: the data in the hash + * @data: extra scannner data + * @name: the name associated + * @name2: the second name associated + * @name3: the third name associated + * + * Callback when scanning data in a hash with the full scanner. + + d xmlHashScannerFull... + d s * based(######typedef######) + d procptr + + * Constructor and destructor. + + d xmlHashCreate pr extproc('xmlHashCreate') + d like(xmlHashTablePtr) + d size value like(xmlCint) + + d xmlHashCreateDict... + d pr extproc('xmlHashCreateDict') + d like(xmlHashTablePtr) + d size value like(xmlCint) + d dict value like(xmlDictPtr) + + d xmlHashFree pr extproc('xmlHashFree') + d table value like(xmlHashTablePtr) + d f value like(xmlHashDeallocator) + + * Add a new entry to the hash table. + + d xmlHashAddEntry... + d pr extproc('xmlHashAddEntry') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d userdata * value options(*string) void * + + d xmlHashUpdateEntry... + d pr extproc('xmlHashUpdateEntry') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d userdata * value options(*string) void * + d f value like(xmlHashDeallocator) + + d xmlHashAddEntry2... + d pr extproc('xmlHashAddEntry2') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d userdata * value options(*string) void * + + d xmlHashUpdateEntry2... + d pr extproc('xmlHashUpdateEntry2') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d userdata * value options(*string) void * + d f value like(xmlHashDeallocator) + + d xmlHashAddEntry3... + d pr extproc('xmlHashAddEntry3') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d name3 * value options(*string) const xmlChar * + d userdata * value options(*string) void * + + d xmlHashUpdateEntry3... + d pr extproc('xmlHashUpdateEntry3') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d name3 * value options(*string) const xmlChar * + d userdata * value options(*string) void * + d f value like(xmlHashDeallocator) + + * Remove an entry from the hash table. + + d xmlHashRemoveEntry... + d pr extproc('xmlHashRemoveEntry') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d f value like(xmlHashDeallocator) + + d xmlHashRemoveEntry2... + d pr extproc('xmlHashRemoveEntry2') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d f value like(xmlHashDeallocator) + + d xmlHashRemoveEntry3... + d pr extproc('xmlHashRemoveEntry3') + d like(xmlCint) + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d name3 * value options(*string) const xmlChar * + d f value like(xmlHashDeallocator) + + * Retrieve the userdata. + + d xmlHashLookup pr * extproc('xmlHashLookup') void * + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + + d xmlHashLookup2 pr * extproc('xmlHashLookup2') void * + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + + d xmlHashLookup3 pr * extproc('xmlHashLookup3') void * + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d name3 * value options(*string) const xmlChar * + + d xmlHashQLookup pr * extproc('xmlHashQLookup') void * + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + + d xmlHashQLookup2... + d pr * extproc('xmlHashQLookup2') void * + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d prefix2 * value options(*string) const xmlChar * + + d xmlHashQLookup3... + d pr * extproc('xmlHashQLookup3') void * + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d prefix2 * value options(*string) const xmlChar * + d name3 * value options(*string) const xmlChar * + d prefix3 * value options(*string) const xmlChar * + + * Helpers. + + d xmlHashCopy pr extproc('xmlHashCopy') + d like(xmlHashTablePtr) + d table value like(xmlHashTablePtr) + d f value like(xmlHashCopier) + + d xmlHashSize pr extproc('xmlHashSize') + d like(xmlCint) + d table value like(xmlHashTablePtr) + + d xmlHashScan pr extproc('xmlHashScan') + d table value like(xmlHashTablePtr) + d f value like(xmlHashScanner) + d data * value options(*string) void * + + d xmlHashScan3 pr extproc('xmlHashScan3') + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d name3 * value options(*string) const xmlChar * + d f value like(xmlHashScanner) + d data * value options(*string) void * + + d xmlHashScanFull... + d pr extproc('xmlHashScanFull') + d table value like(xmlHashTablePtr) + d f value like(xmlHashScannerFull) + d data * value options(*string) void * + + d xmlHashScanFull3... + d pr extproc('xmlHashScanFull3') + d table value like(xmlHashTablePtr) + d name * value options(*string) const xmlChar * + d name2 * value options(*string) const xmlChar * + d name3 * value options(*string) const xmlChar * + d f value like(xmlHashScannerFull) + d data * value options(*string) void * + + /endif XML_HASH_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/list.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/list.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..ce2fa1c1b8f1c25b007733df3521819401ce3c64 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/list.rpgle @@ -0,0 +1,179 @@ + * Summary: lists interfaces + * Description: this module implement the list support used in + * various place in the library. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_LINK_INCLUDE__) + /define XML_LINK_INCLUDE__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + + d xmlLinkPtr s * based(######typedef######) + + d xmlListPtr s * based(######typedef######) + + * xmlListDeallocator: + * @lk: the data to deallocate + * + * Callback function used to free data from a list. + + d xmlListDeallocator... + d s * based(######typedef######) + d procptr + + * xmlListDataCompare: + * @data0: the first data + * @data1: the second data + * + * Callback function used to compare 2 data. + * + * Returns 0 is equality, -1 or 1 otherwise depending on the ordering. + + d xmlListDataCompare... + d s * based(######typedef######) + d procptr + + * xmlListWalker: + * @data: the data found in the list + * @user: extra user provided data to the walker + * + * Callback function used when walking a list with xmlListWalk(). + * + * Returns 0 to stop walking the list, 1 otherwise. + + d xmlListWalker s * based(######typedef######) + d procptr + + * Creation/Deletion + + d xmlListCreate pr extproc('xmlListCreate') + d like(xmlListPtr) + d deallocator value like(xmlListDeallocator) + d compare value like(xmlListDataCompare) + + d xmlListDelete pr extproc('xmlListDelete') + d l value like(xmlListPtr) + + * Basic Operators + + d xmlListSearch pr * extproc('xmlListSearch') void * + d l value like(xmlListPtr) + d data * value void * + + d xmlListReverseSearch... + d pr * extproc('xmlListReverseSearch') void * + d l value like(xmlListPtr) + d data * value void * + + d xmlListInsert pr extproc('xmlListInsert') + d like(xmlCint) + d l value like(xmlListPtr) + d data * value void * + + d xmlListAppend pr extproc('xmlListAppend') + d like(xmlCint) + d l value like(xmlListPtr) + d data * value void * + + d xmlListRemoveFirst... + d pr extproc('xmlListRemoveFirst') + d like(xmlCint) + d l value like(xmlListPtr) + d data * value void * + + d xmlListRemoveLast... + d pr extproc('xmlListRemoveLast') + d like(xmlCint) + d l value like(xmlListPtr) + d data * value void * + + d xmlListRemoveAll... + d pr extproc('xmlListRemoveAll') + d like(xmlCint) + d l value like(xmlListPtr) + d data * value void * + + d xmlListClear pr extproc('xmlListClear') + d l value like(xmlListPtr) + + d xmlListEmpty pr extproc('xmlListEmpty') + d like(xmlCint) + d l value like(xmlListPtr) + + d xmlListFront pr extproc('xmlListFront') + d like(xmlLinkPtr) + d l value like(xmlListPtr) + + d xmlListEnd pr extproc('xmlListEnd') + d like(xmlLinkPtr) + d l value like(xmlListPtr) + + d xmlListSize pr extproc('xmlListSize') + d like(xmlCint) + d l value like(xmlListPtr) + + d xmlListPopFront... + d pr extproc('xmlListPopFront') + d l value like(xmlListPtr) + + d xmlListPopBack... + d pr extproc('xmlListPopBack') + d l value like(xmlListPtr) + + d xmlListPushFront... + d pr extproc('xmlListPushFront') + d like(xmlCint) + d l value like(xmlListPtr) + d data * value void * + + d xmlListPushBack... + d pr extproc('xmlListPushBack') + d like(xmlCint) + d l value like(xmlListPtr) + d data * value void * + + * Advanced Operators + + d xmlListReverse pr extproc('xmlListReverse') + d l value like(xmlListPtr) + + d xmlListSort pr extproc('xmlListSort') + d l value like(xmlListPtr) + + d xmlListWalk pr extproc('xmlListWalk') + d l value like(xmlListPtr) + d walker value like(xmlListWalker) + d user * value const void * + + d xmlListReverseWalk... + d pr extproc('xmlListReverseWalk') + d l value like(xmlListPtr) + d walker value like(xmlListWalker) + d user * value const void * + + d xmlListMerge pr extproc('xmlListMerge') + d l1 value like(xmlListPtr) + d l2 value like(xmlListPtr) + + d xmlListDup pr extproc('xmlListDup') + d like(xmlListPtr) + d old value like(xmlListPtr) + + d xmlListCopy pr extproc('xmlListCopy') + d like(xmlCint) + d cur value like(xmlListPtr) + d old value like(xmlListPtr) const + + * Link operators + + d xmlListGetData pr * extproc('xmlListGetData') void * + d lk value like(xmlLinkPtr) + + * xmlListUnique() + * xmlListSwap + + /endif XML_LINK_INCLUDE__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/nanoftp.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/nanoftp.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..ac4f2aaf6d4e665c4374a238c3e4c1b6daedba1a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/nanoftp.rpgle @@ -0,0 +1,172 @@ + * Summary: minimal FTP implementation + * Description: minimal FTP implementation allowing to fetch resources + * like external subset. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(NANO_FTP_H__) + /define NANO_FTP_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_FTP_ENABLED) + + /include "libxmlrpg/xmlTypesC" + + d INVALID_SOCKET c -1 + + * ftpListCallback: + * @userData: user provided data for the callback + * @filename: the file name (including "->" when links are shown) + * @attrib: the attribute string + * @owner: the owner string + * @group: the group string + * @size: the file size + * @links: the link count + * @year: the year + * @month: the month + * @day: the day + * @hour: the hour + * @minute: the minute + * + * A callback for the xmlNanoFTPList command. + * Note that only one of year and day:minute are specified. + + d ftpListCallback... + d s * based(######typedef######) + d procptr + + * ftpDataCallback: + * @userData: the user provided context + * @data: the data received + * @len: its size in bytes + * + * A callback for the xmlNanoFTPGet command. + + d ftpDataCallback... + d s * based(######typedef######) + d procptr + + * Init + + d xmlNanoFTPInit pr extproc('xmlNanoFTPInit') + + d xmlNanoFTPCleanup... + d pr extproc('xmlNanoFTPCleanup') + + * Creating/freeing contexts. + + d xmlNanoFTPNewCtxt... + d pr * extproc('xmlNanoFTPNewCtxt') void * + d URL * value options(*string) const char * + + d xmlNanoFTPFreeCtxt... + d pr extproc('xmlNanoFTPFreeCtxt') + d ctx * value void * + + d xmlNanoFTPConnectTo... + d pr * extproc('xmlNanoFTPConnectTo') void * + d server * value options(*string) const char * + d port value like(xmlCint) + + * Opening/closing session connections. + + d xmlNanoFTPOpen pr * extproc('xmlNanoFTPOpen') void * + d URL * value options(*string) const char * + + d xmlNanoFTPConnect... + d pr extproc('xmlNanoFTPConnect') + d like(xmlCint) + d ctx * value void * + + d xmlNanoFTPClose... + d pr extproc('xmlNanoFTPClose') + d like(xmlCint) + d ctx * value void * + + d xmlNanoFTPQuit pr extproc('xmlNanoFTPQuit') + d like(xmlCint) + d ctx * value void * + + d xmlNanoFTPScanProxy... + d pr extproc('xmlNanoFTPScanProxy') + d URL * value options(*string) const char * + + d xmlNanoFTPProxy... + d pr extproc('xmlNanoFTPProxy') + d host * value options(*string) const char * + d port value like(xmlCint) + d user * value options(*string) const char * + d passwd * value options(*string) const char * + d type value like(xmlCint) + + d xmlNanoFTPUpdateURL... + d pr extproc('xmlNanoFTPUpdateURL') + d like(xmlCint) + d ctx * value void * + d URL * value options(*string) const char * + + * Rather internal commands. + + d xmlNanoFTPGetResponse... + d pr extproc('xmlNanoFTPGetResponse') + d like(xmlCint) + d ctx * value void * + + d xmlNanoFTPCheckResponse... + d pr extproc('xmlNanoFTPCheckResponse') + d like(xmlCint) + d ctx * value void * + + * CD/DIR/GET handlers. + + d xmlNanoFTPCwd pr extproc('xmlNanoFTPCwd') + d like(xmlCint) + d ctx * value void * + d directory * value options(*string) const char * + + d xmlNanoFTPDele pr extproc('xmlNanoFTPDele') + d like(xmlCint) + d ctx * value void * + d file * value options(*string) const char * + + d xmlNanoFTPGetConnection... + d pr extproc('xmlNanoFTPGetConnection') Socket descriptor + d like(xmlCint) + d ctx * value void * + + d xmlNanoFTPCloseConnection... + d pr extproc('xmlNanoFTPCloseConnection') + d like(xmlCint) + d ctx * value void * + + d xmlNanoFTPList pr extproc('xmlNanoFTPList') + d like(xmlCint) + d ctx * value void * + d callback value like(ftpListCallback) + d userData * value void * + d filename * value options(*string) const char * + + d xmlNanoFTPGetSocket... + d pr extproc('xmlNanoFTPGetSocket') Socket descriptor + d like(xmlCint) + d ctx * value void * + d filename * value options(*string) const char * + + d xmlNanoFTPGet pr extproc('xmlNanoFTPGet') + d like(xmlCint) + d ctx * value void * + d callback value like(ftpDataCallback) + d userData * value void * + d filename * value options(*string) const char * + + d xmlNanoFTPRead pr extproc('xmlNanoFTPRead') + d like(xmlCint) + d ctx * value void * + d dest * value void * + d len value like(xmlCint) + + /endif LIBXML_FTP_ENABLED + /endif NANO_FTP_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/nanohttp.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/nanohttp.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..d4e6008fd8080e17058fcf8179a5f78b8012d92c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/nanohttp.rpgle @@ -0,0 +1,110 @@ + * Summary: minimal HTTP implementation + * Description: minimal HTTP implementation allowing to fetch resources + * like external subset. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(NANO_HTTP_H__) + /define NANO_HTTP_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_HTTP_ENABLED) + + /include "libxmlrpg/xmlTypesC" + + d xmlNanoHTTPInit... + d pr extproc('xmlNanoHTTPInit') + + d xmlNanoHTTPCleanup... + d pr extproc('xmlNanoHTTPCleanup') + + d xmlNanoHTTPScanProxy... + d pr extproc('xmlNanoHTTPScanProxy') + d URL * value options(*string) const char * + + d xmlNanoHTTPFetch... + d pr extproc('xmlNanoHTTPFetch') + d like(xmlCint) + d URL * value options(*string) const char * + d filename * value options(*string) const char * + + d xmlNanoHTTPMethod... + d pr * extproc('xmlNanoHTTPMethod') void * + d URL * value options(*string) const char * + d method * value options(*string) const char * + d input * value options(*string) const char * + d contentType * value char * * + d headers * value options(*string) const char * + d ilen value like(xmlCint) + + d xmlNanoHTTPMethodRedir... + d pr * extproc('xmlNanoHTTPMethodRedir') void * + d URL * value options(*string) const char * + d method * value options(*string) const char * + d input * value options(*string) const char * + d contentType * value char * * + d redir * value char * * + d headers * value options(*string) const char * + d ilen value like(xmlCint) + + d xmlNanoHTTPOpen... + d pr * extproc('xmlNanoHTTPOpen') void * + d URL * value options(*string) const char * + d contentType * char *(*) + + d xmlNanoHTTPOpenRedir... + d pr * extproc('xmlNanoHTTPOpenRedir') void * + d URL * value options(*string) const char * + d contentType * value char * * + d redir * value char * * + + d xmlNanoHTTPReturnCode... + d pr extproc('xmlNanoHTTPReturnCode') + d like(xmlCint) + d ctx * value void * + + d xmlNanoHTTPAuthHeader... + d pr * extproc('xmlNanoHTTPAuthHeader') const char * + d ctx * value void * + + d xmlNanoHTTPRedir... + d pr * extproc('xmlNanoHTTPRedir') const char * + d ctx * value void * + + d xmlNanoHTTPContentLength... + d pr extproc('xmlNanoHTTPContentLength') + d like(xmlCint) + d ctx * value void * + + d xmlNanoHTTPEncoding... + d pr * extproc('xmlNanoHTTPEncoding') const char * + d ctx * value void * + + d xmlNanoHTTPMimeType... + d pr * extproc('xmlNanoHTTPMimeType') const char * + d ctx * value void * + + d xmlNanoHTTPRead... + d pr extproc('xmlNanoHTTPRead') + d like(xmlCint) + d ctx * value void * + d dest * value void * + d len value like(xmlCint) + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlNanoHTTPSave... + d pr extproc('xmlNanoHTTPSave') + d like(xmlCint) + d ctxt * value void * + d filename * value options(*string) const char * + /endif LIBXML_OUTPUT_ENABLD + + d xmlNanoHTTPClose... + d pr extproc('xmlNanoHTTPClose') + d ctx * value void * + + /endif LIBXML_HTTP_ENABLED + /endif NANO_HTTP_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/parser.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/parser.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..c6b17a131ba5bb44306df9b12066215afbead2b4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/parser.rpgle @@ -0,0 +1,1436 @@ + * Summary: the core parser module + * Description: Interfaces, constants and types related to the XML parser + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_PARSER_H__) + /define XML_PARSER_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/dict" + /include "libxmlrpg/hash" + /include "libxmlrpg/valid" + /include "libxmlrpg/entities" + /include "libxmlrpg/xmlerror" + /include "libxmlrpg/xmlstring" + + * XML_DEFAULT_VERSION: + * + * The default version of XML used: 1.0 + + d XML_DEFAULT_VERSION... + d c '1.0' + + * xmlParserInput: + * + * An xmlParserInput is an input flow for the XML processor. + * Each entity parsed is associated an xmlParserInput (except the + * few predefined ones). This is the case both for internal entities + * - in which case the flow is already completely in memory - or + * external entities - in which case we use the buf structure for + * progressive reading and I18N conversions to the internal UTF-8 format. + + * xmlParserInputDeallocate: + * @str: the string to deallocate + * + * Callback for freeing some parser input allocations. + + d xmlParserInputDeallocate... + d s * based(######typedef######) + d procptr + + * Input buffer + + d xmlParserInput ds based(xmlParserInputPtr) + d align qualified + d buf like(xmlParserInputBufferPtr) UTF-8 encoded buffer + d filename * const char * + d directory * const char * + d base * const char * + d cur * const char * + d end * const char * + d length like(xmlCint) Length if known + d line like(xmlCint) Current line + d col like(xmlCint) Current column + * + * NOTE: consumed is only tested for equality in the parser code, + * so even if there is an overflow this should not give troubles + * for parsing very large instances. + * + d consumed like(xmlCulong) # consumed xmlChars + d free like(xmlParserInputDeallocate) base deallocator + d encoding * const xmlChar * + d version * const xmlChar * + d standalone like(xmlCint) Standalone entity ? + d id like(xmlCint) Entity unique ID + + * xmlParserNodeInfo: + * + * The parser can be asked to collect Node information, i.e. at what + * place in the file they were detected. + * NOTE: This is off by default and not very well tested. + + d xmlParserNodeInfoPtr... + d s * based(######typedef######) + + d xmlParserNodeInfo... + d ds based(xmlParserNodeInfoPtr) + d align qualified + d node like(xmlNodePtr) const + * Position & line # that text that created the node begins & ends on + d begin_pos like(xmlCulong) + d begin_line like(xmlCulong) + d end_pos like(xmlCulong) + d end_line like(xmlCulong) + + d xmlParserNodeInfoSeqPtr... + d s * based(######typedef######) + + d xmlParserNodeInfoSeq... + d ds based(xmlParserNodeInfoSeqPtr) + d align qualified + d maximum like(xmlCulong) + d length like(xmlCulong) + d buffer like(xmlParserNodeInfoPtr) + + * xmlParserInputState: + * + * The parser is now working also as a state based parser. + * The recursive one use the state info for entities processing. + + d xmlParserInputState... + d s based(######typedef######) + d like(xmlCenum) + d XML_PARSER_EOF... Nothing to parse + d c -1 + d XML_PARSER_START... Nothing parsed + d c 0 + d XML_PARSER_MISC... Misc* b4 int subset + d c 1 + d XML_PARSER_PI c 2 In proc instr + d XML_PARSER_DTD... In some DTD content + d c 3 + d XML_PARSER_PROLOG... Misc* after int sbst + d c 4 + d XML_PARSER_COMMENT... Within a comment + d c 5 + d XML_PARSER_START_TAG... Within a start tag + d c 6 + d XML_PARSER_CONTENT... Within the content + d c 7 + d XML_PARSER_CDATA_SECTION... Within a CDATA + d c 8 + d XML_PARSER_END_TAG... Within a closing tag + d c 9 + d XML_PARSER_ENTITY_DECL... In an entity decl + d c 10 + d XML_PARSER_ENTITY_VALUE... In entity decl value + d c 11 + d XML_PARSER_ATTRIBUTE_VALUE... In attribute value + d c 12 + d XML_PARSER_SYSTEM_LITERAL... In a SYSTEM value + d c 13 + d XML_PARSER_EPILOG... Last end tag Misc* + d c 14 + d XML_PARSER_IGNORE... In IGNORED section + d c 15 + d XML_PARSER_PUBLIC_LITERAL... In a PUBLIC value + d c 16 + + * XML_DETECT_IDS: + * + * Bit in the loadsubset context field to tell to do ID/REFs lookups. + * Use it to initialize xmlLoadExtDtdDefaultValue. + + d XML_DETECT_IDS c 2 + + * XML_COMPLETE_ATTRS: + * + * Bit in the loadsubset context field to tell to do complete the + * elements attributes lists with the ones defaulted from the DTDs. + * Use it to initialize xmlLoadExtDtdDefaultValue. + + d XML_COMPLETE_ATTRS... + d c 4 + + * XML_SKIP_IDS: + * + * Bit in the loadsubset context field to tell to not do ID/REFs + * registration. + * Used to initialize xmlLoadExtDtdDefaultValue in some special cases. + + d XML_SKIP_IDS c 8 + + * xmlParserMode: + * + * A parser can operate in various modes + + d xmlParserMode s based(######typedef######) + d like(xmlCenum) + d XML_PARSE_UNKNOWN... + d c 0 + d XML_PARSE_DOM... + d c 1 + d XML_PARSE_SAX... + d c 2 + d XML_PARSE_PUSH_DOM... + d c 3 + d XML_PARSE_PUSH_SAX... + d c 4 + d XML_PARSE_READER... + d c 5 + + * xmlParserCtxt: + * + * The parser context. + * NOTE This doesn't completely define the parser state, the (current ?) + * design of the parser uses recursive function calls since this allow + * and easy mapping from the production rules of the specification + * to the actual code. The drawback is that the actual function call + * also reflect the parser state. However most of the parsing routines + * takes as the only argument the parser context pointer, so migrating + * to a state based parser for progressive parsing shouldn't be too + * hard. + + d xmlParserCtxt ds based(xmlParserCtxtPtr) + d align qualified + d sax like(xmlSAXHandlerPtr) The SAX handler + d userData * SAX only-4 DOM build + d myDoc like(xmlDocPtr) Document being built + d wellFormed like(xmlCint) Well formed doc ? + d replaceEntities... Replace entities ? + d like(xmlCint) + d version * const xmlChar * + d encoding * const xmlChar * + d standalone like(xmlCint) Standalone document + d html like(xmlCint) HTML state/type + * + * Input stream stack + * + d input like(xmlParserInputPtr) Current input stream + d inputNr like(xmlCint) # current in streams + d inputMax like(xmlCint) Max # of in streams + d inputTab * xmlParserInputPtr * + * + * Node analysis stack only used for DOM building + * + d node like(xmlNodePtr) Current parsed node + d nodeNr like(xmlCint) Parsing stack depth + d nodeMax like(xmlCint) Max stack depth + d nodeTab * xmlNodePtr * + * + d record_info like(xmlCint) Keep node info ? + d node_seq likeds(xmlParserNodeInfoSeq) Parsed nodes info + * + d errNo like(xmlCint) Error code + * + d hasExternalSubset... + d like(xmlCint) + d hasPErefs like(xmlCint) + d external like(xmlCint) Parsing ext. entity? + * + d valid like(xmlCint) Valid document ? + d validate like(xmlCint) Try to validate ? + d vctxt likeds(xmlValidCtxt) Validity context + * + d instate like(xmlParserInputState) Current input type + d token like(xmlCint) Next look-ahead char + * + d directory * char * + * + * Node name stack + * + d name * const xmlChar * + d nameNr like(xmlCint) Parsing stack depth + d nameMax like(xmlCint) Max stack depth + d nameTab * const xmlChar * * + * + d nbChars like(xmlClong) # xmlChars processed + d checkIndex like(xmlClong) 4 progressive parse + d keepBlanks like(xmlCint) Ugly but ... + d disableSAX like(xmlCint) Disable SAX cllbacks + d inSubset like(xmlCint) In int 1/ext 2 sbset + d intSubName * const xmlChar * + d extSubURI * const xmlChar * + d extSubSytem * const xmlChar * + * + * xml:space values + * + d space * int * + d spaceNr like(xmlCint) Parsing stack depth + d spaceMax like(xmlCint) Max stack depth + d spaceTab * int * + * + d depth like(xmlCint) To detect loops + d entity like(xmlParserInputPtr) To check boundaries + d charset like(xmlCint) In-memory content + d nodelen like(xmlCint) Speed up parsing + d nodemem like(xmlCint) Speed up parsing + d pedantic like(xmlCint) Enb. pedantic warng + d #private * void * + * + d loadsubset like(xmlCint) Load ext. subset ? + d linenumbers like(xmlCint) Set line numbers ? + d catalogs * void * + d recovery like(xmlCint) Run in recovery mode + d progressive like(xmlCint) Progressive parsing? + d dict like(xmlDictPtr) Parser dictionary + d atts * const xmlChar * + d maxatts like(xmlCint) Above array size + d docdict like(xmlCint) Use dictionary ? + * + * pre-interned strings + * + d str_xml * const xmlChar * + d str_xmlns * const xmlChar * + d str_xml_ms * const xmlChar * + * + * Everything below is used only by the new SAX mode + * + d sax2 like(xmlCint) New SAX mode ? + d nsNr like(xmlCint) # inherited nmspaces + d nsMax like(xmlCint) Array size + d nsTab * const xmlChar * + d attallocs * int * + d pushTab * void * + d attsDefault like(xmlHashTablePtr) Defaulted attrs + d attsSpecial like(xmlHashTablePtr) non-CDATA attrs + d nsWellFormed like(xmlCint) Doc namespace OK ? + d options like(xmlCint) Extra options + * + * Those fields are needed only for treaming parsing so far + * + d dictNames like(xmlCint) Dict names in tree ? + d freeElemsNr like(xmlCint) # free element nodes + d freeElems like(xmlNodePtr) Free elem nodes list + d freeAttrsNr like(xmlCint) # free attr. nodes + d freeAttrs like(xmlAttrPtr) Free attr noes list + * + * the complete error information for the last error. + * + d lastError likeds(xmlError) + d parseMode like(xmlParserMode) The parser mode + d nbentities like(xmlCulong) # entity references + d sizeentities like(xmlCulong) Parsed entities size + * + * for use by HTML non-recursive parser + * + d nodeInfo like(xmlParserNodeInfoPtr) Current NodeInfo + d nodeInfoNr like(xmlCint) Parsing stack depth + d nodeInfoMax like(xmlCint) Max stack depth + d nodeInfoTab * xmlParserNodeInfo * + * + d input_id like(xmlCint) Label inputs ? + d sizeentcopy like(xmlCulong) Entity copy volume + + * xmlSAXLocator: + * + * A SAX Locator. + + d xmlSAXLocator ds based(xmlSAXLocatorPtr) + d align qualified + d getPublicId * procptr + d getSystemId * procptr + d getLineNumber * procptr + d getColumnNumber... + d * procptr + + * xmlSAXHandler: + * + * A SAX handler is bunch of callbacks called by the parser when + * processing of the input generate data or structure information. + + * resolveEntitySAXFunc: + * @ctx: the user data (XML parser context) + * @publicId: The public ID of the entity + * @systemId: The system ID of the entity + * + * Callback: + * The entity loader, to control the loading of external entities, + * the application can either: + * - override this resolveEntity() callback in the SAX block + * - or better use the xmlSetExternalEntityLoader() function to + * set up it's own entity resolution routine + * + * Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour. + + d resolveEntitySAXFunc... + d s * based(######typedef######) + d procptr + + * internalSubsetSAXFunc: + * @ctx: the user data (XML parser context) + * @name: the root element name + * @ExternalID: the external ID + * @SystemID: the SYSTEM ID (e.g. filename or URL) + * + * Callback on internal subset declaration. + + d internalSubsetSAXFunc... + d s * based(######typedef######) + d procptr + + * externalSubsetSAXFunc: + * @ctx: the user data (XML parser context) + * @name: the root element name + * @ExternalID: the external ID + * @SystemID: the SYSTEM ID (e.g. filename or URL) + * + * Callback on external subset declaration. + + d externalSubsetSAXFunc... + d s * based(######typedef######) + d procptr + + * getEntitySAXFunc: + * @ctx: the user data (XML parser context) + * @name: The entity name + * + * Get an entity by name. + * + * Returns the xmlEntityPtr if found. + + d getEntitySAXFunc... + d s * based(######typedef######) + d procptr + + * getParameterEntitySAXFunc: + * @ctx: the user data (XML parser context) + * @name: The entity name + * + * Get a parameter entity by name. + * + * Returns the xmlEntityPtr if found. + + d getParameterEntitySAXFunc... + d s * based(######typedef######) + d procptr + + * entityDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @name: the entity name + * @type: the entity type + * @publicId: The public ID of the entity + * @systemId: The system ID of the entity + * @content: the entity value (without processing). + * + * An entity definition has been parsed. + + d entityDeclSAXFunc... + d s * based(######typedef######) + d procptr + + * notationDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The name of the notation + * @publicId: The public ID of the entity + * @systemId: The system ID of the entity + * + * What to do when a notation declaration has been parsed. + + d notationDeclSAXFunc... + d s * based(######typedef######) + d procptr + + * attributeDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @elem: the name of the element + * @fullname: the attribute name + * @type: the attribute type + * @def: the type of default value + * @defaultValue: the attribute default value + * @tree: the tree of enumerated value set + * + * An attribute definition has been parsed. + + d attributeDeclSAXFunc... + d s * based(######typedef######) + d procptr + + * elementDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @name: the element name + * @type: the element type + * @content: the element value tree + * + * An element definition has been parsed. + + d elementDeclSAXFunc... + d s * based(######typedef######) + d procptr + + * unparsedEntityDeclSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The name of the entity + * @publicId: The public ID of the entity + * @systemId: The system ID of the entity + * @notationName: the name of the notation + * + * What to do when an unparsed entity declaration is parsed. + + d unparsedEntityDeclSAXFunc... + d s * based(######typedef######) + d procptr + + * setDocumentLocatorSAXFunc: + * @ctx: the user data (XML parser context) + * @loc: A SAX Locator + * + * Receive the document locator at startup, actually xmlDefaultSAXLocator. + * Everything is available on the context, so this is useless in our case. + + d setDocumentLocatorSAXFunc... + d s * based(######typedef######) + d procptr + + * startDocumentSAXFunc: + * @ctx: the user data (XML parser context) + * + * Called when the document start being processed. + + d startDocumentSAXFunc... + d s * based(######typedef######) + d procptr + + * endDocumentSAXFunc: + * @ctx: the user data (XML parser context) + * + * Called when the document end has been detected. + + d endDocumentSAXFunc... + d s * based(######typedef######) + d procptr + + * startElementSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The element name, including namespace prefix + * @atts: An array of name/value attributes pairs, NULL terminated + * + * Called when an opening tag has been processed. + + d startElementSAXFunc... + d s * based(######typedef######) + d procptr + + * endElementSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The element name + * + * Called when the end of an element has been detected. + + d endElementSAXFunc... + d s * based(######typedef######) + d procptr + + * attributeSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The attribute name, including namespace prefix + * @value: The attribute value + * + * Handle an attribute that has been read by the parser. + * The default handling is to convert the attribute into an + * DOM subtree and past it in a new xmlAttr element added to + * the element. + + d attributeSAXFunc... + d s * based(######typedef######) + d procptr + + * referenceSAXFunc: + * @ctx: the user data (XML parser context) + * @name: The entity name + * + * Called when an entity reference is detected. + + d referenceSAXFunc... + d s * based(######typedef######) + d procptr + + * charactersSAXFunc: + * @ctx: the user data (XML parser context) + * @ch: a xmlChar string + * @len: the number of xmlChar + * + * Receiving some chars from the parser. + + d charactersSAXFunc... + d s * based(######typedef######) + d procptr + + * ignorableWhitespaceSAXFunc: + * @ctx: the user data (XML parser context) + * @ch: a xmlChar string + * @len: the number of xmlChar + * + * Receiving some ignorable whitespaces from the parser. + * UNUSED: by default the DOM building will use characters. + + d ignorableWhitespaceSAXFunc... + d s * based(######typedef######) + d procptr + + * processingInstructionSAXFunc: + * @ctx: the user data (XML parser context) + * @target: the target name + * @data: the PI data's + * + * A processing instruction has been parsed. + + d processingInstructionSAXFunc... + d s * based(######typedef######) + d procptr + + * commentSAXFunc: + * @ctx: the user data (XML parser context) + * @value: the comment content + * + * A comment has been parsed. + + d commentSAXFunc... + d s * based(######typedef######) + d procptr + + * cdataBlockSAXFunc: + * @ctx: the user data (XML parser context) + * @value: The pcdata content + * @len: the block length + * + * Called when a pcdata block has been parsed. + + d cdataBlockSAXFunc... + d s * based(######typedef######) + d procptr + + * warningSAXFunc: + * @ctx: an XML parser context + * @msg: the message to display/transmit + * @...: extra parameters for the message display + * + * Display and format a warning messages, callback. + + d warningSAXFunc... + d s * based(######typedef######) + d procptr + + * errorSAXFunc: + * @ctx: an XML parser context + * @msg: the message to display/transmit + * @...: extra parameters for the message display + * + * Display and format an error messages, callback. + + d errorSAXFunc... + d s * based(######typedef######) + d procptr + + * fatalErrorSAXFunc: + * @ctx: an XML parser context + * @msg: the message to display/transmit + * @...: extra parameters for the message display + * + * Display and format fatal error messages, callback. + * Note: so far fatalError() SAX callbacks are not used, error() + * get all the callbacks for errors. + + d fatalErrorSAXFunc... + d s * based(######typedef######) + d procptr + + * isStandaloneSAXFunc: + * @ctx: the user data (XML parser context) + * + * Is this document tagged standalone? + * + * Returns 1 if true + + d isStandaloneSAXFunc... + d s * based(######typedef######) + d procptr + + * hasInternalSubsetSAXFunc: + * @ctx: the user data (XML parser context) + * + * Does this document has an internal subset. + * + * Returns 1 if true + + d hasInternalSubsetSAXFunc... + d s * based(######typedef######) + d procptr + + * hasExternalSubsetSAXFunc: + * @ctx: the user data (XML parser context) + * + * Does this document has an external subset? + * + * Returns 1 if true + + d hasExternalSubsetSAXFunc... + d s * based(######typedef######) + d procptr + + ************************************************************************ + * * + * The SAX version 2 API extensions * + * * + ************************************************************************ + + * XML_SAX2_MAGIC: + * + * Special constant found in SAX2 blocks initialized fields + + d XML_SAX2_MAGIC c X'DEEDBEAF' + + * startElementNsSAX2Func: + * @ctx: the user data (XML parser context) + * @localname: the local name of the element + * @prefix: the element namespace prefix if available + * @URI: the element namespace name if available + * @nb_namespaces: number of namespace definitions on that node + * @namespaces: pointer to the array of prefix/URI pairs namespace + * definitions + * @nb_attributes: the number of attributes on that node + * @nb_defaulted: the number of defaulted attributes. The defaulted + * ones are at the end of the array + * @attributes: pointer to the array of + * (localname/prefix/URI/value/end) attribute values. + * + * SAX2 callback when an element start has been detected by the parser. + * It provides the namespace information for the element, as well as + * the new namespace declarations on the element. + + d startElementNsSAX2Func... + d s * based(######typedef######) + d procptr + + * endElementNsSAX2Func: + * @ctx: the user data (XML parser context) + * @localname: the local name of the element + * @prefix: the element namespace prefix if available + * @URI: the element namespace name if available + * + * SAX2 callback when an element end has been detected by the parser. + * It provides the namespace information for the element. + + d endElementNsSAX2Func... + d s * based(######typedef######) + d procptr + + d xmlSAXHandler ds based(xmlSAXHandlerPtr) + d align qualified + d internalSubset... + d like(internalSubsetSAXFunc) + d isStandalone like(isStandaloneSAXFunc) + d hasInternalSubset... + d like(hasInternalSubsetSAXFunc) + d hasExternalSubset... + d like(hasExternalSubsetSAXFunc) + d resolveEntity like(resolveEntitySAXFunc) + d getEntity like(getEntitySAXFunc) + d entityDecl like(entityDeclSAXFunc) + d notationDecl like(notationDeclSAXFunc) + d attributeDecl like(attributeDeclSAXFunc) + d elementDecl like(elementDeclSAXFunc) + d unparsedEntityDecl... + d like(unparsedEntityDeclSAXFunc) + d setDocumentLocator... + d like(setDocumentLocatorSAXFunc) + d startDocument like(startDocumentSAXFunc) + d endDocument like(endDocumentSAXFunc) + d startElement like(startElementSAXFunc) + d endElement like(endElementSAXFunc) + d reference like(referenceSAXFunc) + d characters like(charactersSAXFunc) + d ignorableWhitespace... + d like(ignorableWhitespaceSAXFunc) + d processingInstruction... + d like(processingInstructionSAXFunc) + d comment like(commentSAXFunc) + d warning like(warningSAXFunc) + d error like(errorSAXFunc) + d fatalError like(fatalErrorSAXFunc) + d getParameterEntity... + d like(getParameterEntitySAXFunc) + d cdataBlock like(cdataBlockSAXFunc) + d externalSubset... + d like(externalSubsetSAXFunc) + d initialized like(xmlCuint) + * + * The following fields are extensions available only on version 2 + * + d #private * void * + d startElementNs... + d like(startElementNsSAX2Func) + d endELementNs like(endElementNsSAX2Func) + d serror like(xmlStructuredErrorFunc) + + * SAX Version 1 + + d xmlSAXHandlerV1Ptr... + d s * based(######typedef######) + + d xmlSAXHandlerV1... + d ds based(xmlSAXHandlerV1Ptr) + d align qualified + d internalSubset... + d like(internalSubsetSAXFunc) + d isStandalone like(isStandaloneSAXFunc) + d hasInternalSubset... + d like(hasInternalSubsetSAXFunc) + d hasExternalSubset... + d like(hasExternalSubsetSAXFunc) + d resolveEntity like(resolveEntitySAXFunc) + d getEntity like(getEntitySAXFunc) + d entityDecl like(entityDeclSAXFunc) + d notationDecl like(notationDeclSAXFunc) + d attributeDecl like(attributeDeclSAXFunc) + d elementDecl like(elementDeclSAXFunc) + d unparsedEntityDecl... + d like(unparsedEntityDeclSAXFunc) + d setDocumentLocator... + d like(setDocumentLocatorSAXFunc) + d startDocument like(startDocumentSAXFunc) + d endDocument like(endDocumentSAXFunc) + d startElement like(startElementSAXFunc) + d endElement like(endElementSAXFunc) + d reference like(referenceSAXFunc) + d characters like(charactersSAXFunc) + d ignorableWhitespace... + d like(ignorableWhitespaceSAXFunc) + d processingInstruction... + d like(processingInstructionSAXFunc) + d comment like(commentSAXFunc) + d warning like(warningSAXFunc) + d error like(errorSAXFunc) + d fatalError like(fatalErrorSAXFunc) + d getParameterEntity... + d like(getParameterEntitySAXFunc) + d cdataBlock like(cdataBlockSAXFunc) + d externalSubset... + d like(externalSubsetSAXFunc) + d initialized like(xmlCuint) + + * xmlExternalEntityLoader: + * @URL: The System ID of the resource requested + * @ID: The Public ID of the resource requested + * @context: the XML parser context + * + * External entity loaders types. + * + * Returns the entity input parser. + + d xmlExternalEntityLoader... + d s * based(######typedef######) + d procptr + + /include "libxmlrpg/encoding" + /include "libxmlrpg/xmlIO" + /include "libxmlrpg/globals" + + * Init/Cleanup + + d xmlInitParser pr extproc('xmlInitParser') + + d xmlCleanupParser... + d pr extproc('xmlCleanupParser') + + * Input functions + + d xmlParserInputRead... + d pr extproc('xmlParserInputRead') + d like(xmlCint) + d in value like(xmlParserInputPtr) + d len value like(xmlCint) + + d xmlParserInputGrow... + d pr extproc('xmlParserInputGrow') + d like(xmlCint) + d in value like(xmlParserInputPtr) + d len value like(xmlCint) + + * Basic parsing Interfaces + + /if defined(LIBXML_SAX1_ENABLED) + d xmlParseDoc pr extproc('xmlParseDoc') + d like(xmlDocPtr) + d cur * value options(*string) const xmlChar * + + d xmlParseFile pr extproc('xmlParseFile') + d like(xmlDocPtr) + d filename * value options(*string) const char * + + d xmlParseMemory pr extproc('xmlParseMemory') + d like(xmlDocPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + /endif LIBXML_SAX1_ENABLED + + d xmlSubstituteEntitiesDefault... + d pr extproc( + d 'xmlSubstituteEntitiesDefault') + d like(xmlCint) + d val value like(xmlCint) + + d xmlKeepBlanksDefault... + d pr extproc('xmlKeepBlanksDefault') + d like(xmlCint) + d val value like(xmlCint) + + d xmlStopParser pr extproc('xmlStopParser') + d ctxt value like(xmlParserCtxtPtr) + + d xmlPedanticParserDefault... + d pr extproc('xmlPedanticParserDefault') + d like(xmlCint) + d val value like(xmlCint) + + d xmlLineNumbersDefault... + d pr extproc('xmlLineNumbersDefault') + d like(xmlCint) + d val value like(xmlCint) + + /if defined(LIBXML_SAX1_ENABLED) + * Recovery mode + + d xmlRecoverDoc pr extproc('xmlRecoverDoc') + d like(xmlDocPtr) + d cur * value options(*string) const xmlChar * + + d xmlRecoverMemory... + d pr extproc('xmlRecoverMemory') + d like(xmlDocPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + + d xmlRecoverFile pr extproc('xmlRecoverFile') + d like(xmlDocPtr) + d filename * value options(*string) const char * + /endif LIBXML_SAX1_ENABLED + + * Less common routines and SAX interfaces + + d xmlParseDocument... + d pr extproc('xmlParseDocument') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseExtParsedEnt... + d pr extproc('xmlParseExtParsedEnt') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + + /if defined(LIBXML_SAX1_ENABLED) + d xmlSAXUserParseFile... + d pr extproc('xmlSAXUserParseFile') + d like(xmlCint) + d sax value like(xmlSAXHandlerPtr) + d user_data * value void * + d filename * value options(*string) const char * + + d xmlSAXUserParseMemory... + d pr extproc('xmlSAXUserParseMemory') + d like(xmlCint) + d sax value like(xmlSAXHandlerPtr) + d user_data * value void * + d buffer * value options(*string) const char * + d size value like(xmlCint) + + d xmlSAXParseDoc pr extproc('xmlSAXParseDoc') + d like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d cur * value options(*string) const xmlChar * + d recovery value like(xmlCint) + + d xmlSAXParseMemory... + d pr extproc('xmlSAXParseMemory') + d like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + d recovery value like(xmlCint) + + d xmlSAXParseMemoryWithData... + d pr extproc('xmlSAXParseMemoryWithData') + d like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + d recovery value like(xmlCint) + d data * value void * + + d xmlSAXParseFile... + d pr extproc('xmlSAXParseFile') + d like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d filename * value options(*string) const char * + d recovery value like(xmlCint) + + d xmlSAXParseFileWithData... + d pr extproc('xmlSAXParseFileWithData') + d like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d filename * value options(*string) const char * + d recovery value like(xmlCint) + d data * value void * + + d xmlSAXParseEntity... + d pr extproc('xmlSAXParseEntity') + d like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d filename * value options(*string) const char * + + d xmlParseEntity... + d pr extproc('xmlParseEntity') + d like(xmlDocPtr) + d filename * value options(*string) const char * + /endif LIBXML_SAX1_ENABLED + + /if defined(LIBXML_VALID_ENABLED) + d xmlSAXParseDTD pr extproc('xmlSAXParseDTD') + d like(xmlDtdPtr) + d sax value like(xmlSAXHandlerPtr) + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + + d xmlParseDTD pr extproc('xmlParseDTD') + d like(xmlDtdPtr) + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + + d xmlIOParseDTD pr extproc('xmlIOParseDTD') + d like(xmlDtdPtr) + d sax value like(xmlSAXHandlerPtr) + d input value like(xmlParserInputBufferPtr) + d enc value like(xmlCharEncoding) + /endif LIBXML_VALID_ENABLED + + /if defined(LIBXML_SAX1_ENABLED) + d xmlParseBalancedChunkMemory... + d pr extproc( + d 'xmlParseBalancedChunkMemory') + d like(xmlCint) + d doc value like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d user_data * value void * + d depth value like(xmlCint) + d user_data * value void * + d string * value options(*string) const xmlChar * + d lst * value xmlNodePtr * + /endif LIBXML_SAX1_ENABLED + + d xmlParseInNodeContext... + d pr extproc('xmlParseInNodeContext') + d like(xmlParserErrors) + d node value like(xmlNodePtr) + d data * value options(*string) const char * + d datalen value like(xmlCint) + d options value like(xmlCint) + d lst * value xmlNodePtr * + + /if defined(LIBXML_SAX1_ENABLED) + d xmlParseBalancedChunkMemoryRecover... + d pr extproc( + d 'xmlParseBalancedChunkMemoryRecover') + d like(xmlCint) + d doc value like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d user_data * value void * + d depth value like(xmlCint) + d string * value options(*string) const xmlChar * + d lst * value xmlNodePtr * + d recover value like(xmlCint) + + d xmlParseExternalEntity... + d pr extproc('xmlParseExternalEntity') + d like(xmlCint) + d doc value like(xmlDocPtr) + d sax value like(xmlSAXHandlerPtr) + d user_data * value void * + d depth value like(xmlCint) + d URL * value options(*string) const xmlChar * + d ID * value options(*string) const xmlChar * + d lst * value xmlNodePtr * + /endif LIBXML_SAX1_ENABLED + + d xmlParseCtxtExternalEntity... + d pr extproc('xmlParseCtxtExternalEntity') + d like(xmlCint) + d sax value like(xmlSAXHandlerPtr) + d URL * value options(*string) const xmlChar * + d ID * value options(*string) const xmlChar * + d lst * value xmlNodePtr * + + * Parser contexts handling. + + d xmlNewParserCtxt... + d pr extproc('xmlNewParserCtxt') + d like(xmlParserCtxtPtr) + + d xmlInitParserCtxt... + d pr extproc('xmlInitParserCtxt') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + + d xmlClearParserCtxt... + d pr extproc('xmlClearParserCtxt') + d ctxt value like(xmlParserCtxtPtr) + + d xmlFreeParserCtxt... + d pr extproc('xmlFreeParserCtxt') + d ctxt value like(xmlParserCtxtPtr) + + /if defined(LIBXML_SAX1_ENABLED) + d xmlSetupParserForBuffer... + d pr extproc('xmlSetupParserForBuffer') + d ctxt value like(xmlParserCtxtPtr) + d buffer * value options(*string) const xmlChar * + d filename * value options(*string) const char * + /endif LIBXML_SAX1_ENABLED + + d xmlCreateDocParserCtxt... + d pr extproc('xmlCreateDocParserCtxt') + d like(xmlParserCtxtPtr) + d cur * value options(*string) const xmlChar * + + /if defined(LIBXML_LEGACY_ENABLED) + * Reading/setting optional parsing features. + + d xmlGetFeaturesList... + d pr extproc('xmlGetFeaturesList') + d like(xmlCint) + d len like(xmlCint) + d result * const char *(*) + + d xmlGetFeature pr extproc('xmlGetFeature') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d name * value options(*string) const char * + d result * value void * + + d xmlSetFeature pr extproc('xmlSetFeature') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d name * value options(*string) const char * + d result * value void * + /endif LIBXML_LEGACY_ENABLD + + /if defined(LIBXML_PUSH_ENABLED) + * Interfaces for the Push mode. + + d xmlCreatePushParserCtxt... + d pr extproc('xmlCreatePushParserCtxt') + d like(xmlParserCtxtPtr) + d sax value like(xmlSAXHandlerPtr) + d user_data * value void * + d chunk * value options(*string) const char * + d size value like(xmlCint) + d filename * value options(*string) const char * + + d xmlParseChunk pr extproc('xmlParseChunk') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d chunk * value options(*string) const char * + d size value like(xmlCint) + d terminate value like(xmlCint) + /endif LIBXML_PUSH_ENABLED + + * Special I/O mode. + + d xmlCreateIOParserCtxt... + d pr extproc('xmlCreateIOParserCtxt') + d like(xmlParserCtxtPtr) + d sax value like(xmlSAXHandlerPtr) + d user_data * value void * + d ioread value like(xmlInputReadCallback) + d ioclose value like(xmlInputCloseCallback) + d ioctx * value void * + d enc value like(xmlCharEncoding) + + d xmlNewIOInputStream... + d pr extproc('xmlNewIOInputStream') + d like(xmlParserInputPtr) + d ctxt value like(xmlParserCtxtPtr) + d input value like(xmlParserInputBufferPtr) + d enc value like(xmlCharEncoding) + + * Node infos. + + d xmlParserFindNodeInfo... + d pr * extproc('xmlParserFindNodeInfo') xmlParserNodeInfo * + d ctxt value like(xmlParserCtxtPtr) + d node value like(xmlNodePtr) const + + d xmlInitNodeInfoSeq... + d pr extproc('xmlInitNodeInfoSeq') + d seq value like(xmlParserNodeInfoSeqPtr) + + d xmlClearNodeInfoSeq... + d pr extproc('xmlClearNodeInfoSeq') + d seq value like(xmlParserNodeInfoSeqPtr) + + d xmlParserFindNodeInfoIndex... + d pr extproc('xmlParserFindNodeInfoIndex') + d like(xmlCulong) + d seq value like(xmlParserNodeInfoSeqPtr) + d node value like(xmlNodePtr) const + + d xmlParserAddNodeInfo... + d pr extproc('xmlParserAddNodeInfo') + d ctxt value like(xmlParserCtxtPtr) + d info value like(xmlParserNodeInfoPtr) const + + * External entities handling actually implemented in xmlIO. + + d xmlSetExternalEntityLoader... + d pr extproc('xmlSetExternalEntityLoader') + d f value like(xmlExternalEntityLoader) + + d xmlGetExternalEntityLoader... + d pr extproc('xmlGetExternalEntityLoader') + d like(xmlExternalEntityLoader) + + d xmlLoadExternalEntity... + d pr extproc('xmlLoadExternalEntity') + d like(xmlParserInputPtr) + d URL * value options(*string) const char * + d ID * value options(*string) const char * + d ctxt value like(xmlParserCtxtPtr) + + * Index lookup, actually implemented in the encoding module + + d xmlByteConsumed... + d pr extproc('xmlByteConsumed') + d like(xmlClong) + d ctxt value like(xmlParserCtxtPtr) + + * New set of simpler/more flexible APIs + + * xmlParserOption: + * + * This is the set of XML parser options that can be passed down + * to the xmlReadDoc() and similar calls. + + d xmlParserOption... + d s based(######typedef######) + d like(xmlCenum) + d XML_PARSE_RECOVER... Recover on errors + d c X'00000001' + d XML_PARSE_NOENT... Substitute entities + d c X'00000002' + d XML_PARSE_DTDLOAD... Load external subset + d c X'00000004' + d XML_PARSE_DTDATTR... Default DTD attrs + d c X'00000008' + d XML_PARSE_DTDVALID... Validate with DTD + d c X'00000010' + d XML_PARSE_NOERROR... Suppress err reports + d c X'00000020' + d XML_PARSE_NOWARNING... Suppr warn reports + d c X'00000040' + d XML_PARSE_PEDANTIC... Pedantic err report + d c X'00000080' + d XML_PARSE_NOBLANKS... Remove blank nodes + d c X'00000100' + d XML_PARSE_SAX1... Use SAX1 internally + d c X'00000200' + d XML_PARSE_XINCLUDE... Impl XInclude subst + d c X'00000400' + d XML_PARSE_NONET... Forbid netwrk access + d c X'00000800' + d XML_PARSE_NODICT... No contxt dict reuse + d c X'00001000' + d XML_PARSE_NSCLEAN... Rmv redndnt ns decls + d c X'00002000' + d XML_PARSE_NOCDATA... CDATA as text nodes + d c X'00004000' + d XML_PARSE_NOXINCNODE... No XINCL START/END + d c X'00008000' + d XML_PARSE_COMPACT... Compact text nodes + d c X'00010000' + d XML_PARSE_OLD10... B4 upd5 compatible + d c X'00020000' + d XML_PARSE_NOBASEFIX... No XINC xml:base fix + d c X'00040000' + d XML_PARSE_HUGE... No parsing limit + d c X'00080000' + d XML_PARSE_OLDSAX... Use SAX2 b4 2.7.0 + d c X'00100000' + d XML_PARSE_IGNORE_ENC... No int doc code hint + d c X'00200000' + d XML_PARSE_BIG_LINES... Big line#-->PSVI fld + d c X'00400000' + + d xmlCtxtReset pr extproc('xmlCtxtReset') + d ctxt value like(xmlParserCtxtPtr) + + d xmlCtxtResetPush... + d pr extproc('xmlCtxtResetPush') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d chunk * value options(*string) const char * + d size value like(xmlCint) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + + d xmlCtxtUseOptions... + d pr extproc('xmlCtxtUseOptions') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d options value like(xmlCint) + + d xmlReadDoc pr extproc('xmlReadDoc') + d like(xmlDocPtr) + d cur * value options(*string) const xmlChar * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReadFile pr extproc('xmlReadFile') + d like(xmlDocPtr) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReadMemory pr extproc('xmlReadMemory') + d like(xmlDocPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReadFd pr extproc('xmlReadFd') + d like(xmlDocPtr) + d fd value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReadIO pr extproc('xmlReadIO') + d like(xmlDocPtr) + d ioread value like(xmlInputReadCallback) + d ioclose value like(xmlInputCloseCallback) + d ioctx * value void * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlCtxtReadDoc pr extproc('xmlCtxtReadDoc') + d like(xmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d cur * value options(*string) const xmlChar * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlCtxtReadFile... + d pr extproc('xmlCtxtReadFile') + d like(xmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlCtxtReadMemory... + d pr extproc('xmlCtxtReadMemory') + d like(xmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlCtxtReadFd pr extproc('xmlCtxtReadFd') + d like(xmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d fd value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlCtxtReadIO pr extproc('xmlCtxtReadIO') + d like(xmlDocPtr) + d ctxt value like(xmlParserCtxtPtr) + d ioread value like(xmlInputReadCallback) + d ioclose value like(xmlInputCloseCallback) + d ioctx * value void * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + * Library wide options + + * xmlFeature: + * + * Used to examine the existence of features that can be enabled + * or disabled at compile-time. + * They used to be called XML_FEATURE_xxx but this clashed with Expat + + d xmlFeature s based(######typedef######) + d like(xmlCenum) + d XML_WITH_THREAD... + d c 1 + d XML_WITH_TREE c 2 + d XML_WITH_OUTPUT... + d c 3 + d XML_WITH_PUSH c 4 + d XML_WITH_READER... + d c 5 + d XML_WITH_PATTERN... + d c 6 + d XML_WITH_WRITER... + d c 7 + d XML_WITH_SAX1 c 8 + d XML_WITH_FTP c 9 + d XML_WITH_HTTP c 10 + d XML_WITH_VALID... + d c 11 + d XML_WITH_HTML c 12 + d XML_WITH_LEGACY... + d c 13 + d XML_WITH_C14N c 14 + d XML_WITH_CATALOG... + d c 15 + d XML_WITH_XPATH... + d c 16 + d XML_WITH_XPTR c 17 + d XML_WITH_XINCLUDE... + d c 18 + d XML_WITH_ICONV... + d c 19 + d XML_WITH_ISO8859X... + d c 20 + d XML_WITH_UNICODE... + d c 21 + d XML_WITH_REGEXP... + d c 22 + d XML_WITH_AUTOMATA... + d c 23 + d XML_WITH_EXPR c 24 + d XML_WITH_SCHEMAS... + d c 25 + d XML_WITH_SCHEMATRON... + d c 26 + d XML_WITH_MODULES... + d c 27 + d XML_WITH_DEBUG... + d c 28 + d XML_WITH_DEBUG_MEM... + d c 29 + d XML_WITH_DEBUG_RUN... + d c 30 + d XML_WITH_ZLIB c 31 + d XML_WITH_ICU c 32 + d XML_WITH_LZMA c 33 + d XML_WITH_NONE c 99999 + + d xmlHasFeature pr extproc('xmlHasFeature') + d like(xmlCint) + d feature value like(xmlFeature) + + /endif XML_PARSER_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/parserInternals.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/parserInternals.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..6c8f3884f174c64d5aa5c81431b1e039631e69ec --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/parserInternals.rpgle @@ -0,0 +1,598 @@ + * Summary: internals routines and limits exported by the parser. + * Description: this module exports a number of internal parsing routines + * they are not really all intended for applications but + * can prove useful doing low level processing. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_PARSER_INTERNALS_H__) + /define XML_PARSER_INTERNALS_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/parser" + /include "libxmlrpg/HTMLparser" + /include "libxmlrpg/chvalid" + + * xmlParserMaxDepth: + * + * arbitrary depth limit for the XML documents that we allow to + * process. This is not a limitation of the parser but a safety + * boundary feature, use XML_PARSE_HUGE option to override it. + + d xmlParserMaxDepth... + d s import('xmlParserMaxDepth') + d like(xmlCuint) + + * XML_MAX_TEXT_LENGTH: + * + * Maximum size allowed for a single text node when building a tree. + * This is not a limitation of the parser but a safety boundary feature, + * use XML_PARSE_HUGE option to override it. + * Introduced in 2.9.0 + + d XML_MAX_TEXT_LENGTH... + d c 10000000 + + * XML_MAX_NAME_LENGTH: + * + * Maximum size allowed for a markup identitier + * This is not a limitation of the parser but a safety boundary feature, + * use XML_PARSE_HUGE option to override it. + * Note that with the use of parsing dictionaries overriding the limit + * may result in more runtime memory usage in face of "unfriendly' content + * Introduced in 2.9.0 + + d XML_MAX_NAME_LENGTH... + d c 50000 + + * XML_MAX_DICTIONARY_LIMIT: + * + * Maximum size allowed by the parser for a dictionary by default + * This is not a limitation of the parser but a safety boundary feature, + * use XML_PARSE_HUGE option to override it. + * Introduced in 2.9.0 + + d XML_MAX_DICTIONARY_LIMIT... + d c 10000000 + + * XML_MAX_LOOKUP_LIMIT: + * + * Maximum size allowed by the parser for ahead lookup + * This is an upper boundary enforced by the parser to avoid bad + * behaviour on "unfriendly' content + * Introduced in 2.9.0 + + d XML_MAX_LOOKUP_LIMIT... + d c 10000000 + + * XML_MAX_NAMELEN: + * + * Identifiers can be longer, but this will be more costly + * at runtime. + + d XML_MAX_NAMELEN... + d c 100 + + * INPUT_CHUNK: + * + * The parser tries to always have that amount of input ready. + * One of the point is providing context when reporting errors. + + d INPUT_CHUNK c 250 + + * Global variables used for predefined strings. + + d xmlStringText s 4 import('xmlStringText') \0 in 5th byte + + d xmlStringTextNoenc... + d s 9 import('xmlStringTextNoenc') \0 in 10th byte + + d xmlStringComment... + d s 7 import('xmlStringComment') \0 in 8th byte + + * Function to finish the work of the macros where needed. + + d xmlIsLetter pr extproc('xmlIsLetter') + d like(xmlCint) + d c value like(xmlCint) + + * Parser context. + + d xmlCreateFileParserCtxt... + d pr extproc('xmlCreateFileParserCtxt') + d like(xmlParserCtxtPtr) + d filename * value options(*string) const char * + + d xmlCreateURLParserCtxt... + d pr extproc('xmlCreateURLParserCtxt') + d like(xmlParserCtxtPtr) + d filename * value options(*string) const char * + d options value like(xmlCint) + + d xmlCreateMemoryParserCtxt... + d pr extproc('xmlCreateMemoryParserCtxt') + d like(xmlParserCtxtPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + + d xmlCreateEntityParserCtxt... + d pr extproc('xmlCreateEntityParserCtxt') + d like(xmlParserCtxtPtr) + d URL * value options(*string) const xmlChar * + d ID * value options(*string) const xmlChar * + d base * value options(*string) const xmlChar * + + d xmlSwitchEncoding... + d pr extproc('xmlSwitchEncoding') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d enc value like(xmlCharEncoding) + + d xmlSwitchToEncoding... + d pr extproc('xmlSwitchToEncoding') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d handler value like(xmlCharEncodingHandlerPtr) + + d xmlSwitchInputEncoding... + d pr extproc('xmlSwitchInputEncoding') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d input value like(xmlParserInputPtr) + d handler value like(xmlCharEncodingHandlerPtr) + + * Input Streams. + + d xmlNewStringInputStream... + d pr extproc('xmlNewStringInputStream') + d like(xmlParserInputPtr) + d ctxt value like(xmlParserCtxtPtr) + d buffer * value options(*string) const xmlChar * + + d xmlNewEntityInputStream... + d pr extproc('xmlNewEntityInputStream') + d like(xmlParserInputPtr) + d ctxt value like(xmlParserCtxtPtr) + d entity value like(xmlEntityPtr) + + d xmlPushInput pr extproc('xmlPushInput') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d input value like(xmlParserInputPtr) + + d xmlPopInput pr extproc('xmlPopInput') + d like(xmlChar) + d ctxt value like(xmlParserCtxtPtr) + + d xmlFreeInputStream... + d pr extproc('xmlFreeInputStream') + d input value like(xmlParserInputPtr) + + d xmlNewInputFromFile... + d pr extproc('xmlNewInputFromFile') + d like(xmlParserInputPtr) + d ctxt value like(xmlParserCtxtPtr) + d filename * value options(*string) const char * + + d xmlNewInputStream... + d pr extproc('xmlNewInputStream') + d like(xmlParserInputPtr) + d ctxt value like(xmlParserCtxtPtr) + + * Namespaces. + + d xmlSplitQName pr * extproc('xmlSplitQName') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + d name * value options(*string) const xmlChar * + d prefix * xmlChar *(*) + + * Generic production rules. + + d xmlParseName pr * extproc('xmlParseName') const xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseNmtoken... + d pr * extproc('xmlParseNmtoken') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseEntityValue... + d pr * extproc('xmlParseEntityValue') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + d orig * xmlChar *(*) + + d xmlParseAttValue... + d pr * extproc('xmlParseAttValue') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseSystemLiteral... + d pr * extproc('xmlParseSystemLiteral') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParsePubidLiteral... + d pr * extproc('xmlParsePubidLiteral') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseCharData... + d pr extproc('xmlParseCharData') + d ctxt value like(xmlParserCtxtPtr) + d cdata value like(xmlCint) + + d xmlParseExternalID... + d pr * extproc('xmlParseExternalID') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + d publicID * xmlChar *(*) + d strict value like(xmlCint) + + d xmlParseComment... + d pr extproc('xmlParseComment') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParsePITarget... + d pr * extproc('xmlParsePITarget') const xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParsePI pr extproc('xmlParsePI') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseNotationDecl... + d pr extproc('xmlParseNotationDecl') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseEntityDecl... + d pr extproc('xmlParseEntityDecl') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseDefaultDecl... + d pr extproc('xmlParseDefaultDecl') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d value * xmlChar *(*) + + d xmlParseNotationType... + d pr extproc('xmlParseNotationType') + d like(xmlEnumerationPtr) + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseEnumerationType... + d pr extproc('xmlParseEnumerationType') + d like(xmlEnumerationPtr) + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseEnumeratedType... + d pr extproc('xmlParseEnumeratedType') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d tree * value xmlEnumerationPtr * + + d xmlParseAttributeType... + d pr extproc('xmlParseAttributeType') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d tree * value xmlEnumerationPtr * + + d xmlParseAttributeListDecl... + d pr extproc('xmlParseAttributeListDecl') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseElementMixedContentDecl... + d pr extproc( + d 'xmlParseElementMixedContentDecl') + d like(xmlElementContentPtr) + d ctxt value like(xmlParserCtxtPtr) + d inputchk value like(xmlCint) + + d xmlParseElementChildrenContentDecl... + d pr extproc( + d 'xmlParseElementChildrenContentDecl') + d like(xmlElementContentPtr) + d ctxt value like(xmlParserCtxtPtr) + d inputchk value like(xmlCint) + + d xmlParseElementContentDecl... + d pr extproc('xmlParseElementContentDecl') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d name * value options(*string) const xmlChar * + d result * value xmlElementContentPtr + d * + + d xmlParseElementDecl... + d pr extproc('xmlParseElementDecl') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseMarkupDecl... + d pr extproc('xmlParseMarkupDecl') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseCharRef... + d pr extproc('xmlParseCharRef') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseEntityRef... + d pr extproc('xmlParseEntityRef') + d like(xmlEntityPtr) + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseReference... + d pr extproc('xmlParseReference') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParsePEReference... + d pr extproc('xmlParsePEReference') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseDocTypeDecl... + d pr extproc('xmlParseDocTypeDecl') + d ctxt value like(xmlParserCtxtPtr) + + /if defined(LIBXML_SAX1_ENABLED) + d xmlParseAttribute... + d pr * extproc('xmlParseAttribute') const xmlChar * + d ctxt value like(xmlParserCtxtPtr) + d value * xmlChar *(*) + + d xmlParseStartTag... + d pr * extproc('xmlParseStartTag') const xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseEndTag pr extproc('xmlParseEndTag') + d ctxt value like(xmlParserCtxtPtr) + /endif LIBXML_SAX1_ENABLED + + d xmlParseCDSect pr extproc('xmlParseCDSect') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseContent... + d pr extproc('xmlParseContent') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseElement... + d pr extproc('xmlParseElement') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseVersionNum... + d pr * extproc('xmlParseVersionNum') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseVersionInfo... + d pr * extproc('xmlParseVersionInfo') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseEncName... + d pr * extproc('xmlParseEncName') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseEncodingDecl... + d pr * extproc('xmlParseEncodingDecl') const xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseSDDecl pr extproc('xmlParseSDDecl') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseXMLDecl... + d pr extproc('xmlParseXMLDecl') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseTextDecl... + d pr extproc('xmlParseTextDecl') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseMisc pr extproc('xmlParseMisc') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseExternalSubset... + d pr extproc('xmlParseExternalSubset') + d ctxt value like(xmlParserCtxtPtr) + d ExternalID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + + * XML_SUBSTITUTE_NONE: + * + * If no entities need to be substituted. + + d XML_SUBSTITUTE_NONE... + d c 0 + + * XML_SUBSTITUTE_REF: + * + * Whether general entities need to be substituted. + + d XML_SUBSTITUTE_REF... + d c 1 + + * XML_SUBSTITUTE_PEREF: + * + * Whether parameter entities need to be substituted. + + d XML_SUBSTITUTE_PEREF... + d c 2 + + * XML_SUBSTITUTE_BOTH: + * + * Both general and parameter entities need to be substituted. + + d XML_SUBSTITUTE_BOTH... + d c 3 + + d xmlStringDecodeEntities... + d pr * extproc('xmlStringDecodeEntities') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + d str * value options(*string) const xmlChar * + d what value like(xmlCint) + d end value like(xmlChar) + d end2 value like(xmlChar) + d end3 value like(xmlChar) + + d xmlStringLenDecodeEntities... + d pr * extproc('xmlStringLenDecodeEntities')xmlChar * + d ctxt value like(xmlParserCtxtPtr) + d str * value options(*string) const xmlChar * + d len value like(xmlCint) + d what value like(xmlCint) + d end value like(xmlChar) + d end2 value like(xmlChar) + d end3 value like(xmlChar) + + * Generated by MACROS on top of parser.c c.f. PUSH_AND_POP. + + d nodePush pr extproc('nodePush') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d value value like(xmlNodePtr) + + d nodePop pr extproc('nodePop') + d like(xmlNodePtr) + d ctxt value like(xmlParserCtxtPtr) + + d inputPush pr extproc('inputPush') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d value value like(xmlParserInputPtr) + + d inputPop pr extproc('inputPop') + d like(xmlParserInputPtr) + d ctxt value like(xmlParserCtxtPtr) + + d namePop pr * extproc('namePop') const xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d namePush pr extproc('namePush') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d value * value options(*string) const xmlChar * + + * other commodities shared between parser.c and parserInternals. + + d xmlSkipBlankChars... + d pr extproc('xmlSkipBlankChars') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + + d xmlStringCurrentChar... + d pr extproc('xmlStringCurrentChar') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d cur * value options(*string) const xmlChar * + d len * value int * + + d xmlParserHandlePEReference... + d pr extproc('xmlParserHandlePEReference') + d ctxt value like(xmlParserCtxtPtr) + + d xmlCheckLanguageID... + d pr extproc('xmlCheckLanguageID') + d like(xmlCint) + d lang * value options(*string) const xmlChar * + + * Really core function shared with HTML parser. + + d xmlCurrentChar pr extproc('xmlCurrentChar') + d like(xmlCint) + d ctxt value like(xmlParserCtxtPtr) + d len * value int * + + d xmlCopyCharMultiByte... + d pr extproc('xmlCopyCharMultiByte') + d like(xmlCint) + d out * value options(*string) xmlChar * + d val value like(xmlCint) + + d xmlCopyChar pr extproc('xmlCopyChar') + d like(xmlCint) + d len value like(xmlCint) + d out * value options(*string) xmlChar * + d val value like(xmlCint) + + d xmlNextChar pr extproc('xmlNextChar') + d ctxt value like(xmlParserCtxtPtr) + + d xmlParserInputShrink... + d pr extproc('xmlParserInputShrink') + d in value like(xmlParserInputPtr) + + /if defined(LIBXML_HTML_ENABLED) + + * Actually comes from the HTML parser but launched from the init stuff. + + d htmlInitAutoClose... + d pr extproc('htmlInitAutoClose') + + d htmlCreateFileParserCtxt... + d pr extproc('htmlCreateFileParserCtxt') + d like(htmlParserCtxtPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + /endif + + * Specific function to keep track of entities references + * and used by the XSLT debugger. + + /if defined(LIBXML_LEGACY_ENABLED) + * xmlEntityReferenceFunc: + * @ent: the entity + * @firstNode: the fist node in the chunk + * @lastNode: the last nod in the chunk + * + * Callback function used when one needs to be able to track back the + * provenance of a chunk of nodes inherited from an entity replacement. + + d xmlEntityReferenceFunc... + d s * based(######typedef######) + d procptr + + d xmlSetEntityReferenceFunc... + d pr extproc('xmlSetEntityReferenceFunc') + d func value like(xmlEntityReferenceFunc) + + d xmlParseQuotedString... + d pr * extproc('xmlParseQuotedString') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParseNamespace... + d pr extproc('xmlParseNamespace') + d ctxt value like(xmlParserCtxtPtr) + + d xmlNamespaceParseNSDef... + d pr * extproc('xmlNamespaceParseNSDef') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlScanName pr * extproc('xmlScanName') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlNamespaceParseNCName... + d pr * extproc('xmlNamespaceParseNCName') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + + d xmlParserHandleReference... + d pr extproc('xmlParserHandleReference') + d ctxt value like(xmlParserCtxtPtr) + + d xmlNamespaceParseQName... + d pr * extproc('xmlNamespaceParseQName') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + d prefix * xmlChar *(*) + + * Entities + + d xmlDecodeEntities... + d pr * extproc('xmlDecodeEntities') xmlChar * + d ctxt value like(xmlParserCtxtPtr) + d len value like(xmlCint) + d what value like(xmlCint) + d end value like(xmlChar) + d end2 value like(xmlChar) + d end3 value like(xmlChar) + + d xmlHandleEntity... + d pr extproc('xmlHandleEntity') + d ctxt value like(xmlParserCtxtPtr) + d entity value like(xmlEntityPtr) + /endif LIBXML_LEGACY_ENABLD + + /endif diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/pattern.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/pattern.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..ef0230102909c6e5bb5b722cd17e21768abc8ede --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/pattern.rpgle @@ -0,0 +1,130 @@ + * Summary: pattern expression handling + * Description: allows to compile and test pattern expressions for nodes + * either in a tree or based on a parser state. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_PATTERN_H__) + /define XML_PATTERN_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_PATTERN_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/dict" + + * xmlPattern: + * + * A compiled (XPath based) pattern to select nodes + + d xmlPatternPtr... + d s * based(######typedef######) + + * xmlPatternFlags: + * + * This is the set of options affecting the behaviour of pattern + * matching with this module + + d xmlPatternFlags... + d s based(######typedef######) + d like(xmlCenum) + d XML_PATTERN_DEFAULT... Simple pattern match + d c X'0000' + d XML_PATTERN_XPATH... Std XPath pattern + d c X'0001' + d XML_PATTERN_XSSEL... Schm sel XPth subset + d c X'0002' + d XML_PATTERN_XSFIELD... Schm fld XPth subset + d c X'0004' + + d xmlFreePattern pr extproc('xmlFreePattern') + d comp value like(xmlPatternPtr) + + d xmlFreePatternList... + d pr extproc('xmlFreePatternList') + d comp value like(xmlPatternPtr) + + d xmlPatterncompile... + d pr extproc('xmlPatterncompile') + d like(xmlPatternPtr) + d pattern * value options(*string) const xmlChar * + d dict * value xmlDict * + d flags value like(xmlCint) + d namespaces * const xmlChar *(*) + + d xmlPatternMatch... + d pr extproc('xmlPatternMatch') + d like(xmlCint) + d comp value like(xmlPatternPtr) + d node value like(xmlNodePtr) + + * streaming interfaces + + d xmlStreamCtxtPtr... + d s * based(######typedef######) + + d xmlPatternStreamable... + d pr extproc('xmlPatternStreamable') + d like(xmlCint) + d comp value like(xmlPatternPtr) + + d xmlPatternMaxDepth... + d pr extproc('xmlPatternMaxDepth') + d like(xmlCint) + d comp value like(xmlPatternPtr) + + d xmlPatternMinDepth... + d pr extproc('xmlPatternMinDepth') + d like(xmlCint) + d comp value like(xmlPatternPtr) + + d xmlPatternFromRoot... + d pr extproc('xmlPatternFromRoot') + d like(xmlCint) + d comp value like(xmlPatternPtr) + + d xmlPatternGetStreamCtxt... + d pr extproc('xmlPatternGetStreamCtxt') + d like(xmlStreamCtxtPtr) + d comp value like(xmlPatternPtr) + + d xmlFreeStreamCtxt... + d pr extproc('xmlFreeStreamCtxt') + d stream value like(xmlStreamCtxtPtr) + + d xmlStreamPushNode... + d pr extproc('xmlStreamPushNode') + d like(xmlCint) + d stream value like(xmlStreamCtxtPtr) + d name * value options(*string) const xmlChar * + d ns * value options(*string) const xmlChar * + d nodeType value like(xmlCint) + + d xmlStreamPush pr extproc('xmlStreamPush') + d like(xmlCint) + d stream value like(xmlStreamCtxtPtr) + d name * value options(*string) const xmlChar * + d ns * value options(*string) const xmlChar * + + d xmlStreamPushAttr... + d pr extproc('xmlStreamPushAttr') + d like(xmlCint) + d stream value like(xmlStreamCtxtPtr) + d name * value options(*string) const xmlChar * + d ns * value options(*string) const xmlChar * + + d xmlStreamPop pr extproc('xmlStreamPop') + d like(xmlCint) + d stream value like(xmlStreamCtxtPtr) + + d xmlStreamWantsAnyNode... + d pr extproc('xmlStreamWantsAnyNode') + d like(xmlCint) + d stream value like(xmlStreamCtxtPtr) + + /endif LIBXML_PATTERN_ENBLD + /endif XML_PATTERN_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/relaxng.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/relaxng.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..15b8471cc2b2f87e6c795f22f4048a4259ecb852 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/relaxng.rpgle @@ -0,0 +1,310 @@ + * Summary: implementation of the Relax-NG validation + * Description: implementation of the Relax-NG validation + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_RELAX_NG__) + /define XML_RELAX_NG__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_SCHEMAS_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/hash" + /include "libxmlrpg/xmlstring" + + d xmlRelaxNGPtr s * based(######typedef######) + + * xmlRelaxNGValidityErrorFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of an error callback from a Relax-NG validation + + d xmlRelaxNGValidityErrorFunc... + d s * based(######typedef######) + d procptr + + * xmlRelaxNGValidityWarningFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of a warning callback from a Relax-NG validation + + d xmlRelaxNGValidityWarningFunc... + d s * based(######typedef######) + d procptr + + * A schemas validation context + + d xmlRelaxNGParserCtxtPtr... + d s * based(######typedef######) + + d xmlRelaxNGValidCtxtPtr... + d s * based(######typedef######) + + * xmlRelaxNGValidErr: + * + * List of possible Relax NG validation errors + + d xmlRelaxNGValidErr... + d s based(######typedef######) + d like(xmlCenum) + d XML_RELAXNG_OK... + d c 0 + d XML_RELAXNG_ERR_MEMORY... + d c 1 + d XML_RELAXNG_ERR_TYPE... + d c 2 + d XML_RELAXNG_ERR_TYPEVAL... + d c 3 + d XML_RELAXNG_ERR_DUPID... + d c 4 + d XML_RELAXNG_ERR_TYPECMP... + d c 5 + d XML_RELAXNG_ERR_NOSTATE... + d c 6 + d XML_RELAXNG_ERR_NODEFINE... + d c 7 + d XML_RELAXNG_ERR_LISTEXTRA... + d c 8 + d XML_RELAXNG_ERR_LISTEMPTY... + d c 9 + d XML_RELAXNG_ERR_INTERNODATA... + d c 10 + d XML_RELAXNG_ERR_INTERSEQ... + d c 11 + d XML_RELAXNG_ERR_INTEREXTRA... + d c 12 + d XML_RELAXNG_ERR_ELEMNAME... + d c 13 + d XML_RELAXNG_ERR_ATTRNAME... + d c 14 + d XML_RELAXNG_ERR_ELEMNONS... + d c 15 + d XML_RELAXNG_ERR_ATTRNONS... + d c 16 + d XML_RELAXNG_ERR_ELEMWRONGNS... + d c 17 + d XML_RELAXNG_ERR_ATTRWRONGNS... + d c 18 + d XML_RELAXNG_ERR_ELEMEXTRANS... + d c 19 + d XML_RELAXNG_ERR_ATTREXTRANS... + d c 20 + d XML_RELAXNG_ERR_ELEMNOTEMPTY... + d c 21 + d XML_RELAXNG_ERR_NOELEM... + d c 22 + d XML_RELAXNG_ERR_NOTELEM... + d c 23 + d XML_RELAXNG_ERR_ATTRVALID... + d c 24 + d XML_RELAXNG_ERR_CONTENTVALID... + d c 25 + d XML_RELAXNG_ERR_EXTRACONTENT... + d c 26 + d XML_RELAXNG_ERR_INVALIDATTR... + d c 27 + d XML_RELAXNG_ERR_DATAELEM... + d c 28 + d XML_RELAXNG_ERR_VALELEM... + d c 29 + d XML_RELAXNG_ERR_LISTELEM... + d c 30 + d XML_RELAXNG_ERR_DATATYPE... + d c 31 + d XML_RELAXNG_ERR_VALUE... + d c 32 + d XML_RELAXNG_ERR_LIST... + d c 33 + d XML_RELAXNG_ERR_NOGRAMMAR... + d c 34 + d XML_RELAXNG_ERR_EXTRADATA... + d c 35 + d XML_RELAXNG_ERR_LACKDATA... + d c 36 + d XML_RELAXNG_ERR_INTERNAL... + d c 37 + d XML_RELAXNG_ERR_ELEMWRONG... + d c 38 + d XML_RELAXNG_ERR_TEXTWRONG... + d c 39 + + * xmlRelaxNGParserFlags: + * + * List of possible Relax NG Parser flags + + d xmlRelaxNGParserFlag... + d s based(######typedef######) + d like(xmlCenum) + d XML_RELAXNGP_NONE... + d c 0 + d XML_RELAXNGP_FREE_DOC... + d c 1 + d XML_RELAXNGP_CRNG... + d c 2 + + d xmlRelaxNGInitTypes... + d pr extproc('xmlRelaxNGInitTypes') + d like(xmlCint) + + d xmlRelaxNGCleanupTypes... + d pr extproc('xmlRelaxNGCleanupTypes') + + + * Interfaces for parsing. + + d xmlRelaxNGNewParserCtxt... + d pr extproc('xmlRelaxNGNewParserCtxt') + d like(xmlRelaxNGParserCtxtPtr) + d URL * value options(*string) const char * + + d xmlRelaxNGNewMemParserCtxt... + d pr extproc('xmlRelaxNGNewMemParserCtxt') + d like(xmlRelaxNGParserCtxtPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + + d xmlRelaxNGNewDocParserCtxt... + d pr extproc('xmlRelaxNGNewDocParserCtxt') + d like(xmlRelaxNGParserCtxtPtr) + d doc value like(xmlDocPtr) + + d xmlRelaxParserSetFlag... + d pr extproc('xmlRelaxParserSetFlag') + d like(xmlCint) + d ctxt value like(xmlRelaxNGParserCtxtPtr) + d flag value like(xmlCint) + + d xmlRelaxNGFreeParserCtxt... + d pr extproc('xmlRelaxNGFreeParserCtxt') + d ctxt value like(xmlRelaxNGParserCtxtPtr) + + d xmlRelaxNGSetParserErrors... + d pr extproc('xmlRelaxNGSetParserErrors') + d ctxt value like(xmlRelaxNGParserCtxtPtr) + d err value + d like(xmlRelaxNGValidityErrorFunc) + d warn value + d like(xmlRelaxNGValidityWarningFunc) + d ctx * value void * + + d xmlRelaxNGGetParserErrors... + d pr extproc('xmlRelaxNGGetParserErrors') + d like(xmlCint) + d ctxt value like(xmlRelaxNGParserCtxtPtr) + d err like(xmlRelaxNGValidityErrorFunc) + d warn like(xmlRelaxNGValidityWarningFunc) + d ctx * void *(*) + + d xmlRelaxNGSetParserStructuredErrors... + d pr extproc( + d 'xmlRelaxNGSetParserStructuredErrors' + d ) + d ctxt value like(xmlRelaxNGParserCtxtPtr) + d serror value like(xmlStructuredErrorFunc) + d ctx * value void * + + d xmlRelaxNGParse... + d pr extproc('xmlRelaxNGParse') + d like(xmlRelaxNGPtr) + d ctxt value like(xmlRelaxNGParserCtxtPtr) + + d xmlRelaxNGFree pr extproc('xmlRelaxNGFree') + d schema value like(xmlRelaxNGPtr) + + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlRelaxNGDump pr extproc('xmlRelaxNGDump') + d output * value FILE * + d schema value like(xmlRelaxNGPtr) + + d xmlRelaxNGDumpTree... + d pr extproc('xmlRelaxNGDumpTree') + d output * value FILE * + d schema value like(xmlRelaxNGPtr) + /endif LIBXML_OUTPUT_ENABLD + + * Interfaces for validating + + d xmlRelaxNGSetValidErrors... + d pr extproc('xmlRelaxNGSetValidErrors') + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d err value + d like(xmlRelaxNGValidityErrorFunc) + d warn value + d like(xmlRelaxNGValidityWarningFunc) + d ctx * value void * + + d xmlRelaxNGGetValidErrors... + d pr extproc('xmlRelaxNGGetValidErrors') + d like(xmlCint) + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d err like(xmlRelaxNGValidityErrorFunc) + d warn like(xmlRelaxNGValidityWarningFunc) + d ctx * value void * * + + d xmlRelaxNGSetValidStructuredErrors... + d pr extproc( + d 'xmlRelaxNGSetValidStructuredErrors') + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d serror value like(xmlStructuredErrorFunc) + d ctx * value void * + + d xmlRelaxNGNewValidCtxt... + d pr extproc('xmlRelaxNGNewValidCtxt') + d like(xmlRelaxNGValidCtxtPtr) + d schema value like(xmlRelaxNGPtr) + + d xmlRelaxNGFreeValidCtxt... + d pr extproc('xmlRelaxNGFreeValidCtxt') + d ctxt value like(xmlRelaxNGValidCtxtPtr) + + d xmlRelaxNGValidateDoc... + d pr extproc('xmlRelaxNGValidateDoc') + d like(xmlCint) + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d doc value like(xmlDocPtr) + + * Interfaces for progressive validation when possible + + d xmlRelaxNGValidatePushElement... + d pr extproc( + d 'xmlRelaxNGValidatePushElement') + d like(xmlCint) + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + + d xmlRelaxNGValidatePushCData... + d pr extproc( + d 'xmlRelaxNGValidatePushCData') + d like(xmlCint) + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d data * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlRelaxNGValidatePopElement... + d pr extproc( + d 'xmlRelaxNGValidatePopElement') + d like(xmlCint) + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + + d xmlRelaxNGValidateFullElement... + d pr extproc( + d 'xmlRelaxNGValidateFullElement') + d like(xmlCint) + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + + /endif LIBXML_SCHEMAS_ENBLD + /endif XML_RELAX_NG__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/schemasInternals.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/schemasInternals.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..6429eb2b05f2724e52d5d876603c1d79beb10dec --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/schemasInternals.rpgle @@ -0,0 +1,1142 @@ + * Summary: internal interfaces for XML Schemas + * 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 guaranteed to be API or + * ABI stable ! + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_SCHEMA_INTERNALS_H__) + /define XML_SCHEMA_INTERNALS_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_SCHEMAS_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlregexp" + /include "libxmlrpg/hash" + /include "libxmlrpg/dict" + + d xmlSchemaValType... + d s based(######typedef######) + d like(xmlCenum) + d XML_SCHEMAS_UNKNOWN... + d c 0 + d XML_SCHEMAS_STRING... + d c 1 + d XML_SCHEMAS_NORMSTRING... + d c 2 + d XML_SCHEMAS_DECIMAL... + d c 3 + d XML_SCHEMAS_TIME... + d c 4 + d XML_SCHEMAS_GDAY... + d c 5 + d XML_SCHEMAS_GMONTH... + d c 6 + d XML_SCHEMAS_GMONTHDAY... + d c 7 + d XML_SCHEMAS_GYEAR... + d c 8 + d XML_SCHEMAS_GYEARMONTH... + d c 9 + d XML_SCHEMAS_DATE... + d c 10 + d XML_SCHEMAS_DATETIME... + d c 11 + d XML_SCHEMAS_DURATION... + d c 12 + d XML_SCHEMAS_FLOAT... + d c 13 + d XML_SCHEMAS_DOUBLE... + d c 14 + d XML_SCHEMAS_BOOLEAN... + d c 15 + d XML_SCHEMAS_TOKEN... + d c 16 + d XML_SCHEMAS_LANGUAGE... + d c 17 + d XML_SCHEMAS_NMTOKEN... + d c 18 + d XML_SCHEMAS_NMTOKENS... + d c 19 + d XML_SCHEMAS_NAME... + d c 20 + d XML_SCHEMAS_QNAME... + d c 21 + d XML_SCHEMAS_NCNAME... + d c 22 + d XML_SCHEMAS_ID... + d c 23 + d XML_SCHEMAS_IDREF... + d c 24 + d XML_SCHEMAS_IDREFS... + d c 25 + d XML_SCHEMAS_ENTITY... + d c 26 + d XML_SCHEMAS_ENTITIES... + d c 27 + d XML_SCHEMAS_NOTATION... + d c 28 + d XML_SCHEMAS_ANYURI... + d c 29 + d XML_SCHEMAS_INTEGER... + d c 30 + d XML_SCHEMAS_NPINTEGER... + d c 31 + d XML_SCHEMAS_NINTEGER... + d c 32 + d XML_SCHEMAS_NNINTEGER... + d c 33 + d XML_SCHEMAS_PINTEGER... + d c 34 + d XML_SCHEMAS_INT... + d c 35 + d XML_SCHEMAS_UINT... + d c 36 + d XML_SCHEMAS_LONG... + d c 37 + d XML_SCHEMAS_ULONG... + d c 38 + d XML_SCHEMAS_SHORT... + d c 39 + d XML_SCHEMAS_USHORT... + d c 40 + d XML_SCHEMAS_BYTE... + d c 41 + d XML_SCHEMAS_UBYTE... + d c 42 + d XML_SCHEMAS_HEXBINARY... + d c 43 + d XML_SCHEMAS_BASE64BINARY... + d c 44 + d XML_SCHEMAS_ANYTYPE... + d c 45 + d XML_SCHEMAS_ANYSIMPLETYPE... + d c 46 + + * XML Schemas defines multiple type of types. + + d xmlSchemaTypeType... + d s based(######typedef######) + d like(xmlCenum) + d XML_SCHEMA_TYPE_BASIC... A builtin datatype + d c 1 + d XML_SCHEMA_TYPE_ANY... + d c 2 + d XML_SCHEMA_TYPE_FACET... + d c 3 + d XML_SCHEMA_TYPE_SIMPLE... + d c 4 + d XML_SCHEMA_TYPE_COMPLEX... + d c 5 + d XML_SCHEMA_TYPE_SEQUENCE... + d c 6 + d XML_SCHEMA_TYPE_CHOICE... + d c 7 + d XML_SCHEMA_TYPE_ALL... + d c 8 + d XML_SCHEMA_TYPE_SIMPLE_CONTENT... + d c 9 + d XML_SCHEMA_TYPE_COMPLEX_CONTENT... + d c 10 + d XML_SCHEMA_TYPE_UR... + d c 11 + d XML_SCHEMA_TYPE_RESTRICTION... + d c 12 + d XML_SCHEMA_TYPE_EXTENSION... + d c 13 + d XML_SCHEMA_TYPE_ELEMENT... + d c 14 + d XML_SCHEMA_TYPE_ATTRIBUTE... + d c 15 + d XML_SCHEMA_TYPE_ATTRIBUTEGROUP... + d c 16 + d XML_SCHEMA_TYPE_GROUP... + d c 17 + d XML_SCHEMA_TYPE_NOTATION... + d c 18 + d XML_SCHEMA_TYPE_LIST... + d c 19 + d XML_SCHEMA_TYPE_UNION... + d c 20 + d XML_SCHEMA_TYPE_ANY_ATTRIBUTE... + d c 21 + d XML_SCHEMA_TYPE_IDC_UNIQUE... + d c 22 + d XML_SCHEMA_TYPE_IDC_KEY... + d c 23 + d XML_SCHEMA_TYPE_IDC_KEYREF... + d c 24 + d XML_SCHEMA_TYPE_PARTICLE... + d c 25 + d XML_SCHEMA_TYPE_ATTRIBUTE_USE... + d c 26 + d XML_SCHEMA_FACET_MININCLUSIVE... + d c 1000 + d XML_SCHEMA_FACET_MINEXCLUSIVE... + d c 1001 + d XML_SCHEMA_FACET_MAXINCLUSIVE... + d c 1002 + d XML_SCHEMA_FACET_MAXEXCLUSIVE... + d c 1003 + d XML_SCHEMA_FACET_TOTALDIGITS... + d c 1004 + d XML_SCHEMA_FACET_FRACTIONDIGITS... + d c 1005 + d XML_SCHEMA_FACET_PATTERN... + d c 1006 + d XML_SCHEMA_FACET_ENUMERATION... + d c 1007 + d XML_SCHEMA_FACET_WHITESPACE... + d c 1008 + d XML_SCHEMA_FACET_LENGTH... + d c 1009 + d XML_SCHEMA_FACET_MAXLENGTH... + d c 1010 + d XML_SCHEMA_FACET_MINLENGTH... + d c 1011 + d XML_SCHEMA_EXTRA_QNAMEREF... + d c 2000 + d XML_SCHEMA_EXTRA_ATTR_USE_PROHIB... + d c 2001 + + d xmlSchemaContentType... + d s based(######typedef######) + d like(xmlCenum) + d XML_SCHEMA_CONTENT_UNKNOWN... + d c 0 + d XML_SCHEMA_CONTENT_EMPTY... + d c 1 + d XML_SCHEMA_CONTENT_ELEMENTS... + d c 2 + d XML_SCHEMA_CONTENT_MIXED... + d c 3 + d XML_SCHEMA_CONTENT_SIMPLE... + d c 4 + d XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS... Obsolete + d c 5 + d XML_SCHEMA_CONTENT_BASIC... + d c 6 + d XML_SCHEMA_CONTENT_ANY... + d c 7 + + d xmlSchemaValPtr... + d s * based(######typedef######) + + d xmlSchemaTypePtr... + d s * based(######typedef######) + + d xmlSchemaFacetPtr... + d s * based(######typedef######) + + * Annotation + + d xmlSchemaAnnotPtr... + d s * based(######typedef######) + + d xmlSchemaAnnot ds based(xmlSchemaAnnotPtr) + d align qualified + d next like(xmlSchemaAnnotPtr) + d content like(xmlNodePtr) The annotation + + * XML_SCHEMAS_ANYATTR_SKIP: + * + * Skip unknown attribute from validation + * Obsolete, not used anymore. + + d XML_SCHEMAS_ANYATTR_SKIP... + d c 1 + + * XML_SCHEMAS_ANYATTR_LAX: + * + * Ignore validation non definition on attributes + * Obsolete, not used anymore. + + d XML_SCHEMAS_ANYATTR_LAX... + d c 2 + + * XML_SCHEMAS_ANYATTR_STRICT: + * + * Apply strict validation rules on attributes + * Obsolete, not used anymore. + + d XML_SCHEMAS_ANYATTR_STRICT... + d c 3 + + * XML_SCHEMAS_ANY_SKIP: + * + * Skip unknown attribute from validation + + d XML_SCHEMAS_ANY_SKIP... + d c 1 + + * XML_SCHEMAS_ANY_LAX: + * + * Used by wildcards. + * Validate if type found, don't worry if not found + + d XML_SCHEMAS_ANY_LAX... + d c 2 + + * XML_SCHEMAS_ANY_STRICT: + * + * Used by wildcards. + * Apply strict validation rules + + d XML_SCHEMAS_ANY_STRICT... + d c 3 + + * XML_SCHEMAS_ATTR_USE_PROHIBITED: + * + * Used by wildcards. + * The attribute is prohibited. + + d XML_SCHEMAS_ATTR_USE_PROHIBITED... + d c 0 + + * XML_SCHEMAS_ATTR_USE_REQUIRED: + * + * The attribute is required. + + d XML_SCHEMAS_ATTR_USE_REQUIRED... + d c 1 + + * XML_SCHEMAS_ATTR_USE_OPTIONAL: + * + * The attribute is optional. + + d XML_SCHEMAS_ATTR_USE_OPTIONAL... + d c 2 + + * XML_SCHEMAS_ATTR_GLOBAL: + * + * allow elements in no namespace + + d XML_SCHEMAS_ATTR_GLOBAL... + d c X'0001' + + * XML_SCHEMAS_ATTR_NSDEFAULT: + * + * allow elements in no namespace + + d XML_SCHEMAS_ATTR_NSDEFAULT... + d c X'0080' + + * XML_SCHEMAS_ATTR_INTERNAL_RESOLVED: + * + * this is set when the "type" and "ref" references + * have been resolved. + + d XML_SCHEMAS_ATTR_INTERNAL_RESOLVED... + d c X'0100' + + * XML_SCHEMAS_ATTR_FIXED: + * + * the attribute has a fixed value + + d XML_SCHEMAS_ATTR_FIXED... + d c X'0200' + + * xmlSchemaAttribute: + * An attribute definition. + + d xmlSchemaAttributePtr... + d s * based(######typedef######) + + d xmlSchemaAttribute... + d ds based(xmlSchemaAttributePtr) + d align qualified + d type like(xmlSchemaTypeType) + d next like(xmlSchemaAttributePtr) Next attribute + d name * const xmlChar * + d id * const xmlChar * + d ref * const xmlChar * + d refNs * const xmlChar * + d typeName * const xmlChar * + d typeNs * const xmlChar * + d annot like(xmlSchemaAnnotPtr) + * + d base like(xmlSchemaTypePtr) Deprecated + d occurs like(xmlCint) Deprecated + d defValue * const xmlChar * + d subtypes like(xmlSchemaTypePtr) The type definition + d node like(xmlNodePtr) + d targetNamespace... const xmlChar * + d * + d flags like(xmlCint) + d refPrefix * const xmlChar * + d defVal like(xmlSchemaValPtr) Compiled constraint + d refDecl like(xmlSchemaAttributePtr) Deprecated + + * xmlSchemaAttributeLink: + * Used to build a list of attribute uses on complexType definitions. + * WARNING: Deprecated; not used. + + d xmlSchemaAttributeLinkPtr... + d s * based(######typedef######) + + d xmlSchemaAttributeLink... + d ds based(xmlSchemaAttributeLinkPtr) + d align qualified + d next like(xmlSchemaAttributeLinkPtr) The next link + d attr like(xmlSchemaAttributePtr) The linked attribute + + * XML_SCHEMAS_WILDCARD_COMPLETE: + * + * If the wildcard is complete. + + d XML_SCHEMAS_WILDCARD_COMPLETE... + d c X'0001' + + * xmlSchemaCharValueLink: + * Used to build a list of namespaces on wildcards. + + d xmlSchemaWildcardNsPtr... + d s * based(######typedef######) + + d xmlSchemaWildcardNs... + d ds based(xmlSchemaWildcardNsPtr) + d align qualified + d next like(xmlSchemaWildcardNsPtr) The next link + d value * const xmlChar * + + * xmlSchemaWildcard. + * A wildcard. + + d xmlSchemaWildcardPtr... + d s * based(######typedef######) + + d xmlSchemaWildcard... + d ds based(xmlSchemaWildcardPtr) + d align qualified + d type like(xmlSchemaTypeType) Kind of type + d id * const xmlChar * + d annot like(xmlSchemaAnnotPtr) + d node like(xmlNodePtr) + d minOccurs like(xmlCint) Deprecated; not used + d maxOccurs like(xmlCint) Deprecated; not used + d processContents... + d like(xmlCint) + d any like(xmlCint) Ns constraint ##any? + d nsSet like(xmlSchemaWildcardNsPtr) Allowed namspce list + d negNsSet like(xmlSchemaWildcardNsPtr) Negated namespace + d flags like(xmlCint) Deprecated; not used + + * XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED: + * + * The attribute wildcard has been already built. + + d XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED... + d c X'0001' + + * XML_SCHEMAS_ATTRGROUP_GLOBAL: + * + * The attribute wildcard has been already built. + + d XML_SCHEMAS_ATTRGROUP_GLOBAL... + d c X'0002' + + * XML_SCHEMAS_ATTRGROUP_MARKED: + * + * Marks the attr group as marked; used for circular checks. + + d XML_SCHEMAS_ATTRGROUP_MARKED... + d c X'0004' + + * XML_SCHEMAS_ATTRGROUP_REDEFINED: + * + * The attr group was redefined. + + d XML_SCHEMAS_ATTRGROUP_REDEFINED... + d c X'0008' + + * XML_SCHEMAS_ATTRGROUP_HAS_REFS: + * + * Whether this attr. group contains attr. group references. + + d XML_SCHEMAS_ATTRGROUP_HAS_REFS... + d c X'0010' + + * An attribute group definition. + * + * xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures + * must be kept similar + + d xmlSchemaAttributeGroupPtr... + d s * based(######typedef######) + + d xmlSchemaAttributeGroup... + d ds based(xmlSchemaAttributeGroupPtr) + d align qualified + d type like(xmlSchemaTypeType) Kind of type + d next like(xmlSchemaAttributePtr) Next attribute + d name * const xmlChar * + d id * const xmlChar * + d ref * const xmlChar * + d refNs * const xmlChar * + d annot like(xmlSchemaAnnotPtr) + * + d attributes like(xmlSchemaAttributePtr) Deprecated; not used + d node like(xmlNodePtr) + d flags like(xmlCint) + d attributeWildcard... + d like(xmlSchemaWildcardPtr) + d refPrefix * const xmlChar * + d refItem like(xmlSchemaAttributeGroupPtr) Deprecated; not used + d targetNamespace... + d * const xmlChar * + d attrUses * void * + + * xmlSchemaTypeLink: + * Used to build a list of types (e.g. member types of + * simpleType with variety "union"). + + d xmlSchemaTypeLinkPtr... + d s * based(######typedef######) + + d xmlSchemaTypeLink... + d ds based(xmlSchemaTypeLinkPtr) + d align qualified + d next like(xmlSchemaTypeLinkPtr) Next type link + d type like(xmlSchemaTypePtr) Linked type + + * xmlSchemaFacetLink: + * Used to build a list of facets. + + d xmlSchemaFacetLinkPtr... + d s * based(######typedef######) + + d xmlSchemaFacetLink... + d ds based(xmlSchemaFacetLinkPtr) + d align qualified + d next like(xmlSchemaFacetLinkPtr) Next facet link + d facet like(xmlSchemaFacetPtr) Linked facet + + * XML_SCHEMAS_TYPE_MIXED: + * + * the element content type is mixed + + d XML_SCHEMAS_TYPE_MIXED... + d c X'00000001' + + * XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION: + * + * the simple or complex type has a derivation method of "extension". + + d XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION... + d c X'00000002' + + * XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION: + * + * the simple or complex type has a derivation method of "restriction". + + d XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION... + d c X'00000004' + + * XML_SCHEMAS_TYPE_GLOBAL: + * + * the type is global + + d XML_SCHEMAS_TYPE_GLOBAL... + d c X'00000008' + + * XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD: + * + * the complexType owns an attribute wildcard, i.e. + * it can be freed by the complexType + + d XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD... Obsolete. + d c X'00000010' + + * XML_SCHEMAS_TYPE_VARIETY_ABSENT: + * + * the simpleType has a variety of "absent". + * TODO: Actually not necessary :-/, since if + * none of the variety flags occur then it's + * automatically absent. + + d XML_SCHEMAS_TYPE_VARIETY_ABSENT... + d c X'00000020' + + * XML_SCHEMAS_TYPE_VARIETY_LIST: + * + * the simpleType has a variety of "list". + + d XML_SCHEMAS_TYPE_VARIETY_LIST... + d c X'00000040' + + * XML_SCHEMAS_TYPE_VARIETY_UNION: + * + * the simpleType has a variety of "union". + + d XML_SCHEMAS_TYPE_VARIETY_UNION... + d c X'00000080' + + * XML_SCHEMAS_TYPE_VARIETY_ATOMIC: + * + * the simpleType has a variety of "union". + + d XML_SCHEMAS_TYPE_VARIETY_ATOMIC... + d c X'00000100' + + * XML_SCHEMAS_TYPE_FINAL_EXTENSION: + * + * the complexType has a final of "extension". + + d XML_SCHEMAS_TYPE_FINAL_EXTENSION... + d c X'00000200' + + * XML_SCHEMAS_TYPE_FINAL_RESTRICTION: + * + * the simpleType/complexType has a final of "restriction". + + d XML_SCHEMAS_TYPE_FINAL_RESTRICTION... + d c X'00000400' + + * XML_SCHEMAS_TYPE_FINAL_LIST: + * + * the simpleType has a final of "list". + + d XML_SCHEMAS_TYPE_FINAL_LIST... + d c X'00000800' + + * XML_SCHEMAS_TYPE_FINAL_UNION: + * + * the simpleType has a final of "union". + + d XML_SCHEMAS_TYPE_FINAL_UNION... + d c X'00001000' + + * XML_SCHEMAS_TYPE_FINAL_DEFAULT: + * + * the simpleType has a final of "default". + + d XML_SCHEMAS_TYPE_FINAL_DEFAULT... + d c X'00002000' + + * XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE: + * + * Marks the item as a builtin primitive. + + d XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE... + d c X'00004000' + + * XML_SCHEMAS_TYPE_MARKED: + * + * Marks the item as marked; used for circular checks. + + d XML_SCHEMAS_TYPE_MARKED... + d c X'00010000' + + * XML_SCHEMAS_TYPE_BLOCK_DEFAULT: + * + * the complexType did not specify 'block' so use the default of the + * item. + + d XML_SCHEMAS_TYPE_BLOCK_DEFAULT... + d c X'00020000' + + * XML_SCHEMAS_TYPE_BLOCK_EXTENSION: + * + * the complexType has a 'block' of "extension". + + d XML_SCHEMAS_TYPE_BLOCK_EXTENSION... + d c X'00040000' + + * XML_SCHEMAS_TYPE_BLOCK_RESTRICTION: + * + * the complexType has a 'block' of "restriction". + + d XML_SCHEMAS_TYPE_BLOCK_RESTRICTION... + d c X'00080000' + + * XML_SCHEMAS_TYPE_ABSTRACT: + * + * the simple/complexType is abstract. + + d XML_SCHEMAS_TYPE_ABSTRACT... + d c X'00100000' + + * XML_SCHEMAS_TYPE_FACETSNEEDVALUE: + * + * indicates if the facets need a computed value + + d XML_SCHEMAS_TYPE_FACETSNEEDVALUE... + d c X'00200000' + + * XML_SCHEMAS_TYPE_INTERNAL_RESOLVED: + * + * indicates that the type was typefixed + + d XML_SCHEMAS_TYPE_INTERNAL_RESOLVED... + d c X'00400000' + + * XML_SCHEMAS_TYPE_INTERNAL_INVALID: + * + * indicates that the type is invalid + + d XML_SCHEMAS_TYPE_INTERNAL_INVALID... + d c X'00800000' + + * XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE: + * + * a whitespace-facet value of "preserve" + + d XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE... + d c X'01000000' + + * XML_SCHEMAS_TYPE_WHITESPACE_REPLACE: + * + * a whitespace-facet value of "replace" + + d XML_SCHEMAS_TYPE_WHITESPACE_REPLACE... + d c X'02000000' + + * XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE: + * + * a whitespace-facet value of "collapse" + + d XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE... + d c X'04000000' + + * XML_SCHEMAS_TYPE_HAS_FACETS: + * + * has facets + + d XML_SCHEMAS_TYPE_HAS_FACETS... + d c X'08000000' + + * XML_SCHEMAS_TYPE_NORMVALUENEEDED: + * + * indicates if the facets (pattern) need a normalized value + + d XML_SCHEMAS_TYPE_NORMVALUENEEDED... + d c X'10000000' + + * XML_SCHEMAS_TYPE_FIXUP_1: + * + * First stage of fixup was done. + + d XML_SCHEMAS_TYPE_FIXUP_1... + d c X'20000000' + + * XML_SCHEMAS_TYPE_REDEFINED: + * + * The type was redefined. + + d XML_SCHEMAS_TYPE_REDEFINED... + d c X'40000000' + + /if defined(DISABLED) + * XML_SCHEMAS_TYPE_REDEFINING: + * + * The type redefines an other type. + + d XML_SCHEMAS_TYPE_REDEFINING... + d c X'80000000' + /endif + + * _xmlSchemaType: + * + * Schemas type definition. + + d xmlSchemaType... + d ds based(xmlSchemaTypePtr) + d align qualified + d type like(xmlSchemaTypeType) Kind of type + d next like(xmlSchemaTypePtr) Next type + d name * const xmlChar * + d id * const xmlChar * + d ref * const xmlChar * + d refNs * const xmlChar * + d annot like(xmlSchemaAnnotPtr) + d subtypes like(xmlSchemaTypePtr) + d attributes like(xmlSchemaAttributePtr) Deprecated; not used + d node like(xmlNodePtr) + d minOccurs like(xmlCint) Deprecated; not used + d maxOccurs like(xmlCint) Deprecated; not used + * + d flags like(xmlCint) + d contentType like(xmlSchemaContentType) + d base * const xmlChar * + d baseNs * const xmlChar * + d baseType like(xmlSchemaTypePtr) Base type component + d facets like(xmlSchemaFacetPtr) Local facets + d redef like(xmlSchemaTypePtr) Deprecated; not used + d recurse like(xmlCint) Obsolete + d attributeUses like(xmlSchemaAttributeLinkPtr) Deprecated; not used + d attributeWildcard... + d like(xmlSchemaWildcardPtr) + d builtInType like(xmlCint) Built-in types type + d memberTypes like(xmlSchemaTypeLinkPtr) Union member-types + d facetSet like(xmlSchemaFacetLinkPtr) All facets + d refPrefix * const xmlChar * + d contentTypeDef... + d like(xmlSchemaTypePtr) + d contModel like(xmlRegexpPtr) Content model autom. + d targetNamespace... + d * const xmlChar * + d attrUses * void * + + * xmlSchemaElement: + * An element definition. + * + * xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of + * structures must be kept similar + + * XML_SCHEMAS_ELEM_NILLABLE: + * + * the element is nillable + + d XML_SCHEMAS_ELEM_NILLABLE... + d c X'00000001' + + * XML_SCHEMAS_ELEM_GLOBAL: + * + * the element is global + + d XML_SCHEMAS_ELEM_GLOBAL... + d c X'00000002' + + * XML_SCHEMAS_ELEM_DEFAULT: + * + * the element has a default value + + d XML_SCHEMAS_ELEM_DEFAULT... + d c X'00000004' + + * XML_SCHEMAS_ELEM_FIXED: + * + * the element has a fixed value + + d XML_SCHEMAS_ELEM_FIXED... + d c X'00000008' + + * XML_SCHEMAS_ELEM_ABSTRACT: + * + * the element is abstract + + d XML_SCHEMAS_ELEM_ABSTRACT... + d c X'00000010' + + * XML_SCHEMAS_ELEM_TOPLEVEL: + * + * the element is top level + * obsolete: use XML_SCHEMAS_ELEM_GLOBAL instead + + d XML_SCHEMAS_ELEM_TOPLEVEL... + d c X'00000020' + + * XML_SCHEMAS_ELEM_REF: + * + * the element is a reference to a type + + d XML_SCHEMAS_ELEM_REF... + d c X'00000040' + + * XML_SCHEMAS_ELEM_NSDEFAULT: + * + * allow elements in no namespace + * Obsolete, not used anymore. + + d XML_SCHEMAS_ELEM_NSDEFAULT... + d c X'00000080' + + * XML_SCHEMAS_ELEM_INTERNAL_RESOLVED: + * + * this is set when "type", "ref", "substitutionGroup" + * references have been resolved. + + d XML_SCHEMAS_ELEM_INTERNAL_RESOLVED... + d c X'00000100' + + * XML_SCHEMAS_ELEM_CIRCULAR: + * + * a helper flag for the search of circular references. + + d XML_SCHEMAS_ELEM_CIRCULAR... + d c X'00000200' + + * XML_SCHEMAS_ELEM_BLOCK_ABSENT: + * + * the "block" attribute is absent + + d XML_SCHEMAS_ELEM_BLOCK_ABSENT... + d c X'00000400' + + * XML_SCHEMAS_ELEM_BLOCK_EXTENSION: + * + * disallowed substitutions are absent + + d XML_SCHEMAS_ELEM_BLOCK_EXTENSION... + d c X'00000800' + + * XML_SCHEMAS_ELEM_BLOCK_RESTRICTION: + * + * disallowed substitutions: "restriction" + + d XML_SCHEMAS_ELEM_BLOCK_RESTRICTION... + d c X'00001000' + + * XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION: + * + * disallowed substitutions: "substitution" + + d XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION... + d c X'00002000' + + * XML_SCHEMAS_ELEM_FINAL_ABSENT: + * + * substitution group exclusions are absent + + d XML_SCHEMAS_ELEM_FINAL_ABSENT... + d c X'00004000' + + * XML_SCHEMAS_ELEM_FINAL_EXTENSION: + * + * substitution group exclusions: "extension" + + d XML_SCHEMAS_ELEM_FINAL_EXTENSION... + d c X'00008000' + + * XML_SCHEMAS_ELEM_FINAL_RESTRICTION: + * + * substitution group exclusions: "restriction" + + d XML_SCHEMAS_ELEM_FINAL_RESTRICTION... + d c X'00010000' + + * XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD: + * + * the declaration is a substitution group head + + d XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD... + d c X'00020000' + + * XML_SCHEMAS_ELEM_INTERNAL_CHECKED: + * + * this is set when the elem decl has been checked against + * all constraints + + d XML_SCHEMAS_ELEM_INTERNAL_CHECKED... + d c X'00040000' + + d xmlSchemaElementPtr... + d s * based(######typedef######) + + d xmlSchemaElement... + d ds based(xmlSchemaElementPtr) + d align qualified + d type like(xmlSchemaTypeType) Kind of type + d next like(xmlSchemaElementPtr) Not used ? + d name * const xmlChar * + d id * const xmlChar * + d ref * const xmlChar * + d refNs * const xmlChar * + d annot like(xmlSchemaAnnotPtr) + d subtypes like(xmlSchemaTypePtr) + d attributes like(xmlSchemaAttributePtr) Deprecated; not used + d node like(xmlNodePtr) + d minOccurs like(xmlCint) Deprecated; not used + d maxOccurs like(xmlCint) Deprecated; not used + * + d flags like(xmlCint) + d targetNamespace... + d * const xmlChar * + d namedType * const xmlChar * + d namedTypeNs * const xmlChar * + d substGroup * const xmlChar * + d substGroupNs * const xmlChar * + d scope * const xmlChar * + d value * const xmlChar * + d refDecl like(xmlSchemaElementPtr) + d contModel like(xmlRegexpPtr) + d contentType like(xmlSchemaContentType) + d refPrefix * const xmlChar * + d devVal like(xmlSchemaValPtr) Comp val constraint + d idcs * void * + + * XML_SCHEMAS_FACET_UNKNOWN: + * + * unknown facet handling + + d XML_SCHEMAS_FACET_UNKNOWN... + d c 0 + + * XML_SCHEMAS_FACET_PRESERVE: + * + * preserve the type of the facet + + d XML_SCHEMAS_FACET_PRESERVE... + d c 1 + + * XML_SCHEMAS_FACET_REPLACE: + * + * replace the type of the facet + + d XML_SCHEMAS_FACET_REPLACE... + d c 2 + + * XML_SCHEMAS_FACET_COLLAPSE: + * + * collapse the types of the facet + + d XML_SCHEMAS_FACET_COLLAPSE... + d c 3 + + * A facet definition. + + d xmlSchemaFacet... + d ds based(xmlSchemaFacetPtr) + d align qualified + d type like(xmlSchemaTypeType) Kind of type + d next like(xmlSchemaFacetPtr) Next type in seq. + d value * const xmlChar * + d id * const xmlChar * + d annot like(xmlSchemaAnnotPtr) + d node like(xmlNodePtr) + d fixed like(xmlCint) _FACET_PRESERVE, etc + d whitespace like(xmlCint) + d val like(xmlSchemaValPtr) Compiled value + d regexp like(xmlRegexpPtr) Regexp for patterns + + * A notation definition. + + d xmlSchemaNotationPtr... + d s * based(######typedef######) + + d xmlSchemaNotation... + d ds based(xmlSchemaNotationPtr) + d align qualified + d type like(xmlSchemaTypeType) Kind of type + d name * const xmlChar * + d annot like(xmlSchemaAnnotPtr) + d identifier * const xmlChar * + d targetNamespace... + d * const xmlChar * + + * TODO: Actually all those flags used for the schema should sit + * on the schema parser context, since they are used only + * during parsing an XML schema document, and not available + * on the component level as per spec. + + * XML_SCHEMAS_QUALIF_ELEM: + * + * Reflects elementFormDefault == qualified in + * an XML schema document. + + d XML_SCHEMAS_QUALIF_ELEM... + d c X'00000001' + + * XML_SCHEMAS_QUALIF_ATTR: + * + * Reflects attributeFormDefault == qualified in + * an XML schema document. + + d XML_SCHEMAS_QUALIF_ATTR... + d c X'00000002' + + * XML_SCHEMAS_FINAL_DEFAULT_EXTENSION: + * + * the schema has "extension" in the set of finalDefault. + + d XML_SCHEMAS_FINAL_DEFAULT_EXTENSION... + d c X'00000004' + + * XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION: + * + * the schema has "restriction" in the set of finalDefault. + + d XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION... + d c X'00000008' + + * XML_SCHEMAS_FINAL_DEFAULT_LIST: + * + * the cshema has "list" in the set of finalDefault. + + d XML_SCHEMAS_FINAL_DEFAULT_LIST... + d c X'00000010' + + * XML_SCHEMAS_FINAL_DEFAULT_UNION: + * + * the schema has "union" in the set of finalDefault. + + d XML_SCHEMAS_FINAL_DEFAULT_UNION... + d c X'00000020' + + * XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION: + * + * the schema has "extension" in the set of blockDefault. + + d XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION... + d c X'00000040' + + * XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION: + * + * the schema has "restriction" in the set of blockDefault. + + d XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION... + d c X'00000080' + + * XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION: + * + * the schema has "substitution" in the set of blockDefault. + + d XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION... + d c X'00000100' + + * XML_SCHEMAS_INCLUDING_CONVERT_NS: + * + * the schema is currently including an other schema with + * no target namespace. + + d XML_SCHEMAS_INCLUDING_CONVERT_NS... + d c X'00000200' + + * _xmlSchema: + * + * A Schemas definition + + d xmlSchema ds based(xmlSchemaPtr) + d align qualified + d name * const xmlChar * + d targetNamespace... + d * const xmlChar * + d version * const xmlChar * + d id * const xmlChar * + d doc like(xmlDocPtr) + d annot like(xmlSchemaAnnotPtr) + d flags like(xmlCint) + * + d typeDecl like(xmlHashTablePtr) + d attrDecl like(xmlHashTablePtr) + d attrGrpDecl like(xmlHashTablePtr) + d elemDecl like(xmlHashTablePtr) + d notaDecl like(xmlHashTablePtr) + d schemasImports... + d like(xmlHashTablePtr) + * + d #private * void * + d groupDecl like(xmlHashTablePtr) + d dict like(xmlDictPtr) + d includes * void * + d preserve like(xmlCint) Do not free doc ? + d counter like(xmlCint) For name uniqueness + d idcDef like(xmlHashTablePtr) All id-constr. defs + d volatiles * void * + + d xmlSchemaFreeType... + d pr extproc('xmlSchemaFreeType') + d type value like(xmlSchemaTypePtr) + + d xmlSchemaFreeWildcard... + d pr extproc('xmlSchemaFreeWildcard') + d wildcard value like(xmlSchemaWildcardPtr) + + /endif LIBXML_SCHEMAS_ENBLD + /endif SCHEMA_INTERNALS_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/schematron.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/schematron.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..3f0ae3363620632fe707ca8368b072e1caa35afb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/schematron.rpgle @@ -0,0 +1,204 @@ + * Summary: XML Schematron implementation + * Description: interface to the XML Schematron validity checking. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_SCHEMATRON_H__) + /define XML_SCHEMATRON_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_SCHEMATRON_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + + d xmlSchematronValidOptions... + d s based(######typedef######) + d like(xmlCenum) + d XML_SCHEMATRON_OUT_QUIET... Quiet no report + d c X'0001' + d XML_SCHEMATRON_OUT_TEXT... Build textual report + d c X'0002' + d XML_SCHEMATRON_OUT_XML... Output SVRL + d c X'0004' + d XML_SCHEMATRON_OUT_ERROR... Output to error func + d c X'0008' + d XML_SCHEMATRON_OUT_FILE... Output to file descr + d c X'0100' + d XML_SCHEMATRON_OUT_BUFFER... Output to a buffer + d c X'0200' + d XML_SCHEMATRON_OUT_IO... Output to I/O mech + d c X'0400' + + * The schemas related types are kept internal + + d xmlSchematronPtr... + d s * based(######typedef######) + + * xmlSchematronValidityErrorFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of an error callback from a Schematron validation + + d xmlSchematronValidityErrorFunc... + d s * based(######typedef######) + d procptr + + * xmlSchematronValidityWarningFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of a warning callback from a Schematron validation + + d xmlSchematronValidityWarningFunc... + d s * based(######typedef######) + d procptr + + * A schemas validation context + + d xmlSchematronParserCtxtPtr... + d s * based(######typedef######) + + d xmlSchematronValidCtxtPtr... + d s * based(######typedef######) + + * Interfaces for parsing. + + d xmlSchematronNewParserCtxt... + d pr extproc('xmlSchematronNewParserCtxt') + d like(xmlSchematronParserCtxtPtr) + d URL * value options(*string) const char * + + d xmlSchematronNewMemParserCtxt... + d pr extproc( + d 'xmlSchematronNewMemParserCtxt') + d like(xmlSchematronParserCtxtPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + + d xmlSchematronNewDocParserCtxt... + d pr extproc( + d 'xmlSchematronNewDocParserCtxt') + d like(xmlSchematronParserCtxtPtr) + d doc value like(xmlDocPtr) + + d xmlSchematronFreeParserCtxt... + d pr extproc( + d 'xmlSchematronFreeParserCtxt') + d ctxt value + d like(xmlSchematronParserCtxtPtr) + + /if defined(DISABLED) + d xmlSchematronSetParserErrors... + d pr extproc( + d 'xmlSchematronSetParserErrors') + d ctxt value + d like(xmlSchematronParserCtxtPtr) + d err value + d like(xmlSchematronValidityErrorFunc) + d warn value like( + d xmlSchematronValidityWarningFunc) + d ctx * value void * + + d xmlSchematronGetParserErrors... + d pr extproc( + d 'xmlSchematronGetParserErrors') + d like(xmlCint) + d ctxt value + d like(xmlSchematronParserCtxtPtr) + d err like(xmlSchematronValidityErrorFunc) + d warn like( + d xmlSchematronValidityWarningFunc) + d ctx * void *(*) + + d xmlSchematronIsValid... + d pr extproc('xmlSchematronIsValid') + d like(xmlCint) + d ctxt value like(xmlSchematronValidCtxtPtr) + /endif + + d xmlSchematronParse... + d pr extproc('xmlSchematronParse') + d like(xmlSchematronPtr) + d ctxt value + d like(xmlSchematronParserCtxtPtr) + + d xmlSchematronFree... + d pr extproc('xmlSchematronFree') + d schema value like(xmlSchematronPtr) + + * Interfaces for validating + + d xmlSchematronSetValidStructuredErrors... + d pr extproc('xmlSchematronSetValidStruct- + d uredErrors') + d ctxt value like(xmlSchematronValidCtxtPtr) + d serror value like(xmlStructuredErrorFunc) + d ctx * value void * + + /if defined(DISABLED) + d xmlSchematronSetValidErrors... + d pr extproc( + d 'xmlSchematronSetValidErrors') + d ctxt value like(xmlSchematronValidCtxtPtr) + d err value + d like(xmlSchematronValidityErrorFunc) + d warn value like( + d xmlSchematronValidityWarningFunc) + d ctx * value void * + + d xmlSchematronGetValidErrors... + d pr extproc( + d 'xmlSchematronGetValidErrors') + d like(xmlCint) + d ctxt value like(xmlSchematronValidCtxtPtr) + d err like(xmlSchematronValidityErrorFunc) + d warn like( + d xmlSchematronValidityWarningFunc) + d ctx * void *(*) + + d xmlSchematronSetValidOptions... + d pr extproc( + d 'xmlSchematronSetValidOptions') + d like(xmlCint) + d ctxt value like(xmlSchematronValidCtxtPtr) + d options value like(xmlCint) + + d xmlSchematronValidCtxtGetOptions... + d pr extproc( + d 'xmlSchematronValidCtxtGetOptions') + d like(xmlCint) + d ctxt value like(xmlSchematronValidCtxtPtr) + + d xmlSchematronValidateOneElement... + d pr extproc( + d 'xmlSchematronValidateOneElement') + d like(xmlCint) + d ctxt value like(xmlSchematronValidCtxtPtr) + d elem value like(xmlNodePtr) + /endif + + d xmlSchematronNewValidCtxt... + d pr extproc('xmlSchematronNewValidCtxt') + d like(xmlSchematronValidCtxtPtr) + d schema value like(xmlSchematronPtr) + d options value like(xmlCint) + + d xmlSchematronFreeValidCtxt... + d pr extproc('xmlSchematronFreeValidCtxt') + d ctxt value like(xmlSchematronValidCtxtPtr) + + d xmlSchematronValidateDoc... + d pr extproc('xmlSchematronValidateDoc') + d like(xmlCint) + d ctxt value like(xmlSchematronValidCtxtPtr) + d instance value like(xmlDocPtr) + + /endif _SCHEMATRON_ENABLED + /endif XML_SCHEMATRON_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/threads.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/threads.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..124798bbc74de0b8dc1fbc0cbf46edec2eb2897f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/threads.rpgle @@ -0,0 +1,73 @@ + * Summary: interfaces for thread handling + * Description: set of generic threading related routines + * should work with pthreads, Windows native or TLS threads + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_THREADS_H__) + /define XML_THREADS_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + + * xmlMutex are a simple mutual exception locks. + + d xmlMutexPtr s * based(######typedef######) + + * xmlRMutex are reentrant mutual exception locks. + + d xmlRMutexPtr s * based(######typedef######) + + /include "libxmlrpg/globals" + + d xmlNewMutex pr extproc('xmlNewMutex') + d like(xmlMutexPtr) + + d xmlMutexLock pr extproc('xmlMutexLock') + d tok value like(xmlMutexPtr) + + d xmlMutexUnlock pr extproc('xmlMutexUnlock') + d tok value like(xmlMutexPtr) + + d xmlFreeMutex pr extproc('xmlFreeMutex') + d tok value like(xmlMutexPtr) + + d xmlNewRMutex pr extproc('xmlNewRMutex') + d like(xmlRMutexPtr) + + d xmlRMutexLock pr extproc('xmlRMutexLock') + d tok value like(xmlRMutexPtr) + + d xmlRMutexUnlock... + d pr extproc('xmlRMutexUnlock') + d tok value like(xmlRMutexPtr) + + d xmlFreeRMutex pr extproc('xmlFreeRMutex') + d tok value like(xmlRMutexPtr) + + * Library wide APIs. + + d xmlInitThreads pr extproc('xmlInitThreads') + + d xmlLockLibrary pr extproc('xmlLockLibrary') + + d xmlUnlockLibrary... + d pr extproc('xmlUnlockLibrary') + + d xmlGetThreadId pr extproc('xmlGetThreadId') + d like(xmlCint) + + d xmlIsMainThread... + d pr extproc('xmlIsMainThread') + d like(xmlCint) + + d xmlCleanupThreads... + d pr extproc('xmlCleanupThreads') + + d xmlGetGlobalState... + d pr extproc('xmlGetGlobalState') + d like(xmlGlobalStatePtr) + + /endif XML_THREADS_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/transcode.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/transcode.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..b96e4e8fda15456aba552f661b103aa7ac9aedad --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/transcode.rpgle @@ -0,0 +1,71 @@ + * Supplementary character code conversion functions for + * EBCDIC environments. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(TRANSCODE_H__) + /define TRANSCODE_H__ + + /include "libxmlrpg/dict" + /include "libxmlrpg/xmlstdarg" + + d xmlZapDict pr extproc('xmlZapDict') + d dict like(xmlDictPtr) + + d xmlTranscodeResult... + d pr * extproc('xmlTranscodeResult') const char * + d s * value options(*string) const xmlChar * + d encoding * value options(*string) const char * + d dict like(xmlDictPtr) options(*omit) + d freeproc * value procptr + + d xmlTranscodeString... + d pr * extproc('xmlTranscodeString') const xmlChar * + d s * value options(*string) const char * + d encoding * value options(*string) const char * + d dict like(xmlDictPtr) options(*omit) + + d xmlTranscodeWString... + d pr * extproc('xmlTranscodeWString') const xmlChar * + d s * value options(*string) const char * + d encoding * value options(*string) const char * + d dict like(xmlDictPtr) options(*omit) + + d xmlTranscodeHString... + d pr * extproc('xmlTranscodeHString') const xmlChar * + d s * value options(*string) const char * + d encoding * value options(*string) const char * + d dict like(xmlDictPtr) options(*omit) + + /if not defined(XML_NO_SHORT_NAMES) + d xmlTR pr * extproc('xmlTranscodeResult') const char * + d s * value options(*string) const xmlChar * + d encoding * value options(*string) const char * + d dict like(xmlDictPtr) options(*omit) + d freeproc * value procptr + + d xmlTS pr * extproc('xmlTranscodeString') const xmlChar * + d s * value options(*string) const char * + d encoding * value options(*string) const char * + d dict like(xmlDictPtr) options(*omit) + + d xmlTW pr * extproc('xmlTranscodeWString') const xmlChar * + d s * value options(*string) const char * + d encoding * value options(*string) const char * + d dict like(xmlDictPtr) options(*omit) + + d xmlTH pr * extproc('xmlTranscodeHString') const xmlChar * + d s * value options(*string) const char * + d encoding * value options(*string) const char * + d dict like(xmlDictPtr) options(*omit) + /endif + + d xmlVasprintf pr * extproc('xmlVasprintf') + d dict like(xmlDictPtr) options(*omit) + d encoding * value options(*string) const char * + d fmt * value options(*string) const xmlChar * + d args likeds(xmlVaList) + + /endif diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/tree.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/tree.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..3e78182ca3412225780651f443f222107716c95e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/tree.rpgle @@ -0,0 +1,1681 @@ + * Summary: interfaces for tree manipulation + * Description: this module describes the structures found in an tree + * resulting from an XML or HTML parsing, as well as the API + * provided for various processing on that tree + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_TREE_H__) + /define XML_TREE_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlstring" + + + * Some of the basic types pointer to structures: + + * xmlIO.h + + d xmlParserInputBufferPtr... + d s * based(######typedef######) + + d xmlOutputBufferPtr... + d s * based(######typedef######) + + * parser.h + + d xmlParserInputPtr... + d s * based(######typedef######) + + d xmlParserCtxtPtr... + d s * based(######typedef######) + + d xmlSAXLocatorPtr... + d s * based(######typedef######) + + d xmlSAXHandlerPtr... + d s * based(######typedef######) + + * entities.h + + d xmlEntityPtr s * based(######typedef######) + + + * BASE_BUFFER_SIZE: + * + * default buffer size 4000. + + d BASE_BUFFER_SIZE... + d c 4096 + + * LIBXML_NAMESPACE_DICT: + * + * Defines experimental behaviour: + * 1) xmlNs gets an additional field @context (a xmlDoc) + * 2) when creating a tree, xmlNs->href is stored in the dict of xmlDoc. + + /if defined(DO_NOT_COMPILE) + /define LIBXML_NAMESPACE_DICT + /endif + + * xmlBufferAllocationScheme: + * + * A buffer allocation scheme can be defined to either match exactly the + * need or double it's allocated size each time it is found too small. + + d xmlBufferAllocationScheme... + d s based(######typedef######) + d like(xmlCenum) + d XML_BUFFER_ALLOC_DOUBLEIT... + d c 0 + d XML_BUFFER_ALLOC_EXACT... + d c 1 + d XML_BUFFER_ALLOC_IMMUTABLE... + d c 2 + d XML_BUFFER_ALLOC_IO... + d c 3 + d XML_BUFFER_ALLOC_HYBRID... + d c 4 + + * xmlBuffer: + * + * A buffer structure, this old construct is limited to 2GB and + * is being deprecated, use API with xmlBuf instead + + d xmlBufferPtr s * based(######typedef######) + + d xmlBuffer ds based(xmlBufferPtr) + d align qualified + d content * xmlChar * + d use like(xmlCuint) + d size like(xmlCuint) + d alloc like(xmlBufferAllocationScheme) The realloc method + d contentIO * xmlChar * + + * xmlBufPtr: + * + * A pointer to a buffer structure, the actual structure internals are not + * public + + d xmlBufPtr s * based(######typedef######) + + * A few public routines for xmlBuf. As those are expected to be used + * mostly internally the bulk of the routines are internal in buf.h + + d xmlBufContent pr * extproc('xmlBufContent') xmlChar * + d buf value like(xmlBufPtr) const + + d xmlBufEnd pr * extproc('xmlBufEnd') xmlChar * + d buf value like(xmlBufPtr) const + + d xmlBufUse pr extproc('xmlBufUse') + d like(xmlCsize_t) + d buf value like(xmlBufPtr) const + + d xmlBufShrink pr extproc('xmlBufShrink') + d like(xmlCsize_t) + d buf value like(xmlBufPtr) + d len value like(xmlCsize_t) + + * LIBXML2_NEW_BUFFER: + * + * Macro used to express that the API use the new buffers for + * xmlParserInputBuffer and xmlOutputBuffer. The change was + * introduced in 2.9.0. + + /define LIBXML2_NEW_BUFFER + + * XML_XML_NAMESPACE: + * + * This is the namespace for the special xml: prefix predefined in the + * XML Namespace specification. + + d XML_XML_NAMESPACE... + d c 'http://www.w3.org/XML/1998/+ + d namespace' + + * XML_XML_ID: + * + * This is the name for the special xml:id attribute + + d XML_XML_ID c 'xml:id' + + * The different element types carried by an XML tree. + * + * NOTE: This is synchronized with DOM Level1 values + * See http://www.w3.org/TR/REC-DOM-Level-1/ + * + * Actually this had diverged a bit, and now XML_DOCUMENT_TYPE_NODE should + * be deprecated to use an XML_DTD_NODE. + + d xmlElementType s based(######typedef######) + d like(xmlCenum) + d XML_ELEMENT_NODE... + d c 1 + d XML_ATTRIBUTE_NODE... + d c 2 + d XML_TEXT_NODE c 3 + d XML_CDATA_SECTION_NODE... + d c 4 + d XML_ENTITY_REF_NODE... + d c 5 + d XML_ENTITY_NODE... + d c 6 + d XML_PI_NODE c 7 + d XML_COMMENT_NODE... + d c 8 + d XML_DOCUMENT_NODE... + d c 9 + d XML_DOCUMENT_TYPE_NODE... + d c 10 + d XML_DOCUMENT_FRAG_NODE... + d c 11 + d XML_NOTATION_NODE... + d c 12 + d XML_HTML_DOCUMENT_NODE... + d c 13 + d XML_DTD_NODE c 14 + d XML_ELEMENT_DECL... + d c 15 + d XML_ATTRIBUTE_DECL... + d c 16 + d XML_ENTITY_DECL... + d c 17 + d XML_NAMESPACE_DECL... + d c 18 + d XML_LOCAL_NAMESPACE... + d c 18 Alias + d XML_XINCLUDE_START... + d c 19 + d XML_XINCLUDE_END... + d c 20 + /if defined(LIBXML_DOCB_ENABLED) + d XML_DOCB_DOCUMENT_NODE... + d c 21 + /endif + + * xmlNotation: + * + * A DTD Notation definition. + + d xmlNotationPtr s * based(######typedef######) + + d xmlNotation ds based(xmlNotationPtr) + d align qualified + d name * const xmlChar * + d PublicID * const xmlChar * + d SystemID * const xmlChar * + + * xmlAttributeType: + * + * A DTD Attribute type definition. + + d xmlAttributeType... + d s based(######typedef######) + d like(xmlCenum) + d XML_ATTRIBUTE_CDATA... + d c 1 + d XML_ATTRIBUTE_ID... + d c 2 + d XML_ATTRIBUTE_IDREF... + d c 3 + d XML_ATTRIBUTE_IDREFS... + d c 4 + d XML_ATTRIBUTE_ENTITY... + d c 5 + d XML_ATTRIBUTE_ENTITIES... + d c 6 + d XML_ATTRIBUTE_NMTOKEN... + d c 7 + d XML_ATTRIBUTE_NMTOKENS... + d c 8 + d XML_ATTRIBUTE_ENUMERATION... + d c 9 + d XML_ATTRIBUTE_NOTATION... + d c 10 + + * xmlAttributeDefault: + * + * A DTD Attribute default definition. + + d xmlAttributeDefault... + d s based(######typedef######) + d like(xmlCenum) + d XML_ATTRIBUTE_NONE... + d c 1 + d XML_ATTRIBUTE_REQUIRED... + d c 2 + d XML_ATTRIBUTE_IMPLIED... + d c 3 + d XML_ATTRIBUTE_FIXED... + d c 4 + + * xmlEnumeration: + * + * List structure used when there is an enumeration in DTDs. + + d xmlEnumerationPtr... + d s * based(######typedef######) + + d xmlEnumeration ds based(xmlEnumerationPtr) + d align qualified + d next like(xmlEnumerationPtr) Next one + d name * const xmlChar * + + * Forward pointer declarations. + + d xmlNodePtr s * based(######typedef######) + d xmlDocPtr s * based(######typedef######) + d xmlDtdPtr s * based(######typedef######) + + * xmlAttribute: + * + * An Attribute declaration in a DTD. + + d xmlAttributePtr... + d s * based(######typedef######) + + d xmlAttribute ds based(xmlAttributePtr) + d align qualified + d #private * Application data + d type like(xmlElementType) XML_ATTRIBUTE_DECL + d name * const xmlChar * + d children like(xmlNodePtr) NULL + d last like(xmlNodePtr) NULL + d parent like(xmlDtdPtr) -> DTD + d next like(xmlNodePtr) next sibling link + d prev like(xmlNodePtr) previous sibling lnk + d doc like(xmlDocPtr) The containing doc + d nexth like(xmlAttributePtr) Next in hash table + d atype like(xmlAttributeType) The attribute type + d def like(xmlAttributeDefault) The default + d defaultValue * or const xmlChar * + d tree like(xmlEnumerationPtr) or enum tree + d prefix * const xmlChar * + d elem * const xmlChar * + + * xmlElementContentType: + * + * Possible definitions of element content types. + + d xmlElementContentType... + d s based(######typedef######) + d like(xmlCenum) + d XML_ELEMENT_CONTENT_PCDATA... + d c 1 + d XML_ELEMENT_CONTENT_ELEMENT... + d c 2 + d XML_ELEMENT_CONTENT_SEQ... + d c 3 + d XML_ELEMENT_CONTENT_OR... + d c 4 + + * xmlElementContentOccur: + * + * Possible definitions of element content occurrences. + + d xmlElementContentOccur... + d s based(######typedef######) + d like(xmlCenum) + d XML_ELEMENT_CONTENT_ONCE... + d c 1 + d XML_ELEMENT_CONTENT_OPT... + d c 2 + d XML_ELEMENT_CONTENT_MULT... + d c 3 + d XML_ELEMENT_CONTENT_PLUS... + d c 4 + + * xmlElementContent: + * + * An XML Element content as stored after parsing an element definition + * in a DTD. + + d xmlElementContentPtr... + d s * based(######typedef######) + + d xmlElementContent... + d ds based(xmlElementContentPtr) + d align qualified + d type like(xmlElementContentType) + d ocur like(xmlElementContentOccur) + d name * const xmlChar * + d c1 like(xmlElementContentPtr) First child + d c2 like(xmlElementContentPtr) Second child + d parent like(xmlElementContentPtr) Parent + d prefix * const xmlChar * + + * xmlElementTypeVal: + * + * The different possibilities for an element content type. + + d xmlElementTypeVal... + d s based(######typedef######) + d like(xmlCenum) + d XML_ELEMENT_TYPE_UNDEFINED... + d c 0 + d XML_ELEMENT_TYPE_EMPTY... + d c 1 + d XML_ELEMENT_TYPE_ANY... + d c 2 + d XML_ELEMENT_TYPE_MIXED... + d c 3 + d XML_ELEMENT_TYPE_ELEMENT... + d c 4 + + /include "libxmlrpg/xmlregexp" + + * xmlElement: + * + * An XML Element declaration from a DTD. + + d xmlElementPtr s * based(######typedef######) + + d xmlElement ds based(xmlElementPtr) + d align qualified + d #private * Application data + d type like(xmlElementType) XML_ELEMENT_DECL + d name * const xmlChar * + d children like(xmlNodePtr) NULL + d last like(xmlNodePtr) NULL + d parent like(xmlDtdPtr) -> DTD + d next like(xmlNodePtr) next sibling link + d prev like(xmlNodePtr) previous sibling lnk + d doc like(xmlDocPtr) The containing doc + d etype like(xmlElementTypeVal) The type + d content like(xmlElementContentPtr) Allowed elem content + d attributes like(xmlAttributePtr) Declared attributes + d prefix * const xmlChar * + /if defined(LIBXML_REGEXP_ENABLED) + d contModel like(xmlRegexpPtr) Validating regexp + /else + d contModel * + /endif + + * XML_LOCAL_NAMESPACE: + * + * A namespace declaration node. + + * xmlNs: + * + * An XML namespace. + * Note that prefix == NULL is valid, it defines the default namespace + * within the subtree (until overridden). + * + * xmlNsType is unified with xmlElementType. + + d xmlNsType s based(######typedef######) enum + d like(xmlElementType) + + d xmlNsPtr s * based(######typedef######) + + d xmlNs ds based(xmlNsPtr) + d align qualified + d next like(xmlNsPtr) next Ns link + d type like(xmlNsType) Global or local + d href * const xmlChar * + d prefix * const xmlChar * + d #private * Application data + d context like(xmlDocPtr) normally an xmlDoc + + * xmlDtd: + * + * An XML DTD, as defined by parent link + d next like(xmlNodePtr) next sibling link + d prev like(xmlNodePtr) previous sibling lnk + d doc like(xmlDocPtr) The containing doc + d notations * notations hash table + d elements * elements hash table + d entities * entities hash table + d ExternalID * const xmlChar * + d SystemID * const xmlChar * + d pentities * param. ent. h table + + * xmlAttr: + * + * An attribute on an XML node. + + d xmlAttrPtr s * based(######typedef######) + + d xmlAttr ds based(xmlAttrPtr) + d align qualified + d #private * Application data + d type like(xmlElementType) XML_ATTRIBUTE_NODE + d name * const xmlChar * + d children like(xmlNodePtr) Property link value + d last like(xmlNodePtr) NULL + d parent like(xmlNodePtr) Child->parent link + d next like(xmlAttrPtr) next sibling link + d prev like(xmlAttrPtr) previous sibling lnk + d doc like(xmlDocPtr) The containing doc + d ns like(xmlNsPtr) Associated namespace + d atype like(xmlAttributeType) For validation + d psvi * Type/PSVI info + + * xmlID: + * + * An XML ID instance. + + d xmlIdPtr s * based(######typedef######) + + d xmlID ds based(xmlIdPtr) + d align qualified + d next like(xmlIdPtr) Next ID + d attr like(xmlAttrPtr) Attribute holding it + d name * const xmlChar * + d lineno like(xmlCint) Line # if not avail + d doc like(xmlDocPtr) Doc holding ID + + * xmlRef: + * + * An XML IDREF instance. + + d xmlRefPtr s * based(######typedef######) + + d xmlRef ds based(xmlRefPtr) + d align qualified + d next like(xmlRefPtr) Next Ref + d value * const xmlChar * + d attr like(xmlAttrPtr) Attribute holding it + d name * const xmlChar * + d lineno like(xmlCint) Line # if not avail + + * xmlNode: + * + * A node in an XML tree. + + d xmlNode ds based(xmlNodePtr) + d align qualified + d #private * Application data + d type like(xmlElementType) + d name * const xmlChar * + d children like(xmlNodePtr) Parent->children lnk + d last like(xmlNodePtr) Last child link + d parent like(xmlNodePtr) Child->parent link + d next like(xmlNodePtr) next sibling link + d prev like(xmlNodePtr) previous sibling lnk + d doc like(xmlDocPtr) The containing doc + d ns like(xmlNsPtr) Associated namespace + d content * xmlChar * + d properties like(xmlAttrPtr) Properties list + d nsDef like(xmlNsPtr) Node ns definitions + d psvi * Type/PSVI info + d line like(xmlCushort) + d extra like(xmlCushort) Data for XPath/XSLT + + * xmlDocProperty + * + * Set of properties of the document as found by the parser + * Some of them are linked to similarly named xmlParserOption + + d xmlDocProperties... + d s based(######typedef######) + d like(xmlCenum) + d XML_DOC_WELLFORMED... + d c X'00000001' + d XML_DOC_NSVALID... + d c X'00000002' + d XML_DOC_OLD10 c X'00000004' + d XML_DOC_DTDVALID... + d c X'00000008' + d XML_DOC_XINCLUDE... + d c X'00000010' + d XML_DOC_USERBUILT... + d c X'00000020' + d XML_DOC_INTERNAL... + d c X'00000030' + d XML_DOC_HTML c X'00000080' + + * xmlDoc: + * + * An XML document. + + d xmlDoc ds based(xmlDocPtr) + d align qualified + d #private * Application data + d type like(xmlElementType) XML_DOCUMENT_NODE + d name * const xmlChar * + d children like(xmlNodePtr) The document tree + d last like(xmlNodePtr) Last child link + d parent like(xmlNodePtr) Child->parent link + d next like(xmlNodePtr) next sibling link + d prev like(xmlNodePtr) previous sibling lnk + d doc like(xmlDocPtr) Reference to itself + d compression like(xmlCint) zlib compression lev + d standalone like(xmlCint) + d intSubset like(xmlDtdPtr) Internal subset + d extSubset like(xmlDtdPtr) External subset + d oldns like(xmlNsPtr) Global namespace + d version * const xmlChar * + d encoding * const xmlChar * + d ids * IDs hash table + d refs * IDREFs hash table + d URL * const xmlChar * + d charset like(xmlCint) In-memory encoding + d dict * xmlDictPtr for names + d psvi * Type/PSVI ino + d parseFlags like(xmlCint) xmlParserOption's + d properties like(xmlCint) xmlDocProperties + + * xmlDOMWrapAcquireNsFunction: + * @ctxt: a DOM wrapper context + * @node: the context node (element or attribute) + * @nsName: the requested namespace name + * @nsPrefix: the requested namespace prefix + * + * A function called to acquire namespaces (xmlNs) from the wrapper. + * + * Returns an xmlNsPtr or NULL in case of an error. + + d xmlDOMWrapAcquireNsFunction... + d s * based(######typedef######) + d procptr + + * xmlDOMWrapCtxt: + * + * Context for DOM wrapper-operations. + + d xmlDOMWrapCtxtPtr... + d s * based(######typedef######) + + d xmlDOMWrapCtxt... + d ds based(xmlDOMWrapCtxtPtr) + d align qualified + d #private * void * + d type like(xmlCint) + d namespaceMap * void * + d getNsForNodeFunc... + d like(xmlDOMWrapAcquireNsFunction) + + + * Variables. + + * Some helper functions + + /undefine XML_TESTVAL + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_XPATH_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_DEBUG_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_HTML_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SAX1_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_HTML_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_WRITER_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_DOCB_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlValidateNCName... + d pr extproc('xmlValidateNCName') + d like(xmlCint) + d value * value options(*string) const xmlChar * + d space value like(xmlCint) + + /undefine XML_TESTVAL + /endif + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlValidateQName... + d pr extproc('xmlValidateQName') + d like(xmlCint) + d value * value options(*string) const xmlChar * + d space value like(xmlCint) + + d xmlValidateName... + d pr extproc('xmlValidateName') + d like(xmlCint) + d value * value options(*string) const xmlChar * + d space value like(xmlCint) + + d xmlValidateNMToken... + d pr extproc('xmlValidateNMToken') + d like(xmlCint) + d value * value options(*string) const xmlChar * + d space value like(xmlCint) + + /undefine XML_TESTVAL + /endif + + d xmlBuildQName pr * extproc('xmlBuildQName') xmlChar * + d ncname * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + d memory 65535 options(*varsize: *omit) xmlChar[] + d len value like(xmlCint) memory length + + d xmlSplitQName2 pr * extproc('xmlSplitQName2') xmlChar * + d name * value options(*string) const xmlChar * + d prefix * xmlChar * + + d xmlSplitQName3 pr * extproc('xmlSplitQName3') const xmlChar * + d name * value options(*string) const xmlChar * + d len like(xmlCint) + + * Handling Buffers, the old ones see @xmlBuf for the new ones. + + d xmlSetBufferAllocationScheme... + d pr extproc( + d 'xmlSetBufferAllocationScheme') + d scheme value + d like(xmlBufferAllocationScheme) + + d xmlGetBufferAllocationScheme... + d pr extproc( + d 'xmlGetBufferAllocationScheme') + d like(xmlBufferAllocationScheme) + + d xmlBufferCreate... + d pr extproc('xmlBufferCreate') + d like(xmlBufferPtr) + + d xmlBufferCreateSize... + d pr extproc('xmlBufferCreateSize') + d like(xmlBufferPtr) + d size value like(xmlCsize_t) + + d xmlBufferCreateStatic... + d pr extproc('xmlBufferCreateStatic') + d like(xmlBufferPtr) + d mem * value + d size value like(xmlCsize_t) + + d xmlBufferResize... + d pr extproc('xmlBufferResize') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d size value like(xmlCsize_t) + + d xmlBufferFree pr extproc('xmlBufferFree') + d buf value like(xmlBufferPtr) + + d xmlBufferDump pr extproc('xmlBufferDump') + d like(xmlCint) + d file * value FILE * + d buf value like(xmlBufferPtr) + + d xmlBufferAdd pr extproc('xmlBufferAdd') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d str * value options(*string) const xmlChar * + d len value like(xmlCint) str length + + d xmlBufferAddHead... + d pr extproc('xmlBufferAddHead') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d str * value options(*string) const xmlChar * + d len value like(xmlCint) str length + + d xmlBufferCat pr extproc('xmlBufferCat') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d str * value options(*string) const xmlChar * + + d xmlBufferCCat pr extproc('xmlBufferCCat') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d str * value options(*string) const char * + + d xmlBufferShrink... + d pr extproc('xmlBufferShrink') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d len value like(xmlCuint) + + d xmlBufferGrow pr extproc('xmlBufferGrow') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d len value like(xmlCuint) + + d xmlBufferEmpty pr extproc('xmlBufferEmpty') + d buf value like(xmlBufferPtr) + + d xmlBufferContent... + d pr * extproc('xmlBufferContent') const xmlChar * + d buf value like(xmlBufferPtr) + + d xmlBufferDetach... + d pr * extproc('xmlBufferDetach') xmlChar * + d buf value like(xmlBufferPtr) + + d xmlBufferSetAllocationScheme... + d pr extproc( + d 'xmlBufferSetAllocationScheme') + d buf value like(xmlBufferPtr) + d scheme value + d like(xmlBufferAllocationScheme) + + d xmlBufferLength... + d pr extproc('xmlBufferLength') + d like(xmlCint) + d buf value like(xmlBufferPtr) + + * Creating/freeing new structures. + + d xmlCreateIntSubset... + d pr extproc('xmlCreateIntSubset') + d like(xmlDtdPtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + d ExternalID * value options(*string) const xmlChar * + d SystemlID * value options(*string) const xmlChar * + + d xmlNewDtd pr extproc('xmlNewDtd') + d like(xmlDtdPtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + d ExternalID * value options(*string) const xmlChar * + d SystemlID * value options(*string) const xmlChar * + + d xmlGetIntSubset... + d pr extproc('xmlGetIntSubset') + d like(xmlDtdPtr) + d doc value like(xmlDocPtr) + + d xmlFreeDtd pr extproc('xmlFreeDtd') + d cur value like(xmlDtdPtr) + + /if defined(LIBXML_LEGACY_ENABLED) + d xmlNewGlobalNs pr extproc('xmlNewGlobalNs') + d like(xmlNsPtr) + d doc value like(xmlDocPtr) + d href * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + /endif LIBXML_LEGACY_ENABLD + + d xmlNewNs pr extproc('xmlNewNs') + d like(xmlNsPtr) + d node value like(xmlNodePtr) + d href * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + + d xmlFreeNs pr extproc('xmlFreeNs') + d cur value like(xmlNsPtr) + + d xmlFreeNsList pr extproc('xmlFreeNsList') + d cur value like(xmlNsPtr) + + d xmlNewDoc pr extproc('xmlNewDoc') + d like(xmlDocPtr) + d version * value options(*string) const xmlChar * + + d xmlFreeDoc pr extproc('xmlFreeDoc') + d cur value like(xmlDocPtr) + + d xmlNewDocProp pr extproc('xmlNewDocProp') + d like(xmlAttrPtr) + d name * value options(*string) const xmlChar * + d value * value options(*string) const xmlChar * + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_HTML_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlNewProp pr extproc('xmlNewProp') + d like(xmlAttrPtr) + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + d value * value options(*string) const xmlChar * + + /undefine XML_TESTVAL + /endif + + d xmlNewNsProp pr extproc('xmlNewNsProp') + d like(xmlAttrPtr) + d node value like(xmlNodePtr) + d ns value like(xmlNsPtr) + d name * value options(*string) const xmlChar * + d value * value options(*string) const xmlChar * + + d xmlNewNsPropEatName... + d pr extproc('xmlNewNsPropEatName') + d like(xmlAttrPtr) + d node value like(xmlNodePtr) + d ns value like(xmlNsPtr) + d name * value xmlChar * + d value * value options(*string) const xmlChar * + + d xmlFreePropList... + d pr extproc('xmlFreePropList') + d cur value like(xmlAttrPtr) + + d xmlFreeProp pr extproc('xmlFreeProp') + d cur value like(xmlAttrPtr) + + d xmlCopyProp pr extproc('xmlCopyProp') + d like(xmlAttrPtr) + d target value like(xmlNodePtr) + d cur value like(xmlAttrPtr) + + d xmlCopyPropList... + d pr extproc('xmlCopyPropList') + d like(xmlAttrPtr) + d target value like(xmlNodePtr) + d cur value like(xmlAttrPtr) + + /if defined(LIBXML_TREE_ENABLED) + d xmlCopyDtd pr extproc('xmlCopyDtd') + d like(xmlDtdPtr) + d dtd value like(xmlDtdPtr) + /endif LIBXML_TREE_ENABLED + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlCopyDoc pr extproc('xmlCopyDoc') + d like(xmlDocPtr) + d doc value like(xmlDocPtr) + d recursive value like(xmlCint) + + /undefine XML_TESTVAL + /endif + + * Creating new nodes. + + d xmlNewDocNode pr extproc('xmlNewDocNode') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d ns value like(xmlNsPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlNewDocNodeEatName... + d pr extproc('xmlNewDocNodeEatName') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d ns value like(xmlNsPtr) + d name * value xmlChar * + d content * value options(*string) const xmlChar * + + d xmlNewNode pr extproc('xmlNewNode') + d like(xmlNodePtr) + d ns value like(xmlNsPtr) + d name * value options(*string) const xmlChar * + + d xmlNewNodeEatName... + d pr extproc('xmlNewNodeEatName') + d like(xmlNodePtr) + d ns value like(xmlNsPtr) + d name * value xmlChar * + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlNewChild pr extproc('xmlNewChild') + d like(xmlNodePtr) + d parent value like(xmlNodePtr) + d ns value like(xmlNsPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + /undefine XML_TESTVAL + /endif + + d xmlNewDocText pr extproc('xmlNewDocText') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d content * value options(*string) const xmlChar * + + d xmlNewText pr extproc('xmlNewText') + d like(xmlNodePtr) + d content * value options(*string) const xmlChar * + + d xmlNewDocPI pr extproc('xmlNewDocPI') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlNewPI pr extproc('xmlNewPI') + d like(xmlNodePtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlNewDocTextLen... + d pr extproc('xmlNewDocTextLen') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d content * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlNewTextLen pr extproc('xmlNewTextLen') + d like(xmlNodePtr) + d content * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlNewDocComment... + d pr extproc('xmlNewDocComment') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d content * value options(*string) const xmlChar * + + d xmlNewComment pr extproc('xmlNewComment') + d like(xmlNodePtr) + d content * value options(*string) const xmlChar * + + d xmlNewCDataBlock... + d pr extproc('xmlNewCDataBlock') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d content * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlNewCharRef pr extproc('xmlNewCharRef') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + + d xmlNewReference... + d pr extproc('xmlNewReference') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + + d xmlCopyNode pr extproc('xmlCopyNode') + d like(xmlNodePtr) + d node value like(xmlNodePtr) + d recursive value like(xmlCint) + + d xmlDocCopyNode pr extproc('xmlDocCopyNode') + d like(xmlNodePtr) + d node value like(xmlNodePtr) + d doc value like(xmlDocPtr) + d recursive value like(xmlCint) + + d xmlDocCopyNodeList... + d pr extproc('xmlDocCopyNodeList') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + + d xmlCopyNodeList... + d pr extproc('xmlCopyNodeList') + d like(xmlNodePtr) + d node value like(xmlNodePtr) + + /if defined(LIBXML_TREE_ENABLED) + d xmlNewTextChild... + d pr extproc('xmlNewTextChild') + d like(xmlNodePtr) + d parent value like(xmlNodePtr) + d ns value like(xmlNsPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlNewDocRawNode... + d pr extproc('xmlNewDocRawNode') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d ns value like(xmlNsPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlNewDocFragment... + d pr extproc('xmlNewDocFragment') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + /endif LIBXML_TREE_ENABLED + + * Navigating. + + d xmlNewDocFragment... + d xmlGetLineNo pr extproc('xmlGetLineNo') + d like(xmlClong) + d node value like(xmlNodePtr) + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_DEBUG_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlGetNodePath pr * extproc('xmlGetNodePath') xmlChar * + d node value like(xmlNodePtr) + + /undefine XML_TESTVAL + /endif + + d xmlDocGetRootElement... + d pr extproc('xmlDocGetRootElement') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + + d xmlGetLastChild... + d pr extproc('xmlGetLastChild') + d like(xmlNodePtr) + d parent value like(xmlNodePtr) + + d xmlNodeIsText pr extproc('xmlNodeIsText') + d like(xmlCint) + d node value like(xmlNodePtr) + + d xmlIsBlankNode pr extproc('xmlIsBlankNode') + d like(xmlCint) + d node value like(xmlNodePtr) + + * Changing the structure. + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_WRITER_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlDocSetRootElement... + d pr extproc('xmlDocSetRootElement') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d root value like(xmlNodePtr) + + /undefine XML_TESTVAL + /endif + + /if defined(LIBXML_TREE_ENABLED) + d xmlNodeSetName pr extproc('xmlNodeSetName') + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + /endif LIBXML_TREE_ENABLED + + d xmlAddChild pr extproc('xmlAddChild') + d like(xmlNodePtr) + d parent value like(xmlNodePtr) + d cur value like(xmlNodePtr) + + d xmlAddChildList... + d pr extproc('xmlAddChildList') + d like(xmlNodePtr) + d parent value like(xmlNodePtr) + d cur value like(xmlNodePtr) + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_WRITER_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlReplaceNode pr extproc('xmlReplaceNode') + d like(xmlNodePtr) + d old value like(xmlNodePtr) + d cur value like(xmlNodePtr) + + /undefine XML_TESTVAL + /endif + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_HTML_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlAddPrevSibling... + d pr extproc('xmlAddPrevSibling') + d like(xmlNodePtr) + d cur value like(xmlNodePtr) + d elem value like(xmlNodePtr) + + /undefine XML_TESTVAL + /endif + + d xmlAddSibling pr extproc('xmlAddSibling') + d like(xmlNodePtr) + d cur value like(xmlNodePtr) + d elem value like(xmlNodePtr) + + d xmlAddNextSibling... + d pr extproc('xmlAddNextSibling') + d like(xmlNodePtr) + d cur value like(xmlNodePtr) + d elem value like(xmlNodePtr) + + d xmlUnlinkNode pr extproc('xmlUnlinkNode') + d cur value like(xmlNodePtr) + + d xmlTextMerge pr extproc('xmlTextMerge') + d like(xmlNodePtr) + d first value like(xmlNodePtr) + d second value like(xmlNodePtr) + + d xmlTextConcat pr extproc('xmlTextConcat') + d like(xmlCint) + d node value like(xmlNodePtr) + d content * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlFreeNodeList... + d pr extproc('xmlFreeNodeList') + d cur value like(xmlNodePtr) + + d xmlFreeNode pr extproc('xmlFreeNode') + d cur value like(xmlNodePtr) + + d xmlSetTreeDoc pr extproc('xmlSetTreeDoc') + d tree value like(xmlNodePtr) + d doc value like(xmlDocPtr) + + d xmlSetListDoc pr extproc('xmlSetListDoc') + d list value like(xmlNodePtr) + d doc value like(xmlDocPtr) + + * Namespaces. + + d xmlSearchNs pr extproc('xmlSearchNs') + d like(xmlNsPtr) + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + d nameSpace * value options(*string) const xmlChar * + + d xmlSearchNsByHref... + d pr extproc('xmlSearchNsByHref') + d like(xmlNsPtr) + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + d href * value options(*string) const xmlChar * + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_XPATH_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlGetNsList pr * extproc('xmlGetNsList') xmlNsPtr * + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + + /undefine XML_TESTVAL + /endif + + d xmlSetNs pr extproc('xmlSetNs') + d node value like(xmlNodePtr) + d ns value like(xmlNsPtr) + + d xmlCopyNamespace... + d pr extproc('xmlCopyNamespace') + d like(xmlNsPtr) + d cur value like(xmlNsPtr) + + d xmlCopyNamespaceList... + d pr extproc('xmlCopyNamespaceList') + d like(xmlNsPtr) + d cur value like(xmlNsPtr) + + * Changing the content. + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_XINCLUDE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_HTML_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlSetProp pr extproc('xmlSetProp') + d like(xmlAttrPtr) + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + d value * value options(*string) const xmlChar * + + d xmlSetNsProp pr extproc('xmlSetNsProp') + d like(xmlAttrPtr) + d node value like(xmlNodePtr) + d ns value like(xmlNsPtr) + d name * value options(*string) const xmlChar * + d value * value options(*string) const xmlChar * + + /undefine XML_TESTVAL + /endif + + d xmlGetNoNsProp pr * extproc('xmlGetNoNsProp') xmlChar * + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + + d xmlGetProp pr * extproc('xmlGetProp') xmlChar * + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + + d xmlHasProp pr extproc('xmlHasProp') + d like(xmlAttrPtr) + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + + d xmlHasNsProp pr extproc('xmlHasNsProp') + d like(xmlAttrPtr) + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + d nameSpace * value options(*string) const xmlChar * + + d xmlGetNsProp pr * extproc('xmlGetNsProp') xmlChar * + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + d nameSpace * value options(*string) const xmlChar * + + d xmlStringGetNodeList... + d pr extproc('xmlStringGetNodeList') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d value * value options(*string) const xmlChar * + + d xmlStringLenGetNodeList... + d pr extproc('xmlStringLenGetNodeList') + d like(xmlNodePtr) + d doc value like(xmlDocPtr) + d value * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlNodeListGetString... + d pr * extproc('xmlNodeListGetString') xmlChar * + d doc value like(xmlDocPtr) + d list value like(xmlNodePtr) + d inLine value like(xmlCint) + + /if defined(LIBXML_TREE_ENABLED) + d xmlNodeListGetRawString... + d pr * extproc('xmlNodeListGetRawString') xmlChar * + d doc value like(xmlDocPtr) + d list value like(xmlNodePtr) + d inLine value like(xmlCint) + /endif LIBXML_TREE_ENABLED + + d xmlNodeSetContent... + d pr extproc('xmlNodeSetContent') + d cur value like(xmlNodePtr) + d content * value options(*string) const xmlChar * + + /if defined(LIBXML_TREE_ENABLED) + d xmlNodeSetContentLen... + d pr extproc('xmlNodeSetContentLen') + d cur value like(xmlNodePtr) + d content * value options(*string) const xmlChar * + d len value like(xmlCint) + /endif LIBXML_TREE_ENABLED + + d xmlNodeAddContent... + d pr extproc('xmlNodeAddContent') + d cur value like(xmlNodePtr) + d content * value options(*string) const xmlChar * + + d xmlNodeAddContentLen... + d pr extproc('xmlNodeAddContentLen') + d cur value like(xmlNodePtr) + d content * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlNodeGetContent... + d pr * extproc('xmlNodeGetContent') xmlChar * + d cur value like(xmlNodePtr) + + d xmlNodeBufGetContent... + d pr extproc('xmlNodeBufGetContent') + d like(xmlCint) + d buffer value like(xmlBufferPtr) + d cur value like(xmlNodePtr) + + d xmlBufGetNodeContent... + d pr extproc('xmlBufGetNodeContent') + d like(xmlCint) + d buf value like(xmlBufPtr) + d cur value like(xmlNodePtr) + + d xmlNodeGetLang pr * extproc('xmlNodeGetLang') xmlChar * + d cur value like(xmlNodePtr) + + d xmlNodeGetSpacePreserve... + d pr extproc('xmlNodeGetSpacePreserve') + d like(xmlCint) + d cur value like(xmlNodePtr) + + /if defined(LIBXML_TREE_ENABLED) + d xmlNodeSetLang pr extproc('xmlNodeSetLang') + d cur value like(xmlNodePtr) + d lang * value options(*string) const xmlChar * + + d xmlNodeSetSpacePreserve... + d pr extproc('xmlNodeSetSpacePreserve') + d cur value like(xmlNodePtr) + d val value like(xmlCint) + /endif LIBXML_TREE_ENABLED + + d xmlNodeGetBase pr * extproc('xmlNodeGetBase') xmlChar * + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_XINCLUDE_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlNodeSetBase pr extproc('xmlNodeSetBase') + d node value like(xmlNodePtr) + d uri * value options(*string) const xmlChar * + + /undefine XML_TESTVAL + /endif + + * Removing content. + + d xmlRemoveProp pr extproc('xmlRemoveProp') + d like(xmlCint) + d cur value like(xmlAttrPtr) + + /if defined(LIBXML_TREE_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlUnsetNsProp pr extproc('xmlUnsetNsProp') + d like(xmlCint) + d node value like(xmlNodePtr) + d ns value like(xmlNsPtr) + d name * value options(*string) const xmlChar * + + d xmlUnsetProp pr extproc('xmlUnsetProp') + d like(xmlCint) + d node value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + + /undefine XML_TESTVAL + /endif + + * Internal, don't use. + + d xmlBufferWriteCharacter... Warning: renamed + d pr extproc('xmlBufferWriteCHAR') + d buf value like(xmlBufferPtr) + d string * value options(*string) const xmlChar * + + d xmlBufferWriteChar... + d pr extproc('xmlBufferWriteChar') + d buf value like(xmlBufferPtr) + d string * value options(*string) const xmlChar * + + d xmlBufferWriteQuotedString... + d pr extproc('xmlBufferWriteQuotedString') + d buf value like(xmlBufferPtr) + d string * value options(*string) const xmlChar * + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlAttrSerializeTxtContent... + d pr extproc('xmlAttrSerializeTxtContent') + d buf value like(xmlBufferPtr) + d attr value like(xmlAttrPtr) + d string * value options(*string) const xmlChar * + /endif LIBXML_OUTPUT_ENABLD + + /if defined(LIBXML_TREE_ENABLED) + + * Namespace handling. + + d xmlReconciliateNs... + d pr extproc('xmlReconciliateNs') + d like(xmlCint) + d doc value like(xmlDocPtr) + d tree value like(xmlNodePtr) + /endif + + /if defined(LIBXML_OUTPUT_ENABLED) + + * Saving. + + d xmlDocDumpFormatMemory... + d pr extproc('xmlDocDumpFormatMemory') + d cur value like(xmlDocPtr) + d mem * xmlChar * (*) + d size like(xmlCint) + d format value like(xmlCint) + + d xmlDocDumpMemory... + d pr extproc('xmlDocDumpMemory') + d cur value like(xmlDocPtr) + d mem * xmlChar * (*) + d size like(xmlCint) + + d xmlDocDumpMemoryEnc... + d pr extproc('xmlDocDumpMemoryEnc') + d out_doc value like(xmlDocPtr) + d doc_txt_ptr * xmlChar * (*) + d doc_txt_len like(xmlCint) + d txt_encoding * value options(*string) const char * + + d xmlDocDumpFormatMemoryEnc... + d pr extproc('xmlDocDumpFormatMemoryEnc') + d out_doc value like(xmlDocPtr) + d doc_txt_ptr * xmlChar * (*) + d doc_txt_len like(xmlCint) + d txt_encoding * value options(*string) const char * + d format value like(xmlCint) + + d xmlDocFormatDump... + d pr extproc('xmlDocFormatDump') + d like(xmlCint) + d f * value FILE * + d cur value like(xmlDocPtr) + d format value like(xmlCint) + + d xmlDocDump pr extproc('xmlDocDump') + d like(xmlCint) + d f * value FILE * + d cur value like(xmlDocPtr) + + d xmlElemDump pr extproc('xmlElemDump') + d f * value FILE * + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + + d xmlSaveFile pr extproc('xmlSaveFile') + d like(xmlCint) + d filename * value options(*string) const char * + d cur value like(xmlDocPtr) + + d xmlSaveFormatFile... + d pr extproc('xmlSaveFormatFile') + d like(xmlCint) + d filename * value options(*string) const char * + d cur value like(xmlDocPtr) + d format value like(xmlCint) + + d xmlBufNodeDump pr extproc('xmlBufNodeDump') + d like(xmlCsize_t) + d buf value like(xmlBufPtr) + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + d level value like(xmlCint) + d format value like(xmlCint) + + d xmlNodeDump pr extproc('xmlNodeDump') + d like(xmlCint) + d buf value like(xmlBufferPtr) + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + d level value like(xmlCint) + d format value like(xmlCint) + + d xmlSaveFileTo pr extproc('xmlSaveFileTo') + d like(xmlCint) + d buf value like(xmlOutputBufferPtr) + d cur value like(xmlDocPtr) + d encoding * value options(*string) const char * + + d xmlSaveFormatFileTo... + d pr extproc('xmlSaveFormatFileTo') + d like(xmlCint) + d buf value like(xmlOutputBufferPtr) + d cur value like(xmlDocPtr) + d encoding * value options(*string) const char * + d format value like(xmlCint) + + d xmlNodeDumpOutput... + d pr extproc('xmlNodeDumpOutput') + d buf value like(xmlOutputBufferPtr) + d doc value like(xmlDocPtr) + d cur value like(xmlNodePtr) + d level value like(xmlCint) + d format value like(xmlCint) + d encoding * value options(*string) const char * + + d xmlSaveFormatFileEnc... + d pr extproc('xmlSaveFormatFileEnc') + d like(xmlCint) + d filename * value options(*string) const char * + d cur value like(xmlDocPtr) + d encoding * value options(*string) const char * + d format value like(xmlCint) + + d xmlSaveFileEnc pr extproc('xmlSaveFileEnc') + d like(xmlCint) + d filename * value options(*string) const char * + d cur value like(xmlDocPtr) + d encoding * value options(*string) const char * + /endif LIBXML_OUTPUT_ENABLD + + * XHTML + + d xmlIsXHTML pr extproc('xmlIsXHTML') + d like(xmlCint) + d systemID * value options(*string) const xmlChar * + d publicID * value options(*string) const xmlChar * + + * Compression. + + d xmlGetDocCompressMode... + d pr extproc('xmlGetDocCompressMode') + d like(xmlCint) + d doc value like(xmlDocPtr) + + d xmlSetDocCompressMode... + d pr extproc('xmlSetDocCompressMode') + d doc value like(xmlDocPtr) + d mode value like(xmlCint) + + d xmlGetCompressMode... + d pr extproc('xmlGetCompressMode') + d like(xmlCint) + + d xmlSetCompressMode... + d pr extproc('xmlSetCompressMode') + d mode value like(xmlCint) + + * DOM-wrapper helper functions. + + d xmlDOMWrapNewCtxt... + d pr extproc('xmlDOMWrapNewCtxt') + d like(xmlDOMWrapCtxtPtr) + + d xmlDOMWrapFreeCtxt... + d pr extproc('xmlDOMWrapFreeCtxt') + d ctxt value like(xmlDOMWrapCtxtPtr) + + d xmlDOMWrapReconcileNamespaces... + d pr extproc( + d 'xmlDOMWrapReconcileNamespaces') + d like(xmlCint) + d ctxt value like(xmlDOMWrapCtxtPtr) + d elem value like(xmlNodePtr) + d options value like(xmlCint) + + d xmlDOMWrapAdoptNode... + d pr extproc('xmlDOMWrapAdoptNode') + d like(xmlCint) + d ctxt value like(xmlDOMWrapCtxtPtr) + d sourceDoc value like(xmlDocPtr) + d node value like(xmlNodePtr) + d destDoc value like(xmlDocPtr) + d destParent value like(xmlNodePtr) + d options value like(xmlCint) + + d xmlDOMWrapRemoveNode... + d pr extproc('xmlDOMWrapRemoveNode') + d like(xmlCint) + d ctxt value like(xmlDOMWrapCtxtPtr) + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + d options value like(xmlCint) + + d xmlDOMWrapCloneNode... + d pr extproc('xmlDOMWrapCloneNode') + d like(xmlCint) + d ctxt value like(xmlDOMWrapCtxtPtr) + d sourceDoc value like(xmlDocPtr) + d node value like(xmlNodePtr) + d clonedNode like(xmlNodePtr) + d destDoc value like(xmlDocPtr) + d destParent value like(xmlNodePtr) + d options value like(xmlCint) + + /if defined(LIBXML_TREE_ENABLED) + + * 5 interfaces from DOM ElementTraversal, but different in entities + * traversal. + + d xmlChildElementCount... + d pr extproc('xmlChildElementCount') + d like(xmlClong) + d parent value like(xmlNodePtr) + + d xmlNextElementSibling... + d pr extproc('xmlNextElementSibling') + d like(xmlNodePtr) + d node value like(xmlNodePtr) + + d xmlFirstElementChild... + d pr extproc('xmlFirstElementChild') + d like(xmlNodePtr) + d parent value like(xmlNodePtr) + + d xmlLastElementChild... + d pr extproc('xmlLastElementChild') + d like(xmlNodePtr) + d parent value like(xmlNodePtr) + + d xmlPreviousElementSibling... + d pr extproc('xmlPreviousElementSibling') + d like(xmlNodePtr) + d node value like(xmlNodePtr) + /endif + + /if not defined(XML_PARSER_H__) + /include "libxmlrpg/xmlmemory" + /endif + + /endif XML_TREE_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/uri.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/uri.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..de03392f81503652a6f07b031175ef296030f059 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/uri.rpgle @@ -0,0 +1,103 @@ + * Summary: library of generic URI related routines + * Description: library of generic URI related routines + * Implements RFC 2396 + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_URI_H__) + /define XML_URI_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + + * xmlURI: + * + * A parsed URI reference. This is a struct containing the various fields + * as described in RFC 2396 but separated for further processing. + * + * Note: query is a deprecated field which is incorrectly unescaped. + * query_raw takes precedence over query if the former is set. + * See: http://mail.gnome.org/archives/xml/2007-April/thread.html#00127 + + d xmlURIPtr s * based(######typedef######) + + d xmlURI ds based(xmlURIPtr) + d align qualified + d scheme * char * + d opaque * char * + d authority * char * + d server * char * + d user * char * + d port like(xmlCint) + d path * char * + d query * char * + d fragment * char * + d cleanup like(xmlCint) + d query_raw * char * + + d xmlCreateURI pr extproc('xmlCreateURI') + d like(xmlURIPtr) + + d xmlBuildURI pr * extproc('xmlBuildURI') xmlChar * + d URI * value options(*string) const xmlChar * + d base * value options(*string) const xmlChar * + + d xmlBuildRelativeURI... + d pr * extproc('xmlBuildRelativeURI') xmlChar * + d URI * value options(*string) const xmlChar * + d base * value options(*string) const xmlChar * + + d xmlParseURI pr extproc('xmlParseURI') + d like(xmlURIPtr) + d str * value options(*string) const char * + + d xmlParseURIRaw pr extproc('xmlParseURIRaw') + d like(xmlURIPtr) + d str * value options(*string) const char * + d raw value like(xmlCint) + + d xmlParseURIReference... + d pr extproc('xmlParseURIReference') + d like(xmlCint) + d uri value like(xmlURIPtr) + d str * value options(*string) const char * + + d xmlSaveUri pr * extproc('xmlSaveUri') xmlChar * + d uri value like(xmlURIPtr) + + d xmlPrintURI pr extproc('xmlPrintURI') + d stream * value FILE * + d uri value like(xmlURIPtr) + + d xmlURIEscapeStr... + d pr * extproc('xmlURIEscapeStr') xmlChar * + d str * value options(*string) const xmlChar * + d list * value options(*string) const xmlChar * + + d xmlURIUnescapeString... + d pr * extproc('xmlURIUnescapeString') char * + d str * value options(*string) const char * + d len value like(xmlCint) + d target * value options(*string) char * + + d xmlNormalizeURIPath... + d pr extproc('xmlNormalizeURIPath') + d like(xmlCint) + d path * value options(*string) char * + + d xmlURIEscape pr * extproc('xmlURIEscape') xmlChar * + d str * value options(*string) const xmlChar * + + d xmlFreeURI pr extproc('xmlFreeURI') + d uri value like(xmlURIPtr) + + d xmlCanonicPath pr * extproc('xmlCanonicPath') xmlChar * + d path * value options(*string) const xmlChar * + + d xmlPathToURI pr * extproc('xmlPathToURI') xmlChar * + d path * value options(*string) const xmlChar * + + /endif XML_URI_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/valid.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/valid.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..32ebbd39afae2e62c876916b49a03c4d5f716fb0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/valid.rpgle @@ -0,0 +1,605 @@ + * Summary: The DTD validation + * Description: API for the DTD handling and the validity checking + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_VALID_H__) + /define XML_VALID_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlerror" + /include "libxmlrpg/tree" + /include "libxmlrpg/list" + /include "libxmlrpg/xmlautomata" + /include "libxmlrpg/xmlregexp" + + * Validation state added for non-determinist content model. + + d xmlValidStatePtr... + d s * based(######typedef######) + + * xmlValidityErrorFunc: + * @ctx: usually an xmlValidCtxtPtr to a validity error context, + * but comes from ctxt->userData (which normally contains such + * a pointer); ctxt->userData can be changed by the user. + * @msg: the string to format *printf like vararg + * @...: remaining arguments to the format + * + * Callback called when a validity error is found. This is a message + * oriented function similar to an *printf function. + + d xmlValidityErrorFunc... + d s * based(######typedef######) + d procptr + + * xmlValidityWarningFunc: + * @ctx: usually an xmlValidCtxtPtr to a validity error context, + * but comes from ctxt->userData (which normally contains such + * a pointer); ctxt->userData can be changed by the user. + * @msg: the string to format *printf like vararg + * @...: remaining arguments to the format + * + * Callback called when a validity warning is found. This is a message + * oriented function similar to an *printf function. + + d xmlValidityWarningFunc... + d s * based(######typedef######) + d procptr + + * xmlValidCtxt: + * An xmlValidCtxt is used for error reporting when validating. + + d xmlValidCtxtPtr... + d s * based(######typedef######) + + d xmlValidCtxt ds based(xmlValidCtxtPtr) + d align qualified + d userdata * void * + d error like(xmlValidityErrorFunc) Error callback + d warning like(xmlValidityWarningFunc) Warning callback + * + * Node analysis stack used when validating within entities + * + d node like(xmlNodePtr) Current parsed Node + d nodeNr like(xmlCint) Parsing stack depth + d nodeMax like(xmlCint) Max stack depth + d nodeTab * xmlNodePtr * + * + d finishDtd like(xmlCuint) + d doc like(xmlDocPtr) The document + d valid like(xmlCint) Temp check result + * + * state state used for non-determinist content validation + * + d vstate * xmlValidState * + d vstateNr like(xmlCint) Validat. stack depth + d vstateMax like(xmlCint) Max stack depth + d vstateTab * xmlValidState * + * + /if defined(LIBXML_REGEXP_ENABLED) + d am like(xmlAutomataPtr) The automata + d state like(xmlAutomataStatePtr) Automata build state + /else + d am * + d state * + /endif + + * ALL notation declarations are stored in a table. + * There is one table per DTD. + + d xmlNotationTablePtr... + d s * based(######typedef######) + + * ALL element declarations are stored in a table. + * There is one table per DTD. + + d xmlElementTablePtr... + d s * based(######typedef######) + + * ALL attribute declarations are stored in a table. + * There is one table per DTD. + + d xmlAttributeTablePtr... + d s * based(######typedef######) + + * ALL IDs attributes are stored in a table. + * There is one table per document. + + d xmlIDTablePtr s * based(######typedef######) + + * ALL Refs attributes are stored in a table. + * There is one table per document. + + d xmlRefTablePtr s * based(######typedef######) + + * Notation + + d xmlAddNotationDecl... + d pr extproc('xmlAddNotationDecl') + d like(xmlNotationPtr) + d ctxt value like(xmlValidCtxtPtr) + d dtd value like(xmlDtdPtr) + d name * value options(*string) const xmlChar * + d PublicID * value options(*string) const xmlChar * + d SystemID * value options(*string) const xmlChar * + + /if defined(LIBXML_TREE_ENABLED) + d xmlCopyNotationTable... + d pr extproc('xmlCopyNotationTable') + d like(xmlNotationPtr) + d table value like(xmlNotationTablePtr) + /endif LIBXML_TREE_ENABLED + + d xmlFreeNotationTable... + d pr extproc('xmlFreeNotationTable') + d table value like(xmlNotationTablePtr) + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlDumpNotationDecl... + d pr extproc('xmlDumpNotationDecl') + d buf value like(xmlBufferPtr) + d nota value like(xmlNotationPtr) + + d xmlDumpNotationTable... + d pr extproc('xmlDumpNotationTable') + d buf value like(xmlBufferPtr) + d table value like(xmlNotationTablePtr) + /endif LIBXML_OUTPUT_ENABLD + + * Element Content + * the non Doc version are being deprecated + + d xmlNewElementContent... + d pr extproc('xmlNewElementContent') + d like(xmlElementContentPtr) + d name * value const xmlChar * + d type value like(xmlElementContentType) + + d xmlCopyElementContent... + d pr extproc('xmlCopyElementContent') + d like(xmlElementContentPtr) + d content value like(xmlElementContentPtr) + + d xmlFreeElementContent... + d pr extproc('xmlFreeElementContent') + d cur value like(xmlElementContentPtr) + + * the new versions with doc argument + + d xmlNewDocElementContent... + d pr extproc('xmlNewDocElementContent') + d like(xmlElementContentPtr) + d doc value like(xmlDocPtr) + d name * value const xmlChar * + d type value like(xmlElementContentType) + + d xmlCopyDocElementContent... + d pr extproc('xmlCopyDocElementContent') + d like(xmlElementContentPtr) + d doc value like(xmlDocPtr) + d content value like(xmlElementContentPtr) + + d xmlFreeDocElementContent... + d pr extproc('xmlFreeDocElementContent') + d doc value like(xmlDocPtr) + d cur value like(xmlElementContentPtr) + + d xmlSnprintfElementContent... + d pr extproc('xmlSnprintfElementContent') + d buf 65535 options(*varsize) + d size value like(xmlCint) + d content value like(xmlElementContentPtr) + d englob value like(xmlCint) + + /if defined(LIBXML_OUTPUT_ENABLED) + * DEPRECATED + d xmlSprintfElementContent... + d pr extproc('xmlSprintfElementContent') + d buf 65535 options(*varsize) + d content value like(xmlElementContentPtr) + d englob value like(xmlCint) + /endif LIBXML_OUTPUT_ENABLD + + * DEPRECATED + + * Element + + d xmlAddElementDecl... + d pr extproc('xmlAddElementDecl') + d like(xmlElementPtr) + d ctxt value like(xmlValidCtxtPtr) + d dtd value like(xmlDtdPtr) + d name * value options(*string) const xmlChar * + d type value like(xmlElementTypeVal) + d content value like(xmlElementContentPtr) + + /if defined(LIBXML_TREE_ENABLED) + d xmlCopyElementTable... + d pr extproc('xmlCopyElementTable') + d like(xmlElementTablePtr) + d table value like(xmlElementTablePtr) + /endif LIBXML_TREE_ENABLED + + d xmlFreeElementTable... + d pr extproc('xmlFreeElementTable') + d table value like(xmlElementTablePtr) + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlDumpElementTable... + d pr extproc('xmlDumpElementTable') + d buf value like(xmlBufferPtr) + d table value like(xmlElementTablePtr) + + d xmlDumpElementDecl... + d pr extproc('xmlDumpElementDecl') + d buf value like(xmlBufferPtr) + d elem value like(xmlElementPtr) + /endif LIBXML_OUTPUT_ENABLD + + * Enumeration + + d xmlCreateEnumeration... + d pr extproc('xmlCreateEnumeration') + d like(xmlEnumerationPtr) + d name * value options(*string) const xmlChar * + + d xmlFreeEnumeration... + d pr extproc('xmlFreeEnumeration') + d cur value like(xmlEnumerationPtr) + + /if defined(LIBXML_TREE_ENABLED) + d xmlCopyEnumeration... + d pr extproc('xmlCopyEnumeration') + d like(xmlEnumerationPtr) + d cur value like(xmlEnumerationPtr) + /endif LIBXML_TREE_ENABLED + + * Attribute + + d xmlAddAttributeDecl... + d pr extproc('xmlAddAttributeDecl') + d like(xmlAttributePtr) + d ctxt value like(xmlValidCtxtPtr) + d dtd value like(xmlDtdPtr) + d elem * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d ns * value options(*string) const xmlChar * + d type value like(xmlAttributeType) + d def value like(xmlAttributeDefault) + d defaultValue * value options(*string) const xmlChar * + d tree value like(xmlEnumerationPtr) + + /if defined(LIBXML_TREE_ENABLED) + d xmlCopyAttributeTable... + d pr extproc('xmlCopyAttributeTable') + d like(xmlAttributeTablePtr) + d table value like(xmlAttributeTablePtr) + /endif LIBXML_TREE_ENABLED + + d xmlFreeAttributeTable... + d pr extproc('xmlFreeAttributeTable') + d table value like(xmlAttributeTablePtr) + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlDumpAttributeTable... + d pr extproc('xmlDumpAttributeTable') + d buf value like(xmlBufferPtr) + d table value like(xmlAttributeTablePtr) + + d xmlDumpAttributeDecl... + d pr extproc('xmlDumpAttributeDecl') + d buf value like(xmlBufferPtr) + d attr value like(xmlAttributePtr) + /endif LIBXML_OUTPUT_ENABLD + + * IDs + + d xmlAddID pr extproc('xmlAddID') + d like(xmlIDPtr) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d value * value options(*string) const xmlChar * + d attr value like(xmlAttrPtr) + + d xmlFreeIdTable pr extproc('xmlFreeIDTable') + d table value like(xmlIDTablePtr) + + d xmlGetID pr extproc('xmlGetID') + d like(xmlAttrPtr) + d doc value like(xmlDocPtr) + d ID * value options(*string) const xmlChar * + + d xmlIsID pr extproc('xmlIsID') + d like(xmlCint) + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + d attr value like(xmlAttrPtr) + + d xmlRemoveID pr extproc('xmlRemoveID') + d like(xmlCint) + d doc value like(xmlDocPtr) + d attr value like(xmlAttrPtr) + + * IDREFs + + d xmlAddRef pr extproc('xmlAddRef') + d like(xmlRefPtr) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d value * value options(*string) const xmlChar * + d attr value like(xmlAttrPtr) + + d xmlFreeRefTable... + d pr extproc('xmlFreeRefTable') + d table value like(xmlRefTablePtr) + + d xmlIsRef pr extproc('xmlIsRef') + d like(xmlCint) + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + d attr value like(xmlAttrPtr) + + d xmlRemoveRef pr extproc('xmlRemoveRef') + d like(xmlCint) + d doc value like(xmlDocPtr) + d attr value like(xmlAttrPtr) + + d xmlGetRefs pr extproc('xmlGetRefs') + d like(xmlListPtr) + d doc value like(xmlDocPtr) + d ID * value options(*string) const xmlChar * + + * The public function calls related to validity checking. + + /if defined(LIBXML_VALID_ENABLED) + * Allocate/Release Validation Contexts + + d xmlNewValidCtxt... + d pr extproc('xmlNewValidCtxt') + d like(xmlValidCtxtPtr) + + d xmlFreeValidCtxt... + d pr extproc('xmlFreeValidCtxt') + d ctxt value like(xmlValidCtxtPtr) + + d xmlValidateRoot... + d pr extproc('xmlValidateRoot') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + + d xmlValidateElementDecl... + d pr extproc('xmlValidateElementDecl') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlElementPtr) + + d xmlValidNormalizeAttributeValue... + d pr * extproc( xmlChar * + d 'xmlValidNormalizeAttributeValue') + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + d value * value options(*string) const xmlChar * + + d xmlValidCtxtNormalizeAttributeValue... + d pr * extproc('xmlValidCtxt+ xmlChar * + d NormalizeAttributeValue') + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + d name * value options(*string) const xmlChar * + d value * value options(*string) const xmlChar * + + d xmlValidateAttributeDecl... + d pr extproc('xmlValidateAttributeDecl') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d attr value like(xmlAttributePtr) + + d xmlValidateAttributeValue... + d pr extproc('xmlValidateAttributeValue') + d like(xmlCint) + d type value like(xmlAttributeType) + d value * value options(*string) const xmlChar * + + d xmlValidateNotationDecl... + d pr extproc('xmlValidateNotationDecl') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d nota value like(xmlNotationPtr) + + d xmlValidateDtd pr extproc('xmlValidateDtd') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d dtd value like(xmlDtdPtr) + + d xmlValidateDtdFinal... + d pr extproc('xmlValidateDtdFinal') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + + d xmlValidateDocument... + d pr extproc('xmlValidateDocument') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + + d xmlValidateElement... + d pr extproc('xmlValidateElement') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + + d xmlValidateOneElement... + d pr extproc('xmlValidateOneElement') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + + d xmlValidateOneAttribute... + d pr extproc('xmlValidateOneAttribute') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + d attr value like(xmlAttrPtr) + d value * value options(*string) const xmlChar * + + d xmlValidateOneNamespace... + d pr extproc('xmlValidateOneNamespace') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + d prefix * value options(*string) const xmlChar * + d ns value like(xmlNsPtr) + d value * value options(*string) const xmlChar * + + d xmlValidateDocumentFinal... + d pr extproc('xmlValidateDocumentFinal') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + /endif LIBXML_VALID_ENABLED + + /undefine XML_TESTVAL + /if defined(LIBXML_VALID_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlValidateNotationUse... + d pr extproc('xmlValidateNotationUse') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d notationName * value options(*string) const xmlChar * + + /undefine XML_TESTVAL + /endif + + d xmlIsMixedElement... + d pr extproc('xmlIsMixedElement') + d like(xmlCint) + d doc value like(xmlDocPtr) + d name * value options(*string) const xmlChar * + + d xmlGetDtdAttrDesc... + d pr extproc('xmlGetDtdAttrDesc') + d like(xmlAttributePtr) + d dtd value like(xmlDtdPtr) + d elem * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + + d xmlGetDtdQAttrDesc... + d pr extproc('xmlGetDtdQAttrDesc') + d like(xmlAttributePtr) + d dtd value like(xmlDtdPtr) + d elem * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + + d xmlGetDtdNotationDesc... + d pr extproc('xmlGetDtdNotationDesc') + d like(xmlNotationPtr) + d dtd value like(xmlDtdPtr) + d name * value options(*string) const xmlChar * + + d xmlGetDtdQElementDesc... + d pr extproc('xmlGetDtdQElementDesc') + d like(xmlElementPtr) + d dtd value like(xmlDtdPtr) + d name * value options(*string) const xmlChar * + d prefix * value options(*string) const xmlChar * + + d xmlGetDtdElementDesc... + d pr extproc('xmlGetDtdElementDesc') + d like(xmlElementPtr) + d dtd value like(xmlDtdPtr) + d name * value options(*string) const xmlChar * + + /if defined(LIBXML_VALID_ENABLED) + d xmlValidGetPotentialChildren... + d pr extproc( + d 'xmlValidGetPotentialChildren') + d like(xmlCint) + d ctree * value xmlElementContent * + d names * const xmlChar *(*) + d len like(xmlCint) + d max value like(xmlCint) + + d xmlValidGetValidElements... + d pr extproc('xmlValidGetValidElements') + d like(xmlCint) + d prev like(xmlNodePtr) + d next like(xmlNodePtr) + d names * const xmlChar *(*) + d max value like(xmlCint) + + d xmlValidateNameValue... + d pr extproc('xmlValidateNameValue') + d like(xmlCint) + d value * value options(*string) const xmlChar * + + d xmlValidateNamesValue... + d pr extproc('xmlValidateNamesValue') + d like(xmlCint) + d value * value options(*string) const xmlChar * + + d xmlValidateNmtokenValue... + d pr extproc('xmlValidateNmtokenValue') + d like(xmlCint) + d value * value options(*string) const xmlChar * + + d xmlValidateNmtokensValue... + d pr extproc('xmlValidateNmtokensValue') + d like(xmlCint) + d value * value options(*string) const xmlChar * + + /if defined(LIBXML_REGEXP_ENABLED) + * Validation based on the regexp support + + d xmlValidBuildContentModel... + d pr extproc('xmlValidBuildContentModel') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d elem value like(xmlElementPtr) + + d xmlValidatePushElement... + d pr extproc('xmlValidatePushElement') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + d qname * value options(*string) const xmlChar * + + d xmlValidatePushCData... + d pr extproc('xmlValidatePushCData') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d data * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlValidatePopElement... + d pr extproc('xmlValidatePopElement') + d like(xmlCint) + d ctxt value like(xmlValidCtxtPtr) + d doc value like(xmlDocPtr) + d elem value like(xmlNodePtr) + d qname * value options(*string) const xmlChar * + + /endif LIBXML_REGEXP_ENABLD + /endif LIBXML_VALID_ENABLED + /endif XML_VALID_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xinclude.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xinclude.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..93b7c5159737a6568b662ec8107d6cda7f2a9ff7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xinclude.rpgle @@ -0,0 +1,156 @@ + * Summary: implementation of XInclude + * Description: API to handle XInclude processing, + * implements the + * World Wide Web Consortium Last Call Working Draft 10 November 2003 + * http://www.w3.org/TR/2003/WD-xinclude-20031110 + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_XINCLUDE_H__) + /define XML_XINCLUDE_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + + /if defined(LIBXML_XINCLUDE_ENABLED) + + * XINCLUDE_NS: + * + * Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude + + d XINCLUDE_NS c 'http://www.w3.org/2003/XInclude' + + + * XINCLUDE_OLD_NS: + * + * Define the draft Xinclude namespace: http://www.w3.org/2001/XInclude + + d XINCLUDE_OLD_NS... + d c 'http://www.w3.org/2001/XInclude' + + * XINCLUDE_NODE: + * + * Macro defining "include" + + d XINCLUDE_NODE c 'include' + + * XINCLUDE_FALLBACK: + * + * Macro defining "fallback" + + d XINCLUDE_FALLBACK... + d c 'fallback' + + * XINCLUDE_HREF: + * + * Macro defining "href" + + d XINCLUDE_HREF c 'href' + + * XINCLUDE_PARSE: + * + * Macro defining "parse" + + d XINCLUDE_PARSE c 'parse' + + * XINCLUDE_PARSE_XML: + * + * Macro defining "xml" + + d XINCLUDE_PARSE_XML... + d c 'xml' + + * XINCLUDE_PARSE_TEXT: + * + * Macro defining "text" + + d XINCLUDE_PARSE_TEXT... + d c 'text' + + * XINCLUDE_PARSE_ENCODING: + * + * Macro defining "encoding" + + d XINCLUDE_PARSE_ENCODING... + d c 'encoding' + + * XINCLUDE_PARSE_XPOINTER: + * + * Macro defining "xpointer" + + d XINCLUDE_PARSE_XPOINTER... + d c 'xpointer' + + d xmlXIncludeCtxtPtr... + d s * based(######typedef######) + + * standalone processing + + d xmlXIncludeProcess... + d pr extproc('xmlXIncludeProcess') + d like(xmlCint) + d doc value like(xmlDocPtr) + + d xmlXIncludeProcessFlags... + d pr extproc('xmlXIncludeProcessFlags') + d like(xmlCint) + d doc value like(xmlDocPtr) + d flags value like(xmlCint) + + d xmlXIncludeProcessFlagsData... + d pr extproc( + d 'xmlXIncludeProcessFlagsData') + d like(xmlCint) + d doc value like(xmlDocPtr) + d flags value like(xmlCint) + d data * value void * + + d xmlXIncludeProcessTreeFlagsData... + d pr extproc( + d 'xmlXIncludeProcessTreeFlagsData') + d like(xmlCint) + d tree value like(xmlNodePtr) + d flags value like(xmlCint) + d data * value void * + + d xmlXIncludeProcessTree... + d pr extproc('xmlXIncludeProcessTree') + d like(xmlCint) + d tree value like(xmlNodePtr) + + d xmlXIncludeProcessTreeFlags... + d pr extproc( + d 'xmlXIncludeProcessTreeFlags') + d like(xmlCint) + d tree value like(xmlNodePtr) + d flags value like(xmlCint) + + + * contextual processing + + d xmlXIncludeNewContext... + d pr extproc('xmlXIncludeNewContext') + d like(xmlXIncludeCtxtPtr) + d doc value like(xmlDocPtr) + + d xmlXIncludeSetFlags... + d pr extproc('xmlXIncludeSetFlags') + d like(xmlCint) + d ctxt value like(xmlXIncludeCtxtPtr) + d flags value like(xmlCint) + + d xmlXIncludeFreeContext... + d pr extproc('xmlXIncludeFreeContext') + d ctxt value like(xmlXIncludeCtxtPtr) + + d xmlXIncludeProcessNode... + d pr extproc('xmlXIncludeProcessNode') + d like(xmlCint) + d ctxt value like(xmlXIncludeCtxtPtr) + d tree value like(xmlNodePtr) + + /endif XINCLUDE_ENABLED + /endif XML_XINCLUDE_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xlink.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xlink.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..e6ebdc642dc24afc264829db89cf8174b3253523 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xlink.rpgle @@ -0,0 +1,169 @@ + * Summary: unfinished XLink detection module + * Description: unfinished XLink detection module + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_XLINK_H__) + /define XML_XLINK_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_XPTR_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + + * Various defines for the various Link properties. + * + * NOTE: the link detection layer will try to resolve QName expansion + * of namespaces. If "foo" is the prefix for "http://foo.com/" + * then the link detection layer will expand role="foo:myrole" + * to "http://foo.com/:myrole". + * NOTE: the link detection layer will expand URI-Refences found on + * href attributes by using the base mechanism if found. + + d xlinkRef s * based(######typedef######) xmlChar * + d xlinkRole s * based(######typedef######) xmlChar * + d xlinkTitle s * based(######typedef######) xmlChar * + + d xlinkType s based(######typedef######) + d like(xmlCenum) + d XLINK_TYPE_NONE... + d c 0 + d XLINK_TYPE_SIMPLE... + d c 1 + d XLINK_TYPE_EXTENDED... + d c 2 + d XLINK_TYPE_EXTENDED_SET... + d c 3 + + d xlinkShow s based(######typedef######) + d like(xmlCenum) + d XLINK_SHOW_NONE... + d c 0 + d XLINK_SHOW_NEW... + d c 1 + d XLINK_SHOW_EMBED... + d c 2 + d XLINK_SHOW_REPLACE... + d c 3 + + d xlinkActuate s based(######typedef######) + d like(xmlCenum) + d XLINK_ACTUATE_NONE... + d c 0 + d XLINK_ACTUATE_AUTO... + d c 1 + d XLINK_ACTUATE_ONREQUEST... + d c 2 + + * xlinkNodeDetectFunc: + * @ctx: user data pointer + * @node: the node to check + * + * This is the prototype for the link detection routine. + * It calls the default link detection callbacks upon link detection. + + d xlinkNodeDetectFunc... + d s * based(######typedef######) + d procptr + + * The link detection module interact with the upper layers using + * a set of callback registered at parsing time. + + * xlinkSimpleLinkFunk: + * @ctx: user data pointer + * @node: the node carrying the link + * @href: the target of the link + * @role: the role string + * @title: the link title + * + * This is the prototype for a simple link detection callback. + + d xlinkSimpleLinkFunk... + d s * based(######typedef######) + d procptr + + * xlinkExtendedLinkFunk: + * @ctx: user data pointer + * @node: the node carrying the link + * @nbLocators: the number of locators detected on the link + * @hrefs: pointer to the array of locator hrefs + * @roles: pointer to the array of locator roles + * @nbArcs: the number of arcs detected on the link + * @from: pointer to the array of source roles found on the arcs + * @to: pointer to the array of target roles found on the arcs + * @show: array of values for the show attributes found on the arcs + * @actuate: array of values for the actuate attributes found on the arcs + * @nbTitles: the number of titles detected on the link + * @title: array of titles detected on the link + * @langs: array of xml:lang values for the titles + * + * This is the prototype for a extended link detection callback. + + d xlinkExtendedLinkFunk... + d s * based(######typedef######) + d procptr + + * xlinkExtendedLinkSetFunk: + * @ctx: user data pointer + * @node: the node carrying the link + * @nbLocators: the number of locators detected on the link + * @hrefs: pointer to the array of locator hrefs + * @roles: pointer to the array of locator roles + * @nbTitles: the number of titles detected on the link + * @title: array of titles detected on the link + * @langs: array of xml:lang values for the titles + * + * This is the prototype for a extended link set detection callback. + + d xlinkExtendedLinkSetFunk... + d s * based(######typedef######) + d procptr + + * This is the structure containing a set of Links detection callbacks. + * + * There is no default xlink callbacks, if one want to get link + * recognition activated, those call backs must be provided before parsing. + + d xlinkHandlerPtr... + d s * based(######typedef######) xmlChar * + + d xlinkHandler ds based(xlinkHandlerPtr) + d align qualified + d simple like(xlinkSimpleLinkFunk) + d extended like(xlinkExtendedLinkFunk) + d set like(xlinkExtendedLinkSetFunk) + + * The default detection routine, can be overridden, they call the default + * detection callbacks. + + d xlinkGetDefaultDetect... + d pr extproc('xlinkGetDefaultDetect') + d like(xlinkNodeDetectFunc) + + d xlinkSetDefaultDetect... + d pr extproc('xlinkSetDefaultDetect') + d func value like(xlinkNodeDetectFunc) + + * Routines to set/get the default handlers. + + d xlinkGetDefaultHandler... + d pr extproc('xlinkGetDefaultHandler') + d like(xlinkHandlerPtr) + + d xlinkSetDefaultHandler... + d pr extproc('xlinkSetDefaultHandler') + d handler value like(xlinkHandlerPtr) + + * Link detection module itself. + + d xlinkIsLink pr extproc('xlinkIsLink') + d like(xlinkType) + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + + /endif LIBXML_XPTR_ENABLED + /endif XML_XLINK_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlIO.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlIO.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..d0e6f7477d4fd9a0a1a911dd1d2ac81ffb9f319f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlIO.rpgle @@ -0,0 +1,464 @@ + * Summary: interface for the I/O interfaces used by the parser + * Description: interface for the I/O interfaces used by the parser + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_IO_H__) + /define XML_IO_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + + * Those are the functions and datatypes for the parser input + * I/O structures. + + * xmlInputMatchCallback: + * @filename: the filename or URI + * + * Callback used in the I/O Input API to detect if the current handler + * can provide input functionalities for this resource. + * + * Returns 1 if yes and 0 if another Input module should be used + + d xmlInputMatchCallback... + d s * based(######typedef######) + d procptr + + * xmlInputOpenCallback: + * @filename: the filename or URI + * + * Callback used in the I/O Input API to open the resource + * + * Returns an Input context or NULL in case or error + + d xmlInputOpenCallback... + d s * based(######typedef######) + d procptr + + * xmlInputReadCallback: + * @context: an Input context + * @buffer: the buffer to store data read + * @len: the length of the buffer in bytes + * + * Callback used in the I/O Input API to read the resource + * + * Returns the number of bytes read or -1 in case of error + + d xmlInputReadCallback... + d s * based(######typedef######) + d procptr + + * xmlInputCloseCallback: + * @context: an Input context + * + * Callback used in the I/O Input API to close the resource + * + * Returns 0 or -1 in case of error + + d xmlInputCloseCallback... + d s * based(######typedef######) + d procptr + + /if defined(LIBXML_OUTPUT_ENABLED) + + * Those are the functions and datatypes for the library output + * I/O structures. + + * xmlOutputMatchCallback: + * @filename: the filename or URI + * + * Callback used in the I/O Output API to detect if the current handler + * can provide output functionalities for this resource. + * + * Returns 1 if yes and 0 if another Output module should be used + + d xmlOutputMatchCallback... + d s * based(######typedef######) + d procptr + + * xmlOutputOpenCallback: + * @filename: the filename or URI + * + * Callback used in the I/O Output API to open the resource + * + * Returns an Output context or NULL in case or error + + d xmlOutputOpenCallback... + d s * based(######typedef######) + d procptr + + * xmlOutputWriteCallback: + * @context: an Output context + * @buffer: the buffer of data to write + * @len: the length of the buffer in bytes + * + * Callback used in the I/O Output API to write to the resource + * + * Returns the number of bytes written or -1 in case of error + + d xmlOutputWriteCallback... + d s * based(######typedef######) + d procptr + + * xmlOutputCloseCallback: + * @context: an Output context + * + * Callback used in the I/O Output API to close the resource + * + * Returns 0 or -1 in case of error + + d xmlOutputCloseCallback... + d s * based(######typedef######) + d procptr + /endif LIBXML_OUTPUT_ENABLD + + /include "libxmlrpg/globals" + /include "libxmlrpg/tree" + /include "libxmlrpg/parser" + /include "libxmlrpg/encoding" + + d xmlParserInputBuffer... + d ds based(xmlParserInputBufferPtr) + d align qualified + d context * void * + d readcallback like(xmlInputReadCallback) + d closecallback like(xmlInputCloseCallback) + * + d encoder like(xmlCharEncodingHandlerPtr) Conversions --> UTF8 + * + d buffer like(xmlBufPtr) UTF-8 local buffer + d raw like(xmlBufPtr) Raw input buffer + d compressed like(xmlCint) + d error like(xmlCint) + d rawconsumed like(xmlCulong) + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlOutputBuffer... + d ds based(xmlOutputBufferPtr) + d align qualified + d context * void * + d writecallback like(xmlOutputWriteCallback) + d closecallback like(xmlOutputCloseCallback) + * + d encoder like(xmlCharEncodingHandlerPtr) Conversions --> UTF8 + * + d buffer like(xmlBufPtr) UTF-8/ISOLatin local + d conv like(xmlBufPtr) Buffer for output + d written like(xmlCint) Total # byte written + d error like(xmlCint) + /endif LIBXML_OUTPUT_ENABLD + + * Interfaces for input + + d xmlCleanupInputCallbacks... + d pr extproc('xmlCleanupInputCallbacks') + + d xmlPopInputCallbacks... + d pr extproc('xmlPopInputCallbacks') + d like(xmlCint) + + d xmlRegisterDefaultInputCallbacks... + d pr extproc( + d 'xmlRegisterDefaultInputCallbacks') + + d xmlAllocParserInputBuffer... + d pr extproc('xmlAllocParserInputBuffer') + d like(xmlParserInputBufferPtr) + d enc value like(xmlCharEncoding) + + d xmlParserInputBufferCreateFilename... + d pr extproc( + d 'xmlParserInputBufferCreateFilename') + d like(xmlParserInputBufferPtr) + d URI * value options(*string) const char * + d enc value like(xmlCharEncoding) + + d xmlParserInputBufferCreateFile... + d pr extproc( + d 'xmlParserInputBufferCreateFile') + d like(xmlParserInputBufferPtr) + d file * value FILE * + d enc value like(xmlCharEncoding) + + d xmlParserInputBufferCreateFd... + d pr extproc( + d 'xmlParserInputBufferCreateFd') + d like(xmlParserInputBufferPtr) + d fd value like(xmlCint) + d enc value like(xmlCharEncoding) + + d xmlParserInputBufferCreateMem... + d pr extproc( + d 'xmlParserInputBufferCreateMem') + d like(xmlParserInputBufferPtr) + d mem * value options(*string) const char * + d size value like(xmlCint) + d enc value like(xmlCharEncoding) + + d xmlParserInputBufferCreateStatic... + d pr extproc( + d 'xmlParserInputBufferCreateStatic') + d like(xmlParserInputBufferPtr) + d mem * value options(*string) const char * + d size value like(xmlCint) + d enc value like(xmlCharEncoding) + + d xmlParserInputBufferCreateIO... + d pr extproc( + d 'xmlParserInputBufferCreateIO') + d like(xmlParserInputBufferPtr) + d ioread value like(xmlInputReadCallback) + d ioclose value like(xmlInputCloseCallback) + d ioctx * value void * + d enc value like(xmlCharEncoding) + + d xmlParserInputBufferRead... + d pr extproc('xmlParserInputBufferRead') + d like(xmlCint) + d in value like(xmlParserInputBufferPtr) + d len value like(xmlCint) + + d xmlParserInputBufferGrow... + d pr extproc('xmlParserInputBufferGrow') + d like(xmlCint) + d in value like(xmlParserInputBufferPtr) + d len value like(xmlCint) + + d xmlParserInputBufferPush... + d pr extproc('xmlParserInputBufferPush') + d like(xmlCint) + d in value like(xmlParserInputBufferPtr) + d len value like(xmlCint) + d buf * value options(*string) const char * + + d xmlFreeParserInputBuffer... + d pr extproc('xmlFreeParserInputBuffer') + d in value like(xmlParserInputBufferPtr) + + d xmlParserGetDirectory... + d pr * extproc('xmlParserGetDirectory') char * + d filename * value options(*string) const char * + + d xmlRegisterInputCallbacks... + d pr extproc('xmlRegisterInputCallbacks') + d like(xmlCint) + d matchFunc value like(xmlInputMatchCallback) + d openFunc value like(xmlInputOpenCallback) + d readFunc value like(xmlInputReadCallback) + d closeFunc value like(xmlInputCloseCallback) + + /if defined(LIBXML_OUTPUT_ENABLED) + + * Interfaces for output + + d xmlCleanupOutputCallbacks... + d pr extproc('xmlCleanupOutputCallbacks') + + d xmlRegisterDefaultOutputCallbacks... + d pr extproc( + d 'xmlRegisterDefaultOuputCallbacks') + + d xmlAllocOutputBuffer... + d pr extproc('xmlAllocOutputBuffer') + d like(xmlOutputBufferPtr) + d encoder value + d like(xmlCharEncodingHandlerPtr) + + d xmlOutputBufferCreateFilename... + d pr extproc( + d 'xmlOutputBufferCreateFilename') + d like(xmlOutputBufferPtr) + d URI * value options(*string) const char * + d encoder value + d like(xmlCharEncodingHandlerPtr) + d compression value like(xmlCint) + + d xmlOutputBufferCreateFile... + d pr extproc('xmlOutputBufferCreateFile') + d like(xmlOutputBufferPtr) + d file * value FILE * + d encoder value + d like(xmlCharEncodingHandlerPtr) + + d xmlOutputBufferCreateBuffer... + d pr extproc( + d 'xmlOutputBufferCreateBuffer') + d like(xmlOutputBufferPtr) + d buffer value like(xmlBufferPtr) + d encoder value + d like(xmlCharEncodingHandlerPtr) + + d xmlOutputBufferCreateFd... + d pr extproc('xmlOutputBufferCreateFd') + d like(xmlOutputBufferPtr) + d fd value like(xmlCint) + d encoder value + d like(xmlCharEncodingHandlerPtr) + + d xmlOutputBufferCreateIO... + d pr extproc('xmlOutputBufferCreateIO') + d like(xmlOutputBufferPtr) + d iowrite value like(xmlOutputWriteCallback) + d ioclose value like(xmlOutputCloseCallback) + d ioctx * value void * + d encoder value + d like(xmlCharEncodingHandlerPtr) + + * Couple of APIs to get the output without digging into the buffers + + d xmlOutputBufferGetContent... + d pr * extproc('xmlOutputBufferGetContent') const xmlChar * + d out value like(xmlOutputBufferPtr) + + d xmlOutputBufferGetSize... + d pr extproc('xmlOutputBufferGetSize') + d like(xmlCsize_t) + d out value like(xmlOutputBufferPtr) + + d xmlOutputBufferWrite... + d pr extproc('xmlOutputBufferWrite') + d like(xmlCint) + d out value like(xmlOutputBufferPtr) + d len value like(xmlCint) + d buf * value options(*string) const char * + + d xmlOutputBufferWriteString... + d pr extproc('xmlOutputBufferWriteString') + d like(xmlCint) + d out value like(xmlOutputBufferPtr) + d str * value options(*string) const char * + + d xmlOutputBufferWriteEscape... + d pr extproc('xmlOutputBufferWriteEscape') + d like(xmlCint) + d out value like(xmlOutputBufferPtr) + d str * value options(*string) const xmlChar * + d escaping value like(xmlCharEncodingOutputFunc) + + d xmlOutputBufferFlush... + d pr extproc('xmlOutputBufferFlush') + d like(xmlCint) + d out value like(xmlOutputBufferPtr) + + d xmlOutputBufferClose... + d pr extproc('xmlOutputBufferClose') + d like(xmlCint) + d out value like(xmlOutputBufferPtr) + + d xmlRegisterOutputCallbacks... + d pr extproc('xmlRegisterOutputCallbacks') + d like(xmlCint) + d matchFunc value like(xmlOutputMatchCallback) + d openFunc value like(xmlOutputOpenCallback) + d writeFunc value like(xmlOutputWriteCallback) + d closeFunc value like(xmlOutputCloseCallback) + + /if defined(LIBXML_HTTP_ENABLED) + + * This function only exists if HTTP support built into the library + + d xmlRegisterHTTPPostCallbacks... + d pr extproc( + d 'xmlRegisterHTTPPostCallbacks') + + /endif LIBXML_HTTP_ENABLED + /endif LIBXML_OUTPUT_ENABLD + + d xmlCheckHTTPInput... + d pr extproc('xmlCheckHTTPInput') + d like(xmlParserInputPtr) + d ctxt value like(xmlParserCtxtPtr) + d ret value like(xmlParserInputPtr) + + * A predefined entity loader disabling network accesses + + d xmlNoNetExternalEntityLoader... + d pr extproc( + d 'xmlNoNetExternalEntityLoader') + d like(xmlParserInputPtr) + d URL * value options(*string) const char * + d ID * value options(*string) const char * + d ctxt value like(xmlParserCtxtPtr) + + * xmlNormalizeWindowsPath is obsolete, don't use it. + * Check xmlCanonicPath in uri.h for a better alternative. + + d xmlNormalizeWindowsPath... + d pr * extproc('xmlNormalizeWindowsPath') xmlChar * + d path * value options(*string) const xmlChar * + + d xmlCheckFilename... + d pr extproc('xmlCheckFilename') + d like(xmlCint) + d path * value options(*string) const char * + + * Default 'file://' protocol callbacks + + d xmlFileMatch pr extproc('xmlFileMatch') + d like(xmlCint) + d filename * value options(*string) const char * + + d xmlFileOpen pr * extproc('xmlFileOpen') void * + d filename * value options(*string) const char * + + d xmlFileRead pr extproc('xmlFileRead') + d like(xmlCint) + d context * value void * + d buffer 65535 options(*varsize) + d len value like(xmlCint) + + d xmlFileClose pr extproc('xmlFileClose') + d like(xmlCint) + d context * value void * + + * Default 'http://' protocol callbacks + + /if defined(LIBXML_HTTP_ENABLED) + d xmlIOHTTPMatch pr extproc('xmlIOHTTPMatch') + d like(xmlCint) + d filename * value options(*string) const char * + + d xmlIOHTTPOpen pr * extproc('xmlIOHTTPOpen') void * + d filename * value options(*string) const char * + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlIOHTTPOpenW pr * extproc('xmlIOHTTPOpenW') void * + d post_uri * value options(*string) const char * + d compression value like(xmlCint) + /endif LIBXML_OUTPUT_ENABLD + + d xmlIOHTTPRead pr extproc('xmlIOHTTPRead') + d like(xmlCint) + d context * value void * + d buffer 65535 options(*varsize) + d len value like(xmlCint) + + d xmlIOHTTPClose pr extproc('xmlIOHTTPClose') + d like(xmlCint) + d context * value void * + /endif LIBXML_HTTP_ENABLED + + * Default 'ftp://' protocol callbacks + + /if defined(LIBXML_FTP_ENABLED) + d xmlIOFTPMatch pr extproc('xmlIOFTPMatch') + d like(xmlCint) + d filename * value options(*string) const char * + + d xmlIOFTPOpen pr * extproc('xmlIOFTPOpen') void * + d filename * value options(*string) const char * + + d xmlIOFTPRead pr extproc('xmlIOFTPRead') + d like(xmlCint) + d context * value void * + d buffer 65535 options(*varsize) + d len value like(xmlCint) + + d xmlIOFTPClose pr extproc('xmlIOFTPClose') + d like(xmlCint) + d context * value void * + /endif LIBXML_FTP_ENABLED + + /endif XML_IO_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlTypesC.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlTypesC.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..3440dc105fefc50e8f5dc2b8c764abb2f54e470b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlTypesC.rpgle @@ -0,0 +1,26 @@ + * Equivalent of C data types. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XMLTYPESC_H__) + /define XMLTYPESC_H__ + + d xmlCchar s 3i 0 based(######typedef######) + d xmlCuchar s 3u 0 based(######typedef######) + d xmlCshort s 5i 0 based(######typedef######) + d xmlCushort s 5u 0 based(######typedef######) + d xmlCint s 10i 0 based(######typedef######) + d xmlCuInt s 10u 0 based(######typedef######) + d xmlClong s 10i 0 based(######typedef######) + d xmlCulong s 10u 0 based(######typedef######) + d xmlClonglong s 20i 0 based(######typedef######) + d xmlCulonglong s 20u 0 based(######typedef######) + d xmlCenum s 10i 0 based(######typedef######) + d xmlCssize_t s 10i 0 based(######typedef######) + d xmlCsize_t s 10u 0 based(######typedef######) + d xmlCfloat s 4f based(######typedef######) + d xmlCdouble s 8f based(######typedef######) + + /endif diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlautomata.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlautomata.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..0e9cc2239e7551c414531f926a0dd937198ef1ec --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlautomata.rpgle @@ -0,0 +1,183 @@ + * Summary: API to build regexp automata + * Description: the API to build regexp automata + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_AUTOMATA_H__) + /define XML_AUTOMATA_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_REGEXP_ENABLED) + /if defined(LIBXML_AUTOMATA_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/xmlregexp" + + * xmlAutomataPtr: + * + * A libxml automata description, It can be compiled into a regexp + + d xmlAutomataPtr s * based(######typedef######) + + * xmlAutomataStatePtr: + * + * A state int the automata description, + + d xmlAutomataStatePtr... + d s * based(######typedef######) + + * Building API + + d xmlNewAutomata pr extproc('xmlNewAutomata') + d like(xmlAutomataPtr) + + d xmlFreeAutomata... + d pr extproc('xmlFreeAutomata') + d am value like(xmlAutomataPtr) + + d xmlAutomataGetInitState... + d pr extproc('xmlAutomataGetInitState') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + + d xmlAutomataSetFinalState... + d pr extproc('xmlAutomataSetFinalState') + d like(xmlCint) + d am value like(xmlAutomataPtr) + d state value like(xmlAutomataStatePtr) + + d xmlAutomataNewState... + d pr extproc('xmlAutomataNewState') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + + d xmlAutomataNewTransition... + d pr extproc('xmlAutomataNewTransition') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d token * value options(*string) const xmlChar * + d data * value options(*string) void * + + d xmlAutomataNewTransition2... + d pr extproc('xmlAutomataNewTransition2') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d token * value options(*string) const xmlChar * + d token2 * value options(*string) const xmlChar * + d data * value options(*string) void * + + d xmlAutomataNewNegTrans... + d pr extproc('xmlAutomataNewNegTrans') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d token * value options(*string) const xmlChar * + d token2 * value options(*string) const xmlChar * + d data * value options(*string) void * + + d xmlAutomataNewCountTrans... + d pr extproc('xmlAutomataNewCountTrans') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d token * value options(*string) const xmlChar * + d min value like(xmlCint) + d max value like(xmlCint) + d data * value options(*string) void * + + d xmlAutomataNewCountTrans2... + d pr extproc('xmlAutomataNewCountTrans2') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d token * value options(*string) const xmlChar * + d token2 * value options(*string) const xmlChar * + d min value like(xmlCint) + d max value like(xmlCint) + d data * value options(*string) void * + + d xmlAutomataNewOnceTrans... + d pr extproc('xmlAutomataNewOnceTrans') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d token * value options(*string) const xmlChar * + d min value like(xmlCint) + d max value like(xmlCint) + d data * value options(*string) void * + + d xmlAutomataNewOnceTrans2... + d pr extproc('xmlAutomataNewOnceTrans2') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d token * value options(*string) const xmlChar * + d token2 * value options(*string) const xmlChar * + d min value like(xmlCint) + d max value like(xmlCint) + d data * value options(*string) void * + + d xmlAutomataNewAllTrans... + d pr extproc('xmlAutomataNewAllTrans') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d lax value like(xmlCint) + + d xmlAutomataNewEpsilon... + d pr extproc('xmlAutomataNewEpsilon') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + + d xmlAutomataNewCountedTrans... + d pr extproc('xmlAutomataNewCountedTrans') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d counter value like(xmlCint) + + d xmlAutomataNewCounterTrans... + d pr extproc('xmlAutomataNewCounterTrans') + d like(xmlAutomataStatePtr) + d am value like(xmlAutomataPtr) + d from value like(xmlAutomataStatePtr) + d to value like(xmlAutomataStatePtr) + d counter value like(xmlCint) + + d xmlAutomataNewCounter... + d pr extproc('xmlAutomataNewCounter') + d like(xmlCint) + d am value like(xmlAutomataPtr) + d min value like(xmlCint) + d max value like(xmlCint) + + d xmlAutomataCompile... + d pr extproc('xmlAutomataCompile') + d like(xmlRegexpPtr) + d am value like(xmlAutomataPtr) + + d xmlAutomataIsDeterminist... + d pr extproc('xmlAutomataIsDeterminist') + d like(xmlCint) + d am value like(xmlAutomataPtr) + + /endif AUTOMATA_ENABLED + /endif LIBXML_REGEXP_ENABLD + /endif XML_AUTOMATA_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlerror.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlerror.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..6688b37b44794caea83deba7ff300c4bd33b515d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlerror.rpgle @@ -0,0 +1,1686 @@ + * Summary: error handling + * Description: the API used to report errors + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_ERROR_H__) + /define XML_ERROR_H__ + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/parser" + + * xmlErrorLevel: + * + * Indicates the level of an error + + d xmlErrorLevel s based(######typedef######) + d like(xmlCenum) + d XML_ERR_NONE c 0 + d XML_ERR_WARNING... A simple warning + d c 1 + d XML_ERR_ERROR c 2 A recoverable error + d XML_ERR_FATAL c 3 A fatal error + + * xmlErrorDomain: + * + * Indicates where an error may have come from + + d xmlErrorDomain s based(######typedef######) + d like(xmlCenum) + d XML_FROM_NONE c 0 + d XML_FROM_PARSER... XML parser + d c 1 + d XML_FROM_TREE c 2 Tree module + d XML_FROM_NAMESPACE... XML Namespace module + d c 3 + d XML_FROM_DTD c 4 DTD validation + d XML_FROM_HTML c 5 HTML parser + d XML_FROM_MEMORY... Memory allocator + d c 6 + d XML_FROM_OUTPUT... serialization code + d c 7 + d XML_FROM_IO c 8 Input/Output stack + d XML_FROM_FTP c 9 FTP module + d XML_FROM_HTTP c 10 HTTP module + d XML_FROM_XINCLUDE... XInclude processing + d c 11 + d XML_FROM_XPATH... XPath module + d c 12 + d XML_FROM_XPOINTER... XPointer module + d c 13 + d XML_FROM_REGEXP... Regexp module + d c 14 + d XML_FROM_DATATYPE... W3C XML Schm Dtatype + d c 15 + d XML_FROM_SCHEMASP... W3C XML Schm parser + d c 16 + d XML_FROM_SCHEMASV... W3C XML Schm valid. + d c 17 + d XML_FROM_RELAXNGP... Relax-NG parser + d c 18 + d XML_FROM_RELAXNGV... Relax-NG validator + d c 19 + d XML_FROM_CATALOG... Catalog module + d c 20 + d XML_FROM_C14N c 21 Canonicalization + d XML_FROM_XSLT c 22 Engine from libxslt + d XML_FROM_VALID... DTD valid. w/ ctxt + d c 23 + d XML_FROM_CHECK... Error check module + d c 24 + d XML_FROM_WRITER... xmlwriter module + d c 25 + d XML_FROM_MODULE... Dyn. loaded module + d c 26 + d XML_FROM_I18N c 27 Mod hdlg char conv + d XML_FROM_SCHEMATRONV... Schematron valid + d c 28 + d XML_FROM_BUFFER... Buffers module + d c 29 + d XML_FROM_URI c 30 URI module + + * xmlError: + * + * An XML Error instance. + + d xmlErrorPtr s * based(######typedef######) + + d xmlError ds based(xmlErrorPtr) + d align qualified + d domain like(xmlCint) Libpart raising err + d code like(xmlCint) Error code + d message * char * + d level like(xmlErrorLevel) Error severity + d file * File name + d line like(xmlCint) Line number + d str1 * char * + d str2 * char * + d str3 * char * + d int1 like(xmlCint) Extra number info + d int2 like(xmlCint) Error column + d ctxt * void * + d node * void * + + * xmlParserError: + * + * This is an error that the XML (or HTML) parser can generate + + d xmlParserErrors... + d s based(######typedef######) + d like(xmlCenum) + d XML_ERR_OK c 0 + d XML_ERR_INTERNAL_ERROR... + d c 1 + d XML_ERR_NO_MEMORY... + d c 2 + d XML_ERR_DOCUMENT_START... + d c 3 + d XML_ERR_DOCUMENT_EMPTY... + d c 4 + d XML_ERR_DOCUMENT_END... + d c 5 + d XML_ERR_INVALID_HEX_CHARREF... + d c 6 + d XML_ERR_INVALID_DEC_CHARREF... + d c 7 + d XML_ERR_INVALID_CHARREF... + d c 8 + d XML_ERR_INVALID_CHAR... + d c 9 + d XML_ERR_CHARREF_AT_EOF... + d c 10 + d XML_ERR_CHARREF_IN_PROLOG... + d c 11 + d XML_ERR_CHARREF_IN_EPILOG... + d c 12 + d XML_ERR_CHARREF_IN_DTD... + d c 13 + d XML_ERR_ENTITYREF_AT_EOF... + d c 14 + d XML_ERR_ENTITYREF_IN_PROLOG... + d c 15 + d XML_ERR_ENTITYREF_IN_EPILOG... + d c 16 + d XML_ERR_ENTITYREF_IN_DTD... + d c 17 + d XML_ERR_PEREF_AT_EOF... + d c 18 + d XML_ERR_PEREF_IN_PROLOG... + d c 19 + d XML_ERR_PEREF_IN_EPILOG... + d c 20 + d XML_ERR_PEREF_IN_INT_SUBSET... + d c 21 + d XML_ERR_ENTITYREF_NO_NAME... + d c 22 + d XML_ERR_ENTITYREF_SEMICOL_MISSING... + d c 23 + d XML_ERR_PEREF_NO_NAME... + d c 24 + d XML_ERR_PEREF_SEMICOL_MISSING... + d c 25 + d XML_ERR_UNDECLARED_ENTITY... + d c 26 + d XML_WAR_UNDECLARED_ENTITY... + d c 27 + d XML_ERR_UNPARSED_ENTITY... + d c 28 + d XML_ERR_ENTITY_IS_EXTERNAL... + d c 29 + d XML_ERR_ENTITY_IS_PARAMETER... + d c 30 + d XML_ERR_UNKNOWN_ENCODING... + d c 31 + d XML_ERR_UNSUPPORTED_ENCODING... + d c 32 + d XML_ERR_STRING_NOT_STARTED... + d c 33 + d XML_ERR_STRING_NOT_CLOSED... + d c 34 + d XML_ERR_NS_DECL_ERROR... + d c 35 + d XML_ERR_ENTITY_NOT_STARTED... + d c 36 + d XML_ERR_ENTITY_NOT_FINISHED... + d c 37 + d XML_ERR_LT_IN_ATTRIBUTE... + d c 38 + d XML_ERR_ATTRIBUTE_NOT_STARTED... + d c 39 + d XML_ERR_ATTRIBUTE_NOT_FINISHED... + d c 40 + d XML_ERR_ATTRIBUTE_WITHOUT_VALUE... + d c 41 + d XML_ERR_ATTRIBUTE_REDEFINED... + d c 42 + d XML_ERR_LITERAL_NOT_STARTED... + d c 43 + d XML_ERR_LITERAL_NOT_FINISHED... + d c 44 + d XML_ERR_COMMENT_NOT_FINISHED... + d c 45 + d XML_ERR_PI_NOT_STARTED... + d c 46 + d XML_ERR_PI_NOT_FINISHED... + d c 47 + d XML_ERR_NOTATION_NOT_STARTED... + d c 48 + d XML_ERR_NOTATION_NOT_FINISHED... + d c 49 + d XML_ERR_ATTLIST_NOT_STARTED... + d c 50 + d XML_ERR_ATTLIST_NOT_FINISHED... + d c 51 + d XML_ERR_MIXED_NOT_STARTED... + d c 52 + d XML_ERR_MIXED_NOT_FINISHED... + d c 53 + d XML_ERR_ELEMCONTENT_NOT_STARTED... + d c 54 + d XML_ERR_ELEMCONTENT_NOT_FINISHED... + d c 55 + d XML_ERR_XMLDECL_NOT_STARTED... + d c 56 + d XML_ERR_XMLDECL_NOT_FINISHED... + d c 57 + d XML_ERR_CONDSEC_NOT_STARTED... + d c 58 + d XML_ERR_CONDSEC_NOT_FINISHED... + d c 59 + d XML_ERR_EXT_SUBSET_NOT_FINISHED... + d c 60 + d XML_ERR_DOCTYPE_NOT_FINISHED... + d c 61 + d XML_ERR_MISPLACED_CDATA_END... + d c 62 + d XML_ERR_CDATA_NOT_FINISHED... + d c 63 + d XML_ERR_RESERVED_XML_NAME... + d c 64 + d XML_ERR_SPACE_REQUIRED... + d c 65 + d XML_ERR_SEPARATOR_REQUIRED... + d c 66 + d XML_ERR_NMTOKEN_REQUIRED... + d c 67 + d XML_ERR_NAME_REQUIRED... + d c 68 + d XML_ERR_PCDATA_REQUIRED... + d c 69 + d XML_ERR_URI_REQUIRED... + d c 70 + d XML_ERR_PUBID_REQUIRED... + d c 71 + d XML_ERR_LT_REQUIRED... + d c 72 + d XML_ERR_GT_REQUIRED... + d c 73 + d XML_ERR_LTSLASH_REQUIRED... + d c 74 + d XML_ERR_EQUAL_REQUIRED... + d c 75 + d XML_ERR_TAG_NAME_MISMATCH... + d c 76 + d XML_ERR_TAG_NOT_FINISHED... + d c 77 + d XML_ERR_STANDALONE_VALUE... + d c 78 + d XML_ERR_ENCODING_NAME... + d c 79 + d XML_ERR_HYPHEN_IN_COMMENT... + d c 80 + d XML_ERR_INVALID_ENCODING... + d c 81 + d XML_ERR_EXT_ENTITY_STANDALONE... + d c 82 + d XML_ERR_CONDSEC_INVALID... + d c 83 + d XML_ERR_VALUE_REQUIRED... + d c 84 + d XML_ERR_NOT_WELL_BALANCED... + d c 85 + d XML_ERR_EXTRA_CONTENT... + d c 86 + d XML_ERR_ENTITY_CHAR_ERROR... + d c 87 + d XML_ERR_ENTITY_PE_INTERNAL... + d c 88 + d XML_ERR_ENTITY_LOOP... + d c 89 + d XML_ERR_ENTITY_BOUNDARY... + d c 90 + d XML_ERR_INVALID_URI... + d c 91 + d XML_ERR_URI_FRAGMENT... + d c 92 + d XML_WAR_CATALOG_PI... + d c 93 + d XML_ERR_NO_DTD... + d c 94 + d XML_ERR_CONDSEC_INVALID_KEYWORD... + d c 95 + d XML_ERR_VERSION_MISSING... + d c 96 + d XML_WAR_UNKNOWN_VERSION... + d c 97 + d XML_WAR_LANG_VALUE... + d c 98 + d XML_WAR_NS_URI... + d c 99 + d XML_WAR_NS_URI_RELATIVE... + d c 100 + d XML_ERR_MISSING_ENCODING... + d c 101 + d XML_WAR_SPACE_VALUE... + d c 102 + d XML_ERR_NOT_STANDALONE... + d c 103 + d XML_ERR_ENTITY_PROCESSING... + d c 104 + d XML_ERR_NOTATION_PROCESSING... + d c 105 + d XML_WAR_NS_COLUMN... + d c 106 + d XML_WAR_ENTITY_REDEFINED... + d c 107 + d XML_ERR_UNKNOWN_VERSION... + d c 108 + d XML_ERR_VERSION_MISMATCH... + d c 109 + d XML_ERR_NAME_TOO_LONG... + d c 110 + d XML_ERR_USER_STOP... + d c 111 + d XML_NS_ERR_XML_NAMESPACE... + d c 200 + d XML_NS_ERR_UNDEFINED_NAMESPACE... + d c 201 + d XML_NS_ERR_QNAME... + d c 202 + d XML_NS_ERR_ATTRIBUTE_REDEFINED... + d c 203 + d XML_NS_ERR_EMPTY... + d c 204 + d XML_NS_ERR_COLON... + d c 205 + d XML_DTD_ATTRIBUTE_DEFAULT... + d c 500 + d XML_DTD_ATTRIBUTE_REDEFINED... + d c 501 + d XML_DTD_ATTRIBUTE_VALUE... + d c 502 + d XML_DTD_CONTENT_ERROR... + d c 503 + d XML_DTD_CONTENT_MODEL... + d c 504 + d XML_DTD_CONTENT_NOT_DETERMINIST... + d c 505 + d XML_DTD_DIFFERENT_PREFIX... + d c 506 + d XML_DTD_ELEM_DEFAULT_NAMESPACE... + d c 507 + d XML_DTD_ELEM_NAMESPACE... + d c 508 + d XML_DTD_ELEM_REDEFINED... + d c 509 + d XML_DTD_EMPTY_NOTATION... + d c 510 + d XML_DTD_ENTITY_TYPE... + d c 511 + d XML_DTD_ID_FIXED... + d c 512 + d XML_DTD_ID_REDEFINED... + d c 513 + d XML_DTD_ID_SUBSET... + d c 514 + d XML_DTD_INVALID_CHILD... + d c 515 + d XML_DTD_INVALID_DEFAULT... + d c 516 + d XML_DTD_LOAD_ERROR... + d c 517 + d XML_DTD_MISSING_ATTRIBUTE... + d c 518 + d XML_DTD_MIXED_CORRUPT... + d c 519 + d XML_DTD_MULTIPLE_ID... + d c 520 + d XML_DTD_NO_DOC... + d c 521 + d XML_DTD_NO_DTD... + d c 522 + d XML_DTD_NO_ELEM_NAME... + d c 523 + d XML_DTD_NO_PREFIX... + d c 524 + d XML_DTD_NO_ROOT... + d c 525 + d XML_DTD_NOTATION_REDEFINED... + d c 526 + d XML_DTD_NOTATION_VALUE... + d c 527 + d XML_DTD_NOT_EMPTY... + d c 528 + d XML_DTD_NOT_PCDATA... + d c 529 + d XML_DTD_NOT_STANDALONE... + d c 530 + d XML_DTD_ROOT_NAME... + d c 531 + d XML_DTD_STANDALONE_WHITE_SPACE... + d c 532 + d XML_DTD_UNKNOWN_ATTRIBUTE... + d c 533 + d XML_DTD_UNKNOWN_ELEM... + d c 534 + d XML_DTD_UNKNOWN_ENTITY... + d c 535 + d XML_DTD_UNKNOWN_ID... + d c 536 + d XML_DTD_UNKNOWN_NOTATION... + d c 537 + d XML_DTD_STANDALONE_DEFAULTED... + d c 538 + d XML_DTD_XMLID_VALUE... + d c 539 + d XML_DTD_XMLID_TYPE... + d c 540 + d XML_DTD_DUP_TOKEN... + d c 541 + d XML_HTML_STRUCURE_ERROR... + d c 800 + d XML_HTML_UNKNOWN_TAG... + d c 801 + d XML_RNGP_ANYNAME_ATTR_ANCESTOR... + d c 1000 + d XML_RNGP_ATTR_CONFLICT... + d c 1001 + d XML_RNGP_ATTRIBUTE_CHILDREN... + d c 1002 + d XML_RNGP_ATTRIBUTE_CONTENT... + d c 1003 + d XML_RNGP_ATTRIBUTE_EMPTY... + d c 1004 + d XML_RNGP_ATTRIBUTE_NOOP... + d c 1005 + d XML_RNGP_CHOICE_CONTENT... + d c 1006 + d XML_RNGP_CHOICE_EMPTY... + d c 1007 + d XML_RNGP_CREATE_FAILURE... + d c 1008 + d XML_RNGP_DATA_CONTENT... + d c 1009 + d XML_RNGP_DEF_CHOICE_AND_INTERLEAVE... + d c 1010 + d XML_RNGP_DEFINE_CREATE_FAILED... + d c 1011 + d XML_RNGP_DEFINE_EMPTY... + d c 1012 + d XML_RNGP_DEFINE_MISSING... + d c 1013 + d XML_RNGP_DEFINE_NAME_MISSING... + d c 1014 + d XML_RNGP_ELEM_CONTENT_EMPTY... + d c 1015 + d XML_RNGP_ELEM_CONTENT_ERROR... + d c 1016 + d XML_RNGP_ELEMENT_EMPTY... + d c 1017 + d XML_RNGP_ELEMENT_CONTENT... + d c 1018 + d XML_RNGP_ELEMENT_NAME... + d c 1019 + d XML_RNGP_ELEMENT_NO_CONTENT... + d c 1020 + d XML_RNGP_ELEM_TEXT_CONFLICT... + d c 1021 + d XML_RNGP_EMPTY... + d c 1022 + d XML_RNGP_EMPTY_CONSTRUCT... + d c 1023 + d XML_RNGP_EMPTY_CONTENT... + d c 1024 + d XML_RNGP_EMPTY_NOT_EMPTY... + d c 1025 + d XML_RNGP_ERROR_TYPE_LIB... + d c 1026 + d XML_RNGP_EXCEPT_EMPTY... + d c 1027 + d XML_RNGP_EXCEPT_MISSING... + d c 1028 + d XML_RNGP_EXCEPT_MULTIPLE... + d c 1029 + d XML_RNGP_EXCEPT_NO_CONTENT... + d c 1030 + d XML_RNGP_EXTERNALREF_EMTPY... + d c 1031 + d XML_RNGP_EXTERNAL_REF_FAILURE... + d c 1032 + d XML_RNGP_EXTERNALREF_RECURSE... + d c 1033 + d XML_RNGP_FORBIDDEN_ATTRIBUTE... + d c 1034 + d XML_RNGP_FOREIGN_ELEMENT... + d c 1035 + d XML_RNGP_GRAMMAR_CONTENT... + d c 1036 + d XML_RNGP_GRAMMAR_EMPTY... + d c 1037 + d XML_RNGP_GRAMMAR_MISSING... + d c 1038 + d XML_RNGP_GRAMMAR_NO_START... + d c 1039 + d XML_RNGP_GROUP_ATTR_CONFLICT... + d c 1040 + d XML_RNGP_HREF_ERROR... + d c 1041 + d XML_RNGP_INCLUDE_EMPTY... + d c 1042 + d XML_RNGP_INCLUDE_FAILURE... + d c 1043 + d XML_RNGP_INCLUDE_RECURSE... + d c 1044 + d XML_RNGP_INTERLEAVE_ADD... + d c 1045 + d XML_RNGP_INTERLEAVE_CREATE_FAILED... + d c 1046 + d XML_RNGP_INTERLEAVE_EMPTY... + d c 1047 + d XML_RNGP_INTERLEAVE_NO_CONTENT... + d c 1048 + d XML_RNGP_INVALID_DEFINE_NAME... + d c 1049 + d XML_RNGP_INVALID_URI... + d c 1050 + d XML_RNGP_INVALID_VALUE... + d c 1051 + d XML_RNGP_MISSING_HREF... + d c 1052 + d XML_RNGP_NAME_MISSING... + d c 1053 + d XML_RNGP_NEED_COMBINE... + d c 1054 + d XML_RNGP_NOTALLOWED_NOT_EMPTY... + d c 1055 + d XML_RNGP_NSNAME_ATTR_ANCESTOR... + d c 1056 + d XML_RNGP_NSNAME_NO_NS... + d c 1057 + d XML_RNGP_PARAM_FORBIDDEN... + d c 1058 + d XML_RNGP_PARAM_NAME_MISSING... + d c 1059 + d XML_RNGP_PARENTREF_CREATE_FAILED... + d c 1060 + d XML_RNGP_PARENTREF_NAME_INVALID... + d c 1061 + d XML_RNGP_PARENTREF_NO_NAME... + d c 1062 + d XML_RNGP_PARENTREF_NO_PARENT... + d c 1063 + d XML_RNGP_PARENTREF_NOT_EMPTY... + d c 1064 + d XML_RNGP_PARSE_ERROR... + d c 1065 + d XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME... + d c 1066 + d XML_RNGP_PAT_ATTR_ATTR... + d c 1067 + d XML_RNGP_PAT_ATTR_ELEM... + d c 1068 + d XML_RNGP_PAT_DATA_EXCEPT_ATTR... + d c 1069 + d XML_RNGP_PAT_DATA_EXCEPT_ELEM... + d c 1070 + d XML_RNGP_PAT_DATA_EXCEPT_EMPTY... + d c 1071 + d XML_RNGP_PAT_DATA_EXCEPT_GROUP... + d c 1072 + d XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE... + d c 1073 + d XML_RNGP_PAT_DATA_EXCEPT_LIST... + d c 1074 + d XML_RNGP_PAT_DATA_EXCEPT_ONEMORE... + d c 1075 + d XML_RNGP_PAT_DATA_EXCEPT_REF... + d c 1076 + d XML_RNGP_PAT_DATA_EXCEPT_TEXT... + d c 1077 + d XML_RNGP_PAT_LIST_ATTR... + d c 1078 + d XML_RNGP_PAT_LIST_ELEM... + d c 1079 + d XML_RNGP_PAT_LIST_INTERLEAVE... + d c 1080 + d XML_RNGP_PAT_LIST_LIST... + d c 1081 + d XML_RNGP_PAT_LIST_REF... + d c 1082 + d XML_RNGP_PAT_LIST_TEXT... + d c 1083 + d XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME... + d c 1084 + d XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME... + d c 1085 + d XML_RNGP_PAT_ONEMORE_GROUP_ATTR... + d c 1086 + d XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR... + d c 1087 + d XML_RNGP_PAT_START_ATTR... + d c 1088 + d XML_RNGP_PAT_START_DATA... + d c 1089 + d XML_RNGP_PAT_START_EMPTY... + d c 1090 + d XML_RNGP_PAT_START_GROUP... + d c 1091 + d XML_RNGP_PAT_START_INTERLEAVE... + d c 1092 + d XML_RNGP_PAT_START_LIST... + d c 1093 + d XML_RNGP_PAT_START_ONEMORE... + d c 1094 + d XML_RNGP_PAT_START_TEXT... + d c 1095 + d XML_RNGP_PAT_START_VALUE... + d c 1096 + d XML_RNGP_PREFIX_UNDEFINED... + d c 1097 + d XML_RNGP_REF_CREATE_FAILED... + d c 1098 + d XML_RNGP_REF_CYCLE... + d c 1099 + d XML_RNGP_REF_NAME_INVALID... + d c 1100 + d XML_RNGP_REF_NO_DEF... + d c 1101 + d XML_RNGP_REF_NO_NAME... + d c 1102 + d XML_RNGP_REF_NOT_EMPTY... + d c 1103 + d XML_RNGP_START_CHOICE_AND_INTERLEAVE... + d c 1104 + d XML_RNGP_START_CONTENT... + d c 1105 + d XML_RNGP_START_EMPTY... + d c 1106 + d XML_RNGP_START_MISSING... + d c 1107 + d XML_RNGP_TEXT_EXPECTED... + d c 1108 + d XML_RNGP_TEXT_HAS_CHILD... + d c 1109 + d XML_RNGP_TYPE_MISSING... + d c 1110 + d XML_RNGP_TYPE_NOT_FOUND... + d c 1111 + d XML_RNGP_TYPE_VALUE... + d c 1112 + d XML_RNGP_UNKNOWN_ATTRIBUTE... + d c 1113 + d XML_RNGP_UNKNOWN_COMBINE... + d c 1114 + d XML_RNGP_UNKNOWN_CONSTRUCT... + d c 1115 + d XML_RNGP_UNKNOWN_TYPE_LIB... + d c 1116 + d XML_RNGP_URI_FRAGMENT... + d c 1117 + d XML_RNGP_URI_NOT_ABSOLUTE... + d c 1118 + d XML_RNGP_VALUE_EMPTY... + d c 1119 + d XML_RNGP_VALUE_NO_CONTENT... + d c 1120 + d XML_RNGP_XMLNS_NAME... + d c 1121 + d XML_RNGP_XML_NS... + d c 1122 + d XML_XPATH_EXPRESSION_OK... + d c 1200 + d XML_XPATH_NUMBER_ERROR... + d c 1201 + d XML_XPATH_UNFINISHED_LITERAL_ERROR... + d c 1202 + d XML_XPATH_START_LITERAL_ERROR... + d c 1203 + d XML_XPATH_VARIABLE_REF_ERROR... + d c 1204 + d XML_XPATH_UNDEF_VARIABLE_ERROR... + d c 1205 + d XML_XPATH_INVALID_PREDICATE_ERROR... + d c 1206 + d XML_XPATH_EXPR_ERROR... + d c 1207 + d XML_XPATH_UNCLOSED_ERROR... + d c 1208 + d XML_XPATH_UNKNOWN_FUNC_ERROR... + d c 1209 + d XML_XPATH_INVALID_OPERAND... + d c 1210 + d XML_XPATH_INVALID_TYPE... + d c 1211 + d XML_XPATH_INVALID_ARITY... + d c 1212 + d XML_XPATH_INVALID_CTXT_SIZE... + d c 1213 + d XML_XPATH_INVALID_CTXT_POSITION... + d c 1214 + d XML_XPATH_MEMORY_ERROR... + d c 1215 + d XML_XPTR_SYNTAX_ERROR... + d c 1216 + d XML_XPTR_RESOURCE_ERROR... + d c 1217 + d XML_XPTR_SUB_RESOURCE_ERROR... + d c 1218 + d XML_XPATH_UNDEF_PREFIX_ERROR... + d c 1219 + d XML_XPATH_ENCODING_ERROR... + d c 1220 + d XML_XPATH_INVALID_CHAR_ERROR... + d c 1231 + d XML_TREE_INVALID_HEX... + d c 1300 + d XML_TREE_INVALID_DEC... + d c 1301 + d XML_TREE_UNTERMINATED_ENTITY... + d c 1302 + d XML_TREE_NOT_UTF8... + d c 1303 + d XML_SAVE_NOT_UTF8... + d c 1400 + d XML_SAVE_CHAR_INVALID... + d c 1401 + d XML_SAVE_NO_DOCTYPE... + d c 1402 + d XML_SAVE_UNKNOWN_ENCODING... + d c 1403 + d XML_REGEXP_COMPILE_ERROR... + d c 1403 + d XML_IO_UNKNOWN... + d c 1500 + d XML_IO_EACCES c 1501 + d XML_IO_EAGAIN c 1502 + d XML_IO_EBADF c 1503 + d XML_IO_EBADMSG... + d c 1504 + d XML_IO_EBUSY c 1505 + d XML_IO_ECANCELED... + d c 1506 + d XML_IO_ECHILD c 1507 + d XML_IO_EDEADLK... + d c 1508 + d XML_IO_EDOM c 1509 + d XML_IO_EEXIST c 1510 + d XML_IO_EFAULT c 1511 + d XML_IO_EFBIG c 1512 + d XML_IO_EINPROGRESS... + d c 1513 + d XML_IO_EINTR c 1514 + d XML_IO_EINVAL c 1515 + d XML_IO_EIO c 1516 + d XML_IO_EISDIR c 1517 + d XML_IO_EMFILE c 1518 + d XML_IO_EMLINK c 1519 + d XML_IO_EMSGSIZE... + d c 1520 + d XML_IO_ENAMETOOLONG... + d c 1521 + d XML_IO_ENFILE c 1522 + d XML_IO_ENODEV c 1523 + d XML_IO_ENOENT c 1524 + d XML_IO_ENOEXEC... + d c 1525 + d XML_IO_ENOLCK c 1526 + d XML_IO_ENOMEM c 1527 + d XML_IO_ENOSPC c 1528 + d XML_IO_ENOSYS c 1529 + d XML_IO_ENOTDIR... + d c 1530 + d XML_IO_ENOTEMPTY... + d c 1531 + d XML_IO_ENOTSUP... + d c 1532 + d XML_IO_ENOTTY c 1533 + d XML_IO_ENXIO c 1534 + d XML_IO_EPERM c 1535 + d XML_IO_EPIPE c 1536 + d XML_IO_ERANGE c 1537 + d XML_IO_EROFS c 1538 + d XML_IO_ESPIPE c 1539 + d XML_IO_ESRCH c 1540 + d XML_IO_ETIMEDOUT... + d c 1541 + d XML_IO_EXDEV c 1542 + d XML_IO_NETWORK_ATTEMPT... + d c 1543 + d XML_IO_ENCODER... + d c 1544 + d XML_IO_FLUSH c 1545 + d XML_IO_WRITE c 1546 + d XML_IO_NO_INPUT... + d c 1547 + d XML_IO_BUFFER_FULL... + d c 1548 + d XML_IO_LOAD_ERROR... + d c 1549 + d XML_IO_ENOTSOCK... + d c 1550 + d XML_IO_EISCONN... + d c 1551 + d XML_IO_ECONNREFUSED... + d c 1552 + d XML_IO_ENETUNREACH... + d c 1553 + d XML_IO_EADDRINUSE... + d c 1554 + d XML_IO_EALREADY... + d c 1555 + d XML_IO_EAFNOSUPPORT... + d c 1556 + d XML_XINCLUDE_RECURSION... + d c 1600 + d XML_XINCLUDE_PARSE_VALUE... + d c 1601 + d XML_XINCLUDE_ENTITY_DEF_MISMATCH... + d c 1602 + d XML_XINCLUDE_NO_HREF... + d c 1603 + d XML_XINCLUDE_NO_FALLBACK... + d c 1604 + d XML_XINCLUDE_HREF_URI... + d c 1605 + d XML_XINCLUDE_TEXT_FRAGMENT... + d c 1606 + d XML_XINCLUDE_TEXT_DOCUMENT... + d c 1607 + d XML_XINCLUDE_INVALID_CHAR... + d c 1608 + d XML_XINCLUDE_BUILD_FAILED... + d c 1609 + d XML_XINCLUDE_UNKNOWN_ENCODING... + d c 1610 + d XML_XINCLUDE_MULTIPLE_ROOT... + d c 1611 + d XML_XINCLUDE_XPTR_FAILED... + d c 1612 + d XML_XINCLUDE_XPTR_RESULT... + d c 1613 + d XML_XINCLUDE_INCLUDE_IN_INCLUDE... + d c 1614 + d XML_XINCLUDE_FALLBACKS_IN_INCLUDE... + d c 1615 + d XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE... + d c 1616 + d XML_XINCLUDE_DEPRECATED_NS... + d c 1617 + d XML_XINCLUDE_FRAGMENT_ID... + d c 1618 + d XML_CATALOG_MISSING_ATTR... + d c 1650 + d XML_CATALOG_ENTRY_BROKEN... + d c 1651 + d XML_CATALOG_PREFER_VALUE... + d c 1652 + d XML_CATALOG_NOT_CATALOG... + d c 1653 + d XML_CATALOG_RECURSION... + d c 1654 + d XML_SCHEMAP_PREFIX_UNDEFINED... + d c 1700 + d XML_SCHEMAP_ATTRFORMDEFAULT_VALUE... + d c 1701 + d XML_SCHEMAP_ATTRGRP_NONAME_NOREF... + d c 1702 + d XML_SCHEMAP_ATTR_NONAME_NOREF... + d c 1703 + d XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF... + d c 1704 + d XML_SCHEMAP_ELEMFORMDEFAULT_VALUE... + d c 1705 + d XML_SCHEMAP_ELEM_NONAME_NOREF... + d c 1706 + d XML_SCHEMAP_EXTENSION_NO_BASE... + d c 1707 + d XML_SCHEMAP_FACET_NO_VALUE... + d c 1708 + d XML_SCHEMAP_FAILED_BUILD_IMPORT... + d c 1709 + d XML_SCHEMAP_GROUP_NONAME_NOREF... + d c 1710 + d XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI... + d c 1711 + d XML_SCHEMAP_IMPORT_REDEFINE_NSNAME... + d c 1712 + d XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI... + d c 1713 + d XML_SCHEMAP_INVALID_BOOLEAN... + d c 1714 + d XML_SCHEMAP_INVALID_ENUM... + d c 1715 + d XML_SCHEMAP_INVALID_FACET... + d c 1716 + d XML_SCHEMAP_INVALID_FACET_VALUE... + d c 1717 + d XML_SCHEMAP_INVALID_MAXOCCURS... + d c 1718 + d XML_SCHEMAP_INVALID_MINOCCURS... + d c 1719 + d XML_SCHEMAP_INVALID_REF_AND_SUBTYPE... + d c 1720 + d XML_SCHEMAP_INVALID_WHITE_SPACE... + d c 1721 + d XML_SCHEMAP_NOATTR_NOREF... + d c 1722 + d XML_SCHEMAP_NOTATION_NO_NAME... + d c 1723 + d XML_SCHEMAP_NOTYPE_NOREF... + d c 1724 + d XML_SCHEMAP_REF_AND_SUBTYPE... + d c 1725 + d XML_SCHEMAP_RESTRICTION_NONAME_NOREF... + d c 1726 + d XML_SCHEMAP_SIMPLETYPE_NONAME... + d c 1727 + d XML_SCHEMAP_TYPE_AND_SUBTYPE... + d c 1728 + d XML_SCHEMAP_UNKNOWN_ALL_CHILD... + d c 1729 + d XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD... + d c 1730 + d XML_SCHEMAP_UNKNOWN_ATTR_CHILD... + d c 1731 + d XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD... + d c 1732 + d XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP... + d c 1733 + d XML_SCHEMAP_UNKNOWN_BASE_TYPE... + d c 1734 + d XML_SCHEMAP_UNKNOWN_CHOICE_CHILD... + d c 1735 + d XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD... + d c 1736 + d XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD... + d c 1737 + d XML_SCHEMAP_UNKNOWN_ELEM_CHILD... + d c 1738 + d XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD... + d c 1739 + d XML_SCHEMAP_UNKNOWN_FACET_CHILD... + d c 1740 + d XML_SCHEMAP_UNKNOWN_FACET_TYPE... + d c 1741 + d XML_SCHEMAP_UNKNOWN_GROUP_CHILD... + d c 1742 + d XML_SCHEMAP_UNKNOWN_IMPORT_CHILD... + d c 1743 + d XML_SCHEMAP_UNKNOWN_LIST_CHILD... + d c 1744 + d XML_SCHEMAP_UNKNOWN_NOTATION_CHILD... + d c 1745 + d XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD... + d c 1746 + d XML_SCHEMAP_UNKNOWN_REF... + d c 1747 + d XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD... + d c 1748 + d XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD... + d c 1749 + d XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD... + d c 1750 + d XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD... + d c 1751 + d XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD... + d c 1752 + d XML_SCHEMAP_UNKNOWN_TYPE... + d c 1753 + d XML_SCHEMAP_UNKNOWN_UNION_CHILD... + d c 1754 + d XML_SCHEMAP_ELEM_DEFAULT_FIXED... + d c 1755 + d XML_SCHEMAP_REGEXP_INVALID... + d c 1756 + d XML_SCHEMAP_FAILED_LOAD... + d c 1757 + d XML_SCHEMAP_NOTHING_TO_PARSE... + d c 1758 + d XML_SCHEMAP_NOROOT... + d c 1759 + d XML_SCHEMAP_REDEFINED_GROUP... + d c 1760 + d XML_SCHEMAP_REDEFINED_TYPE... + d c 1761 + d XML_SCHEMAP_REDEFINED_ELEMENT... + d c 1762 + d XML_SCHEMAP_REDEFINED_ATTRGROUP... + d c 1763 + d XML_SCHEMAP_REDEFINED_ATTR... + d c 1764 + d XML_SCHEMAP_REDEFINED_NOTATION... + d c 1765 + d XML_SCHEMAP_FAILED_PARSE... + d c 1766 + d XML_SCHEMAP_UNKNOWN_PREFIX... + d c 1767 + d XML_SCHEMAP_DEF_AND_PREFIX... + d c 1768 + d XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD... + d c 1769 + d XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI... + d c 1770 + d XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI... + d c 1771 + d XML_SCHEMAP_NOT_SCHEMA... + d c 1772 + d XML_SCHEMAP_UNKNOWN_MEMBER_TYPE... + d c 1773 + d XML_SCHEMAP_INVALID_ATTR_USE... + d c 1774 + d XML_SCHEMAP_RECURSIVE... + d c 1775 + d XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE... + d c 1776 + d XML_SCHEMAP_INVALID_ATTR_COMBINATION... + d c 1777 + d XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION... + d c 1778 + d XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD... + d c 1779 + d XML_SCHEMAP_INVALID_ATTR_NAME... + d c 1780 + d XML_SCHEMAP_REF_AND_CONTENT... + d c 1781 + d XML_SCHEMAP_CT_PROPS_CORRECT_1... + d c 1782 + d XML_SCHEMAP_CT_PROPS_CORRECT_2... + d c 1783 + d XML_SCHEMAP_CT_PROPS_CORRECT_3... + d c 1784 + d XML_SCHEMAP_CT_PROPS_CORRECT_4... + d c 1785 + d XML_SCHEMAP_CT_PROPS_CORRECT_5... + d c 1786 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1... + d c 1787 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1... + d c 1788 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2... + d c 1789 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2... + d c 1790 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3... + d c 1791 + d XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER... + d c 1792 + d XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE... + d c 1793 + d XML_SCHEMAP_UNION_NOT_EXPRESSIBLE... + d c 1794 + d XML_SCHEMAP_SRC_IMPORT_3_1... + d c 1795 + d XML_SCHEMAP_SRC_IMPORT_3_2... + d c 1796 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1... + d c 1797 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2... + d c 1798 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3... + d c 1799 + d XML_SCHEMAP_COS_CT_EXTENDS_1_3... + d c 1800 + d XML_SCHEMAV_NOROOT... + d c 1801 + d XML_SCHEMAV_UNDECLAREDELEM... + d c 1802 + d XML_SCHEMAV_NOTTOPLEVEL... + d c 1803 + d XML_SCHEMAV_MISSING... + d c 1804 + d XML_SCHEMAV_WRONGELEM... + d c 1805 + d XML_SCHEMAV_NOTYPE... + d c 1806 + d XML_SCHEMAV_NOROLLBACK... + d c 1807 + d XML_SCHEMAV_ISABSTRACT... + d c 1808 + d XML_SCHEMAV_NOTEMPTY... + d c 1809 + d XML_SCHEMAV_ELEMCONT... + d c 1810 + d XML_SCHEMAV_HAVEDEFAULT... + d c 1811 + d XML_SCHEMAV_NOTNILLABLE... + d c 1812 + d XML_SCHEMAV_EXTRACONTENT... + d c 1813 + d XML_SCHEMAV_INVALIDATTR... + d c 1814 + d XML_SCHEMAV_INVALIDELEM... + d c 1815 + d XML_SCHEMAV_NOTDETERMINIST... + d c 1816 + d XML_SCHEMAV_CONSTRUCT... + d c 1817 + d XML_SCHEMAV_INTERNAL... + d c 1818 + d XML_SCHEMAV_NOTSIMPLE... + d c 1819 + d XML_SCHEMAV_ATTRUNKNOWN... + d c 1820 + d XML_SCHEMAV_ATTRINVALID... + d c 1821 + d XML_SCHEMAV_VALUE... + d c 1822 + d XML_SCHEMAV_FACET... + d c 1823 + d XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1... + d c 1824 + d XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2... + d c 1825 + d XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3... + d c 1826 + d XML_SCHEMAV_CVC_TYPE_3_1_1... + d c 1827 + d XML_SCHEMAV_CVC_TYPE_3_1_2... + d c 1828 + d XML_SCHEMAV_CVC_FACET_VALID... + d c 1829 + d XML_SCHEMAV_CVC_LENGTH_VALID... + d c 1830 + d XML_SCHEMAV_CVC_MINLENGTH_VALID... + d c 1831 + d XML_SCHEMAV_CVC_MAXLENGTH_VALID... + d c 1832 + d XML_SCHEMAV_CVC_MININCLUSIVE_VALID... + d c 1833 + d XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID... + d c 1834 + d XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID... + d c 1835 + d XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID... + d c 1836 + d XML_SCHEMAV_CVC_TOTALDIGITS_VALID... + d c 1837 + d XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID... + d c 1838 + d XML_SCHEMAV_CVC_PATTERN_VALID... + d c 1839 + d XML_SCHEMAV_CVC_ENUMERATION_VALID... + d c 1840 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1... + d c 1841 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2... + d c 1842 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3... + d c 1843 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4... + d c 1844 + d XML_SCHEMAV_CVC_ELT_1... + d c 1845 + d XML_SCHEMAV_CVC_ELT_2... + d c 1846 + d XML_SCHEMAV_CVC_ELT_3_1... + d c 1847 + d XML_SCHEMAV_CVC_ELT_3_2_1... + d c 1848 + d XML_SCHEMAV_CVC_ELT_3_2_2... + d c 1849 + d XML_SCHEMAV_CVC_ELT_4_1... + d c 1850 + d XML_SCHEMAV_CVC_ELT_4_2... + d c 1851 + d XML_SCHEMAV_CVC_ELT_4_3... + d c 1852 + d XML_SCHEMAV_CVC_ELT_5_1_1... + d c 1853 + d XML_SCHEMAV_CVC_ELT_5_1_2... + d c 1854 + d XML_SCHEMAV_CVC_ELT_5_2_1... + d c 1855 + d XML_SCHEMAV_CVC_ELT_5_2_2_1... + d c 1856 + d XML_SCHEMAV_CVC_ELT_5_2_2_2_1... + d c 1857 + d XML_SCHEMAV_CVC_ELT_5_2_2_2_2... + d c 1858 + d XML_SCHEMAV_CVC_ELT_6... + d c 1859 + d XML_SCHEMAV_CVC_ELT_7... + d c 1860 + d XML_SCHEMAV_CVC_ATTRIBUTE_1... + d c 1861 + d XML_SCHEMAV_CVC_ATTRIBUTE_2... + d c 1862 + d XML_SCHEMAV_CVC_ATTRIBUTE_3... + d c 1863 + d XML_SCHEMAV_CVC_ATTRIBUTE_4... + d c 1864 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1... + d c 1865 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1... + d c 1866 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2... + d c 1867 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_4... + d c 1868 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1... + d c 1869 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2... + d c 1870 + d XML_SCHEMAV_ELEMENT_CONTENT... + d c 1871 + d XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING... + d c 1872 + d XML_SCHEMAV_CVC_COMPLEX_TYPE_1... + d c 1873 + d XML_SCHEMAV_CVC_AU... + d c 1874 + d XML_SCHEMAV_CVC_TYPE_1... + d c 1875 + d XML_SCHEMAV_CVC_TYPE_2... + d c 1876 + d XML_SCHEMAV_CVC_IDC... + d c 1877 + d XML_SCHEMAV_CVC_WILDCARD... + d c 1878 + d XML_SCHEMAV_MISC... + d c 1879 + d XML_XPTR_UNKNOWN_SCHEME... + d c 1900 + d XML_XPTR_CHILDSEQ_START... + d c 1901 + d XML_XPTR_EVAL_FAILED... + d c 1902 + d XML_XPTR_EXTRA_OBJECTS... + d c 1903 + d XML_C14N_CREATE_CTXT... + d c 1950 + d XML_C14N_REQUIRES_UTF8... + d c 1951 + d XML_C14N_CREATE_STACK... + d c 1952 + d XML_C14N_INVALID_NODE... + d c 1953 + d XML_C14N_UNKNOW_NODE... + d c 1954 + d XML_C14N_RELATIVE_NAMESPACE... + d c 1955 + d XML_FTP_PASV_ANSWER... + d c 2000 + d XML_FTP_EPSV_ANSWER... + d c 2001 + d XML_FTP_ACCNT... + d c 2002 + d XML_FTP_URL_SYNTAX... + d c 2003 + d XML_HTTP_URL_SYNTAX... + d c 2020 + d XML_HTTP_USE_IP... + d c 2021 + d XML_HTTP_UNKNOWN_HOST... + d c 2022 + d XML_SCHEMAP_SRC_SIMPLE_TYPE_1... + d c 3000 + d XML_SCHEMAP_SRC_SIMPLE_TYPE_2... + d c 3001 + d XML_SCHEMAP_SRC_SIMPLE_TYPE_3... + d c 3002 + d XML_SCHEMAP_SRC_SIMPLE_TYPE_4... + d c 3003 + d XML_SCHEMAP_SRC_RESOLVE... + d c 3004 + d XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE... + d c 3005 + d XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE... + d c 3006 + d XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES... + d c 3007 + d XML_SCHEMAP_ST_PROPS_CORRECT_1... + d c 3008 + d XML_SCHEMAP_ST_PROPS_CORRECT_2... + d c 3009 + d XML_SCHEMAP_ST_PROPS_CORRECT_3... + d c 3010 + d XML_SCHEMAP_COS_ST_RESTRICTS_1_1... + d c 3011 + d XML_SCHEMAP_COS_ST_RESTRICTS_1_2... + d c 3012 + d XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1... + d c 3013 + d XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2... + d c 3014 + d XML_SCHEMAP_COS_ST_RESTRICTS_2_1... + d c 3015 + d XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1... + d c 3016 + d XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2... + d c 3017 + d XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1... + d c 3018 + d XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2... + d c 3019 + d XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3... + d c 3020 + d XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4... + d c 3021 + d XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5... + d c 3022 + d XML_SCHEMAP_COS_ST_RESTRICTS_3_1... + d c 3023 + d XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1... + d c 3024 + d XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2... + d c 3025 + d XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2... + d c 3026 + d XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1... + d c 3027 + d XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3... + d c 3028 + d XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4... + d c 3029 + d XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5... + d c 3030 + d XML_SCHEMAP_COS_ST_DERIVED_OK_2_1... + d c 3031 + d XML_SCHEMAP_COS_ST_DERIVED_OK_2_2... + d c 3032 + d XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED... + d c 3033 + d XML_SCHEMAP_S4S_ELEM_MISSING... + d c 3034 + d XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED... + d c 3035 + d XML_SCHEMAP_S4S_ATTR_MISSING... + d c 3036 + d XML_SCHEMAP_S4S_ATTR_INVALID_VALUE... + d c 3037 + d XML_SCHEMAP_SRC_ELEMENT_1... + d c 3038 + d XML_SCHEMAP_SRC_ELEMENT_2_1... + d c 3039 + d XML_SCHEMAP_SRC_ELEMENT_2_2... + d c 3040 + d XML_SCHEMAP_SRC_ELEMENT_3... + d c 3041 + d XML_SCHEMAP_P_PROPS_CORRECT_1... + d c 3042 + d XML_SCHEMAP_P_PROPS_CORRECT_2_1... + d c 3043 + d XML_SCHEMAP_P_PROPS_CORRECT_2_2... + d c 3044 + d XML_SCHEMAP_E_PROPS_CORRECT_2... + d c 3045 + d XML_SCHEMAP_E_PROPS_CORRECT_3... + d c 3046 + d XML_SCHEMAP_E_PROPS_CORRECT_4... + d c 3047 + d XML_SCHEMAP_E_PROPS_CORRECT_5... + d c 3048 + d XML_SCHEMAP_E_PROPS_CORRECT_6... + d c 3049 + d XML_SCHEMAP_SRC_INCLUDE... + d c 3050 + d XML_SCHEMAP_SRC_ATTRIBUTE_1... + d c 3051 + d XML_SCHEMAP_SRC_ATTRIBUTE_2... + d c 3052 + d XML_SCHEMAP_SRC_ATTRIBUTE_3_1... + d c 3053 + d XML_SCHEMAP_SRC_ATTRIBUTE_3_2... + d c 3054 + d XML_SCHEMAP_SRC_ATTRIBUTE_4... + d c 3055 + d XML_SCHEMAP_NO_XMLNS... + d c 3056 + d XML_SCHEMAP_NO_XSI... + d c 3057 + d XML_SCHEMAP_COS_VALID_DEFAULT_1... + d c 3058 + d XML_SCHEMAP_COS_VALID_DEFAULT_2_1... + d c 3059 + d XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1... + d c 3060 + d XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2... + d c 3061 + d XML_SCHEMAP_CVC_SIMPLE_TYPE... + d c 3062 + d XML_SCHEMAP_COS_CT_EXTENDS_1_1... + d c 3063 + d XML_SCHEMAP_SRC_IMPORT_1_1... + d c 3064 + d XML_SCHEMAP_SRC_IMPORT_1_2... + d c 3065 + d XML_SCHEMAP_SRC_IMPORT_2... + d c 3066 + d XML_SCHEMAP_SRC_IMPORT_2_1... + d c 3067 + d XML_SCHEMAP_SRC_IMPORT_2_2... + d c 3068 + d XML_SCHEMAP_INTERNAL... Non W3C + d c 3069 + d XML_SCHEMAP_NOT_DETERMINISTIC... + d c 3070 + d XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1... + d c 3071 + d XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2... + d c 3072 + d XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3... + d c 3073 + d XML_SCHEMAP_MG_PROPS_CORRECT_1... + d c 3074 + d XML_SCHEMAP_MG_PROPS_CORRECT_2... + d c 3075 + d XML_SCHEMAP_SRC_CT_1... + d c 3076 + d XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3... + d c 3077 + d XML_SCHEMAP_AU_PROPS_CORRECT_2... + d c 3078 + d XML_SCHEMAP_A_PROPS_CORRECT_2... + d c 3079 + d XML_SCHEMAP_C_PROPS_CORRECT... + d c 3080 + d XML_SCHEMAP_SRC_REDEFINE... + d c 3081 + d XML_SCHEMAP_SRC_IMPORT... + d c 3082 + d XML_SCHEMAP_WARN_SKIP_SCHEMA... + d c 3083 + d XML_SCHEMAP_WARN_UNLOCATED_SCHEMA... + d c 3084 + d XML_SCHEMAP_WARN_ATTR_REDECL_PROH... + d c 3085 + d XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH... + d c 3086 + d XML_SCHEMAP_AG_PROPS_CORRECT... + d c 3087 + d XML_SCHEMAP_COS_CT_EXTENDS_1_2... + d c 3088 + d XML_SCHEMAP_AU_PROPS_CORRECT... + d c 3089 + d XML_SCHEMAP_A_PROPS_CORRECT_3... + d c 3090 + d XML_SCHEMAP_COS_ALL_LIMITED... + d c 3091 + d XML_SCHEMATRONV_ASSERT... + d c 4000 + d XML_SCHEMATRONV_REPORT... + d c 4001 + d XML_MODULE_OPEN... + d c 4900 + d XML_MODULE_CLOSE... + d c 4901 + d XML_CHECK_FOUND_ELEMENT... + d c 5000 + d XML_CHECK_FOUND_ATTRIBUTE... + d c 5001 + d XML_CHECK_FOUND_TEXT... + d c 5002 + d XML_CHECK_FOUND_CDATA... + d c 5003 + d XML_CHECK_FOUND_ENTITYREF... + d c 5004 + d XML_CHECK_FOUND_ENTITY... + d c 5005 + d XML_CHECK_FOUND_PI... + d c 5006 + d XML_CHECK_FOUND_COMMENT... + d c 5007 + d XML_CHECK_FOUND_DOCTYPE... + d c 5008 + d XML_CHECK_FOUND_FRAGMENT... + d c 5009 + d XML_CHECK_FOUND_NOTATION... + d c 5010 + d XML_CHECK_UNKNOWN_NODE... + d c 5011 + d XML_CHECK_ENTITY_TYPE... + d c 5012 + d XML_CHECK_NO_PARENT... + d c 5013 + d XML_CHECK_NO_DOC... + d c 5014 + d XML_CHECK_NO_NAME... + d c 5015 + d XML_CHECK_NO_ELEM... + d c 5016 + d XML_CHECK_WRONG_DOC... + d c 5017 + d XML_CHECK_NO_PREV... + d c 5018 + d XML_CHECK_WRONG_PREV... + d c 5019 + d XML_CHECK_NO_NEXT... + d c 5020 + d XML_CHECK_WRONG_NEXT... + d c 5021 + d XML_CHECK_NOT_DTD... + d c 5022 + d XML_CHECK_NOT_ATTR... + d c 5023 + d XML_CHECK_NOT_ATTR_DECL... + d c 5024 + d XML_CHECK_NOT_ELEM_DECL... + d c 5025 + d XML_CHECK_NOT_ENTITY_DECL... + d c 5026 + d XML_CHECK_NOT_NS_DECL... + d c 5027 + d XML_CHECK_NO_HREF... + d c 5028 + d XML_CHECK_WRONG_PARENT... + d c 5029 + d XML_CHECK_NS_SCOPE... + d c 5030 + d XML_CHECK_NS_ANCESTOR... + d c 5031 + d XML_CHECK_NOT_UTF8... + d c 5032 + d XML_CHECK_NO_DICT... + d c 5033 + d XML_CHECK_NOT_NCNAME... + d c 5034 + d XML_CHECK_OUTSIDE_DICT... + d c 5035 + d XML_CHECK_WRONG_NAME... + d c 5036 + d XML_CHECK_NAME_NOT_NULL... + d c 5037 + d XML_I18N_NO_NAME... + d c 6000 + d XML_I18N_NO_HANDLER... + d c 6001 + d XML_I18N_EXCESS_HANDLER... + d c 6002 + d XML_I18N_CONV_FAILED... + d c 6003 + d XML_I18N_NO_OUTPUT... + d c 6004 + d XML_BUF_OVERFLOW... + d c 7000 + + * xmlGenericErrorFunc: + * @ctx: a parsing context + * @msg: the message + * @...: the extra arguments of the varags to format the message + * + * Signature of the function to use when there is an error and + * no parsing or validity context available . + + d xmlGenericErrorFunc... + d s * based(######typedef######) + d procptr + + * xmlStructuredErrorFunc: + * @userData: user provided data for the error callback + * @error: the error being raised. + * + * Signature of the function to use when there is an error and + * the module handles the new error reporting mechanism. + + d xmlStructuredErrorFunc... + d s * based(######typedef######) + d procptr + + * Use the following function to reset the two global variables + * xmlGenericError and xmlGenericErrorContext. + + d xmlSetGenericErrorFunc... + d pr extproc('xmlSetGenericErrorFunc') + d ctx * value void * + d handler value like(xmlGenericErrorFunc) + + d initGenericErrorDefaultFunc... + d pr extproc( + d 'initGenericErrorDefaultFunc') + d handler like(xmlGenericErrorFunc) + + d xmlSetStructuredErrorFunc... + d pr extproc('xmlSetStructuredErrorFunc') + d ctx * value void * + d handler value like(xmlGenericErrorFunc) + + * Default message routines used by SAX and Valid context for error + * and warning reporting. + * + * These are vararg functions. + * The following prototypes support up to 8 pointer arguments. + * Other argument signature can be achieved by defining alternate + * prototypes redirected to the same function. + + d xmlParserError pr extproc('xmlParserError') + d ctx * value void * + d msg * value options(*string) const char * + d handler value like(xmlGenericErrorFunc) + d arg1 * value options(*string: *nopass) + d arg2 * value options(*string: *nopass) + d arg3 * value options(*string: *nopass) + d arg4 * value options(*string: *nopass) + d arg5 * value options(*string: *nopass) + d arg6 * value options(*string: *nopass) + d arg7 * value options(*string: *nopass) + d arg8 * value options(*string: *nopass) + + d xmlParserWarning... + d pr extproc('xmlParserWarning') + d ctx * value void * + d msg * value options(*string) const char * + d handler value like(xmlGenericErrorFunc) + d arg1 * value options(*string: *nopass) + d arg2 * value options(*string: *nopass) + d arg3 * value options(*string: *nopass) + d arg4 * value options(*string: *nopass) + d arg5 * value options(*string: *nopass) + d arg6 * value options(*string: *nopass) + d arg7 * value options(*string: *nopass) + d arg8 * value options(*string: *nopass) + + d xmlParserValidityError... + d pr extproc('xmlParserValidityError') + d ctx * value void * + d msg * value options(*string) const char * + d handler value like(xmlGenericErrorFunc) + d arg1 * value options(*string: *nopass) + d arg2 * value options(*string: *nopass) + d arg3 * value options(*string: *nopass) + d arg4 * value options(*string: *nopass) + d arg5 * value options(*string: *nopass) + d arg6 * value options(*string: *nopass) + d arg7 * value options(*string: *nopass) + d arg8 * value options(*string: *nopass) + + d xmlParserValidityWarning... + d pr extproc('xmlParserValidityWarning') + d ctx * value void * + d msg * value options(*string) const char * + d handler value like(xmlGenericErrorFunc) + d arg1 * value options(*string: *nopass) + d arg2 * value options(*string: *nopass) + d arg3 * value options(*string: *nopass) + d arg4 * value options(*string: *nopass) + d arg5 * value options(*string: *nopass) + d arg6 * value options(*string: *nopass) + d arg7 * value options(*string: *nopass) + d arg8 * value options(*string: *nopass) + + d xmlParserPrintFileInfo... + d pr extproc('xmlParserPrintFileInfo') + d input value like(xmlParserInputPtr) + + d xmlParserPrintFileContext... + d pr extproc('xmlParserPrintFileContext') + d input value like(xmlParserInputPtr) + + * Extended error information routines + + d xmlGetLastError... + d pr extproc('xmlGetLastError') + d like(xmlErrorPtr) + + d xmlResetLastError... + d pr extproc('xmlResetLastError') + + d xmlCtxtGetLastError... + d pr extproc('xmlCtxtGetLastError') + d like(xmlErrorPtr) + d ctx * value void * + + d xmlCtxtResetLastError... + d pr extproc('xmlCtxtResetLastError') + d ctx * value void * + + d xmlResetError pr extproc('xmlResetError') + d err value like(xmlErrorPtr) + + d xmlCopyError pr extproc('xmlCopyError') + d like(xmlCint) + d from value like(xmlErrorPtr) + d to value like(xmlErrorPtr) + + /endif XML_ERROR_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlexports.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlexports.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..d76ad4bd80ccabfb52e1b1cc565309f957a5bc10 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlexports.rpgle @@ -0,0 +1,15 @@ + * Summary: macros for marking symbols as exportable/importable. + * Description: macros for marking symbols as exportable/importable. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_EXPORTS_H__) + /define XML_EXPORTS_H__ + + * The definition in the original C header file are not applicable to + * ILE/RPG. + * Therefore this file is intentionally empty. + + /endif XML_EXPORTS_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlmemory.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlmemory.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..472e941023ee5d7047f5b0a4ec151553eaf65bff --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlmemory.rpgle @@ -0,0 +1,247 @@ + * Summary: interface for the memory allocator + * Description: provides interfaces for the memory allocator, + * including debugging capabilities. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(DEBUG_MEMORY_ALLOC__) + /define DEBUG_MEMORY_ALLOC__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + + * DEBUG_MEMORY: + * + * DEBUG_MEMORY replaces the allocator with a collect and debug + * shell to the libc allocator. + * DEBUG_MEMORY should only be activated when debugging + * libxml i.e. if libxml has been configured with --with-debug-mem too. + + * /define DEBUG_MEMORY_FREED + * /define DEBUG_MEMORY_LOCATION + + /if defined(DEBUG) + /if not defined(DEBUG_MEMORY) + /define DEBUG_MEMORY + /endif + /endif + + * DEBUG_MEMORY_LOCATION: + * + * DEBUG_MEMORY_LOCATION should be activated only when debugging + * libxml i.e. if libxml has been configured with --with-debug-mem too. + + /if defined(DEBUG_MEMORY_LOCATION) + /endif + + * The XML memory wrapper support 4 basic overloadable functions. + + * xmlFreeFunc: + * @mem: an already allocated block of memory + * + * Signature for a free() implementation. + + d xmlFreeFunc s * based(######typedef######) + d procptr + + * xmlMallocFunc: + * @size: the size requested in bytes + * + * Signature for a malloc() implementation. + * + * Returns a pointer to the newly allocated block or NULL in case of error. + + d xmlMallocFunc s * based(######typedef######) + d procptr + + * xmlReallocFunc: + * @mem: an already allocated block of memory + * @size: the new size requested in bytes + * + * Signature for a realloc() implementation. + * + * Returns a pointer to the newly reallocated block or NULL in case of error. + + d xmlReallocFunc s * based(######typedef######) + d procptr + + * xmlStrdupFunc: + * @str: a zero terminated string + * + * Signature for an strdup() implementation. + * + * Returns the copy of the string or NULL in case of error. + + d xmlStrdupFunc s * based(######typedef######) + d procptr + + * The 5 interfaces used for all memory handling within libxml. + * Since indirect calls are only supported via a based prototype, + * storage is accessed via functions. + + d get_xmlFree pr extproc('__get_xmlFree') + d like(xmlFreeFunc) + + d set_xmlFree pr extproc('__set_xmlFree') + d func value like(xmlFreeFunc) + + d xmlFree pr extproc('__call_xmlFree') + d mem * value void * + + d get_xmlMalloc pr extproc('__get_xmlMalloc') + d like(xmlMallocFunc) + + d set_xmlMalloc pr extproc('__set_xmlMalloc') + d func value like(xmlMallocFunc) + + d xmlMalloc pr * extproc('__call_xmlMalloc') void * + d size value like(xmlCsize_t) + + d get_xmlMallocAtomic... + d pr extproc('__get_xmlMallocAtomic') + d like(xmlMallocFunc) + + d set_xmlMallocAtomic... + d pr extproc('__set_xmlMallocAtomic') + d func value like(xmlMallocFunc) + + d xmlMallocAtomic... + d pr * extproc('__call_xmlMallocAtomic') void * + d size value like(xmlCsize_t) + + d get_xmlRealloc pr extproc('__get_xmlRealloc') + d like(xmlReallocFunc) + + d set_xmlRealloc pr extproc('__set_xmlRealloc') + d func value like(xmlReallocFunc) + + d xmlRealloc pr * extproc('__call_xmlRealloc') void * + d mem * value void * + d size value like(xmlCsize_t) + + d get_xmlMemStrdup... + d pr extproc('__get_xmlMemStrdup') + d like(xmlStrdupFunc) + + d set_xmlMemStrdup... + d pr extproc('__set_xmlMemstrdup') + d func value like(xmlStrdupFunc) + + d xmlMemStrdup pr * extproc('__call_xmlMemStrdup') void * + d str * value options(*string) const char * + + * The way to overload the existing functions. + * The xmlGc function have an extra entry for atomic block + * allocations useful for garbage collected memory allocators + + d xmlMemSetup pr extproc('xmlMemSetup') + d like(xmlCint) + d freeFunc value like(xmlFreeFunc) + d mallocFunc value like(xmlMallocFunc) + d reallocFunc value like(xmlReallocFunc) + d strdupFunc value like(xmlStrdupFunc) + + d xmlMemGet pr extproc('xmlMemGet') + d like(xmlCint) + d freeFunc like(xmlFreeFunc) + d mallocFunc like(xmlMallocFunc) + d reallocFunc like(xmlReallocFunc) + d strdupFunc like(xmlStrdupFunc) + + d xmlGcMemSetup pr extproc('xmlGcMemSetup') + d like(xmlCint) + d freeFunc value like(xmlFreeFunc) + d mallocFunc value like(xmlMallocFunc) + d mallocAtomicFunc... + d value like(xmlMallocFunc) + d reallocFunc value like(xmlReallocFunc) + d strdupFunc value like(xmlStrdupFunc) + + d xmlGcMemGet pr extproc('xmlGcMemGet') + d like(xmlCint) + d freeFunc like(xmlFreeFunc) + d mallocFunc like(xmlMallocFunc) + d mallocAtomicFunc... + d like(xmlMallocFunc) + d reallocFunc like(xmlReallocFunc) + d strdupFunc like(xmlStrdupFunc) + + * Initialization of the memory layer. + + d xmlInitMemory pr extproc('xmlInitMemory') + d like(xmlCint) + + * Cleanup of the memory layer. + + d xmlCleanupMemory... + d pr extproc('xmlCleanupMemory') + + * These are specific to the XML debug memory wrapper. + + d xmlMemUsed pr extproc('xmlMemUsed') + d like(xmlCint) + + d xmlMemBlocks pr extproc('xmlMemBlocks') + d like(xmlCint) + + d xmlMemDisplay pr extproc('xmlMemDisplay') + d fp * value FILE * + + d xmlMmDisplayLast... + d pr extproc('xmlMemDisplayLast') + d fp * value FILE * + d nbBytes value like(xmlClong) + + d xmlMemShow pr extproc('xmlMemShow') + d fp * value FILE * + d nr value like(xmlCint) + + d xmlMemoryDump pr extproc('xmlMemoryDump') + + d xmlMemMalloc pr * extproc('xmlMemMalloc') void * + d size value like(xmlCsize_t) + + d xmlMemRealloc pr * extproc('xmlMemRealloc') void * + d ptr * value void * + d size value like(xmlCsize_t) + + d xmlMemFree pr extproc('xmlMemFree') + d ptr * value void * + + d xmlMemoryStrdup... + d pr * extproc('xmlMemoryStrdup') char * + d str * value options(*string) const char * + + d xmlMallocLoc pr * extproc('xmlMallocLoc') void * + d size value like(xmlCsize_t) + d file * value options(*string) const char * + d line value like(xmlCint) + + d xmlReallocLoc pr * extproc('xmlReallocLoc') void * + d ptr * value void * + d size value like(xmlCsize_t) + d file * value options(*string) const char * + d line value like(xmlCint) + + d xmlMallocAtomicLoc... + d pr * extproc('xmlMallocAtomicLoc') void * + d size value like(xmlCsize_t) + d file * value options(*string) const char * + d line value like(xmlCint) + + d xmlMemStrdupLoc... + d pr * extproc('xmlMemStrdupLoc') char * + d str * value options(*string) const char * + d file * value options(*string) const char * + d line value like(xmlCint) + + /if not defined(XML_GLOBALS_H) + /if not defined(XML_THREADS_H__) + /include "libxmlrpg/threads" + /include "libxmlrpg/globals" + /endif + /endif + + /endif DEBUG_MEMORY_ALLOC__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlmodule.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlmodule.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..035254d65982346d8c1c7cfac0196af39984772b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlmodule.rpgle @@ -0,0 +1,57 @@ + * Summary: dynamic module loading + * Description: basic API for dynamic module loading, used by + * libexslt added in 2.6.17 + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_MODULE_H__) + /define XML_MODULE_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_MODULES_ENABLED) + + /include "libxmlrpg/xmlTypesC" + + * xmlModulePtr: + * + * A handle to a dynamically loaded module + + d xmlModulePtr s * based(######typedef######) + + * xmlModuleOption: + * + * enumeration of options that can be passed down to xmlModuleOpen() + + d xmlModuleOption... + d s based(######typedef######) + d like(xmlCenum) + d XML_MODULE_LAZY... Lazy binding + d c 1 + d XML_MODULE_LOCAL... Local binding + d c 2 + + d xmlModuleOpen pr extproc('xmlModuleOpen') + d like(xmlModulePtr) + d filename * value options(*string) const char * + d options value like(xmlCint) + + d xmlModuleSymbol... + d pr extproc('xmlModuleSymbol') + d like(xmlCint) + d module value like(xmlModulePtr) + d name * value options(*string) const char * + d result * void *(*) + + d xmlModuleClose pr extproc('xmlModuleClose') + d like(xmlCint) + d module value like(xmlModulePtr) + + d xmlModuleFree pr extproc('xmlModuleFree') + d like(xmlCint) + d module value like(xmlModulePtr) + + /endif LIBXML_MODULES_ENBLD + /endif XML_MODULE_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlreader.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlreader.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..f9ab207a721f261043e6d74a5e109f41d26d9be9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlreader.rpgle @@ -0,0 +1,668 @@ + * Summary: the XMLReader implementation + * Description: API of the XML streaming API based on C# interfaces. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_XMLREADER_H__) + /define XML_XMLREADER_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/xmlIO" + + /if defined(LIBXML_SCHEMAS_ENABLED) + /include "libxmlrpg/relaxng" + /include "libxmlrpg/xmlschemas" + /endif + + * xmlParserSeverities: + * + * How severe an error callback is when the per-reader error callback API + * is used. + + d xmlParserSeverities... + d s based(######typedef######) + d like(xmlCenum) + d XML_PARSER_SEVERITY_VALIDITY_WARNING... + d c 1 + d XML_PARSER_SEVERITY_VALIDITY_ERROR... + d c 2 + d XML_PARSER_SEVERITY_WARNING... + d c 3 + d XML_PARSER_SEVERITY_ERROR... + d c 4 + + /if defined(LIBXML_READER_ENABLED) + + * xmlTextReaderMode: + * + * Internal state values for the reader. + + d xmlTextReaderMode... + d s based(######typedef######) + d like(xmlCenum) + d XML_TEXTREADER_MODE_INITIAL... + d c 0 + d XML_TEXTREADER_MODE_INTERACTIVE... + d c 1 + d XML_TEXTREADER_MODE_ERROR... + d c 2 + d XML_TEXTREADER_MODE_EOF... + d c 3 + d XML_TEXTREADER_MODE_CLOSED... + d c 4 + d XML_TEXTREADER_MODE_READING... + d c 5 + + * xmlParserProperties: + * + * Some common options to use with xmlTextReaderSetParserProp, but it + * is better to use xmlParserOption and the xmlReaderNewxxx and + * xmlReaderForxxx APIs now. + + d xmlParserProperties... + d s based(######typedef######) + d like(xmlCenum) + d XML_PARSER_LOADDTD... + d c 1 + d XML_PARSER_DEFAULTATTRS... + d c 2 + d XML_PARSER_VALIDATE... + d c 3 + d XML_PARSER_SUBST_ENTITIES... + d c 4 + + * xmlReaderTypes: + * + * Predefined constants for the different types of nodes. + + d xmlReaderTypes s based(######typedef######) + d like(xmlCenum) + d XML_READER_TYPE_NONE... + d c 0 + d XML_READER_TYPE_ELEMENT... + d c 1 + d XML_READER_TYPE_ATTRIBUTE... + d c 2 + d XML_READER_TYPE_TEXT... + d c 3 + d XML_READER_TYPE_CDATA... + d c 4 + d XML_READER_TYPE_ENTITY_REFERENCE... + d c 5 + d XML_READER_TYPE_ENTITY... + d c 6 + d XML_READER_TYPE_PROCESSING_INSTRUCTION... + d c 7 + d XML_READER_TYPE_COMMENT... + d c 8 + d XML_READER_TYPE_DOCUMENT... + d c 9 + d XML_READER_TYPE_DOCUMENT_TYPE... + d c 10 + d XML_READER_TYPE_DOCUMENT_FRAGMENT... + d c 11 + d XML_READER_TYPE_NOTATION... + d c 12 + d XML_READER_TYPE_WHITESPACE... + d c 13 + d XML_READER_TYPE_SIGNIFICANT_WHITESPACE... + d c 14 + d XML_READER_TYPE_END_ELEMENT... + d c 15 + d XML_READER_TYPE_END_ENTITY... + d c 16 + d XML_READER_TYPE_XML_DECLARATION... + d c 17 + + * xmlTextReaderPtr: + * + * Pointer to an xmlReader context. + + d xmlTextReaderPtr... + d s * based(######typedef######) + + * Constructors & Destructor + + d xmlNewTextReader... + d pr extproc('xmlNewTextReader') + d like(xmlTextReaderPtr) + d input value like(xmlParserInputBufferPtr) + d URI * value options(*string) const char * + + d xmlNewTextReaderFilename... + d pr extproc('xmlNewTextReaderFilename') + d like(xmlTextReaderPtr) + d URI * value options(*string) const char * + + d xmlFreeTextReader... + d pr extproc('xmlFreeTextReader') + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderSetup... + d pr extproc('xmlTextReaderSetup') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d input value like(xmlParserInputBufferPtr) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + * Iterators + + d xmlTextReaderRead... + d pr extproc('xmlTextReaderRead') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + /if defined(LIBXML_WRITER_ENABLED) + d xmlTextReaderReadInnerXml... + d pr * extproc('xmlTextReaderReadInnerXml') xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderReadOuterXml... + d pr * extproc('xmlTextReaderReadOuterXml') xmlChar * + d reader value like(xmlTextReaderPtr) + /endif + + d xmlTextReaderReadString... + d pr * extproc('xmlTextReaderReadString') xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderReadAttributeValue... + d pr extproc( + d 'xmlTextReaderReadAttributeValue') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + * Attributes of the node + + d xmlTextReaderAttributeCount... + d pr extproc( + d 'xmlTextReaderAttributeCount') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderDepth... + d pr extproc('xmlTextReaderDepth') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderHasAttributes... + d pr extproc('xmlTextReaderHasAttributes') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderHasValue... + d pr extproc('xmlTextReaderHasValue') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderIsDefault... + d pr extproc('xmlTextReaderIsDefault') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderIsEmptyElement... + d pr extproc( + d 'xmlTextReaderIsEmptyElement') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderNodeType... + d pr extproc('xmlTextReaderNodeType') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderQuoteChar... + d pr extproc('xmlTextReaderQuoteChar') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderReadState... + d pr extproc('xmlTextReaderReadState') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderIsNamespaceDecl... + d pr extproc( + d 'xmlTextReaderIsNamespaceDecl') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderConstBaseUri... + d pr * extproc('xmlTextReaderConstBaseUri') const xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderConstLocalName... + d pr * extproc( const xmlChar * + d 'xmlTextReaderConstLocalName') + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderConstName... + d pr * extproc('xmlTextReaderConstName') const xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderConstNamespaceUri... + d pr * extproc( const xmlChar * + d 'xmlTextReaderConstNamespaceUri') + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderConstPrefix... + d pr * extproc('xmlTextReaderConstPrefix') const xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderConstXmlLang... + d pr * extproc('xmlTextReaderConstXmlLang') const xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderConstString... + d pr * extproc('xmlTextReaderConstString') const xmlChar * + d reader value like(xmlTextReaderPtr) + d str * value options(*string) const xmlChar * + + d xmlTextReaderConstValue... + d pr * extproc('xmlTextReaderConstValue') const xmlChar * + d reader value like(xmlTextReaderPtr) + + * use the Const version of the routine for + * better performance and simpler code + + d xmlTextReaderBaseUri... + d pr * extproc('xmlTextReaderBaseUri') xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderLocalName... + d pr * extproc('xmlTextReaderLocalName') xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderName... + d pr * extproc('xmlTextReaderName') xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderNamespaceUri... + d pr * extproc('xmlTextReaderNamespaceUri') xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderPrefix... + d pr * extproc('xmlTextReaderPrefix') xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderXmlLang... + d pr * extproc('xmlTextReaderXmlLang') xmlChar * + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderValue... + d pr * extproc('xmlTextReaderValue') xmlChar * + d reader value like(xmlTextReaderPtr) + + * Methods of the XmlTextReader + + d xmlTextReaderClose... + d pr extproc('xmlTextReaderClose') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderGetAttributeNo... + d pr * extproc( xmlChar * + d 'xmlTextReaderGetAttributeNo') + d reader value like(xmlTextReaderPtr) + d no value like(xmlCint) + + d xmlTextReaderGetAttribute... + d pr * extproc('xmlTextReaderGetAttribute') xmlChar * + d reader value like(xmlTextReaderPtr) + d name * value options(*string) const xmlChar * + + d xmlTextReaderGetAttributeNs... + d pr * extproc( xmlChar * + d 'xmlTextReaderGetAttributeNs') + d reader value like(xmlTextReaderPtr) + d localName * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + + d xmlTextReaderGetRemainder... + d pr extproc('xmlTextReaderGetRemainder') + d like(xmlParserInputBufferPtr) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderLookupNamespace... + d pr * extproc( xmlChar * + d 'xmlTextReaderLookupNamespace') + d reader value like(xmlTextReaderPtr) + d prefix * value options(*string) const xmlChar * + + d xmlTextReaderMoveToAttributeNo... + d pr extproc( + d 'xmlTextReaderMoveToAttributeNo') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d no value like(xmlCint) + + d xmlTextReaderMoveToAttribute... + d pr extproc( + d 'xmlTextReaderMoveToAttribute') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d name * value options(*string) const xmlChar * + + d xmlTextReaderMoveToAttributeNs... + d pr extproc( + d 'xmlTextReaderMoveToAttributeNs') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d localName * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + + d xmlTextReaderMoveToFirstAttribute... + d pr extproc( + d 'xmlTextReaderMoveToFirstAttribute') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderMoveToNextAttribute... + d pr extproc( + d 'xmlTextReaderMoveToNextAttribute') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderMoveToElement... + d pr extproc('xmlTextReaderMoveToElement') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderNormalization... + d pr extproc('xmlTextReaderNormalization') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderConstEncoding... + d pr * extproc('xmlTextReaderConstEncoding')const xmlChar * + d reader value like(xmlTextReaderPtr) + + * Extensions + + d xmlTextReaderSetParserProp... + d pr extproc('xmlTextReaderSetParserProp') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d prop value like(xmlCint) + d value value like(xmlCint) + + d xmlTextReaderGetParserProp... + d pr extproc('xmlTextReaderGetParserProp') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d prop value like(xmlCint) + + d xmlTextReaderCurrentNode... + d pr extproc('xmlTextReaderCurrentNode') + d like(xmlNodePtr) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderGetParserLineNumber... + d pr extproc( + d 'xmlTextReaderGetParserLineNumber') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderGetParserColumnNumber... + d pr extproc( + d 'xmlTextReaderGetParserColumnNumber') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderPreserve... + d pr extproc('xmlTextReaderPreserve') + d like(xmlNodePtr) + d reader value like(xmlTextReaderPtr) + + /if defined(LIBXML_PATTERN_ENABLED) + d xmlTextReaderPreservePattern... + d pr extproc( + d 'xmlTextReaderPreservePattern') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d pattern * value options(*string) const xmlChar * + d namespaces * const xmlChar *(*) + /endif LIBXML_PATTERN_ENBLD + + d xmlTextReaderCurrentDoc... + d pr extproc('xmlTextReaderCurrentDoc') + d like(xmlDocPtr) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderExpand... + d pr extproc('xmlTextReaderExpand') + d like(xmlNodePtr) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderNext... + d pr extproc('xmlTextReaderNext') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderNextSibling... + d pr extproc('xmlTextReaderNextSibling') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderIsValid... + d pr extproc('xmlTextReaderIsValid') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + /if defined(LIBXML_SCHEMAS_ENABLED) + d xmlTextReaderRelaxNGValidate... + d pr extproc( + d 'xmlTextReaderRelaxNGValidate') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d rng * value options(*string) const char * + + d xmlTextReaderRelaxNGValidateCtxt... + d pr extproc( + d 'xmlTextReaderRelaxNGValidateCtxt') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d ctxt value like(xmlRelaxNGValidCtxtPtr) + d options value like(xmlCint) + + d xmlTextReaderRelaxNGSetSchema... + d pr extproc( + d 'xmlTextReaderRelaxNGSetSchema') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d schema value like(xmlRelaxNGPtr) + + d xmlTextReaderSchemaValidate... + d pr extproc( + d 'xmlTextReaderSchemaValidate') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d xsd * value options(*string) const char * + + d xmlTextReaderSchemaValidateCtxt... + d pr extproc( + d 'xmlTextReaderSchemaValidateCtxt') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d ctxt value like(xmlSchemaValidCtxtPtr) + d options value like(xmlCint) + + d xmlTextReaderSetSchema... + d pr extproc('xmlTextReaderSetSchema') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d schema value like(xmlSchemaPtr) + /endif + + d xmlTextReaderConstXmlVersion... + d pr * extproc( const xmlChar * + d 'xmlTextReaderConstXmlVersion') + d reader value like(xmlTextReaderPtr) + + d xmlTextReaderStandalone... + d pr extproc('xmlTextReaderStandalone') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + + * Index lookup + + d xmlTextReaderByteConsumed... + d pr extproc('xmlTextReaderByteConsumed') + d like(xmlClong) + d reader value like(xmlTextReaderPtr) + + * New more complete APIs for simpler creation and reuse of readers + + d xmlReaderWalker... + d pr extproc('xmlReaderWalker') + d like(xmlTextReaderPtr) + d doc value like(xmlDocPtr) + + d xmlReaderForDoc... + d pr extproc('xmlReaderForDoc') + d like(xmlTextReaderPtr) + d cur * value options(*string) const xmlChar * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderForFile... + d pr extproc('xmlReaderForFile') + d like(xmlTextReaderPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderForMemory... + d pr extproc('xmlReaderForMemory') + d like(xmlTextReaderPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderForFd pr extproc('xmlReaderForFd') + d like(xmlTextReaderPtr) + d fd value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderForIO pr extproc('xmlReaderForIO') + d like(xmlTextReaderPtr) + d ioread value like(xmlInputReadCallback) + d ioclose value like(xmlInputCloseCallback) + d ioctx * value void * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderNewWalker... + d pr extproc('xmlReaderNewWalker') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d doc value like(xmlDocPtr) + + d xmlReaderNewDoc... + d pr extproc('xmlReaderNewDoc') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d cur * value options(*string) const xmlChar * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderNewFile... + d pr extproc('xmlReaderNewFile') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderNewMemory... + d pr extproc('xmlReaderNewMemory') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderNewFd pr extproc('xmlReaderNewFd') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d fd value like(xmlCint) + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlReaderNewIO pr extproc('xmlReaderNewIO') + d like(xmlCint) + d reader value like(xmlTextReaderPtr) + d ioread value like(xmlInputReadCallback) + d ioclose value like(xmlInputCloseCallback) + d ioctx * value void * + d URL * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + * Error handling extensions + + d xmlTextReaderLocatorPtr... + d s * based(######typedef######) void * + + * xmlTextReaderErrorFunc: + * @arg: the user argument + * @msg: the message + * @severity: the severity of the error + * @locator: a locator indicating where the error occurred + * + * Signature of an error callback from a reader parser + + d xmlTextReaderErrorFunc... + d s * based(######typedef######) + d procptr + + d xmlTextReaderLocatorLineNumber... + d pr extproc( + d 'xmlTextReaderLocatorLineNumber') + d like(xmlCint) + d locator value like(xmlTextReaderLocatorPtr) + + d xmlTextReaderLocatorBaseURI... + d pr * extproc( xmlChar * + d 'xmlTextReaderLocatorBaseURI') + d locator value like(xmlTextReaderLocatorPtr) + + d xmlTextReaderSetErrorHandler... + d pr extproc( + d 'xmlTextReaderSetErrorHandler') + d reader value like(xmlTextReaderPtr) + d f value like(xmlTextReaderErrorFunc) + d arg * value void * + + d xmlTextReaderSetStructuredErrorHandler... + d pr extproc('xmlTextReaderSetStructuredE- + d rrorHandler') + d reader value like(xmlTextReaderPtr) + d f value like(xmlStructuredErrorFunc) + d arg * value void * + + d xmlTextReaderGetErrorHandler... + d pr extproc( + d 'xmlTextReaderGetErrorHandler') + d reader value like(xmlTextReaderPtr) + d f like(xmlTextReaderErrorFunc) + d arg * void *(*) + + /endif LIBXML_READER_ENABLD + /endif XML_XMLREADER_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlregexp.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlregexp.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..01d411a73a439630560223258bdf8d0cb10a9bcb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlregexp.rpgle @@ -0,0 +1,262 @@ + * Summary: regular expressions handling + * Description: basic API for libxml regular expressions handling used + * for XML Schemas and validation. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_REGEXP_H__) + /define XML_REGEXP_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_REGEXP_ENABLED) + + /include "libxmlrpg/xmlTypesC" + + * xmlRegexpPtr: + * + * A libxml regular expression, they can actually be far more complex + * thank the POSIX regex expressions. + + d xmlRegexpPtr s * based(######typedef######) + + * xmlRegExecCtxtPtr: + * + * A libxml progressive regular expression evaluation context + + d xmlRegExecCtxtPtr... + d s * based(######typedef######) + + /include "libxmlrpg/tree" + /include "libxmlrpg/dict" + + * The POSIX like API + + d xmlRegexpCompile... + d pr extproc('xmlRegexpCompile') + d like(xmlRegexpPtr) + d regexp * value options(*string) const xmlChar * + + d xmlRegFreeRegexp... + d pr extproc('xmlRegFreeRegexp') + d regexp value like(xmlRegexpPtr) + + d xmlRegexpExec pr extproc('xmlRegexpExec') + d like(xmlCint) + d comp value like(xmlRegexpPtr) + d value * value options(*string) const xmlChar * + + d xmlRegexpPrint pr extproc('xmlRegexpPrint') + d output * value FILE * + d regexp value like(xmlRegexpPtr) + + d xmlRegexpIsDeterminist... + d pr extproc('xmlRegexpIsDeterminist') + d like(xmlCint) + d comp value like(xmlRegexpPtr) + + * xmlRegExecCallbacks: + * @exec: the regular expression context + * @token: the current token string + * @transdata: transition data + * @inputdata: input data + * + * Callback function when doing a transition in the automata + + d xmlRegExecCallbacks... + d s * based(######typedef######) + d procptr + + * The progressive API + + d xmlRegNewExecCtxt... + d pr extproc('xmlRegNewExecCtxt') + d like(xmlRegExecCtxtPtr) + d comp value like(xmlRegexpPtr) + d callback value like(xmlRegExecCallbacks) + d data * value void * + + d xmlRegFreeExecCtxt... + d pr extproc('xmlRegFreeExecCtxt') + d exec value like(xmlRegExecCtxtPtr) + + d xmlRegExecPushString... + d pr extproc('xmlRegExecPushString') + d like(xmlCint) + d exec value like(xmlRegExecCtxtPtr) + d value * value options(*string) const xmlChar * + d data * value void * + + d xmlRegExecPushString2... + d pr extproc('xmlRegExecPushString2') + d like(xmlCint) + d exec value like(xmlRegExecCtxtPtr) + d value * value options(*string) const xmlChar * + d value2 * value options(*string) const xmlChar * + d data * value void * + + d xmlRegExecNextValues... + d pr extproc('xmlRegExecNextValues') + d like(xmlCint) + d exec value like(xmlRegExecCtxtPtr) + d nbval like(xmlCint) + d nbneg like(xmlCint) + d values * xmlChar * (*) + d terminal like(xmlCint) + + d xmlRegExecErrInfo... + d pr extproc('xmlRegExecErrInfo') + d like(xmlCint) + d exec value like(xmlRegExecCtxtPtr) + d string * const xmlChar * (*) + d nbval like(xmlCint) + d nbneg like(xmlCint) + d values * xmlChar * (*) + d terminal like(xmlCint) + + /if defined(LIBXML_EXPR_ENABLED) + + * Formal regular expression handling + * Its goal is to do some formal work on content models + + * expressions are used within a context + + d xmlExpCtxtPtr s * based(######typedef######) + + d xmlExpFreeCtxt pr extproc('xmlExpFreeCtxt') + d ctxt value like(xmlExpCtxtPtr) + + d xmlExpNewCtxt pr extproc('xmlExpNewCtxt') + d like(xmlExpCtxtPtr) + d maxNodes value like(xmlCint) + d dict value like(xmlDictPtr) + + d xmlExpCtxtNbNodes... + d pr extproc('xmlExpCtxtNbNodes') + d like(xmlCint) + d ctxt value like(xmlExpCtxtPtr) + + d xmlExpCtxtNbCons... + d pr extproc('xmlExpCtxtNbCons') + d like(xmlCint) + d ctxt value like(xmlExpCtxtPtr) + + * Expressions are trees but the tree is opaque + + d xmlExpNodePtr s * based(######typedef######) + + d xmlExpNodeType s based(######typedef######) + d like(xmlCenum) + d XML_EXP_EMPTY c 0 + d XML_EXP_FORBID... + d c 1 + d XML_EXP_ATOM c 2 + d XML_EXP_SEQ c 3 + d XML_EXP_OR c 4 + d XML_EXP_COUNT c 5 + + * 2 core expressions shared by all for the empty language set + * and for the set with just the empty token + + d forbiddenExp s import('forbiddenExp') + d like(xmlExpNodePtr) + + d emptyExp s import('emptyExp') + d like(xmlExpNodePtr) + + + * Expressions are reference counted internally + + d xmlExpFree pr extproc('xmlExpFree') + d expr value like(xmlExpNodePtr) + + d xmlExpRef pr extproc('xmlExpRef') + d expr value like(xmlExpNodePtr) + + * constructors can be either manual or from a string + + d xmlExpParse pr extproc('xmlExpParse') + d like(xmlExpNodePtr) + d ctxt value like(xmlExpCtxtPtr) + d expr * value options(*string) const char * + + d xmlExpNewAtom pr extproc('xmlExpNewAtom') + d like(xmlExpNodePtr) + d ctxt value like(xmlExpCtxtPtr) + d name * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlExpNewOr pr extproc('xmlExpNewOr') + d like(xmlExpNodePtr) + d ctxt value like(xmlExpCtxtPtr) + d left value like(xmlExpNodePtr) + d right value like(xmlExpNodePtr) + + d xmlExpNewSeq pr extproc('xmlExpNewSeq') + d like(xmlExpNodePtr) + d ctxt value like(xmlExpCtxtPtr) + d left value like(xmlExpNodePtr) + d right value like(xmlExpNodePtr) + + d xmlExpNewRange pr extproc('xmlExpNewRange') + d like(xmlExpNodePtr) + d ctxt value like(xmlExpCtxtPtr) + d subset value like(xmlExpNodePtr) + d min value like(xmlCint) + d max value like(xmlCint) + + * The really interesting APIs + + d xmlExpIsNillable... + d pr extproc('xmlExpIsNillable') + d like(xmlCint) + d expr value like(xmlExpNodePtr) + + d xmlExpMaxToken pr extproc('xmlExpMaxToken') + d like(xmlCint) + d expr value like(xmlExpNodePtr) + + d xmlExpGetLanguage... + d pr extproc('xmlExpGetLanguage') + d like(xmlCint) + d ctxt value like(xmlExpCtxtPtr) + d expr value like(xmlExpNodePtr) + d langList * const xmlChar *(*) + d len value like(xmlCint) + + d xmlExpGetStart pr extproc('xmlExpGetStart') + d like(xmlCint) + d ctxt value like(xmlExpCtxtPtr) + d expr value like(xmlExpNodePtr) + d tokList * const xmlChar *(*) + d len value like(xmlCint) + + d xmlExpStringDerive... + d pr extproc('xmlExpStringDerive') + d like(xmlExpNodePtr) + d ctxt value like(xmlExpCtxtPtr) + d expr value like(xmlExpNodePtr) + d str * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlExpExpDerive... + d pr extproc('xmlExpExpDerive') + d like(xmlExpNodePtr) + d ctxt value like(xmlExpCtxtPtr) + d expr value like(xmlExpNodePtr) + d sub value like(xmlExpNodePtr) + + d xmlExpSubsume pr extproc('xmlExpSubsume') + d like(xmlCint) + d ctxt value like(xmlExpCtxtPtr) + d expr value like(xmlExpNodePtr) + d sub value like(xmlExpNodePtr) + + d xmlExpDump pr extproc('xmlExpDump') + d buf value like(xmlBufferPtr) + d expr value like(xmlExpNodePtr) + /endif LIBXML_EXPR_ENABLED + /endif LIBXML_REGEXP_ENABLD + /endif XML_REGEXP_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlsave.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlsave.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..ad0d15d5621201aa5c8647c8b39f5d47524fe496 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlsave.rpgle @@ -0,0 +1,105 @@ + * Summary: the XML document serializer + * Description: API to save document or subtree of document + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_XMLSAVE_H__) + /define XML_XMLSAVE_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_OUTPUT_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/encoding" + /include "libxmlrpg/xmlIO" + + * xmlSaveOption: + * + * This is the set of XML save options that can be passed down + * to the xmlSaveToFd() and similar calls. + + d xmlSaveOption s based(######typedef######) + d like(xmlCenum) + d XML_SAVE_FORMAT... Format save output + d c X'0001' + d XML_SAVE_NO_DECL... Drop xml declaration + d c X'0002' + d XML_SAVE_NO_EMPTY... No empty tags + d c X'0004' + d XML_SAVE_NO_XHTML... No XHTML1 specific + d c X'0008' + d XML_SAVE_XHTML... Frce XHTML1 specific + d c X'0010' + d XML_SAVE_AS_XML... Frce XML on HTML doc + d c X'0020' + d XML_SAVE_AS_HTML... Frce HTML on XML doc + d c X'0040' + d XML_SAVE_WSNONSIG... Fmt w/ non-sig space + d c X'0080' + + d xmlSaveCtxtPtr s * based(######typedef######) + + d xmlSaveToFd pr extproc('xmlSaveToFd') + d like(xmlSaveCtxtPtr) + d fd value like(xmlCint) + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlSaveToFilename... + d pr extproc('xmlSaveToFilename') + d like(xmlSaveCtxtPtr) + d filename * value options(*string) const char * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlSaveToBuffer... + d pr extproc('xmlSaveToBuffer') + d like(xmlSaveCtxtPtr) + d buffer value like(xmlBufferPtr) + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlSaveToIO pr extproc('xmlSaveToIO') + d like(xmlSaveCtxtPtr) + d iowrite value like(xmlOutputWriteCallback) + d ioclose value like(xmlOutputCloseCallback) + d ioctx * value void * + d encoding * value options(*string) const char * + d options value like(xmlCint) + + d xmlSaveDoc pr extproc('xmlSaveDoc') + d like(xmlClong) + d ctxt value like(xmlSaveCtxtPtr) + d doc value like(xmlDocPtr) + + d xmlSaveTree pr extproc('xmlSaveTree') + d like(xmlClong) + d ctxt value like(xmlSaveCtxtPtr) + d node value like(xmlNodePtr) + + d xmlSaveFlush pr extproc('xmlSaveFlush') + d like(xmlCint) + d ctxt value like(xmlSaveCtxtPtr) + + d xmlSaveClose pr extproc('xmlSaveClose') + d like(xmlCint) + d ctxt value like(xmlSaveCtxtPtr) + + d xmlSaveSetEscape... + d pr extproc('xmlSaveSetEscape') + d like(xmlCint) + d ctxt value like(xmlSaveCtxtPtr) + d escape value like(xmlCharEncodingOutputFunc) + + d xmlSaveSetAttrEscape... + d pr extproc('xmlSaveSetAttrEscape') + d like(xmlCint) + d ctxt value like(xmlSaveCtxtPtr) + d escape value like(xmlCharEncodingOutputFunc) + + /endif LIBXML_OUTPUT_ENABLD + /endif XML_XMLSAVE_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlschemas.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlschemas.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..f453bd2924a9f900e9129d8335680cd6fd31f162 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlschemas.rpgle @@ -0,0 +1,331 @@ + * Summary: incomplete XML Schemas structure implementation + * Description: interface to the XML Schemas handling and schema validity + * checking, it is incomplete right now. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_SCHEMA_H__) + /define XML_SCHEMA_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_SCHEMAS_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + + * This error codes are obsolete; not used any more. + + d xmlSchemaValidError... + d s based(######typedef######) + d like(xmlCenum) + d XML_SCHEMAS_ERR_OK... + d c 0 + d XML_SCHEMAS_ERR_NOROOT... + d c 1 + d XML_SCHEMAS_ERR_UNDECLAREDELEM... + d c 2 + d XML_SCHEMAS_ERR_NOTTOPLEVEL... + d c 3 + d XML_SCHEMAS_ERR_MISSING... + d c 4 + d XML_SCHEMAS_ERR_WRONGELEM... + d c 5 + d XML_SCHEMAS_ERR_NOTYPE... + d c 6 + d XML_SCHEMAS_ERR_NOROLLBACK... + d c 7 + d XML_SCHEMAS_ERR_ISABSTRACT... + d c 8 + d XML_SCHEMAS_ERR_NOTEMPTY... + d c 9 + d XML_SCHEMAS_ERR_ELEMCONT... + d c 10 + d XML_SCHEMAS_ERR_HAVEDEFAULT... + d c 11 + d XML_SCHEMAS_ERR_NOTNILLABLE... + d c 12 + d XML_SCHEMAS_ERR_EXTRACONTENT... + d c 13 + d XML_SCHEMAS_ERR_INVALIDATTR... + d c 14 + d XML_SCHEMAS_ERR_INVALIDELEM... + d c 15 + d XML_SCHEMAS_ERR_NOTDETERMINIST... + d c 16 + d XML_SCHEMAS_ERR_CONSTRUCT... + d c 17 + d XML_SCHEMAS_ERR_INTERNAL... + d c 18 + d XML_SCHEMAS_ERR_NOTSIMPLE... + d c 19 + d XML_SCHEMAS_ERR_ATTRUNKNOWN... + d c 20 + d XML_SCHEMAS_ERR_ATTRINVALID... + d c 21 + d XML_SCHEMAS_ERR_VALUE... + d c 22 + d XML_SCHEMAS_ERR_FACET... + d c 23 + d XML_SCHEMAS_ERR_... + d c 24 + d XML_SCHEMAS_ERR_XXX... + d c 25 + + * ATTENTION: Change xmlSchemaSetValidOptions's check + * for invalid values, if adding to the validation + * options below. + + * xmlSchemaValidOption: + * + * This is the set of XML Schema validation options. + + d xmlSchemaValidOption... + d s based(######typedef######) + d like(xmlCenum) + * + * Default/fixed: create an attribute node + * or an element's text node on the instance. + * + d XML_SCHEMA_VAL_VC_I_CREATE... + d c X'0001' + /if defined(DISABLED) + * + * assemble schemata using + * xsi:schemaLocation and + * xsi:noNamespaceSchemaLocation + * + d XML_SCHEMA_VAL_XSI_ASSEMBLE... + d c X'0002' + /endif + + * The schemas related types are kept internal + + d xmlSchemaPtr s * based(######typedef######) + + * xmlSchemaValidityErrorFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of an error callback from an XSD validation + + d xmlSchemaValidityErrorFunc... + d s * based(######typedef######) + d procptr + + * xmlSchemaValidityWarningFunc: + * @ctx: the validation context + * @msg: the message + * @...: extra arguments + * + * Signature of a warning callback from an XSD validation + + d xmlSchemaValidityWarningFunc... + d s * based(######typedef######) + d procptr + + * A schemas validation context + + d xmlSchemaParserCtxtPtr... + d s * based(######typedef######) + + d xmlSchemaValidCtxtPtr... + d s * based(######typedef######) + + * xmlSchemaValidityLocatorFunc: + * @ctx: user provided context + * @file: returned file information + * @line: returned line information + * + * A schemas validation locator, a callback called by the validator. + * This is used when file or node information are not available + * to find out what file and line number are affected + * + * Returns: 0 in case of success and -1 in case of error + + d xmlSchemaValidityLocatorFunc... + d s * based(######typedef######) + d procptr + + * Interfaces for parsing. + + d xmlSchemaNewParserCtxt... + d pr extproc('xmlSchemaNewParserCtxt') + d like(xmlSchemaParserCtxtPtr) + d URL * value options(*string) const char * + + d xmlSchemaNewMemParserCtxt... + d pr extproc('xmlSchemaNewMemParserCtxt') + d like(xmlSchemaParserCtxtPtr) + d buffer * value options(*string) const char * + d size value like(xmlCint) + + d xmlSchemaNewDocParserCtxt... + d pr extproc('xmlSchemaNewDocParserCtxt') + d like(xmlSchemaParserCtxtPtr) + d doc value like(xmlDocPtr) + + d xmlSchemaFreeParserCtxt... + d pr extproc('xmlSchemaFreeParserCtxt') + d ctxt value like(xmlSchemaParserCtxtPtr) + + d xmlSchemaSetParserErrors... + d pr extproc('xmlSchemaSetParserErrors') + d ctxt value like(xmlSchemaParserCtxtPtr) + d err value + d like(xmlSchemaValidityErrorFunc) + d warn value + d like(xmlSchemaValidityWarningFunc) + d ctx * value void * + + d xmlSchemaSetParserStructuredErrors... + d pr extproc( + d 'xmlSchemaSetParserStructuredErrors') + d ctxt value like(xmlSchemaParserCtxtPtr) + d serror value like(xmlStructuredErrorFunc) + d ctx * value void * + + d xmlSchemaGetParserErrors... + d pr extproc('xmlSchemaGetParserErrors') + d like(xmlCint) + d ctxt value like(xmlSchemaParserCtxtPtr) + d err like(xmlSchemaValidityErrorFunc) + d warn like(xmlSchemaValidityWarningFunc) + d ctx * void *(*) + + d xmlSchemaIsValid... + d pr extproc('xmlSchemaIsValid') + d like(xmlCint) + d ctxt value like(xmlSchemaValidCtxtPtr) + + d xmlSchemaParse pr extproc('xmlSchemaParse') + d like(xmlSchemaPtr) + d ctxt value like(xmlSchemaParserCtxtPtr) + + d xmlSchemaFree pr extproc('xmlSchemaFree') + d schema value like(xmlSchemaPtr) + + /if defined(LIBXML_OUTPUT_ENABLED) + d xmlSchemaDump pr extproc('xmlSchemaDump') + d output * value FILE * + d schema value like(xmlSchemaPtr) + /endif LIBXML_OUTPUT_ENABLD + + * Interfaces for validating + + d xmlSchemaSetValidErrors... + d pr extproc('xmlSchemaSetValidErrors') + d ctxt value like(xmlSchemaValidCtxtPtr) + d err value + d like(xmlSchemaValidityErrorFunc) + d warn value + d like(xmlSchemaValidityWarningFunc) + d ctx * value void * + + d xmlSchemaSetValidStructuredErrors... + d pr extproc( + d 'xmlSchemaSetValidStructuredErrors') + d ctxt value like(xmlSchemaValidCtxtPtr) + d serror value like(xmlStructuredErrorFunc) + d ctx * value void * + + d xmlSchemaGetValidErrors... + d pr extproc('xmlSchemaGetValidErrors') + d like(xmlCint) + d ctxt value like(xmlSchemaValidCtxtPtr) + d err like(xmlSchemaValidityErrorFunc) + d warn like(xmlSchemaValidityWarningFunc) + d ctx * void *(*) + + d xmlSchemaSetValidOptions... + d pr extproc('xmlSchemaSetValidOptions') + d like(xmlCint) + d ctxt value like(xmlSchemaValidCtxtPtr) + d options value like(xmlCint) + + d xmlSchemaValidateSetFilename... + d pr extproc( + d 'xmlSchemaValidateSetFilename') + d vctxt value like(xmlSchemaValidCtxtPtr) + d filename * value options(*string) const char * + + d xmlSchemaValidCtxtGetOptions... + d pr extproc( + d 'xmlSchemaValidCtxtGetOptions') + d like(xmlCint) + d ctxt value like(xmlSchemaValidCtxtPtr) + + d xmlSchemaNewValidCtxt... + d pr extproc('xmlSchemaNewValidCtxt') + d like(xmlSchemaValidCtxtPtr) + d schema value like(xmlSchemaPtr) + + d xmlSchemaFreeValidCtxt... + d pr extproc('xmlSchemaFreeValidCtxt') + d ctxt value like(xmlSchemaValidCtxtPtr) + + d xmlSchemaValidateDoc... + d pr extproc('xmlSchemaValidateDoc') + d like(xmlCint) + d ctxt value like(xmlSchemaValidCtxtPtr) + d instance value like(xmlDocPtr) + + d xmlSchemaValidateOneElement... + d pr extproc( + d 'xmlSchemaValidateOneElement') + d like(xmlCint) + d ctxt value like(xmlSchemaValidCtxtPtr) + d elem value like(xmlNodePtr) + + d xmlSchemaValidateStream... + d pr extproc('xmlSchemaValidateStream') + d like(xmlCint) + d ctxt value like(xmlSchemaValidCtxtPtr) + d input value like(xmlParserInputBufferPtr) + d enc value like(xmlCharEncoding) + d sax value like(xmlSAXHandlerPtr) + d user_data * value void * + + d xmlSchemaValidateFile... + d pr extproc('xmlSchemaValidateFile') + d like(xmlCint) + d ctxt value like(xmlSchemaValidCtxtPtr) + d filename * value options(*string) const char * + d options value like(xmlCint) + + d xmlSchemaValidCtxtGetParserCtxt... + d pr extproc( + d 'xmlSchemaValidCtxtGetParserCtxt') + d like(xmlParserCtxtPtr) + d ctxt value like(xmlSchemaValidCtxtPtr) + + * Interface to insert Schemas SAX validation in a SAX stream + + d xmlSchemaSAXPlugPtr... + d s * based(######typedef######) + + d xmlSchemaSAXPlug... + d pr extproc('xmlSchemaSAXPlug') + d like(xmlSchemaSAXPlugPtr) + d ctxt value like(xmlSchemaValidCtxtPtr) + d sax like(xmlSAXHandlerPtr) + d user_data * void *(*) + + d xmlSchemaSAXUnplug... + d pr extproc('xmlSchemaSAXUnplug') + d like(xmlCint) + d plug value like(xmlSchemaSAXPlugPtr) + + d xmlSchemaValidateSetLocator... + d pr extproc( + d 'xmlSchemaValidateSetLocator') + d vctxt value like(xmlSchemaValidCtxtPtr) + d f value + d like(xmlSchemaValidityLocatorFunc) + d ctxt * value void * + + /endif LIBXML_SCHEMAS_ENBLD + /endif XML_SCHEMA_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlschemastypes.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlschemastypes.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..ecd6aba3e4f843a00029c93b5a77bba4c43c056d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlschemastypes.rpgle @@ -0,0 +1,254 @@ + * Summary: implementation of XML Schema Datatypes + * Description: module providing the XML Schema Datatypes implementation + * both definition and validity checking + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_SCHEMA_TYPES_H__) + /define XML_SCHEMA_TYPES_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_SCHEMAS_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/schemasInternals" + /include "libxmlrpg/xmlschemas" + + d xmlSchemaWhitespaceValueType... + d s based(######typedef######) + d like(xmlCenum) + d XML_SCHEMA_WHITESPACE_UNKNOWN... + d c 0 + d XML_SCHEMA_WHITESPACE_PRESERVE... + d c 1 + d XML_SCHEMA_WHITESPACE_REPLACE... + d c 2 + d XML_SCHEMA_WHITESPACE_COLLAPSE... + d c 3 + + d xmlSchemaInitTypes... + d pr extproc('xmlSchemaInitTypes') + + d xmlSchemaCleanupTypes... + d pr extproc('xmlSchemaCleanupTypes') + + d xmlSchemaGetPredefinedType... + d pr extproc('xmlSchemaGetPredefinedType') + d like(xmlSchemaTypePtr) + d name * value options(*string) const xmlChar * + d ns * value options(*string) const xmlChar * + + d xmlSchemaValidatePredefinedType... + d pr extproc( + d 'xmlSchemaValidatePredefinedType') + d like(xmlCint) + d type value like(xmlSchemaTypePtr) + d value * value options(*string) const xmlChar * + d val * value xmlSchemaValPtr * + + d xmlSchemaValPredefTypeNode... + d pr extproc('xmlSchemaValPredefTypeNode') + d like(xmlCint) + d type value like(xmlSchemaTypePtr) + d value * value options(*string) const xmlChar * + d val * value xmlSchemaValPtr * + d node value like(xmlNodePtr) + + d xmlSchemaValidateFacet... + d pr extproc('xmlSchemaValidateFacet') + d like(xmlCint) + d base value like(xmlSchemaTypePtr) + d facet value like(xmlSchemaFacetPtr) + d value * value options(*string) const xmlChar * + d val value like(xmlSchemaValPtr) + + d xmlSchemaValidateFacetWhtsp... + d pr extproc( + d 'xmlSchemaValidateFacetWhtsp') + d like(xmlCint) + d facet value like(xmlSchemaFacetPtr) + d fws value + d like(xmlSchemaWhitespaceValueType) + d valType value like(xmlSchemaValType) + d value * value options(*string) const xmlChar * + d val value like(xmlSchemaValPtr) + d ws value + d like(xmlSchemaWhitespaceValueType) + + d xmlSchemaFreeValue... + d pr extproc('xmlSchemaFreeValue') + d val value like(xmlSchemaValPtr) + + d xmlSchemaNewFacet... + d pr extproc('xmlSchemaNewFacet') + d like(xmlSchemaFacetPtr) + + d xmlSchemaCheckFacet... + d pr extproc('xmlSchemaCheckFacet') + d like(xmlCint) + d facet value like(xmlSchemaFacetPtr) + d typeDecl value like(xmlSchemaTypePtr) + d ctxt value like(xmlSchemaParserCtxtPtr) + d name * value options(*string) const xmlChar * + + d xmlSchemaFreeFacet... + d pr extproc('xmlSchemaFreeFacet') + d facet value like(xmlSchemaFacetPtr) + + d xmlSchemaCompareValues... + d pr extproc('xmlSchemaCompareValues') + d like(xmlCint) + d x value like(xmlSchemaValPtr) + d y value like(xmlSchemaValPtr) + + d xmlSchemaGetBuiltInListSimpleTypeItemType... + d pr extproc('xmlSchemaGetBuiltInListSimp- + d leTypeItemType') + d like(xmlSchemaTypePtr) + d type value like(xmlSchemaTypePtr) + + d xmlSchemaValidateListSimpleTypeFacet... + d pr extproc('xmlSchemaValidateListSimple- + d TypeFacet') + d like(xmlCint) + d facet value like(xmlSchemaFacetPtr) + d value * value options(*string) const xmlChar * + d actualLen value like(xmlCulong) + d expectedLen * value unsigned long * + + d xmlSchemaGetBuiltInType... + d pr extproc('xmlSchemaGetBuiltInType') + d like(xmlSchemaTypePtr) + d type value like(xmlSchemaValType) + + d xmlSchemaIsBuiltInTypeFacet... + d pr extproc( + d 'xmlSchemaIsBuiltInTypeFacet') + d like(xmlCint) + d type value like(xmlSchemaTypePtr) + d facetType value like(xmlCint) + + d xmlSchemaCollapseString... + d pr * extproc('xmlSchemaCollapseString') xmlChar * + d value * value options(*string) const xmlChar * + + d xmlSchemaWhiteSpaceReplace... + d pr * extproc('xmlSchemaWhiteSpaceReplace')xmlChar * + d value * value options(*string) const xmlChar * + + d xmlSchemaGetFacetValueAsULong... + d pr extproc( + d 'xmlSchemaGetFacetValueAsULong') + d like(xmlCulong) + d facet value like(xmlSchemaFacetPtr) + + d xmlSchemaValidateLengthFacet... + d pr extproc( + d 'xmlSchemaValidateLengthFacet') + d like(xmlCint) + d type value like(xmlSchemaTypePtr) + d facet value like(xmlSchemaFacetPtr) + d value * value options(*string) const xmlChar * + d val value like(xmlSchemaValPtr) + d length like(xmlCulong) + + d xmlSchemaValidateLengthFacetWhtsp... + d pr extproc( + d 'xmlSchemaValidateLengthFacetWhtsp') + d like(xmlCint) + d facet value like(xmlSchemaFacetPtr) + d valType value like(xmlSchemaValType) + d value * value options(*string) const xmlChar * + d val value like(xmlSchemaValPtr) + d length like(xmlCulong) + d ws value + d like(xmlSchemaWhitespaceValueType) + + d xmlSchemaValPredefTypeNodeNoNorm... + d pr extproc( + d 'xmlSchemaValPredefTypeNodeNoNorm') + d like(xmlCint) + d type value like(xmlSchemaTypePtr) + d value * value options(*string) const xmlChar * + d val like(xmlSchemaValPtr) + d node value like(xmlNodePtr) + + d xmlSchemaGetCanonValue... + d pr extproc('xmlSchemaGetCanonValue') + d like(xmlCint) + d val value like(xmlSchemaValPtr) + d retValue * value const xmlChar * * + + d xmlSchemaGetCanonValueWhtsp... + d pr extproc( + d 'xmlSchemaGetCanonValueWhtsp') + d like(xmlCint) + d val value like(xmlSchemaValPtr) + d retValue * value const xmlChar * * + d ws value + d like(xmlSchemaWhitespaceValueType) + + d xmlSchemaValueAppend... + d pr extproc('xmlSchemaValueAppend') + d like(xmlCint) + d prev value like(xmlSchemaValPtr) + d cur value like(xmlSchemaValPtr) + + d xmlSchemaValueGetNext... + d pr extproc('xmlSchemaValueGetNext') + d like(xmlSchemaValPtr) + d cur value like(xmlSchemaValPtr) + + d xmlSchemaValueGetAsString... + d pr * extproc('xmlSchemaValueGetAsString') const xmlChar * + d val value like(xmlSchemaValPtr) + + d xmlSchemaValueGetAsBoolean... + d pr extproc('xmlSchemaValueGetAsBoolean') + d like(xmlCint) + d val value like(xmlSchemaValPtr) + + d xmlSchemaNewStringValue... + d pr extproc('xmlSchemaNewStringValue') + d like(xmlSchemaValPtr) + d type value like(xmlSchemaValType) + d value * value options(*string) const xmlChar * + + d xmlSchemaNewNOTATIONValue... + d pr extproc('xmlSchemaNewNOTATIONValue') + d like(xmlSchemaValPtr) + d name * value options(*string) const xmlChar * + d ns * value options(*string) const xmlChar * + + d xmlSchemaNewQNameValue... + d pr extproc('xmlSchemaNewQNameValue') + d like(xmlSchemaValPtr) + d namespaceName * value options(*string) const xmlChar * + d localName * value options(*string) const xmlChar * + + d xmlSchemaCompareValuesWhtsp... + d pr extproc( + d 'xmlSchemaCompareValuesWhtsp') + d like(xmlCint) + d x value like(xmlSchemaValPtr) + d xws value + d like(xmlSchemaWhitespaceValueType) + d y value like(xmlSchemaValPtr) + d yws value + d like(xmlSchemaWhitespaceValueType) + + d xmlSchemaCopyValue... + d pr extproc('xmlSchemaCopyValue') + d like(xmlSchemaValPtr) + d val value like(xmlSchemaValPtr) + + d xmlSchemaGetValType... + d pr extproc('xmlSchemaGetValType') + d like(xmlSchemaValType) + d val value like(xmlSchemaValPtr) + + /endif LIBXML_SCHEMAS_ENBLD + /endif XML_SCHEMA_TYPES_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlstdarg.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlstdarg.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..3c8e200f4436304ad56c6be78357477178448d38 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlstdarg.rpgle @@ -0,0 +1,35 @@ + * Summary: va_list support for ILE/RPG. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_STDARG_H__) + /define XML_STDARG_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + + * The va_list object. + + d xmlVaList ds based(######typedef######) + d align qualified + d current * + d next * + + * Procedures. + + d xmlVaStart pr extproc('__xmlVaStart') + d list likeds(xmlVaList) + d lastargaddr * value + d lastargsize value like(xmlCsize_t) + + d xmlVaArg pr * extproc('__xmlVaArg') + d list likeds(xmlVaList) + d dest * value + d argsize value like(xmlCsize_t) + + d xmlVaEnd pr extproc('__xmlVaEnd') + d list likeds(xmlVaList) + + /endif XML_STDARG_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlstring.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlstring.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..59a7625ca771dea21be4420672a4a57fe534028a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlstring.rpgle @@ -0,0 +1,180 @@ + * Summary: set of routines to process strings + * Description: type and interfaces needed for the internal string + * handling of the library, especially UTF8 processing. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_STRING_H__) + /define XML_STRING_H__ + + /include "libxmlrpg/xmlversion" + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlstdarg" + + * xmlChar: + * + * This is a basic byte in an UTF-8 encoded string. + * It's unsigned allowing to pinpoint case where char * are assigned + * to xmlChar * (possibly making serialization back impossible). + + d xmlChar s based(######typedef######) + d like(xmlCuchar) + + * xmlChar handling + + d xmlStrdup pr * extproc('xmlStrdup') xmlChar * + d cur * value options(*string) const xmlChar * + + d xmlStrndup pr * extproc('xmlStrndup') xmlChar * + d cur * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlCharStrndup pr * extproc('xmlCharStrndup') xmlChar * + d cur * value options(*string) const char * + d len value like(xmlCint) + + d xmlCharStrdup pr * extproc('xmlCharStrdup') xmlChar * + d cur * value options(*string) const char * + + d xmlStrsub pr * extproc('xmlStrsub') const xmlChar * + d str * value options(*string) const xmlChar * + d start value like(xmlCint) + d len value like(xmlCint) + + d xmlStrchr pr * extproc('xmlStrchr') const xmlChar * + d str * value options(*string) const xmlChar * + d val value like(xmlChar) + + d xmlStrstr pr * extproc('xmlStrstr') const xmlChar * + d str * value options(*string) const xmlChar * + d val * value options(*string) const xmlChar * + + d xmlStrcasestr pr * extproc('xmlStrcasestr') const xmlChar * + d str * value options(*string) const xmlChar * + d val * value options(*string) const xmlChar * + + d xmlStrcmp pr extproc('xmlStrcmp') + d like(xmlCint) + d str1 * value options(*string) const xmlChar * + d str2 * value options(*string) const xmlChar * + + d xmlStrncmp pr extproc('xmlStrncmp') + d like(xmlCint) + d str1 * value options(*string) const xmlChar * + d str2 * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlStrcasecmp pr extproc('xmlStrcasecmp') + d like(xmlCint) + d str1 * value options(*string) const xmlChar * + d str2 * value options(*string) const xmlChar * + + d xmlStrncasecmp pr extproc('xmlStrncasecmp') + d like(xmlCint) + d str1 * value options(*string) const xmlChar * + d str2 * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlStrEqual pr extproc('xmlStrEqual') + d like(xmlCint) + d str1 * value options(*string) const xmlChar * + d str2 * value options(*string) const xmlChar * + + d xmlStrQEqual pr extproc('xmlStrQEqual') + d like(xmlCint) + d pref * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d stre * value options(*string) const xmlChar * + + d xmlStrlen pr extproc('xmlStrlen') + d like(xmlCint) + d str * value options(*string) const xmlChar * + + d xmlStrcat pr * extproc('xmlStrcat') xmlChar * + d cur * value options(*string) xmlChar * + d add * value options(*string) const xmlChar * + + d xmlStrncat pr * extproc('xmlStrncat') xmlChar * + d cur * value options(*string) xmlChar * + d add * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlStrncatNew pr * extproc('xmlStrncatNew') xmlChar * + d str1 * value options(*string) const xmlChar * + d str2 * value options(*string) const xmlChar * + d len value like(xmlCint) + + * xmlStrPrintf() is a vararg function. + * The following prototype supports up to 8 pointer arguments. + * Other argument signature can be achieved by defining alternate + * prototypes redirected to the same function. + + d xmlStrPrintf pr extproc('xmlStrPrintf') + d like(xmlCint) + d buf * value options(*string) xmlChar * + d len value like(xmlCint) + d msg * value options(*string) const char * + d arg1 * value options(*string: *nopass) + d arg2 * value options(*string: *nopass) + d arg3 * value options(*string: *nopass) + d arg4 * value options(*string: *nopass) + d arg5 * value options(*string: *nopass) + d arg6 * value options(*string: *nopass) + d arg7 * value options(*string: *nopass) + d arg8 * value options(*string: *nopass) + + d xmlStrVPrintf pr extproc('xmlStrVPrintf') + d like(xmlCint) + d buf * value options(*string) xmlChar * + d len value like(xmlCint) + d msg * value options(*string) const char * + d ap likeds(xmlVaList) + + d xmlGetUTF8Char pr extproc('xmlGetUTF8Char') + d like(xmlCint) + d utf * value options(*string) const uns. char * + d len like(xmlCint) + + d xmlCheckUTF8 pr extproc('xmlCheckUTF8') + d like(xmlCint) + d utf * value options(*string) const uns. char * + + d xmlUTF8Strsize pr extproc('xmlUTF8Strsize') + d like(xmlCint) + d utf * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlUTF8Strndup pr * extproc('xmlUTF8Strndup') xmlChar * + d utf * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlUTF8Strpos pr * extproc('xmlUTF8Strpos') const xmlChar * + d utf * value options(*string) const xmlChar * + d pos value like(xmlCint) + + d xmlUTF8Strloc pr extproc('xmlUTF8Strloc') + d like(xmlCint) + d utf * value options(*string) const xmlChar * + d utfchar * value options(*string) const xmlChar * + + d xmlUTF8Strsub pr * extproc('xmlUTF8Strsub') xmlChar * + d utf * value options(*string) const xmlChar * + d start value like(xmlCint) + d len value like(xmlCint) + + d xmlUTF8Strlen pr extproc('xmlUTF8Strlen') + d like(xmlCint) + d utf * value options(*string) const xmlChar * + + d xmlUTF8Size pr extproc('xmlUTF8Size') + d like(xmlCint) + d utf * value options(*string) const xmlChar * + + d xmlUTF8Charcmp pr extproc('xmlUTF8Charcmp') + d like(xmlCint) + d utf1 * value options(*string) const xmlChar * + d utf2 * value options(*string) const xmlChar * + + /endif XML_STRING_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlunicode.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlunicode.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..c4c4ba1f1f2f48274c7b0fac87e2f9e92de1778c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlunicode.rpgle @@ -0,0 +1,836 @@ + * Summary: Unicode character APIs + * Description: API for the Unicode character APIs + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_UNICODE_H__) + /define XML_UNICODE_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_UNICODE_ENABLED) + + /include "libxmlrpg/xmlTypesC" + + d xmlUCSIsAegeanNumbers... + d pr extproc('xmlUCSIsAegeanNumbers') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsAlphabeticPresentationForms... + d pr extproc( + d 'xmlUCSIsAlphabeticPresentationForms' + d ) + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsArabic pr extproc('xmlUCSIsArabic') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsArabicPresentationFormsA... + d pr extproc( + d 'xmlUCSIsArabicPresentationFormsA') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsArabicPresentationFormsB... + d pr extproc( + d 'xmlUCSIsArabicPresentationFormsB') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsArmenian... + d pr extproc('xmlUCSIsArmenian') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsArrows pr extproc('xmlUCSIsArrows') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBasicLatin... + d pr extproc('xmlUCSIsBasicLatin') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBengali... + d pr extproc('xmlUCSIsBengali') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBlockElements... + d pr extproc('xmlUCSIsBlockElements') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBopomofo... + d pr extproc('xmlUCSIsBopomofo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBopomofoExtended... + d pr extproc('xmlUCSIsBopomofoExtended') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBoxDrawing... + d pr extproc('xmlUCSIsBoxDrawing') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBraillePatterns... + d pr extproc('xmlUCSIsBraillePatterns') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBuhid pr extproc('xmlUCSIsBuhid') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsByzantineMusicalSymbols... + d pr extproc( + d 'xmlUCSIsByzantineMusicalSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKCompatibility... + d pr extproc('xmlUCSIsCJKCompatibility') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKCompatibilityForms... + d pr extproc( + d 'xmlUCSIsCJKCompatibilityForms') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKCompatibilityIdeographs... + d pr extproc( + d 'xmlUCSIsCJKCompatibilityIdeographs') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKCompatibilityIdeographsSupplement... + d pr extproc('xmlUCSIsCJKCompatibilityIde- + d ographsSupplement') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKRadicalsSupplement... + d pr extproc( + d 'xmlUCSIsCJKRadicalsSupplement') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKSymbolsandPunctuation... + d pr extproc( + d 'xmlUCSIsCJKSymbolsandPunctuation') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKUnifiedIdeographs... + d pr extproc( + d 'xmlUCSIsCJKUnifiedIdeographs') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKUnifiedIdeographsExtensionA... + d pr extproc('xmlUCSIsCJKUnifiedIdeograph- + d sExtensionA') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCJKUnifiedIdeographsExtensionB... + d pr extproc('xmlUCSIsCJKUnifiedIdeograph- + d sExtensionB') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCherokee... + d pr extproc('xmlUCSIsCherokee') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCombiningDiacriticalMarks... + d pr extproc( + d 'xmlUCSIsCombiningDiacriticalMarks') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCombiningDiacriticalMarksforSymbols... + d pr extproc('xmlUCSIsCombiningDiacritica- + d lMarksforSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCombiningHalfMarks... + d pr extproc('xmlUCSIsCombiningHalfMarks') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCombiningMarksforSymbols... + d pr extproc( + d 'xmlUCSIsCombiningMarksforSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsControlPictures... + d pr extproc('xmlUCSIsControlPictures') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCurrencySymbols... + d pr extproc('xmlUCSIsCurrencySymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCypriotSyllabary... + d pr extproc('xmlUCSIsCypriotSyllabary') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCyrillic... + d pr extproc('xmlUCSIsCyrillic') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCyrillicSupplement... + d pr extproc('xmlUCSIsCyrillicSupplement') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsDeseret... + d pr extproc('xmlUCSIsDeseret') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsDevanagari... + d pr extproc('xmlUCSIsDevanagari') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsDingbats... + d pr extproc('xmlUCSIsDingbats') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsEnclosedAlphanumerics... + d pr extproc( + d 'xmlUCSIsEnclosedAlphanumerics') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsEnclosedCJKLettersandMonths... + d pr extproc( + d 'xmlUCSIsEnclosedCJKLettersandMonths' + d ) + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsEthiopic... + d pr extproc('xmlUCSIsEthiopic') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGeneralPunctuation... + d pr extproc('xmlUCSIsGeneralPunctuation') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGeometricShapes... + d pr extproc('xmlUCSIsGeometricShapes') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGeorgian... + d pr extproc('xmlUCSIsGeorgian') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGothic pr extproc('xmlUCSIsGothic') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGreek pr extproc('xmlUCSIsGreek') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGreekExtended... + d pr extproc('xmlUCSIsGreekExtended') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGreekandCoptic... + d pr extproc('xmlUCSIsGreekandCoptic') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGujarati... + d pr extproc('xmlUCSIsGujarati') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsGurmukhi... + d pr extproc('xmlUCSIsGurmukhi') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHalfwidthandFullwidthForms... + d pr extproc( + d 'xmlUCSIsHalfwidthandFullwidthForms') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHangulCompatibilityJamo... + d pr extproc( + d 'xmlUCSIsHangulCompatibilityJamo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHangulJamo... + d pr extproc('xmlUCSIsHangulJamo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHangulSyllables... + d pr extproc('xmlUCSIsHangulSyllables') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHanunoo... + d pr extproc('xmlUCSIsHanunoo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHebrew pr extproc('xmlUCSIsHebrew') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHighPrivateUseSurrogates... + d pr extproc( + d 'xmlUCSIsHighPrivateUseSurrogates') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHighSurrogates... + d pr extproc('xmlUCSIsHighSurrogates') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsHiragana... + d pr extproc('xmlUCSIsHiragana') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsIPAExtensions... + d pr extproc('xmlUCSIsIPAExtensions') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsIdeographicDescriptionCharacters... + d pr extproc('xmlUCSIsIdeographicDescript- + d ionCharacters') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsKanbun pr extproc('xmlUCSIsKanbun') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsKangxiRadicals... + d pr extproc('xmlUCSIsKangxiRadicals') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsKannada... + d pr extproc('xmlUCSIsKannada') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsKatakana... + d pr extproc('xmlUCSIsKatakana') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsKatakanaPhoneticExtensions... + d pr extproc( + d 'xmlUCSIsKatakanaPhoneticExtensions') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsKhmer pr extproc('xmlUCSIsKhmer') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsKhmerSymbols... + d pr extproc('xmlUCSIsKhmerSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLao pr extproc('xmlUCSIsLao') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLatin1Supplement... + d pr extproc('xmlUCSIsLatin1Supplement') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLatinExtendedA... + d pr extproc('xmlUCSIsLatinExtendedA') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLatinExtendedB... + d pr extproc('xmlUCSIsLatinExtendedB') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLatinExtendedAdditional... + d pr extproc( + d 'xmlUCSIsLatinExtendedAdditional') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLetterlikeSymbols... + d pr extproc('xmlUCSIsLetterlikeSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLimbu pr extproc('xmlUCSIsLimbu') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLinearBIdeograms... + d pr extproc('xmlUCSIsLinearBIdeograms') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLinearBSyllabary... + d pr extproc('xmlUCSIsLinearBSyllabary') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsLowSurrogates... + d pr extproc('xmlUCSIsLowSurrogates') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMalayalam... + d pr extproc('xmlUCSIsMalayalam') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMathematicalAlphanumericSymbols... + d pr extproc('xmlUCSIsMathematicalAlphanu- + d mericSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMathematicalOperators... + d pr extproc( + d 'xmlUCSIsMathematicalOperators') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMiscellaneousMathematicalSymbolsA... + d pr extproc('xmlUCSIsMiscellaneousMathem- + d aticalSymbolsA') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMiscellaneousMathematicalSymbolsB... + d pr extproc('xmlUCSIsMiscellaneousMathem- + d aticalSymbolsB') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMiscellaneousSymbols... + d pr extproc( + d 'xmlUCSIsMiscellaneousSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMiscellaneousSymbolsandArrows... + d pr extproc('xmlUCSIsMiscellaneousSymbol- + d sandArrows') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMiscellaneousTechnical... + d pr extproc( + d 'xmlUCSIsMiscellaneousTechnical') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMongolian... + d pr extproc('xmlUCSIsMongolian') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMusicalSymbols... + d pr extproc('xmlUCSIsMusicalSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsMyanmar... + d pr extproc('xmlUCSIsMyanmar') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsNumberForms... + d pr extproc('xmlUCSIsNumberForms') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsOgham pr extproc('xmlUCSIsOgham') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsOldItalic... + d pr extproc('xmlUCSIsOldItalic') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsOpticalCharacterRecognition... + d pr extproc( + d 'xmlUCSIsOpticalCharacterRecognition' + d ) + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsOriya pr extproc('xmlUCSIsOriya') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsOsmanya... + d pr extproc('xmlUCSIsOsmanya') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsPhoneticExtensions... + d pr extproc('xmlUCSIsPhoneticExtensions') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsPrivateUse... + d pr extproc('xmlUCSIsPrivateUse') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsPrivateUseArea... + d pr extproc('xmlUCSIsPrivateUseArea') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsRunic pr extproc('xmlUCSIsRunic') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsShavian... + d pr extproc('xmlUCSIsShavian') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSinhala... + d pr extproc('xmlUCSIsSinhala') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSmallFormVariants... + d pr extproc('xmlUCSIsSmallFormVariants') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSpacingModifierLetters... + d pr extproc( + d 'xmlUCSIsSpacingModifierLetters') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSpecials... + d pr extproc('xmlUCSIsSpecials') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSuperscriptsandSubscripts... + d pr extproc( + d 'xmlUCSIsSuperscriptsandSubscripts') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSupplementalArrowsA... + d pr extproc( + d 'xmlUCSIsSupplementalArrowsA') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSupplementalArrowsB... + d pr extproc( + d 'xmlUCSIsSupplementalArrowsB') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSupplementalMathematicalOperators... + d pr extproc('xmlUCSIsSupplementalMathema- + d ticalOperators') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSupplementaryPrivateUseAreaA... + d pr extproc('xmlUCSIsSupplementaryPrivat- + d eUseAreaA') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSupplementaryPrivateUseAreaB... + d pr extproc('xmlUCSIsSupplementaryPrivat- + d eUseAreaB') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsSyriac pr extproc('xmlUCSIsSyriac') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsTagalog... + d pr extproc('xmlUCSIsTagalog') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsTagbanwa... + d pr extproc('xmlUCSIsTagbanwa') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsTags pr extproc('xmlUCSIsTags') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsTaiLe pr extproc('xmlUCSIsTaiLe') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsTaiXuanJingSymbols... + d pr extproc('xmlUCSIsTaiXuanJingSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsTamil pr extproc('xmlUCSIsTamil') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsTelugu pr extproc('xmlUCSIsTelugu') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsThaana pr extproc('xmlUCSIsThaana') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsThai pr extproc('xmlUCSIsThai') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsTibetan... + d pr extproc('xmlUCSIsTibetan') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsUgaritic... + d pr extproc('xmlUCSIsUgaritic') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsUnifiedCanadianAboriginalSyllabics... + d pr extproc('xmlUCSIsUnifiedCanadianAbor- + d iginalSyllabics') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsVariationSelectors... + d pr extproc('xmlUCSIsVariationSelectors') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsVariationSelectorsSupplement... + d pr extproc('xmlUCSIsVariationSelectorsS- + d upplement') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsYiRadicals... + d pr extproc('xmlUCSIsYiRadicals') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsYiSyllables... + d pr extproc('xmlUCSIsYiSyllables') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsYijingHexagramSymbols... + d pr extproc( + d 'xmlUCSIsYijingHexagramSymbols') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsBlock pr extproc('xmlUCSIsBlock') + d like(xmlCint) + d code value like(xmlCint) + d block * value options(*string) const char * + + d xmlUCSIsCatC pr extproc('xmlUCSIsCatC') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatCc pr extproc('xmlUCSIsCatCc') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatCf pr extproc('xmlUCSIsCatCf') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatCo pr extproc('xmlUCSIsCatCo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatCs pr extproc('xmlUCSIsCatCs') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatL pr extproc('xmlUCSIsCatL') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatLl pr extproc('xmlUCSIsCatLl') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatLm pr extproc('xmlUCSIsCatLm') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatLo pr extproc('xmlUCSIsCatLo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatLt pr extproc('xmlUCSIsCatLt') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatLu pr extproc('xmlUCSIsCatLu') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatM pr extproc('xmlUCSIsCatM') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatMc pr extproc('xmlUCSIsCatMc') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatMe pr extproc('xmlUCSIsCatMe') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatMn pr extproc('xmlUCSIsCatMn') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatN pr extproc('xmlUCSIsCatN') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatNd pr extproc('xmlUCSIsCatNd') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatNl pr extproc('xmlUCSIsCatNl') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatNo pr extproc('xmlUCSIsCatNo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatP pr extproc('xmlUCSIsCatP') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatPc pr extproc('xmlUCSIsCatPc') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatPd pr extproc('xmlUCSIsCatPd') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatPe pr extproc('xmlUCSIsCatPe') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatPf pr extproc('xmlUCSIsCatPf') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatPi pr extproc('xmlUCSIsCatPi') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatPo pr extproc('xmlUCSIsCatPo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatPs pr extproc('xmlUCSIsCatPs') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatS pr extproc('xmlUCSIsCatS') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatSc pr extproc('xmlUCSIsCatSc') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatSk pr extproc('xmlUCSIsCatSk') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatSm pr extproc('xmlUCSIsCatSm') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatSo pr extproc('xmlUCSIsCatSo') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatZ pr extproc('xmlUCSIsCatZ') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatZl pr extproc('xmlUCSIsCatZl') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatZp pr extproc('xmlUCSIsCatZp') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCatZs pr extproc('xmlUCSIsCatZs') + d like(xmlCint) + d code value like(xmlCint) + + d xmlUCSIsCat pr extproc('xmlUCSIsCat') + d like(xmlCint) + d code value like(xmlCint) + d cat * value options(*string) const char * + + /endif LIBXML_UNICODE_ENBLD + /endif XML_UNICODE_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlversion.rpgle.in b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlversion.rpgle.in new file mode 100644 index 0000000000000000000000000000000000000000..94a3910f506da410ae07fa529b1cb982e27daddf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlversion.rpgle.in @@ -0,0 +1,353 @@ + * Summary: compile-time version information + * Description: compile-time version information for the XML library + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_VERSION_H__) + /define XML_VERSION_H__ + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlexports" + + * use those to be sure nothing nasty will happen if + * your library and includes mismatch + + + d xmlCheckVersion... + d pr extproc('xmlCheckVersion') + d version value like(xmlCint) + + * LIBXML_DOTTED_VERSION: + * + * the version string like "1.2.3" + + d LIBXML_DOTTED_VERSION... + d c '@VERSION@' + + * LIBXML_VERSION: + * + * the version number: 1.2.3 value is 10203 + + d LIBXML_VERSION c @LIBXML_VERSION_NUMBER@ + + * LIBXML_VERSION_STRING: + * + * the version number string, 1.2.3 value is "10203" + + d LIBXML_VERSION_STRING... + d c '@LIBXML_VERSION_NUMBER@' + + * LIBXML_VERSION_EXTRA: + * + * extra version information, used to show a CVS compilation + + d LIBXML_VERSION_EXTRA... + d c '@LIBXML_VERSION_EXTRA@' + + * For conditional compilation + /define DEFINED_1 + /undefine DEFINED_0 + + /if defined(DEFINED_@WITH_TRIO@) + * WITH_TRIO: + * + * defined if the trio support need to be configured in + + /define WITH_TRIO + /else + * WITHOUT_TRIO: + * + * defined if the trio support should not be configured in + + /define WITHOUT_TRIO + /endif + + * LIBXML_THREAD_ENABLED: + * + * Whether the thread support is configured in + + /if defined(DEFINED_@WITH_THREADS@) + /define LIBXML_THREAD_ENABLED + /endif + + * LIBXML_THREAD_ALLOC_ENABLED: + * + * Whether the allocation hooks are per-thread + + /if defined(DEFINED_@WITH_THREAD_ALLOC@) + /define LIBXML_THREAD_ALLOC_ENABLED + /endif + + * LIBXML_TREE_ENABLED: + * + * Whether the DOM like tree manipulation API support is configured in + + /if defined(DEFINED_@WITH_TREE@) + /define LIBXML_TREE_ENABLED + /endif + + * LIBXML_OUTPUT_ENABLED: + * + * Whether the serialization/saving support is configured in + + /if defined(DEFINED_@WITH_OUTPUT@) + /define LIBXML_OUTPUT_ENABLED + /endif + + * LIBXML_PUSH_ENABLED: + * + * Whether the push parsing interfaces are configured in + + /if defined(DEFINED_@WITH_PUSH@) + /define LIBXML_PUSH_ENABLED + /endif + + * LIBXML_READER_ENABLED: + * + * Whether the xmlReader parsing interface is configured in + + /if defined(DEFINED_@WITH_READER@) + /define LIBXML_READER_ENABLED + /endif + + * LIBXML_PATTERN_ENABLED: + * + * Whether the xmlPattern node selection interface is configured in + + /if defined(DEFINED_@WITH_PATTERN@) + /define LIBXML_PATTERN_ENABLED + /endif + + * LIBXML_WRITER_ENABLED: + * + * Whether the xmlWriter saving interface is configured in + + /if defined(DEFINED_@WITH_WRITER@) + /define LIBXML_WRITER_ENABLED + /endif + + * LIBXML_SAX1_ENABLED: + * + * Whether the older SAX1 interface is configured in + + /if defined(DEFINED_@WITH_SAX1@) + /define LIBXML_SAX1_ENABLED + /endif + + * LIBXML_FTP_ENABLED: + * + * Whether the FTP support is configured in + + /if defined(DEFINED_@WITH_FTP@) + /define LIBXML_FTP_ENABLED + /endif + + * LIBXML_HTTP_ENABLED: + * + * Whether the HTTP support is configured in + + /if defined(DEFINED_@WITH_HTTP@) + /define LIBXML_HTTP_ENABLED + /endif + + * LIBXML_VALID_ENABLED: + * + * Whether the DTD validation support is configured in + + /if defined(DEFINED_@WITH_VALID@) + /define LIBXML_VALID_ENABLED + /endif + + * LIBXML_HTML_ENABLED: + * + * Whether the HTML support is configured in + + /if defined(DEFINED_@WITH_HTML@) + /define LIBXML_HTML_ENABLED + /endif + + * LIBXML_LEGACY_ENABLED: + * + * Whether the deprecated APIs are compiled in for compatibility + + /if defined(DEFINED_@WITH_LEGACY@) + /define LIBXML_LEGACY_ENABLED + /endif + + * LIBXML_C14N_ENABLED: + * + * Whether the Canonicalization support is configured in + + /if defined(DEFINED_@WITH_C14N@) + /define LIBXML_C14N_ENABLED + /endif + + * LIBXML_CATALOG_ENABLED: + * + * Whether the Catalog support is configured in + + /if defined(DEFINED_@WITH_CATALOG@) + /define LIBXML_CATALOG_ENABLED + /endif + + * LIBXML_DOCB_ENABLED: + * + * Whether the SGML Docbook support is configured in + + /if defined(DEFINED_@WITH_DOCB@) + /define LIBXML_DOCB_ENABLED + /endif + + * LIBXML_XPATH_ENABLED: + * + * Whether XPath is configured in + + /if defined(DEFINED_@WITH_XPATH@) + /define LIBXML_XPATH_ENABLED + /endif + + * LIBXML_XPTR_ENABLED: + * + * Whether XPointer is configured in + + /if defined(DEFINED_@WITH_XPTR@) + /define LIBXML_XPTR_ENABLED + /endif + + * LIBXML_XINCLUDE_ENABLED: + * + * Whether XInclude is configured in + + /if defined(DEFINED_@WITH_XINCLUDE@) + /define LIBXML_XINCLUDE_ENABLED + /endif + + * LIBXML_ICONV_ENABLED: + * + * Whether iconv support is available + + /if defined(DEFINED_@WITH_ICONV@) + /define LIBXML_ICONV_ENABLED + /endif + + * LIBXML_ICU_ENABLED: + * + * Whether icu support is available + + /if defined(DEFINED_@WITH_ICU@) + /define LIBXML_ICU_ENABLED + /endif + + * LIBXML_ISO8859X_ENABLED: + * + * Whether ISO-8859-* support is made available in case iconv is not + + /if defined(DEFINED_@WITH_ISO8859X@) + /define LIBXML_ISO8859X_ENABLED + /endif + + * LIBXML_DEBUG_ENABLED: + * + * Whether Debugging module is configured in + + /if defined(DEFINED_@WITH_DEBUG@) + /define LIBXML_DEBUG_ENABLED + /endif + + * DEBUG_MEMORY_LOCATION: + * + * Whether the memory debugging is configured in + + /if defined(DEFINED_@WITH_MEM_DEBUG@) + /define DEBUG_MEMORY_LOCATION + /endif + + * LIBXML_DEBUG_RUNTIME: + * + * Whether the runtime debugging is configured in + + /if defined(DEFINED_@WITH_RUN_DEBUG@) + /define LIBXML_DEBUG_RUNTIME + /endif + + * LIBXML_UNICODE_ENABLED: + * + * Whether the Unicode related interfaces are compiled in + + /if defined(DEFINED_@WITH_REGEXPS@) + /define LIBXML_UNICODE_ENABLED + /endif + + * LIBXML_REGEXP_ENABLED: + * + * Whether the regular expressions interfaces are compiled in + + /if defined(DEFINED_@WITH_REGEXPS@) + /define LIBXML_REGEXP_ENABLED + /endif + + * LIBXML_AUTOMATA_ENABLED: + * + * Whether the automata interfaces are compiled in + + /if defined(DEFINED_@WITH_REGEXPS@) + /define LIBXML_AUTOMATA_ENABLED + /endif + + * LIBXML_EXPR_ENABLED: + * + * Whether the formal expressions interfaces are compiled in + + /if defined(DEFINED_@WITH_SCHEMAS@) + /define LIBXML_EXPR_ENABLED + /endif + + * LIBXML_SCHEMAS_ENABLED: + * + * Whether the Schemas validation interfaces are compiled in + + /if defined(DEFINED_@WITH_SCHEMAS@) + /define LIBXML_SCHEMAS_ENABLED + /endif + + * LIBXML_SCHEMATRON_ENABLED: + * + * Whether the Schematron validation interfaces are compiled in + + /if defined(DEFINED_@WITH_SCHEMATRON@) + /define LIBXML_SCHEMATRON_ENABLED + /endif + + * LIBXML_MODULES_ENABLED: + * + * Whether the module interfaces are compiled in + + /if defined(DEFINED_@WITH_MODULES@) + /define LIBXML_MODULES_ENABLED + + * LIBXML_MODULE_EXTENSION: + * + * the string suffix used by dynamic modules (usually shared libraries) + + d LIBXML_MODULE_EXTENSION... + d c '.SRVPGM' + /endif + + * LIBXML_ZLIB_ENABLED: + * + * Whether the Zlib support is compiled in + + /if defined(DEFINED_@WITH_ZLIB@) + /define LIBXML_ZLIB_ENABLED + /endif + + * LIBXML_LZMA_ENABLED: + * + * Whether the Lzma support is compiled in + + /if defined(DEFINED_@WITH_LZMA@) + /define LIBXML_LZMA_ENABLED + /endif + /endif diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlwriter.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlwriter.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..c8530f8d3fcd6150abb1f63daf072eede8ddb7ae --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xmlwriter.rpgle @@ -0,0 +1,801 @@ + * Summary: text writing API for XML + * Description: text writing API for XML + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_XMLWRITER_H__) + /define XML_XMLWRITER_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_WRITER_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlstdarg" + /include "libxmlrpg/xmlIO" + /include "libxmlrpg/list" + /include "libxmlrpg/xmlstring" + + d xmlTextWriterPtr... + d s * based(######typedef######) + + * Constructors & Destructor + + d xmlNewTextWriter... + d pr extproc('xmlNewTextWriter') + d like(xmlTextWriterPtr) + d out value like(xmlOutputBufferPtr) + + d xmlNewTextWriterFilename... + d pr extproc('xmlNewTextWriterFilename') + d like(xmlTextWriterPtr) + d uri * value options(*string) const char * + d compression value like(xmlCint) + + d xmlNewTextWriterMemory... + d pr extproc('xmlNewTextWriterMemory') + d like(xmlTextWriterPtr) + d buf value like(xmlBufferPtr) + d compression value like(xmlCint) + + d xmlNewTextWriterPushParser... + d pr extproc('xmlNewTextWriterPushParser') + d like(xmlTextWriterPtr) + d ctxt value like(xmlParserCtxtPtr) + d compression value like(xmlCint) + + d xmlNewTextWriterDoc... + d pr extproc('xmlNewTextWriterDoc') + d like(xmlTextWriterPtr) + d doc like(xmlDocPtr) + d compression value like(xmlCint) + + d xmlNewTextWriterTree... + d pr extproc('xmlNewTextWriterTree') + d like(xmlTextWriterPtr) + d doc value like(xmlDocPtr) + d node value like(xmlNodePtr) + d compression value like(xmlCint) + + d xmlFreeTextWriter... + d pr extproc('xmlFreeTextWriter') + d writer value like(xmlTextWriterPtr) + + * Functions + + * Document + + d xmlTextWriterStartDocument... + d pr extproc('xmlTextWriterStartDocument') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d version * value options(*string) const char * + d encoding * value options(*string) const char * + d standalone * value options(*string) const char * + + d xmlTextWriterEndDocument... + d pr extproc('xmlTextWriterEndDocument') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * Comments + + d xmlTextWriterStartComment... + d pr extproc('xmlTextWriterStartComment') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + d xmlTextWriterEndComment... + d pr extproc('xmlTextWriterEndComment') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + d xmlTextWriterWriteFormatComment... + d pr extproc( + d 'xmlTextWriterWriteFormatComment') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d format * value options(*string: *nopass) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatComment... + d pr extproc( + d 'xmlTextWriterWriteVFormatComment') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteComment... + d pr extproc('xmlTextWriterWriteComment') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d content * value options(*string) const xmlChar * + + * Elements + + d xmlTextWriterStartElement... + d pr extproc('xmlTextWriterStartElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + + d xmlTextWriterStartElementNS... + d pr extproc( + d 'xmlTextWriterStartElementNS') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d prefix * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + + d xmlTextWriterEndElement... + d pr extproc('xmlTextWriterEndElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + d xmlTextWriterFullEndElement... + d pr extproc( + d 'xmlTextWriterFullEndElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * Elements conveniency functions + + d xmlTextWriterWriteFormatElement... + d pr extproc( + d 'xmlTextWriterWriteFormatElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatElement... + d pr extproc( + d 'xmlTextWriterWriteVFormatElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteElement... + d pr extproc('xmlTextWriterWriteElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlTextWriterWriteFormatElementNS... + d pr extproc( + d 'xmlTextWriterWriteFormatElementNS') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d prefix * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatElementNS... + d pr extproc( + d 'xmlTextWriterWriteVFormatElementNS') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d prefix * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteElementNS... + d pr extproc( + d 'xmlTextWriterWriteElementNS') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d prefix * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + * Text + + d xmlTextWriterWriteFormatRaw... + d pr extproc( + d 'xmlTextWriterWriteFormatRaw') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatRaw... + d pr extproc( + d 'xmlTextWriterWriteVFormatRaw') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteRawLen... + d pr extproc('xmlTextWriterWriteRawLen') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d content * value options(*string) const xmlChar * + d len value like(xmlCint) + + d xmlTextWriterWriteRaw... + d pr extproc('xmlTextWriterWriteRaw') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d content * value options(*string) const xmlChar * + + d xmlTextWriterWriteFormatString... + d pr extproc( + d 'xmlTextWriterWriteFormatString') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatString... + d pr extproc( + d 'xmlTextWriterWriteVFormatString') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteString... + d pr extproc('xmlTextWriterWriteString') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d content * value options(*string) const xmlChar * + + d xmlTextWriterWriteBase64... + d pr extproc('xmlTextWriterWriteBase64') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d data * value options(*string) const char * + d start value like(xmlCint) + d len value like(xmlCint) + + d xmlTextWriterWriteBinHex... + d pr extproc('xmlTextWriterWriteBinHex') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d data * value options(*string) const char * + d start value like(xmlCint) + d len value like(xmlCint) + + * Attributes + + d xmlTextWriterStartAttribute... + d pr extproc( + d 'xmlTextWriterStartAttribute') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + + d xmlTextWriterStartAttributeNS... + d pr extproc( + d 'xmlTextWriterStartAttributeNS') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d prefix * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + + d xmlTextWriterEndAttribute... + d pr extproc('xmlTextWriterEndAttribute') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * Attributes conveniency functions + + d xmlTextWriterWriteFormatAttribute... + d pr extproc( + d 'xmlTextWriterWriteFormatAttribute') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatAttribute... + d pr extproc( + d 'xmlTextWriterWriteVFormatAttribute') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteAttribute... + d pr extproc( + d 'xmlTextWriterWriteAttribute') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlTextWriterWriteFormatAttributeNS... + d pr extproc( + d 'xmlTextWriterWriteFormatAttributeNS' + d ) + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d prefix * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatAttributeNS... + d pr extproc('xmlTextWriterWriteVFormatAt- + d tributeNS') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d prefix * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteAttributeNS... + d pr extproc( + d 'xmlTextWriterWriteAttributeNS') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d prefix * value options(*string) const xmlChar * + d name * value options(*string) const xmlChar * + d namespaceURI * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + * PI's + + d xmlTextWriterStartPI... + d pr extproc('xmlTextWriterStartPI') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d target * value options(*string) const xmlChar * + + d xmlTextWriterEndPI... + d pr extproc('xmlTextWriterEndPI') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * PI conveniency functions + + d xmlTextWriterWriteFormatPI... + d pr extproc('xmlTextWriterWriteFormatPI') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d target * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatPI... + d pr extproc( + d 'xmlTextWriterWriteVFormatPI') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d target * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWritePI... + d pr extproc('xmlTextWriterWritePI') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d target * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + * xmlTextWriterWriteProcessingInstruction: + * + * This macro maps to xmlTextWriterWritePI + + d xmlTextWriterWriteProcessingInstruction... + d pr extproc('xmlTextWriterWritePI') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d target * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + * CDATA + + d xmlTextWriterStartCDATA... + d pr extproc('xmlTextWriterStartCDATA') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + d xmlTextWriterEndCDATA... + d pr extproc('xmlTextWriterEndCDATA') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * CDATA conveniency functions + + d xmlTextWriterWriteFormatCDATA... + d pr extproc( + d 'xmlTextWriterWriteFormatCDATA') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatCDATA... + d pr extproc( + d 'xmlTextWriterWriteVFormatCDATA') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteCDATA... + d pr extproc('xmlTextWriterWriteCDATA') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d content * value options(*string) const xmlChar * + + * DTD + + d xmlTextWriterStartDTD... + d pr extproc('xmlTextWriterStartDTD') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + + d xmlTextWriterEndDTD... + d pr extproc('xmlTextWriterEndDTD') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * DTD conveniency functions + + d xmlTextWriterWriteFormatDTD... + d pr extproc( + d 'xmlTextWriterWriteFormatDTD') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatDTD... + d pr extproc( + d 'xmlTextWriterWriteVFormatDTD') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteDTD... + d pr extproc('xmlTextWriterWriteDTD') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + d subset * value options(*string) const xmlChar * + + * xmlTextWriterWriteDocType: + * + * this macro maps to xmlTextWriterWriteDTD + + d xmlTextWriterWriteDocType... + d pr extproc('xmlTextWriterWriteDTD') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + d subset * value options(*string) const xmlChar * + + * DTD element definition + + d xmlTextWriterStartDTDElement... + d pr extproc( + d 'xmlTextWriterStartDTDElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + + d xmlTextWriterEndDTDElement... + d pr extproc('xmlTextWriterEndDTDElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * DTD element definition conveniency functions + + d xmlTextWriterWriteFormatDTDElement... + d pr extproc( + d 'xmlTextWriterWriteFormatDTDElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatDTDElement... + d pr extproc( + d 'xmlTextWriterWriteVFormatDTDElement' + d ) + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteDTDElement... + d pr extproc( + d 'xmlTextWriterWriteDTDElement') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + * DTD attribute list definition + + d xmlTextWriterStartDTDAttlist... + d pr extproc( + d 'xmlTextWriterStartDTDAttlist') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + + d xmlTextWriterEndDTDAttlist... + d pr extproc('xmlTextWriterEndDTDAttlist') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * DTD attribute list definition conveniency functions + + d xmlTextWriterWriteFormatDTDAttlist... + d pr extproc( + d 'xmlTextWriterWriteFormatDTDAttlist') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatDTDAttlist... + d pr extproc( + d 'xmlTextWriterWriteVFormatDTDAttlist' + d ) + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteDTDAttlist... + d pr extproc( + d 'xmlTextWriterWriteDTDAttlist') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + * DTD entity definition + + d xmlTextWriterStartDTDEntity... + d pr extproc( + d 'xmlTextWriterStartDTDEntity') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d pe value like(xmlCint) + d name * value options(*string) const xmlChar * + + d xmlTextWriterEndDTDEntity... + d pr extproc('xmlTextWriterEndDTDEntity') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + * DTD entity definition conveniency functions + + d xmlTextWriterWriteFormatDTDInternalEntity... + d pr extproc('xmlTextWriterWriteFormatDTD- + d InternalEntity') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d pe value like(xmlCint) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d #vararg1 * value options(*string: *nopass) void * + d #vararg2 * value options(*string: *nopass) void * + d #vararg3 * value options(*string: *nopass) void * + d #vararg4 * value options(*string: *nopass) void * + d #vararg5 * value options(*string: *nopass) void * + d #vararg6 * value options(*string: *nopass) void * + d #vararg7 * value options(*string: *nopass) void * + d #vararg8 * value options(*string: *nopass) void * + + d xmlTextWriterWriteVFormatDTDInternalEntity... + d pr extproc('xmlTextWriterWriteVFormatDT- + d DInternalEntity') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d pe value like(xmlCint) + d name * value options(*string) const xmlChar * + d format * value options(*string) const char * + d argptr likeds(xmlVaList) + + d xmlTextWriterWriteDTDInternalEntity... + d pr extproc( + d 'xmlTextWriterWriteDTDInternalEntity' + d ) + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d pe value like(xmlCint) + d name * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + d xmlTextWriterWriteDTDExternalEntity... + d pr extproc( + d 'xmlTextWriterWriteDTDExternalEntity' + d ) + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d pe value like(xmlCint) + d name * value options(*string) const xmlChar * + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + d ndataid * value options(*string) const xmlChar * + + d xmlTextWriterWriteDTDExternalEntityContents... + d pr extproc('xmlTextWriterWriteDTDExtern- + d alEntityContents') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + d ndataid * value options(*string) const xmlChar * + + d xmlTextWriterWriteDTDEntity... + d pr extproc( + d 'xmlTextWriterWriteDTDEntity') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d pe value like(xmlCint) + d name * value options(*string) const xmlChar * + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + d ndataid * value options(*string) const xmlChar * + d content * value options(*string) const xmlChar * + + * DTD notation definition + + d xmlTextWriterWriteDTDNotation... + d pr extproc( + d 'xmlTextWriterWriteDTDNotation') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d name * value options(*string) const xmlChar * + d pubid * value options(*string) const xmlChar * + d sysid * value options(*string) const xmlChar * + + * Indentation + + d xmlTextWriterSetIndent... + d pr extproc('xmlTextWriterSetIndent') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d indent value like(xmlCint) + + d xmlTextWriterSetIndentString... + d pr extproc( + d 'xmlTextWriterSetIndentString') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d str * value options(*string) const xmlChar * + + d xmlTextWriterSetQuoteChar... + d pr extproc('xmlTextWriterSetQuoteChar') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + d quotechar value like(xmlChar) + + * misc + + d xmlTextWriterFlush... + d pr extproc('xmlTextWriterFlush') + d like(xmlCint) + d writer value like(xmlTextWriterPtr) + + /endif LIBXML_WRITER_ENABLD + /endif XML_XMLWRITER_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpath.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpath.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..e1e15d6dfdd2093a801b6903047eb9bc2ca2fa16 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpath.rpgle @@ -0,0 +1,675 @@ + * Summary: XML Path Language implementation + * Description: API for the XML Path Language implementation + * + * XML Path Language implementation + * XPath is a language for addressing parts of an XML document, + * designed to be used by both XSLT and XPointer + * http://www.w3.org/TR/xpath + * + * Implements + * W3C Recommendation 16 November 1999 + * http://www.w3.org/TR/1999/REC-xpath-19991116 + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_XPATH_H__) + /define XML_XPATH_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_XPATH_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xmlerror" + /include "libxmlrpg/tree" + /include "libxmlrpg/hash" + /endif LIBXML_XPATH_ENABLED + + /if defined(LIBXML_XPATH_ENABLED) + + d xmlXPathContextPtr... + d s * based(######typedef######) + + d xmlXPathParserContextPtr... + d s * based(######typedef######) + + * The set of XPath error codes. + + d xmlXPathError s based(######typedef######) + d like(xmlCenum) + d XPATH_EXPRESSION_OK... + d c 0 + d XPATH_NUMBER_ERROR... + d c 1 + d XPATH_UNFINISHED_LITERAL_ERROR... + d c 2 + d XPATH_START_LITERAL_ERROR... + d c 3 + d XPATH_VARIABLE_REF_ERROR... + d c 4 + d XPATH_UNDEF_VARIABLE_ERROR... + d c 5 + d XPATH_INVALID_PREDICATE_ERROR... + d c 6 + d XPATH_EXPR_ERROR... + d c 7 + d XPATH_UNCLOSED_ERROR... + d c 8 + d XPATH_UNKNOWN_FUNC_ERROR... + d c 9 + d XPATH_INVALID_OPERAND... + d c 10 + d XPATH_INVALID_TYPE... + d c 11 + d XPATH_INVALID_ARITY... + d c 12 + d XPATH_INVALID_CTXT_SIZE... + d c 13 + d XPATH_INVALID_CTXT_POSITION... + d c 14 + d XPATH_MEMORY_ERROR... + d c 15 + d XPTR_SYNTAX_ERROR... + d c 16 + d XPTR_RESOURCE_ERROR... + d c 17 + d XPTR_SUB_RESOURCE_ERROR... + d c 18 + d XPATH_UNDEF_PREFIX_ERROR... + d c 19 + d XPATH_ENCODING_ERROR... + d c 20 + d XPATH_INVALID_CHAR_ERROR... + d c 21 + d XPATH_INVALID_CTXT... + d c 22 + d XPATH_STACK_ERROR... + d c 23 + d XPATH_FORBID_VARIABLE_ERROR... + d c 24 + + * A node-set (an unordered collection of nodes without duplicates). + + d xmlNodeSetPtr s * based(######typedef######) + + d xmlNodeSet ds based(xmlNodeSetPtr) + d align qualified + d nodeNr like(xmlCint) Set node count + d nodeMax like(xmlCint) Max # nodes in set + d nodeTab * xmlNodePtr * + + * An expression is evaluated to yield an object, which + * has one of the following four basic types: + * - node-set + * - boolean + * - number + * - string + * + * @@ XPointer will add more types ! + + d xmlXPathObjectType... + d s based(######typedef######) + d like(xmlCenum) + d XPATH_UNDEFINED... + d c 0 + d XPATH_NODESET c 1 + d XPATH_BOOLEAN c 2 + d XPATH_NUMBER c 3 + d XPATH_STRING c 4 + d XPATH_POINT c 5 + d XPATH_RANGE c 6 + d XPATH_LOCATIONSET... + d c 7 + d XPATH_USERS c 8 + d XPATH_XSLT_TREE... R/O XSLT value tree + d c 9 + + d xmlXPathObjectPtr... + d s * based(######typedef######) + + d xmlXPathObject ds based(xmlXPathObjectPtr) + d align qualified + d type like(xmlXPathObjectType) + d nodesetval like(xmlNodeSetPtr) + d boolval like(xmlCint) + d floatval like(xmlCdouble) + d stringval * xmlChar * + d user * void * + d index like(xmlCint) + d user2 * void * + d index2 like(xmlCint) + + * xmlXPathConvertFunc: + * @obj: an XPath object + * @type: the number of the target type + * + * A conversion function is associated to a type and used to cast + * the new type to primitive values. + * + * Returns -1 in case of error, 0 otherwise + + d xmlXPathConvertFunc... + d s * based(######typedef######) + d procptr + + * Extra type: a name and a conversion function. + + d xmlXPathTypePtr... + d s * based(######typedef######) + + d xmlXPathType ds based(xmlXPathTypePtr) + d align qualified + d name * The type name + d func like(xmlXPathConvertFunc) Conversion function + + * Extra variable: a name and a value. + + d xmlXPathVariablePtr... + d s * based(######typedef######) + + d xmlXPathVariable... + d ds based(xmlXPathVariablePtr) + d align qualified + d name * The variable name + d value like(xmlXPathObjectPtr) The value + + * xmlXPathEvalFunc: + * @ctxt: an XPath parser context + * @nargs: the number of arguments passed to the function + * + * An XPath evaluation function, the parameters are on the XPath + * context stack. + + d xmlXPathEvalFunc... + d s * based(######typedef######) + d procptr + + * Extra function: a name and an evaluation function. + + d xmlXPathFuncPtr... + d s * based(######typedef######) + + d xmlXPathFunct ds based(xmlXPathFuncPtr) + d align qualified + d name * The function name + d func like(xmlXPathEvalFunc) Evaluation function + + * xmlXPathAxisFunc: + * @ctxt: the XPath interpreter context + * @cur: the previous node being explored on that axis + * + * An axis traversal function. To traverse an axis, the engine calls + * the first time with cur == NULL and repeat until the function returns + * NULL indicating the end of the axis traversal. + * + * Returns the next node in that axis or NULL if at the end of the axis. + + d xmlXPathAxisFunc... + d s * based(######typedef######) + d procptr + + * Extra axis: a name and an axis function. + + d xmlXPathAxisPtr... + d s * based(######typedef######) + + d xmlXPathAxis ds based(xmlXPathAxisPtr) + d align qualified + d name * The axis name + d func like(xmlXPathAxisFunc) The search function + + * xmlXPathFunction: + * @ctxt: the XPath interprestation context + * @nargs: the number of arguments + * + * An XPath function. + * The arguments (if any) are popped out from the context stack + * and the result is pushed on the stack. + + d xmlXPathFunction... + d s * based(######typedef######) + d procptr + + * Function and Variable Lookup. + + * xmlXPathVariableLookupFunc: + * @ctxt: an XPath context + * @name: name of the variable + * @ns_uri: the namespace name hosting this variable + * + * Prototype for callbacks used to plug variable lookup in the XPath + * engine. + * + * Returns the XPath object value or NULL if not found. + + d xmlXPathVariableLookupFunc... + d s * based(######typedef######) + d procptr + + * xmlXPathFuncLookupFunc: + * @ctxt: an XPath context + * @name: name of the function + * @ns_uri: the namespace name hosting this function + * + * Prototype for callbacks used to plug function lookup in the XPath + * engine. + * + * Returns the XPath function or NULL if not found. + + d xmlXPathFuncLookupFunc... + d s * based(######typedef######) + d procptr + + * xmlXPathFlags: + * Flags for XPath engine compilation and runtime + + * XML_XPATH_CHECKNS: + * + * check namespaces at compilation + + d XML_XPATH_CHECKNS... + d c X'0001' + + * XML_XPATH_NOVAR: + * + * forbid variables in expression + + d XML_XPATH_NOVAR... + d c X'0002' + + * xmlXPathContext: + * + * Expression evaluation occurs with respect to a context. + * he context consists of: + * - a node (the context node) + * - a node list (the context node list) + * - a set of variable bindings + * - a function library + * - the set of namespace declarations in scope for the expression + * Following the switch to hash tables, this need to be trimmed up at + * the next binary incompatible release. + * The node may be modified when the context is passed to libxml2 + * for an XPath evaluation so you may need to initialize it again + * before the next call. + + d xmlXPathContext... + d ds based(xmlXPathContextPtr) + d align qualified + d doc like(xmlDocPtr) Current document + d node like(xmlNodePtr) Current node + * + d nb_variables_unused... Unused (hash table) + d like(xmlCint) + d max_variables_unused... Unused (hash table) + d like(xmlCint) + d varHash like(xmlHashTablePtr) Defined variables + * + d nb_types like(xmlCint) # of defined types + d max_types like(xmlCint) Max number of types + d types like(xmlXPathTypePtr) Defined types array + * + d nb_funcs_unused... Unused (hash table) + d like(xmlCint) + d max_funcs_unused... Unused (hash table) + d like(xmlCint) + d funcHash like(xmlHashTablePtr) Defined functions + * + d nb_axis like(xmlCint) # of defined axis + d max_axis like(xmlCint) Max number of axis + d axis like(xmlXPathAxisPtr) Defined axis array + * + * the namespace nodes of the context node + * + d namespaces * xmlNsPtr * + d nsNr like(xmlCint) # scope namespaces + d user * procptr Function to free + * + * extra variables + * + d contextSize like(xmlCint) The context size + d proximityPosition... + d like(xmlCint) + * + * extra stuff for XPointer + * + d xptr like(xmlCint) XPointer context ? + d here like(xmlNodePtr) For here() + d origin like(xmlNodePtr) For origin() + * + * the set of namespace declarations in scope for the expression + * + d nsHash like(xmlHashTablePtr) Namespace hashtable + d varLookupFunc like(xmlXPathVariableLookupFunc) Var lookup function + d varLookupData * void * + * + * Possibility to link in an extra item + * + d extra * void * + * + * The function name and URI when calling a function + * + d function * const xmlChar * + d functionURI * const xmlChar * + * + * function lookup function and data + * + d funcLookupFunc... Func lookup func + d like(xmlXPathVariableLookupFunc) + d funcLookupData... void * + d * + * + * temporary namespace lists kept for walking the namespace axis + * + d tmpNsList * xmlNsPtr * + d tmpNsNr like(xmlCint) # scope namespaces + * + * error reporting mechanism + * + d userData * void * + d error like(xmlStructuredErrorFunc) Error callback + d lastError likeds(xmlError) The last error + d debugNode like(xmlNodePtr) XSLT source node + * + * dictionary + * + d dict like(xmlDictPtr) Dictionary if any + * + d flags like(xmlCint) Compilation control + * + * Cache for reusal of XPath objects + * + d cache * void * + + * The structure of a compiled expression form is not public. + + d xmlXPathCompExprPtr... + d s * based(######typedef######) + + * xmlXPathParserContext: + * + * An XPath parser context. It contains pure parsing information, + * an xmlXPathContext, and the stack of objects. + + d xmlXPathParserContext... + d ds based(xmlXPathParserContextPtr) + d align qualified + d cur * const xmlChar * + d base * const xmlChar * + * + d error like(xmlCint) Error code + * + d context like(xmlXPathContextPtr) Evaluation context + d value like(xmlXPathObjectPtr) The current value + d valueNr like(xmlCint) Value stack depth + d valueMax like(xmlCint) Max stack depth + d valueTab * xmlXPathObjectPtr * + * + d comp like(xmlXPathCompExprPtr) Precompiled expr. + d xptr like(xmlCint) XPointer expression? + d ancestor like(xmlNodePtr) To walk prec. axis + * + d valueFrame like(xmlCint) Limit stack pop + + ************************************************************************** + * * + * Public API * + * * + ************************************************************************** + + * Objects and Nodesets handling + + d xmlXPathNAN s import('xmlXPathNAN') + d like(xmlCdouble) + + d xmlXPathPINF s import('xmlXPathPINF') + d like(xmlCdouble) + + d xmlXPathNINF s import('xmlXPathNINF') + d like(xmlCdouble) + + d xmlXPathFreeObject... + d pr extproc('xmlXPathFreeObject') + d obj value like(xmlXPathObjectPtr) + + d xmlXPathNodeSetCreate... + d pr extproc('xmlXPathNodeSetCreate') + d like(xmlNodeSetPtr) + d val value like(xmlNodePtr) + + d xmlXPathFreeNodeSetList... + d pr extproc('xmlXPathFreeNodeSetList') + d obj value like(xmlXPathObjectPtr) + + d xmlXPathFreeNodeSet... + d pr extproc('xmlXPathFreeNodeSet') + d obj value like(xmlNodeSetPtr) + + d xmlXPathObjectCopy... + d pr extproc('xmlXPathObjectCopy') + d like(xmlXPathObjectPtr) + d val value like(xmlXPathObjectPtr) + + d xmlXPathCmpNodes... + d pr extproc('xmlXPathCmpNodes') + d like(xmlCint) + d node1 value like(xmlNodePtr) + d node2 value like(xmlNodePtr) + + * Conversion functions to basic types. + + d xmlXPathCastNumberToBoolean... + d pr extproc( + d 'xmlXPathCastNumberToBoolean') + d like(xmlCint) + d val value like(xmlCdouble) + + d xmlXPathCastStringToBoolean... + d pr extproc( + d 'xmlXPathCastStringToBoolean') + d like(xmlCint) + d val * value options(*string) const xmlChar * + + d xmlXPathCastNodeSetToBoolean... + d pr extproc( + d 'xmlXPathCastNodeSetToBoolean') + d like(xmlCint) + d ns value like(xmlNodeSetPtr) + + d xmlXPathCastToBoolean... + d pr extproc('xmlXPathCastToBoolean') + d like(xmlCint) + d val value like(xmlXPathObjectPtr) + + d xmlXPathCastBooleanToNumber... + d pr extproc( + d 'xmlXPathCastBooleanToNumber') + d like(xmlCdouble) + d val value like(xmlCint) + + d xmlXPathCastStringToNumber... + d pr extproc('xmlXPathCastStringToNumber') + d like(xmlCdouble) + d val * value options(*string) const xmlChar * + + d xmlXPathCastNodeToNumber... + d pr extproc('xmlXPathCastNodeToNumber') + d like(xmlCdouble) + d node value like(xmlNodePtr) + + d xmlXPathCastNodeSetToNumber... + d pr extproc( + d 'xmlXPathCastNodeSetToNumber') + d like(xmlCdouble) + d ns value like(xmlNodeSetPtr) + + d xmlXPathCastToNumber... + d pr extproc('xmlXPathCastToNumber') + d like(xmlCdouble) + d val value like(xmlXPathObjectPtr) + + d xmlXPathCastBooleanToString... + d pr * extproc( xmlChar * + d 'xmlXPathCastBooleanToString') + d val value like(xmlCint) + + d xmlXPathCastNumberToString... + d pr * extproc('xmlXPathCastNumberToString')xmlChar * + d val value like(xmlCdouble) + + d xmlXPathCastNodeToString... + d pr * extproc('xmlXPathCastNodeToString') xmlChar * + d node value like(xmlNodePtr) + + d xmlXPathCastNodeSetToString... + d pr * extproc('xmlXPathCastNodeSetToString'xmlChar * + d ) + d ns value like(xmlNodeSetPtr) + + d xmlXPathCastToString... + d pr * extproc('xmlXPathCastToString') xmlChar * + d val value like(xmlXPathObjectPtr) + + d xmlXPathConvertBoolean... + d pr extproc('xmlXPathConvertBoolean') + d like(xmlXPathObjectPtr) + d val value like(xmlXPathObjectPtr) + + d xmlXPathConvertNumber... + d pr extproc('xmlXPathConvertNumber') + d like(xmlXPathObjectPtr) + d val value like(xmlXPathObjectPtr) + + d xmlXPathConvertString... + d pr extproc('xmlXPathConvertString') + d like(xmlXPathObjectPtr) + d val value like(xmlXPathObjectPtr) + + * Context handling. + + d xmlXPathNewContext... + d pr extproc('xmlXPathNewContext') + d like(xmlXPathContextPtr) + d doc value like(xmlDocPtr) + + d xmlXPathFreeContext... + d pr extproc('xmlXPathFreeContext') + d ctxt value like(xmlXPathContextPtr) + + d xmlXPathContextSetCache... + d pr extproc('xmlXPathContextSetCache') + d like(xmlCint) + d ctxt value like(xmlXPathContextPtr) + d active value like(xmlCint) + d value value like(xmlCint) + d options value like(xmlCint) + + * Evaluation functions. + + d xmlXPathOrderDocElems... + d pr extproc('xmlXPathOrderDocElems') + d like(xmlClong) + d doc value like(xmlDocPtr) + + d xmlXPathSetContextNode... + d pr extproc('xmlXPathSetContextNode') + d like(xmlCint) + d node value like(xmlNodePtr) + d ctx value like(xmlXPathContextPtr) + + d xmlXPathNodeEval... + d pr extproc('xmlXPathNodeEval') + d like(xmlXPathObjectPtr) + d node value like(xmlNodePtr) + d str * value options(*string) const xmlChar * + d ctx value like(xmlXPathContextPtr) + + d xmlXPathEval pr extproc('xmlXPathEval') + d like(xmlXPathObjectPtr) + d str * value options(*string) const xmlChar * + d ctx value like(xmlXPathContextPtr) + + d xmlXPathEvalExpression... + d pr extproc('xmlXPathEvalExpression') + d like(xmlXPathObjectPtr) + d str * value options(*string) const xmlChar * + d ctxt value like(xmlXPathContextPtr) + + d xmlXPathEvalPredicate... + d pr extproc('xmlXPathEvalPredicate') + d like(xmlCint) + d ctxt value like(xmlXPathContextPtr) + d res value like(xmlXPathObjectPtr) + + * Separate compilation/evaluation entry points. + + d xmlXPathCompile... + d pr extproc('xmlXPathCompile') + d like(xmlXPathCompExprPtr) + d str * value options(*string) const xmlChar * + + d xmlXPathCtxtCompile... + d pr extproc('xmlXPathCtxtCompile') + d like(xmlXPathCompExprPtr) + d ctxt value like(xmlXPathContextPtr) + d str * value options(*string) const xmlChar * + + d xmlXPathCompiledEval... + d pr extproc('xmlXPathCompiledEval') + d like(xmlXPathObjectPtr) + d comp value like(xmlXPathCompExprPtr) + d ctx value like(xmlXPathContextPtr) + + d xmlXPathCompiledEvalToBoolean... + d pr extproc( + d 'xmlXPathCompiledEvalToBoolean') + d like(xmlCint) + d comp value like(xmlXPathCompExprPtr) + d ctxt value like(xmlXPathContextPtr) + + d xmlXPathFreeCompExpr... + d pr extproc('xmlXPathFreeCompExpr') + d comp value like(xmlXPathCompExprPtr) + /endif LIBXML_XPATH_ENABLED + + /undefine XML_TESTVAL + /if defined(LIBXML_XPATH_ENABLED) + /define XML_TESTVAL + /elseif defined(LIBXML_SCHEMAS_ENABLED) + /define XML_TESTVAL + /endif + /if defined(XML_TESTVAL) + d xmlXPathInit pr extproc('xmlXPathInit') + + d xmlXPathIsNaN pr extproc('xmlXPathIsNaN') + d like(xmlCint) + d val value like(xmlCdouble) + + d xmlXPathIsInf pr extproc('xmlXPathIsInf') + d like(xmlCint) + d val value like(xmlCdouble) + + /undefine XML_TESTVAL + /endif + + * C macros implemented as procedures for ILE/RPG support. + + /if defined(LIBXML_XPATH_ENABLED) + d xmlXPathNodeSetGetLength... + d pr extproc('__xmlXPathNodeSetGetLength') + d like(xmlCint) + d ns value like(xmlNodeSetPtr) + + d xmlXPathNodeSetItem... + d pr extproc('__xmlXPathNodeSetItem') + d like(xmlNodePtr) + d ns value like(xmlNodeSetPtr) + d index value like(xmlCint) + + d xmlXPathNodeSetIsEmpty... + d pr extproc('__xmlXPathNodeSetIsEmpty') + d like(xmlCint) + d ns value like(xmlNodeSetPtr) + /endif LIBXML_XPATH_ENABLED + /endif XML_XPATH_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpathInternals.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpathInternals.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..a6d12e150d1102e266badb4410a027c61eb2ae4d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpathInternals.rpgle @@ -0,0 +1,693 @@ + * Summary: internal interfaces for XML Path Language implementation + * Description: internal interfaces for XML Path Language implementation + * used to build new modules on top of XPath like XPointer and + * XSLT + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_XPATH_INTERNALS_H__) + /define XML_XPATH_INTERNALS_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_XPATH_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/xpath" + + ************************************************************************ + * * + * Helpers * + * * + ************************************************************************ + + * Many of these macros may later turn into functions. They + * shouldn't be used in #ifdef's preprocessor instructions. + + d xmlXPathPopBoolean... + d pr extproc('xmlXPathPopBoolean') + d like(xmlCint) + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathPopNumber... + d pr extproc('xmlXPathPopNumber') + d like(xmlCdouble) + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathPopString... + d pr * extproc('xmlXPathPopString') xmlChar * + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathPopNodeSet... + d pr extproc('xmlXPathPopNodeSet') + d like(xmlNodeSetPtr) + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathPopExternal... + d pr * extproc('xmlXPathPopExternal') void * + d ctxt value like(xmlXPathParserContextPtr) + + * Variable Lookup forwarding. + + d xmlXPathRegisterVariableLookup... + d pr extproc( + d 'xmlXPathRegisterVariableLookup') + d ctxt value like(xmlXPathContextPtr) + d f value + d like(xmlXPathVariableLookupFunc) + d data * value void * + + * Function Lookup forwarding. + + d xmlXPathRegisterFuncLookup... + d pr extproc('xmlXPathRegisterFuncLookup') + d ctxt value like(xmlXPathContextPtr) + d f value like(xmlXPathFuncLookupFunc) + d funcCtxt * value void * + + * Error reporting. + * Note this procedure is renamed in RPG to avoid character case clash with + * data type xmlXPathError. + + d xmlXPathReportError... + d pr extproc('xmlXPatherror') + d ctxt value like(xmlXPathParserContextPtr) + d file * value options(*string) const char * + d line value like(xmlCint) + d no value like(xmlCint) + + d xmlXPathErr pr extproc('xmlXPathErr') + d ctxt value like(xmlXPathParserContextPtr) + d error value like(xmlCint) + + /if defined(LIBXML_DEBUG_ENABLED) + d xmlXPathDebugDumpObject... + d pr extproc('xmlXPathDebugDumpObject') + d output * value FILE * + d cur value like(xmlXPathObjectPtr) + d depth value like(xmlCint) + + d xmlXPathDebugDumpCompExpr... + d pr extproc('xmlXPathDebugDumpCompExpr') + d output * value FILE * + d comp value like(xmlXPathCompExprPtr) + d depth value like(xmlCint) + /endif + + * NodeSet handling. + + d xmlXPathNodeSetContains... + d pr extproc('xmlXPathNodeSetContains') + d like(xmlCint) + d cur value like(xmlNodeSetPtr) + d val value like(xmlNodePtr) + + d xmlXPathDifference... + d pr extproc('xmlXPathDifference') + d like(xmlNodeSetPtr) + d nodes1 value like(xmlNodeSetPtr) + d nodes2 value like(xmlNodeSetPtr) + + d xmlXPathIntersection... + d pr extproc('xmlXPathIntersection') + d like(xmlNodeSetPtr) + d nodes1 value like(xmlNodeSetPtr) + d nodes2 value like(xmlNodeSetPtr) + + d xmlXPathDistinctSorted... + d pr extproc('xmlXPathDistinctSorted') + d like(xmlNodeSetPtr) + d nodes value like(xmlNodeSetPtr) + + d xmlXPathDistinct... + d pr extproc('xmlXPathDistinct') + d like(xmlNodeSetPtr) + d nodes value like(xmlNodeSetPtr) + + d xmlXPathHasSameNodes... + d pr extproc('xmlXPathHasSameNodes') + d like(xmlCint) + d nodes1 value like(xmlNodeSetPtr) + d nodes2 value like(xmlNodeSetPtr) + + d xmlXPathNodeLeadingSorted... + d pr extproc('xmlXPathNodeLeadingSorted') + d like(xmlNodeSetPtr) + d nodes value like(xmlNodeSetPtr) + d node value like(xmlNodePtr) + + d xmlXPathLeadingSorted... + d pr extproc('xmlXPathLeadingSorted') + d like(xmlNodeSetPtr) + d nodes1 value like(xmlNodeSetPtr) + d nodes2 value like(xmlNodeSetPtr) + + d xmlXPathNodeLeading... + d pr extproc('xmlXPathNodeLeading') + d like(xmlNodeSetPtr) + d nodes value like(xmlNodeSetPtr) + d node value like(xmlNodePtr) + + d xmlXPathLeading... + d pr extproc('xmlXPathLeading') + d like(xmlNodeSetPtr) + d nodes1 value like(xmlNodeSetPtr) + d nodes2 value like(xmlNodeSetPtr) + + d xmlXPathNodeTrailingSorted... + d pr extproc('xmlXPathNodeTrailingSorted') + d like(xmlNodeSetPtr) + d nodes value like(xmlNodeSetPtr) + d node value like(xmlNodePtr) + + d xmlXPathTrailingSorted... + d pr extproc('xmlXPathTrailingSorted') + d like(xmlNodeSetPtr) + d nodes1 value like(xmlNodeSetPtr) + d nodes2 value like(xmlNodeSetPtr) + + d xmlXPathNodeTrailing... + d pr extproc('xmlXPathNodeTrailing') + d like(xmlNodeSetPtr) + d nodes value like(xmlNodeSetPtr) + d node value like(xmlNodePtr) + + d xmlXPathTrailing... + d pr extproc('xmlXPathTrailing') + d like(xmlNodeSetPtr) + d nodes1 value like(xmlNodeSetPtr) + d nodes2 value like(xmlNodeSetPtr) + + * Extending a context. + + d xmlXPathRegisterNs... + d pr extproc('xmlXPathRegisterNs') + d like(xmlCint) + d ctxt value like(xmlXPathContextPtr) + d prefix * value options(*string) const xmlChar * + d ns_uri * value options(*string) const xmlChar * + + d xmlXPathNsLookup... + d pr * extproc('xmlXPathNsLookup') const xmlChar * + d ctxt value like(xmlXPathContextPtr) + d prefix * value options(*string) const xmlChar * + + d xmlXPathRegisteredNsCleanup... + d pr extproc( + d 'xmlXPathRegisteredNsCleanup') + d ctxt value like(xmlXPathContextPtr) + + d xmlXPathRegisterFunc... + d pr extproc('xmlXPathRegisterFunc') + d like(xmlCint) + d ctxt value like(xmlXPathContextPtr) + d name * value options(*string) const xmlChar * + d f value like(xmlXPathFunction) + + d xmlXPathRegisterFuncNS... + d pr extproc('xmlXPathRegisterFuncNS') + d like(xmlCint) + d ctxt value like(xmlXPathContextPtr) + d name * value options(*string) const xmlChar * + d ns_uri * value options(*string) const xmlChar * + d f value like(xmlXPathFunction) + + d xmlXPathRegisterVariable... + d pr extproc('xmlXPathRegisterVariable') + d like(xmlCint) + d ctxt value like(xmlXPathContextPtr) + d name * value options(*string) const xmlChar * + d value value like(xmlXPathObjectPtr) + + d xmlXPathRegisterVariableNS... + d pr extproc('xmlXPathRegisterVariableNS') + d like(xmlCint) + d ctxt value like(xmlXPathContextPtr) + d name * value options(*string) const xmlChar * + d ns_uri * value options(*string) const xmlChar * + d value value like(xmlXPathObjectPtr) + + d xmlXPathFunctionLookup... + d pr extproc('xmlXPathFunctionLookup') + d like(xmlXPathFunction) + d ctxt value like(xmlXPathContextPtr) + d name * value options(*string) const xmlChar * + + d xmlXPathFunctionLookupNS... + d pr extproc('xmlXPathFunctionLookupNS') + d like(xmlXPathFunction) + d ctxt value like(xmlXPathContextPtr) + d name * value options(*string) const xmlChar * + d ns_uri * value options(*string) const xmlChar * + + d xmlXPathRegisteredFuncsCleanup... + d pr extproc( + d 'xmlXPathRegisteredFuncsCleanup') + d ctxt value like(xmlXPathContextPtr) + + d xmlXPathVariableLookup... + d pr extproc('xmlXPathVariableLookup') + d like(xmlXPathObjectPtr) + d ctxt value like(xmlXPathContextPtr) + d name * value options(*string) const xmlChar * + + d xmlXPathVariableLookupNS... + d pr extproc('xmlXPathVariableLookupNS') + d like(xmlXPathObjectPtr) + d ctxt value like(xmlXPathContextPtr) + d name * value options(*string) const xmlChar * + d ns_uri * value options(*string) const xmlChar * + + d xmlXPathRegisteredVariablesCleanup... + d pr extproc( + d 'xmlXPathRegisteredVariablesCleanup') + d ctxt value like(xmlXPathContextPtr) + + * Utilities to extend XPath. + + d xmlXPathNewParserContext... + d pr extproc('xmlXPathNewParserContext') + d like(xmlXPathParserContextPtr) + d str * value options(*string) const xmlChar * + d ctxt value like(xmlXPathContextPtr) + + d xmlXPathFreeParserContext... + d pr extproc('xmlXPathFreeParserContext') + d ctxt value like(xmlXPathParserContextPtr) + + + * TODO: remap to xmlXPathValuePop and Push. + + d valuePop pr extproc('valuePop') + d like(xmlXPathObjectPtr) + d ctxt value like(xmlXPathParserContextPtr) + + d valuePush pr extproc('valuePush') + d like(xmlCint) + d ctxt value like(xmlXPathParserContextPtr) + d value value like(xmlXPathObjectPtr) + + d xmlXPathNewString... + d pr extproc('xmlXPathNewString') + d like(xmlXPathObjectPtr) + d val * value options(*string) const xmlChar * + + d xmlXPathNewCString... + d pr extproc('xmlXPathNewCString') + d like(xmlXPathObjectPtr) + d val * value options(*string) const char * + + d xmlXPathWrapString... + d pr extproc('xmlXPathWrapString') + d like(xmlXPathObjectPtr) + d val * value options(*string) xmlChar * + + d xmlXPathWrapCString... + d pr extproc('xmlXPathWrapCString') + d like(xmlXPathObjectPtr) + d val * value options(*string) char * + + d xmlXPathNewFloat... + d pr extproc('xmlXPathNewFloat') + d like(xmlXPathObjectPtr) + d val value like(xmlCdouble) + + d xmlXPathNewBoolean... + d pr extproc('xmlXPathNewBoolean') + d like(xmlXPathObjectPtr) + d val value like(xmlCint) + + d xmlXPathNewNodeSet... + d pr extproc('xmlXPathNewNodeSet') + d like(xmlXPathObjectPtr) + d val value like(xmlNodePtr) + + d xmlXPathNewValueTree... + d pr extproc('xmlXPathNewValueTree') + d like(xmlXPathObjectPtr) + d val value like(xmlNodePtr) + + d xmlXPathNodeSetAdd... + d pr extproc('xmlXPathNodeSetAdd') + d like(xmlCint) + d cur value like(xmlNodeSetPtr) + d val value like(xmlNodePtr) + + d xmlXPathNodeSetAddUnique... + d pr extproc('xmlXPathNodeSetAddUnique') + d like(xmlCint) + d cur value like(xmlNodeSetPtr) + d val value like(xmlNodePtr) + + d xmlXPathNodeSetAddNs... + d pr extproc('xmlXPathNodeSetAddNs') + d like(xmlCint) + d cur value like(xmlNodeSetPtr) + d node value like(xmlNodePtr) + d ns value like(xmlNsPtr) + + d xmlXPathNodeSetSort... + d pr extproc('xmlXPathNodeSetSort') + d set value like(xmlNodeSetPtr) + + d xmlXPathRoot pr extproc('xmlXPathRoot') + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathEvalExpr... + d pr extproc('xmlXPathEvalExpr') + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathParseName... + d pr * extproc('xmlXPathParseName') xmlChar * + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathParseNCName... + d pr * extproc('xmlXPathParseNCName') xmlChar * + d ctxt value like(xmlXPathParserContextPtr) + + * Existing functions. + + d xmlXPathStringEvalNumber... + d pr extproc('xmlXPathStringEvalNumber') + d like(xmlCdouble) + d str * value options(*string) const xmlChar * + + d xmlXPathEvaluatePredicateResult... + d pr extproc( + d 'xmlXPathEvaluatePredicateResult') + d like(xmlCint) + d ctxt value like(xmlXPathParserContextPtr) + d res value like(xmlXPathObjectPtr) + + d xmlXPathRegisterAllFunctions... + d pr extproc( + d 'xmlXPathRegisterAllFunctions') + d ctxt value like(xmlXPathContextPtr) + + d xmlXPathNodeSetMerge... + d pr extproc('xmlXPathNodeSetMerge') + d like(xmlNodeSetPtr) + d val1 value like(xmlNodeSetPtr) + d val2 value like(xmlNodeSetPtr) + + d xmlXPathNodeSetDel... + d pr extproc('xmlXPathNodeSetDel') + d cur value like(xmlNodeSetPtr) + d val value like(xmlNodePtr) + + d xmlXPathNodeSetRemove... + d pr extproc('xmlXPathNodeSetRemove') + d cur value like(xmlNodeSetPtr) + d val value like(xmlCint) + + d xmlXPathNewNodeSetList... + d pr extproc('xmlXPathNewNodeSetList') + d like(xmlXPathObjectPtr) + d val value like(xmlNodeSetPtr) + + d xmlXPathWrapNodeSet... + d pr extproc('xmlXPathWrapNodeSet') + d like(xmlXPathObjectPtr) + d val value like(xmlNodeSetPtr) + + d xmlXPathWrapExternal... + d pr extproc('xmlXPathWrapExternal') + d like(xmlXPathObjectPtr) + d val * value void * + + d xmlXPathEqualValues... + d pr extproc('xmlXPathEqualValues') + d like(xmlCint) + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathNotEqualValues... + d pr extproc('xmlXPathNotEqualValues') + d like(xmlCint) + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathCompareValues... + d pr extproc('xmlXPathCompareValues') + d like(xmlCint) + d ctxt value like(xmlXPathParserContextPtr) + d inf value like(xmlCint) + d strict value like(xmlCint) + + d xmlXPathValueFlipSign... + d pr extproc('xmlXPathValueFlipSign') + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathAddValues... + d pr extproc('xmlXPathAddValues') + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathSubValues... + d pr extproc('xmlXPathSubValues') + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathMultValues... + d pr extproc('xmlXPathMultValues') + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathDivValues... + d pr extproc('xmlXPathDivValues') + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathModValues... + d pr extproc('xmlXPathModValues') + d ctxt value like(xmlXPathParserContextPtr) + + d xmlXPathIsNodeType... + d pr extproc('xmlXPathIsNodeType') + d like(xmlCint) + d name * value options(*string) const xmlChar * + + * Some of the axis navigation routines. + + d xmlXPathNextSelf... + d pr extproc('xmlXPathNextSelf') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextChild... + d pr extproc('xmlXPathNextChild') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextDescendant... + d pr extproc('xmlXPathNextDescendant') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextDescendantOrSelf... + d pr extproc( + d 'xmlXPathNextDescendantOrSelf') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextParent... + d pr extproc('xmlXPathNextParent') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextAncestorOrSelf... + d pr extproc('xmlXPathNextAncestorOrSelf') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextFollowingSibling... + d pr extproc( + d 'xmlXPathNextFollowingSibling') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextFollowing... + d pr extproc('xmlXPathNextFollowing') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextNamespace... + d pr extproc('xmlXPathNextNamespace') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextAttribute... + d pr extproc('xmlXPathNextAttribute') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextPreceding... + d pr extproc('xmlXPathNextPreceding') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextAncestor... + d pr extproc('xmlXPathNextAncestor') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + d xmlXPathNextPrecedingSibling... + d pr extproc( + d 'xmlXPathNextPrecedingSibling') + d like(xmlNodePtr) + d ctxt value like(xmlXPathParserContextPtr) + d cur value like(xmlNodePtr) + + * The official core of XPath functions. + + d xmlXPathLastFunction... + d pr extproc('xmlXPathLastFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathPositionFunction... + d pr extproc('xmlXPathPositionFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathCountFunction... + d pr extproc('xmlXPathCountFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathIdFunction... + d pr extproc('xmlXPathIdFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathLocalNameFunction... + d pr extproc('xmlXPathLocalNameFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathNamespaceURIFunction... + d pr extproc( + d 'xmlXPathNamespaceURIFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathStringFunction... + d pr extproc('xmlXPathStringFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathStringLengthFunction... + d pr extproc( + d 'xmlXPathStringLengthFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathConcatFunction... + d pr extproc('xmlXPathConcatFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathContainsFunction... + d pr extproc('xmlXPathContainsFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathStartsWithFunction... + d pr extproc('xmlXPathStartsWithFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathSubstringFunction... + d pr extproc('xmlXPathSubstringFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathSubstringBeforeFunction... + d pr extproc( + d 'xmlXPathSubstringBeforeFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathSubstringAfterFunction... + d pr extproc( + d 'xmlXPathSubstringAfterFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + + d xmlXPathNormalizeFunction... + d pr extproc('xmlXPathNormalizeFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathTranslateFunction... + d pr extproc('xmlXPathTranslateFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathNotFunction... + d pr extproc('xmlXPathNotFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathTrueFunction... + d pr extproc('xmlXPathTrueFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathFalseFunction... + d pr extproc('xmlXPathFalseFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathLangFunction... + d pr extproc('xmlXPathLangFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathNumberFunction... + d pr extproc('xmlXPathNumberFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathSumFunction... + d pr extproc('xmlXPathSumFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathFloorFunction... + d pr extproc('xmlXPathFloorFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathCeilingFunction... + d pr extproc('xmlXPathCeilingFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathRoundFunction... + d pr extproc('xmlXPathRoundFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPathBooleanFunction... + d pr extproc('xmlXPathBooleanFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + * Really internal functions + + d xmlXPathNodeSetFreeNs... + d pr extproc('xmlXPathNodeSetFreeNs') + d ns value like(xmlNsPtr) + + /endif LIBXML_XPATH_ENABLED + /endif XPATH_INTERNALS_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpointer.rpgle b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpointer.rpgle new file mode 100644 index 0000000000000000000000000000000000000000..29ef0f38836d1bbc79cb1873f977cead31222fa7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/os400/libxmlrpg/xpointer.rpgle @@ -0,0 +1,158 @@ + * Summary: API to handle XML Pointers + * Description: API to handle XML Pointers + * Base implementation was made accordingly to + * W3C Candidate Recommendation 7 June 2000 + * http://www.w3.org/TR/2000/CR-xptr-20000607 + * + * Added support for the element() scheme described in: + * W3C Proposed Recommendation 13 November 2002 + * http://www.w3.org/TR/2002/PR-xptr-element-20021113/ + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat , DATASPHERE S.A. + + /if not defined(XML_XPTR_H__) + /define XML_XPTR_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_XPTR_ENABLED) + + /include "libxmlrpg/xmlTypesC" + /include "libxmlrpg/tree" + /include "libxmlrpg/xpath" + + * A Location Set + + d xmlLocationSetPtr... + d s * based(######typedef######) + + d xmlLocationSet ds based(xmlLocationSetPtr) + d align qualified + d locNr like(xmlCint) # locations in set + d locMax like(xmlCint) Max locations in set + d locTab * xmlXPathObjectPtr * + + * Handling of location sets. + + d xmlXPtrLocationSetCreate... + d pr extproc('xmlXPtrLocationSetCreate') + d like(xmlLocationSetPtr) + d val value like(xmlXPathObjectPtr) + + d xmlXPtrFreeLocationSet... + d pr extproc('xmlXPtrFreeLocationSet') + d obj value like(xmlLocationSetPtr) + + d xmlXPtrLocationSetMerge... + d pr extproc('xmlXPtrLocationSetMerge') + d like(xmlLocationSetPtr) + d val1 value like(xmlLocationSetPtr) + d val2 value like(xmlLocationSetPtr) + + d xmlXPtrNewRange... + d pr extproc('xmlXPtrNewRange') + d like(xmlXPathObjectPtr) + d start value like(xmlNodePtr) + d startindex value like(xmlCint) + d end value like(xmlNodePtr) + d endindex value like(xmlCint) + + d xmlXPtrNewRangePoints... + d pr extproc('xmlXPtrNewRangePoints') + d like(xmlXPathObjectPtr) + d start value like(xmlXPathObjectPtr) + d end value like(xmlXPathObjectPtr) + + d xmlXPtrNewRangeNodePoint... + d pr extproc('xmlXPtrNewRangeNodePoint') + d like(xmlXPathObjectPtr) + d start value like(xmlNodePtr) + d end value like(xmlXPathObjectPtr) + + d xmlXPtrNewRangePointNode... + d pr extproc('xmlXPtrNewRangePointNode') + d like(xmlXPathObjectPtr) + d start value like(xmlXPathObjectPtr) + d end value like(xmlNodePtr) + + d xmlXPtrNewRangeNodes... + d pr extproc('xmlXPtrNewRangeNodes') + d like(xmlXPathObjectPtr) + d start value like(xmlNodePtr) + d end value like(xmlNodePtr) + + d xmlXPtrNewLocationSetNodes... + d pr extproc('xmlXPtrNewLocationSetNodes') + d like(xmlXPathObjectPtr) + d start value like(xmlNodePtr) + d end value like(xmlNodePtr) + + d xmlXPtrNewLocationSetNodeSet... + d pr extproc( + d 'xmlXPtrNewLocationSetNodeSet') + d like(xmlXPathObjectPtr) + d set value like(xmlNodeSetPtr) + + d xmlXPtrNewRangeNodeObject... + d pr extproc('xmlXPtrNewRangeNodeObject') + d like(xmlXPathObjectPtr) + d start value like(xmlNodePtr) + d end value like(xmlXPathObjectPtr) + + d xmlXPtrNewCollapsedRange... + d pr extproc('xmlXPtrNewCollapsedRange') + d like(xmlXPathObjectPtr) + d start value like(xmlNodePtr) + + d xmlXPtrLocationSetAdd... + d pr extproc('xmlXPtrLocationSetAdd') + d cur value like(xmlLocationSetPtr) + d val value like(xmlXPathObjectPtr) + + d xmlXPtrWrapLocationSet... + d pr extproc('xmlXPtrWrapLocationSet') + d like(xmlXPathObjectPtr) + d val value like(xmlLocationSetPtr) + + d xmlXPtrLocationSetDel... + d pr extproc('xmlXPtrLocationSetDel') + d cur value like(xmlLocationSetPtr) + d val value like(xmlXPathObjectPtr) + + d xmlXPtrLocationSetRemove... + d pr extproc('xmlXPtrLocationSetRemove') + d cur value like(xmlLocationSetPtr) + d val value like(xmlCint) + + * Functions. + + d xmlXPtrNewContext... + d pr extproc('xmlXPtrNewContext') + d like(xmlXPathContextPtr) + d doc value like(xmlDocPtr) + d here value like(xmlNodePtr) + d origin value like(xmlNodePtr) + + d xmlXPtrEval pr extproc('xmlXPtrEval') + d like(xmlXPathObjectPtr) + d str * value options(*string) const xmlChar * + d ctx value like(xmlXPathContextPtr) + + d xmlXPtrRangeToFunction... + d pr extproc('xmlXPtrRangeToFunction') + d ctxt value like(xmlXPathParserContextPtr) + d nargs value like(xmlCint) + + d xmlXPtrBuildNodeList... + d pr extproc('xmlXPtrBuildNodeList') + d like(xmlNodePtr) + d obj value like(xmlXPathObjectPtr) + + d xmlXPtrEvalRangePredicate... + d pr extproc('xmlXPtrEvalRangePredicate') + d ctxt value like(xmlXPathParserContextPtr) + + /endif LIBXML_XPTR_ENABLED + /endif XML_XPTR_H__ diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/Makefile.am b/local-test-libxml2-delta-02/afc-libxml2/python/tests/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..0f6caddf933df1cf84f2ac04113ce7af7f57d56e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/Makefile.am @@ -0,0 +1,76 @@ +PYTESTS= \ + build.py \ + attribs.py \ + tst.py \ + tstxpath.py \ + xpathext.py \ + push.py \ + pushSAX.py \ + pushSAXhtml.py \ + error.py \ + serialize.py\ + validate.py \ + tstURI.py \ + cutnpaste.py\ + xpathret.py \ + xpath.py \ + outbuf.py \ + inbuf.py \ + input_callback.py \ + resolver.py \ + regexp.py \ + reader.py \ + reader2.py \ + reader3.py \ + reader4.py \ + reader5.py \ + reader6.py \ + reader7.py \ + reader8.py \ + readernext.py \ + walker.py \ + nsdel.py \ + ctxterror.py\ + readererr.py\ + relaxng.py \ + schema.py \ + thread2.py \ + sync.py \ + tstLastError.py \ + indexes.py \ + dtdvalid.py \ + tstmem.py \ + validDTD.py \ + validSchemas.py \ + validRNG.py \ + compareNodes.py \ + xpathns.py \ + xpathleak.py + +XMLS= \ + tst.xml \ + valid.xml \ + invalid.xml \ + test.dtd + +EXTRA_DIST = $(PYTESTS) $(XMLS) setup_test.py meson.build + +CLEANFILES = core tmp.xml *.pyc + +if WITH_PYTHON +check-local: + @for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done + @echo "## running Python regression tests" + @(export PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; \ + export LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \ + export DYLD_LIBRARY_PATH="$(top_builddir)/.libs:$$DYLD_LIBRARY_PATH" ; \ + export PATH="$(top_builddir)/.libs:$$PATH" ; \ + for test in $(PYTESTS) ; do \ + log=`$(PYTHON) $(srcdir)/$$test` ; \ + if [ "$$?" -ne 0 ] ; then \ + echo "-- $$test" ; \ + echo "$$log" ; \ + exit 1 ; \ + fi ; \ + done) +endif diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/attribs.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/attribs.py new file mode 100644 index 0000000000000000000000000000000000000000..9ae316845c15cb1999410ab43c7f56c7a37c5977 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/attribs.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +# +# Testing XML document serialization +# +doc = libxml2.readDoc( +""" + + + +]> + +""", None, None, libxml2.XML_PARSE_DTDATTR) +elem = doc.getRootElement() +attr = elem.hasNsProp('attr', 'http://abc.org') +print(attr.serialize()) +if attr == None: + print("Failed to find defaulted attribute abc:attr") + sys.exit(1) + +doc.freeDoc() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/build.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/build.py new file mode 100644 index 0000000000000000000000000000000000000000..f786b0cf96c07a79c24003f9d8312837fe904538 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/build.py @@ -0,0 +1,59 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 +import sys + +# Memory debug specific +libxml2.debugMemory(1) + +doc = libxml2.newDoc("1.0") +comment = doc.newDocComment("This is a generated document") +doc.addChild(comment) +pi = libxml2.newPI("test", "PI content") +doc.addChild(pi) +root = doc.newChild(None, "doc", None) +ns = root.newNs("http://example.com/doc", "my") +root.setNs(ns) +elem = root.newChild(None, "foo", "bar") +elem.setBase("http://example.com/imgs") +elem.setProp("img", "image.gif") +doc.saveFile("tmp.xml") +doc.freeDoc() + +doc = libxml2.parseFile("tmp.xml") +comment = doc.children +if comment.type != "comment" or \ + comment.content != "This is a generated document": + print("error rereading comment") + sys.exit(1) +pi = comment.next +if pi.type != "pi" or pi.name != "test" or pi.content != "PI content": + print("error rereading PI") + sys.exit(1) +root = pi.next +if root.name != "doc": + print("error rereading root") + sys.exit(1) +ns = root.ns() +if ns.name != "my" or ns.content != "http://example.com/doc": + print("error rereading namespace") + sys.exit(1) +elem = root.children +if elem.name != "foo": + print("error rereading elem") + sys.exit(1) +if elem.getBase(None) != "http://example.com/imgs": + print("error rereading base") + sys.exit(1) +if elem.prop("img") != "image.gif": + print("error rereading property") + sys.exit(1) + +doc.freeDoc() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/compareNodes.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/compareNodes.py new file mode 100644 index 0000000000000000000000000000000000000000..46779b8212377fc4e26ed0824c8d9d762904f074 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/compareNodes.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +# +# Testing XML Node comparison and Node hash-value +# +doc = libxml2.parseDoc("""""") +root = doc.getRootElement() + +# Create two different objects which point to foo +foonode1 = root.children +foonode2 = root.children + +# Now check that [in]equality tests work ok +if not ( foonode1 == foonode2 ): + print("Error comparing nodes with ==, nodes should be equal but are unequal") + sys.exit(1) +if not ( foonode1 != root ): + print("Error comparing nodes with ==, nodes should not be equal but are equal") + sys.exit(1) +if not ( foonode1 != root ): + print("Error comparing nodes with !=, nodes should not be equal but are equal") +if ( foonode1 != foonode2 ): + print("Error comparing nodes with !=, nodes should be equal but are unequal") + +# Next check that the hash function for the objects also works ok +if not (hash(foonode1) == hash(foonode2)): + print("Error hash values for two equal nodes are different") + sys.exit(1) +if not (hash(foonode1) != hash(root)): + print("Error hash values for two unequal nodes are not different") + sys.exit(1) +if hash(foonode1) == hash(root): + print("Error hash values for two unequal nodes are equal") + sys.exit(1) + +# Basic tests successful +doc.freeDoc() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/ctxterror.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/ctxterror.py new file mode 100644 index 0000000000000000000000000000000000000000..7deaebbfb6d2dca96f69c71d06708b1dbbe836af --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/ctxterror.py @@ -0,0 +1,56 @@ +#!/usr/bin/env python3 +# +# This test exercise the redirection of error messages with a +# functions defined in Python. +# +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +expect="""--> (3) xmlns: URI foo is not absolute +--> (4) Opening and ending tag mismatch: x line 1 and y +""" + +err="" +def callback(arg,msg,severity,reserved): + global err + err = err + "%s (%d) %s" % (arg,severity,msg) + +s = """""" + +parserCtxt = libxml2.createPushParser(None,"",0,"test.xml") +parserCtxt.setErrorHandler(callback, "-->") +if parserCtxt.getErrorHandler() != (callback,"-->"): + print("getErrorHandler failed") + sys.exit(1) +parserCtxt.parseChunk(s,len(s),1) +doc = parserCtxt.doc() +doc.freeDoc() +parserCtxt = None + +if err != expect: + print("error") + print("received %s" %(err)) + print("expected %s" %(expect)) + sys.exit(1) + +i = 10000 +while i > 0: + parserCtxt = libxml2.createPushParser(None,"",0,"test.xml") + parserCtxt.setErrorHandler(callback, "-->") + parserCtxt.parseChunk(s,len(s),1) + doc = parserCtxt.doc() + doc.freeDoc() + parserCtxt = None + err = "" + i = i - 1 + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/cutnpaste.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/cutnpaste.py new file mode 100644 index 0000000000000000000000000000000000000000..4df0902bdf693a24e41aea7ff36a0f1cefcdcd5b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/cutnpaste.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +# +# Testing XML document serialization +# +source = libxml2.parseDoc(""" + + + + + +""") + +target = libxml2.parseDoc(""" +""") + +fragment = source.xpathEval("//*[name()='fragment']")[0] +dest = target.getRootElement() + +# do a cut and paste operation +fragment.unlinkNode() +dest.addChild(fragment) +# do the namespace fixup +dest.reconciliateNs(target) + +# The source tree can be freed at that point +source.freeDoc() + +# check the resulting tree +str = dest.serialize() +if str != """""": + print("reconciliateNs() failed") + sys.exit(1) +target.freeDoc() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/dtdvalid.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/dtdvalid.py new file mode 100644 index 0000000000000000000000000000000000000000..5bd4ef8ed39fed6ed79c529ab2f9955784adf705 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/dtdvalid.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 +import sys + +# Memory debug specific +libxml2.debugMemory(1) + +dtd="""""" +instance=""" +""" + +dtd = libxml2.parseDTD(None, 'test.dtd') +ctxt = libxml2.newValidCtxt() +doc = libxml2.parseDoc(instance) +ret = doc.validateDtd(ctxt, dtd) +if ret != 1: + print("error doing DTD validation") + sys.exit(1) + +doc.freeDoc() +dtd.freeDtd() +del dtd +del ctxt + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/error.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/error.py new file mode 100644 index 0000000000000000000000000000000000000000..6668b729bfcb5447670da75c686337ae70c08e0a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/error.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python3 +# +# This test exercise the redirection of error messages with a +# functions defined in Python. +# +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +expect='--> I/O --> warning : --> failed to load "missing.xml": No such file or directory\n' +err="" +def callback(ctx, str): + global err + + err = err + "%s %s" % (ctx, str) + +got_exc = 0 +libxml2.registerErrorHandler(callback, "-->") +try: + doc = libxml2.parseFile("missing.xml") +except libxml2.parserError: + got_exc = 1 + +if got_exc == 0: + print("Failed to get a parser exception") + sys.exit(1) + +if err != expect: + print("error") + print("received %s" %(err)) + print("expected %s" %(expect)) + sys.exit(1) + +i = 10000 +while i > 0: + try: + doc = libxml2.parseFile("missing.xml") + except libxml2.parserError: + got_exc = 1 + err = "" + i = i - 1 + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/inbuf.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/inbuf.py new file mode 100644 index 0000000000000000000000000000000000000000..a80ae7d14df7469dc25a780b43e0e17c3e53de49 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/inbuf.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +# Memory debug specific +libxml2.debugMemory(1) + +i = 0 +while i < 5000: + f = str_io("foobar") + buf = libxml2.inputBuffer(f) + i = i + 1 + +del f +del buf + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/indexes.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/indexes.py new file mode 100644 index 0000000000000000000000000000000000000000..467376594831ced8d355e64e6ffb15b244942139 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/indexes.py @@ -0,0 +1,113 @@ +#!/usr/bin/env python3 +# -*- coding: ISO-8859-1 -*- +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +ctxt = None + +class callback: + def __init__(self, startd, starte, ende, delta, endd): + self.startd = startd + self.starte = starte + self.ende = ende + self.endd = endd + self.delta = delta + self.count = 0 + + def startDocument(self): + global ctxt + if ctxt.byteConsumed() != self.startd: + print("document start at wrong index: %d expecting %d\n" % ( + ctxt.byteConsumed(), self.startd)) + sys.exit(1) + + def endDocument(self): + global ctxt + expect = self.ende + self.delta * (self.count - 1) + self.endd + if ctxt.byteConsumed() != expect: + print("document end at wrong index: %d expecting %d\n" % ( + ctxt.byteConsumed(), expect)) + sys.exit(1) + + def startElement(self, tag, attrs): + global ctxt + if tag == "bar1": + expect = self.starte + self.delta * self.count + if ctxt.byteConsumed() != expect: + print("element start at wrong index: %d expecting %d\n" % ( + ctxt.byteConsumed(), expect)) + sys.exit(1) + + + def endElement(self, tag): + global ctxt + if tag == "bar1": + expect = self.ende + self.delta * self.count + if ctxt.byteConsumed() != expect: + print("element end at wrong index: %d expecting %d\n" % ( + ctxt.byteConsumed(), expect)) + sys.exit(1) + self.count = self.count + 1 + + def characters(self, data): + pass + +# +# First run a pure UTF-8 test +# +handler = callback(0, 13, 27, 198, 183) +ctxt = libxml2.createPushParser(handler, "\n", 6, "test.xml") +chunk = """ chars1 + chars2 + chars3 + chars4 + chars5 + <s6 + chars7 + &8 + chars9 +""" +i = 0 +while i < 10000: + ctxt.parseChunk(chunk, len(chunk), 0) + i = i + 1 +chunk = "" +ctxt.parseChunk(chunk, len(chunk), 1) +ctxt=None + +# +# Then run a test relying on ISO-Latin-1 +# +handler = callback(43, 57, 71, 198, 183) +chunk=""" + +""" +ctxt = libxml2.createPushParser(handler, chunk, len(chunk), "test.xml") +chunk = """ chars1 + chars2 + chars3 + chàrs4 + chars5 + <s6 + chars7 + &8 + très 9 +""" +i = 0 +while i < 10000: + ctxt.parseChunk(chunk, len(chunk), 0) + i = i + 1 +chunk = "" +ctxt.parseChunk(chunk, len(chunk), 1) +ctxt=None + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/input_callback.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/input_callback.py new file mode 100644 index 0000000000000000000000000000000000000000..c4c8e40fbb537a0fef77445f4cad0a7811cc283e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/input_callback.py @@ -0,0 +1,149 @@ +#!/usr/bin/env python3 +# +# This tests custom input callbacks +# +import sys +import setup_test +import libxml2 +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +# We implement a new scheme, py://strings/ that will reference this dictionary +pystrings = { + 'catalogs/catalog.xml' : +''' + + + +''', + + 'xml/sample.xml' : +''' + +&sample.entity;''', + + 'dtds/sample.dtd' : +''' + +''' +} + +prefix = "py://strings/" +startURL = prefix + "xml/sample.xml" +catURL = prefix + "catalogs/catalog.xml" + +def my_input_cb(URI): + if not(URI.startswith(prefix)): + return None + path = URI[len(prefix):] + if path not in pystrings: + return None + return str_io(pystrings[path]) + + +def run_test(desc, docpath, catalog, exp_status="verified", exp_err=[], test_callback=None, + root_name="root", root_content="replacement text"): + opts = libxml2.XML_PARSE_DTDLOAD | libxml2.XML_PARSE_NONET | libxml2.XML_PARSE_COMPACT + actual_err = [] + + def my_global_error_cb(ctx, msg): + actual_err.append((-1, msg)) + def my_ctx_error_cb(arg, msg, severity, reserved): + actual_err.append((severity, msg)) + + libxml2.registerErrorHandler(my_global_error_cb, None) + try: + parser = libxml2.createURLParserCtxt(docpath, opts) + parser.setErrorHandler(my_ctx_error_cb, None) + if catalog is not None: + parser.addLocalCatalog(catalog) + if test_callback is not None: + test_callback() + parser.parseDocument() + doc = parser.doc() + actual_status = "loaded" + e = doc.getRootElement() + if e.name == root_name and e.content == root_content: + actual_status = "verified" + doc.freeDoc() + except libxml2.parserError: + actual_status = "not loaded" + + if actual_status != exp_status: + print("Test '%s' failed: expect status '%s', actual '%s'" % (desc, exp_status, actual_status)) + sys.exit(1) + elif actual_err != exp_err: + print("Test '%s' failed" % desc) + print("Expect errors:") + for s,m in exp_err: print(" [%2d] '%s'" % (s,m)) + print("Actual errors:") + for s,m in actual_err: print(" [%2d] '%s'" % (s,m)) + sys.exit(1) + + +# Check that we cannot read custom schema without custom callback +run_test(desc="Loading entity without custom callback", + docpath=startURL, catalog=None, + exp_status="not loaded", exp_err=[ + (-1, "I/O "), + (-1, "warning : "), + (-1, "failed to load \"py://strings/xml/sample.xml\": No such file or directory\n") + ]) + +# Register handler and try to load the same entity +libxml2.registerInputCallback(my_input_cb) +run_test(desc="Loading entity with custom callback", + docpath=startURL, catalog=None, + exp_status="loaded", exp_err=[ + ( 4, 'failed to load "http://example.com/dtds/sample.dtd": Attempt to load network entity\n'), + ( 4, "Entity 'sample.entity' not defined\n") + ]) + +# Register a catalog (also accessible via pystr://) and retry +run_test(desc="Loading entity with custom callback and catalog", + docpath=startURL, catalog=catURL) + +# Unregister custom callback when parser is already created +run_test(desc="Loading entity and unregistering callback", + docpath=startURL, catalog=catURL, + test_callback=lambda: libxml2.popInputCallbacks(), + exp_status="loaded", exp_err=[ + ( 3, "failed to load \"py://strings/dtds/sample.dtd\": No such file or directory\n"), + ( 4, "Entity 'sample.entity' not defined\n") + ]) + +# Try to load the document again +run_test(desc="Retry loading document after unregistering callback", + docpath=startURL, catalog=catURL, + exp_status="not loaded", exp_err=[ + (-1, "I/O "), + (-1, "warning : "), + (-1, "failed to load \"py://strings/xml/sample.xml\": No such file or directory\n") + ]) + +# But should be able to read standard I/O yet... +run_test(desc="Loading using standard i/o after unregistering callback", + docpath="tst.xml", catalog=None, + root_name='doc', root_content='bar') + +# Now pop ALL input callbacks, should fail to load even standard I/O +try: + while True: + libxml2.popInputCallbacks() +except IndexError: + pass + +run_test(desc="Loading using standard i/o after unregistering all callbacks", + docpath="tst.xml", catalog=None, + exp_status="not loaded", exp_err=[ + (-1, "I/O "), + (-1, "warning : "), + (-1, "failed to load \"tst.xml\": No such file or directory\n") + ]) + +print("OK") +sys.exit(0); diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/invalid.xml b/local-test-libxml2-delta-02/afc-libxml2/python/tests/invalid.xml new file mode 100644 index 0000000000000000000000000000000000000000..7c9b27e442f3cee69de6f1cd8dcf216e6aed9081 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/invalid.xml @@ -0,0 +1,6 @@ + + + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/meson.build b/local-test-libxml2-delta-02/afc-libxml2/python/tests/meson.build new file mode 100644 index 0000000000000000000000000000000000000000..6065b009ff556b057318dbe88efbc1808740601f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/meson.build @@ -0,0 +1,59 @@ +# TODO: Run the tests + +python_test_files = files( + 'attribs.py', + 'build.py', + 'compareNodes.py', + 'ctxterror.py', + 'cutnpaste.py', + 'dtdvalid.py', + 'error.py', + 'inbuf.py', + 'indexes.py', + 'input_callback.py', + 'nsdel.py', + 'outbuf.py', + 'push.py', + 'pushSAX.py', + 'pushSAXhtml.py', + 'reader.py', + 'reader2.py', + 'reader3.py', + 'reader4.py', + 'reader5.py', + 'reader6.py', + 'reader7.py', + 'reader8.py', + 'readererr.py', + 'readernext.py', + 'regexp.py', + 'relaxng.py', + 'resolver.py', + 'schema.py', + 'serialize.py', + 'setup_test.py', + 'sync.py', + 'thread2.py', + 'tst.py', + 'tstLastError.py', + 'tstURI.py', + 'tstmem.py', + 'tstxpath.py', + 'validDTD.py', + 'validRNG.py', + 'validSchemas.py', + 'validate.py', + 'walker.py', + 'xpath.py', + 'xpathext.py', + 'xpathleak.py', + 'xpathns.py', + 'xpathret.py', +) + +xml_files = files( + 'invalid.xml', + 'test.dtd', + 'tst.xml', + 'valid.xml', +) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/nsdel.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/nsdel.py new file mode 100644 index 0000000000000000000000000000000000000000..8e1b291bab4dd3d4232128ada37f719b932a0e09 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/nsdel.py @@ -0,0 +1,62 @@ +#!/usr/bin/env python3 +# +# this test exercise the XPath basic engine, parser, etc, and +# allows to detect memory leaks +# +import sys +import setup_test +import libxml2 + +instance=""" +""" + +def namespaceDefs(node): + n = node.nsDefs() + while n: + yield n + n = n.next + +def checkNamespaceDefs(node, count): + nsList = list(namespaceDefs(node)) + #print nsList + if len(nsList) != count : + raise Exception("Error: saw %d namespace declarations. Expected %d" % (len(nsList), count)) + +# Memory debug specific +libxml2.debugMemory(1) + +# Remove single namespace +doc = libxml2.parseDoc(instance) +node = doc.getRootElement() +checkNamespaceDefs(node, 3) +ns = node.removeNsDef('urn:bar') +checkNamespaceDefs(node, 2) +ns.freeNsList() +doc.freeDoc() + +# Remove all namespaces +doc = libxml2.parseDoc(instance) +node = doc.getRootElement() +checkNamespaceDefs(node, 3) +ns = node.removeNsDef(None) +checkNamespaceDefs(node, 0) +ns.freeNsList() +doc.freeDoc() + +# Remove a namespace referred to by a child +doc = libxml2.newDoc("1.0") +root = doc.newChild(None, "root", None) +namespace = root.newNs("http://example.com/sample", "s") +child = root.newChild(namespace, "child", None) +root.removeNsDef("http://example.com/sample") +doc.reconciliateNs(root) +namespace.freeNsList() +doc.serialize() # This should not segfault +doc.freeDoc() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/outbuf.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/outbuf.py new file mode 100644 index 0000000000000000000000000000000000000000..64335658856f59de99ab5c7d7449937cdf73cd8c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/outbuf.py @@ -0,0 +1,110 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +def testSimpleBufferWrites(): + f = str_io() + buf = libxml2.createOutputBuffer(f, "ISO-8859-1") + buf.write(3, "foo") + buf.writeString("bar") + buf.close() + + if f.getvalue() != "foobar": + print("Failed to save to StringIO") + sys.exit(1) + +def testSaveDocToBuffer(): + """ + Regression test for bug #154294. + """ + input = 'Hello' + expected = '''\ + +Hello +''' + f = str_io() + buf = libxml2.createOutputBuffer(f, 'UTF-8') + doc = libxml2.parseDoc(input) + doc.saveFileTo(buf, 'UTF-8') + doc.freeDoc() + if f.getvalue() != expected: + print('xmlDoc.saveFileTo() call failed.') + print(' got: %s' % repr(f.getvalue())) + print('expected: %s' % repr(expected)) + sys.exit(1) + +def testSaveFormattedDocToBuffer(): + input = 'Some text' + # The formatted and non-formatted versions of the output. + expected = ('''\ + +Some text +''', '''\ + + + Some text + + +''') + doc = libxml2.parseDoc(input) + for i in (0, 1): + f = str_io() + buf = libxml2.createOutputBuffer(f, 'UTF-8') + doc.saveFormatFileTo(buf, 'UTF-8', i) + if f.getvalue() != expected[i]: + print('xmlDoc.saveFormatFileTo() call failed.') + print(' got: %s' % repr(f.getvalue())) + print('expected: %s' % repr(expected[i])) + sys.exit(1) + doc.freeDoc() + +def testSaveIntoOutputBuffer(): + """ + Similar to the previous two tests, except this time we invoke the save + methods on the output buffer object and pass in an XML node object. + """ + input = 'Hello' + expected = '''\ + +Hello +''' + f = str_io() + doc = libxml2.parseDoc(input) + buf = libxml2.createOutputBuffer(f, 'UTF-8') + buf.saveFileTo(doc, 'UTF-8') + if f.getvalue() != expected: + print('outputBuffer.saveFileTo() call failed.') + print(' got: %s' % repr(f.getvalue())) + print('expected: %s' % repr(expected)) + sys.exit(1) + f = str_io() + buf = libxml2.createOutputBuffer(f, 'UTF-8') + buf.saveFormatFileTo(doc, 'UTF-8', 1) + if f.getvalue() != expected: + print('outputBuffer.saveFormatFileTo() call failed.') + print(' got: %s' % repr(f.getvalue())) + print('expected: %s' % repr(expected)) + sys.exit(1) + doc.freeDoc() + +if __name__ == '__main__': + # Memory debug specific + libxml2.debugMemory(1) + + testSimpleBufferWrites() + testSaveDocToBuffer() + testSaveFormattedDocToBuffer() + testSaveIntoOutputBuffer() + + libxml2.cleanupParser() + if libxml2.debugMemory(1) == 0: + print("OK") + else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/push.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/push.py new file mode 100644 index 0000000000000000000000000000000000000000..107817847d55af635e568c517814e1a44b177d85 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/push.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +ctxt = libxml2.createPushParser(None, "", 2, 1) +doc = ctxt.doc() +ctxt=None +if doc.name != "test.xml": + print("document name error") + sys.exit(1) +root = doc.children +if root.name != "foo": + print("root element name error") + sys.exit(1) +doc.freeDoc() +i = 10000 +while i > 0: + ctxt = libxml2.createPushParser(None, "", 2, 1) + doc = ctxt.doc() + doc.freeDoc() + i = i -1 +ctxt=None + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/pushSAX.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/pushSAX.py new file mode 100644 index 0000000000000000000000000000000000000000..f30088d4c521207a074e585126773e2f3284584c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/pushSAX.py @@ -0,0 +1,64 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +log = "" + +class callback: + def startDocument(self): + global log + log = log + "startDocument:" + + def endDocument(self): + global log + log = log + "endDocument:" + + def startElement(self, tag, attrs): + global log + log = log + "startElement %s %s:" % (tag, attrs) + + def endElement(self, tag): + global log + log = log + "endElement %s:" % (tag) + + def characters(self, data): + global log + log = log + "characters: %s:" % (data) + + def warning(self, msg): + global log + log = log + "warning: %s:" % (msg) + + def error(self, msg): + global log + log = log + "error: %s:" % (msg) + + def fatalError(self, msg): + global log + log = log + "fatalError: %s:" % (msg) + +handler = callback() + +ctxt = libxml2.createPushParser(handler, "content of c""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test1") +ret = reader.Read() +if ret != 1: + print("test1: Error reading to first element") + sys.exit(1) +if reader.Name() != "a" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 1 or reader.HasAttributes() != 0: + print("test1: Error reading the first element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test1: Error reading to second element") + sys.exit(1) +if reader.Name() != "b" or reader.IsEmptyElement() != 1 or \ + reader.NodeType() != 1 or reader.HasAttributes() != 1: + print("test1: Error reading the second element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test1: Error reading to third element") + sys.exit(1) +if reader.Name() != "c" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 1 or reader.HasAttributes() != 0: + print("test1: Error reading the third element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test1: Error reading to text node") + sys.exit(1) +if reader.Name() != "#text" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 3 or reader.HasAttributes() != 0 or \ + reader.Value() != "content of c": + print("test1: Error reading the text node") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test1: Error reading to end of third element") + sys.exit(1) +if reader.Name() != "c" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 15 or reader.HasAttributes() != 0: + print("test1: Error reading the end of third element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test1: Error reading to end of first element") + sys.exit(1) +if reader.Name() != "a" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 15 or reader.HasAttributes() != 0: + print("test1: Error reading the end of first element") + sys.exit(1) +ret = reader.Read() +if ret != 0: + print("test1: Error reading to end of document") + sys.exit(1) + +# +# example from the XmlTextReader docs +# +f = str_io("""""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test2") + +ret = reader.Read() +if ret != 1: + print("Error reading test element") + sys.exit(1) +if reader.GetAttributeNo(0) != "urn:datatypes" or \ + reader.GetAttributeNo(1) != "int" or \ + reader.GetAttributeNs("type", "urn:datatypes") != "int" or \ + reader.GetAttribute("dt:type") != "int": + print("error reading test attributes") + sys.exit(1) + +# +# example from the XmlTextReader docs +# +f = str_io(""" + + + +""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test3") + +ret = reader.Read() +while ret == 1: + if reader.Name() == "ref": + if reader.LookupNamespace("a") != "urn:456": + print("error resolving namespace prefix") + sys.exit(1) + break + ret = reader.Read() +if ret != 1: + print("Error finding the ref element") + sys.exit(1) + +# +# Home made example for the various attribute access functions +# +f = str_io("""""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test4") +ret = reader.Read() +if ret != 1: + print("Error reading the testattr element") + sys.exit(1) +# +# Attribute exploration by index +# +if reader.MoveToAttributeNo(0) != 1: + print("Failed moveToAttribute(0)") + sys.exit(1) +if reader.Value() != "urn:1": + print("Failed to read attribute(0)") + sys.exit(1) +if reader.Name() != "xmlns": + print("Failed to read attribute(0) name") + sys.exit(1) +if reader.MoveToAttributeNo(1) != 1: + print("Failed moveToAttribute(1)") + sys.exit(1) +if reader.Value() != "urn:2": + print("Failed to read attribute(1)") + sys.exit(1) +if reader.Name() != "xmlns:a": + print("Failed to read attribute(1) name") + sys.exit(1) +if reader.MoveToAttributeNo(2) != 1: + print("Failed moveToAttribute(2)") + sys.exit(1) +if reader.Value() != "b": + print("Failed to read attribute(2)") + sys.exit(1) +if reader.Name() != "b": + print("Failed to read attribute(2) name") + sys.exit(1) +if reader.MoveToAttributeNo(3) != 1: + print("Failed moveToAttribute(3)") + sys.exit(1) +if reader.Value() != "a:b": + print("Failed to read attribute(3)") + sys.exit(1) +if reader.Name() != "a:b": + print("Failed to read attribute(3) name") + sys.exit(1) +# +# Attribute exploration by name +# +if reader.MoveToAttribute("xmlns") != 1: + print("Failed moveToAttribute('xmlns')") + sys.exit(1) +if reader.Value() != "urn:1": + print("Failed to read attribute('xmlns')") + sys.exit(1) +if reader.MoveToAttribute("xmlns:a") != 1: + print("Failed moveToAttribute('xmlns')") + sys.exit(1) +if reader.Value() != "urn:2": + print("Failed to read attribute('xmlns:a')") + sys.exit(1) +if reader.MoveToAttribute("b") != 1: + print("Failed moveToAttribute('b')") + sys.exit(1) +if reader.Value() != "b": + print("Failed to read attribute('b')") + sys.exit(1) +if reader.MoveToAttribute("a:b") != 1: + print("Failed moveToAttribute('a:b')") + sys.exit(1) +if reader.Value() != "a:b": + print("Failed to read attribute('a:b')") + sys.exit(1) +if reader.MoveToAttributeNs("b", "urn:2") != 1: + print("Failed moveToAttribute('b', 'urn:2')") + sys.exit(1) +if reader.Value() != "a:b": + print("Failed to read attribute('b', 'urn:2')") + sys.exit(1) +# +# Go back and read in sequence +# +if reader.MoveToElement() != 1: + print("Failed to move back to element") + sys.exit(1) +if reader.MoveToFirstAttribute() != 1: + print("Failed to move to first attribute") + sys.exit(1) +if reader.Value() != "urn:1": + print("Failed to read attribute(0)") + sys.exit(1) +if reader.Name() != "xmlns": + print("Failed to read attribute(0) name") + sys.exit(1) +if reader.MoveToNextAttribute() != 1: + print("Failed to move to next attribute") + sys.exit(1) +if reader.Value() != "urn:2": + print("Failed to read attribute(1)") + sys.exit(1) +if reader.Name() != "xmlns:a": + print("Failed to read attribute(1) name") + sys.exit(1) +if reader.MoveToNextAttribute() != 1: + print("Failed to move to next attribute") + sys.exit(1) +if reader.Value() != "b": + print("Failed to read attribute(2)") + sys.exit(1) +if reader.Name() != "b": + print("Failed to read attribute(2) name") + sys.exit(1) +if reader.MoveToNextAttribute() != 1: + print("Failed to move to next attribute") + sys.exit(1) +if reader.Value() != "a:b": + print("Failed to read attribute(3)") + sys.exit(1) +if reader.Name() != "a:b": + print("Failed to read attribute(3) name") + sys.exit(1) +if reader.MoveToNextAttribute() != 0: + print("Failed to detect last attribute") + sys.exit(1) + + +# +# a couple of tests for namespace nodes +# +f = str_io("""""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test6") +ret = reader.Read() +if ret != 1: + print("test6: failed to Read()") + sys.exit(1) +ret = reader.MoveToFirstAttribute() +if ret != 1: + print("test6: failed to MoveToFirstAttribute()") + sys.exit(1) +if reader.NamespaceUri() != "http://www.w3.org/2000/xmlns/" or \ + reader.LocalName() != "xmlns" or reader.Name() != "xmlns" or \ + reader.Value() != "http://example.com/foo" or reader.NodeType() != 2: + print("test6: failed to read the namespace node") + sys.exit(1) + +f = str_io("""""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test7") +ret = reader.Read() +if ret != 1: + print("test7: failed to Read()") + sys.exit(1) +ret = reader.MoveToFirstAttribute() +if ret != 1: + print("test7: failed to MoveToFirstAttribute()") + sys.exit(1) +if reader.NamespaceUri() != "http://www.w3.org/2000/xmlns/" or \ + reader.LocalName() != "prefix" or reader.Name() != "xmlns:prefix" or \ + reader.Value() != "http://example.com/foo" or reader.NodeType() != 2: + print("test7: failed to read the namespace node") + sys.exit(1) + +# +# Test for a limit case: +# +f = str_io("""""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test8") +ret = reader.Read() +if ret != 1: + print("test8: failed to read the node") + sys.exit(1) +if reader.Name() != "a" or reader.IsEmptyElement() != 1: + print("test8: failed to analyze the node") + sys.exit(1) +ret = reader.Read() +if ret != 0: + print("test8: failed to detect the EOF") + sys.exit(1) + +# +# Another test provided by Stéphane Bidoul and checked with C# +# +def tst_reader(s): + f = str_io(s) + input = libxml2.inputBuffer(f) + reader = input.newTextReader("tst") + res = "" + while reader.Read(): + res=res + "%s (%s) [%s] %d %d\n" % (reader.NodeType(),reader.Name(), + reader.Value(), reader.IsEmptyElement(), + reader.Depth()) + if reader.NodeType() == 1: # Element + while reader.MoveToNextAttribute(): + res = res + "-- %s (%s) [%s] %d %d\n" % (reader.NodeType(), + reader.Name(),reader.Value(), + reader.IsEmptyElement(), reader.Depth()) + return res + +doc="""content of c""" +expect="""1 (a) [None] 0 0 +1 (b) [None] 1 1 +-- 2 (b1) [b1] 0 2 +1 (c) [None] 0 1 +3 (#text) [content of c] 0 2 +15 (c) [None] 0 1 +15 (a) [None] 0 0 +""" +res = tst_reader(doc) +if res != expect: + print("test5 failed") + print(res) + sys.exit(1) + +doc="""""" +expect="""1 (test) [None] 0 0 +1 (b) [None] 1 1 +1 (c) [None] 1 1 +15 (test) [None] 0 0 +""" +res = tst_reader(doc) +if res != expect: + print("test9 failed") + print(res) + sys.exit(1) + +doc="""bbbccc""" +expect="""1 (a) [None] 0 0 +1 (b) [None] 0 1 +3 (#text) [bbb] 0 2 +15 (b) [None] 0 1 +1 (c) [None] 0 1 +3 (#text) [ccc] 0 2 +15 (c) [None] 0 1 +15 (a) [None] 0 0 +""" +res = tst_reader(doc) +if res != expect: + print("test10 failed") + print(res) + sys.exit(1) + +doc="""""" +expect="""1 (test) [None] 1 0 +-- 2 (a) [a] 0 1 +""" +res = tst_reader(doc) +if res != expect: + print("test11 failed") + print(res) + sys.exit(1) + +doc="""aaa""" +expect="""1 (test) [None] 0 0 +1 (a) [None] 0 1 +3 (#text) [aaa] 0 2 +15 (a) [None] 0 1 +1 (b) [None] 1 1 +15 (test) [None] 0 0 +""" +res = tst_reader(doc) +if res != expect: + print("test12 failed") + print(res) + sys.exit(1) + +doc="""

""" +expect="""1 (test) [None] 0 0 +1 (p) [None] 0 1 +15 (p) [None] 0 1 +15 (test) [None] 0 0 +""" +res = tst_reader(doc) +if res != expect: + print("test13 failed") + print(res) + sys.exit(1) + +doc="""

""" +expect="""1 (p) [None] 0 0 +15 (p) [None] 0 0 +""" +res = tst_reader(doc) +if res != expect: + print("test14 failed") + print(res) + sys.exit(1) + +# +# test from bug #108801 +# +doc=""" + + +
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +
+""" +expect="""10 (article) [None] 0 0 +1 (article) [None] 0 0 +3 (#text) [ +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +] 0 1 +15 (article) [None] 0 0 +""" +res = tst_reader(doc) +if res != expect: + print("test15 failed") + print(res) + sys.exit(1) + +# +# cleanup for memory allocation counting +# +del f +del input +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader2.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader2.py new file mode 100644 index 0000000000000000000000000000000000000000..0857c2329fa794ed4484071bfc81ac4170b61656 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader2.py @@ -0,0 +1,331 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# this tests the DTD validation with the XmlTextReader interface +# +import sys +import glob +import os +import setup_test +import libxml2 +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +# Memory debug specific +libxml2.debugMemory(1) + +err = "" +basedir = os.path.dirname(os.path.realpath(__file__)) +dir_prefix = os.path.realpath(os.path.join(basedir, "..", "..", "test", "valid")) + +# This dictionary reflects the contents of the files +# ../../test/valid/*.xml.err that are not empty, except that +# the file paths in the messages start with ../../test/ + +expect = { + '766956': +"""{0}/dtds/766956.dtd:2: parser error : PEReference: expecting ';' +%ä%ent; + ^ +{0}/dtds/766956.dtd:2: parser error : Content error in the external subset +%ä%ent; + ^ +Entity: line 1: +value +^ +""".format(dir_prefix), + '781333': +"""{0}/781333.xml:4: element a: validity error : Element a content does not follow the DTD, expecting ( ..., got + + ^ +""".format(dir_prefix), + 'cond_sect2': +"""{0}/dtds/cond_sect2.dtd:15: parser error : All markup of the conditional section is not in the same entity + %ent; + ^ +Entity: line 1: +]]> +^ +{0}/dtds/cond_sect2.dtd:17: parser error : Content error in the external subset + +^ +""".format(dir_prefix), + 'rss': +"""{0}/rss.xml:177: element rss: validity error : Element rss does not carry attribute version + + ^ +""".format(dir_prefix), + 't8': +"""{0}/t8.xml:6: parser error : Content error in the internal subset +%defroot; %defmiddle; %deftest; + ^ +Entity: line 1: +<!ELEMENT root (middle) > +^ +""".format(dir_prefix), + 't8a': +"""{0}/t8a.xml:6: parser error : Content error in the internal subset +%defroot;%defmiddle;%deftest; + ^ +Entity: line 1: +<!ELEMENT root (middle) > +^ +""".format(dir_prefix), + 'xlink': +"""{0}/xlink.xml:450: element termdef: validity error : ID dt-arc already defined +

An + + + +xxx"> +]> + + &x; + bbb + +""" +expect="""10,test +1,test +14,#text +1,x +1,c +3,#text +15,c +15,x +14,#text +1,b +3,#text +15,b +14,#text +15,test +""" +res="" +err="" + +input = libxml2.inputBuffer(str_io(s)) +reader = input.newTextReader("test2") +reader.SetParserProp(libxml2.PARSER_LOADDTD,1) +reader.SetParserProp(libxml2.PARSER_DEFAULTATTRS,1) +reader.SetParserProp(libxml2.PARSER_SUBST_ENTITIES,1) +reader.SetParserProp(libxml2.PARSER_VALIDATE,1) +while reader.Read() == 1: + res = res + "%s,%s\n" % (reader.NodeType(),reader.Name()) + +if res != expect: + print("test2 failed: unexpected output") + print(res) + sys.exit(1) +if err != "": + print("test2 failed: validation error found") + print(err) + sys.exit(1) + +# +# Another test for external entity parsing and validation +# + +s = """ + + +]> + + &e; + +""" +tst_ent = """hello""" +expect="""10 test +1 test +14 #text +1 x +3 #text +15 x +14 #text +15 test +""" +res="" + +def myResolver(URL, ID, ctxt): + if URL == "tst.ent": + return(str_io(tst_ent)) + return None + +libxml2.setEntityLoader(myResolver) + +input = libxml2.inputBuffer(str_io(s)) +reader = input.newTextReader("test3") +reader.SetParserProp(libxml2.PARSER_LOADDTD,1) +reader.SetParserProp(libxml2.PARSER_DEFAULTATTRS,1) +reader.SetParserProp(libxml2.PARSER_SUBST_ENTITIES,1) +reader.SetParserProp(libxml2.PARSER_VALIDATE,1) +while reader.Read() == 1: + res = res + "%s %s\n" % (reader.NodeType(),reader.Name()) + +if res != expect: + print("test3 failed: unexpected output") + print(res) + sys.exit(1) +if err != "": + print("test3 failed: validation error found") + print(err) + sys.exit(1) + +# +# Another test for recursive entity parsing, validation, and replacement of +# entities, making sure the entity ref node doesn't show up in that case +# + +s = """ + + +&y;"> +yyy"> +]> + + &x; + &x; +""" +expect="""10 test 0 +1 test 0 +14 #text 1 +1 x 1 +1 y 2 +3 #text 3 +15 y 2 +15 x 1 +14 #text 1 +1 x 1 +1 y 2 +3 #text 3 +15 y 2 +15 x 1 +14 #text 1 +15 test 0 +""" +res="" +err="" + +input = libxml2.inputBuffer(str_io(s)) +reader = input.newTextReader("test4") +reader.SetParserProp(libxml2.PARSER_LOADDTD,1) +reader.SetParserProp(libxml2.PARSER_DEFAULTATTRS,1) +reader.SetParserProp(libxml2.PARSER_SUBST_ENTITIES,1) +reader.SetParserProp(libxml2.PARSER_VALIDATE,1) +while reader.Read() == 1: + res = res + "%s %s %d\n" % (reader.NodeType(),reader.Name(),reader.Depth()) + +if res != expect: + print("test4 failed: unexpected output") + print(res) + sys.exit(1) +if err != "": + print("test4 failed: validation error found") + print(err) + sys.exit(1) + +# +# The same test but without entity substitution this time +# + +s = """ + + +&y;"> +yyy"> +]> + + &x; + &x; +""" +expect="""10 test 0 +1 test 0 +14 #text 1 +5 x 1 +14 #text 1 +5 x 1 +14 #text 1 +15 test 0 +""" +res="" +err="" + +input = libxml2.inputBuffer(str_io(s)) +reader = input.newTextReader("test5") +reader.SetParserProp(libxml2.PARSER_VALIDATE,1) +while reader.Read() == 1: + res = res + "%s %s %d\n" % (reader.NodeType(),reader.Name(),reader.Depth()) + +if res != expect: + print("test5 failed: unexpected output") + print(res) + sys.exit(1) +if err != "": + print("test5 failed: validation error found") + print(err) + sys.exit(1) + +# +# cleanup +# +del input +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader3.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader3.py new file mode 100644 index 0000000000000000000000000000000000000000..9a5454075217e4891187fc565fec5e558af89997 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader3.py @@ -0,0 +1,160 @@ +#!/usr/bin/env python3 +# +# this tests the entities substitutions with the XmlTextReader interface +# +import sys +import setup_test +import libxml2 +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +docstr=""" +test

"> +]> +&tst;""" + +# Memory debug specific +libxml2.debugMemory(1) + +# +# First test, normal don't substitute entities. +# +f = str_io(docstr) +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test_noent") +ret = reader.Read() +if ret != 1: + print("Error reading to root") + sys.exit(1) +if reader.Name() == "doc" or reader.NodeType() == 10: + ret = reader.Read() +if ret != 1: + print("Error reading to root") + sys.exit(1) +if reader.Name() != "doc" or reader.NodeType() != 1: + print("test_normal: Error reading the root element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_normal: Error reading to the entity") + sys.exit(1) +if reader.Name() != "tst" or reader.NodeType() != 5: + print("test_normal: Error reading the entity") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_normal: Error reading to the end of root") + sys.exit(1) +if reader.Name() != "doc" or reader.NodeType() != 15: + print("test_normal: Error reading the end of the root element") + sys.exit(1) +ret = reader.Read() +if ret != 0: + print("test_normal: Error detecting the end") + sys.exit(1) + +# +# Second test, completely substitute the entities. +# +f = str_io(docstr) +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test_noent") +reader.SetParserProp(libxml2.PARSER_SUBST_ENTITIES, 1) +ret = reader.Read() +if ret != 1: + print("Error reading to root") + sys.exit(1) +if reader.Name() == "doc" or reader.NodeType() == 10: + ret = reader.Read() +if ret != 1: + print("Error reading to root") + sys.exit(1) +if reader.Name() != "doc" or reader.NodeType() != 1: + print("test_noent: Error reading the root element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_noent: Error reading to the entity content") + sys.exit(1) +if reader.Name() != "p" or reader.NodeType() != 1: + print("test_noent: Error reading the p element from entity") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_noent: Error reading to the text node") + sys.exit(1) +if reader.NodeType() != 3 or reader.Value() != "test": + print("test_noent: Error reading the text node") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_noent: Error reading to the end of p element") + sys.exit(1) +if reader.Name() != "p" or reader.NodeType() != 15: + print("test_noent: Error reading the end of the p element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_noent: Error reading to the end of root") + sys.exit(1) +if reader.Name() != "doc" or reader.NodeType() != 15: + print("test_noent: Error reading the end of the root element") + sys.exit(1) +ret = reader.Read() +if ret != 0: + print("test_noent: Error detecting the end") + sys.exit(1) + +# +# third test, crazy stuff about empty element in external parsed entities +# +s = """ +]> +&simplestruct2.ent; +""" +expect="""10 struct 0 0 +1 struct 0 0 +1 descr 1 1 +15 struct 0 0 +""" +res="" +simplestruct2_ent="""""" + +def myResolver(URL, ID, ctxt): + if URL == "simplestruct2.ent": + return(str_io(simplestruct2_ent)) + return None + +libxml2.setEntityLoader(myResolver) + +input = libxml2.inputBuffer(str_io(s)) +reader = input.newTextReader("test3") +reader.SetParserProp(libxml2.PARSER_SUBST_ENTITIES,1) +while reader.Read() == 1: + res = res + "%s %s %d %d\n" % (reader.NodeType(),reader.Name(), + reader.Depth(),reader.IsEmptyElement()) + +if res != expect: + print("test3 failed: unexpected output") + print(res) + sys.exit(1) + +# +# cleanup +# +del f +del input +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader4.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader4.py new file mode 100644 index 0000000000000000000000000000000000000000..677d089f4ab5df0cc7d31040eb7e7682ea3c409c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader4.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python3 +# +# this tests the basic APIs of the XmlTextReader interface +# +import setup_test +import libxml2 +import sys +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +# Memory debug specific +libxml2.debugMemory(1) + +def tst_reader(s): + f = str_io(s) + input = libxml2.inputBuffer(f) + reader = input.newTextReader("tst") + res = "" + while reader.Read(): + res=res + "%s (%s) [%s] %d\n" % (reader.NodeType(),reader.Name(), + reader.Value(), reader.IsEmptyElement()) + if reader.NodeType() == 1: # Element + while reader.MoveToNextAttribute(): + res = res + "-- %s (%s) [%s]\n" % (reader.NodeType(), + reader.Name(),reader.Value()) + return res + +expect="""1 (test) [None] 0 +1 (b) [None] 1 +1 (c) [None] 1 +15 (test) [None] 0 +""" + +res = tst_reader("""""") + +if res != expect: + print("Did not get the expected error message:") + print(res) + sys.exit(1) + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader5.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader5.py new file mode 100644 index 0000000000000000000000000000000000000000..201a53b58833bc3be9f02d643ae2b02c1feda711 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader5.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python3 +# +# this tests the Expand() API of the xmlTextReader interface +# this extract the Dragon bibliography entries from the XML specification +# +import setup_test +import libxml2 +import os +import sys + +# Memory debug specific +libxml2.debugMemory(1) + +expect="""Aho, Alfred V., +Ravi Sethi, and Jeffrey D. Ullman. +Compilers: Principles, Techniques, and Tools. +Reading: Addison-Wesley, 1986, rpt. corr. 1988.""" + +basedir = os.path.dirname(os.path.realpath(__file__)) +f = open(os.path.join(basedir, '../../test/valid/REC-xml-19980210.xml'), 'rb') +input = libxml2.inputBuffer(f) +reader = input.newTextReader("REC") +res="" +while reader.Read() > 0: + while reader.Name() == 'bibl': + node = reader.Expand() # expand the subtree + if node.xpathEval("@id = 'Aho'"): # use XPath on it + res = res + node.serialize() + if reader.Next() != 1: # skip the subtree + break; + +if res != expect: + print("Error: didn't get the expected output") + print("got '%s'" % (res)) + print("expected '%s'" % (expect)) + + +# +# cleanup +# +del input +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader6.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader6.py new file mode 100644 index 0000000000000000000000000000000000000000..33a5597443dbbe7411d1f9b65832d412ee955055 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader6.py @@ -0,0 +1,128 @@ +#!/usr/bin/env python3 +# +# this tests the entities substitutions with the XmlTextReader interface +# +import sys +import setup_test +import libxml2 +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +schema=""" + + + + + + + + + + + + + + +""" +# Memory debug specific +libxml2.debugMemory(1) + +# +# Parse the Relax NG Schemas +# +rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema)) +rngs = rngp.relaxNGParse() +del rngp + +# +# Parse and validate the correct document +# +docstr=""" + +100 +""" + +f = str_io(docstr) +input = libxml2.inputBuffer(f) +reader = input.newTextReader("correct") +reader.RelaxNGSetSchema(rngs) +ret = reader.Read() +while ret == 1: + ret = reader.Read() + +if ret != 0: + print("Error parsing the document") + sys.exit(1) + +if reader.IsValid() != 1: + print("Document failed to validate") + sys.exit(1) + +# +# Parse and validate the incorrect document +# +docstr=""" + +1000 +""" + +err="" +# RNG errors are not as good as before , TODO +#expect="""RNG validity error: file error line 3 element text +#Type byte doesn't allow value '1000' +#RNG validity error: file error line 3 element text +#Error validating datatype byte +#RNG validity error: file error line 3 element text +#Element item failed to validate content +#""" +expect="""Type byte doesn't allow value '1000' +Error validating datatype byte +Element item failed to validate content +""" + +def callback(ctx, str): + global err + err = err + "%s" % (str) +libxml2.registerErrorHandler(callback, "") + +f = str_io(docstr) +input = libxml2.inputBuffer(f) +reader = input.newTextReader("error") +reader.RelaxNGSetSchema(rngs) +ret = reader.Read() +while ret == 1: + ret = reader.Read() + +if ret != 0: + print("Error parsing the document") + sys.exit(1) + +if reader.IsValid() != 0: + print("Document failed to detect the validation error") + sys.exit(1) + +if err != expect: + print("Did not get the expected error message:") + print(err) + sys.exit(1) + +# +# cleanup +# +del f +del input +del reader +del rngs +libxml2.relaxNGCleanupTypes() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader7.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader7.py new file mode 100644 index 0000000000000000000000000000000000000000..58131a8c21246967324adee7edd58d0a197b2e72 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader7.py @@ -0,0 +1,101 @@ +#!/usr/bin/env python3 +# +# this tests the entities substitutions with the XmlTextReader interface +# +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +result = "" +def processNode(reader): + global result + + result = result + "%d %d %s %d\n" % (reader.Depth(), reader.NodeType(), + reader.Name(), reader.IsEmptyElement()) + +# +# Parse a document testing the readerForxxx API +# +docstr=""" + +100 +""" +expect="""0 1 foo 0 +1 14 #text 0 +1 1 label 0 +2 3 #text 0 +1 15 label 0 +1 14 #text 0 +1 1 item 0 +2 3 #text 0 +1 15 item 0 +1 14 #text 0 +0 15 foo 0 +""" +result = "" + +reader = libxml2.readerForDoc(docstr, "test1", None, 0) +ret = reader.Read() +while ret == 1: + processNode(reader) + ret = reader.Read() + +if ret != 0: + print("Error parsing the document test1") + sys.exit(1) + +if result != expect: + print("Unexpected result for test1") + print(result) + sys.exit(1) + +# +# Reuse the reader for another document testing the ReaderNewxxx API +# +docstr=""" + +1000 +""" +expect="""0 1 foo 0 +1 14 #text 0 +1 1 label 0 +2 3 #text 0 +1 15 label 0 +1 14 #text 0 +1 1 item 0 +2 3 #text 0 +1 15 item 0 +1 14 #text 0 +0 15 foo 0 +""" +result = "" + +reader.NewDoc(docstr, "test2", None, 0) +ret = reader.Read() +while ret == 1: + processNode(reader) + ret = reader.Read() + +if ret != 0: + print("Error parsing the document test2") + sys.exit(1) + +if result != expect: + print("Unexpected result for test2") + print(result) + sys.exit(1) + +# +# cleanup +# +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader8.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader8.py new file mode 100644 index 0000000000000000000000000000000000000000..bc055dfdda81674ff36b492ad7ddd8c6deb9e760 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/reader8.py @@ -0,0 +1,36 @@ +#!/usr/bin/env python3 +# +# this tests the entities substitutions with the XmlTextReader interface +# +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +# +# Parse a document testing the Close() API +# +docstr=""" + +100 +""" + +reader = libxml2.readerForDoc(docstr, "test1", None, 0) +ret = reader.Read() +ret = reader.Read() +ret = reader.Close() + +if ret != 0: + print("Error closing the document test1") + sys.exit(1) + +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/readererr.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/readererr.py new file mode 100644 index 0000000000000000000000000000000000000000..e3fdba6dee2810f547183afbfc8508cc1077123f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/readererr.py @@ -0,0 +1,56 @@ +#!/usr/bin/env python3 +# +# this tests the basic APIs of the XmlTextReader interface +# +import setup_test +import libxml2 +import sys +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +# Memory debug specific +libxml2.debugMemory(1) + +expect="""--> (3) test1:1:xmlns: URI foo is not absolute +--> (4) test1:1:Opening and ending tag mismatch: c line 1 and a +""" +err="" +def myErrorHandler(arg,msg,severity,locator): + global err + err = err + "%s (%d) %s:%d:%s" % (arg,severity,locator.BaseURI(),locator.LineNumber(),msg) + +f = str_io("""
content of c""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test1") +reader.SetErrorHandler(myErrorHandler,"-->") +while reader.Read() == 1: + pass + +if err != expect: + print("error") + print("received %s" %(err)) + print("expected %s" %(expect)) + sys.exit(1) + +reader.SetErrorHandler(None,None) +if reader.GetErrorHandler() != (None,None): + print("GetErrorHandler failed") + sys.exit(1) + +# +# cleanup for memory allocation counting +# +del f +del input +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/readernext.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/readernext.py new file mode 100644 index 0000000000000000000000000000000000000000..4f216bb4a0003bad9cb22c7ee9412a1e805c352a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/readernext.py @@ -0,0 +1,86 @@ +#!/usr/bin/env python3 +# -*- coding: ISO-8859-1 -*- +# +# this tests the next API of the XmlTextReader interface +# +import setup_test +import libxml2 +import sys +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +# Memory debug specific +libxml2.debugMemory(1) + +f = str_io("""content of d""") +input = libxml2.inputBuffer(f) +reader = input.newTextReader("test_next") +ret = reader.Read() +if ret != 1: + print("test_next: Error reading to first element") + sys.exit(1) +if reader.Name() != "a" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 1 or reader.HasAttributes() != 0: + print("test_next: Error reading the first element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_next: Error reading to second element") + sys.exit(1) +if reader.Name() != "b" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 1 or reader.HasAttributes() != 0: + print("test_next: Error reading the second element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_next: Error reading to third element") + sys.exit(1) +if reader.Name() != "c" or reader.NodeType() != 1 or \ + reader.HasAttributes() != 0: + print("test_next: Error reading the third element") + sys.exit(1) +ret = reader.Read() +if ret != 1: + print("test_next: Error reading to end of third element") + sys.exit(1) +if reader.Name() != "b" or reader.NodeType() != 15: + print("test_next: Error reading to end of second element") + sys.exit(1) +ret = reader.Next() +if ret != 1: + print("test_next: Error moving to third element") + sys.exit(1) +if reader.Name() != "d" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 1 or reader.HasAttributes() != 0: + print("test_next: Error reading third element") + sys.exit(1) +ret = reader.Next() +if ret != 1: + print("test_next: Error reading to end of first element") + sys.exit(1) +if reader.Name() != "a" or reader.IsEmptyElement() != 0 or \ + reader.NodeType() != 15 or reader.HasAttributes() != 0: + print("test_next: Error reading the end of first element") + sys.exit(1) +ret = reader.Read() +if ret != 0: + print("test_next: Error reading to end of document") + sys.exit(1) + +# +# cleanup for memory allocation counting +# +del f +del input +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/regexp.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/regexp.py new file mode 100644 index 0000000000000000000000000000000000000000..890d1dc888cb57929eb12c9308f128766221af05 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/regexp.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +re = libxml2.regexpCompile("a|b") +if re.regexpExec("a") != 1: + print("error checking 'a'") + sys.exit(1) +if re.regexpExec("b") != 1: + print("error checking 'b'") + sys.exit(1) +if re.regexpExec("ab") != 0: + print("error checking 'ab'") + sys.exit(1) +if re.regexpExec("") != 0: + print("error checking 'ab'") + sys.exit(1) +if re.regexpIsDeterminist() != 1: + print("error checking determinism") + sys.exit(1) +del re + + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/relaxng.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/relaxng.py new file mode 100644 index 0000000000000000000000000000000000000000..518b97e637089b4999e8a3bd68fb5c793d21fb54 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/relaxng.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 +import sys + +# Memory debug specific +libxml2.debugMemory(1) + +schema=""" + + A foo element. + + + + + + + +""" +instance=""" +""" + +rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema)) +rngs = rngp.relaxNGParse() +ctxt = rngs.relaxNGNewValidCtxt() +doc = libxml2.parseDoc(instance) +ret = doc.relaxNGValidateDoc(ctxt) +if ret != 0: + print("error doing RelaxNG validation") + sys.exit(1) + +doc.freeDoc() +del rngp +del rngs +del ctxt +libxml2.relaxNGCleanupTypes() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/resolver.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/resolver.py new file mode 100644 index 0000000000000000000000000000000000000000..da8fc148853f0e015bef89d874ab8aa85cdd1b00 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/resolver.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 +try: + import StringIO + str_io = StringIO.StringIO +except: + import io + str_io = io.StringIO + +# Memory debug specific +libxml2.debugMemory(1) + +def myResolver(URL, ID, ctxt): + return(str_io("")) + +libxml2.setEntityLoader(myResolver) + +doc = libxml2.parseFile("doesnotexist.xml") +root = doc.children +if root.name != "foo": + print("root element name error") + sys.exit(1) +doc.freeDoc() + +i = 0 +while i < 5000: + doc = libxml2.parseFile("doesnotexist.xml") + root = doc.children + if root.name != "foo": + print("root element name error") + sys.exit(1) + doc.freeDoc() + i = i + 1 + + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/schema.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/schema.py new file mode 100644 index 0000000000000000000000000000000000000000..c73b81aa3adf4b1a5e680c83eaa30a37c969a139 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/schema.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 +import sys + +# Memory debug specific +libxml2.debugMemory(1) + +schema=""" + + + + + + + + + + + +""" + +instance=""" + + Raymond + G + Bayliss + +""" + +ctxt_parser = libxml2.schemaNewMemParserCtxt(schema, len(schema)) +ctxt_schema = ctxt_parser.schemaParse() +ctxt_valid = ctxt_schema.schemaNewValidCtxt() +doc = libxml2.parseDoc(instance) +ret = doc.schemaValidateDoc(ctxt_valid) +if ret != 0: + print("error doing schema validation") + sys.exit(1) + +doc.freeDoc() +del ctxt_parser +del ctxt_schema +del ctxt_valid +libxml2.schemaCleanupTypes() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/serialize.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/serialize.py new file mode 100644 index 0000000000000000000000000000000000000000..4666ec46af33eaf8f5706c5a00206e2e285f6727 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/serialize.py @@ -0,0 +1,150 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +# +# Testing XML document serialization +# +doc = libxml2.parseDoc("""hello""") +str = doc.serialize() +if str != """ +hello +""": + print("error serializing XML document 1") + sys.exit(1) +str = doc.serialize("iso-8859-1") +if str != """ +hello +""": + print("error serializing XML document 2") + sys.exit(1) +str = doc.serialize(format=1) +if str != """ + + hello + +""": + print("error serializing XML document 3") + sys.exit(1) +str = doc.serialize("iso-8859-1", 1) +if str != """ + + hello + +""": + print("error serializing XML document 4") + sys.exit(1) + +# +# Test serializing a subnode +# +root = doc.getRootElement() +str = root.serialize() +if str != """hello""": + print("error serializing XML root 1") + sys.exit(1) +str = root.serialize("iso-8859-1") +if str != """hello""": + print("error serializing XML root 2") + sys.exit(1) +str = root.serialize(format=1) +if str != """ + hello +""": + print("error serializing XML root 3") + sys.exit(1) +str = root.serialize("iso-8859-1", 1) +if str != """ + hello +""": + print("error serializing XML root 4") + sys.exit(1) +doc.freeDoc() + +# +# Testing HTML document serialization +# +doc = libxml2.htmlParseDoc("""Hello

hello""", None) +str = doc.serialize() +if str != """ +Hello

hello

+""": + print("error serializing HTML document 1") + sys.exit(1) +str = doc.serialize("ISO-8859-1") +if str != """ +Hello

hello

+""": + print("error serializing HTML document 2") + sys.exit(1) +str = doc.serialize(format=1) +if str != """ + + + +Hello + +

hello

+ +""": + print("error serializing HTML document 3") + sys.exit(1) +str = doc.serialize("iso-8859-1", 1) +if str != """ + + + +Hello + +

hello

+ +""": + print("error serializing HTML document 4") + sys.exit(1) + +# +# Test serializing a subnode +# +doc.htmlSetMetaEncoding(None) +root = doc.getRootElement() +str = root.serialize() +if str != """Hello

hello

""": + print("error serializing HTML root 1") + sys.exit(1) +str = root.serialize("ISO-8859-1") +if str != """Hello

hello

""": + print("error serializing HTML root 2") + sys.exit(1) +str = root.serialize(format=1) +if str != """ + + +Hello + +

hello

+""": + print("error serializing HTML root 3") + sys.exit(1) +str = root.serialize("iso-8859-1", 1) +if str != """ + + +Hello + +

hello

+""": + print("error serializing HTML root 4") + sys.exit(1) + +doc.freeDoc() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/setup_test.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/setup_test.py new file mode 100644 index 0000000000000000000000000000000000000000..f893e56e321b729628baabc7d460c59d8ebc9c80 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/setup_test.py @@ -0,0 +1,5 @@ +import os +import sys + +if hasattr(os, 'add_dll_directory'): + os.add_dll_directory(os.path.join(os.getcwd(), '..', '..', '.libs')) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/sync.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/sync.py new file mode 100644 index 0000000000000000000000000000000000000000..ffbe5400d3c0e20407af48fec5df5033efcb5da6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/sync.py @@ -0,0 +1,138 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +log = "" + +class callback: + def startDocument(self): + global log + log = log + "startDocument:" + + def endDocument(self): + global log + log = log + "endDocument:" + + def startElement(self, tag, attrs): + global log + log = log + "startElement %s %s:" % (tag, attrs) + + def endElement(self, tag): + global log + log = log + "endElement %s:" % (tag) + + def characters(self, data): + global log + log = log + "characters: %s:" % (data) + + def warning(self, msg): + global log + log = log + "warning: %s:" % (msg) + + def error(self, msg): + global log + log = log + "error: %s:" % (msg) + + def fatalError(self, msg): + global log + log = log + "fatalError: %s:" % (msg) + +handler = callback() + +log="" +chunk="""""" +ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") +ctxt.parseChunk(chunk, len(chunk), 0) +ctxt=None + +reference = "startDocument:startElement foo None:startElement bar2 None:endElement bar2:" +if log != reference: + print("Error got: %s" % log) + print("Expected: %s" % reference) + sys.exit(1) + +log="" +chunk="""""" +ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") +ctxt.parseChunk(chunk, len(chunk), 0) +ctxt=None + +reference = "startDocument:startElement foo None:startElement bar2 None:endElement bar2:" +if log != reference: + print("Error got: %s" % log) + print("Expected: %s" % reference) + sys.exit(1) + +log="" +chunk="""""" +ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") +ctxt.parseChunk(chunk, len(chunk), 0) +ctxt=None + +reference = "startDocument:startElement foo None:startElement bar2 None:" +if log != reference: + print("Error got: %s" % log) + print("Expected: %s" % reference) + sys.exit(1) + +log="" +chunk="""""" +ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") +ctxt.parseChunk(chunk, len(chunk), 0) +ctxt=None + +reference1 = "startDocument:startElement foo None:startElement bar2 {'a': '1', 'b': '2'}:endElement bar2:" +reference2 = "startDocument:startElement foo None:startElement bar2 {'b': '2', 'a': '1'}:endElement bar2:" +if log not in (reference1, reference2): + print("Error got: %s" % log) + print("Expected: %s" % reference) + sys.exit(1) + +log="" +chunk="""""" +ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") +ctxt.parseChunk(chunk, len(chunk), 0) +ctxt=None + +reference1 = "startDocument:startElement foo None:startElement bar2 {'a': '1', 'b': '2'}:" +reference2 = "startDocument:startElement foo None:startElement bar2 {'b': '2', 'a': '1'}:" +if log not in (reference1, reference2): + print("Error got: %s" % log) + print("Expected: %s" % reference) + sys.exit(1) + +log="" +chunk="""""" +ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") +ctxt.parseChunk(chunk, len(chunk), 0) +ctxt=None + +reference1 = "startDocument:startElement foo None:startElement bar2 {'a': '1', 'b': '2'}:endElement bar2:" +reference2 = "startDocument:startElement foo None:startElement bar2 {'b': '2', 'a': '1'}:endElement bar2:" +if log not in (reference1, reference2): + print("Error got: %s" % log) + print("Expected: %s" % reference) + sys.exit(1) + +log="" +chunk=""" diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/thread2.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/thread2.py new file mode 100644 index 0000000000000000000000000000000000000000..d7db2b94d2fe830b45ef40c8d0056625fa76e252 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/thread2.py @@ -0,0 +1,105 @@ +#!/usr/bin/env python3 +import string, sys, time +try: + from _thread import get_ident +except: + from thread import get_ident +from threading import Thread, Lock + +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +THREADS_COUNT = 15 + +failed = 0 + +class ErrorHandler: + + def __init__(self): + self.errors = [] + self.lock = Lock() + + def handler(self,ctx,str): + self.lock.acquire() + self.errors.append(str) + self.lock.release() + +def getLineNumbersDefault(): + old = libxml2.lineNumbersDefault(0) + libxml2.lineNumbersDefault(old) + return old + +def test(expectedLineNumbersDefault): + time.sleep(1) + global failed + # check a per thread-global + if expectedLineNumbersDefault != getLineNumbersDefault(): + failed = 1 + print("FAILED to obtain correct value for " \ + "lineNumbersDefault in thread %d" % get_ident()) + # check the global error handler + # (which is NOT per-thread in the python bindings) + try: + doc = libxml2.parseFile("bad.xml") + except: + pass + else: + assert "failed" + +# global error handler +eh = ErrorHandler() +libxml2.registerErrorHandler(eh.handler,"") + +# set on the main thread only +libxml2.lineNumbersDefault(1) +test(1) +ec = len(eh.errors) +if ec == 0: + print("FAILED: should have obtained errors") + sys.exit(1) + +ts = [] +for i in range(THREADS_COUNT): + # expect 0 for lineNumbersDefault because + # the new value has been set on the main thread only + ts.append(Thread(target=test,args=(0,))) +for t in ts: + t.start() +for t in ts: + t.join() + +if len(eh.errors) != ec+THREADS_COUNT*ec: + print("FAILED: did not obtain the correct number of errors") + sys.exit(1) + +# set lineNumbersDefault for future new threads +libxml2.thrDefLineNumbersDefaultValue(1) +ts = [] +for i in range(THREADS_COUNT): + # expect 1 for lineNumbersDefault + ts.append(Thread(target=test,args=(1,))) +for t in ts: + t.start() +for t in ts: + t.join() + +if len(eh.errors) != ec+THREADS_COUNT*ec*2: + print("FAILED: did not obtain the correct number of errors") + sys.exit(1) + +if failed: + print("FAILED") + sys.exit(1) + +# Memory debug specific +libxml2.cleanupParser() +# Note that this can leak memory on Windows if the global state +# destructors weren't run yet. They should be called eventually, +# so this leak should be harmless. +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/tst.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tst.py new file mode 100644 index 0000000000000000000000000000000000000000..ba624b310729b0cb64b9cd8d3adf85db60dfe978 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tst.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +doc = libxml2.parseFile("tst.xml") +if doc.name != "tst.xml": + print("doc.name failed") + sys.exit(1) +root = doc.children +if root.name != "doc": + print("root.name failed") + sys.exit(1) +child = root.children +if child.name != "foo": + print("child.name failed") + sys.exit(1) +doc.freeDoc() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/tst.xml b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tst.xml new file mode 100644 index 0000000000000000000000000000000000000000..751d46d86f932773b3b0ec9227d621c52254d5e0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tst.xml @@ -0,0 +1 @@ +bar diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstLastError.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstLastError.py new file mode 100644 index 0000000000000000000000000000000000000000..a079995011b27c24b01efc718b803f2367d091a6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstLastError.py @@ -0,0 +1,85 @@ +#!/usr/bin/env python3 +import sys, unittest + +import setup_test +import libxml2 + +class TestCase(unittest.TestCase): + + def runTest(self): + self.test1() + self.test2() + + def setUp(self): + libxml2.debugMemory(1) + + def tearDown(self): + libxml2.cleanupParser() + if libxml2.debugMemory(1) != 0: + self.fail("Memory leak %d bytes" % (libxml2.debugMemory(1),)) + else: + print("OK") + + def failUnlessXmlError(self,f,args,exc,domain,code,message,level,file,line): + """Run function f, with arguments args and expect an exception exc; + when the exception is raised, check the libxml2.lastError for + expected values.""" + # disable the default error handler + def noerr(ctx, str): + pass + # None is not acceptable as function. + libxml2.registerErrorHandler(noerr,None) + try: + f(*args) + except exc: + e = libxml2.lastError() + if e is None: + self.fail("lastError not set") + if 0: + print("domain = ",e.domain()) + print("code = ",e.code()) + print("message =",repr(e.message())) + print("level =",e.level()) + print("file =",e.file()) + print("line =",e.line()) + print() + self.assertEqual(domain,e.domain()) + self.assertEqual(code,e.code()) + self.assertEqual(message,e.message()) + self.assertEqual(level,e.level()) + self.assertEqual(file,e.file()) + self.assertEqual(line,e.line()) + else: + self.fail("exception %s should have been raised" % exc) + + def test1(self): + """Test readFile with a file that does not exist""" + self.failUnlessXmlError(libxml2.readFile, + ("dummy.xml",None,0), + libxml2.treeError, + domain=libxml2.XML_FROM_IO, + code=libxml2.XML_IO_ENOENT, + message='failed to load "dummy.xml": No such file or directory\n', + level=libxml2.XML_ERR_WARNING, + file=None, + line=0) + + def test2(self): + """Test a well-formedness error: we get the last error only""" + s = "\n\n" + self.failUnlessXmlError(libxml2.readMemory, + (s,len(s),"dummy.xml",None,0), + libxml2.treeError, + domain=libxml2.XML_FROM_PARSER, + code=libxml2.XML_ERR_TAG_NAME_MISMATCH, + message='Opening and ending tag mismatch: a line 2 and x\n', + level=libxml2.XML_ERR_FATAL, + file='dummy.xml', + line=3) + +if __name__ == "__main__": + test = TestCase() + test.setUp() + test.test1() + test.test2() + test.tearDown() diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstURI.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstURI.py new file mode 100644 index 0000000000000000000000000000000000000000..0b1bcbc96b26bac656cbcc998df30d76666cd6ad --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstURI.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +uri = libxml2.parseURI("http://example.org:8088/foo/bar?query=simple#fragid") +if uri.scheme() != 'http': + print("Error parsing URI: wrong scheme") + sys.exit(1) +if uri.server() != 'example.org': + print("Error parsing URI: wrong server") + sys.exit(1) +if uri.port() != 8088: + print("Error parsing URI: wrong port") + sys.exit(1) +if uri.path() != '/foo/bar': + print("Error parsing URI: wrong path") + sys.exit(1) +if uri.query() != 'query=simple': + print("Error parsing URI: wrong query") + sys.exit(1) +if uri.fragment() != 'fragid': + print("Error parsing URI: wrong query") + sys.exit(1) +uri.setScheme("https") +uri.setPort(223) +uri.setFragment(None) +result=uri.saveUri() +if result != "https://example.org:223/foo/bar?query=simple": + print("Error modifying or saving the URI") +uri = None + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstmem.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstmem.py new file mode 100644 index 0000000000000000000000000000000000000000..eca07549535c6f256b20da35768b8908933e4048 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstmem.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 + +try: + import libxml2mod +except ModuleNotFoundError: + from libxmlmods import libxml2mod + +import sys + +def error(msg, data): + pass + +# Memory debug specific +libxml2.debugMemory(1) + +dtd="""""" +instance=""" +""" + +dtd = libxml2.parseDTD(None, 'test.dtd') +ctxt = libxml2.newValidCtxt() +libxml2mod.xmlSetValidErrors(ctxt._o, error, error) +doc = libxml2.parseDoc(instance) +ret = doc.validateDtd(ctxt, dtd) +if ret != 1: + print("error doing DTD validation") + sys.exit(1) + +doc.freeDoc() +dtd.freeDtd() +del dtd +del ctxt + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstxpath.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstxpath.py new file mode 100644 index 0000000000000000000000000000000000000000..d429f54c104d503ebd12e91fedaeb62bf9a59eeb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/tstxpath.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +#memory debug specific +libxml2.debugMemory(1) + +called = "" + +def foo(ctx, x): + global called + + # + # test that access to the XPath evaluation contexts + # + pctxt = libxml2.xpathParserContext(_obj=ctx) + ctxt = pctxt.context() + called = ctxt.function() + return x + 1 + +def bar(ctxt, x): + return "%d" % (x + 2) + +doc = libxml2.parseFile("tst.xml") +ctxt = doc.xpathNewContext() +res = ctxt.xpathEval("//*") +if len(res) != 2: + print("xpath query: wrong node set size") + sys.exit(1) +if res[0].name != "doc" or res[1].name != "foo": + print("xpath query: wrong node set value") + sys.exit(1) +libxml2.registerXPathFunction(ctxt._o, "foo", None, foo) +libxml2.registerXPathFunction(ctxt._o, "bar", None, bar) +i = 10000 +while i > 0: + res = ctxt.xpathEval("foo(1)") + if res != 2: + print("xpath extension failure") + sys.exit(1) + i = i - 1 +i = 10000 +while i > 0: + res = ctxt.xpathEval("bar(1)") + if res != "3": + print("xpath extension failure got %s expecting '3'") + sys.exit(1) + i = i - 1 +doc.freeDoc() +ctxt.xpathFreeContext() + +if called != "foo": + print("xpath function: failed to access the context") + print("xpath function: %s" % (called)) + sys.exit(1) + +#memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/valid.xml b/local-test-libxml2-delta-02/afc-libxml2/python/tests/valid.xml new file mode 100644 index 0000000000000000000000000000000000000000..8a7f679fce7dabb8a996dd9c322afd368041d737 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/valid.xml @@ -0,0 +1,4 @@ + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/validDTD.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/validDTD.py new file mode 100644 index 0000000000000000000000000000000000000000..b1183266b6a55de4ce772c22e237a4b059304c8f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/validDTD.py @@ -0,0 +1,59 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 +import sys + +ARG = 'test string' + +class ErrorHandler: + + def __init__(self): + self.errors = [] + + def handler(self, msg, data): + if data != ARG: + raise Exception("Error handler did not receive correct argument") + self.errors.append(msg) + + +# Memory debug specific +libxml2.debugMemory(1) + +dtd="""""" +valid=""" +""" + +invalid=""" +""" + +dtd = libxml2.parseDTD(None, 'test.dtd') +ctxt = libxml2.newValidCtxt() +e = ErrorHandler() +ctxt.setValidityErrorHandler(e.handler, e.handler, ARG) + +# Test valid document +doc = libxml2.parseDoc(valid) +ret = doc.validateDtd(ctxt, dtd) +if ret != 1 or e.errors: + print("error doing DTD validation") + sys.exit(1) +doc.freeDoc() + +# Test invalid document +doc = libxml2.parseDoc(invalid) +ret = doc.validateDtd(ctxt, dtd) +if ret != 0 or not e.errors: + print("Error: document supposed to be invalid") +doc.freeDoc() + +dtd.freeDtd() +del dtd +del ctxt + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/validRNG.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/validRNG.py new file mode 100644 index 0000000000000000000000000000000000000000..bcc729f3a4bbf7c8a4a3e9ee57fcd45acfb270b6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/validRNG.py @@ -0,0 +1,76 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 +import sys + +ARG = 'test string' + +class ErrorHandler: + + def __init__(self): + self.errors = [] + + def handler(self, msg, data): + if data != ARG: + raise Exception("Error handler did not receive correct argument") + self.errors.append(msg) + +# Memory debug specific +libxml2.debugMemory(1) + +schema=""" + + A foo element. + + + + + + + +""" + +valid=""" +""" + +invalid=""" +bad""" + +rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema)) +rngs = rngp.relaxNGParse() +ctxt = rngs.relaxNGNewValidCtxt() +e = ErrorHandler() +ctxt.setValidityErrorHandler(e.handler, e.handler, ARG) + +# Test valid document +doc = libxml2.parseDoc(valid) +ret = doc.relaxNGValidateDoc(ctxt) +if ret != 0 or e.errors: + print("error doing RelaxNG validation") + sys.exit(1) +doc.freeDoc() + +# Test invalid document +doc = libxml2.parseDoc(invalid) +ret = doc.relaxNGValidateDoc(ctxt) +if ret == 0 or not e.errors: + print("Error: document supposed to be RelaxNG invalid") + sys.exit(1) +doc.freeDoc() + +del rngp +del rngs +del ctxt +libxml2.relaxNGCleanupTypes() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/validSchemas.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/validSchemas.py new file mode 100644 index 0000000000000000000000000000000000000000..9e642105c8bb7e8526b4dc2caaf026b34dba771a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/validSchemas.py @@ -0,0 +1,83 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 +import sys + +ARG = 'test string' + +class ErrorHandler: + + def __init__(self): + self.errors = [] + + def handler(self, msg, data): + if data != ARG: + raise Exception("Error handler did not receive correct argument") + self.errors.append(msg) + +# Memory debug specific +libxml2.debugMemory(1) + +schema=""" + + + + + + + + + + + +""" + +valid=""" + + Raymond + G + Bayliss + +""" + +invalid=""" + + G + Bayliss + +""" + +e = ErrorHandler() +ctxt_parser = libxml2.schemaNewMemParserCtxt(schema, len(schema)) +ctxt_schema = ctxt_parser.schemaParse() +ctxt_valid = ctxt_schema.schemaNewValidCtxt() +ctxt_valid.setValidityErrorHandler(e.handler, e.handler, ARG) + +# Test valid document +doc = libxml2.parseDoc(valid) +ret = doc.schemaValidateDoc(ctxt_valid) +if ret != 0 or e.errors: + print("error doing schema validation") + sys.exit(1) +doc.freeDoc() + +# Test invalid document +doc = libxml2.parseDoc(invalid) +ret = doc.schemaValidateDoc(ctxt_valid) +if ret == 0 or not e.errors: + print("Error: document supposer to be schema invalid") + sys.exit(1) +doc.freeDoc() + +del ctxt_parser +del ctxt_schema +del ctxt_valid +libxml2.schemaCleanupTypes() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) + diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/validate.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/validate.py new file mode 100644 index 0000000000000000000000000000000000000000..4ffe8a2f8f31535419fce5d5e443a0994d4b91bb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/validate.py @@ -0,0 +1,82 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +ctxt = libxml2.createFileParserCtxt("valid.xml") +ctxt.validate(1) +ctxt.parseDocument() +doc = ctxt.doc() +valid = ctxt.isValid() + +if doc.name != "valid.xml": + print("doc.name failed") + sys.exit(1) +root = doc.children +if root.name != "doc": + print("root.name failed") + sys.exit(1) +if valid != 1: + print("validity check failed") + sys.exit(1) +doc.freeDoc() + +i = 1000 +while i > 0: + ctxt = libxml2.createFileParserCtxt("valid.xml") + ctxt.validate(1) + ctxt.parseDocument() + doc = ctxt.doc() + valid = ctxt.isValid() + doc.freeDoc() + if valid != 1: + print("validity check failed") + sys.exit(1) + i = i - 1 + +#deactivate error messages from the validation +def noerr(ctx, str): + pass + +libxml2.registerErrorHandler(noerr, None) + +ctxt = libxml2.createFileParserCtxt("invalid.xml") +ctxt.validate(1) +ctxt.parseDocument() +doc = ctxt.doc() +valid = ctxt.isValid() +if doc.name != "invalid.xml": + print("doc.name failed") + sys.exit(1) +root = doc.children +if root.name != "doc": + print("root.name failed") + sys.exit(1) +if valid != 0: + print("validity check failed") + sys.exit(1) +doc.freeDoc() + +i = 1000 +while i > 0: + ctxt = libxml2.createFileParserCtxt("invalid.xml") + ctxt.validate(1) + ctxt.parseDocument() + doc = ctxt.doc() + valid = ctxt.isValid() + doc.freeDoc() + if valid != 0: + print("validity check failed") + sys.exit(1) + i = i - 1 +del ctxt + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/walker.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/walker.py new file mode 100644 index 0000000000000000000000000000000000000000..b1af875f2734998c9389ebef5e85f6096a30e319 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/walker.py @@ -0,0 +1,144 @@ +#!/usr/bin/env python3 +# +# this tests the entities substitutions with the XmlTextReader interface +# +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +result = "" +def processNode(reader): + global result + + result = result + "%d %d %s %d\n" % (reader.Depth(), reader.NodeType(), + reader.Name(), reader.IsEmptyElement()) + +# +# Parse a document testing the readerForxxx API +# +docstr=""" + +100 +""" +expect="""0 1 foo 0 +1 14 #text 0 +1 1 label 0 +2 3 #text 0 +1 15 label 0 +1 14 #text 0 +1 1 item 0 +2 3 #text 0 +1 15 item 0 +1 14 #text 0 +0 15 foo 0 +""" +result = "" + +doc = libxml2.parseDoc(docstr) +reader = doc.readerWalker(); +ret = reader.Read() +while ret == 1: + processNode(reader) + ret = reader.Read() + +if ret != 0: + print("Error parsing the document test1") + sys.exit(1) + +if result != expect: + print("Unexpected result for test1") + print(result) + sys.exit(1) + +doc.freeDoc() + +# +# Reuse the reader for another document testing the ReaderNewWalker API +# +docstr=""" + +1000 +""" +expect="""0 1 foo 0 +1 14 #text 0 +1 1 label 0 +2 3 #text 0 +1 15 label 0 +1 14 #text 0 +1 1 item 0 +2 3 #text 0 +1 15 item 0 +1 14 #text 0 +0 15 foo 0 +""" +result = "" + +doc = libxml2.parseDoc(docstr) +reader.NewWalker(doc) + +ret = reader.Read() +while ret == 1: + processNode(reader) + ret = reader.Read() + +if ret != 0: + print("Error parsing the document test2") + sys.exit(1) + +if result != expect: + print("Unexpected result for test2") + print(result) + sys.exit(1) + +doc.freeDoc() + +# +# Reuse the reader for another document testing the ReaderNewxxx API +# +docstr=""" + +1000 +""" +expect="""0 1 foo 0 +1 14 #text 0 +1 1 label 0 +2 3 #text 0 +1 15 label 0 +1 14 #text 0 +1 1 item 0 +2 3 #text 0 +1 15 item 0 +1 14 #text 0 +0 15 foo 0 +""" +result = "" + +reader.NewDoc(docstr, "test3", None, 0) +ret = reader.Read() +while ret == 1: + processNode(reader) + ret = reader.Read() + +if ret != 0: + print("Error parsing the document test3") + sys.exit(1) + +if result != expect: + print("Unexpected result for test3") + print(result) + sys.exit(1) + +# +# cleanup +# +del reader + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpath.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpath.py new file mode 100644 index 0000000000000000000000000000000000000000..ae14486062f3580dfd615161f55a72d935fb78f9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpath.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python3 +# +# this test exercise the XPath basic engine, parser, etc, and +# allows to detect memory leaks +# +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +doc = libxml2.parseFile("tst.xml") +if doc.name != "tst.xml": + print("doc.name error") + sys.exit(1); + +ctxt = doc.xpathNewContext() +res = ctxt.xpathEval("//*") +if len(res) != 2: + print("xpath query: wrong node set size") + sys.exit(1) +if res[0].name != "doc" or res[1].name != "foo": + print("xpath query: wrong node set value") + sys.exit(1) +ctxt.setContextNode(res[0]) +res = ctxt.xpathEval("foo") +if len(res) != 1: + print("xpath query: wrong node set size") + sys.exit(1) +if res[0].name != "foo": + print("xpath query: wrong node set value") + sys.exit(1) +doc.freeDoc() +ctxt.xpathFreeContext() +i = 1000 +while i > 0: + doc = libxml2.parseFile("tst.xml") + ctxt = doc.xpathNewContext() + res = ctxt.xpathEval("//*") + doc.freeDoc() + ctxt.xpathFreeContext() + i = i -1 +del ctxt + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathext.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathext.py new file mode 100644 index 0000000000000000000000000000000000000000..4eb8313415daa18eb4e5d38415e68faa27b29dd3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathext.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +# Memory debug specific +libxml2.debugMemory(1) + +def foo(ctx, x): + return x + 1 + +def bar(ctx, x): + return "%d" % (x + 2) + +doc = libxml2.parseFile("tst.xml") +ctxt = doc.xpathNewContext() +res = ctxt.xpathEval("//*") +if len(res) != 2: + print("xpath query: wrong node set size") + sys.exit(1) +if res[0].name != "doc" or res[1].name != "foo": + print("xpath query: wrong node set value") + sys.exit(1) + +libxml2.registerXPathFunction(ctxt._o, "foo", None, foo) +libxml2.registerXPathFunction(ctxt._o, "bar", None, bar) +i = 10000 +while i > 0: + res = ctxt.xpathEval("foo(1)") + if res != 2: + print("xpath extension failure") + sys.exit(1) + i = i - 1 +i = 10000 +while i > 0: + res = ctxt.xpathEval("bar(1)") + if res != "3": + print("xpath extension failure got %s expecting '3'") + sys.exit(1) + i = i - 1 +doc.freeDoc() +ctxt.xpathFreeContext() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathleak.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathleak.py new file mode 100644 index 0000000000000000000000000000000000000000..87345617ea78d6189d3f5e8020f2534ddb360fda --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathleak.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python3 +import setup_test +import libxml2 +import sys + +libxml2.debugMemory(True) + +expect="""--> Invalid expression +--> Invalid expression +--> Invalid expression +--> Invalid expression +--> Invalid expression +--> Invalid expression +--> Invalid expression +--> Invalid expression +--> Invalid expression +--> Invalid expression +""" +err="" +def callback(ctx, str): + global err + + err = err + "%s %s" % (ctx, str) + +libxml2.registerErrorHandler(callback, "-->") + +doc = libxml2.parseDoc("") +ctxt = doc.xpathNewContext() +ctxt.setContextNode(doc) +badexprs = ( + ":false()", "bad:()", "bad(:)", ":bad(:)", "bad:(:)", "bad:bad(:)", + "a:/b", "/c:/d", "//e:/f", "g://h" + ) +for expr in badexprs: + try: + ctxt.xpathEval(expr) + except libxml2.xpathError: + pass + else: + print("Unexpectedly legal expression:", expr) +ctxt.xpathFreeContext() +doc.freeDoc() + +if err != expect: + print("error") + print("received %s" %(err)) + print("expected %s" %(expect)) + sys.exit(1) + +libxml2.cleanupParser() +leakedbytes = libxml2.debugMemory(True) +if leakedbytes == 0: + print("OK") +else: + print("Memory leak", leakedbytes, "bytes") diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathns.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathns.py new file mode 100644 index 0000000000000000000000000000000000000000..4567fcf6f5579ea1d3ae6b0f787360fb00fe828a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathns.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python3 +# +import setup_test +import libxml2 + +expect=' xmlns:a="urn:whatevar"' + +# Memory debug specific +libxml2.debugMemory(1) + +d = libxml2.parseDoc("") +res="" +for n in d.xpathEval("//namespace::*"): + res = res + n.serialize() +del n +d.freeDoc() + +if res != expect: + print("test5 failed: unexpected output") + print(res) +del res +del d +# Memory debug specific +libxml2.cleanupParser() + +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathret.py b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathret.py new file mode 100644 index 0000000000000000000000000000000000000000..76d5cb7707f48deac294b0653443b7f7ead7a3bf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/python/tests/xpathret.py @@ -0,0 +1,57 @@ +#!/usr/bin/env python3 +import sys +import setup_test +import libxml2 + +#memory debug specific +libxml2.debugMemory(1) + +# +# A document hosting the nodes returned from the extension function +# +mydoc = libxml2.newDoc("1.0") + +def foo(ctx, str): + global mydoc + + # + # test returning a node set works as expected + # + parent = mydoc.newDocNode(None, 'p', None) + mydoc.addChild(parent) + node = mydoc.newDocText(str) + parent.addChild(node) + return [parent] + +doc = libxml2.parseFile("tst.xml") +ctxt = doc.xpathNewContext() +libxml2.registerXPathFunction(ctxt._o, "foo", None, foo) +res = ctxt.xpathEval("foo('hello')") +if type(res) != type([]): + print("Failed to return a nodeset") + sys.exit(1) +if len(res) != 1: + print("Unexpected nodeset size") + sys.exit(1) +node = res[0] +if node.name != 'p': + print("Unexpected nodeset element result") + sys.exit(1) +node = node.children +if node.type != 'text': + print("Unexpected nodeset element children type") + sys.exit(1) +if node.content != 'hello': + print("Unexpected nodeset element children content") + sys.exit(1) + +doc.freeDoc() +mydoc.freeDoc() +ctxt.xpathFreeContext() + +#memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print("OK") +else: + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/53867.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/53867.html new file mode 100644 index 0000000000000000000000000000000000000000..f4902af9ad6655d9042663623d22153356c142fd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/53867.html @@ -0,0 +1,70 @@ + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/53867.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/53867.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..eac4906962b930ba3a2f59732bca36487d449db3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/53867.html.sax @@ -0,0 +1,22 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(style) +SAX.cdata( +....... +....................., 3977) +SAX.endElement(style) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-entity.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-entity.html new file mode 100644 index 0000000000000000000000000000000000000000..0f66150325105bc56960a054617f7c74d9526c7e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-entity.html @@ -0,0 +1,2 @@ + +

&jÙ

diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-entity.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-entity.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..3f8e8bd131fd5354d09a4ce59471bbac932a8fb8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-entity.html.sax @@ -0,0 +1,10 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.startElement(body) +SAX.startElement(p) +SAX.characters(&jÙ, 4) +SAX.endElement(p) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-tag.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-tag.html new file mode 100644 index 0000000000000000000000000000000000000000..aa0ad3420c5993ccc48e90279391bb4814250c31 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-tag.html @@ -0,0 +1,2 @@ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-tag.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-tag.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..d94eb193f8ecef2e42d12e257f057afead141967 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758518-tag.html.sax @@ -0,0 +1,4 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.comment(?a“) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758605.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758605.html new file mode 100644 index 0000000000000000000000000000000000000000..ce5cbe504cf63bf7fce9728b1687fbffe84a256a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758605.html @@ -0,0 +1,3 @@ + +

&:ê +

diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758605.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758605.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..ac2bc2085305e924a6d64ba4566976ed4efbbaa5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758605.html.sax @@ -0,0 +1,11 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.startElement(body) +SAX.startElement(p) +SAX.characters(&:ê +, 5) +SAX.endElement(p) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606.html new file mode 100644 index 0000000000000000000000000000000000000000..d5f2457bd557aa191f106e687357fccf05c76f3a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606.html @@ -0,0 +1,3 @@ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..01cc43d2b4d1e772b9ee4dc62a7c5fc9006b4ba7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606.html.sax @@ -0,0 +1,5 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.comment( + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606_2.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606_2.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..5883bc2fa616d0fa1c7ebc25c7a180918079aeb6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/758606_2.html.sax @@ -0,0 +1,5 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.comment( ‘ + + + This service is temporary down + + + +

Sorry, this service is temporary down

+We are doing our best to get it back on-line, + +

The W3C system administrators

+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/Down.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/Down.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..ae3c0560be46eff1ea99869062159f20f44c0817 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/Down.html.sax @@ -0,0 +1,37 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( + , 3) +SAX.startElement(title) +SAX.characters(This service is temporary down, 30) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( + +, 2) +SAX.startElement(body, bgcolor='#FFFFFF') +SAX.characters( +, 1) +SAX.startElement(h1, align='center') +SAX.characters(Sorry, this service is tempora, 37) +SAX.endElement(h1) +SAX.characters( +We are doing our best to get , 48) +SAX.startElement(p) +SAX.characters(The W3C system administrators, 29) +SAX.endElement(p) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attr-ents.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attr-ents.html new file mode 100644 index 0000000000000000000000000000000000000000..a88fe1d9cd78d80df022e93f0e03c5e0323b2aeb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attr-ents.html @@ -0,0 +1,8 @@ + + + +
link +link +link + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attr-ents.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attr-ents.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..447df7a840eaf48d9c83c5bcb7eb961b6ae593cd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attr-ents.html.sax @@ -0,0 +1,30 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(a, href='index.cgi?a&lt=1&gt=2') +SAX.characters(link, 4) +SAX.endElement(a) +SAX.characters( +, 1) +SAX.startElement(a, href='index.cgi?a&lta&gta') +SAX.characters(link, 4) +SAX.endElement(a) +SAX.characters( +, 1) +SAX.startElement(a, href='index.cgi?a<>') +SAX.characters(link, 4) +SAX.endElement(a) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attrents.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attrents.html new file mode 100644 index 0000000000000000000000000000000000000000..e71255f10f2e68dc4a18138e681d0d6663b3bdad --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attrents.html @@ -0,0 +1,6 @@ + + + +
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attrents.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attrents.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..ab60144d63a9fa17b7903bc9059672b997a5c88a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/attrents.html.sax @@ -0,0 +1,21 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(body, bgcolor='#FFFFFF') +SAX.characters( + , 17) +SAX.startElement(a, href='mailto:katherine@cbfanc.org,website@bis.doc.gov?subject=South San Francisco BIS Seminar - October 16th') +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose.html new file mode 100644 index 0000000000000000000000000000000000000000..cacf4ed874fd8d79ea7b1ea4ac98554f9a14ea5c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose.html @@ -0,0 +1,4 @@ + + +
+ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..c541c5eb40c65a7c07b51f0b9969ce6473800c02 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose.html.sax @@ -0,0 +1,11 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.startElement(body) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose2.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose2.html new file mode 100644 index 0000000000000000000000000000000000000000..1ac8f997b81547b9d55b4583e6f5dbdf92b1bfa3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose2.html @@ -0,0 +1,3 @@ + +

toto +

diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose2.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose2.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..d1e6abbe50016a07534b978c7f9701dd12094251 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose2.html.sax @@ -0,0 +1,11 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.startElement(body) +SAX.startElement(p) +SAX.characters(toto +, 5) +SAX.endElement(p) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose3.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose3.html new file mode 100644 index 0000000000000000000000000000000000000000..13461aaf9b09e4219a02afff481ea59e3d0db5bc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose3.html @@ -0,0 +1,7 @@ + +
    +
  • item 1 +
  • +
  • item 2 +
  • +
diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose3.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose3.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..25e06eadb085aa92bd147a4f14703581c3b9c4ca --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/autoclose3.html.sax @@ -0,0 +1,19 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.startElement(body) +SAX.startElement(ul) +SAX.characters( +, 1) +SAX.startElement(li) +SAX.characters(item 1 +, 7) +SAX.endElement(li) +SAX.startElement(li) +SAX.characters(item 2 +, 7) +SAX.endElement(li) +SAX.endElement(ul) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/cf_128.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/cf_128.html new file mode 100644 index 0000000000000000000000000000000000000000..e2261ea5b6aa8b29401f230c538abe6fe7d97026 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/cf_128.html @@ -0,0 +1,24 @@ + + + +gnome-xml push mode bug + + + + + + + + +
+ Foo1 + + + + +
Foo2

+

+
+
Foo3
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/cf_128.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/cf_128.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..3913ebd307afb63072f71d2205ca23d969323062 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/cf_128.html.sax @@ -0,0 +1,69 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, http://www.w3.org/TR/REC-html40/strict.dtd) +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(gnome-xml push mode bug, 23) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( + +, 2) +SAX.startElement(table, border='4') +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='white') +SAX.characters( + Foo1 + , 8) +SAX.startElement(table, border='4') +SAX.characters( + , 4) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td) +SAX.characters(Foo2, 4) +SAX.startElement(p) +SAX.endElement(p) +SAX.startElement(p) +SAX.endElement(p) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(table) +SAX.characters( + , 5) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='blue') +SAX.characters(Foo3, 4) +SAX.endElement(td) +SAX.characters( + , 4) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.endElement(table) +SAX.characters( + , 3) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 3) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chardata.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chardata.html new file mode 100644 index 0000000000000000000000000000000000000000..283b7a3e9640140176d77cfd149262e0c296da40 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chardata.html @@ -0,0 +1,32 @@ + + + + &</head>& + + + + & + + & + &</body>& + & + &</body>& + & + + & + &</body>& + & + + & + + & + + & + + & + + & + + & + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chardata.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chardata.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..0c611b1a8b510d576a1219bf0e09ba230de46da6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chardata.html.sax @@ -0,0 +1,126 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( + , 5) +SAX.startElement(head) +SAX.characters( + , 9) +SAX.startElement(title) +SAX.characters(&, 1) +SAX.characters(</head>, 7) +SAX.characters(&, 1) +SAX.endElement(title) +SAX.characters( + , 5) +SAX.endElement(head) +SAX.characters( + , 5) +SAX.startElement(body) +SAX.characters( + , 9) +SAX.startElement(textarea) +SAX.characters(&, 1) +SAX.characters(</body>, 7) +SAX.characters(&, 1) +SAX.endElement(textarea) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(iframe) +SAX.cdata(&</body>&, 9) +SAX.endElement(iframe) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(noembed) +SAX.cdata(&</body>&, 9) +SAX.endElement(noembed) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(noframes) +SAX.cdata(&</body>&, 9) +SAX.endElement(noframes) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(style) +SAX.cdata(&</body>&, 9) +SAX.endElement(style) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(xmp) +SAX.cdata(&</body>&, 9) +SAX.endElement(xmp) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(script) +SAX.cdata(&<script>&, 10) +SAX.endElement(script) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(script) +SAX.cdata(&<!--&, 6) +SAX.endElement(script) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(script) +SAX.cdata(&<!--&-->&, 19) +SAX.endElement(script) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(script) +SAX.cdata(&<!--&-->&, 10) +SAX.endElement(script) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(script) +SAX.cdata(&<!--&<script, 29) +SAX.endElement(script) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 9) +SAX.startElement(script) +SAX.cdata(&<!--&<script, 48) +SAX.endElement(script) +SAX.characters( + , 9) +SAX.characters(&, 1) +SAX.characters( + , 5) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chunked_attr.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chunked_attr.html new file mode 100644 index 0000000000000000000000000000000000000000..2fd71a6e3b6c45907193a6238561b67932868864 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chunked_attr.html @@ -0,0 +1,46 @@ + + + + +

+Filler bytes follow: + + 100 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 200 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 300 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 400 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 500 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 600 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 700 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 800 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 900 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 1000 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 100 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 200 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 300 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 400 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 500 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 600 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 700 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 800 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 900 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 2000 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 100 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 200 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 300 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 400 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 500 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 600 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 700 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 + 800 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 +xxx +

+
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chunked_attr.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chunked_attr.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..537de7badfb6e824c3282d8df4efe4c41109460f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/chunked_attr.html.sax @@ -0,0 +1,37 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.comment( +This tests internal state tracking of the push parser and assumes a chunk +size of 4096 (or a divisor of 4096) and an initial chunk of size 4. +Make sure that the first '<' in the attribute value ends up near +offset 4100. +) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( +Filler bytes follow: + + 1, 2827) +SAX.endElement(p) +SAX.characters( +, 1) +SAX.startElement(div, fill1='123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789', onmouseover='x<b>text</b>x', fill2='123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789', fill3='123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789', fill4='123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789', fill5='123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789', fill6='123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789') +SAX.characters( +, 1) +SAX.endElement(div) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments.html new file mode 100644 index 0000000000000000000000000000000000000000..973050ceace80501dddc3e8ff41b95133a4465d9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments.html @@ -0,0 +1,15 @@ + + + +
+

+ + Incorrectly closed comment + +

+
+ whatwg guidance is that this should be a DOM node +
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..011c6dc09286ec7de2a4741212aa20ebc127f0e1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments.html.sax @@ -0,0 +1,46 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( + , 3) +SAX.startElement(body) +SAX.characters( + , 5) +SAX.startElement(div) +SAX.characters( + , 7) +SAX.startElement(h3) +SAX.characters( + , 9) +SAX.startElement(a, href='https://html.spec.whatwg.org/multipage/parsing.html#parse-error-incorrectly-closed-comment') +SAX.characters( + Incorrectly closed , 46) +SAX.endElement(a) +SAX.characters( + , 7) +SAX.endElement(h3) +SAX.characters( + , 7) +SAX.startElement(div) +SAX.characters( + , 9) +SAX.comment(incorrectly closed comment) +SAX.startElement(span, id='under-test') +SAX.characters(whatwg guidance is that this s, 49) +SAX.endElement(span) +SAX.comment(correctly closed comment) +SAX.characters( + , 7) +SAX.endElement(div) +SAX.characters( + , 5) +SAX.endElement(div) +SAX.characters( + , 3) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments2.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments2.html new file mode 100644 index 0000000000000000000000000000000000000000..eb077ac2e5d99d18711389856cf4c8bd5d08e7ed --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments2.html @@ -0,0 +1,15 @@ + + + +
+

+ + Incorrectly closed comment without a correctly closed comment + +

+
+ whatwg guidance is that this should be a DOM node +
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments2.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments2.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..4958a4f136b118117af12076bbe63cc82f239e49 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments2.html.sax @@ -0,0 +1,45 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( + , 3) +SAX.startElement(body) +SAX.characters( + , 5) +SAX.startElement(div) +SAX.characters( + , 7) +SAX.startElement(h3) +SAX.characters( + , 9) +SAX.startElement(a, href='https://html.spec.whatwg.org/multipage/parsing.html#parse-error-incorrectly-closed-comment') +SAX.characters( + Incorrectly closed , 81) +SAX.endElement(a) +SAX.characters( + , 7) +SAX.endElement(h3) +SAX.characters( + , 7) +SAX.startElement(div) +SAX.characters( + , 9) +SAX.comment(incorrectly closed comment) +SAX.startElement(span, id='under-test') +SAX.characters(whatwg guidance is that this s, 49) +SAX.endElement(span) +SAX.characters( + , 7) +SAX.endElement(div) +SAX.characters( + , 5) +SAX.endElement(div) +SAX.characters( + , 3) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments3.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments3.html new file mode 100644 index 0000000000000000000000000000000000000000..da965cebeac2df9b4ac90c4ebf8c5d45c7817826 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments3.html @@ -0,0 +1,18 @@ + + + +
+

+ + Abruptly closed comment + +

+
+ the previous node should be an empty comment, and this should be a text node--> +
+
+ the previous node should be an empty comment, and this should be a text node--> +
+
+ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments3.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments3.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..9f40a4501355295bc68bfecdc50554faaf27e6f3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/comments3.html.sax @@ -0,0 +1,49 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( + , 3) +SAX.startElement(body) +SAX.characters( + , 5) +SAX.startElement(div) +SAX.characters( + , 7) +SAX.startElement(h3) +SAX.characters( + , 9) +SAX.startElement(a, href='https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-closing-of-empty-comment') +SAX.characters( + Abruptly closed com, 43) +SAX.endElement(a) +SAX.characters( + , 7) +SAX.endElement(h3) +SAX.characters( + , 7) +SAX.startElement(div) +SAX.characters( + , 9) +SAX.comment() +SAX.characters(the previous node should be an, 86) +SAX.endElement(div) +SAX.characters( + , 7) +SAX.startElement(div) +SAX.characters( + , 9) +SAX.comment() +SAX.characters(the previous node should be an, 86) +SAX.endElement(div) +SAX.characters( + , 5) +SAX.endElement(div) +SAX.characters( + , 3) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc2.htm b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc2.htm new file mode 100644 index 0000000000000000000000000000000000000000..49ced03e8b0f1422a3e7196c8a113f13f8bb4206 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc2.htm @@ -0,0 +1,31 @@ + + + +Welcome to Copernic.com + + + + + + + + + + + + + + + + <body bgcolor="#FFFFFF" text="#000000" link="#000080" vlink="#000080" alink="#000080" + topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"> + <p>This page uses frames, but your browser doesn't support them.</p> + </body> + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc2.htm.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc2.htm.sax new file mode 100644 index 0000000000000000000000000000000000000000..db42c5bd1ba6ac49c87d162aef5b9c29b33e2b65 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc2.htm.sax @@ -0,0 +1,57 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, ) +SAX.comment( saved from url=(0016)http://intranet/ ) +SAX.comment( BEGIN Naviscope Javascript ) +SAX.startElement(html) +SAX.startElement(head) +SAX.startElement(title) +SAX.characters(Welcome to Copernic.com, 23) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.startElement(script, language='javascript') +SAX.cdata( + NS_ActualOpen=windo, 194) +SAX.endElement(script) +SAX.characters( +, 1) +SAX.comment( END Naviscope Javascript ) +SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, ) +SAX.comment( saved from url=(0027)http://www.agents-tech.com/ ) +SAX.characters( +, 1) +SAX.startElement(meta, content='text/html; charset=iso-8859-1', http-equiv='Content-Type') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(meta, content='Copernic.com Inc. develops innovative agent technology solutions to efficiently access and manage the overwhelming quantity of information available on the Internet and intranets.', name='DESCRIPTION') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(meta, content='agent,technology,intranet,extranet,management,filtering,ranking,solution,service,intelligent,intelligence,client,server,architecture,developer,development,information,telecommunication,announcement,press,product,profile,contact,multi-agent,meta-search,metasearch,multi-thread,mobile,wireless,shopping,robot,PCS,Copernic,engine,toolkit,CDK,EDK', name='KEYWORDS') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(meta, content='MSHTML 5.00.3103.1000', name='GENERATOR') +SAX.endElement(meta) +SAX.endElement(head) +SAX.startElement(frameset, border='false', cols='172,*', frameborder='0', framespacing='0') +SAX.startElement(frame, marginheight='0', marginwidth='0', name='left', noresize, scrolling='no', src='doc2_files/side.htm', target='rtop') +SAX.endElement(frame) +SAX.startElement(frameset, rows='43,*') +SAX.startElement(frame, marginheight='0', marginwidth='0', name='rtop', noresize, scrolling='no', src='doc2_files/top.htm', target='rbottom') +SAX.endElement(frame) +SAX.startElement(frame, name='rbottom', noresize, src='doc2_files/contents.htm', target='_top') +SAX.endElement(frame) +SAX.endElement(frameset) +SAX.startElement(noframes) +SAX.cdata( + + <body bgcolor="#FFFFFF", 238) +SAX.endElement(noframes) +SAX.endElement(frameset) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm new file mode 100644 index 0000000000000000000000000000000000000000..23de76811bea9e9c4951d1877813f48f05d9ad77 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm @@ -0,0 +1,579 @@ + + + +BP6.com #1 online resource for the BP6 Mobo.... + + + + + + + + + + + +

+

+
+ + + + + + + + + + + + + +
+
+

Monday, July 31st, 2000

+
+ + + + +
+
+

+

+ + + + + + +
+
+
+ + + + + + + + + + + + +
+

Abit BP6 Motherboard specification and information.
BP6 Specs +

+
+

How to cool the BX Chipset on your BP6.
BX Cooling +

+
+

The U;timate Gaming Contest - Coming Soon!
UGM Contest +

+
+

Cooling & Heatsink review for the BP6.
Heatsinks +

+
+

BP6 101 - Class is now in session. Welcome newbies!
BP6 101 +

+
+

Install guide for installing Windows 2000 on the BP6
Win2k Install +

+
+

Taking a first look at the Abit Linux release called
Gentus +

+
+
+
+
+
+
+ + + + + + + + +
+ + + + + + +
+
REVIEWS
+
+
BP6 Reviews
BP6 Watercooling
BX Chipset Cooling
Benchmarks
BP6FSB Utility
PowerLeap NEO S370
SETI on the BP6
Golden Orbs I
Golden Orbs II
VTT Solution

NAVIGATE +
+
News
Online Text Chat
Voice Chat
Messageboard
Temp. Converter
Picture Gallery
Latest BIOS
Drivers & Files
UGM of the week
BP6 Contest

OTHER STUFF + +
+
Who is Tim?
Contact BP6.com
Affiliates Section
Sponsors Section
Links

PC SPECIALS +
+
Vendor + Specials


Pic of the day +
+ +
+

No picture is available for today.

+
+
+
+
+
+
+
+
+

+

+ + + + + + +
+
+ +
+
Headlines
Chat + with ABIT - 8:09PM PDT
Fixed + wallpaper - 11:47PM PDT
Seti + update - 10:40PM PDT
Judge + gives Napster the Boot!! - 2:10PM PDT
Ram + Sinks.. more cooling for small places. - 8:54AM + PDT
is + it [H]ard? - 9:19PM PDT
WiLd + CaSe!! - 1:40PM PDT
What + the heck is a Peltier?!?! - 10:05AM PDT
HELLO + EVERYONE!!! - 10:03PM PDT
BP6 + Q3 server up and running.. - 2:06AM PDT

+ + + + + + +
Sunday, + July 30, 2000
+
Chat with + ABIT
Posted by Holodeck2 @ 8:09PM + PDT  0 comments +  | top
I’m slacking a little. All game no + work makes Holodeck2 a happy boy :-)

Wallpaper update: I got + off my lazy ass and redid the 1280x1024 wall paper, now it has the 2 + celerons.

Fullon3d had a live chat with that Eric guy from Abit. + Submitted by: MJS

Here’s a little clip:
[Falcon] + BP6-2??
[EricBoeing] We already have a micro ATX dual flip-chip + board
[EricBoeing] but it's OEM only
[EricBoeing] the full ATX + version should be out Septemberish


+ + + + + + +
Thursday, + July 27, 2000
+
Fixed + wallpaper
Posted by Holodeck2 @ 11:47PM + PDT  5 comments +  | top
Get them now!!
This is a + fixed bp6 wallpaper. In all the popular flavors, err... + resolutions.

It's still the Intels Inside one with a spelling + change; from "Mothboard" to "Motherboard"

Thanks to Matt for + pointing that out to me.
I would also like to thank Kevin for + hosting my last batch and Radu for the previous "DUEL"/"DUAL" + error.
And 1 more person, THANK YOU TIM for letting me borrow + your server space ;-)

If you need a weird resolution, feel + free to e-mail me requesting + for one.
If you have ideas or more errors to point out, mailto:Holodeck2@home.com

800x600
1024x768
1152x864
1280x1024
1600x1200
+

Enjoy :-)
+

+

Holodeck2,
[H]ard at + work on the Brand Spanking New Wallpaper.



Seti update
Posted by Holodeck2 @ 10:40PM + PDT  5 comments +  | top

You like the + pic?

Bp6 User Group Update:
Completed 61531 + units!!
#168 on Top 200 All Groups (Going to pass CLRC in + a few days)
#74 on Top 200 Teams (Gaining fast on + Starfleet)

We are flying though at the speed of light (may be + a little slower).
Good job everyone!!

Check this page at + least once a day for new stuff :-)


Judge gives Napster the + Boot!!
Posted by Holodeck2 @ 2:10PM + PDT  0 comments +  | top
Good afternoon for everyone living in + EST. I was going to post today morning but I didn't. Here's my + story:
I woke up and thought about posting something but I + decided to wax my car before the sun came up (draw your own + conclusions), wax on, wax off, wax on,..., did that for about an + hour. Then I saw the sun rise (Aaahh I'm melting... not). I sat in + front of my comp and started to search for good news to post. Saw + that a stoopid judge temporally shuts down napster. Goes to room and + cry. and now I'm here :-)

Judge shuts Napster down +


Check out the Goofy guy in the suit
He's Sean + Fanning, founder of Napster.

Got news?? mailto:Holodeck2@home.com


Ram Sinks.. more cooling for small + places.
Posted by tim @ 8:54AM PDT  0 comments +  | top
Need some cooling for your Videocard + memory to get a little extra overclockability and FPS? Overclockers Hiedout Ram Sinks They just notified + me of their new design.


+ + + + + + +
Wednesday, July 26, + 2000
+
is it + [H]ard?
Posted by Holodeck2 @ 9:19PM + PDT  0 comments +  | top
Big heatsinks are good, very good. The + bigger the better.
You can never can have a too big of heatsink + on a small chip (CPU, GPU, CHIPSET, etc)


My overclocked + Voodoo3 2000 with a BIG mofo heatsink on top.
Peltier and + watercooling next up :-)
(if you pry off the heatsink you void + the warranty )

it was originally posted on [H]ardOCP
I’m not only a + BP6er but also a [H]ardOCPer


WiLd CaSe!!
Posted by Holodeck2 @ 1:40PM + PDT  8 comments +  | top
Now this person really knows how to + keep his case cool!!
Addin an 18" Fan!! WOW!!


Click to go to his + site.


What the heck is a + Peltier?!?!
Posted by Holodeck2 @ 10:05AM + PDT  6 comments +  | top
This is for all you people who wanted + to know what a peltier is.

The quest fo the Perfect + Peltier

Thanks to + TweakMax.com +

Note: Today morning when I woke up I saw my whole screen + cluttered with a bunch of IMs!! I live in the USA on EST. If you + live somewhere else please check the time in my area. for example: + If you live in Europe and IM me in the morning your time I would be + sleeping it would be like 4 in the morning here. Just to let you + know
I'm not angry at anyone... + good thing I have a long fuse


+ + + + + + +
Tuesday, + July 25, 2000
+
HELLO + EVERYONE!!!
Posted by Holodeck2 @ 10:03PM + PDT 
Hello + everyone, Woohoo!! I'm on!!
Who is this Holodeck2 person + anyways?!?! Read on :-)
I’m a regular on the bp6 messageboard, + trying to help people out with their problems.
I’m the + self-proclaimed bp6 cooling expert, If you have a cooling idea, I’ve + probably already done it and can offer some incite.
My computer + is always on so you can contact me whenever... problem is, I'm not + always in front of it. I'll try to update this page and keep + everyone happy :-)
Any Questions or comments, you can either + contact me or post it on the messageboard.

Ways to contact + me.
E-mail: Holodeck2@home.com (All E-mails + will be answered in 24 hours or less, I guarantee it.)
When you + write me an e-mail please put in the subject line "BP6" then the + rest of your subject so my e-mail program can sort it, thanks
AIM: Holodeck2 (instant response + if I’m in front of my comp and not trying to frag someone)
ICQ: 82640218 (rarely + on)

P.S. If someone named “Digital Vortex” on either Quake 3 + or 2 frags you, it’s probably me. ;-)


+ + + + + + +
Monday, + July 24, 2000
+
BP6 Q3 server up and + running..
Posted by tim @ 2:06AM PDT  3 comments +  | top
Setup a Q3 server for anyone wanting + to practice in preparation for Quakecon.. Connect to bp6.dyndns.org + default port. (SERVER: BP6 system, 256 MB ram, celeron 600 on a T3 + connection)... Will be moved to another BP6 server eventually. This + is only a temporary test of the system and net connection.
(BTW- + there are a few bot's running around in there..)


BIOS Savior to the + rescue....
Posted by tim @ 12:53AM PDT  2 comments +  | top
Do you sweat during the BIOS flashing + procedure on your BP6 mobo? If so then this little gadget maybe + worth a first look. It's called the "RD1 BIOS Savior" and it + plugs in between your BIOS ROM and the BIOS ROM socket on your mobo. + This device will backup your BIOS and and allow you to recover your + BIOS in the event that your flashing session goes wrong. In the + event of a bad flash, just flip a switch on the RDI and boot up your + system, and flash again. This is also good as a failsafe in case you + don't believe in Virus Protecting your computer. (Thanks to Fred for + link)
Manufacturers Brochure (PDF Format)
Another info page
Available for about $20



+ + + + + + +
Monday, + July 17, 2000
+
How To + Overclock
Posted by DareDevil @ 4:17PM + PDT  3 comments +  | top
For those of you who are new to + overclocking, this guide will explain to you how to overclock, and + what some of the terms are. Like 'FSB' (what the heck is that!? + :0))

How To Overclock


The Cardcooler + XT
Posted by DareDevil @ 4:11PM + PDT  1 comments +  | top
Wow! I am impressed! Nevermind keeping + the CPU's cool... Keep your whole board cool!

Even if your + not overclocking your system (or planning on it), this unit will + provide system stability and longevity. What would happen one day of + your GeForce or CPU fan went dead? You can also think of this + cooling unit as a backup to essential cooling fans in your + system.

Check this out!

http://www.brokenpixel.com/articles/coolerXT/cardcoolerXT_1.shtml +


'Nerd + Inside'
Posted by DareDevil @ 11:53AM + PDT  1 comments +  | top
We all need to have some fun + sometimes! Check out this little web site that sells 'nerd' clothing + ;) (I like the bibs in the Junior Hackerz section) :-Þ

+


Dual PSU Wiring diagram... (preview to + Part 1 Watercooling Project)
Posted by tim @ 12:43AM PDT  11 comments +  | top
When is comes to overclocking your + system, cooling plays a big role. Powering all of those fans in your + system can cause quite a strain on your PSU (Power Supply Unit). + Depending on the number of peripherals in your system, adding a more + powerfull PSU or adding a second PSU may be neccesary. For + watercooling and using peltiers, dedicating a second PSU to power + the Peltiers (TEC's) is a good idea. Here I have come up with 2 + diagrams on how I wired dual 300 watt ATX power supply units for the + Blizzard BP6 watercooling project. Consider this part of Step 1. + More will follow this week. BTW.. hacking up your PSU's is very + dangerous and is not recommended unless you know what you are doing. +

View Diagram 1 here.
View Diagram 2 here.

I used Tap-In Squeeze Connectors and + 22 guage wire to connect the wires. You can get them at Radio Shack + Part# 64-3053 or click here.


+ + + + + + +
Sunday, + July 16, 2000
+
RAM Overclocking? + Hmmmmm.
Posted by DareDevil @ 9:57AM + PDT  3 comments +  | top
I know we're pretty big overclockers + here at BP6.Com so, this is a post of choice ;-) I've seen the + question in the message boards, 'why can't I overclock any higher?' + Well, it's not always the CPU that's holding you back... Many other + things need to be taken care of to overclock such as your PCI + devices (can they handle the higher bus speed), the actual CPU, and + your RAM. I'm not saying that that a high quality stick of silicon + will enable you to overclock your 366MHz to 1 GHZ (I wish!), but, it + will certainly help =)

Extreme Overclocking has tested + (overclocked) PC133 RAM to there full potential. Here's a quote I + found and the link:

Well, the guys at Extreme Overclocking + have been hard at work again with their latest review. This time + they have put seven 128MB PC133 memory modules through the torture + tests to determine their maximum overclocking potential. Which one's + came out on top? Read the review to find out....

Cooked RAM... Yummie

The + ÐÐ.


CPU + Guide
Posted by DareDevil @ 9:17AM + PDT  0 comments +  | top
A follow up on the 'Weekly CPU + Prices', this guide will help you determine which cpu is best for + you (and your board ;-)). Sent to me by Spanky, here's the + link:

+
  • http://www6.tomshardware.com/howto/00q2/000412/index.html


  • + + + + + + +
    Saturday, + July 15, 2000
    +
    Weekly CPU + Prices
    Posted by DareDevil @ 11:29AM + PDT  2 comments +  | top
    Wow, found this very useful! Wanting + to buy a new CPU? Check out this detailed price list!

    Click Here.

    Thanks Sharky + Extreme!


    Fast Wallpapers
    Posted by DareDevil @ 9:51AM + PDT  0 comments +  | top
    FAST-MHz has released some wallpapers! + Click here to view them. They come in sizes + 800x600 1024x768 and 1152x864. If you have your desktop set at a + larger size, just use the 'stretch' function in desktop properties + instead of 'center'. Works great.

    In other news, we want to + finnish off all the sections at BP6.Com so, to start, we're going to + work on the Picture Gallery. To help us out, you can send in + all your cool, wierd, crazy pics that you may have to: thedaredevil@bp6.com. (The + topic being computers, duh! :0) And no... I don't want to recieve + any porno piccies in my mailbox! I have enough of those!) Kidding + guys.

    Okay, that's all for now.

    The + ÐÐ.


    + + + + + + +
    Friday, + July 14, 2000
    +
    Hey + There!
    Posted by DareDevil @ 5:05PM + PDT  7 comments +  | top
    Hey guys, just wanted to introduce + myself, some of you may have already met me on the BP6.com board. + I'll be posting up news from time to time now so, if you'd like, you + may send me some news to be posted if you find any ( we don't want + to flood Tim ;-) ).

    My e-mail address is killz@i82hq.com

    Ciao for + now.

    The ÐÐ.


    +
    +
    +
    +
    +
    +

    +

    + + + + + + +
    +
    + +
    +
    Newsletter


    +
    + +
    Search news


    News + archive +
    +
    + + + + + + + +
    + + + + +
    +
    +

    PC Price + Search

    +

    +
    +
    +



    BP6.com Special - Enter CODE: BP6-hd in the order (notes) to receive a discount
    BP6.COM + Special
    Code:BP6-hd
    + + + + + + +
     
    +
    +
    + +
    + +  + + + + + + + +
    +

    Copyright + ©1999-2000 BP6.com, All rights reserved.
    Got news? Send it to
    Tim

    +
    +
    + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm.err b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm.err new file mode 100644 index 0000000000000000000000000000000000000000..14adece8563750ce0f06a0dcff7b43786b1ceb41 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm.err @@ -0,0 +1,48 @@ +./test/HTML/doc3.htm:148: HTML parser error : Unexpected end tag : p +

    + ^ +./test/HTML/doc3.htm:236: HTML parser error : Unexpected end tag : font + Specials




    + ^ +./test/HTML/doc3.htm:747: HTML parser error : Unexpected end tag : font +om/ad_static.asp?pid=2097&sid=1881&asid=7708"> + ^ +./test/HTML/doc3.htm:747: HTML parser error : Unexpected end tag : p +=7708">

    + ^ +./test/HTML/doc3.htm:772: HTML parser error : Unexpected end tag : form + archive
    Code:BP6-hd

    Code:BP6-hd

     

    < + ^ +./test/HTML/doc3.htm:840: HTML parser error : Unexpected end tag : td +
      + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm.sax new file mode 100644 index 0000000000000000000000000000000000000000..8ff20597f335ca735e7ea57dcc3907e4e968fc83 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/doc3.htm.sax @@ -0,0 +1,3267 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, ) +SAX.comment( saved from url=(0025)http://bp6.gamesquad.net/ ) +SAX.comment( BEGIN Naviscope Javascript ) +SAX.startElement(html) +SAX.startElement(head) +SAX.startElement(title) +SAX.characters(BP6.com #1 online resource for, 47) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.startElement(script, language='javascript') +SAX.cdata( + NS_ActualOpen=windo, 37) +SAX.cdata( + function NS_NullWin, 49) +SAX.cdata( + function NS_NewOpen, 73) +SAX.cdata( + window.open=NS_NewO, 34) +SAX.cdata( +, 1) +SAX.endElement(script) +SAX.characters( +, 1) +SAX.comment( END Naviscope Javascript ) +SAX.internalSubset(HTML, -//W3C//DTD HTML 3.2//EN, ) +SAX.comment(last modified on Tuesday, February 22, 2000 11:47 PM ) +SAX.characters( +, 1) +SAX.startElement(meta, content='text/html;CHARSET=iso-8859-1', http-equiv='Content-Type') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(meta, content='Tim', name='Author') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(style, type='text/css') +SAX.cdata(A.nav {, 7) +SAX.cdata( + COLOR: #003399; TEXT-DECORAT, 39) +SAX.cdata( +}, 2) +SAX.cdata( +A.nav:hover {, 14) +SAX.cdata( + COLOR: #3366cc; TEXT-DECORAT, 44) +SAX.cdata( +}, 2) +SAX.cdata( +, 1) +SAX.endElement(style) +SAX.characters( +, 1) +SAX.characters( +, 1) +SAX.startElement(script, language='JavaScript') +SAX.cdata( +<!-- Idea by: Nic Wolfe (, 476) +SAX.endElement(script) +SAX.characters( +, 1) +SAX.characters( +, 1) +SAX.startElement(meta, content='MSHTML 5.00.3103.1000', name='GENERATOR') +SAX.endElement(meta) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body, alink='red', bgcolor='black', link='red', text='white', vlink='red') +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( +, 1) +SAX.endElement(p) +SAX.startElement(div, align='center') +SAX.characters( +, 1) +SAX.startElement(table, border='0', cellpadding='0', cellspacing='0', width='80%') +SAX.characters( + , 3) +SAX.startElement(tbody) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, valign='top', width='31') +SAX.startElement(a, href='http://bp6.gamesquad.net/') +SAX.startElement(img, align='bottom', border='0', height='74', src='doc3_files/logo.gif', width='252') +SAX.endElement(img) +SAX.endElement(a) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.startElement(td, align='left', bgcolor='#000000') +SAX.startElement(img, height='15', src='doc3_files/spacer.gif', width='15') +SAX.endElement(img) +SAX.comment( START GAMESQUAD.NET IFRAME RICH MEDIA CODE ) +SAX.characters( , 1) +SAX.comment( © 2000 GameSquad.net All Rights Reserved. ) +SAX.startElement(iframe, border='0', frameborder='no', height='60', marginheight='0', marginwidth='0', scrolling='no', src='doc3_files/adcycle.htm', width='468') +SAX.cdata( +<a href="http://ads.gamesq, 235) +SAX.endElement(iframe) +SAX.comment( END GAMESQUAD.NET IFRAME RICH MEDIA CODE ) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(img, height='15', src='doc3_files/spacer.gif', width='400') +SAX.endElement(img) +SAX.characters( , 1) +SAX.endElement(td) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='#003399', colspan='2') +SAX.characters( + , 7) +SAX.startElement(p, align='right') +SAX.startElement(img, align='right', border='0', height='18', hspace='0', src='doc3_files/trcorner.gif', width='20') +SAX.endElement(img) +SAX.startElement(img, align='left', border='0', height='18', hspace='0', src='doc3_files/tlcorner.gif', width='20') +SAX.endElement(img) +SAX.startElement(font, face='Verdana', size='2') +SAX.characters(Monday, July 31st, 2000, 23) +SAX.endElement(font) +SAX.characters( , 1) +SAX.endElement(p) +SAX.endElement(td) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, colspan='2') +SAX.characters( + , 7) +SAX.startElement(table, bgcolor='#003399', border='0', cellpadding='0', cellspacing='4', width='100%') +SAX.startElement(tbody) +SAX.characters( + , 9) +SAX.startElement(tr) +SAX.characters( + , 11) +SAX.startElement(td, bgcolor='#666666', width='100%') +SAX.characters( + , 13) +SAX.startElement(center) +SAX.characters( + , 13) +SAX.startElement(p) +SAX.characters( + , 13) +SAX.endElement(p) +SAX.startElement(table, bgcolor='black', border='0', cellpadding='0', cellspacing='1', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td, background='doc3_files/hscan.gif', bgcolor='#666666', width='100%') +SAX.startElement(img, height='1', src='doc3_files/spacer.gif', width='738') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 19) +SAX.startElement(center) +SAX.characters( + , 19) +SAX.startElement(table, border='0', cellpadding='2', cellspacing='0', width='91%') +SAX.characters( + , 21) +SAX.startElement(tbody) +SAX.characters( + , 21) +SAX.startElement(tr) +SAX.characters( + , 23) +SAX.startElement(td, valign='top', width='15%') +SAX.characters( + , 25) +SAX.startElement(p, align='center') +SAX.startElement(a, href='http://bp6.gamesquad.net/specs.phtml') +SAX.startElement(img, align='bottom', alt='Abit BP6 Motherboard specification and information.', border='0', height='45', src='doc3_files/bp6icon.gif', width='70') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/specs.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(BP6 Specs, 9) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 23) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + , 23) +SAX.startElement(td, valign='top', width='15%') +SAX.characters( + , 25) +SAX.startElement(p, align='center') +SAX.startElement(a, href='http://bp6.gamesquad.net/bxcool.phtml') +SAX.startElement(img, align='bottom', alt='How to cool the BX Chipset on your BP6.', border='0', height='45', src='doc3_files/bxcool.gif', width='70') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/uc.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(BX Cooling, 10) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 25) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + , 23) +SAX.startElement(td, valign='top', width='15%') +SAX.characters( + , 25) +SAX.startElement(p, align='center') +SAX.startElement(a, href='http://bp6.gamesquad.net/contest.phtml') +SAX.startElement(img, align='bottom', alt='The U;timate Gaming Contest - Coming Soon!', border='0', height='45', src='doc3_files/ugmcontest.gif', width='70') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/contest.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(UGM Contest, 11) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 25) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + , 23) +SAX.startElement(td, valign='top', width='15%') +SAX.characters( + , 25) +SAX.startElement(p, align='center') +SAX.startElement(a, href='http://bp6.gamesquad.net/uc.phtml') +SAX.startElement(img, align='bottom', alt='Cooling & Heatsink review for the BP6.', border='0', height='45', src='doc3_files/alpha.gif', width='70') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/uc.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Heatsinks, 9) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 23) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + , 23) +SAX.startElement(td, valign='top', width='15%') +SAX.characters( + , 25) +SAX.startElement(p, align='center') +SAX.startElement(a, href='http://bp6.gamesquad.net/101.phtml') +SAX.startElement(img, align='bottom', alt='BP6 101 - Class is now in session. Welcome newbies!', border='0', height='45', src='doc3_files/bp6101.gif', width='70') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/101.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(BP6 101, 7) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 23) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + , 23) +SAX.startElement(td, valign='top', width='15%') +SAX.characters( + , 25) +SAX.startElement(p, align='center') +SAX.startElement(a, href='http://bp6.gamesquad.net/win2k_install.phtml') +SAX.startElement(img, align='bottom', alt='Install guide for installing Windows 2000 on the BP6 ', border='0', height='45', src='doc3_files/win2kht.gif', width='70') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/win2k_install.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Win2k Install, 13) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 25) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + , 23) +SAX.startElement(td, valign='top', width='15%') +SAX.characters( + , 25) +SAX.startElement(p, align='center') +SAX.startElement(a, href='http://www.gentus.com/') +SAX.startElement(img, align='bottom', alt='Taking a first look at the Abit Linux release called ', border='0', height='45', src='doc3_files/gentusbox.gif', width='70', gentus?.?) +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.gentus.com/') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Gentus, 6) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 19) +SAX.endElement(p) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.endElement(center) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.endElement(center) +SAX.error: Unexpected end tag : p +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.characters( +, 1) +SAX.startElement(table, bgcolor='#003399', border='0', cellspacing='6', width='80%') +SAX.characters( + , 3) +SAX.startElement(tbody) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='black', valign='top', width='10%') +SAX.characters( + , 7) +SAX.startElement(table, border='0', cellpadding='3', cellspacing='0', width='100%') +SAX.characters( + , 9) +SAX.startElement(tbody) +SAX.characters( + , 9) +SAX.startElement(tr) +SAX.characters( + , 11) +SAX.startElement(td, width='100%') +SAX.startElement(img, height='1', src='doc3_files/spacer.gif', width='111') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(b) +SAX.startElement(font, color='yellow', face='Verdana', size='2') +SAX.characters(REVIEWS, 7) +SAX.endElement(font) +SAX.endElement(b) +SAX.startElement(font, face='Verdana', size='2') +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 13) +SAX.startElement(hr, align='center') +SAX.endElement(hr) +SAX.characters( + , 13) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/bp6reviews.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(BP6 Reviews, 11) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/h2o.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(BP6 Watercooling, 16) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/bxcool.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(BX Chipset Cooling, 18) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/benchmark.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Benchmarks, 10) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/bp6fsb.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(BP6FSB Utility, 14) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/powerleap.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(PowerLeap NEO S370, 18) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/seti.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(SETI on the BP6, 15) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/orbs.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Golden Orbs I, 13) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/orbs/orbs2.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Golden Orbs II, 14) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/Q6fix.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(VTT Solution, 12) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(b) +SAX.startElement(font, color='yellow', face='Verdana', size='2') +SAX.characters(NAVIGATE, 8) +SAX.endElement(font) +SAX.endElement(b) +SAX.startElement(font, color='yellow', face='Verdana', size='2') +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.startElement(hr, align='center') +SAX.endElement(hr) +SAX.characters( + , 13) +SAX.endElement(font) +SAX.startElement(a, href='http://www.bp6.com/') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(News, 4) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/chat.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Online Text Chat, 16) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='javascript:popUp('chat_popup.htm')') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Voice Chat, 10) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://216.247.220.192/Forum') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Messageboard, 12) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/cooling') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Temp. Converter, 15) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/uc.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Picture Gallery, 15) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/bios.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Latest BIOS, 11) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/files/') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Drivers , 8) +SAX.characters(&, 1) +SAX.characters( Files, 6) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/uc.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(UGM of the week, 15) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/contest.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(BP6 Contest, 11) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(b) +SAX.startElement(font, color='yellow', face='Verdana', size='2') +SAX.characters(OTHER STUFF, 11) +SAX.endElement(font) +SAX.endElement(b) +SAX.startElement(font, color='yellow', face='Verdana', size='2') +SAX.characters( , 1) +SAX.characters( +, 1) +SAX.characters( + , 13) +SAX.startElement(hr, align='center') +SAX.endElement(hr) +SAX.characters( + , 13) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/whois.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Who is Tim?, 11) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='mailto:tim@bp6.com') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Contact BP6.com, 15) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/uc.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Affiliates Section, 18) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(font, face='Verdana', size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/uc.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Sponsors Section , 17) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(a, href='http://bp6.gamesquad.net/links.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Links, 5) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(font, color='yellow', face='Verdana', size='2') +SAX.characters(PC SPECIALS, 11) +SAX.endElement(font) +SAX.endElement(b) +SAX.startElement(font, color='yellow', face='Verdana', size='2') +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.startElement(hr, align='center') +SAX.endElement(hr) +SAX.characters( + , 13) +SAX.endElement(font) +SAX.startElement(a, href='http://bp6.gamesquad.net/specials.phtml') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Vendor , 7) +SAX.characters( + Specials, 21) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.error: Unexpected end tag : font +SAX.error: Unexpected end tag : a +SAX.startElement(b) +SAX.startElement(font, color='yellow', face='Verdana', size='2') +SAX.characters(Pic of the day, 14) +SAX.endElement(font) +SAX.endElement(b) +SAX.characters( + , 13) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.characters( + , 14) +SAX.characters( + , 13) +SAX.startElement(center) +SAX.characters( + , 13) +SAX.startElement(p, align='center') +SAX.startElement(font, face='Verdana, Arial, Helvetica', size='1') +SAX.startElement(a, href='http://bp6.gamesquad.net/cgi-bin/schlabo/potd.pl') +SAX.startElement(img, alt='No picture is available for today.', border='0', src='doc3_files/potd_na_110x83.gif') +SAX.endElement(img) +SAX.endElement(a) +SAX.characters( , 1) +SAX.endElement(font) +SAX.endElement(p) +SAX.endElement(center) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 13) +SAX.startElement(center) +SAX.endElement(center) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(FTP Help) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='white', valign='top', width='80%') +SAX.startElement(img, height='1', src='doc3_files/spacer.gif', width='490') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 7) +SAX.startElement(center) +SAX.characters( + , 7) +SAX.startElement(p) +SAX.characters( + , 7) +SAX.endElement(p) +SAX.startElement(table, bgcolor='white', border='0', cellpadding='10', cellspacing='0', height='100%', width='100%') +SAX.characters( + , 9) +SAX.startElement(tbody) +SAX.characters( + , 9) +SAX.startElement(tr) +SAX.characters( + , 11) +SAX.startElement(td, bgcolor='white', valign='top', width='100%') +SAX.characters( + , 13) +SAX.startElement(center) +SAX.startElement(a, href='http://www.encounter2001.com/', target='_blank') +SAX.startElement(img, border='0', height='60', src='doc3_files/banner2.gif', width='468') +SAX.endElement(img) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.endElement(center) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='news_top') +SAX.endElement(a) +SAX.startElement(font, color='#003366', face='verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Headlines, 9) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem965012956,78924,') +SAX.characters(Chat , 5) +SAX.characters( + with ABIT - 8:09P, 35) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964766837,26344,') +SAX.characters(Fixed , 6) +SAX.characters( + wallpaper - 11:47, 36) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964762841,25865,') +SAX.characters(Seti , 5) +SAX.characters( + update - 10:40PM , 33) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964732235,45502,') +SAX.characters(Judge , 6) +SAX.characters( + gives Napster the, 50) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964713289,83675,') +SAX.characters(Ram , 4) +SAX.characters( + Sinks.. more cool, 61) +SAX.characters( + PDT, 16) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964671589,7831,') +SAX.characters(is , 3) +SAX.characters( + it [H]ard? - 9:19, 36) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964644047,60218,') +SAX.characters(WiLd , 5) +SAX.characters( + CaSe!! - 1:40PM P, 32) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964631110,84122,') +SAX.characters(What , 5) +SAX.characters( + the heck is a Pel, 52) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964587833,74573,') +SAX.characters(HELLO , 6) +SAX.characters( + EVERYONE!!! - 10:, 38) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='arial', size='1') +SAX.startElement(a, class='nav', href='http://bp6.gamesquad.net/index.phtml#newsitem964429577,13375,') +SAX.characters(BP6 , 4) +SAX.characters( + Q3 server up and , 52) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( NP v3.7.5 ) +SAX.startElement(a, name='newsitem965012956,78924,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Sunday, , 8) +SAX.characters( + July 30, 20, 32) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Chat with , 10) +SAX.characters( + ABIT, 17) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:Holodeck@bp6.com') +SAX.characters(Holodeck2, 9) +SAX.endElement(a) +SAX.characters( @ 8:09PM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/965012956,78924,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(0 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(I, 1) +SAX.characters(’, 3) +SAX.characters(m slacking a little. All game , 33) +SAX.characters( + work makes Holode, 49) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Wallpaper update: I got , 24) +SAX.characters( + off my lazy ass a, 82) +SAX.characters( + celerons., 22) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(b) +SAX.startElement(a, href='http://fullon3d.com/chat/abit/', target='3d') +SAX.characters(Fullon3d had a live chat with , 55) +SAX.characters( + , 13) +SAX.endElement(a) +SAX.endElement(b) +SAX.characters(Submitted by: MJS, 17) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Here, 4) +SAX.characters(’, 3) +SAX.characters(s a little clip:, 16) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters([Falcon] , 9) +SAX.characters( + BP6-2??, 20) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters([EricBoeing] We already have a, 56) +SAX.characters( + board, 18) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters([EricBoeing] but it's OEM only, 30) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters([EricBoeing] the full ATX , 26) +SAX.characters( + version should be, 47) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964766837,26344,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Thursday, , 10) +SAX.characters( + July 27, 20, 32) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Fixed , 6) +SAX.characters( + wallpaper, 22) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:Holodeck@bp6.com') +SAX.characters(Holodeck2, 9) +SAX.endElement(a) +SAX.characters( @ 11:47PM , 11) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964766837,26344,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(5 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.startElement(b) +SAX.characters(Get them now!!, 14) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(This is a , 10) +SAX.characters( + fixed bp6 wallpap, 69) +SAX.characters( + resolutions., 25) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(img, height='180', src='doc3_files/3-800.jpg', width='240') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(It's still the Intels Inside o, 49) +SAX.characters( + change; from "Mot, 54) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Thanks to Matt for , 19) +SAX.characters( + pointing that out, 37) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(I would also like to thank Kev, 37) +SAX.characters( + hosting my last b, 75) +SAX.characters( + error., 19) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(And 1 more person, THANK YOU T, 55) +SAX.characters( + your server space, 34) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(If you need a weird resolution, 37) +SAX.characters( + free to , 21) +SAX.startElement(a, href='mailto:Holodeck2@home.com') +SAX.characters(e-mail, 6) +SAX.endElement(a) +SAX.characters( me requesting , 15) +SAX.characters( + for one., 21) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(If you have ideas or more erro, 47) +SAX.startElement(a, href='mailto:Holodeck2@home.com') +SAX.characters(mailto:Holodeck2@home.com, 25) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='doc3_files/3-800.jpg', target='800') +SAX.characters(800x600 , 8) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.bp6.com/pics/holodeck2/wallpaper/3-1024.jpg', target='800') +SAX.characters(1024x768 , 9) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.bp6.com/pics/holodeck2/wallpaper/3-1152.jpg', target='800') +SAX.characters(1152x864 , 9) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.bp6.com/pics/holodeck2/wallpaper/3-1280x1024.jpg', target='800') +SAX.characters(1280x1024 , 10) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.bp6.com/pics/holodeck2/wallpaper/3-1600.jpg', target='800') +SAX.characters(1600x1200 , 10) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 13) +SAX.startElement(p) +SAX.characters(Enjoy :-), 9) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 13) +SAX.endElement(p) +SAX.startElement(p) +SAX.startElement(a, href='mailto:Holodeck2@home.com') +SAX.characters(Holodeck2,, 10) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters([H]ard at , 10) +SAX.characters( + work on the Brand, 54) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(p) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964762841,25865,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Seti update, 11) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:Holodeck@bp6.com') +SAX.characters(Holodeck2, 9) +SAX.endElement(a) +SAX.characters( @ 10:40PM , 11) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964762841,25865,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(5 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.startElement(img, height='54', src='doc3_files/setiupdate.jpg', width='400') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(You like the , 13) +SAX.characters( + pic?, 17) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Bp6 User Group Update:, 22) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Completed 61531 , 16) +SAX.characters( + units!!, 20) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(b) +SAX.characters(#168 on Top 200 All Groups, 26) +SAX.endElement(b) +SAX.characters( (Going to pass CLRC in , 24) +SAX.characters( + a few days), 24) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(b) +SAX.characters(#74 on Top 200 Teams, 20) +SAX.endElement(b) +SAX.characters( (Gaining fast on , 18) +SAX.characters( + Starfleet), 23) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(We are flying though at the sp, 51) +SAX.characters( + a little slower)., 30) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Good job everyone!!, 19) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Check this page at , 19) +SAX.characters( + least once a day , 47) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964732235,45502,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Judge gives Napster the , 24) +SAX.characters( + Boot!!, 19) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:Holodeck@bp6.com') +SAX.characters(Holodeck2, 9) +SAX.endElement(a) +SAX.characters( @ 2:10PM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964732235,45502,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(0 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Good afternoon for everyone li, 38) +SAX.characters( + EST. I was going , 76) +SAX.characters( + story:, 19) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(I woke up and thought about po, 52) +SAX.characters( + decided to wax my, 73) +SAX.characters( + conclusions), wax, 78) +SAX.characters( + hour. Then I saw , 80) +SAX.characters( + front of my comp , 79) +SAX.characters( + that a stoopid ju, 82) +SAX.characters( + cry. and now I'm , 38) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.msnbc.com/news/437532.asp', target='Judge vs Napster') +SAX.characters(Judge shuts Napster down, 24) +SAX.characters( + , 13) +SAX.startElement(p) +SAX.startElement(img, height='143', src='doc3_files/669915.jpg', width='200') +SAX.endElement(img) +SAX.endElement(p) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Check out the Goofy guy in the, 35) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(He's Sean , 10) +SAX.characters( + Fanning, founder , 41) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Got news?? , 11) +SAX.startElement(a, href='mailto:Holodeck2@home.com') +SAX.characters(mailto:Holodeck2@home.com, 25) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964713289,83675,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Ram Sinks.. more cooling for s, 35) +SAX.characters( + places., 20) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:tim@bp6.com') +SAX.characters(tim, 3) +SAX.endElement(a) +SAX.characters( @ 8:54AM PDT, 13) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964713289,83675,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(0 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Need some cooling for your Vid, 37) +SAX.characters( + memory to get a l, 68) +SAX.startElement(a, href='http://www.overclockershideout.com/RamSinks.html', target='_BLANK') +SAX.characters(Overclockers Hiedout Ram Sinks, 30) +SAX.endElement(a) +SAX.characters( They just notified , 20) +SAX.characters( + me of their new d, 36) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(img, border='1', src='doc3_files/ramsink.jpg') +SAX.endElement(img) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964671589,7831,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Wednesday, July 26, , 20) +SAX.characters( + 2000, 17) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(is it , 6) +SAX.characters( + [H]ard?, 20) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:Holodeck@bp6.com') +SAX.characters(Holodeck2, 9) +SAX.endElement(a) +SAX.characters( @ 9:19PM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964671589,7831,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(0 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Big heatsinks are good, very g, 39) +SAX.characters( + bigger the better, 31) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(You can never can have a too b, 45) +SAX.characters( + on a small chip (, 53) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(img, height='173', src='doc3_files/voodooside2.jpg', width='230') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(My overclocked , 15) +SAX.characters( + Voodoo3 2000 with, 58) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Peltier and , 12) +SAX.characters( + watercooling next, 37) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters((if you pry off the heatsink y, 38) +SAX.characters( + the warranty ), 27) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(it was originally posted on , 28) +SAX.startElement(a, href='http://www.hardocp.com/') +SAX.characters([H]ardOCP , 10) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(I, 1) +SAX.characters(’, 3) +SAX.characters(m not only a , 13) +SAX.characters( + BP6er but also a , 41) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964644047,60218,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(WiLd CaSe!!, 11) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:Holodeck@bp6.com') +SAX.characters(Holodeck2, 9) +SAX.endElement(a) +SAX.characters( @ 1:40PM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964644047,60218,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(8 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Now this person really knows h, 36) +SAX.characters( + keep his case coo, 33) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Addin an 18" Fan!! WOW!!, 24) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.envador.com/Photos/PVCII/', target='_blank') +SAX.startElement(img, src='doc3_files/TN_OpenedUp1.jpg') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Click to go to his , 19) +SAX.characters( + site., 18) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964631110,84122,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(What the heck is a , 19) +SAX.characters( + Peltier?!?!, 24) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:Holodeck@bp6.com') +SAX.characters(Holodeck2, 9) +SAX.endElement(a) +SAX.characters( @ 10:05AM , 11) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964631110,84122,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(6 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(This is for all you people who, 38) +SAX.characters( + to know what a pe, 39) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(The quest fo the Perfect , 25) +SAX.characters( + Peltier, 20) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.tweakmax.com/html/peltier/peltier-1.cfm', target='_blank') +SAX.startElement(img, src='doc3_files/peltier.jpg') +SAX.endElement(img) +SAX.endElement(a) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Thanks to , 10) +SAX.characters( + , 13) +SAX.startElement(a, href='http://www.tweakmax.com/', target='_blank') +SAX.characters(TweakMax.com, 12) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Note: Today morning when I wok, 57) +SAX.characters( + cluttered with a , 78) +SAX.characters( + live somewhere el, 80) +SAX.characters( + If you live in Eu, 81) +SAX.characters( + sleeping it would, 78) +SAX.characters( + know , 18) +SAX.startElement(img, src='doc3_files/smile.gif') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(I'm not angry at anyone... , 27) +SAX.characters( + good thing I have, 43) +SAX.startElement(img, src='doc3_files/tongue.gif') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964587833,74573,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Tuesday, , 9) +SAX.characters( + July 25, 20, 32) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(HELLO , 6) +SAX.characters( + EVERYONE!!!, 24) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:Holodeck@bp6.com') +SAX.characters(Holodeck2, 9) +SAX.endElement(a) +SAX.characters( @ 10:03PM , 11) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Hello , 6) +SAX.characters( + everyone, Woohoo!, 40) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Who is this Holodeck2 person , 29) +SAX.characters( + anyways?!?! Read , 36) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(I, 1) +SAX.characters(’, 3) +SAX.characters(m a regular on the bp6 message, 37) +SAX.characters( + trying to help pe, 59) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(I, 1) +SAX.characters(’, 3) +SAX.characters(m the , 6) +SAX.characters( + self-proclaimed b, 78) +SAX.characters(’, 3) +SAX.characters(ve , 3) +SAX.characters( + probably already , 64) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(My computer , 12) +SAX.characters( + is always on so y, 80) +SAX.characters( + always in front o, 74) +SAX.characters( + everyone happy :-, 31) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Any Questions or comments, you, 42) +SAX.characters( + contact me or pos, 55) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Ways to contact , 16) +SAX.characters( + me., 16) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(E-mail: , 8) +SAX.startElement(a, href='mailto:Holodeck2@home.com') +SAX.characters(Holodeck2@home.com, 18) +SAX.endElement(a) +SAX.characters( (All E-mails , 14) +SAX.characters( + will be answered , 67) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(When you , 9) +SAX.characters( + write me an e-mai, 78) +SAX.characters( + rest of your subj, 74) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.aol.com/aim') +SAX.characters(AIM: , 5) +SAX.endElement(a) +SAX.characters(Holodeck2 (instant response , 28) +SAX.characters( + if I, 17) +SAX.characters(’, 3) +SAX.characters(m in front of my comp and not , 53) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.icq.com/download') +SAX.characters(ICQ: , 5) +SAX.endElement(a) +SAX.characters(82640218 (rarely , 17) +SAX.characters( + on), 16) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(P.S. If someone named , 22) +SAX.characters(“, 3) +SAX.characters(Digital Vortex, 14) +SAX.characters(”, 3) +SAX.characters( on either Quake 3 , 19) +SAX.characters( + or 2 frags you, i, 31) +SAX.characters(’, 3) +SAX.characters(s probably me. ;-), 18) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964429577,13375,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Monday, , 8) +SAX.characters( + July 24, 20, 32) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(BP6 Q3 server up and , 21) +SAX.characters( + running.., 22) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:tim@bp6.com') +SAX.characters(tim, 3) +SAX.endElement(a) +SAX.characters( @ 2:06AM PDT, 13) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964429577,13375,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(3 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Setup a Q3 server for anyone w, 37) +SAX.characters( + to practice in pr, 81) +SAX.characters( + default port. (SE, 80) +SAX.characters( + connection)... Wi, 81) +SAX.characters( + is only a tempora, 72) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters((BTW- , 6) +SAX.characters( + there are a few b, 61) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem964425184,95812,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(BIOS Savior to the , 19) +SAX.characters( + rescue...., 23) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:tim@bp6.com') +SAX.characters(tim, 3) +SAX.endElement(a) +SAX.characters( @ 12:53AM PDT, 14) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/964425184,95812,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(2 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Do you sweat during the BIOS f, 38) +SAX.characters( + procedure on your, 77) +SAX.characters( + worth a first loo, 50) +SAX.startElement(b) +SAX.characters(RD1 BIOS Savior, 15) +SAX.endElement(b) +SAX.characters(" and it , 9) +SAX.characters( + plugs in between , 82) +SAX.characters( + This device will , 81) +SAX.characters( + BIOS in the event, 77) +SAX.characters( + event of a bad fl, 82) +SAX.characters( + system, and flash, 82) +SAX.characters( + don't believe in , 82) +SAX.characters( + link), 18) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.ioss.com.tw/eg/rd1/RD1info0004.PDF', target='_NEW') +SAX.characters(Manufacturers Brochure, 22) +SAX.endElement(a) +SAX.characters( (PDF Format), 13) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://192.216.185.10/mwave/doc/A06950.html', target='_BLANK"') +SAX.characters(Another info page, 17) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://192.216.185.10/mwave/ProdMB-AC-MW.hmx?UID=&CID=&updepts=MB&DNAME=%3Cb%3EMotherboards%3C%2Fb%3E&Back=ProdMB-AC-MW.hmx?', target='_BLANK') +SAX.characters(Available for about $20, 23) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(img, src='doc3_files/rd1.jpg') +SAX.endElement(img) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963875853,12731,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Monday, , 8) +SAX.characters( + July 17, 20, 32) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(How To , 7) +SAX.characters( + Overclock, 22) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:killz@i82hq.com') +SAX.characters(DareDevil, 9) +SAX.endElement(a) +SAX.characters( @ 4:17PM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963875853,12731,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(3 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(For those of you who are new t, 32) +SAX.characters( + overclocking, thi, 80) +SAX.characters( + what some of the , 77) +SAX.characters( + :0)), 17) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://netkills.qgl.org/a_oc_comp.shtml', target='_blank') +SAX.characters(How To Overclock, 16) +SAX.endElement(a) +SAX.characters( , 1) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963875485,23353,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(The Cardcooler , 15) +SAX.characters( + XT, 15) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:killz@i82hq.com') +SAX.characters(DareDevil, 9) +SAX.endElement(a) +SAX.characters( @ 4:11PM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963875485,23353,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(1 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Wow! I am impressed! Nevermind, 39) +SAX.characters( + the CPU's cool..., 58) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Even if your , 13) +SAX.characters( + not overclocking , 78) +SAX.characters( + provide system st, 82) +SAX.characters( + your GeForce or C, 75) +SAX.characters( + cooling unit as a, 72) +SAX.characters( + system., 20) +SAX.endElement(i) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Check this out!, 15) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.brokenpixel.com/articles/coolerXT/cardcoolerXT_1.shtml', target='_blank') +SAX.characters(http://www.brokenpixel.com/art, 65) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963859982,88982,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters('Nerd , 6) +SAX.characters( + Inside', 20) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:killz@i82hq.com') +SAX.characters(DareDevil, 9) +SAX.endElement(a) +SAX.characters( @ 11:53AM , 11) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963859982,88982,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(1 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(We all need to have some fun , 29) +SAX.characters( + sometimes! Check , 82) +SAX.characters( + ;) (I like the bi, 68) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 13) +SAX.startElement(div, align='center') +SAX.startElement(a, href='http://www.nerdgear.com/', target='_blank') +SAX.startElement(img, border='0', src='doc3_files/nerdinside.gif') +SAX.endElement(img) +SAX.endElement(a) +SAX.endElement(div) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963819796,9688,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Dual PSU Wiring diagram... (pr, 39) +SAX.characters( + Part 1 Watercooli, 41) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:tim@bp6.com') +SAX.characters(tim, 3) +SAX.endElement(a) +SAX.characters( @ 12:43AM PDT, 14) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963819796,9688,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(11 comments, 11) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(When is comes to overclocking , 35) +SAX.characters( + system, cooling p, 82) +SAX.characters( + system can cause , 78) +SAX.characters( + Depending on the , 82) +SAX.characters( + powerfull PSU or , 72) +SAX.characters( + watercooling and , 79) +SAX.characters( + the Peltiers (TEC, 77) +SAX.characters( + diagrams on how I, 82) +SAX.characters( + Blizzard BP6 wate, 78) +SAX.characters( + More will follow , 77) +SAX.characters( + dangerous and is , 82) +SAX.characters( + , 13) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(View Diagram 1 , 15) +SAX.startElement(a, href='http://bp6.gamesquad.net/images/wiring.jpg', target='_BLANK') +SAX.characters(here, 4) +SAX.endElement(a) +SAX.characters(., 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(View Diagram 2 , 15) +SAX.startElement(a, href='http://bp6.gamesquad.net/images/psu2.gif', target='_BLANK') +SAX.characters(here, 4) +SAX.endElement(a) +SAX.characters(., 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(I used Tap-In Squeeze Connecto, 37) +SAX.characters( + 22 guage wire to , 81) +SAX.characters( + Part# 64-3053 or , 30) +SAX.startElement(a, href='http://www.radioshack.com/ProductCatalog/ProductDetail/Index/1,2098,,00.html?SKUString1=64&SKUString2=3053', target='_blank') +SAX.characters(click here, 10) +SAX.endElement(a) +SAX.characters(., 1) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963766655,78511,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Sunday, , 8) +SAX.characters( + July 16, 20, 32) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(RAM Overclocking? , 18) +SAX.characters( + Hmmmmm., 20) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:killz@i82hq.com') +SAX.characters(DareDevil, 9) +SAX.endElement(a) +SAX.characters( @ 9:57AM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963766655,78511,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(3 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(I know we're pretty big overcl, 37) +SAX.characters( + here at BP6.Com s, 76) +SAX.characters( + question in the m, 81) +SAX.characters( + Well, it's not al, 81) +SAX.characters( + things need to be, 75) +SAX.characters( + devices (can they, 81) +SAX.characters( + your RAM. I'm not, 80) +SAX.characters( + will enable you t, 82) +SAX.characters( + will certainly he, 35) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Extreme Overclocking has teste, 32) +SAX.characters( + (overclocked) PC1, 79) +SAX.characters( + found and the lin, 32) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Well, the guys at Extreme Over, 39) +SAX.characters( + have been hard at, 78) +SAX.characters( + they have put sev, 80) +SAX.characters( + tests to determin, 82) +SAX.characters( + came out on top? , 61) +SAX.endElement(i) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.extremeoverclocking.com/reviews/memory/ram_roundup_1.html', target='_blank') +SAX.characters(Cooked RAM... Yummie, 20) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(The , 4) +SAX.characters( + ÐÐ., 18) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963764236,76720,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(CPU , 4) +SAX.characters( + Guide, 18) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:killz@i82hq.com') +SAX.characters(DareDevil, 9) +SAX.endElement(a) +SAX.characters( @ 9:17AM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963764236,76720,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(0 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(A follow up on the 'Weekly CPU, 31) +SAX.characters( + Prices', this gui, 79) +SAX.characters( + you (and your boa, 72) +SAX.characters( + link:, 18) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 13) +SAX.startElement(li) +SAX.startElement(a, href='http://www6.tomshardware.com/howto/00q2/000412/index.html', target='_blank') +SAX.characters(http://www6.tomshardware.com/h, 57) +SAX.endElement(a) +SAX.endElement(li) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963685749,28290,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Saturday, , 10) +SAX.characters( + July 15, 20, 32) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Weekly CPU , 11) +SAX.characters( + Prices, 19) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:killz@i82hq.com') +SAX.characters(DareDevil, 9) +SAX.endElement(a) +SAX.characters( @ 11:29AM , 11) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963685749,28290,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(2 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Wow, found this very useful! W, 37) +SAX.characters( + to buy a new CPU?, 66) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.sharkyextreme.com/hardware/weekly_cpu/', target='_blank') +SAX.characters(Click Here., 11) +SAX.endElement(a) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Thanks Sharky , 14) +SAX.characters( + Extreme!, 21) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963679881,35277,') +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Fast Wallpapers, 15) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:killz@i82hq.com') +SAX.characters(DareDevil, 9) +SAX.endElement(a) +SAX.characters( @ 9:51AM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963679881,35277,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(0 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(FAST-MHz has released some wal, 39) +SAX.characters( + , 13) +SAX.startElement(a, href='http://64.29.18.111/wallpaper/index.html', target='_blank') +SAX.characters(Click here, 10) +SAX.endElement(a) +SAX.characters( to view them. They come in si, 34) +SAX.characters( + 800x600 1024x768 , 78) +SAX.characters( + larger size, just, 80) +SAX.characters( + instead of 'cente, 46) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(In other news, we want to , 26) +SAX.characters( + finnish off all t, 82) +SAX.characters( + work on the , 25) +SAX.startElement(a, href='http://bp6.gamesquad.net/uc.phtml', target='_blank') +SAX.characters(Picture Gallery, 15) +SAX.endElement(a) +SAX.characters(. To help us out, you can send, 34) +SAX.characters( + all your cool, wi, 68) +SAX.startElement(a, href='mailto:thedaredevil@bp6.com') +SAX.characters(thedaredevil@bp6.com, 20) +SAX.endElement(a) +SAX.characters(. (The , 7) +SAX.characters( + topic being compu, 79) +SAX.characters( + any porno piccies, 79) +SAX.characters( + guys., 18) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Okay, that's all for now., 25) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(The , 4) +SAX.characters( + ÐÐ., 18) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, name='newsitem963619505,3764,') +SAX.endElement(a) +SAX.characters( + , 13) +SAX.startElement(table, bgcolor='#003399', width='100%') +SAX.characters( + , 15) +SAX.startElement(tbody) +SAX.characters( + , 15) +SAX.startElement(tr) +SAX.characters( + , 17) +SAX.startElement(td) +SAX.startElement(font, color='#ffffff', face='Verdana,arial', size='2') +SAX.startElement(b) +SAX.characters(Friday, , 8) +SAX.characters( + July 14, 20, 32) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment(
    ) +SAX.startElement(b) +SAX.startElement(u) +SAX.startElement(font, color='#003366', face='Verdana, Arial', size='2') +SAX.characters(Hey , 4) +SAX.characters( + There!, 19) +SAX.endElement(font) +SAX.endElement(u) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#0066cc', face='Arial', size='1') +SAX.startElement(small) +SAX.characters(Posted by , 10) +SAX.startElement(a, class='nav', href='mailto:killz@i82hq.com') +SAX.characters(DareDevil, 9) +SAX.endElement(a) +SAX.characters( @ 5:05PM , 10) +SAX.characters( + PDT, 16) +SAX.endElement(small) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.startElement(a, href='http://bp6.gamesquad.net/news/963619505,3764,.html') +SAX.startElement(img, border='0', src='doc3_files/comments.gif') +SAX.endElement(img) +SAX.characters(7 comments, 10) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.startElement(a, href='http://bp6.gamesquad.net/#news_top') +SAX.characters(top, 3) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='black', face='Arial', size='2') +SAX.characters(Hey guys, just wanted to intro, 35) +SAX.characters( + myself, some of y, 79) +SAX.characters( + I'll be posting u, 82) +SAX.characters( + may send me some , 80) +SAX.characters( + to flood Tim ;-) , 32) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(My e-mail address is , 21) +SAX.startElement(a, href='mailto:killz@i82hq.com') +SAX.characters(killz@i82hq.com, 15) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Ciao for , 9) +SAX.characters( + now., 17) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(The ÐÐ., 9) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 13) +SAX.endElement(font) +SAX.startElement(center) +SAX.startElement(iframe, frameborder='0', height='60', marginheight='0', marginwidth='0', noresize, scrolling='no', src='doc3_files/ad_iframe.htm', width='468') +SAX.cdata(<a href="http://ads.adfligh, 202) +SAX.endElement(iframe) +SAX.endElement(center) +SAX.error: Unexpected end tag : li +SAX.error: Unexpected end tag : font +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.endElement(center) +SAX.error: Unexpected end tag : p +SAX.endElement(td) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='silver', valign='top', width='10%') +SAX.characters( + , 7) +SAX.startElement(center) +SAX.characters( + , 7) +SAX.startElement(p) +SAX.characters( + , 7) +SAX.endElement(p) +SAX.startElement(table, bgcolor='silver', border='0', cellpadding='0', cellspacing='0', width='100%') +SAX.characters( + , 9) +SAX.startElement(tbody) +SAX.characters( + , 9) +SAX.startElement(tr) +SAX.characters( + , 11) +SAX.startElement(td, colstart='1') +SAX.characters( + , 13) +SAX.startElement(center) +SAX.comment(
    +
    +

    Newsletter
    +
    +
    +

    ) +SAX.characters( + , 13) +SAX.startElement(form, action='http://bp6.gamesquad.net/cgi-bin/news/viewnews.cgi?emaillist', method='post') +SAX.startElement(img, height='1', src='doc3_files/spacer.gif', width='111') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1') +SAX.characters(Newsletter, 10) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(input, name='npemail', size='13', value='e-mail addr.') +SAX.endElement(input) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(input, name='npsubscribe', style='BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold', type='submit', value='Subscribe') +SAX.endElement(input) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( ) +SAX.endElement(font) +SAX.endElement(form) +SAX.startElement(font, size='1') +SAX.characters( + , 13) +SAX.startElement(form, action='http://bp6.gamesquad.net/cgi-bin/news/viewnews.cgi?search', method='post') +SAX.characters(Search news, 11) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(input, name='searchstring', size='13') +SAX.endElement(input) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(input, name='submit', style='BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold', type='submit', value='Submit') +SAX.endElement(input) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://bp6.gamesquad.net/cgi-bin/news/viewnews.cgi?newsall') +SAX.characters(News , 5) +SAX.characters( + archive, 20) +SAX.endElement(a) +SAX.endElement(form) +SAX.endElement(font) +SAX.characters( , 1) +SAX.error: Unexpected end tag : form +SAX.endElement(center) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.comment( + + + +
    +

    +

    +) +SAX.characters( + , 7) +SAX.startElement(table, bgcolor='silver', border='0', cellpadding='0', cellspacing='0', width='100%') +SAX.characters( + , 9) +SAX.startElement(tbody) +SAX.characters( + , 9) +SAX.startElement(tr) +SAX.characters( + , 11) +SAX.startElement(td, align='middle', width='100%') +SAX.comment( BEGIN GoTo.com Search Box ) +SAX.characters( + , 13) +SAX.startElement(script, language='javascript', type='text/javascript') +SAX.cdata( + <!--, 12) +SAX.cdata( + if ((parseInt(navigato, 49) +SAX.cdata( + && (navigator., 47) +SAX.cdata( + document.write("<IF, 64) +SAX.cdata( + document.write("margin, 70) +SAX.cdata( + document.write("=90 "), 31) +SAX.cdata( + document.write("SRC=ht, 70) +SAX.cdata( + document.write("ype=ht, 70) +SAX.cdata( + document.write("m/d/se, 70) +SAX.cdata( + document.write("42DF84, 51) +SAX.cdata( + } else if ((parseInt(n, 55) +SAX.cdata( + && (navigator., 47) +SAX.cdata( + document.write("<SC, 70) +SAX.cdata( + document.write("cript , 33) +SAX.cdata( + document.write("SRC=ht, 70) +SAX.cdata( + document.write("ype=js, 70) +SAX.cdata( + document.write("d/sear, 70) +SAX.cdata( + document.write("DF8478, 44) +SAX.cdata( + document.write("RIPT, 32) +SAX.cdata( + } else {, 16) +SAX.cdata( + document.write("<A , 44) +SAX.cdata( + document.write("HREF=h, 70) +SAX.cdata( + document.write("GIF=tr, 36) +SAX.cdata( + document.write("<IM, 38) +SAX.cdata( + document.write("SRC=ht, 70) +SAX.cdata( + document.write("ype=gi, 51) +SAX.cdata( + }, 9) +SAX.cdata( + // -->, 14) +SAX.cdata( + , 8) +SAX.endElement(script) +SAX.characters( + , 13) +SAX.startElement(b) +SAX.startElement(noscript) +SAX.endElement(noscript) +SAX.endElement(b) +SAX.startElement(a, href='http://www.goto.com/d/search/ssn/?fromGIF=true', target='_blank') +SAX.startElement(img, align='bottom', border='0', height='90', ismap, src='doc3_files/100x90.gif', width='100') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(b) +SAX.startElement(a, href='http://www.goto.com/d/search/ssn/?fromGIF=true', target='_blank') +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.endElement(a) +SAX.error: Unexpected end tag : a +SAX.endElement(b) +SAX.startElement(b) +SAX.error: Unexpected end tag : noscript +SAX.endElement(b) +SAX.startElement(b) +SAX.comment( END GoTo.com Search Box ) +SAX.endElement(b) +SAX.comment( Pricewatch Search Box ) +SAX.characters( + , 13) +SAX.startElement(form, action='http://www.pricewatch.com/search/search.asp', method='get', target='_Blank') +SAX.characters( + , 13) +SAX.startElement(center) +SAX.characters( + , 13) +SAX.startElement(p) +SAX.startElement(b) +SAX.startElement(font, color='white', face='ARIAL, HELVETICA', size='1') +SAX.characters(PC Price , 9) +SAX.characters( + Search, 19) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.endElement(b) +SAX.startElement(input, maxlength='30', name='criteria', size='10') +SAX.endElement(input) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(input, name='submit', style='BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold', type='submit', value='Search') +SAX.endElement(input) +SAX.characters( , 1) +SAX.characters( + , 13) +SAX.endElement(p) +SAX.error: Opening and ending tag mismatch: form and center +SAX.endElement(center) +SAX.endElement(form) +SAX.comment( Pricewatch Search Box ) +SAX.startElement(a, href='http://www.puicorp.com/bp6specials.htm', target='_BLANK') +SAX.startElement(img, src='doc3_files/puibp6.gif') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://store.yahoo.com/dunamis-site/maxtor.html', target='_BLANK') +SAX.startElement(img, alt='BP6.com Special - Enter CODE: BP6-hd in the order (notes) to receive a discount', src='doc3_files/hd5.gif') +SAX.endElement(img) +SAX.startElement(font, size='1') +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(BP6.COM , 8) +SAX.characters( + Special, 20) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Code:BP6-hd, 11) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.error: Unexpected end tag : p +SAX.error: Opening and ending tag mismatch: center and td +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.characters( + , 7) +SAX.startElement(table, bgcolor='silver', border='0', cellpadding='0', cellspacing='0', height='100%', width='100%') +SAX.characters( + , 9) +SAX.startElement(tbody) +SAX.characters( + , 9) +SAX.startElement(tr) +SAX.characters( + , 11) +SAX.startElement(td, width='100%') +SAX.characters( , 2) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.error: Unexpected end tag : p +SAX.endElement(center) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.comment( ) +SAX.characters( +, 1) +SAX.startElement(center) +SAX.endElement(center) +SAX.error: Unexpected end tag : td +SAX.error: Unexpected end tag : tr +SAX.startElement(tr) +SAX.startElement(td, colspan='3', valign='TOP', height='70') +SAX.characters( , 2) +SAX.endElement(td) +SAX.characters( , 1) +SAX.endElement(tr) +SAX.error: Unexpected end tag : table +SAX.characters( +, 1) +SAX.startElement(table, border='0', width='780') +SAX.characters( + , 3) +SAX.startElement(tbody) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, width='780') +SAX.characters( + , 7) +SAX.startElement(p, align='center') +SAX.startElement(font, color='#999999', face='verdana,arial', size='1') +SAX.characters(Copyright , 10) +SAX.characters( + ©1999-2000 BP6.com, 48) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Got news? Send it to , 21) +SAX.endElement(font) +SAX.startElement(a, href='mailto:tim@bp6.com') +SAX.startElement(font, color='white', face='Verdana', size='1') +SAX.characters(Tim, 3) +SAX.endElement(font) +SAX.endElement(a) +SAX.characters( , 1) +SAX.endElement(p) +SAX.endElement(td) +SAX.endElement(tr) +SAX.comment(

    Site design by Tim Brinkley ) +SAX.endElement(tbody) +SAX.endElement(table) +SAX.endElement(div) +SAX.characters( +, 1) +SAX.startElement(script) +SAX.cdata( window.open=NS_ActualOpen; , 28) +SAX.endElement(script) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities.html new file mode 100644 index 0000000000000000000000000000000000000000..f84424ceeb1d1c08dd9a4288483c6b17f84a4b4a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities.html @@ -0,0 +1,8 @@ + + +

    +a&b +a&b +a & b +

    + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..5d629cdeac5d3312b50a001dad3904970d250278 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities.html.sax @@ -0,0 +1,18 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.startElement(body) +SAX.startElement(p, tst='a&b', tst2='a&b', tst3='a & b') +SAX.characters( +a, 2) +SAX.characters(&, 1) +SAX.characters(b +a&b +a & b +, 12) +SAX.endElement(p) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities2.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities2.html new file mode 100644 index 0000000000000000000000000000000000000000..8e854d3c32381598095128d2c3147f82af25eb54 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities2.html @@ -0,0 +1,8 @@ + + + +
    + +
    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities2.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities2.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..131b81365fac87f6aaf5e53f4a6edc08a49afcdb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/entities2.html.sax @@ -0,0 +1,23 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(form) +SAX.characters( + , 3) +SAX.startElement(input, type='text', name='test', value='š') +SAX.endElement(input) +SAX.characters( +, 1) +SAX.endElement(form) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/fp40.htm b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/fp40.htm new file mode 100644 index 0000000000000000000000000000000000000000..8affc19dd750a86ad915cc64888bca99b6d562af --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/fp40.htm @@ -0,0 +1,167 @@ + + + + + +README - Microsoft FrontPage 2000 Server Extensions + + + + + +

    Microsoft FrontPage 2000 Server Extensions, UNIX

    + +© Copyright Microsoft Corporation, 1999  + + +

    The FrontPage Server Extensions are a set of programs on the Web server that support: + +

    +
      +
    • Authoring FrontPage webs
    • +
    • Administering FrontPage webs
    • +
    • Browse-time FrontPage web functionality
    • +
    + + +

    Contents 

    + +Release Notes
    +Resources for More Information +

     

    +
    +

    Release Notes

    + +

    This section provides complementary or late-breaking +information to supplement the Microsoft FrontPage Server Extensions documentation.

    + +

    Apache 1.3.4 Support
    +Upgrading from previous version of FrontPage Server Extensions
    +Uploading files into executable folders

    + + +

    Top of Page

    + + +

    Apache 1.3.4 Support

    + +

    You need to take some special steps to run the FrontPage Server Extensions with Apache 1.3.4. +FrontPage Server Extensions expect to find all resource directives in the main server +configuration file, usually http.conf. To prevent the server extensions from using any secondary +configuration files (access.conf, srm.conf), add the following lines to http.conf:

    + + +
    +
    + +ResourceConfig /dev/null 
    +AccessConfig /dev/null
    +
    + + + +

    If you have some settings stored in secondary configuration files, move them to http.conf.

    + +

    You must stop and restart the web server for your changes to http.conf to take effect.

    + + + +

    Top of Section

    + + + +

    Upgrading from previous version of FrontPage Server Extensions

    + +

    Custom entries in frontpage.cnf are not migrated to FrontPage 2000.

    + +

    When you install FrontPage 2000 Server Extensions, a new frontpage.cnf file is created in the /usr/local/frontpage/version4.0 directory. +Any custom settings stored in a previous-version frontpage.cnf are not used. However, you can copy +your custom settings from the previous-version frontpage.cnf file after you install the FrontPage 2000 Server Extensions.

    + +

    Do not overwrite the FrontPage 2000 frontpage.cnf file with a frontpage.cnf file from an +earlier version of the FrontPage Server Extensions.

    + + + +

    Top of Section

    + + + +

    Uploading files into executable folders

    + + +

    After upgrading to FrontPage 2000, FrontPage authors will not be able to upload files into +executable folders. For security reasons, the default setting on FrontPage 2000 webs does not +allow authors to upload executable files into executable folders in a FrontPage web. This +setting protects servers so that authors do not inadvertently upload a program containing a bug +or a virus.

    + +

    To allow FrontPage authors to upload executables, set the NoExecutableCgiUpload configuration +variable to zero (0). For information about FrontPage Server Extension configuration variables, +see the FrontPage 2000 Server Extensions Resource Kit at http://officeupdate.microsoft.com/frontpage/wpp/serk/.

    + + + +

    Top of Section

    + + + +
    + + + +

    Resources for More Information

    + +

    This section lists sources of more information about the +FrontPage Server Extensions.

    + +

    Server Extensions Resource Kit
    +Server Extensions Resource Kit Update
    +Knowledge Base

    + + +

    Top of Page

    + + +

    Server Extensions Resource Kit

    + +

    The FrontPage 2000 Server Extensions include a full set of documentation: the Server +Extensions Resource Kit. This is an HTML document installed on the server machine (by +default) in /usr/local/frontpage/version4.0/serk. To view the Server Extensions Resource +Kit, open /usr/local/frontpage/version4.0/serk/default.htm in your Web browser.

    + +

    The Server Extensions Resource Kit contains detailed information about installing and +administering the FrontPage Server Extensions along with an overview of the Server +Extensions, a detailed discussion of Server Extensions security on UNIX and Windows, +troubleshooting information, and a full set of appendixes.

    + +

    Top of Section

    + + +

    Server Extensions Resource Kit Update

    + +

    For updated information about installing, setting up, and administrating the FrontPage Server +Extensions, see the Server Extensions Resource Kit Update at: http://officeupdate.microsoft.com/frontpage/wpp/serk/.

    + + +

    Top of Section

    + + +

    Microsoft Knowledge Base

    + +

    For further technical information on FrontPage, please consult Support Online. Use Support +Online to easily search Microsoft Product Support Services' collection of resources including +technical articles from Microsoft's extensive Knowledge Base, FAQs, & troubleshooters to find +fast, accurate answers. You can also customize the site to control your search using either +keywords or the site's natural language search engine, which uses normal everyday language for +answering inquiries, so you can write your question in your own words. To begin, go to +http://support.microsoft.com/support/.

    + +

    Top of Section

    + + +

     

    + +
    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/fp40.htm.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/fp40.htm.sax new file mode 100644 index 0000000000000000000000000000000000000000..f667ba210571f1f412c3007147b0be189d0eaafd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/fp40.htm.sax @@ -0,0 +1,459 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(html, -//IETF//DTD HTML//EN, ) +SAX.startElement(html) +SAX.characters( + +, 2) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(meta, name='GENERATOR', content='Microsoft FrontPage 4.0') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(README - Microsoft FrontPage 2, 51) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.startElement(meta, name='Microsoft Theme', content='none') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( + +, 2) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(font, face='Verdana') +SAX.characters( +, 1) +SAX.startElement(h1) +SAX.startElement(a, name='top') +SAX.characters(Microsoft FrontPage 2000 Serve, 48) +SAX.endElement(a) +SAX.endElement(h1) +SAX.characters( + +, 2) +SAX.startElement(font, size='2') +SAX.startElement(i) +SAX.characters(© Copyright Microsoft Cor, 40) +SAX.characters( , 2) +SAX.endElement(i) +SAX.endElement(font) +SAX.characters( + + +, 3) +SAX.startElement(p) +SAX.characters(The FrontPage Server Extension, 88) +SAX.endElement(p) +SAX.startElement(ul) +SAX.characters( + , 3) +SAX.startElement(li) +SAX.characters(Authoring FrontPage webs, 24) +SAX.endElement(li) +SAX.characters( + , 3) +SAX.startElement(li) +SAX.characters(Administering FrontPage webs, 28) +SAX.endElement(li) +SAX.characters( + , 3) +SAX.startElement(li) +SAX.characters(Browse-time FrontPage web func, 39) +SAX.endElement(li) +SAX.characters( +, 1) +SAX.endElement(ul) +SAX.characters( + + +, 3) +SAX.startElement(h2) +SAX.characters(Contents, 8) +SAX.characters( , 2) +SAX.endElement(h2) +SAX.characters( + +, 2) +SAX.startElement(a, href='#relnotes') +SAX.characters(Release Notes, 13) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='#moreinfo') +SAX.characters(Resources for More Information, 30) +SAX.endElement(a) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( , 2) +SAX.endElement(p) +SAX.characters( +, 1) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.characters( +, 1) +SAX.startElement(h2) +SAX.startElement(a, name='relnotes') +SAX.characters(Release Notes, 13) +SAX.endElement(a) +SAX.endElement(h2) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(This section provides compleme, 136) +SAX.endElement(p) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.startElement(a, href='#apache') +SAX.characters(Apache 1.3.4 Support, 20) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='#upgrading') +SAX.characters(Upgrading from previous versio, 62) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='#executables') +SAX.characters(Uploading files into executabl, 39) +SAX.endElement(a) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.startElement(p, align='right') +SAX.startElement(font, size='1') +SAX.startElement(a, href='#top') +SAX.characters(Top of Page, 11) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.startElement(h3) +SAX.startElement(a, name='apache') +SAX.characters(Apache 1.3.4 Support, 20) +SAX.endElement(a) +SAX.endElement(h3) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(You need to take some special , 360) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.endElement(font) +SAX.characters( +, 1) +SAX.startElement(blockquote) +SAX.characters( + , 3) +SAX.startElement(font, face='Courier New') +SAX.characters( +ResourceConfig /dev/null, 25) +SAX.characters( , 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +AccessConfig /dev/null, 23) +SAX.endElement(font) +SAX.characters( +, 1) +SAX.endElement(blockquote) +SAX.characters( +, 1) +SAX.startElement(font, face='Verdana') +SAX.characters( + + +, 3) +SAX.startElement(p) +SAX.characters(If you have some settings stor, 90) +SAX.endElement(p) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(You must stop and restart the , 86) +SAX.endElement(p) +SAX.characters( + + + +, 4) +SAX.startElement(p, align='right') +SAX.startElement(font, size='1') +SAX.startElement(a, href='#relnotes') +SAX.characters(Top of Section, 14) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(p) +SAX.characters( + + + +, 4) +SAX.startElement(h3) +SAX.startElement(a, name='upgrading') +SAX.characters(Upgrading from previous versio, 62) +SAX.endElement(a) +SAX.endElement(h3) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(Custom entries in frontpage.cn, 67) +SAX.endElement(p) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(When you install FrontPage 200, 359) +SAX.endElement(p) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(Do not overwrite the FrontPage, 141) +SAX.endElement(p) +SAX.characters( + + + +, 4) +SAX.startElement(p, align='right') +SAX.startElement(font, size='1') +SAX.startElement(a, href='#relnotes') +SAX.characters(Top of Section, 14) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(p) +SAX.characters( + + + +, 4) +SAX.startElement(h3) +SAX.startElement(a, name='executables') +SAX.characters(Uploading files into executabl, 39) +SAX.endElement(a) +SAX.endElement(h3) +SAX.characters( + + +, 3) +SAX.startElement(p) +SAX.characters(After upgrading to FrontPage 2, 385) +SAX.endElement(p) +SAX.characters( + +, 3) +SAX.startElement(p) +SAX.characters(To allow FrontPage authors to , 249) +SAX.startElement(a, href='http://officeupdate.microsoft.com/frontpage/wpp/serk/') +SAX.characters(http://officeupdate.microsoft., 53) +SAX.endElement(a) +SAX.characters(., 1) +SAX.endElement(p) +SAX.characters( + + + +, 4) +SAX.startElement(p, align='right') +SAX.startElement(font, size='1') +SAX.startElement(a, href='#relnotes') +SAX.characters(Top of Section, 14) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(p) +SAX.characters( + + + +, 4) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.characters( + + + +, 4) +SAX.startElement(h2) +SAX.startElement(a, name='moreinfo') +SAX.characters(Resources for More Information, 30) +SAX.endElement(a) +SAX.endElement(h2) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(This section lists sources of , 85) +SAX.endElement(p) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.startElement(a, href='#serk') +SAX.characters(Server Extensions Resource Kit, 30) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='#serkupdate') +SAX.characters(Server Extensions Resource Kit, 37) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='#kb') +SAX.characters(Knowledge Base, 14) +SAX.endElement(a) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.startElement(p, align='right') +SAX.startElement(font, size='1') +SAX.startElement(a, href='#top') +SAX.characters(Top of Page, 11) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.startElement(h3) +SAX.startElement(a, name='serk') +SAX.characters(Server Extensions Resource Kit, 30) +SAX.endElement(a) +SAX.endElement(h3) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(The FrontPage 2000 Server Exte, 339) +SAX.endElement(p) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(The Server Extensions Resource, 312) +SAX.endElement(p) +SAX.characters( + +, 2) +SAX.startElement(p, align='right') +SAX.startElement(font, size='1') +SAX.startElement(a, href='#moreinfo') +SAX.characters(Top of Section, 14) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.startElement(h3) +SAX.startElement(a, name='serkupdate') +SAX.characters(Server Extensions Resource Kit, 37) +SAX.endElement(a) +SAX.endElement(h3) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(For updated information about , 157) +SAX.startElement(a, href='http://officeupdate.microsoft.com/frontpage/wpp/serk/') +SAX.characters(http://officeupdate.microsoft., 53) +SAX.endElement(a) +SAX.characters(., 1) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.startElement(p, align='right') +SAX.startElement(font, size='1') +SAX.startElement(a, href='#moreinfo') +SAX.characters(Top of Section, 14) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.startElement(h3) +SAX.startElement(a, name='kb') +SAX.characters(Microsoft Knowledge Base, 24) +SAX.endElement(a) +SAX.endElement(h3) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.characters(For further technical informat, 557) +SAX.startElement(a, href='http://support.microsoft.com/support/') +SAX.characters(http://support.microsoft.com/s, 37) +SAX.endElement(a) +SAX.characters(., 1) +SAX.endElement(p) +SAX.characters( + +, 4) +SAX.startElement(p, align='right') +SAX.startElement(font, size='1') +SAX.startElement(a, href='#moreinfo') +SAX.characters(Top of Section, 14) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(p) +SAX.characters( + + +, 3) +SAX.startElement(p) +SAX.characters( , 2) +SAX.endElement(p) +SAX.characters( + +, 4) +SAX.endElement(font) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5-entities.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5-entities.html new file mode 100644 index 0000000000000000000000000000000000000000..3048294426b00f657f8c0200954ee17eb38b87ba --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5-entities.html @@ -0,0 +1,4259 @@ + + + + + + +Æ +Æ +& +& +à +à +&Abreve +Ä‚ + + +&Acy +Ð +&Afr +𔄠+À +À +&Alpha +Α +&Amacr +Ä€ +&And +â©“ +&Aogon +Ä„ +&Aopf +𔸠+&ApplyFunction +â¡ +Ã… +Ã… +&Ascr +𒜠+&Assign +≔ +à +à +Ä +Ä +&Backslash +∖ +&Barv +â«§ +&Barwed +⌆ +&Bcy +Б +&Because +∵ +&Bernoullis +ℬ +&Beta +Î’ +&Bfr +ð”… +&Bopf +𔹠+&Breve +˘ +&Bscr +ℬ +&Bumpeq +≎ +&CHcy +Ч +© +© +&Cacute +Ć +&Cap +â‹’ +&CapitalDifferentialD +â…… +&Cayleys +â„­ +&Ccaron +ÄŒ +Ç +Ç +&Ccirc +Ĉ +&Cconint +∰ +&Cdot +ÄŠ +&Cedilla +¸ +&CenterDot +· +&Cfr +â„­ +&Chi +Χ +&CircleDot +⊙ +&CircleMinus +⊖ +&CirclePlus +⊕ +&CircleTimes +⊗ +&ClockwiseContourIntegral +∲ +&CloseCurlyDoubleQuote +†+&CloseCurlyQuote +’ +&Colon +∷ +&Colone +â©´ +&Congruent +≡ +&Conint +∯ +&ContourIntegral +∮ +&Copf +â„‚ +&Coproduct +∠+&CounterClockwiseContourIntegral +∳ +&Cross +⨯ +&Cscr +ð’ž +&Cup +â‹“ +&CupCap +≠+&DD +â…… +&DDotrahd +⤑ +&DJcy +Ђ +&DScy +Ð… +&DZcy +Ð +&Dagger +‡ +&Darr +↡ +&Dashv +⫤ +&Dcaron +ÄŽ +&Dcy +Д +&Del +∇ +&Delta +Δ +&Dfr +𔇠+&DiacriticalAcute +´ +&DiacriticalDot +Ë™ +&DiacriticalDoubleAcute +Ë +&DiacriticalGrave +` +&DiacriticalTilde +Ëœ +&Diamond +â‹„ +&DifferentialD +â…† +&Dopf +ð”» +&Dot +¨ +&DotDot +⃜ +&DotEqual +≠+&DoubleContourIntegral +∯ +&DoubleDot +¨ +&DoubleDownArrow +⇓ +&DoubleLeftArrow +⇠+&DoubleLeftRightArrow +⇔ +&DoubleLeftTee +⫤ +&DoubleLongLeftArrow +⟸ +&DoubleLongLeftRightArrow +⟺ +&DoubleLongRightArrow +⟹ +&DoubleRightArrow +⇒ +&DoubleRightTee +⊨ +&DoubleUpArrow +⇑ +&DoubleUpDownArrow +⇕ +&DoubleVerticalBar +∥ +&DownArrow +↓ +&DownArrowBar +⤓ +&DownArrowUpArrow +⇵ +&DownBreve +Ì‘ +&DownLeftRightVector +⥠+&DownLeftTeeVector +⥞ +&DownLeftVector +↽ +&DownLeftVectorBar +⥖ +&DownRightTeeVector +⥟ +&DownRightVector +⇠+&DownRightVectorBar +⥗ +&DownTee +⊤ +&DownTeeArrow +↧ +&Downarrow +⇓ +&Dscr +ð’Ÿ +&Dstrok +Ä +&ENG +ÅŠ +à +à +É +É +&Ecaron +Äš +Ê +Ê +&Ecy +Э +&Edot +Ä– +&Efr +𔈠+È +È +&Element +∈ +&Emacr +Ä’ +&EmptySmallSquare +â—» +&EmptyVerySmallSquare +â–« +&Eogon +Ę +&Eopf +𔼠+&Epsilon +Ε +&Equal +⩵ +&EqualTilde +≂ +&Equilibrium +⇌ +&Escr +â„° +&Esim +⩳ +&Eta +Η +Ë +Ë +&Exists +∃ +&ExponentialE +â…‡ +&Fcy +Ф +&Ffr +𔉠+&FilledSmallSquare +â—¼ +&FilledVerySmallSquare +â–ª +&Fopf +𔽠+&ForAll +∀ +&Fouriertrf +ℱ +&Fscr +ℱ +&GJcy +Ѓ +> +> +&Gamma +Γ +&Gammad +Ïœ +&Gbreve +Äž +&Gcedil +Ä¢ +&Gcirc +Äœ +&Gcy +Г +&Gdot +Ä  +&Gfr +𔊠+&Gg +â‹™ +&Gopf +𔾠+&GreaterEqual +≥ +&GreaterEqualLess +â‹› +&GreaterFullEqual +≧ +&GreaterGreater +⪢ +&GreaterLess +≷ +&GreaterSlantEqual +⩾ +&GreaterTilde +≳ +&Gscr +ð’¢ +&Gt +≫ +&HARDcy +Ъ +&Hacek +ˇ +&Hat +^ +&Hcirc +Ĥ +&Hfr +ℌ +&HilbertSpace +â„‹ +&Hopf +â„ +&HorizontalLine +─ +&Hscr +â„‹ +&Hstrok +Ħ +&HumpDownHump +≎ +&HumpEqual +≠+&IEcy +Е +&IJlig +IJ +&IOcy +Ð +à +à +ÃŽ +ÃŽ +&Icy +И +&Idot +İ +&Ifr +â„‘ +ÃŒ +ÃŒ +&Im +â„‘ +&Imacr +Ī +&ImaginaryI +â…ˆ +&Implies +⇒ +&Int +∬ +&Integral +∫ +&Intersection +â‹‚ +&InvisibleComma +⣠+&InvisibleTimes +⢠+&Iogon +Ä® +&Iopf +ð•€ +&Iota +Ι +&Iscr +â„ +&Itilde +Ĩ +&Iukcy +І +à +à +&Jcirc +Ä´ +&Jcy +Й +&Jfr +ð” +&Jopf +ð• +&Jscr +ð’¥ +&Jsercy +Ј +&Jukcy +Є +&KHcy +Ð¥ +&KJcy +ÐŒ +&Kappa +Κ +&Kcedil +Ķ +&Kcy +К +&Kfr +𔎠+&Kopf +ð•‚ +&Kscr +ð’¦ +&LJcy +Љ +< +< +&Lacute +Ĺ +&Lambda +Λ +&Lang +⟪ +&Laplacetrf +â„’ +&Larr +↞ +&Lcaron +Ľ +&Lcedil +Ä» +&Lcy +Л +&LeftAngleBracket +⟨ +&LeftArrow +↠+&LeftArrowBar +⇤ +&LeftArrowRightArrow +⇆ +&LeftCeiling +⌈ +&LeftDoubleBracket +⟦ +&LeftDownTeeVector +⥡ +&LeftDownVector +⇃ +&LeftDownVectorBar +⥙ +&LeftFloor +⌊ +&LeftRightArrow +↔ +&LeftRightVector +⥎ +&LeftTee +⊣ +&LeftTeeArrow +↤ +&LeftTeeVector +⥚ +&LeftTriangle +⊲ +&LeftTriangleBar +â§ +&LeftTriangleEqual +⊴ +&LeftUpDownVector +⥑ +&LeftUpTeeVector +⥠ +&LeftUpVector +↿ +&LeftUpVectorBar +⥘ +&LeftVector +↼ +&LeftVectorBar +⥒ +&Leftarrow +⇠+&Leftrightarrow +⇔ +&LessEqualGreater +⋚ +&LessFullEqual +≦ +&LessGreater +≶ +&LessLess +⪡ +&LessSlantEqual +⩽ +&LessTilde +≲ +&Lfr +ð” +&Ll +⋘ +&Lleftarrow +⇚ +&Lmidot +Ä¿ +&LongLeftArrow +⟵ +&LongLeftRightArrow +⟷ +&LongRightArrow +⟶ +&Longleftarrow +⟸ +&Longleftrightarrow +⟺ +&Longrightarrow +⟹ +&Lopf +𕃠+&LowerLeftArrow +↙ +&LowerRightArrow +↘ +&Lscr +â„’ +&Lsh +↰ +&Lstrok +Å +&Lt +≪ +&Map +⤅ +&Mcy +М +&MediumSpace +⟠+&Mellintrf +ℳ +&Mfr +ð” +&MinusPlus +∓ +&Mopf +ð•„ +&Mscr +ℳ +&Mu +Μ +&NJcy +Њ +&Nacute +Ń +&Ncaron +Ň +&Ncedil +Å… +&Ncy +Ð +&NegativeMediumSpace +​ +&NegativeThickSpace +​ +&NegativeThinSpace +​ +&NegativeVeryThinSpace +​ +&NestedGreaterGreater +≫ +&NestedLessLess +≪ +&NewLine + + +&Nfr +𔑠+&NoBreak +â  +&NonBreakingSpace +  +&Nopf +â„• +&Not +⫬ +&NotCongruent +≢ +&NotCupCap +≭ +&NotDoubleVerticalBar +∦ +&NotElement +∉ +&NotEqual +≠ +&NotEqualTilde +≂̸ +&NotExists +∄ +&NotGreater +≯ +&NotGreaterEqual +≱ +&NotGreaterFullEqual +≧̸ +&NotGreaterGreater +≫̸ +&NotGreaterLess +≹ +&NotGreaterSlantEqual +⩾̸ +&NotGreaterTilde +≵ +&NotHumpDownHump +≎̸ +&NotHumpEqual +â‰Ì¸ +&NotLeftTriangle +⋪ +&NotLeftTriangleBar +â§Ì¸ +&NotLeftTriangleEqual +⋬ +&NotLess +≮ +&NotLessEqual +≰ +&NotLessGreater +≸ +&NotLessLess +≪̸ +&NotLessSlantEqual +⩽̸ +&NotLessTilde +≴ +&NotNestedGreaterGreater +⪢̸ +&NotNestedLessLess +⪡̸ +&NotPrecedes +⊀ +&NotPrecedesEqual +⪯̸ +&NotPrecedesSlantEqual +â‹  +&NotReverseElement +∌ +&NotRightTriangle +â‹« +&NotRightTriangleBar +â§Ì¸ +&NotRightTriangleEqual +â‹­ +&NotSquareSubset +âŠÌ¸ +&NotSquareSubsetEqual +â‹¢ +&NotSquareSuperset +âŠÌ¸ +&NotSquareSupersetEqual +â‹£ +&NotSubset +⊂⃒ +&NotSubsetEqual +⊈ +&NotSucceeds +⊠+&NotSucceedsEqual +⪰̸ +&NotSucceedsSlantEqual +â‹¡ +&NotSucceedsTilde +≿̸ +&NotSuperset +⊃⃒ +&NotSupersetEqual +⊉ +&NotTilde +≠+&NotTildeEqual +≄ +&NotTildeFullEqual +≇ +&NotTildeTilde +≉ +&NotVerticalBar +∤ +&Nscr +ð’© +Ñ +Ñ +&Nu +Î +&OElig +Å’ +Ó +Ó +Ô +Ô +&Ocy +О +&Odblac +Å +&Ofr +ð”’ +Ã’ +Ã’ +&Omacr +ÅŒ +&Omega +Ω +&Omicron +Ο +&Oopf +𕆠+&OpenCurlyDoubleQuote +“ +&OpenCurlyQuote +‘ +&Or +â©” +&Oscr +ð’ª +Ø +Ø +Õ +Õ +&Otimes +⨷ +Ö +Ö +&OverBar +‾ +&OverBrace +âž +&OverBracket +⎴ +&OverParenthesis +✠+&PartialD +∂ +&Pcy +П +&Pfr +𔓠+&Phi +Φ +&Pi +Π +&PlusMinus +± +&Poincareplane +ℌ +&Popf +â„™ +&Pr +⪻ +&Precedes +≺ +&PrecedesEqual +⪯ +&PrecedesSlantEqual +≼ +&PrecedesTilde +≾ +&Prime +″ +&Product +∠+&Proportion +∷ +&Proportional +∠+&Pscr +ð’« +&Psi +Ψ +" +" +&Qfr +ð”” +&Qopf +ℚ +&Qscr +ð’¬ +&RBarr +⤠+® +® +&Racute +Å” +&Rang +⟫ +&Rarr +↠ +&Rarrtl +⤖ +&Rcaron +Ř +&Rcedil +Å– +&Rcy +Р +&Re +ℜ +&ReverseElement +∋ +&ReverseEquilibrium +⇋ +&ReverseUpEquilibrium +⥯ +&Rfr +ℜ +&Rho +Ρ +&RightAngleBracket +⟩ +&RightArrow +→ +&RightArrowBar +⇥ +&RightArrowLeftArrow +⇄ +&RightCeiling +⌉ +&RightDoubleBracket +⟧ +&RightDownTeeVector +⥠+&RightDownVector +⇂ +&RightDownVectorBar +⥕ +&RightFloor +⌋ +&RightTee +⊢ +&RightTeeArrow +↦ +&RightTeeVector +⥛ +&RightTriangle +⊳ +&RightTriangleBar +â§ +&RightTriangleEqual +⊵ +&RightUpDownVector +⥠+&RightUpTeeVector +⥜ +&RightUpVector +↾ +&RightUpVectorBar +⥔ +&RightVector +⇀ +&RightVectorBar +⥓ +&Rightarrow +⇒ +&Ropf +â„ +&RoundImplies +⥰ +&Rrightarrow +⇛ +&Rscr +â„› +&Rsh +↱ +&RuleDelayed +â§´ +&SHCHcy +Щ +&SHcy +Ш +&SOFTcy +Ь +&Sacute +Åš +&Sc +⪼ +&Scaron +Å  +&Scedil +Åž +&Scirc +Åœ +&Scy +С +&Sfr +ð”– +&ShortDownArrow +↓ +&ShortLeftArrow +↠+&ShortRightArrow +→ +&ShortUpArrow +↑ +&Sigma +Σ +&SmallCircle +∘ +&Sopf +𕊠+&Sqrt +√ +&Square +â–¡ +&SquareIntersection +⊓ +&SquareSubset +⊠+&SquareSubsetEqual +⊑ +&SquareSuperset +⊠+&SquareSupersetEqual +⊒ +&SquareUnion +⊔ +&Sscr +ð’® +&Star +⋆ +&Sub +â‹ +&Subset +â‹ +&SubsetEqual +⊆ +&Succeeds +≻ +&SucceedsEqual +⪰ +&SucceedsSlantEqual +≽ +&SucceedsTilde +≿ +&SuchThat +∋ +&Sum +∑ +&Sup +â‹‘ +&Superset +⊃ +&SupersetEqual +⊇ +&Supset +â‹‘ +Þ +Þ +&TRADE +â„¢ +&TSHcy +Ћ +&TScy +Ц +&Tab + +&Tau +Τ +&Tcaron +Ť +&Tcedil +Å¢ +&Tcy +Т +&Tfr +ð”— +&Therefore +∴ +&Theta +Θ +&ThickSpace +âŸâ€Š +&ThinSpace +  +&Tilde +∼ +&TildeEqual +≃ +&TildeFullEqual +≅ +&TildeTilde +≈ +&Topf +ð•‹ +&TripleDot +⃛ +&Tscr +ð’¯ +&Tstrok +Ŧ +Ú +Ú +&Uarr +↟ +&Uarrocir +⥉ +&Ubrcy +ÐŽ +&Ubreve +Ŭ +Û +Û +&Ucy +У +&Udblac +Ű +&Ufr +𔘠+Ù +Ù +&Umacr +Ū +&UnderBar +_ +&UnderBrace +⟠+&UnderBracket +⎵ +&UnderParenthesis +â +&Union +⋃ +&UnionPlus +⊎ +&Uogon +Ų +&Uopf +𕌠+&UpArrow +↑ +&UpArrowBar +⤒ +&UpArrowDownArrow +⇅ +&UpDownArrow +↕ +&UpEquilibrium +⥮ +&UpTee +⊥ +&UpTeeArrow +↥ +&Uparrow +⇑ +&Updownarrow +⇕ +&UpperLeftArrow +↖ +&UpperRightArrow +↗ +&Upsi +Ï’ +&Upsilon +Î¥ +&Uring +Å® +&Uscr +ð’° +&Utilde +Ũ +Ü +Ü +&VDash +⊫ +&Vbar +â«« +&Vcy +Ð’ +&Vdash +⊩ +&Vdashl +⫦ +&Vee +â‹ +&Verbar +‖ +&Vert +‖ +&VerticalBar +∣ +&VerticalLine +| +&VerticalSeparator +☠+&VerticalTilde +≀ +&VeryThinSpace +  +&Vfr +ð”™ +&Vopf +ð• +&Vscr +ð’± +&Vvdash +⊪ +&Wcirc +Å´ +&Wedge +â‹€ +&Wfr +𔚠+&Wopf +𕎠+&Wscr +ð’² +&Xfr +ð”› +&Xi +Ξ +&Xopf +ð• +&Xscr +ð’³ +&YAcy +Я +&YIcy +Ї +&YUcy +Ю +à +à +&Ycirc +Ŷ +&Ycy +Ы +&Yfr +𔜠+&Yopf +ð• +&Yscr +ð’´ +&Yuml +Ÿ +&ZHcy +Ж +&Zacute +Ź +&Zcaron +Ž +&Zcy +З +&Zdot +Å» +&ZeroWidthSpace +​ +&Zeta +Ζ +&Zfr +ℨ +&Zopf +ℤ +&Zscr +ð’µ +á +á +&abreve +ă +&ac +∾ +&acE +∾̳ +&acd +∿ +â +â +´ +´ +&acy +а +æ +æ +&af +â¡ +&afr +𔞠+à +à +&alefsym +ℵ +&aleph +ℵ +&alpha +α +&amacr +Ä +&amalg +⨿ +& +& +&and +∧ +&andand +â©• +&andd +⩜ +&andslope +⩘ +&andv +⩚ +&ang +∠ +&ange +⦤ +&angle +∠ +&angmsd +∡ +&angmsdaa +⦨ +&angmsdab +⦩ +&angmsdac +⦪ +&angmsdad +⦫ +&angmsdae +⦬ +&angmsdaf +⦭ +&angmsdag +⦮ +&angmsdah +⦯ +&angrt +∟ +&angrtvb +⊾ +&angrtvbd +⦠+&angsph +∢ +&angst +Ã… +&angzarr +â¼ +&aogon +Ä… +&aopf +ð•’ +&ap +≈ +&apE +â©° +&apacir +⩯ +&ape +≊ +&apid +≋ +&apos +' +&approx +≈ +&approxeq +≊ +Ã¥ +Ã¥ +&ascr +ð’¶ +&ast +* +&asymp +≈ +&asympeq +≠+ã +ã +ä +ä +&awconint +∳ +&awint +⨑ +&bNot +â«­ +&backcong +≌ +&backepsilon +϶ +&backprime +‵ +&backsim +∽ +&backsimeq +â‹ +&barvee +⊽ +&barwed +⌅ +&barwedge +⌅ +&bbrk +⎵ +&bbrktbrk +⎶ +&bcong +≌ +&bcy +б +&bdquo +„ +&becaus +∵ +&because +∵ +&bemptyv +⦰ +&bepsi +϶ +&bernou +ℬ +&beta +β +&beth +â„¶ +&between +≬ +&bfr +𔟠+&bigcap +â‹‚ +&bigcirc +â—¯ +&bigcup +⋃ +&bigodot +⨀ +&bigoplus +⨠+&bigotimes +⨂ +&bigsqcup +⨆ +&bigstar +★ +&bigtriangledown +â–½ +&bigtriangleup +â–³ +&biguplus +⨄ +&bigvee +â‹ +&bigwedge +â‹€ +&bkarow +⤠+&blacklozenge +â§« +&blacksquare +â–ª +&blacktriangle +â–´ +&blacktriangledown +â–¾ +&blacktriangleleft +â—‚ +&blacktriangleright +â–¸ +&blank +⣠+&blk12 +â–’ +&blk14 +â–‘ +&blk34 +â–“ +&block +â–ˆ +&bne +=⃥ +&bnequiv +≡⃥ +&bnot +⌠+&bopf +ð•“ +&bot +⊥ +&bottom +⊥ +&bowtie +⋈ +&boxDL +â•— +&boxDR +â•” +&boxDl +â•– +&boxDr +â•“ +&boxH +â• +&boxHD +╦ +&boxHU +â•© +&boxHd +╤ +&boxHu +â•§ +&boxUL +â• +&boxUR +╚ +&boxUl +╜ +&boxUr +â•™ +&boxV +â•‘ +&boxVH +╬ +&boxVL +â•£ +&boxVR +â•  +&boxVh +â•« +&boxVl +â•¢ +&boxVr +╟ +&boxbox +⧉ +&boxdL +â•• +&boxdR +â•’ +&boxdl +â” +&boxdr +┌ +&boxh +─ +&boxhD +â•¥ +&boxhU +╨ +&boxhd +┬ +&boxhu +â”´ +&boxminus +⊟ +&boxplus +⊞ +&boxtimes +⊠ +&boxuL +â•› +&boxuR +╘ +&boxul +┘ +&boxur +â”” +&boxv +│ +&boxvH +╪ +&boxvL +â•¡ +&boxvR +╞ +&boxvh +┼ +&boxvl +┤ +&boxvr +├ +&bprime +‵ +&breve +˘ +¦ +¦ +&bscr +ð’· +&bsemi +â +&bsim +∽ +&bsime +â‹ +&bsol +\ +&bsolb +â§… +&bsolhsub +⟈ +&bull +• +&bullet +• +&bump +≎ +&bumpE +⪮ +&bumpe +≠+&bumpeq +≠+&cacute +ć +&cap +∩ +&capand +â©„ +&capbrcup +⩉ +&capcap +â©‹ +&capcup +⩇ +&capdot +â©€ +&caps +∩︀ +&caret +â +&caron +ˇ +&ccaps +â© +&ccaron +Ä +ç +ç +&ccirc +ĉ +&ccups +⩌ +&ccupssm +â© +&cdot +Ä‹ +¸ +¸ +&cemptyv +⦲ +¢ +¢ +¢erdot +· +&cfr +ð”  +&chcy +ч +&check +✓ +&checkmark +✓ +&chi +χ +&cir +â—‹ +&cirE +⧃ +&circ +ˆ +&circeq +≗ +&circlearrowleft +↺ +&circlearrowright +↻ +&circledR +® +&circledS +Ⓢ +&circledast +⊛ +&circledcirc +⊚ +&circleddash +⊠+&cire +≗ +&cirfnint +⨠+&cirmid +⫯ +&cirscir +â§‚ +&clubs +♣ +&clubsuit +♣ +&colon +: +&colone +≔ +&coloneq +≔ +&comma +, +&commat +@ +&comp +∠+&compfn +∘ +&complement +∠+&complexes +â„‚ +&cong +≅ +&congdot +â©­ +&conint +∮ +&copf +ð•” +&coprod +∠+© +© +©sr +â„— +&crarr +↵ +&cross +✗ +&cscr +ð’¸ +&csub +â« +&csube +â«‘ +&csup +â« +&csupe +â«’ +&ctdot +⋯ +&cudarrl +⤸ +&cudarrr +⤵ +&cuepr +⋞ +&cuesc +⋟ +&cularr +↶ +&cularrp +⤽ +&cup +∪ +&cupbrcap +⩈ +&cupcap +⩆ +&cupcup +⩊ +&cupdot +⊠+&cupor +â©… +&cups +∪︀ +&curarr +↷ +&curarrm +⤼ +&curlyeqprec +⋞ +&curlyeqsucc +⋟ +&curlyvee +⋎ +&curlywedge +â‹ +¤ +¤ +&curvearrowleft +↶ +&curvearrowright +↷ +&cuvee +⋎ +&cuwed +â‹ +&cwconint +∲ +&cwint +∱ +&cylcty +⌭ +&dArr +⇓ +&dHar +⥥ +&dagger +† +&daleth +ℸ +&darr +↓ +&dash +†+&dashv +⊣ +&dbkarow +⤠+&dblac +Ë +&dcaron +Ä +&dcy +д +&dd +â…† +&ddagger +‡ +&ddarr +⇊ +&ddotseq +â©· +° +° +&delta +δ +&demptyv +⦱ +&dfisht +⥿ +&dfr +𔡠+&dharl +⇃ +&dharr +⇂ +&diam +â‹„ +&diamond +â‹„ +&diamondsuit +♦ +&diams +♦ +&die +¨ +&digamma +Ï +&disin +⋲ +&div +÷ +÷ +÷ +÷ontimes +⋇ +&divonx +⋇ +&djcy +Ñ’ +&dlcorn +⌞ +&dlcrop +⌠+&dollar +$ +&dopf +ð•• +&dot +Ë™ +&doteq +≠+&doteqdot +≑ +&dotminus +∸ +&dotplus +∔ +&dotsquare +⊡ +&doublebarwedge +⌆ +&downarrow +↓ +&downdownarrows +⇊ +&downharpoonleft +⇃ +&downharpoonright +⇂ +&drbkarow +⤠+&drcorn +⌟ +&drcrop +⌌ +&dscr +ð’¹ +&dscy +Ñ• +&dsol +â§¶ +&dstrok +Ä‘ +&dtdot +⋱ +&dtri +â–¿ +&dtrif +â–¾ +&duarr +⇵ +&duhar +⥯ +&dwangle +⦦ +&dzcy +ÑŸ +&dzigrarr +⟿ +&eDDot +â©· +&eDot +≑ +é +é +&easter +â©® +&ecaron +Ä› +&ecir +≖ +ê +ê +&ecolon +≕ +&ecy +Ñ +&edot +Ä— +&ee +â…‡ +&efDot +≒ +&efr +𔢠+&eg +⪚ +è +è +&egs +⪖ +&egsdot +⪘ +&el +⪙ +&elinters +â§ +&ell +â„“ +&els +⪕ +&elsdot +⪗ +&emacr +Ä“ +&empty +∅ +&emptyset +∅ +&emptyv +∅ +&emsp13 +  +&emsp14 +  +&emsp +  +&eng +Å‹ +&ensp +  +&eogon +Ä™ +&eopf +ð•– +&epar +â‹• +&eparsl +â§£ +&eplus +⩱ +&epsi +ε +&epsilon +ε +&epsiv +ϵ +&eqcirc +≖ +&eqcolon +≕ +&eqsim +≂ +&eqslantgtr +⪖ +&eqslantless +⪕ +&equals += +&equest +≟ +&equiv +≡ +&equivDD +⩸ +&eqvparsl +â§¥ +&erDot +≓ +&erarr +⥱ +&escr +ℯ +&esdot +≠+&esim +≂ +&eta +η +ð +ð +ë +ë +&euro +€ +&excl +! +&exist +∃ +&expectation +â„° +&exponentiale +â…‡ +&fallingdotseq +≒ +&fcy +Ñ„ +&female +♀ +&ffilig +ffi +&fflig +ff +&ffllig +ffl +&ffr +𔣠+&filig +ï¬ +&fjlig +fj +&flat +â™­ +&fllig +fl +&fltns +â–± +&fnof +Æ’ +&fopf +ð•— +&forall +∀ +&fork +â‹” +&forkv +â«™ +&fpartint +⨠+½ +½ +&frac13 +â…“ +¼ +¼ +&frac15 +â…• +&frac16 +â…™ +&frac18 +â…› +&frac23 +â…” +&frac25 +â…– +¾ +¾ +&frac35 +â…— +&frac38 +â…œ +&frac45 +â…˜ +&frac56 +â…š +&frac58 +â… +&frac78 +â…ž +&frasl +â„ +&frown +⌢ +&fscr +ð’» +&gE +≧ +&gEl +⪌ +&gacute +ǵ +&gamma +γ +&gammad +Ï +&gap +⪆ +&gbreve +ÄŸ +&gcirc +Ä +&gcy +г +&gdot +Ä¡ +&ge +≥ +&gel +â‹› +&geq +≥ +&geqq +≧ +&geqslant +⩾ +&ges +⩾ +&gescc +⪩ +&gesdot +⪀ +&gesdoto +⪂ +&gesdotol +⪄ +&gesl +⋛︀ +&gesles +⪔ +&gfr +𔤠+&gg +≫ +&ggg +â‹™ +&gimel +â„· +&gjcy +Ñ“ +&gl +≷ +&glE +⪒ +&gla +⪥ +&glj +⪤ +&gnE +≩ +&gnap +⪊ +&gnapprox +⪊ +&gne +⪈ +&gneq +⪈ +&gneqq +≩ +&gnsim +â‹§ +&gopf +𕘠+&grave +` +&gscr +ℊ +&gsim +≳ +&gsime +⪎ +&gsiml +⪠+> +> +>cc +⪧ +>cir +⩺ +>dot +â‹— +>lPar +⦕ +>quest +⩼ +>rapprox +⪆ +>rarr +⥸ +>rdot +â‹— +>reqless +â‹› +>reqqless +⪌ +>rless +≷ +>rsim +≳ +&gvertneqq +≩︀ +&gvnE +≩︀ +&hArr +⇔ +&hairsp +  +&half +½ +&hamilt +â„‹ +&hardcy +ÑŠ +&harr +↔ +&harrcir +⥈ +&harrw +↭ +&hbar +â„ +&hcirc +Ä¥ +&hearts +♥ +&heartsuit +♥ +&hellip +… +&hercon +⊹ +&hfr +𔥠+&hksearow +⤥ +&hkswarow +⤦ +&hoarr +⇿ +&homtht +∻ +&hookleftarrow +↩ +&hookrightarrow +↪ +&hopf +ð•™ +&horbar +― +&hscr +ð’½ +&hslash +â„ +&hstrok +ħ +&hybull +⃠+&hyphen +†+í +í +&ic +⣠+î +î +&icy +и +&iecy +е +¡ +¡ +&iff +⇔ +&ifr +𔦠+ì +ì +&ii +â…ˆ +&iiiint +⨌ +&iiint +∭ +&iinfin +â§œ +&iiota +â„© +&ijlig +ij +&imacr +Ä« +&image +â„‘ +&imagline +â„ +&imagpart +â„‘ +&imath +ı +&imof +⊷ +&imped +Ƶ +&in +∈ +&incare +â„… +&infin +∞ +&infintie +â§ +&inodot +ı +&int +∫ +&intcal +⊺ +&integers +ℤ +&intercal +⊺ +&intlarhk +⨗ +&intprod +⨼ +&iocy +Ñ‘ +&iogon +į +&iopf +𕚠+&iota +ι +&iprod +⨼ +¿ +¿ +&iscr +ð’¾ +&isin +∈ +&isinE +⋹ +&isindot +⋵ +&isins +â‹´ +&isinsv +⋳ +&isinv +∈ +&it +⢠+&itilde +Ä© +&iukcy +Ñ– +ï +ï +&jcirc +ĵ +&jcy +й +&jfr +ð”§ +&jmath +È· +&jopf +ð•› +&jscr +ð’¿ +&jsercy +ј +&jukcy +Ñ” +&kappa +κ +&kappav +ϰ +&kcedil +Ä· +&kcy +к +&kfr +𔨠+&kgreen +ĸ +&khcy +Ñ… +&kjcy +Ñœ +&kopf +𕜠+&kscr +ð“€ +&lAarr +⇚ +&lArr +⇠+&lAtail +⤛ +&lBarr +⤎ +&lE +≦ +&lEg +⪋ +&lHar +⥢ +&lacute +ĺ +&laemptyv +⦴ +&lagran +â„’ +&lambda +λ +&lang +⟨ +&langd +⦑ +&langle +⟨ +&lap +⪅ +« +« +&larr +↠+&larrb +⇤ +&larrbfs +⤟ +&larrfs +⤠+&larrhk +↩ +&larrlp +↫ +&larrpl +⤹ +&larrsim +⥳ +&larrtl +↢ +&lat +⪫ +&latail +⤙ +&late +⪭ +&lates +⪭︀ +&lbarr +⤌ +&lbbrk +â² +&lbrace +{ +&lbrack +[ +&lbrke +⦋ +&lbrksld +⦠+&lbrkslu +⦠+&lcaron +ľ +&lcedil +ļ +&lceil +⌈ +&lcub +{ +&lcy +л +&ldca +⤶ +&ldquo +“ +&ldquor +„ +&ldrdhar +⥧ +&ldrushar +⥋ +&ldsh +↲ +&le +≤ +&leftarrow +↠+&leftarrowtail +↢ +&leftharpoondown +↽ +&leftharpoonup +↼ +&leftleftarrows +⇇ +&leftrightarrow +↔ +&leftrightarrows +⇆ +&leftrightharpoons +⇋ +&leftrightsquigarrow +↭ +&leftthreetimes +â‹‹ +&leg +⋚ +&leq +≤ +&leqq +≦ +&leqslant +⩽ +&les +⩽ +&lescc +⪨ +&lesdot +â©¿ +&lesdoto +⪠+&lesdotor +⪃ +&lesg +⋚︀ +&lesges +⪓ +&lessapprox +⪅ +&lessdot +â‹– +&lesseqgtr +⋚ +&lesseqqgtr +⪋ +&lessgtr +≶ +&lesssim +≲ +&lfisht +⥼ +&lfloor +⌊ +&lfr +𔩠+&lg +≶ +&lgE +⪑ +&lhard +↽ +&lharu +↼ +&lharul +⥪ +&lhblk +â–„ +&ljcy +Ñ™ +&ll +≪ +&llarr +⇇ +&llcorner +⌞ +&llhard +⥫ +&lltri +â—º +&lmidot +Å€ +&lmoust +⎰ +&lmoustache +⎰ +&lnE +≨ +&lnap +⪉ +&lnapprox +⪉ +&lne +⪇ +&lneq +⪇ +&lneqq +≨ +&lnsim +⋦ +&loang +⟬ +&loarr +⇽ +&lobrk +⟦ +&longleftarrow +⟵ +&longleftrightarrow +⟷ +&longmapsto +⟼ +&longrightarrow +⟶ +&looparrowleft +↫ +&looparrowright +↬ +&lopar +⦅ +&lopf +ð• +&loplus +⨭ +&lotimes +⨴ +&lowast +∗ +&lowbar +_ +&loz +â—Š +&lozenge +â—Š +&lozf +â§« +&lpar +( +&lparlt +⦓ +&lrarr +⇆ +&lrcorner +⌟ +&lrhar +⇋ +&lrhard +⥭ +&lrm +‎ +&lrtri +⊿ +&lsaquo +‹ +&lscr +ð“ +&lsh +↰ +&lsim +≲ +&lsime +⪠+&lsimg +⪠+&lsqb +[ +&lsquo +‘ +&lsquor +‚ +&lstrok +Å‚ +< +< +<cc +⪦ +<cir +⩹ +<dot +â‹– +<hree +â‹‹ +<imes +⋉ +<larr +⥶ +<quest +â©» +<rPar +⦖ +<ri +â—ƒ +<rie +⊴ +<rif +â—‚ +&lurdshar +⥊ +&luruhar +⥦ +&lvertneqq +≨︀ +&lvnE +≨︀ +&mDDot +∺ +¯ +¯ +&male +♂ +&malt +✠ +&maltese +✠ +&map +↦ +&mapsto +↦ +&mapstodown +↧ +&mapstoleft +↤ +&mapstoup +↥ +&marker +â–® +&mcomma +⨩ +&mcy +м +&mdash +— +&measuredangle +∡ +&mfr +𔪠+&mho +â„§ +µ +µ +&mid +∣ +&midast +* +&midcir +â«° +· +· +&minus +− +&minusb +⊟ +&minusd +∸ +&minusdu +⨪ +&mlcp +â«› +&mldr +… +&mnplus +∓ +&models +⊧ +&mopf +𕞠+&mp +∓ +&mscr +ð“‚ +&mstpos +∾ +&mu +μ +&multimap +⊸ +&mumap +⊸ +&nGg +⋙̸ +&nGt +≫⃒ +&nGtv +≫̸ +&nLeftarrow +⇠+&nLeftrightarrow +⇎ +&nLl +⋘̸ +&nLt +≪⃒ +&nLtv +≪̸ +&nRightarrow +⇠+&nVDash +⊯ +&nVdash +⊮ +&nabla +∇ +&nacute +Å„ +&nang +∠⃒ +&nap +≉ +&napE +⩰̸ +&napid +≋̸ +&napos +ʼn +&napprox +≉ +&natur +â™® +&natural +â™® +&naturals +â„• +  +  +&nbump +≎̸ +&nbumpe +â‰Ì¸ +&ncap +⩃ +&ncaron +ň +&ncedil +ņ +&ncong +≇ +&ncongdot +⩭̸ +&ncup +â©‚ +&ncy +н +&ndash +– +&ne +≠ +&neArr +⇗ +&nearhk +⤤ +&nearr +↗ +&nearrow +↗ +&nedot +â‰Ì¸ +&nequiv +≢ +&nesear +⤨ +&nesim +≂̸ +&nexist +∄ +&nexists +∄ +&nfr +𔫠+&ngE +≧̸ +&nge +≱ +&ngeq +≱ +&ngeqq +≧̸ +&ngeqslant +⩾̸ +&nges +⩾̸ +&ngsim +≵ +&ngt +≯ +&ngtr +≯ +&nhArr +⇎ +&nharr +↮ +&nhpar +⫲ +&ni +∋ +&nis +⋼ +&nisd +⋺ +&niv +∋ +&njcy +Ñš +&nlArr +⇠+&nlE +≦̸ +&nlarr +↚ +&nldr +‥ +&nle +≰ +&nleftarrow +↚ +&nleftrightarrow +↮ +&nleq +≰ +&nleqq +≦̸ +&nleqslant +⩽̸ +&nles +⩽̸ +&nless +≮ +&nlsim +≴ +&nlt +≮ +&nltri +⋪ +&nltrie +⋬ +&nmid +∤ +&nopf +𕟠+¬ +¬ +¬in +∉ +¬inE +⋹̸ +¬indot +⋵̸ +¬inva +∉ +¬invb +â‹· +¬invc +â‹¶ +¬ni +∌ +¬niva +∌ +¬nivb +⋾ +¬nivc +⋽ +&npar +∦ +&nparallel +∦ +&nparsl +⫽⃥ +&npart +∂̸ +&npolint +⨔ +&npr +⊀ +&nprcue +â‹  +&npre +⪯̸ +&nprec +⊀ +&npreceq +⪯̸ +&nrArr +⇠+&nrarr +↛ +&nrarrc +⤳̸ +&nrarrw +â†Ì¸ +&nrightarrow +↛ +&nrtri +â‹« +&nrtrie +â‹­ +&nsc +⊠+&nsccue +â‹¡ +&nsce +⪰̸ +&nscr +𓃠+&nshortmid +∤ +&nshortparallel +∦ +&nsim +≠+&nsime +≄ +&nsimeq +≄ +&nsmid +∤ +&nspar +∦ +&nsqsube +â‹¢ +&nsqsupe +â‹£ +&nsub +⊄ +&nsubE +⫅̸ +&nsube +⊈ +&nsubset +⊂⃒ +&nsubseteq +⊈ +&nsubseteqq +⫅̸ +&nsucc +⊠+&nsucceq +⪰̸ +&nsup +⊅ +&nsupE +⫆̸ +&nsupe +⊉ +&nsupset +⊃⃒ +&nsupseteq +⊉ +&nsupseteqq +⫆̸ +&ntgl +≹ +ñ +ñ +&ntlg +≸ +&ntriangleleft +⋪ +&ntrianglelefteq +⋬ +&ntriangleright +â‹« +&ntrianglerighteq +â‹­ +&nu +ν +&num +# +&numero +â„– +&numsp +  +&nvDash +⊭ +&nvHarr +⤄ +&nvap +â‰âƒ’ +&nvdash +⊬ +&nvge +≥⃒ +&nvgt +>⃒ +&nvinfin +â§ž +&nvlArr +⤂ +&nvle +≤⃒ +&nvlt +<⃒ +&nvltrie +⊴⃒ +&nvrArr +⤃ +&nvrtrie +⊵⃒ +&nvsim +∼⃒ +&nwArr +⇖ +&nwarhk +⤣ +&nwarr +↖ +&nwarrow +↖ +&nwnear +⤧ +&oS +Ⓢ +ó +ó +&oast +⊛ +&ocir +⊚ +ô +ô +&ocy +о +&odash +⊠+&odblac +Å‘ +&odiv +⨸ +&odot +⊙ +&odsold +⦼ +&oelig +Å“ +&ofcir +⦿ +&ofr +𔬠+&ogon +Ë› +ò +ò +&ogt +â§ +&ohbar +⦵ +&ohm +Ω +&oint +∮ +&olarr +↺ +&olcir +⦾ +&olcross +⦻ +&oline +‾ +&olt +â§€ +&omacr +Å +&omega +ω +&omicron +ο +&omid +⦶ +&ominus +⊖ +&oopf +ð•  +&opar +⦷ +&operp +⦹ +&oplus +⊕ +&or +∨ +&orarr +↻ +&ord +â© +&order +â„´ +&orderof +â„´ +ª +ª +º +º +&origof +⊶ +&oror +â©– +&orslope +â©— +&orv +â©› +&oscr +â„´ +ø +ø +&osol +⊘ +õ +õ +&otimes +⊗ +&otimesas +⨶ +ö +ö +&ovbar +⌽ +&par +∥ +¶ +¶ +¶llel +∥ +&parsim +⫳ +&parsl +⫽ +&part +∂ +&pcy +п +&percnt +% +&period +. +&permil +‰ +&perp +⊥ +&pertenk +‱ +&pfr +ð”­ +&phi +φ +&phiv +Ï• +&phmmat +ℳ +&phone +☎ +&pi +Ï€ +&pitchfork +â‹” +&piv +Ï– +&planck +â„ +&planckh +ℎ +&plankv +â„ +&plus ++ +&plusacir +⨣ +&plusb +⊞ +&pluscir +⨢ +&plusdo +∔ +&plusdu +⨥ +&pluse +⩲ +± +± +&plussim +⨦ +&plustwo +⨧ +&pm +± +&pointint +⨕ +&popf +ð•¡ +£ +£ +&pr +≺ +&prE +⪳ +&prap +⪷ +&prcue +≼ +&pre +⪯ +&prec +≺ +&precapprox +⪷ +&preccurlyeq +≼ +&preceq +⪯ +&precnapprox +⪹ +&precneqq +⪵ +&precnsim +⋨ +&precsim +≾ +&prime +′ +&primes +â„™ +&prnE +⪵ +&prnap +⪹ +&prnsim +⋨ +&prod +∠+&profalar +⌮ +&profline +⌒ +&profsurf +⌓ +&prop +∠+&propto +∠+&prsim +≾ +&prurel +⊰ +&pscr +ð“… +&psi +ψ +&puncsp +  +&qfr +ð”® +&qint +⨌ +&qopf +ð•¢ +&qprime +â— +&qscr +𓆠+&quaternions +â„ +&quatint +⨖ +&quest +? +&questeq +≟ +" +" +&rAarr +⇛ +&rArr +⇒ +&rAtail +⤜ +&rBarr +⤠+&rHar +⥤ +&race +∽̱ +&racute +Å• +&radic +√ +&raemptyv +⦳ +&rang +⟩ +&rangd +⦒ +&range +⦥ +&rangle +⟩ +» +» +&rarr +→ +&rarrap +⥵ +&rarrb +⇥ +&rarrbfs +⤠ +&rarrc +⤳ +&rarrfs +⤞ +&rarrhk +↪ +&rarrlp +↬ +&rarrpl +⥅ +&rarrsim +⥴ +&rarrtl +↣ +&rarrw +↠+&ratail +⤚ +&ratio +∶ +&rationals +ℚ +&rbarr +⤠+&rbbrk +â³ +&rbrace +} +&rbrack +] +&rbrke +⦌ +&rbrksld +⦎ +&rbrkslu +⦠+&rcaron +Å™ +&rcedil +Å— +&rceil +⌉ +&rcub +} +&rcy +Ñ€ +&rdca +⤷ +&rdldhar +⥩ +&rdquo +†+&rdquor +†+&rdsh +↳ +&real +ℜ +&realine +â„› +&realpart +ℜ +&reals +â„ +&rect +â–­ +® +® +&rfisht +⥽ +&rfloor +⌋ +&rfr +𔯠+&rhard +⇠+&rharu +⇀ +&rharul +⥬ +&rho +Ï +&rhov +ϱ +&rightarrow +→ +&rightarrowtail +↣ +&rightharpoondown +⇠+&rightharpoonup +⇀ +&rightleftarrows +⇄ +&rightleftharpoons +⇌ +&rightrightarrows +⇉ +&rightsquigarrow +↠+&rightthreetimes +⋌ +&ring +Ëš +&risingdotseq +≓ +&rlarr +⇄ +&rlhar +⇌ +&rlm +†+&rmoust +⎱ +&rmoustache +⎱ +&rnmid +â«® +&roang +⟭ +&roarr +⇾ +&robrk +⟧ +&ropar +⦆ +&ropf +ð•£ +&roplus +⨮ +&rotimes +⨵ +&rpar +) +&rpargt +⦔ +&rppolint +⨒ +&rrarr +⇉ +&rsaquo +› +&rscr +𓇠+&rsh +↱ +&rsqb +] +&rsquo +’ +&rsquor +’ +&rthree +⋌ +&rtimes +⋊ +&rtri +â–¹ +&rtrie +⊵ +&rtrif +â–¸ +&rtriltri +â§Ž +&ruluhar +⥨ +&rx +℞ +&sacute +Å› +&sbquo +‚ +&sc +≻ +&scE +⪴ +&scap +⪸ +&scaron +Å¡ +&sccue +≽ +&sce +⪰ +&scedil +ÅŸ +&scirc +Å +&scnE +⪶ +&scnap +⪺ +&scnsim +â‹© +&scpolint +⨓ +&scsim +≿ +&scy +Ñ +&sdot +â‹… +&sdotb +⊡ +&sdote +⩦ +&seArr +⇘ +&searhk +⤥ +&searr +↘ +&searrow +↘ +§ +§ +&semi +; +&seswar +⤩ +&setminus +∖ +&setmn +∖ +&sext +✶ +&sfr +ð”° +&sfrown +⌢ +&sharp +♯ +&shchcy +щ +&shcy +ш +&shortmid +∣ +&shortparallel +∥ +­ +­ +&sigma +σ +&sigmaf +Ï‚ +&sigmav +Ï‚ +&sim +∼ +&simdot +⩪ +&sime +≃ +&simeq +≃ +&simg +⪞ +&simgE +⪠ +&siml +⪠+&simlE +⪟ +&simne +≆ +&simplus +⨤ +&simrarr +⥲ +&slarr +↠+&smallsetminus +∖ +&smashp +⨳ +&smeparsl +⧤ +&smid +∣ +&smile +⌣ +&smt +⪪ +&smte +⪬ +&smtes +⪬︀ +&softcy +ÑŒ +&sol +/ +&solb +â§„ +&solbar +⌿ +&sopf +𕤠+&spades +â™  +&spadesuit +â™  +&spar +∥ +&sqcap +⊓ +&sqcaps +⊓︀ +&sqcup +⊔ +&sqcups +⊔︀ +&sqsub +⊠+&sqsube +⊑ +&sqsubset +⊠+&sqsubseteq +⊑ +&sqsup +⊠+&sqsupe +⊒ +&sqsupset +⊠+&sqsupseteq +⊒ +&squ +â–¡ +&square +â–¡ +&squarf +â–ª +&squf +â–ª +&srarr +→ +&sscr +𓈠+&ssetmn +∖ +&ssmile +⌣ +&sstarf +⋆ +&star +☆ +&starf +★ +&straightepsilon +ϵ +&straightphi +Ï• +&strns +¯ +&sub +⊂ +&subE +â«… +&subdot +⪽ +&sube +⊆ +&subedot +⫃ +&submult +â« +&subnE +â«‹ +&subne +⊊ +&subplus +⪿ +&subrarr +⥹ +&subset +⊂ +&subseteq +⊆ +&subseteqq +â«… +&subsetneq +⊊ +&subsetneqq +â«‹ +&subsim +⫇ +&subsub +â«• +&subsup +â«“ +&succ +≻ +&succapprox +⪸ +&succcurlyeq +≽ +&succeq +⪰ +&succnapprox +⪺ +&succneqq +⪶ +&succnsim +â‹© +&succsim +≿ +&sum +∑ +&sung +♪ +¹ +¹ +² +² +³ +³ +&sup +⊃ +&supE +⫆ +&supdot +⪾ +&supdsub +⫘ +&supe +⊇ +&supedot +â«„ +&suphsol +⟉ +&suphsub +â«— +&suplarr +⥻ +&supmult +â«‚ +&supnE +⫌ +&supne +⊋ +&supplus +â«€ +&supset +⊃ +&supseteq +⊇ +&supseteqq +⫆ +&supsetneq +⊋ +&supsetneqq +⫌ +&supsim +⫈ +&supsub +â«” +&supsup +â«– +&swArr +⇙ +&swarhk +⤦ +&swarr +↙ +&swarrow +↙ +&swnwar +⤪ +ß +ß +&target +⌖ +&tau +Ï„ +&tbrk +⎴ +&tcaron +Å¥ +&tcedil +Å£ +&tcy +Ñ‚ +&tdot +⃛ +&telrec +⌕ +&tfr +ð”± +&there4 +∴ +&therefore +∴ +&theta +θ +&thetasym +Ï‘ +&thetav +Ï‘ +&thickapprox +≈ +&thicksim +∼ +&thinsp +  +&thkap +≈ +&thksim +∼ +þ +þ +&tilde +Ëœ +× +× +×b +⊠ +×bar +⨱ +×d +⨰ +&tint +∭ +&toea +⤨ +&top +⊤ +&topbot +⌶ +&topcir +⫱ +&topf +ð•¥ +&topfork +⫚ +&tosa +⤩ +&tprime +‴ +&trade +â„¢ +&triangle +â–µ +&triangledown +â–¿ +&triangleleft +â—ƒ +&trianglelefteq +⊴ +&triangleq +≜ +&triangleright +â–¹ +&trianglerighteq +⊵ +&tridot +â—¬ +&trie +≜ +&triminus +⨺ +&triplus +⨹ +&trisb +â§ +&tritime +⨻ +&trpezium +⢠+&tscr +𓉠+&tscy +ц +&tshcy +Ñ› +&tstrok +ŧ +&twixt +≬ +&twoheadleftarrow +↞ +&twoheadrightarrow +↠ +&uArr +⇑ +&uHar +⥣ +ú +ú +&uarr +↑ +&ubrcy +Ñž +&ubreve +Å­ +û +û +&ucy +у +&udarr +⇅ +&udblac +ű +&udhar +⥮ +&ufisht +⥾ +&ufr +𔲠+ù +ù +&uharl +↿ +&uharr +↾ +&uhblk +â–€ +&ulcorn +⌜ +&ulcorner +⌜ +&ulcrop +⌠+&ultri +â—¸ +&umacr +Å« +¨ +¨ +&uogon +ų +&uopf +𕦠+&uparrow +↑ +&updownarrow +↕ +&upharpoonleft +↿ +&upharpoonright +↾ +&uplus +⊎ +&upsi +Ï… +&upsih +Ï’ +&upsilon +Ï… +&upuparrows +⇈ +&urcorn +⌠+&urcorner +⌠+&urcrop +⌎ +&uring +ů +&urtri +â—¹ +&uscr +𓊠+&utdot +â‹° +&utilde +Å© +&utri +â–µ +&utrif +â–´ +&uuarr +⇈ +ü +ü +&uwangle +⦧ +&vArr +⇕ +&vBar +⫨ +&vBarv +â«© +&vDash +⊨ +&vangrt +⦜ +&varepsilon +ϵ +&varkappa +ϰ +&varnothing +∅ +&varphi +Ï• +&varpi +Ï– +&varpropto +∠+&varr +↕ +&varrho +ϱ +&varsigma +Ï‚ +&varsubsetneq +⊊︀ +&varsubsetneqq +⫋︀ +&varsupsetneq +⊋︀ +&varsupsetneqq +⫌︀ +&vartheta +Ï‘ +&vartriangleleft +⊲ +&vartriangleright +⊳ +&vcy +в +&vdash +⊢ +&vee +∨ +&veebar +⊻ +&veeeq +≚ +&vellip +â‹® +&verbar +| +&vert +| +&vfr +𔳠+&vltri +⊲ +&vnsub +⊂⃒ +&vnsup +⊃⃒ +&vopf +ð•§ +&vprop +∠+&vrtri +⊳ +&vscr +ð“‹ +&vsubnE +⫋︀ +&vsubne +⊊︀ +&vsupnE +⫌︀ +&vsupne +⊋︀ +&vzigzag +⦚ +&wcirc +ŵ +&wedbar +⩟ +&wedge +∧ +&wedgeq +≙ +&weierp +℘ +&wfr +ð”´ +&wopf +𕨠+&wp +℘ +&wr +≀ +&wreath +≀ +&wscr +𓌠+&xcap +â‹‚ +&xcirc +â—¯ +&xcup +⋃ +&xdtri +â–½ +&xfr +𔵠+&xhArr +⟺ +&xharr +⟷ +&xi +ξ +&xlArr +⟸ +&xlarr +⟵ +&xmap +⟼ +&xnis +â‹» +&xodot +⨀ +&xopf +ð•© +&xoplus +⨠+&xotime +⨂ +&xrArr +⟹ +&xrarr +⟶ +&xscr +ð“ +&xsqcup +⨆ +&xuplus +⨄ +&xutri +â–³ +&xvee +â‹ +&xwedge +â‹€ +ý +ý +&yacy +Ñ +&ycirc +Å· +&ycy +Ñ‹ +Â¥ +Â¥ +&yfr +ð”¶ +&yicy +Ñ— +&yopf +𕪠+&yscr +𓎠+&yucy +ÑŽ +ÿ +ÿ +&zacute +ź +&zcaron +ž +&zcy +з +&zdot +ż +&zeetrf +ℨ +&zeta +ζ +&zfr +ð”· +&zhcy +ж +&zigrarr +⇠+&zopf +ð•« +&zscr +ð“ +&zwj +†+&zwnj +‌ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5-entities.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5-entities.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..ba07ff156b8585c9b033f93561fbf2362eff7a52 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5-entities.html.sax @@ -0,0 +1,8816 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(html, , ) +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(meta, http-equiv='Content-Type', content='text/html; charset=utf-8') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.characters(Æ, 2) +SAX.characters( +, 1) +SAX.characters(Æ, 2) +SAX.characters( +, 1) +SAX.characters(&, 1) +SAX.characters( +, 1) +SAX.characters(&, 1) +SAX.characters( +, 1) +SAX.characters(Á, 2) +SAX.characters( +, 1) +SAX.characters(Á, 2) +SAX.characters( +&Abreve +, 9) +SAX.characters(Ă, 2) +SAX.characters( +, 1) +SAX.characters(Â, 2) +SAX.characters( +, 1) +SAX.characters(Â, 2) +SAX.characters( +&Acy +, 6) +SAX.characters(А, 2) +SAX.characters( +&Afr +, 6) +SAX.characters(𝔄, 4) +SAX.characters( +, 1) +SAX.characters(À, 2) +SAX.characters( +, 1) +SAX.characters(À, 2) +SAX.characters( +&Alpha +, 8) +SAX.characters(Α, 2) +SAX.characters( +&Amacr +, 8) +SAX.characters(Ā, 2) +SAX.characters( +&And +, 6) +SAX.characters(⩓, 3) +SAX.characters( +&Aogon +, 8) +SAX.characters(Ą, 2) +SAX.characters( +&Aopf +, 7) +SAX.characters(𝔸, 4) +SAX.characters( +&ApplyFunction +, 16) +SAX.characters(⁡, 3) +SAX.characters( +, 1) +SAX.characters(Å, 2) +SAX.characters( +, 1) +SAX.characters(Å, 2) +SAX.characters( +&Ascr +, 7) +SAX.characters(𝒜, 4) +SAX.characters( +&Assign +, 9) +SAX.characters(≔, 3) +SAX.characters( +, 1) +SAX.characters(Ã, 2) +SAX.characters( +, 1) +SAX.characters(Ã, 2) +SAX.characters( +, 1) +SAX.characters(Ä, 2) +SAX.characters( +, 1) +SAX.characters(Ä, 2) +SAX.characters( +&Backslash +, 12) +SAX.characters(∖, 3) +SAX.characters( +&Barv +, 7) +SAX.characters(⫧, 3) +SAX.characters( +&Barwed +, 9) +SAX.characters(⌆, 3) +SAX.characters( +&Bcy +, 6) +SAX.characters(Б, 2) +SAX.characters( +&Because +, 10) +SAX.characters(∵, 3) +SAX.characters( +&Bernoullis +, 13) +SAX.characters(ℬ, 3) +SAX.characters( +&Beta +, 7) +SAX.characters(Β, 2) +SAX.characters( +&Bfr +, 6) +SAX.characters(𝔅, 4) +SAX.characters( +&Bopf +, 7) +SAX.characters(𝔹, 4) +SAX.characters( +&Breve +, 8) +SAX.characters(˘, 2) +SAX.characters( +&Bscr +, 7) +SAX.characters(ℬ, 3) +SAX.characters( +&Bumpeq +, 9) +SAX.characters(≎, 3) +SAX.characters( +&CHcy +, 7) +SAX.characters(Ч, 2) +SAX.characters( +, 1) +SAX.characters(©, 2) +SAX.characters( +, 1) +SAX.characters(©, 2) +SAX.characters( +&Cacute +, 9) +SAX.characters(Ć, 2) +SAX.characters( +&Cap +, 6) +SAX.characters(⋒, 3) +SAX.characters( +&CapitalDifferentialD +, 23) +SAX.characters(ⅅ, 3) +SAX.characters( +&Cayleys +, 10) +SAX.characters(ℭ, 3) +SAX.characters( +&Ccaron +, 9) +SAX.characters(Č, 2) +SAX.characters( +, 1) +SAX.characters(Ç, 2) +SAX.characters( +, 1) +SAX.characters(Ç, 2) +SAX.characters( +&Ccirc +, 8) +SAX.characters(Ĉ, 2) +SAX.characters( +&Cconint +, 10) +SAX.characters(∰, 3) +SAX.characters( +&Cdot +, 7) +SAX.characters(Ċ, 2) +SAX.characters( +&Cedilla +, 10) +SAX.characters(¸, 2) +SAX.characters( +&CenterDot +, 12) +SAX.characters(·, 2) +SAX.characters( +&Cfr +, 6) +SAX.characters(ℭ, 3) +SAX.characters( +&Chi +, 6) +SAX.characters(Χ, 2) +SAX.characters( +&CircleDot +, 12) +SAX.characters(⊙, 3) +SAX.characters( +&CircleMinus +, 14) +SAX.characters(⊖, 3) +SAX.characters( +&CirclePlus +, 13) +SAX.characters(⊕, 3) +SAX.characters( +&CircleTimes +, 14) +SAX.characters(⊗, 3) +SAX.characters( +&ClockwiseContourIntegral, 27) +SAX.characters(∲, 3) +SAX.characters( +&CloseCurlyDoubleQuote +, 24) +SAX.characters(”, 3) +SAX.characters( +&CloseCurlyQuote +, 18) +SAX.characters(’, 3) +SAX.characters( +&Colon +, 8) +SAX.characters(∷, 3) +SAX.characters( +&Colone +, 9) +SAX.characters(⩴, 3) +SAX.characters( +&Congruent +, 12) +SAX.characters(≡, 3) +SAX.characters( +&Conint +, 9) +SAX.characters(∯, 3) +SAX.characters( +&ContourIntegral +, 18) +SAX.characters(∮, 3) +SAX.characters( +&Copf +, 7) +SAX.characters(ℂ, 3) +SAX.characters( +&Coproduct +, 12) +SAX.characters(∐, 3) +SAX.characters( +&CounterClockwiseContourI, 34) +SAX.characters(∳, 3) +SAX.characters( +&Cross +, 8) +SAX.characters(⨯, 3) +SAX.characters( +&Cscr +, 7) +SAX.characters(𝒞, 4) +SAX.characters( +&Cup +, 6) +SAX.characters(⋓, 3) +SAX.characters( +&CupCap +, 9) +SAX.characters(≍, 3) +SAX.characters( +&DD +, 5) +SAX.characters(ⅅ, 3) +SAX.characters( +&DDotrahd +, 11) +SAX.characters(⤑, 3) +SAX.characters( +&DJcy +, 7) +SAX.characters(Ђ, 2) +SAX.characters( +&DScy +, 7) +SAX.characters(Ѕ, 2) +SAX.characters( +&DZcy +, 7) +SAX.characters(Џ, 2) +SAX.characters( +&Dagger +, 9) +SAX.characters(‡, 3) +SAX.characters( +&Darr +, 7) +SAX.characters(↡, 3) +SAX.characters( +&Dashv +, 8) +SAX.characters(⫤, 3) +SAX.characters( +&Dcaron +, 9) +SAX.characters(Ď, 2) +SAX.characters( +&Dcy +, 6) +SAX.characters(Д, 2) +SAX.characters( +&Del +, 6) +SAX.characters(∇, 3) +SAX.characters( +&Delta +, 8) +SAX.characters(Δ, 2) +SAX.characters( +&Dfr +, 6) +SAX.characters(𝔇, 4) +SAX.characters( +&DiacriticalAcute +, 19) +SAX.characters(´, 2) +SAX.characters( +&DiacriticalDot +, 17) +SAX.characters(˙, 2) +SAX.characters( +&DiacriticalDoubleAcute +, 25) +SAX.characters(˝, 2) +SAX.characters( +&DiacriticalGrave +, 19) +SAX.characters(`, 1) +SAX.characters( +&DiacriticalTilde +, 19) +SAX.characters(˜, 2) +SAX.characters( +&Diamond +, 10) +SAX.characters(⋄, 3) +SAX.characters( +&DifferentialD +, 16) +SAX.characters(ⅆ, 3) +SAX.characters( +&Dopf +, 7) +SAX.characters(𝔻, 4) +SAX.characters( +&Dot +, 6) +SAX.characters(¨, 2) +SAX.characters( +&DotDot +, 9) +SAX.characters(⃜, 3) +SAX.characters( +&DotEqual +, 11) +SAX.characters(≐, 3) +SAX.characters( +&DoubleContourIntegral +, 24) +SAX.characters(∯, 3) +SAX.characters( +&DoubleDot +, 12) +SAX.characters(¨, 2) +SAX.characters( +&DoubleDownArrow +, 18) +SAX.characters(⇓, 3) +SAX.characters( +&DoubleLeftArrow +, 18) +SAX.characters(⇐, 3) +SAX.characters( +&DoubleLeftRightArrow +, 23) +SAX.characters(⇔, 3) +SAX.characters( +&DoubleLeftTee +, 16) +SAX.characters(⫤, 3) +SAX.characters( +&DoubleLongLeftArrow +, 22) +SAX.characters(⟸, 3) +SAX.characters( +&DoubleLongLeftRightArrow, 27) +SAX.characters(⟺, 3) +SAX.characters( +&DoubleLongRightArrow +, 23) +SAX.characters(⟹, 3) +SAX.characters( +&DoubleRightArrow +, 19) +SAX.characters(⇒, 3) +SAX.characters( +&DoubleRightTee +, 17) +SAX.characters(⊨, 3) +SAX.characters( +&DoubleUpArrow +, 16) +SAX.characters(⇑, 3) +SAX.characters( +&DoubleUpDownArrow +, 20) +SAX.characters(⇕, 3) +SAX.characters( +&DoubleVerticalBar +, 20) +SAX.characters(∥, 3) +SAX.characters( +&DownArrow +, 12) +SAX.characters(↓, 3) +SAX.characters( +&DownArrowBar +, 15) +SAX.characters(⤓, 3) +SAX.characters( +&DownArrowUpArrow +, 19) +SAX.characters(⇵, 3) +SAX.characters( +&DownBreve +, 12) +SAX.characters(̑, 2) +SAX.characters( +&DownLeftRightVector +, 22) +SAX.characters(⥐, 3) +SAX.characters( +&DownLeftTeeVector +, 20) +SAX.characters(⥞, 3) +SAX.characters( +&DownLeftVector +, 17) +SAX.characters(↽, 3) +SAX.characters( +&DownLeftVectorBar +, 20) +SAX.characters(⥖, 3) +SAX.characters( +&DownRightTeeVector +, 21) +SAX.characters(⥟, 3) +SAX.characters( +&DownRightVector +, 18) +SAX.characters(⇁, 3) +SAX.characters( +&DownRightVectorBar +, 21) +SAX.characters(⥗, 3) +SAX.characters( +&DownTee +, 10) +SAX.characters(⊤, 3) +SAX.characters( +&DownTeeArrow +, 15) +SAX.characters(↧, 3) +SAX.characters( +&Downarrow +, 12) +SAX.characters(⇓, 3) +SAX.characters( +&Dscr +, 7) +SAX.characters(𝒟, 4) +SAX.characters( +&Dstrok +, 9) +SAX.characters(Đ, 2) +SAX.characters( +&ENG +, 6) +SAX.characters(Ŋ, 2) +SAX.characters( +, 1) +SAX.characters(Ð, 2) +SAX.characters( +, 1) +SAX.characters(Ð, 2) +SAX.characters( +, 1) +SAX.characters(É, 2) +SAX.characters( +, 1) +SAX.characters(É, 2) +SAX.characters( +&Ecaron +, 9) +SAX.characters(Ě, 2) +SAX.characters( +, 1) +SAX.characters(Ê, 2) +SAX.characters( +, 1) +SAX.characters(Ê, 2) +SAX.characters( +&Ecy +, 6) +SAX.characters(Э, 2) +SAX.characters( +&Edot +, 7) +SAX.characters(Ė, 2) +SAX.characters( +&Efr +, 6) +SAX.characters(𝔈, 4) +SAX.characters( +, 1) +SAX.characters(È, 2) +SAX.characters( +, 1) +SAX.characters(È, 2) +SAX.characters( +&Element +, 10) +SAX.characters(∈, 3) +SAX.characters( +&Emacr +, 8) +SAX.characters(Ē, 2) +SAX.characters( +&EmptySmallSquare +, 19) +SAX.characters(◻, 3) +SAX.characters( +&EmptyVerySmallSquare +, 23) +SAX.characters(▫, 3) +SAX.characters( +&Eogon +, 8) +SAX.characters(Ę, 2) +SAX.characters( +&Eopf +, 7) +SAX.characters(𝔼, 4) +SAX.characters( +&Epsilon +, 10) +SAX.characters(Ε, 2) +SAX.characters( +&Equal +, 8) +SAX.characters(⩵, 3) +SAX.characters( +&EqualTilde +, 13) +SAX.characters(≂, 3) +SAX.characters( +&Equilibrium +, 14) +SAX.characters(⇌, 3) +SAX.characters( +&Escr +, 7) +SAX.characters(ℰ, 3) +SAX.characters( +&Esim +, 7) +SAX.characters(⩳, 3) +SAX.characters( +&Eta +, 6) +SAX.characters(Η, 2) +SAX.characters( +, 1) +SAX.characters(Ë, 2) +SAX.characters( +, 1) +SAX.characters(Ë, 2) +SAX.characters( +&Exists +, 9) +SAX.characters(∃, 3) +SAX.characters( +&ExponentialE +, 15) +SAX.characters(ⅇ, 3) +SAX.characters( +&Fcy +, 6) +SAX.characters(Ф, 2) +SAX.characters( +&Ffr +, 6) +SAX.characters(𝔉, 4) +SAX.characters( +&FilledSmallSquare +, 20) +SAX.characters(◼, 3) +SAX.characters( +&FilledVerySmallSquare +, 24) +SAX.characters(▪, 3) +SAX.characters( +&Fopf +, 7) +SAX.characters(𝔽, 4) +SAX.characters( +&ForAll +, 9) +SAX.characters(∀, 3) +SAX.characters( +&Fouriertrf +, 13) +SAX.characters(ℱ, 3) +SAX.characters( +&Fscr +, 7) +SAX.characters(ℱ, 3) +SAX.characters( +&GJcy +, 7) +SAX.characters(Ѓ, 2) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters( +&Gamma +, 8) +SAX.characters(Γ, 2) +SAX.characters( +&Gammad +, 9) +SAX.characters(Ϝ, 2) +SAX.characters( +&Gbreve +, 9) +SAX.characters(Ğ, 2) +SAX.characters( +&Gcedil +, 9) +SAX.characters(Ģ, 2) +SAX.characters( +&Gcirc +, 8) +SAX.characters(Ĝ, 2) +SAX.characters( +&Gcy +, 6) +SAX.characters(Г, 2) +SAX.characters( +&Gdot +, 7) +SAX.characters(Ġ, 2) +SAX.characters( +&Gfr +, 6) +SAX.characters(𝔊, 4) +SAX.characters( +&Gg +, 5) +SAX.characters(⋙, 3) +SAX.characters( +&Gopf +, 7) +SAX.characters(𝔾, 4) +SAX.characters( +&GreaterEqual +, 15) +SAX.characters(≥, 3) +SAX.characters( +&GreaterEqualLess +, 19) +SAX.characters(⋛, 3) +SAX.characters( +&GreaterFullEqual +, 19) +SAX.characters(≧, 3) +SAX.characters( +&GreaterGreater +, 17) +SAX.characters(⪢, 3) +SAX.characters( +&GreaterLess +, 14) +SAX.characters(≷, 3) +SAX.characters( +&GreaterSlantEqual +, 20) +SAX.characters(⩾, 3) +SAX.characters( +&GreaterTilde +, 15) +SAX.characters(≳, 3) +SAX.characters( +&Gscr +, 7) +SAX.characters(𝒢, 4) +SAX.characters( +&Gt +, 5) +SAX.characters(≫, 3) +SAX.characters( +&HARDcy +, 9) +SAX.characters(Ъ, 2) +SAX.characters( +&Hacek +, 8) +SAX.characters(ˇ, 2) +SAX.characters( +&Hat +, 6) +SAX.characters(^, 1) +SAX.characters( +&Hcirc +, 8) +SAX.characters(Ĥ, 2) +SAX.characters( +&Hfr +, 6) +SAX.characters(ℌ, 3) +SAX.characters( +&HilbertSpace +, 15) +SAX.characters(ℋ, 3) +SAX.characters( +&Hopf +, 7) +SAX.characters(ℍ, 3) +SAX.characters( +&HorizontalLine +, 17) +SAX.characters(─, 3) +SAX.characters( +&Hscr +, 7) +SAX.characters(ℋ, 3) +SAX.characters( +&Hstrok +, 9) +SAX.characters(Ħ, 2) +SAX.characters( +&HumpDownHump +, 15) +SAX.characters(≎, 3) +SAX.characters( +&HumpEqual +, 12) +SAX.characters(≏, 3) +SAX.characters( +&IEcy +, 7) +SAX.characters(Е, 2) +SAX.characters( +&IJlig +, 8) +SAX.characters(IJ, 2) +SAX.characters( +&IOcy +, 7) +SAX.characters(Ё, 2) +SAX.characters( +, 1) +SAX.characters(Í, 2) +SAX.characters( +, 1) +SAX.characters(Í, 2) +SAX.characters( +, 1) +SAX.characters(Î, 2) +SAX.characters( +, 1) +SAX.characters(Î, 2) +SAX.characters( +&Icy +, 6) +SAX.characters(И, 2) +SAX.characters( +&Idot +, 7) +SAX.characters(İ, 2) +SAX.characters( +&Ifr +, 6) +SAX.characters(ℑ, 3) +SAX.characters( +, 1) +SAX.characters(Ì, 2) +SAX.characters( +, 1) +SAX.characters(Ì, 2) +SAX.characters( +&Im +, 5) +SAX.characters(ℑ, 3) +SAX.characters( +&Imacr +, 8) +SAX.characters(Ī, 2) +SAX.characters( +&ImaginaryI +, 13) +SAX.characters(ⅈ, 3) +SAX.characters( +&Implies +, 10) +SAX.characters(⇒, 3) +SAX.characters( +&Int +, 6) +SAX.characters(∬, 3) +SAX.characters( +&Integral +, 11) +SAX.characters(∫, 3) +SAX.characters( +&Intersection +, 15) +SAX.characters(⋂, 3) +SAX.characters( +&InvisibleComma +, 17) +SAX.characters(⁣, 3) +SAX.characters( +&InvisibleTimes +, 17) +SAX.characters(⁢, 3) +SAX.characters( +&Iogon +, 8) +SAX.characters(Į, 2) +SAX.characters( +&Iopf +, 7) +SAX.characters(𝕀, 4) +SAX.characters( +&Iota +, 7) +SAX.characters(Ι, 2) +SAX.characters( +&Iscr +, 7) +SAX.characters(ℐ, 3) +SAX.characters( +&Itilde +, 9) +SAX.characters(Ĩ, 2) +SAX.characters( +&Iukcy +, 8) +SAX.characters(І, 2) +SAX.characters( +, 1) +SAX.characters(Ï, 2) +SAX.characters( +, 1) +SAX.characters(Ï, 2) +SAX.characters( +&Jcirc +, 8) +SAX.characters(Ĵ, 2) +SAX.characters( +&Jcy +, 6) +SAX.characters(Й, 2) +SAX.characters( +&Jfr +, 6) +SAX.characters(𝔍, 4) +SAX.characters( +&Jopf +, 7) +SAX.characters(𝕁, 4) +SAX.characters( +&Jscr +, 7) +SAX.characters(𝒥, 4) +SAX.characters( +&Jsercy +, 9) +SAX.characters(Ј, 2) +SAX.characters( +&Jukcy +, 8) +SAX.characters(Є, 2) +SAX.characters( +&KHcy +, 7) +SAX.characters(Х, 2) +SAX.characters( +&KJcy +, 7) +SAX.characters(Ќ, 2) +SAX.characters( +&Kappa +, 8) +SAX.characters(Κ, 2) +SAX.characters( +&Kcedil +, 9) +SAX.characters(Ķ, 2) +SAX.characters( +&Kcy +, 6) +SAX.characters(К, 2) +SAX.characters( +&Kfr +, 6) +SAX.characters(𝔎, 4) +SAX.characters( +&Kopf +, 7) +SAX.characters(𝕂, 4) +SAX.characters( +&Kscr +, 7) +SAX.characters(𝒦, 4) +SAX.characters( +&LJcy +, 7) +SAX.characters(Љ, 2) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters( +&Lacute +, 9) +SAX.characters(Ĺ, 2) +SAX.characters( +&Lambda +, 9) +SAX.characters(Λ, 2) +SAX.characters( +&Lang +, 7) +SAX.characters(⟪, 3) +SAX.characters( +&Laplacetrf +, 13) +SAX.characters(ℒ, 3) +SAX.characters( +&Larr +, 7) +SAX.characters(↞, 3) +SAX.characters( +&Lcaron +, 9) +SAX.characters(Ľ, 2) +SAX.characters( +&Lcedil +, 9) +SAX.characters(Ļ, 2) +SAX.characters( +&Lcy +, 6) +SAX.characters(Л, 2) +SAX.characters( +&LeftAngleBracket +, 19) +SAX.characters(⟨, 3) +SAX.characters( +&LeftArrow +, 12) +SAX.characters(←, 3) +SAX.characters( +&LeftArrowBar +, 15) +SAX.characters(⇤, 3) +SAX.characters( +&LeftArrowRightArrow +, 22) +SAX.characters(⇆, 3) +SAX.characters( +&LeftCeiling +, 14) +SAX.characters(⌈, 3) +SAX.characters( +&LeftDoubleBracket +, 20) +SAX.characters(⟦, 3) +SAX.characters( +&LeftDownTeeVector +, 20) +SAX.characters(⥡, 3) +SAX.characters( +&LeftDownVector +, 17) +SAX.characters(⇃, 3) +SAX.characters( +&LeftDownVectorBar +, 20) +SAX.characters(⥙, 3) +SAX.characters( +&LeftFloor +, 12) +SAX.characters(⌊, 3) +SAX.characters( +&LeftRightArrow +, 17) +SAX.characters(↔, 3) +SAX.characters( +&LeftRightVector +, 18) +SAX.characters(⥎, 3) +SAX.characters( +&LeftTee +, 10) +SAX.characters(⊣, 3) +SAX.characters( +&LeftTeeArrow +, 15) +SAX.characters(↤, 3) +SAX.characters( +&LeftTeeVector +, 16) +SAX.characters(⥚, 3) +SAX.characters( +&LeftTriangle +, 15) +SAX.characters(⊲, 3) +SAX.characters( +&LeftTriangleBar +, 18) +SAX.characters(⧏, 3) +SAX.characters( +&LeftTriangleEqual +, 20) +SAX.characters(⊴, 3) +SAX.characters( +&LeftUpDownVector +, 19) +SAX.characters(⥑, 3) +SAX.characters( +&LeftUpTeeVector +, 18) +SAX.characters(⥠, 3) +SAX.characters( +&LeftUpVector +, 15) +SAX.characters(↿, 3) +SAX.characters( +&LeftUpVectorBar +, 18) +SAX.characters(⥘, 3) +SAX.characters( +&LeftVector +, 13) +SAX.characters(↼, 3) +SAX.characters( +&LeftVectorBar +, 16) +SAX.characters(⥒, 3) +SAX.characters( +&Leftarrow +, 12) +SAX.characters(⇐, 3) +SAX.characters( +&Leftrightarrow +, 17) +SAX.characters(⇔, 3) +SAX.characters( +&LessEqualGreater +, 19) +SAX.characters(⋚, 3) +SAX.characters( +&LessFullEqual +, 16) +SAX.characters(≦, 3) +SAX.characters( +&LessGreater +, 14) +SAX.characters(≶, 3) +SAX.characters( +&LessLess +, 11) +SAX.characters(⪡, 3) +SAX.characters( +&LessSlantEqual +, 17) +SAX.characters(⩽, 3) +SAX.characters( +&LessTilde +, 12) +SAX.characters(≲, 3) +SAX.characters( +&Lfr +, 6) +SAX.characters(𝔏, 4) +SAX.characters( +&Ll +, 5) +SAX.characters(⋘, 3) +SAX.characters( +&Lleftarrow +, 13) +SAX.characters(⇚, 3) +SAX.characters( +&Lmidot +, 9) +SAX.characters(Ŀ, 2) +SAX.characters( +&LongLeftArrow +, 16) +SAX.characters(⟵, 3) +SAX.characters( +&LongLeftRightArrow +, 21) +SAX.characters(⟷, 3) +SAX.characters( +&LongRightArrow +, 17) +SAX.characters(⟶, 3) +SAX.characters( +&Longleftarrow +, 16) +SAX.characters(⟸, 3) +SAX.characters( +&Longleftrightarrow +, 21) +SAX.characters(⟺, 3) +SAX.characters( +&Longrightarrow +, 17) +SAX.characters(⟹, 3) +SAX.characters( +&Lopf +, 7) +SAX.characters(𝕃, 4) +SAX.characters( +&LowerLeftArrow +, 17) +SAX.characters(↙, 3) +SAX.characters( +&LowerRightArrow +, 18) +SAX.characters(↘, 3) +SAX.characters( +&Lscr +, 7) +SAX.characters(ℒ, 3) +SAX.characters( +&Lsh +, 6) +SAX.characters(↰, 3) +SAX.characters( +&Lstrok +, 9) +SAX.characters(Ł, 2) +SAX.characters( +&Lt +, 5) +SAX.characters(≪, 3) +SAX.characters( +&Map +, 6) +SAX.characters(⤅, 3) +SAX.characters( +&Mcy +, 6) +SAX.characters(М, 2) +SAX.characters( +&MediumSpace +, 14) +SAX.characters( , 3) +SAX.characters( +&Mellintrf +, 12) +SAX.characters(ℳ, 3) +SAX.characters( +&Mfr +, 6) +SAX.characters(𝔐, 4) +SAX.characters( +&MinusPlus +, 12) +SAX.characters(∓, 3) +SAX.characters( +&Mopf +, 7) +SAX.characters(𝕄, 4) +SAX.characters( +&Mscr +, 7) +SAX.characters(ℳ, 3) +SAX.characters( +&Mu +, 5) +SAX.characters(Μ, 2) +SAX.characters( +&NJcy +, 7) +SAX.characters(Њ, 2) +SAX.characters( +&Nacute +, 9) +SAX.characters(Ń, 2) +SAX.characters( +&Ncaron +, 9) +SAX.characters(Ň, 2) +SAX.characters( +&Ncedil +, 9) +SAX.characters(Ņ, 2) +SAX.characters( +&Ncy +, 6) +SAX.characters(Н, 2) +SAX.characters( +&NegativeMediumSpace +, 22) +SAX.characters(​, 3) +SAX.characters( +&NegativeThickSpace +, 21) +SAX.characters(​, 3) +SAX.characters( +&NegativeThinSpace +, 20) +SAX.characters(​, 3) +SAX.characters( +&NegativeVeryThinSpace +, 24) +SAX.characters(​, 3) +SAX.characters( +&NestedGreaterGreater +, 23) +SAX.characters(≫, 3) +SAX.characters( +&NestedLessLess +, 17) +SAX.characters(≪, 3) +SAX.characters( +&NewLine +, 10) +SAX.characters( +, 1) +SAX.characters( +&Nfr +, 6) +SAX.characters(𝔑, 4) +SAX.characters( +&NoBreak +, 10) +SAX.characters(⁠, 3) +SAX.characters( +&NonBreakingSpace +, 19) +SAX.characters( , 2) +SAX.characters( +&Nopf +, 7) +SAX.characters(ℕ, 3) +SAX.characters( +&Not +, 6) +SAX.characters(⫬, 3) +SAX.characters( +&NotCongruent +, 15) +SAX.characters(≢, 3) +SAX.characters( +&NotCupCap +, 12) +SAX.characters(≭, 3) +SAX.characters( +&NotDoubleVerticalBar +, 23) +SAX.characters(∦, 3) +SAX.characters( +&NotElement +, 13) +SAX.characters(∉, 3) +SAX.characters( +&NotEqual +, 11) +SAX.characters(≠, 3) +SAX.characters( +&NotEqualTilde +, 16) +SAX.characters(≂̸, 5) +SAX.characters( +&NotExists +, 12) +SAX.characters(∄, 3) +SAX.characters( +&NotGreater +, 13) +SAX.characters(≯, 3) +SAX.characters( +&NotGreaterEqual +, 18) +SAX.characters(≱, 3) +SAX.characters( +&NotGreaterFullEqual +, 22) +SAX.characters(≧̸, 5) +SAX.characters( +&NotGreaterGreater +, 20) +SAX.characters(≫̸, 5) +SAX.characters( +&NotGreaterLess +, 17) +SAX.characters(≹, 3) +SAX.characters( +&NotGreaterSlantEqual +, 23) +SAX.characters(⩾̸, 5) +SAX.characters( +&NotGreaterTilde +, 18) +SAX.characters(≵, 3) +SAX.characters( +&NotHumpDownHump +, 18) +SAX.characters(≎̸, 5) +SAX.characters( +&NotHumpEqual +, 15) +SAX.characters(≏̸, 5) +SAX.characters( +&NotLeftTriangle +, 18) +SAX.characters(⋪, 3) +SAX.characters( +&NotLeftTriangleBar +, 21) +SAX.characters(⧏̸, 5) +SAX.characters( +&NotLeftTriangleEqual +, 23) +SAX.characters(⋬, 3) +SAX.characters( +&NotLess +, 10) +SAX.characters(≮, 3) +SAX.characters( +&NotLessEqual +, 15) +SAX.characters(≰, 3) +SAX.characters( +&NotLessGreater +, 17) +SAX.characters(≸, 3) +SAX.characters( +&NotLessLess +, 14) +SAX.characters(≪̸, 5) +SAX.characters( +&NotLessSlantEqual +, 20) +SAX.characters(⩽̸, 5) +SAX.characters( +&NotLessTilde +, 15) +SAX.characters(≴, 3) +SAX.characters( +&NotNestedGreaterGreater +, 26) +SAX.characters(⪢̸, 5) +SAX.characters( +&NotNestedLessLess +, 20) +SAX.characters(⪡̸, 5) +SAX.characters( +&NotPrecedes +, 14) +SAX.characters(⊀, 3) +SAX.characters( +&NotPrecedesEqual +, 19) +SAX.characters(⪯̸, 5) +SAX.characters( +&NotPrecedesSlantEqual +, 24) +SAX.characters(⋠, 3) +SAX.characters( +&NotReverseElement +, 20) +SAX.characters(∌, 3) +SAX.characters( +&NotRightTriangle +, 19) +SAX.characters(⋫, 3) +SAX.characters( +&NotRightTriangleBar +, 22) +SAX.characters(⧐̸, 5) +SAX.characters( +&NotRightTriangleEqual +, 24) +SAX.characters(⋭, 3) +SAX.characters( +&NotSquareSubset +, 18) +SAX.characters(⊏̸, 5) +SAX.characters( +&NotSquareSubsetEqual +, 23) +SAX.characters(⋢, 3) +SAX.characters( +&NotSquareSuperset +, 20) +SAX.characters(⊐̸, 5) +SAX.characters( +&NotSquareSupersetEqual +, 25) +SAX.characters(⋣, 3) +SAX.characters( +&NotSubset +, 12) +SAX.characters(⊂⃒, 6) +SAX.characters( +&NotSubsetEqual +, 17) +SAX.characters(⊈, 3) +SAX.characters( +&NotSucceeds +, 14) +SAX.characters(⊁, 3) +SAX.characters( +&NotSucceedsEqual +, 19) +SAX.characters(⪰̸, 5) +SAX.characters( +&NotSucceedsSlantEqual +, 24) +SAX.characters(⋡, 3) +SAX.characters( +&NotSucceedsTilde +, 19) +SAX.characters(≿̸, 5) +SAX.characters( +&NotSuperset +, 14) +SAX.characters(⊃⃒, 6) +SAX.characters( +&NotSupersetEqual +, 19) +SAX.characters(⊉, 3) +SAX.characters( +&NotTilde +, 11) +SAX.characters(≁, 3) +SAX.characters( +&NotTildeEqual +, 16) +SAX.characters(≄, 3) +SAX.characters( +&NotTildeFullEqual +, 20) +SAX.characters(≇, 3) +SAX.characters( +&NotTildeTilde +, 16) +SAX.characters(≉, 3) +SAX.characters( +&NotVerticalBar +, 17) +SAX.characters(∤, 3) +SAX.characters( +&Nscr +, 7) +SAX.characters(𝒩, 4) +SAX.characters( +, 1) +SAX.characters(Ñ, 2) +SAX.characters( +, 1) +SAX.characters(Ñ, 2) +SAX.characters( +&Nu +, 5) +SAX.characters(Ν, 2) +SAX.characters( +&OElig +, 8) +SAX.characters(Œ, 2) +SAX.characters( +, 1) +SAX.characters(Ó, 2) +SAX.characters( +, 1) +SAX.characters(Ó, 2) +SAX.characters( +, 1) +SAX.characters(Ô, 2) +SAX.characters( +, 1) +SAX.characters(Ô, 2) +SAX.characters( +&Ocy +, 6) +SAX.characters(О, 2) +SAX.characters( +&Odblac +, 9) +SAX.characters(Ő, 2) +SAX.characters( +&Ofr +, 6) +SAX.characters(𝔒, 4) +SAX.characters( +, 1) +SAX.characters(Ò, 2) +SAX.characters( +, 1) +SAX.characters(Ò, 2) +SAX.characters( +&Omacr +, 8) +SAX.characters(Ō, 2) +SAX.characters( +&Omega +, 8) +SAX.characters(Ω, 2) +SAX.characters( +&Omicron +, 10) +SAX.characters(Ο, 2) +SAX.characters( +&Oopf +, 7) +SAX.characters(𝕆, 4) +SAX.characters( +&OpenCurlyDoubleQuote +, 23) +SAX.characters(“, 3) +SAX.characters( +&OpenCurlyQuote +, 17) +SAX.characters(‘, 3) +SAX.characters( +&Or +, 5) +SAX.characters(⩔, 3) +SAX.characters( +&Oscr +, 7) +SAX.characters(𝒪, 4) +SAX.characters( +, 1) +SAX.characters(Ø, 2) +SAX.characters( +, 1) +SAX.characters(Ø, 2) +SAX.characters( +, 1) +SAX.characters(Õ, 2) +SAX.characters( +, 1) +SAX.characters(Õ, 2) +SAX.characters( +&Otimes +, 9) +SAX.characters(⨷, 3) +SAX.characters( +, 1) +SAX.characters(Ö, 2) +SAX.characters( +, 1) +SAX.characters(Ö, 2) +SAX.characters( +&OverBar +, 10) +SAX.characters(‾, 3) +SAX.characters( +&OverBrace +, 12) +SAX.characters(⏞, 3) +SAX.characters( +&OverBracket +, 14) +SAX.characters(⎴, 3) +SAX.characters( +&OverParenthesis +, 18) +SAX.characters(⏜, 3) +SAX.characters( +&PartialD +, 11) +SAX.characters(∂, 3) +SAX.characters( +&Pcy +, 6) +SAX.characters(П, 2) +SAX.characters( +&Pfr +, 6) +SAX.characters(𝔓, 4) +SAX.characters( +&Phi +, 6) +SAX.characters(Φ, 2) +SAX.characters( +&Pi +, 5) +SAX.characters(Π, 2) +SAX.characters( +&PlusMinus +, 12) +SAX.characters(±, 2) +SAX.characters( +&Poincareplane +, 16) +SAX.characters(ℌ, 3) +SAX.characters( +&Popf +, 7) +SAX.characters(ℙ, 3) +SAX.characters( +&Pr +, 5) +SAX.characters(⪻, 3) +SAX.characters( +&Precedes +, 11) +SAX.characters(≺, 3) +SAX.characters( +&PrecedesEqual +, 16) +SAX.characters(⪯, 3) +SAX.characters( +&PrecedesSlantEqual +, 21) +SAX.characters(≼, 3) +SAX.characters( +&PrecedesTilde +, 16) +SAX.characters(≾, 3) +SAX.characters( +&Prime +, 8) +SAX.characters(″, 3) +SAX.characters( +&Product +, 10) +SAX.characters(∏, 3) +SAX.characters( +&Proportion +, 13) +SAX.characters(∷, 3) +SAX.characters( +&Proportional +, 15) +SAX.characters(∝, 3) +SAX.characters( +&Pscr +, 7) +SAX.characters(𝒫, 4) +SAX.characters( +&Psi +, 6) +SAX.characters(Ψ, 2) +SAX.characters( +, 1) +SAX.characters(", 1) +SAX.characters( +, 1) +SAX.characters(", 1) +SAX.characters( +&Qfr +, 6) +SAX.characters(𝔔, 4) +SAX.characters( +&Qopf +, 7) +SAX.characters(ℚ, 3) +SAX.characters( +&Qscr +, 7) +SAX.characters(𝒬, 4) +SAX.characters( +&RBarr +, 8) +SAX.characters(⤐, 3) +SAX.characters( +, 1) +SAX.characters(®, 2) +SAX.characters( +, 1) +SAX.characters(®, 2) +SAX.characters( +&Racute +, 9) +SAX.characters(Ŕ, 2) +SAX.characters( +&Rang +, 7) +SAX.characters(⟫, 3) +SAX.characters( +&Rarr +, 7) +SAX.characters(↠, 3) +SAX.characters( +&Rarrtl +, 9) +SAX.characters(⤖, 3) +SAX.characters( +&Rcaron +, 9) +SAX.characters(Ř, 2) +SAX.characters( +&Rcedil +, 9) +SAX.characters(Ŗ, 2) +SAX.characters( +&Rcy +, 6) +SAX.characters(Р, 2) +SAX.characters( +&Re +, 5) +SAX.characters(ℜ, 3) +SAX.characters( +&ReverseElement +, 17) +SAX.characters(∋, 3) +SAX.characters( +&ReverseEquilibrium +, 21) +SAX.characters(⇋, 3) +SAX.characters( +&ReverseUpEquilibrium +, 23) +SAX.characters(⥯, 3) +SAX.characters( +&Rfr +, 6) +SAX.characters(ℜ, 3) +SAX.characters( +&Rho +, 6) +SAX.characters(Ρ, 2) +SAX.characters( +&RightAngleBracket +, 20) +SAX.characters(⟩, 3) +SAX.characters( +&RightArrow +, 13) +SAX.characters(→, 3) +SAX.characters( +&RightArrowBar +, 16) +SAX.characters(⇥, 3) +SAX.characters( +&RightArrowLeftArrow +, 22) +SAX.characters(⇄, 3) +SAX.characters( +&RightCeiling +, 15) +SAX.characters(⌉, 3) +SAX.characters( +&RightDoubleBracket +, 21) +SAX.characters(⟧, 3) +SAX.characters( +&RightDownTeeVector +, 21) +SAX.characters(⥝, 3) +SAX.characters( +&RightDownVector +, 18) +SAX.characters(⇂, 3) +SAX.characters( +&RightDownVectorBar +, 21) +SAX.characters(⥕, 3) +SAX.characters( +&RightFloor +, 13) +SAX.characters(⌋, 3) +SAX.characters( +&RightTee +, 11) +SAX.characters(⊢, 3) +SAX.characters( +&RightTeeArrow +, 16) +SAX.characters(↦, 3) +SAX.characters( +&RightTeeVector +, 17) +SAX.characters(⥛, 3) +SAX.characters( +&RightTriangle +, 16) +SAX.characters(⊳, 3) +SAX.characters( +&RightTriangleBar +, 19) +SAX.characters(⧐, 3) +SAX.characters( +&RightTriangleEqual +, 21) +SAX.characters(⊵, 3) +SAX.characters( +&RightUpDownVector +, 20) +SAX.characters(⥏, 3) +SAX.characters( +&RightUpTeeVector +, 19) +SAX.characters(⥜, 3) +SAX.characters( +&RightUpVector +, 16) +SAX.characters(↾, 3) +SAX.characters( +&RightUpVectorBar +, 19) +SAX.characters(⥔, 3) +SAX.characters( +&RightVector +, 14) +SAX.characters(⇀, 3) +SAX.characters( +&RightVectorBar +, 17) +SAX.characters(⥓, 3) +SAX.characters( +&Rightarrow +, 13) +SAX.characters(⇒, 3) +SAX.characters( +&Ropf +, 7) +SAX.characters(ℝ, 3) +SAX.characters( +&RoundImplies +, 15) +SAX.characters(⥰, 3) +SAX.characters( +&Rrightarrow +, 14) +SAX.characters(⇛, 3) +SAX.characters( +&Rscr +, 7) +SAX.characters(ℛ, 3) +SAX.characters( +&Rsh +, 6) +SAX.characters(↱, 3) +SAX.characters( +&RuleDelayed +, 14) +SAX.characters(⧴, 3) +SAX.characters( +&SHCHcy +, 9) +SAX.characters(Щ, 2) +SAX.characters( +&SHcy +, 7) +SAX.characters(Ш, 2) +SAX.characters( +&SOFTcy +, 9) +SAX.characters(Ь, 2) +SAX.characters( +&Sacute +, 9) +SAX.characters(Ś, 2) +SAX.characters( +&Sc +, 5) +SAX.characters(⪼, 3) +SAX.characters( +&Scaron +, 9) +SAX.characters(Š, 2) +SAX.characters( +&Scedil +, 9) +SAX.characters(Ş, 2) +SAX.characters( +&Scirc +, 8) +SAX.characters(Ŝ, 2) +SAX.characters( +&Scy +, 6) +SAX.characters(С, 2) +SAX.characters( +&Sfr +, 6) +SAX.characters(𝔖, 4) +SAX.characters( +&ShortDownArrow +, 17) +SAX.characters(↓, 3) +SAX.characters( +&ShortLeftArrow +, 17) +SAX.characters(←, 3) +SAX.characters( +&ShortRightArrow +, 18) +SAX.characters(→, 3) +SAX.characters( +&ShortUpArrow +, 15) +SAX.characters(↑, 3) +SAX.characters( +&Sigma +, 8) +SAX.characters(Σ, 2) +SAX.characters( +&SmallCircle +, 14) +SAX.characters(∘, 3) +SAX.characters( +&Sopf +, 7) +SAX.characters(𝕊, 4) +SAX.characters( +&Sqrt +, 7) +SAX.characters(√, 3) +SAX.characters( +&Square +, 9) +SAX.characters(□, 3) +SAX.characters( +&SquareIntersection +, 21) +SAX.characters(⊓, 3) +SAX.characters( +&SquareSubset +, 15) +SAX.characters(⊏, 3) +SAX.characters( +&SquareSubsetEqual +, 20) +SAX.characters(⊑, 3) +SAX.characters( +&SquareSuperset +, 17) +SAX.characters(⊐, 3) +SAX.characters( +&SquareSupersetEqual +, 22) +SAX.characters(⊒, 3) +SAX.characters( +&SquareUnion +, 14) +SAX.characters(⊔, 3) +SAX.characters( +&Sscr +, 7) +SAX.characters(𝒮, 4) +SAX.characters( +&Star +, 7) +SAX.characters(⋆, 3) +SAX.characters( +&Sub +, 6) +SAX.characters(⋐, 3) +SAX.characters( +&Subset +, 9) +SAX.characters(⋐, 3) +SAX.characters( +&SubsetEqual +, 14) +SAX.characters(⊆, 3) +SAX.characters( +&Succeeds +, 11) +SAX.characters(≻, 3) +SAX.characters( +&SucceedsEqual +, 16) +SAX.characters(⪰, 3) +SAX.characters( +&SucceedsSlantEqual +, 21) +SAX.characters(≽, 3) +SAX.characters( +&SucceedsTilde +, 16) +SAX.characters(≿, 3) +SAX.characters( +&SuchThat +, 11) +SAX.characters(∋, 3) +SAX.characters( +&Sum +, 6) +SAX.characters(∑, 3) +SAX.characters( +&Sup +, 6) +SAX.characters(⋑, 3) +SAX.characters( +&Superset +, 11) +SAX.characters(⊃, 3) +SAX.characters( +&SupersetEqual +, 16) +SAX.characters(⊇, 3) +SAX.characters( +&Supset +, 9) +SAX.characters(⋑, 3) +SAX.characters( +, 1) +SAX.characters(Þ, 2) +SAX.characters( +, 1) +SAX.characters(Þ, 2) +SAX.characters( +&TRADE +, 8) +SAX.characters(™, 3) +SAX.characters( +&TSHcy +, 8) +SAX.characters(Ћ, 2) +SAX.characters( +&TScy +, 7) +SAX.characters(Ц, 2) +SAX.characters( +&Tab +, 6) +SAX.characters( , 1) +SAX.characters( +&Tau +, 6) +SAX.characters(Τ, 2) +SAX.characters( +&Tcaron +, 9) +SAX.characters(Ť, 2) +SAX.characters( +&Tcedil +, 9) +SAX.characters(Ţ, 2) +SAX.characters( +&Tcy +, 6) +SAX.characters(Т, 2) +SAX.characters( +&Tfr +, 6) +SAX.characters(𝔗, 4) +SAX.characters( +&Therefore +, 12) +SAX.characters(∴, 3) +SAX.characters( +&Theta +, 8) +SAX.characters(Θ, 2) +SAX.characters( +&ThickSpace +, 13) +SAX.characters(  , 6) +SAX.characters( +&ThinSpace +, 12) +SAX.characters( , 3) +SAX.characters( +&Tilde +, 8) +SAX.characters(∼, 3) +SAX.characters( +&TildeEqual +, 13) +SAX.characters(≃, 3) +SAX.characters( +&TildeFullEqual +, 17) +SAX.characters(≅, 3) +SAX.characters( +&TildeTilde +, 13) +SAX.characters(≈, 3) +SAX.characters( +&Topf +, 7) +SAX.characters(𝕋, 4) +SAX.characters( +&TripleDot +, 12) +SAX.characters(⃛, 3) +SAX.characters( +&Tscr +, 7) +SAX.characters(𝒯, 4) +SAX.characters( +&Tstrok +, 9) +SAX.characters(Ŧ, 2) +SAX.characters( +, 1) +SAX.characters(Ú, 2) +SAX.characters( +, 1) +SAX.characters(Ú, 2) +SAX.characters( +&Uarr +, 7) +SAX.characters(↟, 3) +SAX.characters( +&Uarrocir +, 11) +SAX.characters(⥉, 3) +SAX.characters( +&Ubrcy +, 8) +SAX.characters(Ў, 2) +SAX.characters( +&Ubreve +, 9) +SAX.characters(Ŭ, 2) +SAX.characters( +, 1) +SAX.characters(Û, 2) +SAX.characters( +, 1) +SAX.characters(Û, 2) +SAX.characters( +&Ucy +, 6) +SAX.characters(У, 2) +SAX.characters( +&Udblac +, 9) +SAX.characters(Ű, 2) +SAX.characters( +&Ufr +, 6) +SAX.characters(𝔘, 4) +SAX.characters( +, 1) +SAX.characters(Ù, 2) +SAX.characters( +, 1) +SAX.characters(Ù, 2) +SAX.characters( +&Umacr +, 8) +SAX.characters(Ū, 2) +SAX.characters( +&UnderBar +, 11) +SAX.characters(_, 1) +SAX.characters( +&UnderBrace +, 13) +SAX.characters(⏟, 3) +SAX.characters( +&UnderBracket +, 15) +SAX.characters(⎵, 3) +SAX.characters( +&UnderParenthesis +, 19) +SAX.characters(⏝, 3) +SAX.characters( +&Union +, 8) +SAX.characters(⋃, 3) +SAX.characters( +&UnionPlus +, 12) +SAX.characters(⊎, 3) +SAX.characters( +&Uogon +, 8) +SAX.characters(Ų, 2) +SAX.characters( +&Uopf +, 7) +SAX.characters(𝕌, 4) +SAX.characters( +&UpArrow +, 10) +SAX.characters(↑, 3) +SAX.characters( +&UpArrowBar +, 13) +SAX.characters(⤒, 3) +SAX.characters( +&UpArrowDownArrow +, 19) +SAX.characters(⇅, 3) +SAX.characters( +&UpDownArrow +, 14) +SAX.characters(↕, 3) +SAX.characters( +&UpEquilibrium +, 16) +SAX.characters(⥮, 3) +SAX.characters( +&UpTee +, 8) +SAX.characters(⊥, 3) +SAX.characters( +&UpTeeArrow +, 13) +SAX.characters(↥, 3) +SAX.characters( +&Uparrow +, 10) +SAX.characters(⇑, 3) +SAX.characters( +&Updownarrow +, 14) +SAX.characters(⇕, 3) +SAX.characters( +&UpperLeftArrow +, 17) +SAX.characters(↖, 3) +SAX.characters( +&UpperRightArrow +, 18) +SAX.characters(↗, 3) +SAX.characters( +&Upsi +, 7) +SAX.characters(ϒ, 2) +SAX.characters( +&Upsilon +, 10) +SAX.characters(Υ, 2) +SAX.characters( +&Uring +, 8) +SAX.characters(Ů, 2) +SAX.characters( +&Uscr +, 7) +SAX.characters(𝒰, 4) +SAX.characters( +&Utilde +, 9) +SAX.characters(Ũ, 2) +SAX.characters( +, 1) +SAX.characters(Ü, 2) +SAX.characters( +, 1) +SAX.characters(Ü, 2) +SAX.characters( +&VDash +, 8) +SAX.characters(⊫, 3) +SAX.characters( +&Vbar +, 7) +SAX.characters(⫫, 3) +SAX.characters( +&Vcy +, 6) +SAX.characters(В, 2) +SAX.characters( +&Vdash +, 8) +SAX.characters(⊩, 3) +SAX.characters( +&Vdashl +, 9) +SAX.characters(⫦, 3) +SAX.characters( +&Vee +, 6) +SAX.characters(⋁, 3) +SAX.characters( +&Verbar +, 9) +SAX.characters(‖, 3) +SAX.characters( +&Vert +, 7) +SAX.characters(‖, 3) +SAX.characters( +&VerticalBar +, 14) +SAX.characters(∣, 3) +SAX.characters( +&VerticalLine +, 15) +SAX.characters(|, 1) +SAX.characters( +&VerticalSeparator +, 20) +SAX.characters(❘, 3) +SAX.characters( +&VerticalTilde +, 16) +SAX.characters(≀, 3) +SAX.characters( +&VeryThinSpace +, 16) +SAX.characters( , 3) +SAX.characters( +&Vfr +, 6) +SAX.characters(𝔙, 4) +SAX.characters( +&Vopf +, 7) +SAX.characters(𝕍, 4) +SAX.characters( +&Vscr +, 7) +SAX.characters(𝒱, 4) +SAX.characters( +&Vvdash +, 9) +SAX.characters(⊪, 3) +SAX.characters( +&Wcirc +, 8) +SAX.characters(Ŵ, 2) +SAX.characters( +&Wedge +, 8) +SAX.characters(⋀, 3) +SAX.characters( +&Wfr +, 6) +SAX.characters(𝔚, 4) +SAX.characters( +&Wopf +, 7) +SAX.characters(𝕎, 4) +SAX.characters( +&Wscr +, 7) +SAX.characters(𝒲, 4) +SAX.characters( +&Xfr +, 6) +SAX.characters(𝔛, 4) +SAX.characters( +&Xi +, 5) +SAX.characters(Ξ, 2) +SAX.characters( +&Xopf +, 7) +SAX.characters(𝕏, 4) +SAX.characters( +&Xscr +, 7) +SAX.characters(𝒳, 4) +SAX.characters( +&YAcy +, 7) +SAX.characters(Я, 2) +SAX.characters( +&YIcy +, 7) +SAX.characters(Ї, 2) +SAX.characters( +&YUcy +, 7) +SAX.characters(Ю, 2) +SAX.characters( +, 1) +SAX.characters(Ý, 2) +SAX.characters( +, 1) +SAX.characters(Ý, 2) +SAX.characters( +&Ycirc +, 8) +SAX.characters(Ŷ, 2) +SAX.characters( +&Ycy +, 6) +SAX.characters(Ы, 2) +SAX.characters( +&Yfr +, 6) +SAX.characters(𝔜, 4) +SAX.characters( +&Yopf +, 7) +SAX.characters(𝕐, 4) +SAX.characters( +&Yscr +, 7) +SAX.characters(𝒴, 4) +SAX.characters( +&Yuml +, 7) +SAX.characters(Ÿ, 2) +SAX.characters( +&ZHcy +, 7) +SAX.characters(Ж, 2) +SAX.characters( +&Zacute +, 9) +SAX.characters(Ź, 2) +SAX.characters( +&Zcaron +, 9) +SAX.characters(Ž, 2) +SAX.characters( +&Zcy +, 6) +SAX.characters(З, 2) +SAX.characters( +&Zdot +, 7) +SAX.characters(Ż, 2) +SAX.characters( +&ZeroWidthSpace +, 17) +SAX.characters(​, 3) +SAX.characters( +&Zeta +, 7) +SAX.characters(Ζ, 2) +SAX.characters( +&Zfr +, 6) +SAX.characters(ℨ, 3) +SAX.characters( +&Zopf +, 7) +SAX.characters(ℤ, 3) +SAX.characters( +&Zscr +, 7) +SAX.characters(𝒵, 4) +SAX.characters( +, 1) +SAX.characters(á, 2) +SAX.characters( +, 1) +SAX.characters(á, 2) +SAX.characters( +&abreve +, 9) +SAX.characters(ă, 2) +SAX.characters( +&ac +, 5) +SAX.characters(∾, 3) +SAX.characters( +&acE +, 6) +SAX.characters(∾̳, 5) +SAX.characters( +&acd +, 6) +SAX.characters(∿, 3) +SAX.characters( +, 1) +SAX.characters(â, 2) +SAX.characters( +, 1) +SAX.characters(â, 2) +SAX.characters( +, 1) +SAX.characters(´, 2) +SAX.characters( +, 1) +SAX.characters(´, 2) +SAX.characters( +&acy +, 6) +SAX.characters(а, 2) +SAX.characters( +, 1) +SAX.characters(æ, 2) +SAX.characters( +, 1) +SAX.characters(æ, 2) +SAX.characters( +&af +, 5) +SAX.characters(⁡, 3) +SAX.characters( +&afr +, 6) +SAX.characters(𝔞, 4) +SAX.characters( +, 1) +SAX.characters(à, 2) +SAX.characters( +, 1) +SAX.characters(à, 2) +SAX.characters( +&alefsym +, 10) +SAX.characters(ℵ, 3) +SAX.characters( +&aleph +, 8) +SAX.characters(ℵ, 3) +SAX.characters( +&alpha +, 8) +SAX.characters(α, 2) +SAX.characters( +&amacr +, 8) +SAX.characters(ā, 2) +SAX.characters( +&amalg +, 8) +SAX.characters(⨿, 3) +SAX.characters( +, 1) +SAX.characters(&, 1) +SAX.characters( +, 1) +SAX.characters(&, 1) +SAX.characters( +&and +, 6) +SAX.characters(∧, 3) +SAX.characters( +&andand +, 9) +SAX.characters(⩕, 3) +SAX.characters( +&andd +, 7) +SAX.characters(⩜, 3) +SAX.characters( +&andslope +, 11) +SAX.characters(⩘, 3) +SAX.characters( +&andv +, 7) +SAX.characters(⩚, 3) +SAX.characters( +&ang +, 6) +SAX.characters(∠, 3) +SAX.characters( +&ange +, 7) +SAX.characters(⦤, 3) +SAX.characters( +&angle +, 8) +SAX.characters(∠, 3) +SAX.characters( +&angmsd +, 9) +SAX.characters(∡, 3) +SAX.characters( +&angmsdaa +, 11) +SAX.characters(⦨, 3) +SAX.characters( +&angmsdab +, 11) +SAX.characters(⦩, 3) +SAX.characters( +&angmsdac +, 11) +SAX.characters(⦪, 3) +SAX.characters( +&angmsdad +, 11) +SAX.characters(⦫, 3) +SAX.characters( +&angmsdae +, 11) +SAX.characters(⦬, 3) +SAX.characters( +&angmsdaf +, 11) +SAX.characters(⦭, 3) +SAX.characters( +&angmsdag +, 11) +SAX.characters(⦮, 3) +SAX.characters( +&angmsdah +, 11) +SAX.characters(⦯, 3) +SAX.characters( +&angrt +, 8) +SAX.characters(∟, 3) +SAX.characters( +&angrtvb +, 10) +SAX.characters(⊾, 3) +SAX.characters( +&angrtvbd +, 11) +SAX.characters(⦝, 3) +SAX.characters( +&angsph +, 9) +SAX.characters(∢, 3) +SAX.characters( +&angst +, 8) +SAX.characters(Å, 2) +SAX.characters( +&angzarr +, 10) +SAX.characters(⍼, 3) +SAX.characters( +&aogon +, 8) +SAX.characters(ą, 2) +SAX.characters( +&aopf +, 7) +SAX.characters(𝕒, 4) +SAX.characters( +&ap +, 5) +SAX.characters(≈, 3) +SAX.characters( +&apE +, 6) +SAX.characters(⩰, 3) +SAX.characters( +&apacir +, 9) +SAX.characters(⩯, 3) +SAX.characters( +&ape +, 6) +SAX.characters(≊, 3) +SAX.characters( +&apid +, 7) +SAX.characters(≋, 3) +SAX.characters( +&apos +, 7) +SAX.characters(', 1) +SAX.characters( +&approx +, 9) +SAX.characters(≈, 3) +SAX.characters( +&approxeq +, 11) +SAX.characters(≊, 3) +SAX.characters( +, 1) +SAX.characters(å, 2) +SAX.characters( +, 1) +SAX.characters(å, 2) +SAX.characters( +&ascr +, 7) +SAX.characters(𝒶, 4) +SAX.characters( +&ast +, 6) +SAX.characters(*, 1) +SAX.characters( +&asymp +, 8) +SAX.characters(≈, 3) +SAX.characters( +&asympeq +, 10) +SAX.characters(≍, 3) +SAX.characters( +, 1) +SAX.characters(ã, 2) +SAX.characters( +, 1) +SAX.characters(ã, 2) +SAX.characters( +, 1) +SAX.characters(ä, 2) +SAX.characters( +, 1) +SAX.characters(ä, 2) +SAX.characters( +&awconint +, 11) +SAX.characters(∳, 3) +SAX.characters( +&awint +, 8) +SAX.characters(⨑, 3) +SAX.characters( +&bNot +, 7) +SAX.characters(⫭, 3) +SAX.characters( +&backcong +, 11) +SAX.characters(≌, 3) +SAX.characters( +&backepsilon +, 14) +SAX.characters(϶, 2) +SAX.characters( +&backprime +, 12) +SAX.characters(‵, 3) +SAX.characters( +&backsim +, 10) +SAX.characters(∽, 3) +SAX.characters( +&backsimeq +, 12) +SAX.characters(⋍, 3) +SAX.characters( +&barvee +, 9) +SAX.characters(⊽, 3) +SAX.characters( +&barwed +, 9) +SAX.characters(⌅, 3) +SAX.characters( +&barwedge +, 11) +SAX.characters(⌅, 3) +SAX.characters( +&bbrk +, 7) +SAX.characters(⎵, 3) +SAX.characters( +&bbrktbrk +, 11) +SAX.characters(⎶, 3) +SAX.characters( +&bcong +, 8) +SAX.characters(≌, 3) +SAX.characters( +&bcy +, 6) +SAX.characters(б, 2) +SAX.characters( +&bdquo +, 8) +SAX.characters(„, 3) +SAX.characters( +&becaus +, 9) +SAX.characters(∵, 3) +SAX.characters( +&because +, 10) +SAX.characters(∵, 3) +SAX.characters( +&bemptyv +, 10) +SAX.characters(⦰, 3) +SAX.characters( +&bepsi +, 8) +SAX.characters(϶, 2) +SAX.characters( +&bernou +, 9) +SAX.characters(ℬ, 3) +SAX.characters( +&beta +, 7) +SAX.characters(β, 2) +SAX.characters( +&beth +, 7) +SAX.characters(ℶ, 3) +SAX.characters( +&between +, 10) +SAX.characters(≬, 3) +SAX.characters( +&bfr +, 6) +SAX.characters(𝔟, 4) +SAX.characters( +&bigcap +, 9) +SAX.characters(⋂, 3) +SAX.characters( +&bigcirc +, 10) +SAX.characters(◯, 3) +SAX.characters( +&bigcup +, 9) +SAX.characters(⋃, 3) +SAX.characters( +&bigodot +, 10) +SAX.characters(⨀, 3) +SAX.characters( +&bigoplus +, 11) +SAX.characters(⨁, 3) +SAX.characters( +&bigotimes +, 12) +SAX.characters(⨂, 3) +SAX.characters( +&bigsqcup +, 11) +SAX.characters(⨆, 3) +SAX.characters( +&bigstar +, 10) +SAX.characters(★, 3) +SAX.characters( +&bigtriangledown +, 18) +SAX.characters(▽, 3) +SAX.characters( +&bigtriangleup +, 16) +SAX.characters(△, 3) +SAX.characters( +&biguplus +, 11) +SAX.characters(⨄, 3) +SAX.characters( +&bigvee +, 9) +SAX.characters(⋁, 3) +SAX.characters( +&bigwedge +, 11) +SAX.characters(⋀, 3) +SAX.characters( +&bkarow +, 9) +SAX.characters(⤍, 3) +SAX.characters( +&blacklozenge +, 15) +SAX.characters(⧫, 3) +SAX.characters( +&blacksquare +, 14) +SAX.characters(▪, 3) +SAX.characters( +&blacktriangle +, 16) +SAX.characters(▴, 3) +SAX.characters( +&blacktriangledown +, 20) +SAX.characters(▾, 3) +SAX.characters( +&blacktriangleleft +, 20) +SAX.characters(◂, 3) +SAX.characters( +&blacktriangleright +, 21) +SAX.characters(▸, 3) +SAX.characters( +&blank +, 8) +SAX.characters(␣, 3) +SAX.characters( +&blk12 +, 8) +SAX.characters(▒, 3) +SAX.characters( +&blk14 +, 8) +SAX.characters(░, 3) +SAX.characters( +&blk34 +, 8) +SAX.characters(▓, 3) +SAX.characters( +&block +, 8) +SAX.characters(█, 3) +SAX.characters( +&bne +, 6) +SAX.characters(=⃥, 4) +SAX.characters( +&bnequiv +, 10) +SAX.characters(≡⃥, 6) +SAX.characters( +&bnot +, 7) +SAX.characters(⌐, 3) +SAX.characters( +&bopf +, 7) +SAX.characters(𝕓, 4) +SAX.characters( +&bot +, 6) +SAX.characters(⊥, 3) +SAX.characters( +&bottom +, 9) +SAX.characters(⊥, 3) +SAX.characters( +&bowtie +, 9) +SAX.characters(⋈, 3) +SAX.characters( +&boxDL +, 8) +SAX.characters(╗, 3) +SAX.characters( +&boxDR +, 8) +SAX.characters(╔, 3) +SAX.characters( +&boxDl +, 8) +SAX.characters(╖, 3) +SAX.characters( +&boxDr +, 8) +SAX.characters(╓, 3) +SAX.characters( +&boxH +, 7) +SAX.characters(═, 3) +SAX.characters( +&boxHD +, 8) +SAX.characters(╦, 3) +SAX.characters( +&boxHU +, 8) +SAX.characters(╩, 3) +SAX.characters( +&boxHd +, 8) +SAX.characters(╤, 3) +SAX.characters( +&boxHu +, 8) +SAX.characters(╧, 3) +SAX.characters( +&boxUL +, 8) +SAX.characters(╝, 3) +SAX.characters( +&boxUR +, 8) +SAX.characters(╚, 3) +SAX.characters( +&boxUl +, 8) +SAX.characters(╜, 3) +SAX.characters( +&boxUr +, 8) +SAX.characters(╙, 3) +SAX.characters( +&boxV +, 7) +SAX.characters(║, 3) +SAX.characters( +&boxVH +, 8) +SAX.characters(╬, 3) +SAX.characters( +&boxVL +, 8) +SAX.characters(╣, 3) +SAX.characters( +&boxVR +, 8) +SAX.characters(╠, 3) +SAX.characters( +&boxVh +, 8) +SAX.characters(╫, 3) +SAX.characters( +&boxVl +, 8) +SAX.characters(╢, 3) +SAX.characters( +&boxVr +, 8) +SAX.characters(╟, 3) +SAX.characters( +&boxbox +, 9) +SAX.characters(⧉, 3) +SAX.characters( +&boxdL +, 8) +SAX.characters(╕, 3) +SAX.characters( +&boxdR +, 8) +SAX.characters(╒, 3) +SAX.characters( +&boxdl +, 8) +SAX.characters(┐, 3) +SAX.characters( +&boxdr +, 8) +SAX.characters(┌, 3) +SAX.characters( +&boxh +, 7) +SAX.characters(─, 3) +SAX.characters( +&boxhD +, 8) +SAX.characters(╥, 3) +SAX.characters( +&boxhU +, 8) +SAX.characters(╨, 3) +SAX.characters( +&boxhd +, 8) +SAX.characters(┬, 3) +SAX.characters( +&boxhu +, 8) +SAX.characters(┴, 3) +SAX.characters( +&boxminus +, 11) +SAX.characters(⊟, 3) +SAX.characters( +&boxplus +, 10) +SAX.characters(⊞, 3) +SAX.characters( +&boxtimes +, 11) +SAX.characters(⊠, 3) +SAX.characters( +&boxuL +, 8) +SAX.characters(╛, 3) +SAX.characters( +&boxuR +, 8) +SAX.characters(╘, 3) +SAX.characters( +&boxul +, 8) +SAX.characters(┘, 3) +SAX.characters( +&boxur +, 8) +SAX.characters(└, 3) +SAX.characters( +&boxv +, 7) +SAX.characters(│, 3) +SAX.characters( +&boxvH +, 8) +SAX.characters(╪, 3) +SAX.characters( +&boxvL +, 8) +SAX.characters(╡, 3) +SAX.characters( +&boxvR +, 8) +SAX.characters(╞, 3) +SAX.characters( +&boxvh +, 8) +SAX.characters(┼, 3) +SAX.characters( +&boxvl +, 8) +SAX.characters(┤, 3) +SAX.characters( +&boxvr +, 8) +SAX.characters(├, 3) +SAX.characters( +&bprime +, 9) +SAX.characters(‵, 3) +SAX.characters( +&breve +, 8) +SAX.characters(˘, 2) +SAX.characters( +, 1) +SAX.characters(¦, 2) +SAX.characters( +, 1) +SAX.characters(¦, 2) +SAX.characters( +&bscr +, 7) +SAX.characters(𝒷, 4) +SAX.characters( +&bsemi +, 8) +SAX.characters(⁏, 3) +SAX.characters( +&bsim +, 7) +SAX.characters(∽, 3) +SAX.characters( +&bsime +, 8) +SAX.characters(⋍, 3) +SAX.characters( +&bsol +, 7) +SAX.characters(\, 1) +SAX.characters( +&bsolb +, 8) +SAX.characters(⧅, 3) +SAX.characters( +&bsolhsub +, 11) +SAX.characters(⟈, 3) +SAX.characters( +&bull +, 7) +SAX.characters(•, 3) +SAX.characters( +&bullet +, 9) +SAX.characters(•, 3) +SAX.characters( +&bump +, 7) +SAX.characters(≎, 3) +SAX.characters( +&bumpE +, 8) +SAX.characters(⪮, 3) +SAX.characters( +&bumpe +, 8) +SAX.characters(≏, 3) +SAX.characters( +&bumpeq +, 9) +SAX.characters(≏, 3) +SAX.characters( +&cacute +, 9) +SAX.characters(ć, 2) +SAX.characters( +&cap +, 6) +SAX.characters(∩, 3) +SAX.characters( +&capand +, 9) +SAX.characters(⩄, 3) +SAX.characters( +&capbrcup +, 11) +SAX.characters(⩉, 3) +SAX.characters( +&capcap +, 9) +SAX.characters(⩋, 3) +SAX.characters( +&capcup +, 9) +SAX.characters(⩇, 3) +SAX.characters( +&capdot +, 9) +SAX.characters(⩀, 3) +SAX.characters( +&caps +, 7) +SAX.characters(∩︀, 6) +SAX.characters( +&caret +, 8) +SAX.characters(⁁, 3) +SAX.characters( +&caron +, 8) +SAX.characters(ˇ, 2) +SAX.characters( +&ccaps +, 8) +SAX.characters(⩍, 3) +SAX.characters( +&ccaron +, 9) +SAX.characters(č, 2) +SAX.characters( +, 1) +SAX.characters(ç, 2) +SAX.characters( +, 1) +SAX.characters(ç, 2) +SAX.characters( +&ccirc +, 8) +SAX.characters(ĉ, 2) +SAX.characters( +&ccups +, 8) +SAX.characters(⩌, 3) +SAX.characters( +&ccupssm +, 10) +SAX.characters(⩐, 3) +SAX.characters( +&cdot +, 7) +SAX.characters(ċ, 2) +SAX.characters( +, 1) +SAX.characters(¸, 2) +SAX.characters( +, 1) +SAX.characters(¸, 2) +SAX.characters( +&cemptyv +, 10) +SAX.characters(⦲, 3) +SAX.characters( +, 1) +SAX.characters(¢, 2) +SAX.characters( +, 1) +SAX.characters(¢, 2) +SAX.characters( +, 1) +SAX.characters(¢, 2) +SAX.characters(erdot +, 6) +SAX.characters(·, 2) +SAX.characters( +&cfr +, 6) +SAX.characters(𝔠, 4) +SAX.characters( +&chcy +, 7) +SAX.characters(ч, 2) +SAX.characters( +&check +, 8) +SAX.characters(✓, 3) +SAX.characters( +&checkmark +, 12) +SAX.characters(✓, 3) +SAX.characters( +&chi +, 6) +SAX.characters(χ, 2) +SAX.characters( +&cir +, 6) +SAX.characters(○, 3) +SAX.characters( +&cirE +, 7) +SAX.characters(⧃, 3) +SAX.characters( +&circ +, 7) +SAX.characters(ˆ, 2) +SAX.characters( +&circeq +, 9) +SAX.characters(≗, 3) +SAX.characters( +&circlearrowleft +, 18) +SAX.characters(↺, 3) +SAX.characters( +&circlearrowright +, 19) +SAX.characters(↻, 3) +SAX.characters( +&circledR +, 11) +SAX.characters(®, 2) +SAX.characters( +&circledS +, 11) +SAX.characters(Ⓢ, 3) +SAX.characters( +&circledast +, 13) +SAX.characters(⊛, 3) +SAX.characters( +&circledcirc +, 14) +SAX.characters(⊚, 3) +SAX.characters( +&circleddash +, 14) +SAX.characters(⊝, 3) +SAX.characters( +&cire +, 7) +SAX.characters(≗, 3) +SAX.characters( +&cirfnint +, 11) +SAX.characters(⨐, 3) +SAX.characters( +&cirmid +, 9) +SAX.characters(⫯, 3) +SAX.characters( +&cirscir +, 10) +SAX.characters(⧂, 3) +SAX.characters( +&clubs +, 8) +SAX.characters(♣, 3) +SAX.characters( +&clubsuit +, 11) +SAX.characters(♣, 3) +SAX.characters( +&colon +, 8) +SAX.characters(:, 1) +SAX.characters( +&colone +, 9) +SAX.characters(≔, 3) +SAX.characters( +&coloneq +, 10) +SAX.characters(≔, 3) +SAX.characters( +&comma +, 8) +SAX.characters(,, 1) +SAX.characters( +&commat +, 9) +SAX.characters(@, 1) +SAX.characters( +&comp +, 7) +SAX.characters(∁, 3) +SAX.characters( +&compfn +, 9) +SAX.characters(∘, 3) +SAX.characters( +&complement +, 13) +SAX.characters(∁, 3) +SAX.characters( +&complexes +, 12) +SAX.characters(ℂ, 3) +SAX.characters( +&cong +, 7) +SAX.characters(≅, 3) +SAX.characters( +&congdot +, 10) +SAX.characters(⩭, 3) +SAX.characters( +&conint +, 9) +SAX.characters(∮, 3) +SAX.characters( +&copf +, 7) +SAX.characters(𝕔, 4) +SAX.characters( +&coprod +, 9) +SAX.characters(∐, 3) +SAX.characters( +, 1) +SAX.characters(©, 2) +SAX.characters( +, 1) +SAX.characters(©, 2) +SAX.characters( +, 1) +SAX.characters(©, 2) +SAX.characters(sr +, 3) +SAX.characters(℗, 3) +SAX.characters( +&crarr +, 8) +SAX.characters(↵, 3) +SAX.characters( +&cross +, 8) +SAX.characters(✗, 3) +SAX.characters( +&cscr +, 7) +SAX.characters(𝒸, 4) +SAX.characters( +&csub +, 7) +SAX.characters(⫏, 3) +SAX.characters( +&csube +, 8) +SAX.characters(⫑, 3) +SAX.characters( +&csup +, 7) +SAX.characters(⫐, 3) +SAX.characters( +&csupe +, 8) +SAX.characters(⫒, 3) +SAX.characters( +&ctdot +, 8) +SAX.characters(⋯, 3) +SAX.characters( +&cudarrl +, 10) +SAX.characters(⤸, 3) +SAX.characters( +&cudarrr +, 10) +SAX.characters(⤵, 3) +SAX.characters( +&cuepr +, 8) +SAX.characters(⋞, 3) +SAX.characters( +&cuesc +, 8) +SAX.characters(⋟, 3) +SAX.characters( +&cularr +, 9) +SAX.characters(↶, 3) +SAX.characters( +&cularrp +, 10) +SAX.characters(⤽, 3) +SAX.characters( +&cup +, 6) +SAX.characters(∪, 3) +SAX.characters( +&cupbrcap +, 11) +SAX.characters(⩈, 3) +SAX.characters( +&cupcap +, 9) +SAX.characters(⩆, 3) +SAX.characters( +&cupcup +, 9) +SAX.characters(⩊, 3) +SAX.characters( +&cupdot +, 9) +SAX.characters(⊍, 3) +SAX.characters( +&cupor +, 8) +SAX.characters(⩅, 3) +SAX.characters( +&cups +, 7) +SAX.characters(∪︀, 6) +SAX.characters( +&curarr +, 9) +SAX.characters(↷, 3) +SAX.characters( +&curarrm +, 10) +SAX.characters(⤼, 3) +SAX.characters( +&curlyeqprec +, 14) +SAX.characters(⋞, 3) +SAX.characters( +&curlyeqsucc +, 14) +SAX.characters(⋟, 3) +SAX.characters( +&curlyvee +, 11) +SAX.characters(⋎, 3) +SAX.characters( +&curlywedge +, 13) +SAX.characters(⋏, 3) +SAX.characters( +, 1) +SAX.characters(¤, 2) +SAX.characters( +, 1) +SAX.characters(¤, 2) +SAX.characters( +&curvearrowleft +, 17) +SAX.characters(↶, 3) +SAX.characters( +&curvearrowright +, 18) +SAX.characters(↷, 3) +SAX.characters( +&cuvee +, 8) +SAX.characters(⋎, 3) +SAX.characters( +&cuwed +, 8) +SAX.characters(⋏, 3) +SAX.characters( +&cwconint +, 11) +SAX.characters(∲, 3) +SAX.characters( +&cwint +, 8) +SAX.characters(∱, 3) +SAX.characters( +&cylcty +, 9) +SAX.characters(⌭, 3) +SAX.characters( +&dArr +, 7) +SAX.characters(⇓, 3) +SAX.characters( +&dHar +, 7) +SAX.characters(⥥, 3) +SAX.characters( +&dagger +, 9) +SAX.characters(†, 3) +SAX.characters( +&daleth +, 9) +SAX.characters(ℸ, 3) +SAX.characters( +&darr +, 7) +SAX.characters(↓, 3) +SAX.characters( +&dash +, 7) +SAX.characters(‐, 3) +SAX.characters( +&dashv +, 8) +SAX.characters(⊣, 3) +SAX.characters( +&dbkarow +, 10) +SAX.characters(⤏, 3) +SAX.characters( +&dblac +, 8) +SAX.characters(˝, 2) +SAX.characters( +&dcaron +, 9) +SAX.characters(ď, 2) +SAX.characters( +&dcy +, 6) +SAX.characters(д, 2) +SAX.characters( +&dd +, 5) +SAX.characters(ⅆ, 3) +SAX.characters( +&ddagger +, 10) +SAX.characters(‡, 3) +SAX.characters( +&ddarr +, 8) +SAX.characters(⇊, 3) +SAX.characters( +&ddotseq +, 10) +SAX.characters(⩷, 3) +SAX.characters( +, 1) +SAX.characters(°, 2) +SAX.characters( +, 1) +SAX.characters(°, 2) +SAX.characters( +&delta +, 8) +SAX.characters(δ, 2) +SAX.characters( +&demptyv +, 10) +SAX.characters(⦱, 3) +SAX.characters( +&dfisht +, 9) +SAX.characters(⥿, 3) +SAX.characters( +&dfr +, 6) +SAX.characters(𝔡, 4) +SAX.characters( +&dharl +, 8) +SAX.characters(⇃, 3) +SAX.characters( +&dharr +, 8) +SAX.characters(⇂, 3) +SAX.characters( +&diam +, 7) +SAX.characters(⋄, 3) +SAX.characters( +&diamond +, 10) +SAX.characters(⋄, 3) +SAX.characters( +&diamondsuit +, 14) +SAX.characters(♦, 3) +SAX.characters( +&diams +, 8) +SAX.characters(♦, 3) +SAX.characters( +&die +, 6) +SAX.characters(¨, 2) +SAX.characters( +&digamma +, 10) +SAX.characters(ϝ, 2) +SAX.characters( +&disin +, 8) +SAX.characters(⋲, 3) +SAX.characters( +&div +, 6) +SAX.characters(÷, 2) +SAX.characters( +, 1) +SAX.characters(÷, 2) +SAX.characters( +, 1) +SAX.characters(÷, 2) +SAX.characters( +, 1) +SAX.characters(÷, 2) +SAX.characters(ontimes +, 8) +SAX.characters(⋇, 3) +SAX.characters( +&divonx +, 9) +SAX.characters(⋇, 3) +SAX.characters( +&djcy +, 7) +SAX.characters(ђ, 2) +SAX.characters( +&dlcorn +, 9) +SAX.characters(⌞, 3) +SAX.characters( +&dlcrop +, 9) +SAX.characters(⌍, 3) +SAX.characters( +&dollar +, 9) +SAX.characters($, 1) +SAX.characters( +&dopf +, 7) +SAX.characters(𝕕, 4) +SAX.characters( +&dot +, 6) +SAX.characters(˙, 2) +SAX.characters( +&doteq +, 8) +SAX.characters(≐, 3) +SAX.characters( +&doteqdot +, 11) +SAX.characters(≑, 3) +SAX.characters( +&dotminus +, 11) +SAX.characters(∸, 3) +SAX.characters( +&dotplus +, 10) +SAX.characters(∔, 3) +SAX.characters( +&dotsquare +, 12) +SAX.characters(⊡, 3) +SAX.characters( +&doublebarwedge +, 17) +SAX.characters(⌆, 3) +SAX.characters( +&downarrow +, 12) +SAX.characters(↓, 3) +SAX.characters( +&downdownarrows +, 17) +SAX.characters(⇊, 3) +SAX.characters( +&downharpoonleft +, 18) +SAX.characters(⇃, 3) +SAX.characters( +&downharpoonright +, 19) +SAX.characters(⇂, 3) +SAX.characters( +&drbkarow +, 11) +SAX.characters(⤐, 3) +SAX.characters( +&drcorn +, 9) +SAX.characters(⌟, 3) +SAX.characters( +&drcrop +, 9) +SAX.characters(⌌, 3) +SAX.characters( +&dscr +, 7) +SAX.characters(𝒹, 4) +SAX.characters( +&dscy +, 7) +SAX.characters(ѕ, 2) +SAX.characters( +&dsol +, 7) +SAX.characters(⧶, 3) +SAX.characters( +&dstrok +, 9) +SAX.characters(đ, 2) +SAX.characters( +&dtdot +, 8) +SAX.characters(⋱, 3) +SAX.characters( +&dtri +, 7) +SAX.characters(▿, 3) +SAX.characters( +&dtrif +, 8) +SAX.characters(▾, 3) +SAX.characters( +&duarr +, 8) +SAX.characters(⇵, 3) +SAX.characters( +&duhar +, 8) +SAX.characters(⥯, 3) +SAX.characters( +&dwangle +, 10) +SAX.characters(⦦, 3) +SAX.characters( +&dzcy +, 7) +SAX.characters(џ, 2) +SAX.characters( +&dzigrarr +, 11) +SAX.characters(⟿, 3) +SAX.characters( +&eDDot +, 8) +SAX.characters(⩷, 3) +SAX.characters( +&eDot +, 7) +SAX.characters(≑, 3) +SAX.characters( +, 1) +SAX.characters(é, 2) +SAX.characters( +, 1) +SAX.characters(é, 2) +SAX.characters( +&easter +, 9) +SAX.characters(⩮, 3) +SAX.characters( +&ecaron +, 9) +SAX.characters(ě, 2) +SAX.characters( +&ecir +, 7) +SAX.characters(≖, 3) +SAX.characters( +, 1) +SAX.characters(ê, 2) +SAX.characters( +, 1) +SAX.characters(ê, 2) +SAX.characters( +&ecolon +, 9) +SAX.characters(≕, 3) +SAX.characters( +&ecy +, 6) +SAX.characters(э, 2) +SAX.characters( +&edot +, 7) +SAX.characters(ė, 2) +SAX.characters( +&ee +, 5) +SAX.characters(ⅇ, 3) +SAX.characters( +&efDot +, 8) +SAX.characters(≒, 3) +SAX.characters( +&efr +, 6) +SAX.characters(𝔢, 4) +SAX.characters( +&eg +, 5) +SAX.characters(⪚, 3) +SAX.characters( +, 1) +SAX.characters(è, 2) +SAX.characters( +, 1) +SAX.characters(è, 2) +SAX.characters( +&egs +, 6) +SAX.characters(⪖, 3) +SAX.characters( +&egsdot +, 9) +SAX.characters(⪘, 3) +SAX.characters( +&el +, 5) +SAX.characters(⪙, 3) +SAX.characters( +&elinters +, 11) +SAX.characters(⏧, 3) +SAX.characters( +&ell +, 6) +SAX.characters(ℓ, 3) +SAX.characters( +&els +, 6) +SAX.characters(⪕, 3) +SAX.characters( +&elsdot +, 9) +SAX.characters(⪗, 3) +SAX.characters( +&emacr +, 8) +SAX.characters(ē, 2) +SAX.characters( +&empty +, 8) +SAX.characters(∅, 3) +SAX.characters( +&emptyset +, 11) +SAX.characters(∅, 3) +SAX.characters( +&emptyv +, 9) +SAX.characters(∅, 3) +SAX.characters( +&emsp13 +, 9) +SAX.characters( , 3) +SAX.characters( +&emsp14 +, 9) +SAX.characters( , 3) +SAX.characters( +&emsp +, 7) +SAX.characters( , 3) +SAX.characters( +&eng +, 6) +SAX.characters(ŋ, 2) +SAX.characters( +&ensp +, 7) +SAX.characters( , 3) +SAX.characters( +&eogon +, 8) +SAX.characters(ę, 2) +SAX.characters( +&eopf +, 7) +SAX.characters(𝕖, 4) +SAX.characters( +&epar +, 7) +SAX.characters(⋕, 3) +SAX.characters( +&eparsl +, 9) +SAX.characters(⧣, 3) +SAX.characters( +&eplus +, 8) +SAX.characters(⩱, 3) +SAX.characters( +&epsi +, 7) +SAX.characters(ε, 2) +SAX.characters( +&epsilon +, 10) +SAX.characters(ε, 2) +SAX.characters( +&epsiv +, 8) +SAX.characters(ϵ, 2) +SAX.characters( +&eqcirc +, 9) +SAX.characters(≖, 3) +SAX.characters( +&eqcolon +, 10) +SAX.characters(≕, 3) +SAX.characters( +&eqsim +, 8) +SAX.characters(≂, 3) +SAX.characters( +&eqslantgtr +, 13) +SAX.characters(⪖, 3) +SAX.characters( +&eqslantless +, 14) +SAX.characters(⪕, 3) +SAX.characters( +&equals +, 9) +SAX.characters(=, 1) +SAX.characters( +&equest +, 9) +SAX.characters(≟, 3) +SAX.characters( +&equiv +, 8) +SAX.characters(≡, 3) +SAX.characters( +&equivDD +, 10) +SAX.characters(⩸, 3) +SAX.characters( +&eqvparsl +, 11) +SAX.characters(⧥, 3) +SAX.characters( +&erDot +, 8) +SAX.characters(≓, 3) +SAX.characters( +&erarr +, 8) +SAX.characters(⥱, 3) +SAX.characters( +&escr +, 7) +SAX.characters(ℯ, 3) +SAX.characters( +&esdot +, 8) +SAX.characters(≐, 3) +SAX.characters( +&esim +, 7) +SAX.characters(≂, 3) +SAX.characters( +&eta +, 6) +SAX.characters(η, 2) +SAX.characters( +, 1) +SAX.characters(ð, 2) +SAX.characters( +, 1) +SAX.characters(ð, 2) +SAX.characters( +, 1) +SAX.characters(ë, 2) +SAX.characters( +, 1) +SAX.characters(ë, 2) +SAX.characters( +&euro +, 7) +SAX.characters(€, 3) +SAX.characters( +&excl +, 7) +SAX.characters(!, 1) +SAX.characters( +&exist +, 8) +SAX.characters(∃, 3) +SAX.characters( +&expectation +, 14) +SAX.characters(ℰ, 3) +SAX.characters( +&exponentiale +, 15) +SAX.characters(ⅇ, 3) +SAX.characters( +&fallingdotseq +, 16) +SAX.characters(≒, 3) +SAX.characters( +&fcy +, 6) +SAX.characters(ф, 2) +SAX.characters( +&female +, 9) +SAX.characters(♀, 3) +SAX.characters( +&ffilig +, 9) +SAX.characters(ffi, 3) +SAX.characters( +&fflig +, 8) +SAX.characters(ff, 3) +SAX.characters( +&ffllig +, 9) +SAX.characters(ffl, 3) +SAX.characters( +&ffr +, 6) +SAX.characters(𝔣, 4) +SAX.characters( +&filig +, 8) +SAX.characters(fi, 3) +SAX.characters( +&fjlig +, 8) +SAX.characters(fj, 2) +SAX.characters( +&flat +, 7) +SAX.characters(♭, 3) +SAX.characters( +&fllig +, 8) +SAX.characters(fl, 3) +SAX.characters( +&fltns +, 8) +SAX.characters(▱, 3) +SAX.characters( +&fnof +, 7) +SAX.characters(ƒ, 2) +SAX.characters( +&fopf +, 7) +SAX.characters(𝕗, 4) +SAX.characters( +&forall +, 9) +SAX.characters(∀, 3) +SAX.characters( +&fork +, 7) +SAX.characters(⋔, 3) +SAX.characters( +&forkv +, 8) +SAX.characters(⫙, 3) +SAX.characters( +&fpartint +, 11) +SAX.characters(⨍, 3) +SAX.characters( +, 1) +SAX.characters(½, 2) +SAX.characters( +, 1) +SAX.characters(½, 2) +SAX.characters( +&frac13 +, 9) +SAX.characters(⅓, 3) +SAX.characters( +, 1) +SAX.characters(¼, 2) +SAX.characters( +, 1) +SAX.characters(¼, 2) +SAX.characters( +&frac15 +, 9) +SAX.characters(⅕, 3) +SAX.characters( +&frac16 +, 9) +SAX.characters(⅙, 3) +SAX.characters( +&frac18 +, 9) +SAX.characters(⅛, 3) +SAX.characters( +&frac23 +, 9) +SAX.characters(⅔, 3) +SAX.characters( +&frac25 +, 9) +SAX.characters(⅖, 3) +SAX.characters( +, 1) +SAX.characters(¾, 2) +SAX.characters( +, 1) +SAX.characters(¾, 2) +SAX.characters( +&frac35 +, 9) +SAX.characters(⅗, 3) +SAX.characters( +&frac38 +, 9) +SAX.characters(⅜, 3) +SAX.characters( +&frac45 +, 9) +SAX.characters(⅘, 3) +SAX.characters( +&frac56 +, 9) +SAX.characters(⅚, 3) +SAX.characters( +&frac58 +, 9) +SAX.characters(⅝, 3) +SAX.characters( +&frac78 +, 9) +SAX.characters(⅞, 3) +SAX.characters( +&frasl +, 8) +SAX.characters(⁄, 3) +SAX.characters( +&frown +, 8) +SAX.characters(⌢, 3) +SAX.characters( +&fscr +, 7) +SAX.characters(𝒻, 4) +SAX.characters( +&gE +, 5) +SAX.characters(≧, 3) +SAX.characters( +&gEl +, 6) +SAX.characters(⪌, 3) +SAX.characters( +&gacute +, 9) +SAX.characters(ǵ, 2) +SAX.characters( +&gamma +, 8) +SAX.characters(γ, 2) +SAX.characters( +&gammad +, 9) +SAX.characters(ϝ, 2) +SAX.characters( +&gap +, 6) +SAX.characters(⪆, 3) +SAX.characters( +&gbreve +, 9) +SAX.characters(ğ, 2) +SAX.characters( +&gcirc +, 8) +SAX.characters(ĝ, 2) +SAX.characters( +&gcy +, 6) +SAX.characters(г, 2) +SAX.characters( +&gdot +, 7) +SAX.characters(ġ, 2) +SAX.characters( +&ge +, 5) +SAX.characters(≥, 3) +SAX.characters( +&gel +, 6) +SAX.characters(⋛, 3) +SAX.characters( +&geq +, 6) +SAX.characters(≥, 3) +SAX.characters( +&geqq +, 7) +SAX.characters(≧, 3) +SAX.characters( +&geqslant +, 11) +SAX.characters(⩾, 3) +SAX.characters( +&ges +, 6) +SAX.characters(⩾, 3) +SAX.characters( +&gescc +, 8) +SAX.characters(⪩, 3) +SAX.characters( +&gesdot +, 9) +SAX.characters(⪀, 3) +SAX.characters( +&gesdoto +, 10) +SAX.characters(⪂, 3) +SAX.characters( +&gesdotol +, 11) +SAX.characters(⪄, 3) +SAX.characters( +&gesl +, 7) +SAX.characters(⋛︀, 6) +SAX.characters( +&gesles +, 9) +SAX.characters(⪔, 3) +SAX.characters( +&gfr +, 6) +SAX.characters(𝔤, 4) +SAX.characters( +&gg +, 5) +SAX.characters(≫, 3) +SAX.characters( +&ggg +, 6) +SAX.characters(⋙, 3) +SAX.characters( +&gimel +, 8) +SAX.characters(ℷ, 3) +SAX.characters( +&gjcy +, 7) +SAX.characters(ѓ, 2) +SAX.characters( +&gl +, 5) +SAX.characters(≷, 3) +SAX.characters( +&glE +, 6) +SAX.characters(⪒, 3) +SAX.characters( +&gla +, 6) +SAX.characters(⪥, 3) +SAX.characters( +&glj +, 6) +SAX.characters(⪤, 3) +SAX.characters( +&gnE +, 6) +SAX.characters(≩, 3) +SAX.characters( +&gnap +, 7) +SAX.characters(⪊, 3) +SAX.characters( +&gnapprox +, 11) +SAX.characters(⪊, 3) +SAX.characters( +&gne +, 6) +SAX.characters(⪈, 3) +SAX.characters( +&gneq +, 7) +SAX.characters(⪈, 3) +SAX.characters( +&gneqq +, 8) +SAX.characters(≩, 3) +SAX.characters( +&gnsim +, 8) +SAX.characters(⋧, 3) +SAX.characters( +&gopf +, 7) +SAX.characters(𝕘, 4) +SAX.characters( +&grave +, 8) +SAX.characters(`, 1) +SAX.characters( +&gscr +, 7) +SAX.characters(ℊ, 3) +SAX.characters( +&gsim +, 7) +SAX.characters(≳, 3) +SAX.characters( +&gsime +, 8) +SAX.characters(⪎, 3) +SAX.characters( +&gsiml +, 8) +SAX.characters(⪐, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(cc +, 3) +SAX.characters(⪧, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(cir +, 4) +SAX.characters(⩺, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(dot +, 4) +SAX.characters(⋗, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(lPar +, 5) +SAX.characters(⦕, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(quest +, 6) +SAX.characters(⩼, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(rapprox +, 8) +SAX.characters(⪆, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(rarr +, 5) +SAX.characters(⥸, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(rdot +, 5) +SAX.characters(⋗, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(reqless +, 8) +SAX.characters(⋛, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(reqqless +, 9) +SAX.characters(⪌, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(rless +, 6) +SAX.characters(≷, 3) +SAX.characters( +, 1) +SAX.characters(>, 1) +SAX.characters(rsim +, 5) +SAX.characters(≳, 3) +SAX.characters( +&gvertneqq +, 12) +SAX.characters(≩︀, 6) +SAX.characters( +&gvnE +, 7) +SAX.characters(≩︀, 6) +SAX.characters( +&hArr +, 7) +SAX.characters(⇔, 3) +SAX.characters( +&hairsp +, 9) +SAX.characters( , 3) +SAX.characters( +&half +, 7) +SAX.characters(½, 2) +SAX.characters( +&hamilt +, 9) +SAX.characters(ℋ, 3) +SAX.characters( +&hardcy +, 9) +SAX.characters(ъ, 2) +SAX.characters( +&harr +, 7) +SAX.characters(↔, 3) +SAX.characters( +&harrcir +, 10) +SAX.characters(⥈, 3) +SAX.characters( +&harrw +, 8) +SAX.characters(↭, 3) +SAX.characters( +&hbar +, 7) +SAX.characters(ℏ, 3) +SAX.characters( +&hcirc +, 8) +SAX.characters(ĥ, 2) +SAX.characters( +&hearts +, 9) +SAX.characters(♥, 3) +SAX.characters( +&heartsuit +, 12) +SAX.characters(♥, 3) +SAX.characters( +&hellip +, 9) +SAX.characters(…, 3) +SAX.characters( +&hercon +, 9) +SAX.characters(⊹, 3) +SAX.characters( +&hfr +, 6) +SAX.characters(𝔥, 4) +SAX.characters( +&hksearow +, 11) +SAX.characters(⤥, 3) +SAX.characters( +&hkswarow +, 11) +SAX.characters(⤦, 3) +SAX.characters( +&hoarr +, 8) +SAX.characters(⇿, 3) +SAX.characters( +&homtht +, 9) +SAX.characters(∻, 3) +SAX.characters( +&hookleftarrow +, 16) +SAX.characters(↩, 3) +SAX.characters( +&hookrightarrow +, 17) +SAX.characters(↪, 3) +SAX.characters( +&hopf +, 7) +SAX.characters(𝕙, 4) +SAX.characters( +&horbar +, 9) +SAX.characters(―, 3) +SAX.characters( +&hscr +, 7) +SAX.characters(𝒽, 4) +SAX.characters( +&hslash +, 9) +SAX.characters(ℏ, 3) +SAX.characters( +&hstrok +, 9) +SAX.characters(ħ, 2) +SAX.characters( +&hybull +, 9) +SAX.characters(⁃, 3) +SAX.characters( +&hyphen +, 9) +SAX.characters(‐, 3) +SAX.characters( +, 1) +SAX.characters(í, 2) +SAX.characters( +, 1) +SAX.characters(í, 2) +SAX.characters( +&ic +, 5) +SAX.characters(⁣, 3) +SAX.characters( +, 1) +SAX.characters(î, 2) +SAX.characters( +, 1) +SAX.characters(î, 2) +SAX.characters( +&icy +, 6) +SAX.characters(и, 2) +SAX.characters( +&iecy +, 7) +SAX.characters(е, 2) +SAX.characters( +, 1) +SAX.characters(¡, 2) +SAX.characters( +, 1) +SAX.characters(¡, 2) +SAX.characters( +&iff +, 6) +SAX.characters(⇔, 3) +SAX.characters( +&ifr +, 6) +SAX.characters(𝔦, 4) +SAX.characters( +, 1) +SAX.characters(ì, 2) +SAX.characters( +, 1) +SAX.characters(ì, 2) +SAX.characters( +&ii +, 5) +SAX.characters(ⅈ, 3) +SAX.characters( +&iiiint +, 9) +SAX.characters(⨌, 3) +SAX.characters( +&iiint +, 8) +SAX.characters(∭, 3) +SAX.characters( +&iinfin +, 9) +SAX.characters(⧜, 3) +SAX.characters( +&iiota +, 8) +SAX.characters(℩, 3) +SAX.characters( +&ijlig +, 8) +SAX.characters(ij, 2) +SAX.characters( +&imacr +, 8) +SAX.characters(ī, 2) +SAX.characters( +&image +, 8) +SAX.characters(ℑ, 3) +SAX.characters( +&imagline +, 11) +SAX.characters(ℐ, 3) +SAX.characters( +&imagpart +, 11) +SAX.characters(ℑ, 3) +SAX.characters( +&imath +, 8) +SAX.characters(ı, 2) +SAX.characters( +&imof +, 7) +SAX.characters(⊷, 3) +SAX.characters( +&imped +, 8) +SAX.characters(Ƶ, 2) +SAX.characters( +&in +, 5) +SAX.characters(∈, 3) +SAX.characters( +&incare +, 9) +SAX.characters(℅, 3) +SAX.characters( +&infin +, 8) +SAX.characters(∞, 3) +SAX.characters( +&infintie +, 11) +SAX.characters(⧝, 3) +SAX.characters( +&inodot +, 9) +SAX.characters(ı, 2) +SAX.characters( +&int +, 6) +SAX.characters(∫, 3) +SAX.characters( +&intcal +, 9) +SAX.characters(⊺, 3) +SAX.characters( +&integers +, 11) +SAX.characters(ℤ, 3) +SAX.characters( +&intercal +, 11) +SAX.characters(⊺, 3) +SAX.characters( +&intlarhk +, 11) +SAX.characters(⨗, 3) +SAX.characters( +&intprod +, 10) +SAX.characters(⨼, 3) +SAX.characters( +&iocy +, 7) +SAX.characters(ё, 2) +SAX.characters( +&iogon +, 8) +SAX.characters(į, 2) +SAX.characters( +&iopf +, 7) +SAX.characters(𝕚, 4) +SAX.characters( +&iota +, 7) +SAX.characters(ι, 2) +SAX.characters( +&iprod +, 8) +SAX.characters(⨼, 3) +SAX.characters( +, 1) +SAX.characters(¿, 2) +SAX.characters( +, 1) +SAX.characters(¿, 2) +SAX.characters( +&iscr +, 7) +SAX.characters(𝒾, 4) +SAX.characters( +&isin +, 7) +SAX.characters(∈, 3) +SAX.characters( +&isinE +, 8) +SAX.characters(⋹, 3) +SAX.characters( +&isindot +, 10) +SAX.characters(⋵, 3) +SAX.characters( +&isins +, 8) +SAX.characters(⋴, 3) +SAX.characters( +&isinsv +, 9) +SAX.characters(⋳, 3) +SAX.characters( +&isinv +, 8) +SAX.characters(∈, 3) +SAX.characters( +&it +, 5) +SAX.characters(⁢, 3) +SAX.characters( +&itilde +, 9) +SAX.characters(ĩ, 2) +SAX.characters( +&iukcy +, 8) +SAX.characters(і, 2) +SAX.characters( +, 1) +SAX.characters(ï, 2) +SAX.characters( +, 1) +SAX.characters(ï, 2) +SAX.characters( +&jcirc +, 8) +SAX.characters(ĵ, 2) +SAX.characters( +&jcy +, 6) +SAX.characters(й, 2) +SAX.characters( +&jfr +, 6) +SAX.characters(𝔧, 4) +SAX.characters( +&jmath +, 8) +SAX.characters(ȷ, 2) +SAX.characters( +&jopf +, 7) +SAX.characters(𝕛, 4) +SAX.characters( +&jscr +, 7) +SAX.characters(𝒿, 4) +SAX.characters( +&jsercy +, 9) +SAX.characters(ј, 2) +SAX.characters( +&jukcy +, 8) +SAX.characters(є, 2) +SAX.characters( +&kappa +, 8) +SAX.characters(κ, 2) +SAX.characters( +&kappav +, 9) +SAX.characters(ϰ, 2) +SAX.characters( +&kcedil +, 9) +SAX.characters(ķ, 2) +SAX.characters( +&kcy +, 6) +SAX.characters(к, 2) +SAX.characters( +&kfr +, 6) +SAX.characters(𝔨, 4) +SAX.characters( +&kgreen +, 9) +SAX.characters(ĸ, 2) +SAX.characters( +&khcy +, 7) +SAX.characters(х, 2) +SAX.characters( +&kjcy +, 7) +SAX.characters(ќ, 2) +SAX.characters( +&kopf +, 7) +SAX.characters(𝕜, 4) +SAX.characters( +&kscr +, 7) +SAX.characters(𝓀, 4) +SAX.characters( +&lAarr +, 8) +SAX.characters(⇚, 3) +SAX.characters( +&lArr +, 7) +SAX.characters(⇐, 3) +SAX.characters( +&lAtail +, 9) +SAX.characters(⤛, 3) +SAX.characters( +&lBarr +, 8) +SAX.characters(⤎, 3) +SAX.characters( +&lE +, 5) +SAX.characters(≦, 3) +SAX.characters( +&lEg +, 6) +SAX.characters(⪋, 3) +SAX.characters( +&lHar +, 7) +SAX.characters(⥢, 3) +SAX.characters( +&lacute +, 9) +SAX.characters(ĺ, 2) +SAX.characters( +&laemptyv +, 11) +SAX.characters(⦴, 3) +SAX.characters( +&lagran +, 9) +SAX.characters(ℒ, 3) +SAX.characters( +&lambda +, 9) +SAX.characters(λ, 2) +SAX.characters( +&lang +, 7) +SAX.characters(⟨, 3) +SAX.characters( +&langd +, 8) +SAX.characters(⦑, 3) +SAX.characters( +&langle +, 9) +SAX.characters(⟨, 3) +SAX.characters( +&lap +, 6) +SAX.characters(⪅, 3) +SAX.characters( +, 1) +SAX.characters(«, 2) +SAX.characters( +, 1) +SAX.characters(«, 2) +SAX.characters( +&larr +, 7) +SAX.characters(←, 3) +SAX.characters( +&larrb +, 8) +SAX.characters(⇤, 3) +SAX.characters( +&larrbfs +, 10) +SAX.characters(⤟, 3) +SAX.characters( +&larrfs +, 9) +SAX.characters(⤝, 3) +SAX.characters( +&larrhk +, 9) +SAX.characters(↩, 3) +SAX.characters( +&larrlp +, 9) +SAX.characters(↫, 3) +SAX.characters( +&larrpl +, 9) +SAX.characters(⤹, 3) +SAX.characters( +&larrsim +, 10) +SAX.characters(⥳, 3) +SAX.characters( +&larrtl +, 9) +SAX.characters(↢, 3) +SAX.characters( +&lat +, 6) +SAX.characters(⪫, 3) +SAX.characters( +&latail +, 9) +SAX.characters(⤙, 3) +SAX.characters( +&late +, 7) +SAX.characters(⪭, 3) +SAX.characters( +&lates +, 8) +SAX.characters(⪭︀, 6) +SAX.characters( +&lbarr +, 8) +SAX.characters(⤌, 3) +SAX.characters( +&lbbrk +, 8) +SAX.characters(❲, 3) +SAX.characters( +&lbrace +, 9) +SAX.characters({, 1) +SAX.characters( +&lbrack +, 9) +SAX.characters([, 1) +SAX.characters( +&lbrke +, 8) +SAX.characters(⦋, 3) +SAX.characters( +&lbrksld +, 10) +SAX.characters(⦏, 3) +SAX.characters( +&lbrkslu +, 10) +SAX.characters(⦍, 3) +SAX.characters( +&lcaron +, 9) +SAX.characters(ľ, 2) +SAX.characters( +&lcedil +, 9) +SAX.characters(ļ, 2) +SAX.characters( +&lceil +, 8) +SAX.characters(⌈, 3) +SAX.characters( +&lcub +, 7) +SAX.characters({, 1) +SAX.characters( +&lcy +, 6) +SAX.characters(л, 2) +SAX.characters( +&ldca +, 7) +SAX.characters(⤶, 3) +SAX.characters( +&ldquo +, 8) +SAX.characters(“, 3) +SAX.characters( +&ldquor +, 9) +SAX.characters(„, 3) +SAX.characters( +&ldrdhar +, 10) +SAX.characters(⥧, 3) +SAX.characters( +&ldrushar +, 11) +SAX.characters(⥋, 3) +SAX.characters( +&ldsh +, 7) +SAX.characters(↲, 3) +SAX.characters( +&le +, 5) +SAX.characters(≤, 3) +SAX.characters( +&leftarrow +, 12) +SAX.characters(←, 3) +SAX.characters( +&leftarrowtail +, 16) +SAX.characters(↢, 3) +SAX.characters( +&leftharpoondown +, 18) +SAX.characters(↽, 3) +SAX.characters( +&leftharpoonup +, 16) +SAX.characters(↼, 3) +SAX.characters( +&leftleftarrows +, 17) +SAX.characters(⇇, 3) +SAX.characters( +&leftrightarrow +, 17) +SAX.characters(↔, 3) +SAX.characters( +&leftrightarrows +, 18) +SAX.characters(⇆, 3) +SAX.characters( +&leftrightharpoons +, 20) +SAX.characters(⇋, 3) +SAX.characters( +&leftrightsquigarrow +, 22) +SAX.characters(↭, 3) +SAX.characters( +&leftthreetimes +, 17) +SAX.characters(⋋, 3) +SAX.characters( +&leg +, 6) +SAX.characters(⋚, 3) +SAX.characters( +&leq +, 6) +SAX.characters(≤, 3) +SAX.characters( +&leqq +, 7) +SAX.characters(≦, 3) +SAX.characters( +&leqslant +, 11) +SAX.characters(⩽, 3) +SAX.characters( +&les +, 6) +SAX.characters(⩽, 3) +SAX.characters( +&lescc +, 8) +SAX.characters(⪨, 3) +SAX.characters( +&lesdot +, 9) +SAX.characters(⩿, 3) +SAX.characters( +&lesdoto +, 10) +SAX.characters(⪁, 3) +SAX.characters( +&lesdotor +, 11) +SAX.characters(⪃, 3) +SAX.characters( +&lesg +, 7) +SAX.characters(⋚︀, 6) +SAX.characters( +&lesges +, 9) +SAX.characters(⪓, 3) +SAX.characters( +&lessapprox +, 13) +SAX.characters(⪅, 3) +SAX.characters( +&lessdot +, 10) +SAX.characters(⋖, 3) +SAX.characters( +&lesseqgtr +, 12) +SAX.characters(⋚, 3) +SAX.characters( +&lesseqqgtr +, 13) +SAX.characters(⪋, 3) +SAX.characters( +&lessgtr +, 10) +SAX.characters(≶, 3) +SAX.characters( +&lesssim +, 10) +SAX.characters(≲, 3) +SAX.characters( +&lfisht +, 9) +SAX.characters(⥼, 3) +SAX.characters( +&lfloor +, 9) +SAX.characters(⌊, 3) +SAX.characters( +&lfr +, 6) +SAX.characters(𝔩, 4) +SAX.characters( +&lg +, 5) +SAX.characters(≶, 3) +SAX.characters( +&lgE +, 6) +SAX.characters(⪑, 3) +SAX.characters( +&lhard +, 8) +SAX.characters(↽, 3) +SAX.characters( +&lharu +, 8) +SAX.characters(↼, 3) +SAX.characters( +&lharul +, 9) +SAX.characters(⥪, 3) +SAX.characters( +&lhblk +, 8) +SAX.characters(▄, 3) +SAX.characters( +&ljcy +, 7) +SAX.characters(љ, 2) +SAX.characters( +&ll +, 5) +SAX.characters(≪, 3) +SAX.characters( +&llarr +, 8) +SAX.characters(⇇, 3) +SAX.characters( +&llcorner +, 11) +SAX.characters(⌞, 3) +SAX.characters( +&llhard +, 9) +SAX.characters(⥫, 3) +SAX.characters( +&lltri +, 8) +SAX.characters(◺, 3) +SAX.characters( +&lmidot +, 9) +SAX.characters(ŀ, 2) +SAX.characters( +&lmoust +, 9) +SAX.characters(⎰, 3) +SAX.characters( +&lmoustache +, 13) +SAX.characters(⎰, 3) +SAX.characters( +&lnE +, 6) +SAX.characters(≨, 3) +SAX.characters( +&lnap +, 7) +SAX.characters(⪉, 3) +SAX.characters( +&lnapprox +, 11) +SAX.characters(⪉, 3) +SAX.characters( +&lne +, 6) +SAX.characters(⪇, 3) +SAX.characters( +&lneq +, 7) +SAX.characters(⪇, 3) +SAX.characters( +&lneqq +, 8) +SAX.characters(≨, 3) +SAX.characters( +&lnsim +, 8) +SAX.characters(⋦, 3) +SAX.characters( +&loang +, 8) +SAX.characters(⟬, 3) +SAX.characters( +&loarr +, 8) +SAX.characters(⇽, 3) +SAX.characters( +&lobrk +, 8) +SAX.characters(⟦, 3) +SAX.characters( +&longleftarrow +, 16) +SAX.characters(⟵, 3) +SAX.characters( +&longleftrightarrow +, 21) +SAX.characters(⟷, 3) +SAX.characters( +&longmapsto +, 13) +SAX.characters(⟼, 3) +SAX.characters( +&longrightarrow +, 17) +SAX.characters(⟶, 3) +SAX.characters( +&looparrowleft +, 16) +SAX.characters(↫, 3) +SAX.characters( +&looparrowright +, 17) +SAX.characters(↬, 3) +SAX.characters( +&lopar +, 8) +SAX.characters(⦅, 3) +SAX.characters( +&lopf +, 7) +SAX.characters(𝕝, 4) +SAX.characters( +&loplus +, 9) +SAX.characters(⨭, 3) +SAX.characters( +&lotimes +, 10) +SAX.characters(⨴, 3) +SAX.characters( +&lowast +, 9) +SAX.characters(∗, 3) +SAX.characters( +&lowbar +, 9) +SAX.characters(_, 1) +SAX.characters( +&loz +, 6) +SAX.characters(◊, 3) +SAX.characters( +&lozenge +, 10) +SAX.characters(◊, 3) +SAX.characters( +&lozf +, 7) +SAX.characters(⧫, 3) +SAX.characters( +&lpar +, 7) +SAX.characters((, 1) +SAX.characters( +&lparlt +, 9) +SAX.characters(⦓, 3) +SAX.characters( +&lrarr +, 8) +SAX.characters(⇆, 3) +SAX.characters( +&lrcorner +, 11) +SAX.characters(⌟, 3) +SAX.characters( +&lrhar +, 8) +SAX.characters(⇋, 3) +SAX.characters( +&lrhard +, 9) +SAX.characters(⥭, 3) +SAX.characters( +&lrm +, 6) +SAX.characters(‎, 3) +SAX.characters( +&lrtri +, 8) +SAX.characters(⊿, 3) +SAX.characters( +&lsaquo +, 9) +SAX.characters(‹, 3) +SAX.characters( +&lscr +, 7) +SAX.characters(𝓁, 4) +SAX.characters( +&lsh +, 6) +SAX.characters(↰, 3) +SAX.characters( +&lsim +, 7) +SAX.characters(≲, 3) +SAX.characters( +&lsime +, 8) +SAX.characters(⪍, 3) +SAX.characters( +&lsimg +, 8) +SAX.characters(⪏, 3) +SAX.characters( +&lsqb +, 7) +SAX.characters([, 1) +SAX.characters( +&lsquo +, 8) +SAX.characters(‘, 3) +SAX.characters( +&lsquor +, 9) +SAX.characters(‚, 3) +SAX.characters( +&lstrok +, 9) +SAX.characters(ł, 2) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(cc +, 3) +SAX.characters(⪦, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(cir +, 4) +SAX.characters(⩹, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(dot +, 4) +SAX.characters(⋖, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(hree +, 5) +SAX.characters(⋋, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(imes +, 5) +SAX.characters(⋉, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(larr +, 5) +SAX.characters(⥶, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(quest +, 6) +SAX.characters(⩻, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(rPar +, 5) +SAX.characters(⦖, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(ri +, 3) +SAX.characters(◃, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(rie +, 4) +SAX.characters(⊴, 3) +SAX.characters( +, 1) +SAX.characters(<, 1) +SAX.characters(rif +, 4) +SAX.characters(◂, 3) +SAX.characters( +&lurdshar +, 11) +SAX.characters(⥊, 3) +SAX.characters( +&luruhar +, 10) +SAX.characters(⥦, 3) +SAX.characters( +&lvertneqq +, 12) +SAX.characters(≨︀, 6) +SAX.characters( +&lvnE +, 7) +SAX.characters(≨︀, 6) +SAX.characters( +&mDDot +, 8) +SAX.characters(∺, 3) +SAX.characters( +, 1) +SAX.characters(¯, 2) +SAX.characters( +, 1) +SAX.characters(¯, 2) +SAX.characters( +&male +, 7) +SAX.characters(♂, 3) +SAX.characters( +&malt +, 7) +SAX.characters(✠, 3) +SAX.characters( +&maltese +, 10) +SAX.characters(✠, 3) +SAX.characters( +&map +, 6) +SAX.characters(↦, 3) +SAX.characters( +&mapsto +, 9) +SAX.characters(↦, 3) +SAX.characters( +&mapstodown +, 13) +SAX.characters(↧, 3) +SAX.characters( +&mapstoleft +, 13) +SAX.characters(↤, 3) +SAX.characters( +&mapstoup +, 11) +SAX.characters(↥, 3) +SAX.characters( +&marker +, 9) +SAX.characters(▮, 3) +SAX.characters( +&mcomma +, 9) +SAX.characters(⨩, 3) +SAX.characters( +&mcy +, 6) +SAX.characters(м, 2) +SAX.characters( +&mdash +, 8) +SAX.characters(—, 3) +SAX.characters( +&measuredangle +, 16) +SAX.characters(∡, 3) +SAX.characters( +&mfr +, 6) +SAX.characters(𝔪, 4) +SAX.characters( +&mho +, 6) +SAX.characters(℧, 3) +SAX.characters( +, 1) +SAX.characters(µ, 2) +SAX.characters( +, 1) +SAX.characters(µ, 2) +SAX.characters( +&mid +, 6) +SAX.characters(∣, 3) +SAX.characters( +&midast +, 9) +SAX.characters(*, 1) +SAX.characters( +&midcir +, 9) +SAX.characters(⫰, 3) +SAX.characters( +, 1) +SAX.characters(·, 2) +SAX.characters( +, 1) +SAX.characters(·, 2) +SAX.characters( +&minus +, 8) +SAX.characters(−, 3) +SAX.characters( +&minusb +, 9) +SAX.characters(⊟, 3) +SAX.characters( +&minusd +, 9) +SAX.characters(∸, 3) +SAX.characters( +&minusdu +, 10) +SAX.characters(⨪, 3) +SAX.characters( +&mlcp +, 7) +SAX.characters(⫛, 3) +SAX.characters( +&mldr +, 7) +SAX.characters(…, 3) +SAX.characters( +&mnplus +, 9) +SAX.characters(∓, 3) +SAX.characters( +&models +, 9) +SAX.characters(⊧, 3) +SAX.characters( +&mopf +, 7) +SAX.characters(𝕞, 4) +SAX.characters( +&mp +, 5) +SAX.characters(∓, 3) +SAX.characters( +&mscr +, 7) +SAX.characters(𝓂, 4) +SAX.characters( +&mstpos +, 9) +SAX.characters(∾, 3) +SAX.characters( +&mu +, 5) +SAX.characters(μ, 2) +SAX.characters( +&multimap +, 11) +SAX.characters(⊸, 3) +SAX.characters( +&mumap +, 8) +SAX.characters(⊸, 3) +SAX.characters( +&nGg +, 6) +SAX.characters(⋙̸, 5) +SAX.characters( +&nGt +, 6) +SAX.characters(≫⃒, 6) +SAX.characters( +&nGtv +, 7) +SAX.characters(≫̸, 5) +SAX.characters( +&nLeftarrow +, 13) +SAX.characters(⇍, 3) +SAX.characters( +&nLeftrightarrow +, 18) +SAX.characters(⇎, 3) +SAX.characters( +&nLl +, 6) +SAX.characters(⋘̸, 5) +SAX.characters( +&nLt +, 6) +SAX.characters(≪⃒, 6) +SAX.characters( +&nLtv +, 7) +SAX.characters(≪̸, 5) +SAX.characters( +&nRightarrow +, 14) +SAX.characters(⇏, 3) +SAX.characters( +&nVDash +, 9) +SAX.characters(⊯, 3) +SAX.characters( +&nVdash +, 9) +SAX.characters(⊮, 3) +SAX.characters( +&nabla +, 8) +SAX.characters(∇, 3) +SAX.characters( +&nacute +, 9) +SAX.characters(ń, 2) +SAX.characters( +&nang +, 7) +SAX.characters(∠⃒, 6) +SAX.characters( +&nap +, 6) +SAX.characters(≉, 3) +SAX.characters( +&napE +, 7) +SAX.characters(⩰̸, 5) +SAX.characters( +&napid +, 8) +SAX.characters(≋̸, 5) +SAX.characters( +&napos +, 8) +SAX.characters(ʼn, 2) +SAX.characters( +&napprox +, 10) +SAX.characters(≉, 3) +SAX.characters( +&natur +, 8) +SAX.characters(♮, 3) +SAX.characters( +&natural +, 10) +SAX.characters(♮, 3) +SAX.characters( +&naturals +, 11) +SAX.characters(ℕ, 3) +SAX.characters( +, 1) +SAX.characters( , 2) +SAX.characters( +, 1) +SAX.characters( , 2) +SAX.characters( +&nbump +, 8) +SAX.characters(≎̸, 5) +SAX.characters( +&nbumpe +, 9) +SAX.characters(≏̸, 5) +SAX.characters( +&ncap +, 7) +SAX.characters(⩃, 3) +SAX.characters( +&ncaron +, 9) +SAX.characters(ň, 2) +SAX.characters( +&ncedil +, 9) +SAX.characters(ņ, 2) +SAX.characters( +&ncong +, 8) +SAX.characters(≇, 3) +SAX.characters( +&ncongdot +, 11) +SAX.characters(⩭̸, 5) +SAX.characters( +&ncup +, 7) +SAX.characters(⩂, 3) +SAX.characters( +&ncy +, 6) +SAX.characters(н, 2) +SAX.characters( +&ndash +, 8) +SAX.characters(–, 3) +SAX.characters( +&ne +, 5) +SAX.characters(≠, 3) +SAX.characters( +&neArr +, 8) +SAX.characters(⇗, 3) +SAX.characters( +&nearhk +, 9) +SAX.characters(⤤, 3) +SAX.characters( +&nearr +, 8) +SAX.characters(↗, 3) +SAX.characters( +&nearrow +, 10) +SAX.characters(↗, 3) +SAX.characters( +&nedot +, 8) +SAX.characters(≐̸, 5) +SAX.characters( +&nequiv +, 9) +SAX.characters(≢, 3) +SAX.characters( +&nesear +, 9) +SAX.characters(⤨, 3) +SAX.characters( +&nesim +, 8) +SAX.characters(≂̸, 5) +SAX.characters( +&nexist +, 9) +SAX.characters(∄, 3) +SAX.characters( +&nexists +, 10) +SAX.characters(∄, 3) +SAX.characters( +&nfr +, 6) +SAX.characters(𝔫, 4) +SAX.characters( +&ngE +, 6) +SAX.characters(≧̸, 5) +SAX.characters( +&nge +, 6) +SAX.characters(≱, 3) +SAX.characters( +&ngeq +, 7) +SAX.characters(≱, 3) +SAX.characters( +&ngeqq +, 8) +SAX.characters(≧̸, 5) +SAX.characters( +&ngeqslant +, 12) +SAX.characters(⩾̸, 5) +SAX.characters( +&nges +, 7) +SAX.characters(⩾̸, 5) +SAX.characters( +&ngsim +, 8) +SAX.characters(≵, 3) +SAX.characters( +&ngt +, 6) +SAX.characters(≯, 3) +SAX.characters( +&ngtr +, 7) +SAX.characters(≯, 3) +SAX.characters( +&nhArr +, 8) +SAX.characters(⇎, 3) +SAX.characters( +&nharr +, 8) +SAX.characters(↮, 3) +SAX.characters( +&nhpar +, 8) +SAX.characters(⫲, 3) +SAX.characters( +&ni +, 5) +SAX.characters(∋, 3) +SAX.characters( +&nis +, 6) +SAX.characters(⋼, 3) +SAX.characters( +&nisd +, 7) +SAX.characters(⋺, 3) +SAX.characters( +&niv +, 6) +SAX.characters(∋, 3) +SAX.characters( +&njcy +, 7) +SAX.characters(њ, 2) +SAX.characters( +&nlArr +, 8) +SAX.characters(⇍, 3) +SAX.characters( +&nlE +, 6) +SAX.characters(≦̸, 5) +SAX.characters( +&nlarr +, 8) +SAX.characters(↚, 3) +SAX.characters( +&nldr +, 7) +SAX.characters(‥, 3) +SAX.characters( +&nle +, 6) +SAX.characters(≰, 3) +SAX.characters( +&nleftarrow +, 13) +SAX.characters(↚, 3) +SAX.characters( +&nleftrightarrow +, 18) +SAX.characters(↮, 3) +SAX.characters( +&nleq +, 7) +SAX.characters(≰, 3) +SAX.characters( +&nleqq +, 8) +SAX.characters(≦̸, 5) +SAX.characters( +&nleqslant +, 12) +SAX.characters(⩽̸, 5) +SAX.characters( +&nles +, 7) +SAX.characters(⩽̸, 5) +SAX.characters( +&nless +, 8) +SAX.characters(≮, 3) +SAX.characters( +&nlsim +, 8) +SAX.characters(≴, 3) +SAX.characters( +&nlt +, 6) +SAX.characters(≮, 3) +SAX.characters( +&nltri +, 8) +SAX.characters(⋪, 3) +SAX.characters( +&nltrie +, 9) +SAX.characters(⋬, 3) +SAX.characters( +&nmid +, 7) +SAX.characters(∤, 3) +SAX.characters( +&nopf +, 7) +SAX.characters(𝕟, 4) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(in +, 3) +SAX.characters(∉, 3) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(inE +, 4) +SAX.characters(⋹̸, 5) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(indot +, 6) +SAX.characters(⋵̸, 5) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(inva +, 5) +SAX.characters(∉, 3) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(invb +, 5) +SAX.characters(⋷, 3) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(invc +, 5) +SAX.characters(⋶, 3) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(ni +, 3) +SAX.characters(∌, 3) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(niva +, 5) +SAX.characters(∌, 3) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(nivb +, 5) +SAX.characters(⋾, 3) +SAX.characters( +, 1) +SAX.characters(¬, 2) +SAX.characters(nivc +, 5) +SAX.characters(⋽, 3) +SAX.characters( +&npar +, 7) +SAX.characters(∦, 3) +SAX.characters( +&nparallel +, 12) +SAX.characters(∦, 3) +SAX.characters( +&nparsl +, 9) +SAX.characters(⫽⃥, 6) +SAX.characters( +&npart +, 8) +SAX.characters(∂̸, 5) +SAX.characters( +&npolint +, 10) +SAX.characters(⨔, 3) +SAX.characters( +&npr +, 6) +SAX.characters(⊀, 3) +SAX.characters( +&nprcue +, 9) +SAX.characters(⋠, 3) +SAX.characters( +&npre +, 7) +SAX.characters(⪯̸, 5) +SAX.characters( +&nprec +, 8) +SAX.characters(⊀, 3) +SAX.characters( +&npreceq +, 10) +SAX.characters(⪯̸, 5) +SAX.characters( +&nrArr +, 8) +SAX.characters(⇏, 3) +SAX.characters( +&nrarr +, 8) +SAX.characters(↛, 3) +SAX.characters( +&nrarrc +, 9) +SAX.characters(⤳̸, 5) +SAX.characters( +&nrarrw +, 9) +SAX.characters(↝̸, 5) +SAX.characters( +&nrightarrow +, 14) +SAX.characters(↛, 3) +SAX.characters( +&nrtri +, 8) +SAX.characters(⋫, 3) +SAX.characters( +&nrtrie +, 9) +SAX.characters(⋭, 3) +SAX.characters( +&nsc +, 6) +SAX.characters(⊁, 3) +SAX.characters( +&nsccue +, 9) +SAX.characters(⋡, 3) +SAX.characters( +&nsce +, 7) +SAX.characters(⪰̸, 5) +SAX.characters( +&nscr +, 7) +SAX.characters(𝓃, 4) +SAX.characters( +&nshortmid +, 12) +SAX.characters(∤, 3) +SAX.characters( +&nshortparallel +, 17) +SAX.characters(∦, 3) +SAX.characters( +&nsim +, 7) +SAX.characters(≁, 3) +SAX.characters( +&nsime +, 8) +SAX.characters(≄, 3) +SAX.characters( +&nsimeq +, 9) +SAX.characters(≄, 3) +SAX.characters( +&nsmid +, 8) +SAX.characters(∤, 3) +SAX.characters( +&nspar +, 8) +SAX.characters(∦, 3) +SAX.characters( +&nsqsube +, 10) +SAX.characters(⋢, 3) +SAX.characters( +&nsqsupe +, 10) +SAX.characters(⋣, 3) +SAX.characters( +&nsub +, 7) +SAX.characters(⊄, 3) +SAX.characters( +&nsubE +, 8) +SAX.characters(⫅̸, 5) +SAX.characters( +&nsube +, 8) +SAX.characters(⊈, 3) +SAX.characters( +&nsubset +, 10) +SAX.characters(⊂⃒, 6) +SAX.characters( +&nsubseteq +, 12) +SAX.characters(⊈, 3) +SAX.characters( +&nsubseteqq +, 13) +SAX.characters(⫅̸, 5) +SAX.characters( +&nsucc +, 8) +SAX.characters(⊁, 3) +SAX.characters( +&nsucceq +, 10) +SAX.characters(⪰̸, 5) +SAX.characters( +&nsup +, 7) +SAX.characters(⊅, 3) +SAX.characters( +&nsupE +, 8) +SAX.characters(⫆̸, 5) +SAX.characters( +&nsupe +, 8) +SAX.characters(⊉, 3) +SAX.characters( +&nsupset +, 10) +SAX.characters(⊃⃒, 6) +SAX.characters( +&nsupseteq +, 12) +SAX.characters(⊉, 3) +SAX.characters( +&nsupseteqq +, 13) +SAX.characters(⫆̸, 5) +SAX.characters( +&ntgl +, 7) +SAX.characters(≹, 3) +SAX.characters( +, 1) +SAX.characters(ñ, 2) +SAX.characters( +, 1) +SAX.characters(ñ, 2) +SAX.characters( +&ntlg +, 7) +SAX.characters(≸, 3) +SAX.characters( +&ntriangleleft +, 16) +SAX.characters(⋪, 3) +SAX.characters( +&ntrianglelefteq +, 18) +SAX.characters(⋬, 3) +SAX.characters( +&ntriangleright +, 17) +SAX.characters(⋫, 3) +SAX.characters( +&ntrianglerighteq +, 19) +SAX.characters(⋭, 3) +SAX.characters( +&nu +, 5) +SAX.characters(ν, 2) +SAX.characters( +&num +, 6) +SAX.characters(#, 1) +SAX.characters( +&numero +, 9) +SAX.characters(№, 3) +SAX.characters( +&numsp +, 8) +SAX.characters( , 3) +SAX.characters( +&nvDash +, 9) +SAX.characters(⊭, 3) +SAX.characters( +&nvHarr +, 9) +SAX.characters(⤄, 3) +SAX.characters( +&nvap +, 7) +SAX.characters(≍⃒, 6) +SAX.characters( +&nvdash +, 9) +SAX.characters(⊬, 3) +SAX.characters( +&nvge +, 7) +SAX.characters(≥⃒, 6) +SAX.characters( +&nvgt +, 7) +SAX.characters(>⃒, 4) +SAX.characters( +&nvinfin +, 10) +SAX.characters(⧞, 3) +SAX.characters( +&nvlArr +, 9) +SAX.characters(⤂, 3) +SAX.characters( +&nvle +, 7) +SAX.characters(≤⃒, 6) +SAX.characters( +&nvlt +, 7) +SAX.characters(<⃒, 4) +SAX.characters( +&nvltrie +, 10) +SAX.characters(⊴⃒, 6) +SAX.characters( +&nvrArr +, 9) +SAX.characters(⤃, 3) +SAX.characters( +&nvrtrie +, 10) +SAX.characters(⊵⃒, 6) +SAX.characters( +&nvsim +, 8) +SAX.characters(∼⃒, 6) +SAX.characters( +&nwArr +, 8) +SAX.characters(⇖, 3) +SAX.characters( +&nwarhk +, 9) +SAX.characters(⤣, 3) +SAX.characters( +&nwarr +, 8) +SAX.characters(↖, 3) +SAX.characters( +&nwarrow +, 10) +SAX.characters(↖, 3) +SAX.characters( +&nwnear +, 9) +SAX.characters(⤧, 3) +SAX.characters( +&oS +, 5) +SAX.characters(Ⓢ, 3) +SAX.characters( +, 1) +SAX.characters(ó, 2) +SAX.characters( +, 1) +SAX.characters(ó, 2) +SAX.characters( +&oast +, 7) +SAX.characters(⊛, 3) +SAX.characters( +&ocir +, 7) +SAX.characters(⊚, 3) +SAX.characters( +, 1) +SAX.characters(ô, 2) +SAX.characters( +, 1) +SAX.characters(ô, 2) +SAX.characters( +&ocy +, 6) +SAX.characters(о, 2) +SAX.characters( +&odash +, 8) +SAX.characters(⊝, 3) +SAX.characters( +&odblac +, 9) +SAX.characters(ő, 2) +SAX.characters( +&odiv +, 7) +SAX.characters(⨸, 3) +SAX.characters( +&odot +, 7) +SAX.characters(⊙, 3) +SAX.characters( +&odsold +, 9) +SAX.characters(⦼, 3) +SAX.characters( +&oelig +, 8) +SAX.characters(œ, 2) +SAX.characters( +&ofcir +, 8) +SAX.characters(⦿, 3) +SAX.characters( +&ofr +, 6) +SAX.characters(𝔬, 4) +SAX.characters( +&ogon +, 7) +SAX.characters(˛, 2) +SAX.characters( +, 1) +SAX.characters(ò, 2) +SAX.characters( +, 1) +SAX.characters(ò, 2) +SAX.characters( +&ogt +, 6) +SAX.characters(⧁, 3) +SAX.characters( +&ohbar +, 8) +SAX.characters(⦵, 3) +SAX.characters( +&ohm +, 6) +SAX.characters(Ω, 2) +SAX.characters( +&oint +, 7) +SAX.characters(∮, 3) +SAX.characters( +&olarr +, 8) +SAX.characters(↺, 3) +SAX.characters( +&olcir +, 8) +SAX.characters(⦾, 3) +SAX.characters( +&olcross +, 10) +SAX.characters(⦻, 3) +SAX.characters( +&oline +, 8) +SAX.characters(‾, 3) +SAX.characters( +&olt +, 6) +SAX.characters(⧀, 3) +SAX.characters( +&omacr +, 8) +SAX.characters(ō, 2) +SAX.characters( +&omega +, 8) +SAX.characters(ω, 2) +SAX.characters( +&omicron +, 10) +SAX.characters(ο, 2) +SAX.characters( +&omid +, 7) +SAX.characters(⦶, 3) +SAX.characters( +&ominus +, 9) +SAX.characters(⊖, 3) +SAX.characters( +&oopf +, 7) +SAX.characters(𝕠, 4) +SAX.characters( +&opar +, 7) +SAX.characters(⦷, 3) +SAX.characters( +&operp +, 8) +SAX.characters(⦹, 3) +SAX.characters( +&oplus +, 8) +SAX.characters(⊕, 3) +SAX.characters( +&or +, 5) +SAX.characters(∨, 3) +SAX.characters( +&orarr +, 8) +SAX.characters(↻, 3) +SAX.characters( +&ord +, 6) +SAX.characters(⩝, 3) +SAX.characters( +&order +, 8) +SAX.characters(ℴ, 3) +SAX.characters( +&orderof +, 10) +SAX.characters(ℴ, 3) +SAX.characters( +, 1) +SAX.characters(ª, 2) +SAX.characters( +, 1) +SAX.characters(ª, 2) +SAX.characters( +, 1) +SAX.characters(º, 2) +SAX.characters( +, 1) +SAX.characters(º, 2) +SAX.characters( +&origof +, 9) +SAX.characters(⊶, 3) +SAX.characters( +&oror +, 7) +SAX.characters(⩖, 3) +SAX.characters( +&orslope +, 10) +SAX.characters(⩗, 3) +SAX.characters( +&orv +, 6) +SAX.characters(⩛, 3) +SAX.characters( +&oscr +, 7) +SAX.characters(ℴ, 3) +SAX.characters( +, 1) +SAX.characters(ø, 2) +SAX.characters( +, 1) +SAX.characters(ø, 2) +SAX.characters( +&osol +, 7) +SAX.characters(⊘, 3) +SAX.characters( +, 1) +SAX.characters(õ, 2) +SAX.characters( +, 1) +SAX.characters(õ, 2) +SAX.characters( +&otimes +, 9) +SAX.characters(⊗, 3) +SAX.characters( +&otimesas +, 11) +SAX.characters(⨶, 3) +SAX.characters( +, 1) +SAX.characters(ö, 2) +SAX.characters( +, 1) +SAX.characters(ö, 2) +SAX.characters( +&ovbar +, 8) +SAX.characters(⌽, 3) +SAX.characters( +&par +, 6) +SAX.characters(∥, 3) +SAX.characters( +, 1) +SAX.characters(¶, 2) +SAX.characters( +, 1) +SAX.characters(¶, 2) +SAX.characters( +, 1) +SAX.characters(¶, 2) +SAX.characters(llel +, 5) +SAX.characters(∥, 3) +SAX.characters( +&parsim +, 9) +SAX.characters(⫳, 3) +SAX.characters( +&parsl +, 8) +SAX.characters(⫽, 3) +SAX.characters( +&part +, 7) +SAX.characters(∂, 3) +SAX.characters( +&pcy +, 6) +SAX.characters(п, 2) +SAX.characters( +&percnt +, 9) +SAX.characters(%, 1) +SAX.characters( +&period +, 9) +SAX.characters(., 1) +SAX.characters( +&permil +, 9) +SAX.characters(‰, 3) +SAX.characters( +&perp +, 7) +SAX.characters(⊥, 3) +SAX.characters( +&pertenk +, 10) +SAX.characters(‱, 3) +SAX.characters( +&pfr +, 6) +SAX.characters(𝔭, 4) +SAX.characters( +&phi +, 6) +SAX.characters(φ, 2) +SAX.characters( +&phiv +, 7) +SAX.characters(ϕ, 2) +SAX.characters( +&phmmat +, 9) +SAX.characters(ℳ, 3) +SAX.characters( +&phone +, 8) +SAX.characters(☎, 3) +SAX.characters( +&pi +, 5) +SAX.characters(π, 2) +SAX.characters( +&pitchfork +, 12) +SAX.characters(⋔, 3) +SAX.characters( +&piv +, 6) +SAX.characters(ϖ, 2) +SAX.characters( +&planck +, 9) +SAX.characters(ℏ, 3) +SAX.characters( +&planckh +, 10) +SAX.characters(ℎ, 3) +SAX.characters( +&plankv +, 9) +SAX.characters(ℏ, 3) +SAX.characters( +&plus +, 7) +SAX.characters(+, 1) +SAX.characters( +&plusacir +, 11) +SAX.characters(⨣, 3) +SAX.characters( +&plusb +, 8) +SAX.characters(⊞, 3) +SAX.characters( +&pluscir +, 10) +SAX.characters(⨢, 3) +SAX.characters( +&plusdo +, 9) +SAX.characters(∔, 3) +SAX.characters( +&plusdu +, 9) +SAX.characters(⨥, 3) +SAX.characters( +&pluse +, 8) +SAX.characters(⩲, 3) +SAX.characters( +, 1) +SAX.characters(±, 2) +SAX.characters( +, 1) +SAX.characters(±, 2) +SAX.characters( +&plussim +, 10) +SAX.characters(⨦, 3) +SAX.characters( +&plustwo +, 10) +SAX.characters(⨧, 3) +SAX.characters( +&pm +, 5) +SAX.characters(±, 2) +SAX.characters( +&pointint +, 11) +SAX.characters(⨕, 3) +SAX.characters( +&popf +, 7) +SAX.characters(𝕡, 4) +SAX.characters( +, 1) +SAX.characters(£, 2) +SAX.characters( +, 1) +SAX.characters(£, 2) +SAX.characters( +&pr +, 5) +SAX.characters(≺, 3) +SAX.characters( +&prE +, 6) +SAX.characters(⪳, 3) +SAX.characters( +&prap +, 7) +SAX.characters(⪷, 3) +SAX.characters( +&prcue +, 8) +SAX.characters(≼, 3) +SAX.characters( +&pre +, 6) +SAX.characters(⪯, 3) +SAX.characters( +&prec +, 7) +SAX.characters(≺, 3) +SAX.characters( +&precapprox +, 13) +SAX.characters(⪷, 3) +SAX.characters( +&preccurlyeq +, 14) +SAX.characters(≼, 3) +SAX.characters( +&preceq +, 9) +SAX.characters(⪯, 3) +SAX.characters( +&precnapprox +, 14) +SAX.characters(⪹, 3) +SAX.characters( +&precneqq +, 11) +SAX.characters(⪵, 3) +SAX.characters( +&precnsim +, 11) +SAX.characters(⋨, 3) +SAX.characters( +&precsim +, 10) +SAX.characters(≾, 3) +SAX.characters( +&prime +, 8) +SAX.characters(′, 3) +SAX.characters( +&primes +, 9) +SAX.characters(ℙ, 3) +SAX.characters( +&prnE +, 7) +SAX.characters(⪵, 3) +SAX.characters( +&prnap +, 8) +SAX.characters(⪹, 3) +SAX.characters( +&prnsim +, 9) +SAX.characters(⋨, 3) +SAX.characters( +&prod +, 7) +SAX.characters(∏, 3) +SAX.characters( +&profalar +, 11) +SAX.characters(⌮, 3) +SAX.characters( +&profline +, 11) +SAX.characters(⌒, 3) +SAX.characters( +&profsurf +, 11) +SAX.characters(⌓, 3) +SAX.characters( +&prop +, 7) +SAX.characters(∝, 3) +SAX.characters( +&propto +, 9) +SAX.characters(∝, 3) +SAX.characters( +&prsim +, 8) +SAX.characters(≾, 3) +SAX.characters( +&prurel +, 9) +SAX.characters(⊰, 3) +SAX.characters( +&pscr +, 7) +SAX.characters(𝓅, 4) +SAX.characters( +&psi +, 6) +SAX.characters(ψ, 2) +SAX.characters( +&puncsp +, 9) +SAX.characters( , 3) +SAX.characters( +&qfr +, 6) +SAX.characters(𝔮, 4) +SAX.characters( +&qint +, 7) +SAX.characters(⨌, 3) +SAX.characters( +&qopf +, 7) +SAX.characters(𝕢, 4) +SAX.characters( +&qprime +, 9) +SAX.characters(⁗, 3) +SAX.characters( +&qscr +, 7) +SAX.characters(𝓆, 4) +SAX.characters( +&quaternions +, 14) +SAX.characters(ℍ, 3) +SAX.characters( +&quatint +, 10) +SAX.characters(⨖, 3) +SAX.characters( +&quest +, 8) +SAX.characters(?, 1) +SAX.characters( +&questeq +, 10) +SAX.characters(≟, 3) +SAX.characters( +, 1) +SAX.characters(", 1) +SAX.characters( +, 1) +SAX.characters(", 1) +SAX.characters( +&rAarr +, 8) +SAX.characters(⇛, 3) +SAX.characters( +&rArr +, 7) +SAX.characters(⇒, 3) +SAX.characters( +&rAtail +, 9) +SAX.characters(⤜, 3) +SAX.characters( +&rBarr +, 8) +SAX.characters(⤏, 3) +SAX.characters( +&rHar +, 7) +SAX.characters(⥤, 3) +SAX.characters( +&race +, 7) +SAX.characters(∽̱, 5) +SAX.characters( +&racute +, 9) +SAX.characters(ŕ, 2) +SAX.characters( +&radic +, 8) +SAX.characters(√, 3) +SAX.characters( +&raemptyv +, 11) +SAX.characters(⦳, 3) +SAX.characters( +&rang +, 7) +SAX.characters(⟩, 3) +SAX.characters( +&rangd +, 8) +SAX.characters(⦒, 3) +SAX.characters( +&range +, 8) +SAX.characters(⦥, 3) +SAX.characters( +&rangle +, 9) +SAX.characters(⟩, 3) +SAX.characters( +, 1) +SAX.characters(», 2) +SAX.characters( +, 1) +SAX.characters(», 2) +SAX.characters( +&rarr +, 7) +SAX.characters(→, 3) +SAX.characters( +&rarrap +, 9) +SAX.characters(⥵, 3) +SAX.characters( +&rarrb +, 8) +SAX.characters(⇥, 3) +SAX.characters( +&rarrbfs +, 10) +SAX.characters(⤠, 3) +SAX.characters( +&rarrc +, 8) +SAX.characters(⤳, 3) +SAX.characters( +&rarrfs +, 9) +SAX.characters(⤞, 3) +SAX.characters( +&rarrhk +, 9) +SAX.characters(↪, 3) +SAX.characters( +&rarrlp +, 9) +SAX.characters(↬, 3) +SAX.characters( +&rarrpl +, 9) +SAX.characters(⥅, 3) +SAX.characters( +&rarrsim +, 10) +SAX.characters(⥴, 3) +SAX.characters( +&rarrtl +, 9) +SAX.characters(↣, 3) +SAX.characters( +&rarrw +, 8) +SAX.characters(↝, 3) +SAX.characters( +&ratail +, 9) +SAX.characters(⤚, 3) +SAX.characters( +&ratio +, 8) +SAX.characters(∶, 3) +SAX.characters( +&rationals +, 12) +SAX.characters(ℚ, 3) +SAX.characters( +&rbarr +, 8) +SAX.characters(⤍, 3) +SAX.characters( +&rbbrk +, 8) +SAX.characters(❳, 3) +SAX.characters( +&rbrace +, 9) +SAX.characters(}, 1) +SAX.characters( +&rbrack +, 9) +SAX.characters(], 1) +SAX.characters( +&rbrke +, 8) +SAX.characters(⦌, 3) +SAX.characters( +&rbrksld +, 10) +SAX.characters(⦎, 3) +SAX.characters( +&rbrkslu +, 10) +SAX.characters(⦐, 3) +SAX.characters( +&rcaron +, 9) +SAX.characters(ř, 2) +SAX.characters( +&rcedil +, 9) +SAX.characters(ŗ, 2) +SAX.characters( +&rceil +, 8) +SAX.characters(⌉, 3) +SAX.characters( +&rcub +, 7) +SAX.characters(}, 1) +SAX.characters( +&rcy +, 6) +SAX.characters(р, 2) +SAX.characters( +&rdca +, 7) +SAX.characters(⤷, 3) +SAX.characters( +&rdldhar +, 10) +SAX.characters(⥩, 3) +SAX.characters( +&rdquo +, 8) +SAX.characters(”, 3) +SAX.characters( +&rdquor +, 9) +SAX.characters(”, 3) +SAX.characters( +&rdsh +, 7) +SAX.characters(↳, 3) +SAX.characters( +&real +, 7) +SAX.characters(ℜ, 3) +SAX.characters( +&realine +, 10) +SAX.characters(ℛ, 3) +SAX.characters( +&realpart +, 11) +SAX.characters(ℜ, 3) +SAX.characters( +&reals +, 8) +SAX.characters(ℝ, 3) +SAX.characters( +&rect +, 7) +SAX.characters(▭, 3) +SAX.characters( +, 1) +SAX.characters(®, 2) +SAX.characters( +, 1) +SAX.characters(®, 2) +SAX.characters( +&rfisht +, 9) +SAX.characters(⥽, 3) +SAX.characters( +&rfloor +, 9) +SAX.characters(⌋, 3) +SAX.characters( +&rfr +, 6) +SAX.characters(𝔯, 4) +SAX.characters( +&rhard +, 8) +SAX.characters(⇁, 3) +SAX.characters( +&rharu +, 8) +SAX.characters(⇀, 3) +SAX.characters( +&rharul +, 9) +SAX.characters(⥬, 3) +SAX.characters( +&rho +, 6) +SAX.characters(ρ, 2) +SAX.characters( +&rhov +, 7) +SAX.characters(ϱ, 2) +SAX.characters( +&rightarrow +, 13) +SAX.characters(→, 3) +SAX.characters( +&rightarrowtail +, 17) +SAX.characters(↣, 3) +SAX.characters( +&rightharpoondown +, 19) +SAX.characters(⇁, 3) +SAX.characters( +&rightharpoonup +, 17) +SAX.characters(⇀, 3) +SAX.characters( +&rightleftarrows +, 18) +SAX.characters(⇄, 3) +SAX.characters( +&rightleftharpoons +, 20) +SAX.characters(⇌, 3) +SAX.characters( +&rightrightarrows +, 19) +SAX.characters(⇉, 3) +SAX.characters( +&rightsquigarrow +, 18) +SAX.characters(↝, 3) +SAX.characters( +&rightthreetimes +, 18) +SAX.characters(⋌, 3) +SAX.characters( +&ring +, 7) +SAX.characters(˚, 2) +SAX.characters( +&risingdotseq +, 15) +SAX.characters(≓, 3) +SAX.characters( +&rlarr +, 8) +SAX.characters(⇄, 3) +SAX.characters( +&rlhar +, 8) +SAX.characters(⇌, 3) +SAX.characters( +&rlm +, 6) +SAX.characters(‏, 3) +SAX.characters( +&rmoust +, 9) +SAX.characters(⎱, 3) +SAX.characters( +&rmoustache +, 13) +SAX.characters(⎱, 3) +SAX.characters( +&rnmid +, 8) +SAX.characters(⫮, 3) +SAX.characters( +&roang +, 8) +SAX.characters(⟭, 3) +SAX.characters( +&roarr +, 8) +SAX.characters(⇾, 3) +SAX.characters( +&robrk +, 8) +SAX.characters(⟧, 3) +SAX.characters( +&ropar +, 8) +SAX.characters(⦆, 3) +SAX.characters( +&ropf +, 7) +SAX.characters(𝕣, 4) +SAX.characters( +&roplus +, 9) +SAX.characters(⨮, 3) +SAX.characters( +&rotimes +, 10) +SAX.characters(⨵, 3) +SAX.characters( +&rpar +, 7) +SAX.characters(), 1) +SAX.characters( +&rpargt +, 9) +SAX.characters(⦔, 3) +SAX.characters( +&rppolint +, 11) +SAX.characters(⨒, 3) +SAX.characters( +&rrarr +, 8) +SAX.characters(⇉, 3) +SAX.characters( +&rsaquo +, 9) +SAX.characters(›, 3) +SAX.characters( +&rscr +, 7) +SAX.characters(𝓇, 4) +SAX.characters( +&rsh +, 6) +SAX.characters(↱, 3) +SAX.characters( +&rsqb +, 7) +SAX.characters(], 1) +SAX.characters( +&rsquo +, 8) +SAX.characters(’, 3) +SAX.characters( +&rsquor +, 9) +SAX.characters(’, 3) +SAX.characters( +&rthree +, 9) +SAX.characters(⋌, 3) +SAX.characters( +&rtimes +, 9) +SAX.characters(⋊, 3) +SAX.characters( +&rtri +, 7) +SAX.characters(▹, 3) +SAX.characters( +&rtrie +, 8) +SAX.characters(⊵, 3) +SAX.characters( +&rtrif +, 8) +SAX.characters(▸, 3) +SAX.characters( +&rtriltri +, 11) +SAX.characters(⧎, 3) +SAX.characters( +&ruluhar +, 10) +SAX.characters(⥨, 3) +SAX.characters( +&rx +, 5) +SAX.characters(℞, 3) +SAX.characters( +&sacute +, 9) +SAX.characters(ś, 2) +SAX.characters( +&sbquo +, 8) +SAX.characters(‚, 3) +SAX.characters( +&sc +, 5) +SAX.characters(≻, 3) +SAX.characters( +&scE +, 6) +SAX.characters(⪴, 3) +SAX.characters( +&scap +, 7) +SAX.characters(⪸, 3) +SAX.characters( +&scaron +, 9) +SAX.characters(š, 2) +SAX.characters( +&sccue +, 8) +SAX.characters(≽, 3) +SAX.characters( +&sce +, 6) +SAX.characters(⪰, 3) +SAX.characters( +&scedil +, 9) +SAX.characters(ş, 2) +SAX.characters( +&scirc +, 8) +SAX.characters(ŝ, 2) +SAX.characters( +&scnE +, 7) +SAX.characters(⪶, 3) +SAX.characters( +&scnap +, 8) +SAX.characters(⪺, 3) +SAX.characters( +&scnsim +, 9) +SAX.characters(⋩, 3) +SAX.characters( +&scpolint +, 11) +SAX.characters(⨓, 3) +SAX.characters( +&scsim +, 8) +SAX.characters(≿, 3) +SAX.characters( +&scy +, 6) +SAX.characters(с, 2) +SAX.characters( +&sdot +, 7) +SAX.characters(⋅, 3) +SAX.characters( +&sdotb +, 8) +SAX.characters(⊡, 3) +SAX.characters( +&sdote +, 8) +SAX.characters(⩦, 3) +SAX.characters( +&seArr +, 8) +SAX.characters(⇘, 3) +SAX.characters( +&searhk +, 9) +SAX.characters(⤥, 3) +SAX.characters( +&searr +, 8) +SAX.characters(↘, 3) +SAX.characters( +&searrow +, 10) +SAX.characters(↘, 3) +SAX.characters( +, 1) +SAX.characters(§, 2) +SAX.characters( +, 1) +SAX.characters(§, 2) +SAX.characters( +&semi +, 7) +SAX.characters(;, 1) +SAX.characters( +&seswar +, 9) +SAX.characters(⤩, 3) +SAX.characters( +&setminus +, 11) +SAX.characters(∖, 3) +SAX.characters( +&setmn +, 8) +SAX.characters(∖, 3) +SAX.characters( +&sext +, 7) +SAX.characters(✶, 3) +SAX.characters( +&sfr +, 6) +SAX.characters(𝔰, 4) +SAX.characters( +&sfrown +, 9) +SAX.characters(⌢, 3) +SAX.characters( +&sharp +, 8) +SAX.characters(♯, 3) +SAX.characters( +&shchcy +, 9) +SAX.characters(щ, 2) +SAX.characters( +&shcy +, 7) +SAX.characters(ш, 2) +SAX.characters( +&shortmid +, 11) +SAX.characters(∣, 3) +SAX.characters( +&shortparallel +, 16) +SAX.characters(∥, 3) +SAX.characters( +, 1) +SAX.characters(­, 2) +SAX.characters( +, 1) +SAX.characters(­, 2) +SAX.characters( +&sigma +, 8) +SAX.characters(σ, 2) +SAX.characters( +&sigmaf +, 9) +SAX.characters(ς, 2) +SAX.characters( +&sigmav +, 9) +SAX.characters(ς, 2) +SAX.characters( +&sim +, 6) +SAX.characters(∼, 3) +SAX.characters( +&simdot +, 9) +SAX.characters(⩪, 3) +SAX.characters( +&sime +, 7) +SAX.characters(≃, 3) +SAX.characters( +&simeq +, 8) +SAX.characters(≃, 3) +SAX.characters( +&simg +, 7) +SAX.characters(⪞, 3) +SAX.characters( +&simgE +, 8) +SAX.characters(⪠, 3) +SAX.characters( +&siml +, 7) +SAX.characters(⪝, 3) +SAX.characters( +&simlE +, 8) +SAX.characters(⪟, 3) +SAX.characters( +&simne +, 8) +SAX.characters(≆, 3) +SAX.characters( +&simplus +, 10) +SAX.characters(⨤, 3) +SAX.characters( +&simrarr +, 10) +SAX.characters(⥲, 3) +SAX.characters( +&slarr +, 8) +SAX.characters(←, 3) +SAX.characters( +&smallsetminus +, 16) +SAX.characters(∖, 3) +SAX.characters( +&smashp +, 9) +SAX.characters(⨳, 3) +SAX.characters( +&smeparsl +, 11) +SAX.characters(⧤, 3) +SAX.characters( +&smid +, 7) +SAX.characters(∣, 3) +SAX.characters( +&smile +, 8) +SAX.characters(⌣, 3) +SAX.characters( +&smt +, 6) +SAX.characters(⪪, 3) +SAX.characters( +&smte +, 7) +SAX.characters(⪬, 3) +SAX.characters( +&smtes +, 8) +SAX.characters(⪬︀, 6) +SAX.characters( +&softcy +, 9) +SAX.characters(ь, 2) +SAX.characters( +&sol +, 6) +SAX.characters(/, 1) +SAX.characters( +&solb +, 7) +SAX.characters(⧄, 3) +SAX.characters( +&solbar +, 9) +SAX.characters(⌿, 3) +SAX.characters( +&sopf +, 7) +SAX.characters(𝕤, 4) +SAX.characters( +&spades +, 9) +SAX.characters(♠, 3) +SAX.characters( +&spadesuit +, 12) +SAX.characters(♠, 3) +SAX.characters( +&spar +, 7) +SAX.characters(∥, 3) +SAX.characters( +&sqcap +, 8) +SAX.characters(⊓, 3) +SAX.characters( +&sqcaps +, 9) +SAX.characters(⊓︀, 6) +SAX.characters( +&sqcup +, 8) +SAX.characters(⊔, 3) +SAX.characters( +&sqcups +, 9) +SAX.characters(⊔︀, 6) +SAX.characters( +&sqsub +, 8) +SAX.characters(⊏, 3) +SAX.characters( +&sqsube +, 9) +SAX.characters(⊑, 3) +SAX.characters( +&sqsubset +, 11) +SAX.characters(⊏, 3) +SAX.characters( +&sqsubseteq +, 13) +SAX.characters(⊑, 3) +SAX.characters( +&sqsup +, 8) +SAX.characters(⊐, 3) +SAX.characters( +&sqsupe +, 9) +SAX.characters(⊒, 3) +SAX.characters( +&sqsupset +, 11) +SAX.characters(⊐, 3) +SAX.characters( +&sqsupseteq +, 13) +SAX.characters(⊒, 3) +SAX.characters( +&squ +, 6) +SAX.characters(□, 3) +SAX.characters( +&square +, 9) +SAX.characters(□, 3) +SAX.characters( +&squarf +, 9) +SAX.characters(▪, 3) +SAX.characters( +&squf +, 7) +SAX.characters(▪, 3) +SAX.characters( +&srarr +, 8) +SAX.characters(→, 3) +SAX.characters( +&sscr +, 7) +SAX.characters(𝓈, 4) +SAX.characters( +&ssetmn +, 9) +SAX.characters(∖, 3) +SAX.characters( +&ssmile +, 9) +SAX.characters(⌣, 3) +SAX.characters( +&sstarf +, 9) +SAX.characters(⋆, 3) +SAX.characters( +&star +, 7) +SAX.characters(☆, 3) +SAX.characters( +&starf +, 8) +SAX.characters(★, 3) +SAX.characters( +&straightepsilon +, 18) +SAX.characters(ϵ, 2) +SAX.characters( +&straightphi +, 14) +SAX.characters(ϕ, 2) +SAX.characters( +&strns +, 8) +SAX.characters(¯, 2) +SAX.characters( +&sub +, 6) +SAX.characters(⊂, 3) +SAX.characters( +&subE +, 7) +SAX.characters(⫅, 3) +SAX.characters( +&subdot +, 9) +SAX.characters(⪽, 3) +SAX.characters( +&sube +, 7) +SAX.characters(⊆, 3) +SAX.characters( +&subedot +, 10) +SAX.characters(⫃, 3) +SAX.characters( +&submult +, 10) +SAX.characters(⫁, 3) +SAX.characters( +&subnE +, 8) +SAX.characters(⫋, 3) +SAX.characters( +&subne +, 8) +SAX.characters(⊊, 3) +SAX.characters( +&subplus +, 10) +SAX.characters(⪿, 3) +SAX.characters( +&subrarr +, 10) +SAX.characters(⥹, 3) +SAX.characters( +&subset +, 9) +SAX.characters(⊂, 3) +SAX.characters( +&subseteq +, 11) +SAX.characters(⊆, 3) +SAX.characters( +&subseteqq +, 12) +SAX.characters(⫅, 3) +SAX.characters( +&subsetneq +, 12) +SAX.characters(⊊, 3) +SAX.characters( +&subsetneqq +, 13) +SAX.characters(⫋, 3) +SAX.characters( +&subsim +, 9) +SAX.characters(⫇, 3) +SAX.characters( +&subsub +, 9) +SAX.characters(⫕, 3) +SAX.characters( +&subsup +, 9) +SAX.characters(⫓, 3) +SAX.characters( +&succ +, 7) +SAX.characters(≻, 3) +SAX.characters( +&succapprox +, 13) +SAX.characters(⪸, 3) +SAX.characters( +&succcurlyeq +, 14) +SAX.characters(≽, 3) +SAX.characters( +&succeq +, 9) +SAX.characters(⪰, 3) +SAX.characters( +&succnapprox +, 14) +SAX.characters(⪺, 3) +SAX.characters( +&succneqq +, 11) +SAX.characters(⪶, 3) +SAX.characters( +&succnsim +, 11) +SAX.characters(⋩, 3) +SAX.characters( +&succsim +, 10) +SAX.characters(≿, 3) +SAX.characters( +&sum +, 6) +SAX.characters(∑, 3) +SAX.characters( +&sung +, 7) +SAX.characters(♪, 3) +SAX.characters( +, 1) +SAX.characters(¹, 2) +SAX.characters( +, 1) +SAX.characters(¹, 2) +SAX.characters( +, 1) +SAX.characters(², 2) +SAX.characters( +, 1) +SAX.characters(², 2) +SAX.characters( +, 1) +SAX.characters(³, 2) +SAX.characters( +, 1) +SAX.characters(³, 2) +SAX.characters( +&sup +, 6) +SAX.characters(⊃, 3) +SAX.characters( +&supE +, 7) +SAX.characters(⫆, 3) +SAX.characters( +&supdot +, 9) +SAX.characters(⪾, 3) +SAX.characters( +&supdsub +, 10) +SAX.characters(⫘, 3) +SAX.characters( +&supe +, 7) +SAX.characters(⊇, 3) +SAX.characters( +&supedot +, 10) +SAX.characters(⫄, 3) +SAX.characters( +&suphsol +, 10) +SAX.characters(⟉, 3) +SAX.characters( +&suphsub +, 10) +SAX.characters(⫗, 3) +SAX.characters( +&suplarr +, 10) +SAX.characters(⥻, 3) +SAX.characters( +&supmult +, 10) +SAX.characters(⫂, 3) +SAX.characters( +&supnE +, 8) +SAX.characters(⫌, 3) +SAX.characters( +&supne +, 8) +SAX.characters(⊋, 3) +SAX.characters( +&supplus +, 10) +SAX.characters(⫀, 3) +SAX.characters( +&supset +, 9) +SAX.characters(⊃, 3) +SAX.characters( +&supseteq +, 11) +SAX.characters(⊇, 3) +SAX.characters( +&supseteqq +, 12) +SAX.characters(⫆, 3) +SAX.characters( +&supsetneq +, 12) +SAX.characters(⊋, 3) +SAX.characters( +&supsetneqq +, 13) +SAX.characters(⫌, 3) +SAX.characters( +&supsim +, 9) +SAX.characters(⫈, 3) +SAX.characters( +&supsub +, 9) +SAX.characters(⫔, 3) +SAX.characters( +&supsup +, 9) +SAX.characters(⫖, 3) +SAX.characters( +&swArr +, 8) +SAX.characters(⇙, 3) +SAX.characters( +&swarhk +, 9) +SAX.characters(⤦, 3) +SAX.characters( +&swarr +, 8) +SAX.characters(↙, 3) +SAX.characters( +&swarrow +, 10) +SAX.characters(↙, 3) +SAX.characters( +&swnwar +, 9) +SAX.characters(⤪, 3) +SAX.characters( +, 1) +SAX.characters(ß, 2) +SAX.characters( +, 1) +SAX.characters(ß, 2) +SAX.characters( +&target +, 9) +SAX.characters(⌖, 3) +SAX.characters( +&tau +, 6) +SAX.characters(τ, 2) +SAX.characters( +&tbrk +, 7) +SAX.characters(⎴, 3) +SAX.characters( +&tcaron +, 9) +SAX.characters(ť, 2) +SAX.characters( +&tcedil +, 9) +SAX.characters(ţ, 2) +SAX.characters( +&tcy +, 6) +SAX.characters(т, 2) +SAX.characters( +&tdot +, 7) +SAX.characters(⃛, 3) +SAX.characters( +&telrec +, 9) +SAX.characters(⌕, 3) +SAX.characters( +&tfr +, 6) +SAX.characters(𝔱, 4) +SAX.characters( +&there4 +, 9) +SAX.characters(∴, 3) +SAX.characters( +&therefore +, 12) +SAX.characters(∴, 3) +SAX.characters( +&theta +, 8) +SAX.characters(θ, 2) +SAX.characters( +&thetasym +, 11) +SAX.characters(ϑ, 2) +SAX.characters( +&thetav +, 9) +SAX.characters(ϑ, 2) +SAX.characters( +&thickapprox +, 14) +SAX.characters(≈, 3) +SAX.characters( +&thicksim +, 11) +SAX.characters(∼, 3) +SAX.characters( +&thinsp +, 9) +SAX.characters( , 3) +SAX.characters( +&thkap +, 8) +SAX.characters(≈, 3) +SAX.characters( +&thksim +, 9) +SAX.characters(∼, 3) +SAX.characters( +, 1) +SAX.characters(þ, 2) +SAX.characters( +, 1) +SAX.characters(þ, 2) +SAX.characters( +&tilde +, 8) +SAX.characters(˜, 2) +SAX.characters( +, 1) +SAX.characters(×, 2) +SAX.characters( +, 1) +SAX.characters(×, 2) +SAX.characters( +, 1) +SAX.characters(×, 2) +SAX.characters(b +, 2) +SAX.characters(⊠, 3) +SAX.characters( +, 1) +SAX.characters(×, 2) +SAX.characters(bar +, 4) +SAX.characters(⨱, 3) +SAX.characters( +, 1) +SAX.characters(×, 2) +SAX.characters(d +, 2) +SAX.characters(⨰, 3) +SAX.characters( +&tint +, 7) +SAX.characters(∭, 3) +SAX.characters( +&toea +, 7) +SAX.characters(⤨, 3) +SAX.characters( +&top +, 6) +SAX.characters(⊤, 3) +SAX.characters( +&topbot +, 9) +SAX.characters(⌶, 3) +SAX.characters( +&topcir +, 9) +SAX.characters(⫱, 3) +SAX.characters( +&topf +, 7) +SAX.characters(𝕥, 4) +SAX.characters( +&topfork +, 10) +SAX.characters(⫚, 3) +SAX.characters( +&tosa +, 7) +SAX.characters(⤩, 3) +SAX.characters( +&tprime +, 9) +SAX.characters(‴, 3) +SAX.characters( +&trade +, 8) +SAX.characters(™, 3) +SAX.characters( +&triangle +, 11) +SAX.characters(▵, 3) +SAX.characters( +&triangledown +, 15) +SAX.characters(▿, 3) +SAX.characters( +&triangleleft +, 15) +SAX.characters(◃, 3) +SAX.characters( +&trianglelefteq +, 17) +SAX.characters(⊴, 3) +SAX.characters( +&triangleq +, 12) +SAX.characters(≜, 3) +SAX.characters( +&triangleright +, 16) +SAX.characters(▹, 3) +SAX.characters( +&trianglerighteq +, 18) +SAX.characters(⊵, 3) +SAX.characters( +&tridot +, 9) +SAX.characters(◬, 3) +SAX.characters( +&trie +, 7) +SAX.characters(≜, 3) +SAX.characters( +&triminus +, 11) +SAX.characters(⨺, 3) +SAX.characters( +&triplus +, 10) +SAX.characters(⨹, 3) +SAX.characters( +&trisb +, 8) +SAX.characters(⧍, 3) +SAX.characters( +&tritime +, 10) +SAX.characters(⨻, 3) +SAX.characters( +&trpezium +, 11) +SAX.characters(⏢, 3) +SAX.characters( +&tscr +, 7) +SAX.characters(𝓉, 4) +SAX.characters( +&tscy +, 7) +SAX.characters(ц, 2) +SAX.characters( +&tshcy +, 8) +SAX.characters(ћ, 2) +SAX.characters( +&tstrok +, 9) +SAX.characters(ŧ, 2) +SAX.characters( +&twixt +, 8) +SAX.characters(≬, 3) +SAX.characters( +&twoheadleftarrow +, 19) +SAX.characters(↞, 3) +SAX.characters( +&twoheadrightarrow +, 20) +SAX.characters(↠, 3) +SAX.characters( +&uArr +, 7) +SAX.characters(⇑, 3) +SAX.characters( +&uHar +, 7) +SAX.characters(⥣, 3) +SAX.characters( +, 1) +SAX.characters(ú, 2) +SAX.characters( +, 1) +SAX.characters(ú, 2) +SAX.characters( +&uarr +, 7) +SAX.characters(↑, 3) +SAX.characters( +&ubrcy +, 8) +SAX.characters(ў, 2) +SAX.characters( +&ubreve +, 9) +SAX.characters(ŭ, 2) +SAX.characters( +, 1) +SAX.characters(û, 2) +SAX.characters( +, 1) +SAX.characters(û, 2) +SAX.characters( +&ucy +, 6) +SAX.characters(у, 2) +SAX.characters( +&udarr +, 8) +SAX.characters(⇅, 3) +SAX.characters( +&udblac +, 9) +SAX.characters(ű, 2) +SAX.characters( +&udhar +, 8) +SAX.characters(⥮, 3) +SAX.characters( +&ufisht +, 9) +SAX.characters(⥾, 3) +SAX.characters( +&ufr +, 6) +SAX.characters(𝔲, 4) +SAX.characters( +, 1) +SAX.characters(ù, 2) +SAX.characters( +, 1) +SAX.characters(ù, 2) +SAX.characters( +&uharl +, 8) +SAX.characters(↿, 3) +SAX.characters( +&uharr +, 8) +SAX.characters(↾, 3) +SAX.characters( +&uhblk +, 8) +SAX.characters(▀, 3) +SAX.characters( +&ulcorn +, 9) +SAX.characters(⌜, 3) +SAX.characters( +&ulcorner +, 11) +SAX.characters(⌜, 3) +SAX.characters( +&ulcrop +, 9) +SAX.characters(⌏, 3) +SAX.characters( +&ultri +, 8) +SAX.characters(◸, 3) +SAX.characters( +&umacr +, 8) +SAX.characters(ū, 2) +SAX.characters( +, 1) +SAX.characters(¨, 2) +SAX.characters( +, 1) +SAX.characters(¨, 2) +SAX.characters( +&uogon +, 8) +SAX.characters(ų, 2) +SAX.characters( +&uopf +, 7) +SAX.characters(𝕦, 4) +SAX.characters( +&uparrow +, 10) +SAX.characters(↑, 3) +SAX.characters( +&updownarrow +, 14) +SAX.characters(↕, 3) +SAX.characters( +&upharpoonleft +, 16) +SAX.characters(↿, 3) +SAX.characters( +&upharpoonright +, 17) +SAX.characters(↾, 3) +SAX.characters( +&uplus +, 8) +SAX.characters(⊎, 3) +SAX.characters( +&upsi +, 7) +SAX.characters(υ, 2) +SAX.characters( +&upsih +, 8) +SAX.characters(ϒ, 2) +SAX.characters( +&upsilon +, 10) +SAX.characters(υ, 2) +SAX.characters( +&upuparrows +, 13) +SAX.characters(⇈, 3) +SAX.characters( +&urcorn +, 9) +SAX.characters(⌝, 3) +SAX.characters( +&urcorner +, 11) +SAX.characters(⌝, 3) +SAX.characters( +&urcrop +, 9) +SAX.characters(⌎, 3) +SAX.characters( +&uring +, 8) +SAX.characters(ů, 2) +SAX.characters( +&urtri +, 8) +SAX.characters(◹, 3) +SAX.characters( +&uscr +, 7) +SAX.characters(𝓊, 4) +SAX.characters( +&utdot +, 8) +SAX.characters(⋰, 3) +SAX.characters( +&utilde +, 9) +SAX.characters(ũ, 2) +SAX.characters( +&utri +, 7) +SAX.characters(▵, 3) +SAX.characters( +&utrif +, 8) +SAX.characters(▴, 3) +SAX.characters( +&uuarr +, 8) +SAX.characters(⇈, 3) +SAX.characters( +, 1) +SAX.characters(ü, 2) +SAX.characters( +, 1) +SAX.characters(ü, 2) +SAX.characters( +&uwangle +, 10) +SAX.characters(⦧, 3) +SAX.characters( +&vArr +, 7) +SAX.characters(⇕, 3) +SAX.characters( +&vBar +, 7) +SAX.characters(⫨, 3) +SAX.characters( +&vBarv +, 8) +SAX.characters(⫩, 3) +SAX.characters( +&vDash +, 8) +SAX.characters(⊨, 3) +SAX.characters( +&vangrt +, 9) +SAX.characters(⦜, 3) +SAX.characters( +&varepsilon +, 13) +SAX.characters(ϵ, 2) +SAX.characters( +&varkappa +, 11) +SAX.characters(ϰ, 2) +SAX.characters( +&varnothing +, 13) +SAX.characters(∅, 3) +SAX.characters( +&varphi +, 9) +SAX.characters(ϕ, 2) +SAX.characters( +&varpi +, 8) +SAX.characters(ϖ, 2) +SAX.characters( +&varpropto +, 12) +SAX.characters(∝, 3) +SAX.characters( +&varr +, 7) +SAX.characters(↕, 3) +SAX.characters( +&varrho +, 9) +SAX.characters(ϱ, 2) +SAX.characters( +&varsigma +, 11) +SAX.characters(ς, 2) +SAX.characters( +&varsubsetneq +, 15) +SAX.characters(⊊︀, 6) +SAX.characters( +&varsubsetneqq +, 16) +SAX.characters(⫋︀, 6) +SAX.characters( +&varsupsetneq +, 15) +SAX.characters(⊋︀, 6) +SAX.characters( +&varsupsetneqq +, 16) +SAX.characters(⫌︀, 6) +SAX.characters( +&vartheta +, 11) +SAX.characters(ϑ, 2) +SAX.characters( +&vartriangleleft +, 18) +SAX.characters(⊲, 3) +SAX.characters( +&vartriangleright +, 19) +SAX.characters(⊳, 3) +SAX.characters( +&vcy +, 6) +SAX.characters(в, 2) +SAX.characters( +&vdash +, 8) +SAX.characters(⊢, 3) +SAX.characters( +&vee +, 6) +SAX.characters(∨, 3) +SAX.characters( +&veebar +, 9) +SAX.characters(⊻, 3) +SAX.characters( +&veeeq +, 8) +SAX.characters(≚, 3) +SAX.characters( +&vellip +, 9) +SAX.characters(⋮, 3) +SAX.characters( +&verbar +, 9) +SAX.characters(|, 1) +SAX.characters( +&vert +, 7) +SAX.characters(|, 1) +SAX.characters( +&vfr +, 6) +SAX.characters(𝔳, 4) +SAX.characters( +&vltri +, 8) +SAX.characters(⊲, 3) +SAX.characters( +&vnsub +, 8) +SAX.characters(⊂⃒, 6) +SAX.characters( +&vnsup +, 8) +SAX.characters(⊃⃒, 6) +SAX.characters( +&vopf +, 7) +SAX.characters(𝕧, 4) +SAX.characters( +&vprop +, 8) +SAX.characters(∝, 3) +SAX.characters( +&vrtri +, 8) +SAX.characters(⊳, 3) +SAX.characters( +&vscr +, 7) +SAX.characters(𝓋, 4) +SAX.characters( +&vsubnE +, 9) +SAX.characters(⫋︀, 6) +SAX.characters( +&vsubne +, 9) +SAX.characters(⊊︀, 6) +SAX.characters( +&vsupnE +, 9) +SAX.characters(⫌︀, 6) +SAX.characters( +&vsupne +, 9) +SAX.characters(⊋︀, 6) +SAX.characters( +&vzigzag +, 10) +SAX.characters(⦚, 3) +SAX.characters( +&wcirc +, 8) +SAX.characters(ŵ, 2) +SAX.characters( +&wedbar +, 9) +SAX.characters(⩟, 3) +SAX.characters( +&wedge +, 8) +SAX.characters(∧, 3) +SAX.characters( +&wedgeq +, 9) +SAX.characters(≙, 3) +SAX.characters( +&weierp +, 9) +SAX.characters(℘, 3) +SAX.characters( +&wfr +, 6) +SAX.characters(𝔴, 4) +SAX.characters( +&wopf +, 7) +SAX.characters(𝕨, 4) +SAX.characters( +&wp +, 5) +SAX.characters(℘, 3) +SAX.characters( +&wr +, 5) +SAX.characters(≀, 3) +SAX.characters( +&wreath +, 9) +SAX.characters(≀, 3) +SAX.characters( +&wscr +, 7) +SAX.characters(𝓌, 4) +SAX.characters( +&xcap +, 7) +SAX.characters(⋂, 3) +SAX.characters( +&xcirc +, 8) +SAX.characters(◯, 3) +SAX.characters( +&xcup +, 7) +SAX.characters(⋃, 3) +SAX.characters( +&xdtri +, 8) +SAX.characters(▽, 3) +SAX.characters( +&xfr +, 6) +SAX.characters(𝔵, 4) +SAX.characters( +&xhArr +, 8) +SAX.characters(⟺, 3) +SAX.characters( +&xharr +, 8) +SAX.characters(⟷, 3) +SAX.characters( +&xi +, 5) +SAX.characters(ξ, 2) +SAX.characters( +&xlArr +, 8) +SAX.characters(⟸, 3) +SAX.characters( +&xlarr +, 8) +SAX.characters(⟵, 3) +SAX.characters( +&xmap +, 7) +SAX.characters(⟼, 3) +SAX.characters( +&xnis +, 7) +SAX.characters(⋻, 3) +SAX.characters( +&xodot +, 8) +SAX.characters(⨀, 3) +SAX.characters( +&xopf +, 7) +SAX.characters(𝕩, 4) +SAX.characters( +&xoplus +, 9) +SAX.characters(⨁, 3) +SAX.characters( +&xotime +, 9) +SAX.characters(⨂, 3) +SAX.characters( +&xrArr +, 8) +SAX.characters(⟹, 3) +SAX.characters( +&xrarr +, 8) +SAX.characters(⟶, 3) +SAX.characters( +&xscr +, 7) +SAX.characters(𝓍, 4) +SAX.characters( +&xsqcup +, 9) +SAX.characters(⨆, 3) +SAX.characters( +&xuplus +, 9) +SAX.characters(⨄, 3) +SAX.characters( +&xutri +, 8) +SAX.characters(△, 3) +SAX.characters( +&xvee +, 7) +SAX.characters(⋁, 3) +SAX.characters( +&xwedge +, 9) +SAX.characters(⋀, 3) +SAX.characters( +, 1) +SAX.characters(ý, 2) +SAX.characters( +, 1) +SAX.characters(ý, 2) +SAX.characters( +&yacy +, 7) +SAX.characters(я, 2) +SAX.characters( +&ycirc +, 8) +SAX.characters(ŷ, 2) +SAX.characters( +&ycy +, 6) +SAX.characters(ы, 2) +SAX.characters( +, 1) +SAX.characters(¥, 2) +SAX.characters( +, 1) +SAX.characters(¥, 2) +SAX.characters( +&yfr +, 6) +SAX.characters(𝔶, 4) +SAX.characters( +&yicy +, 7) +SAX.characters(ї, 2) +SAX.characters( +&yopf +, 7) +SAX.characters(𝕪, 4) +SAX.characters( +&yscr +, 7) +SAX.characters(𝓎, 4) +SAX.characters( +&yucy +, 7) +SAX.characters(ю, 2) +SAX.characters( +, 1) +SAX.characters(ÿ, 2) +SAX.characters( +, 1) +SAX.characters(ÿ, 2) +SAX.characters( +&zacute +, 9) +SAX.characters(ź, 2) +SAX.characters( +&zcaron +, 9) +SAX.characters(ž, 2) +SAX.characters( +&zcy +, 6) +SAX.characters(з, 2) +SAX.characters( +&zdot +, 7) +SAX.characters(ż, 2) +SAX.characters( +&zeetrf +, 9) +SAX.characters(ℨ, 3) +SAX.characters( +&zeta +, 7) +SAX.characters(ζ, 2) +SAX.characters( +&zfr +, 6) +SAX.characters(𝔷, 4) +SAX.characters( +&zhcy +, 7) +SAX.characters(ж, 2) +SAX.characters( +&zigrarr +, 10) +SAX.characters(⇝, 3) +SAX.characters( +&zopf +, 7) +SAX.characters(𝕫, 4) +SAX.characters( +&zscr +, 7) +SAX.characters(𝓏, 4) +SAX.characters( +&zwj +, 6) +SAX.characters(‍, 3) +SAX.characters( +&zwnj +, 7) +SAX.characters(‌, 3) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5_enc.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5_enc.html new file mode 100644 index 0000000000000000000000000000000000000000..44ceebca8c80345f7b475c28b0280ec54ed8a724 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5_enc.html @@ -0,0 +1,9 @@ + + + + + + +

    très

    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5_enc.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5_enc.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..6c5802f5601e3d1ce4f09641a337109892d69d3c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/html5_enc.html.sax @@ -0,0 +1,30 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(meta, charset='iso-8859-1') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( + , 3) +SAX.startElement(p) +SAX.characters(très, 5) +SAX.endElement(p) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue318.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue318.html new file mode 100644 index 0000000000000000000000000000000000000000..b3a01e4313ae64541ffc796a3662f30b572a94d2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue318.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue318.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue318.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..f2f608b40dee2b5adbaa67ab639bf6290137fded --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue318.html.sax @@ -0,0 +1,22 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(html, -//W3C//DTD HTML 4.01//EN, ) +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.startElement(meta, http-equiv='\"content-type\"', content='\"text/html;charset=utf-8\"') +SAX.endElement(meta) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue380.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue380.html new file mode 100644 index 0000000000000000000000000000000000000000..13b7db1fecd7e52780681165a4104e36a620790a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue380.html @@ -0,0 +1,6 @@ + + + + ... + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue380.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue380.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..b53845cfdc068c92969ca452bc995337433a753a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/issue380.html.sax @@ -0,0 +1,20 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( + , 3) +SAX.startElement(body) +SAX.characters( + , 5) +SAX.comment([if !supportLists]) +SAX.characters(..., 3) +SAX.comment([endif]) +SAX.characters( + , 3) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/liclose.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/liclose.html new file mode 100644 index 0000000000000000000000000000000000000000..62391dcfe27df58873f745507962a8333d3f2f55 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/liclose.html @@ -0,0 +1,15 @@ + + + + + + +
      +
    • First item +
    • +
    • Second item, closes the first one +
    • +
    + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/liclose.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/liclose.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..50fa77888d75b6822e42ea77eb63931f0c91364d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/liclose.html.sax @@ -0,0 +1,38 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, http://www.w3.org/TR/REC-html40/loose.dtd) +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( + , 3) +SAX.startElement(title) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(ul) +SAX.characters( +, 1) +SAX.startElement(li) +SAX.characters(First item +, 11) +SAX.endElement(li) +SAX.startElement(li) +SAX.characters(Second item, closes the first , 34) +SAX.endElement(li) +SAX.endElement(ul) +SAX.characters( + +, 2) +SAX.endElement(body) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/lt.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/lt.html new file mode 100644 index 0000000000000000000000000000000000000000..c29f74f7be0f59afc0d0df806617f866e7a5fb7b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/lt.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/lt.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/lt.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..43e1b11a2b65e6b8bc93f19cb3eeaa0e3b9a332e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/lt.html.sax @@ -0,0 +1,19 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(meta, name='Author', content='Root <root@aol.com>') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/names.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/names.html new file mode 100644 index 0000000000000000000000000000000000000000..dd7dcc2e383ebe72faf5bd16d3b1b745d3e64c8e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/names.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/names.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/names.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..7810c49841a0694a61b967120cc7f963bf398de3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/names.html.sax @@ -0,0 +1,19 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( + , 3) +SAX.startElement(o:p) +SAX.endElement(o:p) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/noscript.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/noscript.html new file mode 100644 index 0000000000000000000000000000000000000000..454e943693ba4e2be11e062bee23e390276c1fed --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/noscript.html @@ -0,0 +1,10 @@ + + + + omg + + + +

    yo

    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/noscript.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/noscript.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..a4d036f798e64d3352de16eab630ba9ce56f5146 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/noscript.html.sax @@ -0,0 +1,38 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(html, , ) +SAX.startElement(html) +SAX.characters( + , 5) +SAX.startElement(head) +SAX.characters( + , 9) +SAX.startElement(title) +SAX.characters(omg, 3) +SAX.endElement(title) +SAX.characters( + , 9) +SAX.startElement(noscript) +SAX.startElement(link, rel='stylesheet', href='http://foo.com') +SAX.endElement(link) +SAX.endElement(noscript) +SAX.characters( + , 5) +SAX.endElement(head) +SAX.characters( + , 5) +SAX.startElement(body, id='xxx') +SAX.characters( + , 9) +SAX.startElement(p) +SAX.characters(yo, 2) +SAX.endElement(p) +SAX.characters( + , 5) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/pre.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/pre.html new file mode 100644 index 0000000000000000000000000000000000000000..f83a7cb6a156f1d250ac8c937f8582d26d710e25 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/pre.html @@ -0,0 +1,6 @@ + + + +
    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/pre.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/pre.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..bdf1b75b25147653e853a93d2e42bc6b2affa5f6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/pre.html.sax @@ -0,0 +1,23 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(pre) +SAX.startElement(a, href='toto') +SAX.endElement(a) +SAX.startElement(img, src='titi') +SAX.endElement(img) +SAX.endElement(pre) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/python.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/python.html new file mode 100644 index 0000000000000000000000000000000000000000..befe71e08f381cb4d5895491d3974ddd6068843e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/python.html @@ -0,0 +1,9 @@ + + + + +Python Programming Language + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/python.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/python.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..f825954f53ca4ef4e87628ab9634590d890d6a6b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/python.html.sax @@ -0,0 +1,29 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(html, -//W3C//DTD HTML 4.01 Transitional//EN, http://www.w3.org/TR/html4/loose.dtd) +SAX.comment(?xml-stylesheet href="./css/ht2html.css" type="text/css"?) +SAX.startElement(html) +SAX.characters( +, 1) +SAX.comment( THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(Python Programming Language, 27) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg1.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg1.html new file mode 100644 index 0000000000000000000000000000000000000000..893d6a2944ebe58eae22606bbeb5fc4f78498f08 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg1.html @@ -0,0 +1,12 @@ + + + +Regression test 1 + + +

    Regression test 1

    +

    +Ok file no problem +

    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg1.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg1.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..758fd4f53ee032b50233439f0a485c48cd91ce83 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg1.html.sax @@ -0,0 +1,36 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(Regression test 1, 17) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(h1) +SAX.characters(Regression test 1, 17) +SAX.endElement(h1) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( +Ok file no problem +, 20) +SAX.endElement(p) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg2.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg2.html new file mode 100644 index 0000000000000000000000000000000000000000..88cf9d3b54e52bebbd098a3929df82289516079b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg2.html @@ -0,0 +1,15 @@ + + + +Regression test 2 + + +

    Regression test 2

    +

    +Autoclose of tag P +

    +

    +Ok file no problem +

    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg2.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg2.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..c9fe5cb94aec2edc96219948779eef47cf3a23e3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg2.html.sax @@ -0,0 +1,41 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(Regression test 2, 17) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(h1) +SAX.characters(Regression test 2, 17) +SAX.endElement(h1) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( +Autoclose of tag P +, 20) +SAX.endElement(p) +SAX.startElement(p) +SAX.characters( +Ok file no problem +, 20) +SAX.endElement(p) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg3.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg3.html new file mode 100644 index 0000000000000000000000000000000000000000..d35ac0d62f947734a31c9d2d351d862877b5b0ec --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg3.html @@ -0,0 +1,16 @@ + + + +Regression test 3 + + +

    Regression test 3

    +

    +Autoclose of tag P +

    +
    +

    +Ok file no problem +

    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg3.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg3.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..a2ea57e553c676ef1b7d7a2be1b984c08b3b3c13 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg3.html.sax @@ -0,0 +1,45 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(Regression test 3, 17) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(h1) +SAX.characters(Regression test 3, 17) +SAX.endElement(h1) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( +Autoclose of tag P +, 20) +SAX.endElement(p) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( +Ok file no problem +, 20) +SAX.endElement(p) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html new file mode 100644 index 0000000000000000000000000000000000000000..eb1ba093d50249c3023d1c100dd06abf99906a2d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html @@ -0,0 +1,14 @@ + + + +Regression test 4 + + +

    Regression test 4

    +

    +Wrong close of tag P +

    +
    + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html.err b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html.err new file mode 100644 index 0000000000000000000000000000000000000000..6515f70ded19fd22a0b6dbc7a98282960f3c1330 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html.err @@ -0,0 +1,3 @@ +./test/HTML/reg4.html:10: HTML parser error : Unexpected end tag : p +

    + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..3ed6c9d04664aa952371b332a24e97c3efa3e681 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/reg4.html.sax @@ -0,0 +1,43 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(Regression test 4, 17) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(h1) +SAX.characters(Regression test 4, 17) +SAX.endElement(h1) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( +Wrong close of tag P +, 22) +SAX.endElement(p) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.characters( +, 1) +SAX.error: Unexpected end tag : p +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/repeat.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/repeat.html new file mode 100644 index 0000000000000000000000000000000000000000..71cf72ef6868456bff42b09d2b5d160f614ebc40 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/repeat.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/repeat.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/repeat.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..50b3a76242081295b0796fe3ea9cdba7941c5296 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/repeat.html.sax @@ -0,0 +1,14 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.startElement(body) +SAX.startElement(td) +SAX.endElement(td) +SAX.startElement(td) +SAX.comment( ) +SAX.characters( +, 1) +SAX.endElement(td) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script.html new file mode 100644 index 0000000000000000000000000000000000000000..5b95a1f3be04e16732642884f48f0587c5e31654 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script.html @@ -0,0 +1,10 @@ + + +Script tests + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..5925eccbcb58736308437b0edfe8432ee6066eda --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script.html.sax @@ -0,0 +1,32 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.startElement(title) +SAX.characters(Script tests, 12) +SAX.endElement(title) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(script, language='javascript') +SAX.cdata( + if (window.open<max) ;, 28) +SAX.endElement(script) +SAX.characters( +, 1) +SAX.startElement(input, onclick='if(window.open<max);') +SAX.endElement(input) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script2.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script2.html new file mode 100644 index 0000000000000000000000000000000000000000..2ad9b950c7fd2af1ce6879d3d98aa1c582ec52cb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script2.html @@ -0,0 +1,17 @@ + + + + +Test Page + + +
    + +

    + PříliÅ¡ žluÅ¥ouÄký kůň úpÄ›l Äábelksé ódy; +

    +
    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script2.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script2.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..405549d11f79752e5434e57998d7207bf5a820cc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/script2.html.sax @@ -0,0 +1,50 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(html, -//W3C//DTD XHTML 1.0 Strict//EN, http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) +SAX.startElement(html, xmlns='http://www.w3.org/1999/xhtml') +SAX.characters( + , 2) +SAX.startElement(head) +SAX.characters( + , 3) +SAX.startElement(meta, http-equiv='Content-Type', content='text/html; charset=UTF-8') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(Test Page, 9) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(div, id='portal') +SAX.characters( +, 1) +SAX.startElement(script, type='text/javascript') +SAX.cdata( + documen.write("Př, 74) +SAX.endElement(script) +SAX.characters( + , 2) +SAX.startElement(p) +SAX.characters( + Příliš , 58) +SAX.endElement(p) +SAX.characters( +, 1) +SAX.endElement(div) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( + +, 2) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test2.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test2.html new file mode 100644 index 0000000000000000000000000000000000000000..eaa8864f75031268af634d042502d5c3655eed8b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test2.html @@ -0,0 +1,38 @@ + + + Linux Today + + + +
    + + + + + + +
    +Atipa Linux solutions. Your reliable cluster, server, and workstation solution. Win a Free Celeron Linux Workstation! + + +Linux Today Logo
    linux.com partner

    +
    + +[
    headlines | +features | +commercial | +security | +jobs | +volt | +contribute/submit | +advertise | +search | +site digests | +mailing lists | +about us | +link us ] +
    +

    +

    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test2.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test2.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..fd328dd69a4e41f5e6ebc56ea5f804d96135a3e6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test2.html.sax @@ -0,0 +1,145 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, http://www.w3.org/TR/REC-html40/loose.dtd) +SAX.startElement(html) +SAX.startElement(head) +SAX.characters( , 1) +SAX.startElement(title) +SAX.characters(Linux Today, 11) +SAX.endElement(title) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body, bgcolor='White', link='Blue', text='Black', vlink='Black', alink='Red') +SAX.characters( + +, 2) +SAX.startElement(center) +SAX.characters( +, 1) +SAX.startElement(table, border='0', width='100%', cellspacing='0', cellpadding='0') +SAX.characters( + , 9) +SAX.startElement(tr, bgcolor='#FFFFFF') +SAX.characters( + , 17) +SAX.startElement(td, height='90') +SAX.characters( +, 1) +SAX.startElement(a, href='http://linuxtoday.com/cgi-bin/click.pl?adnum=49') +SAX.startElement(img, src='/pics/door_linux.gif', border='0', width='468', height='60', alt='Atipa Linux solutions. Your reliable cluster, server, and workstation solution. Win a Free Celeron Linux Workstation!') +SAX.endElement(img) +SAX.endElement(a) +SAX.characters( + + , 18) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.startElement(td) +SAX.startElement(img, src='/pics/lt.gif', vspace='5', alt='Linux Today Logo') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='-1') +SAX.startElement(a, href='http://linux.com') +SAX.characters(linux.com, 9) +SAX.endElement(a) +SAX.characters( partner, 8) +SAX.endElement(font) +SAX.startElement(p) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + + , 10) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.endElement(table) +SAX.characters( +, 1) +SAX.startElement(font, size='2', face='Helvetica') +SAX.characters( +[ , 3) +SAX.startElement(a, href='http://linuxtoday.com/') +SAX.characters(headlines, 9) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://features.linuxtoday.com/') +SAX.characters(features, 8) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://commercial.linuxtoday.com/') +SAX.characters(commercial, 10) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://security.linuxtoday.com/') +SAX.characters(security, 8) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://jobs.linuxtoday.com/') +SAX.characters(jobs, 4) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://linuxtoday.com/volt/') +SAX.characters(volt, 4) +SAX.endElement(a) +SAX.characters( | +, 4) +SAX.startElement(a, href='http://linuxtoday.com/contrib.pl') +SAX.characters(contribute/submit, 17) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://linuxtoday.com/advertise/') +SAX.characters(advertise, 9) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://linuxtoday.com/search.html') +SAX.characters(search, 6) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://linuxtoday.com/digests/') +SAX.characters(site digests, 12) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://linuxtoday.com/mail-lists') +SAX.characters(mailing lists, 13) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://linuxtoday.com/about/') +SAX.characters(about us, 8) +SAX.endElement(a) +SAX.characters( | +, 3) +SAX.startElement(a, href='http://linuxtoday.com/linkus.html') +SAX.characters(link us, 7) +SAX.endElement(a) +SAX.characters( ], 2) +SAX.endElement(font) +SAX.characters( +, 1) +SAX.endElement(center) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( +, 1) +SAX.endElement(p) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html new file mode 100644 index 0000000000000000000000000000000000000000..d76b370d4fb60c38fc2b456f0cea0ec9986c8c91 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html @@ -0,0 +1,59 @@ + + + + + + +

    Component Package diagram ProblemDomain

    +

    +
    +
    +
    +Stereotype problem domain
    +
    +Alias Problem Domain
    +
    Note
    +
    The Problem Domain package is the model behind the Human +
    Interface, thats stores and manipulates the Family Tree. +
    + +
    +

    +
    +
    + +

    Class HumanInterface.FamilyFrame +

    +

    Class ProblemDomain.Birth +

    +

    Class ProblemDomain.Death +

    +

    Class ProblemDomain.Divorce +

    +

    Class ProblemDomain.Family +

    +

    Class ProblemDomain.Individual +

    +

    Class ProblemDomain.LifeEvent +

    +

    Class ProblemDomain.Marriage +

    +

    Class ProblemDomain.Note +

    +
    + +

    Links

    + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html.err b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html.err new file mode 100644 index 0000000000000000000000000000000000000000..c7435030ec6c0711466dbc07da7ae4b4994e6d11 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html.err @@ -0,0 +1,12 @@ +./test/HTML/test3.html:6: HTML parser error : Unexpected end tag : p +


    + ^ +./test/HTML/test3.html:13: HTML parser error : Unexpected end tag : p +


    + ^ +./test/HTML/test3.html:27: HTML parser error : Opening and ending tag mismatch: h4 and b +

    Links

    + ^ +./test/HTML/test3.html:27: HTML parser error : Unexpected end tag : b +

    Links

    + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..81500df693b64abde93764d2ae7f282c7b4d9dca --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/test3.html.sax @@ -0,0 +1,236 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( +, 1) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(base, target='contents') +SAX.endElement(base) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( +, 1) +SAX.startElement(body) +SAX.startElement(a, name='ProblemDomain.Package') +SAX.startElement(h2) +SAX.characters(Component Package diagram Prob, 39) +SAX.endElement(h2) +SAX.characters( +, 1) +SAX.endElement(a) +SAX.startElement(p) +SAX.endElement(p) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.error: Unexpected end tag : p +SAX.characters( +, 1) +SAX.startElement(dl) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(b) +SAX.characters(Stereotype , 11) +SAX.endElement(b) +SAX.characters(problem domain, 14) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(b) +SAX.characters(Alias , 6) +SAX.endElement(b) +SAX.characters(Problem Domain, 14) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(b) +SAX.characters(Note , 5) +SAX.endElement(b) +SAX.endElement(dt) +SAX.startElement(dd) +SAX.characters(The Problem Domain package is , 57) +SAX.characters( +, 1) +SAX.startElement(dd) +SAX.characters(Interface, thats stores and ma, 56) +SAX.characters( +, 1) +SAX.endElement(dd) +SAX.endElement(dd) +SAX.endElement(dl) +SAX.characters( +, 1) +SAX.startElement(p) +SAX.endElement(p) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.error: Unexpected end tag : p +SAX.characters( +, 1) +SAX.startElement(dl) +SAX.characters( +, 1) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='HumanInterface.FamilyFrame.html#HumanInterface.FamilyFrame') +SAX.characters(HumanInterface.FamilyFrame, 26) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='ProblemDomain.Birth.html#ProblemDomain.Birth') +SAX.characters(ProblemDomain.Birth, 19) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='ProblemDomain.Death.html#ProblemDomain.Death') +SAX.characters(ProblemDomain.Death, 19) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='ProblemDomain.Divorce.html#ProblemDomain.Divorce') +SAX.characters(ProblemDomain.Divorce, 21) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='ProblemDomain.Family.html#ProblemDomain.Family') +SAX.characters(ProblemDomain.Family, 20) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='ProblemDomain.Individual.html#ProblemDomain.Individual') +SAX.characters(ProblemDomain.Individual, 24) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='ProblemDomain.LifeEvent.html#ProblemDomain.LifeEvent') +SAX.characters(ProblemDomain.LifeEvent, 23) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='ProblemDomain.Marriage.html#ProblemDomain.Marriage') +SAX.characters(ProblemDomain.Marriage, 22) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.startElement(dt) +SAX.startElement(h4) +SAX.characters(Class , 6) +SAX.startElement(a, href='ProblemDomain.Note.html#ProblemDomain.Note') +SAX.characters(ProblemDomain.Note, 18) +SAX.endElement(a) +SAX.endElement(h4) +SAX.endElement(dt) +SAX.characters( +, 1) +SAX.endElement(dl) +SAX.characters( +, 1) +SAX.characters( +, 1) +SAX.startElement(h4) +SAX.startElement(b) +SAX.characters(Links, 5) +SAX.error: Opening and ending tag mismatch: h4 and b +SAX.endElement(b) +SAX.endElement(h4) +SAX.error: Unexpected end tag : b +SAX.characters( +, 1) +SAX.startElement(ul) +SAX.startElement(li) +SAX.startElement(b) +SAX.characters(Link to , 8) +SAX.endElement(b) +SAX.startElement(a, href='HumanInterface.Package.html#HumanInterface.Package') +SAX.characters(HumanInterface, 14) +SAX.endElement(a) +SAX.endElement(li) +SAX.endElement(ul) +SAX.characters( +, 1) +SAX.startElement(dir) +SAX.endElement(dir) +SAX.characters( +, 1) +SAX.startElement(ul) +SAX.startElement(li) +SAX.startElement(b) +SAX.characters(Link to , 8) +SAX.endElement(b) +SAX.startElement(a, href='DataManagement.FlatFile.Package.html#DataManagement.FlatFile.Package') +SAX.characters(DataManagement.FlatFile, 23) +SAX.endElement(a) +SAX.endElement(li) +SAX.endElement(ul) +SAX.characters( +, 1) +SAX.startElement(dir) +SAX.endElement(dir) +SAX.characters( +, 1) +SAX.startElement(ul) +SAX.startElement(li) +SAX.startElement(b) +SAX.characters(Link to , 8) +SAX.endElement(b) +SAX.startElement(a, href='DataManagement.Package.html#DataManagement.Package') +SAX.characters(DataManagement, 14) +SAX.endElement(a) +SAX.endElement(li) +SAX.endElement(ul) +SAX.characters( +, 1) +SAX.startElement(dir) +SAX.endElement(dir) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.endElement(html) +SAX.characters( +, 1) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/utf8bug.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/utf8bug.html new file mode 100644 index 0000000000000000000000000000000000000000..b497aa6184c72514b5188f67bc7d9c172d7e52e0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/utf8bug.html @@ -0,0 +1,215 @@ + + + + + + + + +شهير بلاگ + + + + + + + + + + + + + + +
    + + + + + +
    + + 
    +
    +
    + + + + + +
    + + +خانه + +تماس با من + +آرشيو + +جستجو در سایت + +درباره من + + + +RSS + + + +
    +

    + يکشنبه، 15 ارديبهشت 1387  + -   + Sunday, May 04, 2008 +

    +
    +
    +
    +
    + + + + +
    + + + + +
    + + + + + + + + + + +
    +
    + تاريخ درج: چهارشنبه، 29 اسÙند 1386 + - Wednesday, March 19, 2008      + نويسنده:       + Ø¯ÙØ¹Ø§Øª مشاهده: 2688 + بار      كد: 341 +
    +
    + + + +
    +
    +
    +
    + +
    + + + + +
    + عکس محصول هنر یکی از همکاران است. روی آن کلیک کند. +
    +
    + +
    +

    +
    +
      +نظرات + کاربران:
    • +حاجی Ø¬ÙØ±Ø³ÙˆÙ†:
      4/5/2008 - + 7:08:00 PM
      با درود به شما... بدون هیچ گونه طنز + Ùˆ دستکاری توسط حاجی دایی نقل شده است این ها Ú©Ù‡ در بیان جدی + اینقدر طناز هستند وای به روزی Ú©Ù‡ بخواهند طنز بنویسند. ببین + شهیر جان Ú†Ù‡ کسانی سر جوانان ما را با اصلاحات 8 سال گول + مالیدند.. این ها را بخوانید :::::((دبيركل مجمع اسلامي بانوان + Ú¯ÙØª: به نظر مي‌رسد آقاي خاتمي قصد ÙØ§ØµÙ„Ù‡ Ú¯Ø±ÙØªÙ† از تندروها + را ندارد Ùˆ تا اين روند ادامه دارد ما با تندروها در يك ائتلا٠+ شركت نمي‌كنيم. به گزارش خبرنگار سياسي خبرگزاري ÙØ§Ø±Ø³ØŒ + ÙØ§Ø·Ù…Ù‡ كروبي دبيركل مجمع اسلامي بانوان عصر امروز شنبه در جمع + خبرنگاران رسانه‌هاي گروهي روند برگزاري انتخابات هشتمين + دوره مجلس شوراي اسلامي را تحليل كرد. وي ضمن برشمردن مرزبندي خود + با جربان تندروي اصلاح طلب Ø§ÙØ²ÙˆØ¯: اين ما نيستيم كه با ستاد ائتلا٠+ اصلاح طلبان اختلا٠داريم اما انحصارگري برخي از گروه‌ها + جريان اصلاحات را دچار از هم‌گسستگي كرد. داوطلب هشتمين دوره + انتخابات مجلس شوراي اسلامي درباره تشكيل ستاد مردمي اصلاحات خاطر + نشان كرد: آقاي خاتمي به توصيه‌ها Ùˆ نظرات دوستانشان توجهي + ندارند Ùˆ اگر اين امكان وجود داشت كه همه جريانات اصلاح طلب زير + يك عنوان ÙØ¹Ø§Ù„يت كنند حتما از آن استقبال مي‌كرديم اما به + نظر نمي‌رسد كه آقاي خاتمي بخواهد از تندروها ÙØ§ØµÙ„Ù‡ بگيرد Ùˆ + تا اين روند ادامه داشته باشد ما با تندروها در يك ائتلا٠شركت + نمي‌كنيم. وي در مورد شركت تشكل متبوع خود در مرحله بعدي + انتخابات مجلس Ú¯ÙØª: برخي از كانديداهاي نزديك به ما به مرحله دوم + انتخابات راه ÙŠØ§ÙØªÙ‡â€ŒØ§Ù†Ø¯ Ùˆ ما با تمام توان در اين مرحله از + آنها Ø¯ÙØ§Ø¹ خواهيم كرد. كروبي تاكيد كرد: گروهي انحصارگر با + اقدامات غيرعقلاني Ùˆ تندروي‌هاي خود اتوبوس اصلاحات را در دره + سرنگون كردند)))) Ù„Ø·ÙØ§ پیدا کنید پرتقال ÙØ±ÙˆØ´ را......واقعا این + ها Ù…ÛŒ خواهند دوباره وارد مجلس Ùˆ دولت شوند.....اووووووووووووووو + لالالالالالا........نه!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! البته این + مجمع بانوان بیشتر به Ø³ÙØ±Ù‡ های نذر Ùˆ سبزی پاک کردن های خونه + مامان بزرگ Ùˆ خاله زنک بازی های عصر قاجاریه Ùˆ مجلس پا تختی Ùˆ + حنا بندون عروس شباهت دارد. مهندس جان گویا ما از دست این ....Ùˆ + عیالش باید برویم گوشه همان ابدارخانه Ùˆ شاغلام Ùˆ چایی + دیشلمه....شما تشری٠نمی آورید؟
    • +

    • +سیاوش:
      4/3/2008 - 9:28:00 PM
      مرد هزار چهره مرد هزار چهره کیست؟شخصیتی ساخته Ùˆ پرداخته مهران مدیری، پیمان قاسم خانی Ùˆ دیگر نویسندگان؟ تنها Ù‡Ø¯ÙØ´ آنست Ú©Ù‡ چند روز تعطیلات، مارا سرگم کند Ùˆ دیگر هیچ؟ مرد هزار چهره یک طنز است یک طنز تلخ، برداشتی واقعی از جامعه ایرانی. من جوانم پس دردآشنای جوانانم Ùˆ خود را با خود Ùˆ دیگر جوانان طر٠می کنم بسیار اند جوانانی Ú©Ù‡ مصداق مرد هزار چهره هستند جوانانی سودا زده یا به قول خود مسعود "جو گیر" Ú©Ù‡ هر با محصولی کهنه را با تعریÙÛŒ جدید به آنها ارائه کنند چنان با تمام Ùˆ جود Ù…ÛŒ پذیرند Ú©Ù‡ گویی راه ÙØ§Ø¦Ù‚ آمدن بر تمام مشکلاتشان را ÛŒØ§ÙØªÙ‡ اند Ùˆ Ù…ÛŒ خرند، خواه این تحÙÙ‡ تئوری بر Ú¯Ø±ÙØªÙ‡ از تÙکرات خشک Ùˆ ÙØ³ÛŒÙ„ÛŒ گروهی باشد یا مدل ملیجک وار لباسی در پشت ویترین ÙØ±ÙˆØ´Ú¯Ø§Ù‡. مهم نیست Ú†Ù‡ باشد! مهم نیست دلیل انتخابش Ú†Ù‡ باشد! مهم نیست نتیجه این انتخاب چیست! تنها مهم است Ú©Ù‡ Ù…ÛŒ گویند از این Ø·Ø±Ù Ø¨ÙØ±Ù…ائید!حال این Ø¨ÙØ±Ù…ائید Ú†Ù‡ معنایی دارد باز هم مهم نیست!!! وای بر ما Ú©Ù‡ نه خود را Ù…ÛŒ شناسیم Ùˆ نه در جهت شناخت خویش قدم Ù…ÛŒ گذاریم. وای بر ما Ú©Ù‡ دیگر حتی ندای درون خویش را نمی توانیم بشنویم. وای بر ما Ú©Ù‡ نمی دانیم Ú†Ù‡ Ù…ÛŒ خواهیم Ùˆ هر بار Ú©Ù‡ چیزی Ù…ÛŒ خواهیم Ùˆ در مسیر وصال پا Ù…ÛŒ گذاریم به میانه راه نرسیده چنان مجذوب زرق Ùˆ برق راههای دیگر Ù…ÛŒ شویم Ú©Ù‡ مبدا Ùˆ مقصد را یکجا ÙØ±Ø§Ù…وش Ù…ÛŒ کنیم. وای بر ما Ú©Ù‡ نمی توانیم در برابر هر آنچه در مقابل انسانیت ما ایستاده "نه"بگوییم. درست است Ú©Ù‡ ما جوانان به تنهایی مقصر نیستیم اما چون شروع تقصیریم پس Ù…ÛŒ توانیم از ابتدا مانع مشکل هم باشیم. با احترام سیاوش
      + 
      +بسیار زیبا سیاوش جان. درود بر تو. شهیر +
    • +

    • +احسان __ خط سوم:
      4/3/2008 - 8:21:00 PM
      با سلام Ùˆ ادای احترام وکسب اجازه از شهیر عزیز . از عماد جان عزیزم بخاطر زحمتی Ú©Ù‡ کشیدند Ùˆ اطلاعات خوبی Ú©Ù‡ دادند ØŒ به سهم خودم تشکر Ù…ÛŒ کنم . با کمال شرمندگی از اینکه "بدون هماهنگی" Ùˆ " اجازه ای قبلی شما" Ùˆ "بسرعت" ØŒ معدود اشتباهات تایپی را Ú©Ù‡ با توجه به حجم مطلب ØŒ امری کاملا اجتناب ناپذیر است ØŒ سعی کردم Ú©Ù‡ اصلاح کنم ØŒ از شما پوزش Ù…ÛŒ خواهم . البته عماد جان عزیزم ØŒ بد نیست بدانید Ú©Ù‡ در میزان اشتباه در تایپ هرگز به پای بنده نخواهید رسید ! شاهد ادعای حقیر، شهیر Ùˆ حسین جان عزیزم هستند Ú©Ù‡ خبردارند Ú©Ù‡ چگونه بنده در یک Ùقره عملیات تایپ ØŒ دو ØµÙØ­Ù‡ ای کامل را جا انداختم !!! کاÙÛŒ است بپرسید ØŒ در نهایت صداقت ØŒ بر این رکورد بی نظیر Ùˆ تاریخی شهادت خواهند داد ! باز هم از زحمات عماد جان Ùˆ نیز سوالات خوب حسین جان تشکر Ù…ÛŒ کنم Ú©Ù‡ ان وعده ای مقاله ای عیدانه ای Ù…ÙØµÙ„ شهیر را در باره ای زنده یاد مرحوم مصدق ØŒ در وسع خود بجای اوردند . ضمن انکه هیچکدام از دوستان، این زحمت ارزشمند عماد جان را دلیل ان نخواهند دانست Ú©Ù‡ شهیرعزیز بعد از بازگشت از Ù…Ø³Ø§ÙØ±Øª ØŒ سر ÙØ±ØµØª وعده ای خود را عمل نکنند . مشتاقانه اما نه عجولانه ØŒ منتظر مقاله ای شهیر هم خواهیم ماند. با احترام : احسان
      + 
      +احسان جان، من Ùکر کردم قضیه شامل مرور زمان شده است. تا امروز Ú©Ù‡ نرسیده ام دست به این پروژه بزنم. اگر عشق به Ø­ÙØ¸ ارتباط با شما ها نبود تا روز 25 اپریل به خودم مرخصی Ù…ÛŒ دادم. در این Ø³ÙØ± خدا Ù…ÛŒ داند چند هزار مایل در 3 قاره را پیموده ام. از پوست Ú©Ù„ÙØª خودم در عجبم Ú©Ù‡ چطوری تونستم اخبار را دنبال کنم Ùˆ چند مقاله کوتاه بنویسم. Ú¯Ø±ÙØªØ§Ø±ÛŒ زیاد بود. شهیر +
    • +

    • +عماد Û²Û´ ساله از اصÙهان:
      4/3/2008 - 7:14:00 PM
      شهير جان اگر طولانی شد ببخشيد چاره ای نبود احسان جان از کمک شما نيز در ويرايش اين مطلب متشکرم اميدوارم حسين عزیز نيز راضی باشد
      + 
      +ممنون از زحمتی که کشیدی عماد جان. شهیر +
    • +

    • +حسین:
      4/3/2008 - 7:04:00 PM
      سلام آقا شهیر با اجازه شما خواستم از عماد عزیز وهمچنین سرور بزرگوار آقااحسان تشکر کنم وبه آقا عمادبگویم دستت درد نکنه بابت زحمتت ÙˆÙوق العاده عالی بود.قسمتی Ú©Ù‡ نوشتید" خود دکتر مصدق در تقریراتشان به اشتباه بودن تصمیمشان مبنی بر Ø§Ø³ØªØ¹ÙØ§Ø¡ اقرار Ù…ÛŒ کنند"واقعا جالب وحاکی از روح بلند دکتر مصدق هست .بااینکه سوالات خرد وریز زیاد هست اما از اینکه به سوالات عمده من با توجه به کتاب دکتر مصدق پاسخ دادید بازهم تشکر میکنم .میخواستم این پاسخ را برای نویسنده مقاله رجانیوز copy&paste
      +کنم Ú¯ÙØªÙ… شاید هرچند به احتمال ضعی٠برای سایت دوست داشتنی آقا شهیر مشکلی پیش +آید.خواستم با حذ٠نام آقا شهیر وشما از کامنت اینکار را بکنم احتمال دادم راضی +نباشید .بنابراین ÙØ¹Ù„ا علیرغم میل ÙØ±Ø§ÙˆØ§Ù† از اینکار صر٠نظر کردم .بهرحال بازهم +ممنون ومتشکر
    • +

    • +حاجی Ø¬ÙØ±Ø³ÙˆÙ†:
      4/3/2008 - 6:06:00 PM FOO!
      با درود از قدیم Ú¯ÙØªÙ‡ اند Ú©Ù‡ یک کلمه هم از مادر عروس بشنوید. بنابراین به Ø§ÙØ§Ø¶Ø§Øª اخیر کشور دوست Ùˆ برادر Ùˆ سوسیالیست چین عزیز Ùˆ جان جانان کمونیست عنایت Ø¨ÙØ±Ù…ایید: رادیو ÙØ±Ø¯Ø§: ديپلمات ها در وين Ú¯ÙØªÙ‡ اند: Ú©Ù‡ چين، از Ù…Ø®Ø§Ù„ÙØ§Ù† تشديد تحريم های ايران در شورای امينت، اطلاعات خود درباره ارتباط برنامه هسته ای تهران با تلاش برای دستيابی سلاح اتمی را در اختيار آژانس بين المللی انرژی اتمی قرار داده است. العجب!!!!!! انتخاب :با وجود اینکه چین به شدت با تحریمهای شورای امنیت سازمان ملل علیه ایران Ù…Ø®Ø§Ù„ÙØª Ù…ÛŒ کرد، اطلاعاتی در رابطه با ÙØ¹Ø§Ù„یتهای هسته ای ایران در اختیار مقامات آژانس بین المللی انرژی اتمی قرار داده Ú©Ù‡ بر اساس آن ایران در تلاش برای دست یابی به سلاح های اتمی است. به گزارش خبرنگار سرویس بین الملل خبرگزاری انتخاب به نقل از ÙØ§Ú©Ø³ نیوز؛جان بولتون ،نمایندۀ پیشین ایالات متحدۀ امریکا در سازمان ملل،در این باره Ú¯ÙØª: اقدام اینچنینی از سوی چین به دلیل روابط نظامی Ú©Ù‡ میان دو کشور [ایران Ùˆ چین] برقرار است، بسیار قابل توجه است. خبرنگار انتخاب Ù…ÛŒ Ø§ÙØ²Ø§ÛŒØ¯Ø› در حالی چین به این اقدام دست زده است Ú©Ù‡ همکاری های تجاری Ùˆ نظامی ایران با این کشور بطور بی سابقه ای Ø§ÙØ²Ø§ÛŒØ´ ÛŒØ§ÙØªÙ‡ است. یا باب الحوائج!!!!! رادیو زمانه: چین با وجود Ù…Ø®Ø§Ù„ÙØª با تحریم‌های شدید شورای امنیت علیه تهران، اطلاعاتی درباره تلاش‌های تهران برای ساخت تسلیحات هسته‌ای به آژانس بین‌المللی انرژی اتمی ارائه کرده است. آسوشیتدپرس با اعلام این خبر به نقل از چند دیپلمات آشنا با پرونده هسته‌ای ایران نوشت، Ù¾Ú©Ù† به همراه مسکو همواره بر سر راه شورای امنیت Ùˆ امریکا برای اعمال مجازات های سخت تر علیه تهران به دلیل مقاومت هسته ای این کشور به صورت یک مانع عمل کرده‌اند. این گزارش Ù…ÛŒ Ø§ÙØ²Ø§ÛŒØ¯ØŒ تصمیم چین برای ارائه اطلاعاتی جهت Ø§Ø³ØªÙØ§Ø¯Ù‡ در تحقیقات آژانس انرژی اتمی درباره برنامه تسلیحات هسته‌ای ایران، گویای Ø§ÙØ²Ø§ÛŒØ´ نارضایتی بین‌المللی درباره برنامه هسته‌ای جمهوری اسلامی است Ú©Ù‡ حتی تلاش برای ساخت چنین تسلیحاتی را نیز تکذیب می‌کند. بر اساس این گزارش، دو دیپلمات بلندپایه Ú©Ù‡ ارتباط نزدیکی با آژانس بین‌المللی انرژی اتمی دارند این اقدام چین را برملا کرده‌اند. آژانس بین‌المللی انرژی اتمی از اظهار نظر در این باره خودداری کرده است. العجب. من مامور Ùˆ معذور..حالا از پدر عروس چند کلمه بشنوید: سخنگوی آژانس بین المللی انرژی اتمی ادعای برخی از رسانه های غربی را درباره این Ú©Ù‡ چین اطلاعاتی را درباره برنامه هسته ای ایران در اختیار آژانس قرار داده است ØŒ تکذیب کرد . ملیسا Ùلمینگ در Ú¯ÙØª Ùˆ Ú¯Ùˆ با خبرنگار واحد مرکزی خبر تاکید کرد : آژانس بین المللی انرژی اتمی هرگز درباره اطلاعات محرمانه Ø¯Ø±ÛŒØ§ÙØªÛŒ از کشورها اظهار نظر نمی کند . ÙˆÛŒ Ú¯ÙØª: هم +
    • +
    +
    +
    +
    +
    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/utf8bug.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/utf8bug.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..3140b82a8e773495c1fcb1091833c2d04beb1f38 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/utf8bug.html.sax @@ -0,0 +1,726 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.characters( + +, 2) +SAX.startElement(head) +SAX.characters( +, 1) +SAX.startElement(meta, http-equiv='Content-Language', content='en-us') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(meta, http-equiv='Content-Type', content='text/html; charset=utf-8') +SAX.endElement(meta) +SAX.characters( +, 1) +SAX.startElement(link, href='CSS.css', type='text/css', rel='stylesheet') +SAX.endElement(link) +SAX.characters( +, 1) +SAX.startElement(link, rel='SHORTCUT ICON', href='favicon.ico') +SAX.endElement(link) +SAX.characters( +, 1) +SAX.startElement(title) +SAX.characters(شهير , 17) +SAX.endElement(title) +SAX.characters( +, 1) +SAX.endElement(head) +SAX.characters( + +, 2) +SAX.startElement(body) +SAX.characters( + +, 2) +SAX.startElement(table, border='0', width='100%', id='MainTBL', cellspacing='0', cellpadding='0') +SAX.characters( + , 2) +SAX.startElement(tr) +SAX.characters( + , 3) +SAX.startElement(td, class='Header1') +SAX.characters( + , 3) +SAX.startElement(table, border='0', width='100%', cellspacing='0', cellpadding='0', height='100%') +SAX.characters( + , 4) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td) +SAX.characters( + , 5) +SAX.startElement(img, border='0', src='Shell/Shahir.ShahidSales1.png', width='442', height='110') +SAX.endElement(img) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.startElement(td) +SAX.characters( , 2) +SAX.endElement(td) +SAX.characters( + , 4) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.endElement(table) +SAX.characters( + , 3) +SAX.endElement(td) +SAX.characters( + , 2) +SAX.endElement(tr) +SAX.characters( + , 2) +SAX.startElement(tr) +SAX.characters( + , 3) +SAX.startElement(td, height='28') +SAX.characters( + , 4) +SAX.startElement(div, id='SideBar1') +SAX.characters( + , 5) +SAX.startElement(table, width='100%') +SAX.characters( + , 5) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td) +SAX.characters( + , 6) +SAX.startElement(span, class='Item') +SAX.characters( +, 1) +SAX.startElement(a, href='Index.asp') +SAX.characters( +خانه , 10) +SAX.endElement(a) +SAX.endElement(span) +SAX.characters( , 1) +SAX.startElement(span, class='Item') +SAX.characters( +, 1) +SAX.startElement(a, href='Contact.asp') +SAX.characters( +تماس , 20) +SAX.endElement(a) +SAX.endElement(span) +SAX.characters( , 1) +SAX.startElement(span, class='Item') +SAX.characters( +, 1) +SAX.startElement(a, href='Archive.asp') +SAX.characters( +آرشي, 12) +SAX.endElement(a) +SAX.endElement(span) +SAX.characters( , 1) +SAX.startElement(span, class='Item') +SAX.characters( +, 1) +SAX.startElement(a, href='Search.asp') +SAX.characters( +جستج, 26) +SAX.endElement(a) +SAX.endElement(span) +SAX.characters( , 1) +SAX.startElement(span, class='Item') +SAX.characters( +, 1) +SAX.startElement(a, href='http://shahirblog.com/detail.asp?id=30') +SAX.characters( +دربا, 19) +SAX.endElement(a) +SAX.endElement(span) +SAX.characters( , 1) +SAX.startElement(span, class='Item') +SAX.characters( +, 1) +SAX.startElement(a, href='RSS2.asp') +SAX.characters( + +, 2) +SAX.startElement(img, src='showimage.aspx?path=Files_Upload\192.png&width=%>', border='0') +SAX.endElement(img) +SAX.characters( +RSS , 5) +SAX.endElement(a) +SAX.endElement(span) +SAX.characters( , 1) +SAX.startElement(span, class='Item') +SAX.characters( +, 1) +SAX.startElement(a, href='') +SAX.characters( + , 2) +SAX.endElement(a) +SAX.endElement(span) +SAX.characters( + , 5) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.startElement(td, align='left') +SAX.characters( + , 5) +SAX.startElement(div, id='DateTime') +SAX.characters( + , 5) +SAX.startElement(p, align='left') +SAX.characters( + , 5) +SAX.characters(ي, 2) +SAX.characters(ک, 2) +SAX.characters(ش, 2) +SAX.characters(ن, 2) +SAX.characters(ب, 2) +SAX.characters(ه, 2) +SAX.characters(،, 2) +SAX.characters( , 2) +SAX.characters(15, 2) +SAX.characters( , 2) +SAX.characters(ا, 2) +SAX.characters(ر, 2) +SAX.characters(د, 2) +SAX.characters(ي, 2) +SAX.characters(ب, 2) +SAX.characters(ه, 2) +SAX.characters(ش, 2) +SAX.characters(ت, 2) +SAX.characters( , 2) +SAX.characters(1387, 4) +SAX.characters( , 2) +SAX.characters( + -, 7) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( + , 6) +SAX.startElement(span, dir='ltr') +SAX.characters(Sunday, May 04, 2008, 20) +SAX.endElement(span) +SAX.characters( + , 5) +SAX.endElement(p) +SAX.endElement(div) +SAX.characters( + , 5) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.endElement(tr) +SAX.characters( + , 5) +SAX.endElement(table) +SAX.characters( + , 4) +SAX.endElement(div) +SAX.characters( + , 3) +SAX.endElement(td) +SAX.characters( + , 2) +SAX.endElement(tr) +SAX.characters( + , 2) +SAX.startElement(tr) +SAX.characters( + , 3) +SAX.startElement(td, valign='top') +SAX.characters( + , 3) +SAX.startElement(table, border='0', width='100%', cellspacing='0', cellpadding='0', id='Content') +SAX.characters( + , 4) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, class='Right', valign='top', style='padding-right: 60px') +SAX.characters( + , 6) +SAX.startElement(table, width='100%') +SAX.characters( + , 7) +SAX.startElement(tr) +SAX.characters( + , 8) +SAX.startElement(td, valign='top') +SAX.characters( + +, 10) +SAX.startElement(script) +SAX.cdata( +var tgs = new Array( 'div','t, 539) +SAX.endElement(script) +SAX.characters( + +, 2) +SAX.startElement(table, width='100%', id='NewsDetail') +SAX.characters( + , 2) +SAX.startElement(tr) +SAX.characters( + , 3) +SAX.startElement(td, valign='top') +SAX.characters( + , 3) +SAX.startElement(div, class='News_Info') +SAX.characters( + , 4) +SAX.characters(ت, 2) +SAX.characters(ا, 2) +SAX.characters(ر, 2) +SAX.characters(ي, 2) +SAX.characters(خ, 2) +SAX.characters( , 1) +SAX.characters(د, 2) +SAX.characters(ر, 2) +SAX.characters(ج, 2) +SAX.characters(: , 2) +SAX.startElement(font, color='#000000') +SAX.characters(چ, 2) +SAX.characters(ه, 2) +SAX.characters(ا, 2) +SAX.characters(ر, 2) +SAX.characters(ش, 2) +SAX.characters(ن, 2) +SAX.characters(ب, 2) +SAX.characters(ه, 2) +SAX.characters(،, 2) +SAX.characters( , 2) +SAX.characters(29, 2) +SAX.characters( , 2) +SAX.characters(ا, 2) +SAX.characters(س, 2) +SAX.characters(ف, 2) +SAX.characters(ن, 2) +SAX.characters(د, 2) +SAX.characters( , 2) +SAX.characters(1386 + - Wednesday, March 19, 36) +SAX.endElement(font) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( + , 5) +SAX.characters(ن, 2) +SAX.characters(و, 2) +SAX.characters(ي, 2) +SAX.characters(س, 2) +SAX.characters(ن, 2) +SAX.characters(د, 2) +SAX.characters(ه, 2) +SAX.characters(: , 2) +SAX.startElement(font, color='#000000') +SAX.endElement(font) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( + , 5) +SAX.characters(د, 2) +SAX.characters(ف, 2) +SAX.characters(ع, 2) +SAX.characters(ا, 2) +SAX.characters(ت, 2) +SAX.characters( , 1) +SAX.characters(م, 2) +SAX.characters(ش, 2) +SAX.characters(ا, 2) +SAX.characters(ه, 2) +SAX.characters(د, 2) +SAX.characters(ه, 2) +SAX.characters(: , 2) +SAX.startElement(font, color='#000000') +SAX.characters(2688, 4) +SAX.endElement(font) +SAX.characters( + , 5) +SAX.characters(ب, 2) +SAX.characters(ا, 2) +SAX.characters(ر, 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 1) +SAX.characters(ك, 2) +SAX.characters(د, 2) +SAX.characters(: , 2) +SAX.startElement(font, color='#000000') +SAX.characters(341, 3) +SAX.endElement(font) +SAX.characters( + , 3) +SAX.endElement(div) +SAX.characters( + , 3) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 3) +SAX.comment( +
    اندازه فونت:  + کوچک  + معمولی  + بزرگ  +
    ) +SAX.characters( + + + , 7) +SAX.startElement(div, class='Titr1') +SAX.characters( + , 5) +SAX.endElement(div) +SAX.characters( + , 3) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 3) +SAX.startElement(div, id='NewsBody') +SAX.characters( + + , 8) +SAX.startElement(div, class='Image') +SAX.characters( + + , 10) +SAX.startElement(a, href='showimage.aspx?path=Files_Upload\302.JPG&Width=', rel='lightbox', title='شهير بلاگ') +SAX.characters( + , 5) +SAX.startElement(img, src='showimage.aspx?path=Files_Upload\302.JPG&Width=220', align='left', border='1') +SAX.endElement(img) +SAX.characters( + , 5) +SAX.endElement(a) +SAX.endElement(div) +SAX.characters( + , 4) +SAX.startElement(strong) +SAX.startElement(font, size='4') +SAX.startElement(font, color='#0000ff') +SAX.characters(عکس, 6) +SAX.endElement(font) +SAX.characters( , 1) +SAX.startElement(font, color='#0000ff') +SAX.characters(محصو, 81) +SAX.endElement(font) +SAX.endElement(font) +SAX.endElement(strong) +SAX.startElement(s1) +SAX.characters( , 2) +SAX.endElement(s1) +SAX.endElement(div) +SAX.characters( + , 3) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 3) +SAX.startElement(div, align='left') +SAX.characters( + , 4) +SAX.startElement(a, href='printfriendly.asp?id=341') +SAX.characters( + , 4) +SAX.startElement(img, src='shell/PrintFriendly.png', border='0') +SAX.endElement(img) +SAX.endElement(a) +SAX.characters( + , 4) +SAX.startElement(a, href='#', onclick='window.open('SendNews.asp?PageID=341','myWin','toolbar=no,directories=no,location=no,status=no,menubar=no,resizable=yes,scrollbars=no,width=500, height=200'); return false') +SAX.characters( + , 4) +SAX.startElement(img, border='0', src='Shell/SendToFriends.jpg', width='140', height='30') +SAX.endElement(img) +SAX.characters( + , 4) +SAX.endElement(a) +SAX.characters( + , 3) +SAX.endElement(div) +SAX.characters( + , 3) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 3) +SAX.endElement(td) +SAX.characters( + , 2) +SAX.endElement(tr) +SAX.characters( + , 2) +SAX.startElement(tr) +SAX.characters( + , 3) +SAX.startElement(td) +SAX.characters( , 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 3) +SAX.startElement(hr) +SAX.endElement(hr) +SAX.startElement(div, id='Comments') +SAX.startElement(ul) +SAX.startElement(b) +SAX.characters(ن, 2) +SAX.characters(ظ, 2) +SAX.characters(ر, 2) +SAX.characters(ا, 2) +SAX.characters(ت, 2) +SAX.characters( + , 3) +SAX.characters(ک, 2) +SAX.characters(ا, 2) +SAX.characters(ر, 2) +SAX.characters(ب, 2) +SAX.characters(ر, 2) +SAX.characters(ا, 2) +SAX.characters(ن, 2) +SAX.characters(:, 1) +SAX.endElement(b) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(li) +SAX.startElement(font, color='blue') +SAX.characters(حاجی , 22) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1') +SAX.characters(4/5/2008 - + 7:08:00 PM, 23) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(با در, 28) +SAX.characters( , 2) +SAX.characters(بدون , 476) +SAX.characters(‌, 3) +SAX.characters(رسد آ, 203) +SAX.characters(‌, 3) +SAX.characters(كنيم. , 222) +SAX.characters(‌, 3) +SAX.characters(هاي گ, 403) +SAX.characters(‌, 3) +SAX.characters(ها + ج, 56) +SAX.characters(‌, 3) +SAX.characters(گسست, 230) +SAX.characters(‌, 3) +SAX.characters(ها و ن, 240) +SAX.characters(‌, 3) +SAX.characters(كردي, 38) +SAX.characters(‌, 3) +SAX.characters(رسد ك, 209) +SAX.characters(‌, 3) +SAX.characters(كنيم. , 241) +SAX.characters(‌, 3) +SAX.characters(اند و , 221) +SAX.characters(‌, 3) +SAX.characters(هاي خ, 848) +SAX.endElement(li) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(li) +SAX.startElement(font, color='blue') +SAX.characters(سیاو, 11) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1') +SAX.characters(4/3/2008 - 9:28:00 PM, 21) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(مرد ه, 693) +SAX.characters(", 1) +SAX.characters(جو گی, 11) +SAX.characters(", 1) +SAX.characters( که هر, 1460) +SAX.characters(", 1) +SAX.characters(نه, 4) +SAX.characters(", 1) +SAX.characters(بگوی, 233) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.characters( , 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(font, color='#800000') +SAX.characters(بسیا, 67) +SAX.endElement(font) +SAX.endElement(li) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(li) +SAX.startElement(font, color='blue') +SAX.characters(احسا, 26) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1') +SAX.characters(4/3/2008 - 8:21:00 PM, 21) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(با سل, 291) +SAX.characters(", 1) +SAX.characters(بدون , 23) +SAX.characters(", 1) +SAX.characters( و , 4) +SAX.characters(", 1) +SAX.characters( اجاز, 32) +SAX.characters(", 1) +SAX.characters( و , 4) +SAX.characters(", 1) +SAX.characters(بسرع, 10) +SAX.characters(", 1) +SAX.characters( ، معد, 1482) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.characters( , 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(font, color='#800000') +SAX.characters(احسا, 602) +SAX.endElement(font) +SAX.endElement(li) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(li) +SAX.startElement(font, color='blue') +SAX.characters(عماد , 41) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1') +SAX.characters(4/3/2008 - 7:14:00 PM, 21) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(شهير , 227) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.characters( , 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(font, color='#800000') +SAX.characters(ممنو, 68) +SAX.endElement(font) +SAX.endElement(li) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(li) +SAX.startElement(font, color='blue') +SAX.characters(حسین:, 9) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1') +SAX.characters(4/3/2008 - 7:04:00 PM, 21) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(سلام , 841) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +کنم گ, 440) +SAX.endElement(li) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(li) +SAX.startElement(font, color='blue') +SAX.characters(حاجی , 22) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1') +SAX.characters(4/3/2008 - 6:06:00 PM FOO!, 26) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(با در, 1999) +SAX.characters(‌, 3) +SAX.characters(های ش, 98) +SAX.characters(‌, 3) +SAX.characters(های ت, 59) +SAX.characters(‌, 3) +SAX.characters(ای به , 27) +SAX.characters(‌, 3) +SAX.characters(المل, 186) +SAX.characters(‌, 3) +SAX.characters(ای ای, 299) +SAX.characters(‌, 3) +SAX.characters(اند. ا, 223) +SAX.characters(‌, 3) +SAX.characters(ای ای, 65) +SAX.characters(‌, 3) +SAX.characters(المل, 47) +SAX.characters(‌, 3) +SAX.characters(ای جم, 130) +SAX.characters(‌, 3) +SAX.characters(کند. ب, 132) +SAX.characters(‌, 3) +SAX.characters(المل, 93) +SAX.characters(‌, 3) +SAX.characters(اند. آ, 25) +SAX.characters(‌, 3) +SAX.characters(المل, 814) +SAX.endElement(li) +SAX.endElement(ul) +SAX.endElement(div) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(table) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(table) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(table) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(table) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html new file mode 100644 index 0000000000000000000000000000000000000000..7441fc81b58da10fc8e243cad06db3e771b625c6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html @@ -0,0 +1,576 @@ + + +Top Stories News from Wired News + + + + + + + +
    + + + + + + + +
    + +
    True to the Original
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +

       updated 10:15 a.m.  15.Oct.99.PDT
    + + + + + + + + + + +
    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    SECTIONS
    Business
    Culture
    Technology
    Politics
    +WIRE SERVICE NEWS
    Top Headlines
    Sports
    Finance
    + FREE DELIVERY
    + + + + + +
    +
    + + + + + + + + + +  +
    +
    + + +
    +
    + STOCKS
    Get Quote:
    +  +
    +Financial Services
    +
    +
    +
    + + + Datek + Wired Index Fund + internet.com Index Fund + GetSmart's MortgageFinder +
    Today's Summary
    Wired Index | All Indexes
    Portfolios
    FIND A BOOK
    + + + + + + + + + + +
    +
    + + + + +
    +
    + + + +
    +

    + Powered by barnesandnoble.com + +
    + + +

    +
    + +
    WIRED + MAGAZINE
    + + +
    + +Wired Magazine
    + +Issue 7.11 +
    +
    + + +Subscribe to Wired.
    Special offer!
    + + +
    +
    + HOTWIRED +
    +Frontdoor
    +Webmonkey
    +Webmonkey Guides
    +RGB Gallery
    +Animation Express
    +Suck.com
    +
    +
    + HOTBOT +
    +Search
    +Shopping
    +
    +
    +
    + + + Wired News staff

    + + + + Contact us
    + + +

    + + Wired News delivered
    by PalmPilot,
    Outlook Express,
    In-Box Direct,
    +or PointCast

    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + + +Nomad's Land

    Homeless, but ID'd, in Seattle
    8:15 a.m. The city council approves a plan to track the homeless by a numbering system, saying it'll improve services. The implications worry privacy advocates, naturally. By Craig Bicknell.
    in Politics
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     HITS & MISC.
      +
    + + Calendar of E-Vents
    Ongoing goings-on.

    Rants & Raves
    Readers on Apple's G4 ... AOL's passwords ... MS vs. Linux.

    +
     CURRENT HOO-HA
      + +
    + +MP3 Rocks the Web
    Download the sound.
    Sponsored by Musicmaker


    + +The Wireless World
    Networking gets unplugged.
    Sponsored by Ericsson


    + +Digital Hollywood
    The buzz of tech.

    + +IPO Outlook
    Deals in the pipeline.
    Sponsored by Sun


    + +E-Biz
    Business unusual.
    Sponsored by IBM


    + +Med-Tech Center
    From the bleeding edge.
    Sponsored by WebMD


    + +The Linux Effect
    Not just for geeks.


    + +Executive Summary
    CEOs, COOs, CIOs unite.
    Sponsored by Vignette


    + +Making the Grade
    Reading, writing, and ROM.
    Sponsored by U of Phoenix


    + +Infostructure
    An IS/IT resource
    Sponsored by Sprint

    + +Y2K Watch
    Tick... Tick... Tick...

    + +More Hoo-Ha
     
    + +
    +
     MEANWHILE...
      +
    + + + +Führer Furor

    +Contruction workers in Berlin opened an old wound in the German psyche this week when they accidentally stumbled across Adolf Hitler's bunker while excavating near the Brandenburg Gate. The bunker, just south of the Gate, was where Hitler and his closest associates barricaded themselves as the Red Army approached Berlin in the waning days of World War II. It is also where the Führer and his bride, Eva Braun, committed suicide rather than fall into the hands of the Russians. Although the bunker's location has never been a mystery, it has been sealed off since the end of the war to keep neo-Nazis from turning it into a shrine. +

    +
  • More from Lycos +


  • +
    + + + 
    + +
    + +Other Top Stories
    +
    + + +Wall Street Keeps Reeling
    10:15 a.m. The Dow and Nasdaq suffer sizeable losses during the first half of Friday trading. Why? Wholesale prices are the highest this decade, and Greenspan is concerned about stock prices.
    in Reuters

    The Market's Madness
    9:10 a.m. The bulls and the bears are in the midst of a Battle Royale, and all this turbulence is not a healthy thing. So say the experts.
    in Reuters

    'Want a Loan? What's Your Race?'
    3:00 a.m. The Federal Reserve is in the middle of changing banking regulations to let banks collect data on the race, sex, religion, and national origin of their customers. By Declan McCullagh.
    in Politics

    Music Regs: A Bagful of Noise
    3:00 a.m. The struggle to come up with a digital music standard that would minimize download piracy is pushing right up against the holiday gift-giving season. By Jennifer Sullivan.
    in Business

    Can't Beat 'Em? Green 'Em
    3:00 a.m. High-tech companies are notoriously environmentally unfriendly, and a growing number of "Greenies" are trying to change things from the inside ... with varying results. By Chris Gaither.
    in Technology

    Y2K Cloud Over MS Office
    3:00 a.m. Windows NT sales remain strong, but corporate clients are wary of upgrading to MS Office 2000. Analysts say that means strong, but not stunning, Microsoft earnings.
    in Business

    Med-Tech
    Biochips for Custom Chemo
    3:00 a.m. Different cancer patients need different medicine, but doctors can rarely determine the best match. New biochip technology promises chemotherapy tailored to a tumor's genetic make-up. By Kristen Philipkoski.
    in Technology

    High Stakes in Priceline Suit
    3:00 a.m. It's not just another round of Redmond-bashing. A Priceline.com lawsuit against Microsoft's Expedia.com may have a big impact on how Net companies protect their business models. By Joanna Glasner.
    in Business

    Biodiversity Merges Online
    3:00 a.m. The far-flung databases on global biodiversity get together to form one monster database. Soon the red-eyed tree frog will be eyeing those Swedish lingonberries. From the Environment News Service.
    in Technology

    + + + + +
    +Elsewhere Today
    +
    + + +FCC: Hands-Off on Broadband
    The Industry Standard

    White House Lashes Out on Treaty
    Lycos

    Steve Jobs at 44
    Time

    Computers May Run on Gas
    ZDNN

    Much Is Free in the Wired World
    The New York Times (Registration Required)

    Melissa: I'm Baaaack
    USA Today

    Domain Owners Surrender Privacy
    MSNBC

    Dividing to Conquer in VC Game
    The Washington Post

    The Red Hat Diaries
    Salon

    Screensaver to Predict Climate
    BBC News

    + + + + + +
    + +
    + + + +
    +
    + +

    + +

    +Send us feedback + |  +Work at Wired Digital + |  +Advertise with us +
    +About Wired Digital + |  +Our Privacy Policy
    + + +

    +

    Copyright © 1994-99 Wired Digital Inc. All rights reserved. + +
    + + + + + + + + + + +

    +
    + + +
    + + +
    + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html.err b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html.err new file mode 100644 index 0000000000000000000000000000000000000000..156b663792b41ab53cf413252d77625939b54baf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html.err @@ -0,0 +1,54 @@ +./test/HTML/wired.html:170: HTML parser error : Unexpected end tag : form + + ^ +./test/HTML/wired.html:265: HTML parser error : Unexpected end tag : form + + ^ +./test/HTML/wired.html:346: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:374: HTML parser error : Opening and ending tag mismatch: td and font +Readers on Apple's G4 ... AOL's passwords ... MS vs. Linux.



    Vignette + ^ +./test/HTML/wired.html:408: HTML parser error : Opening and ending tag mismatch: a and font +com&BANNER=Sprint" style="text-decoration:none">Sprint + ^ +./test/HTML/wired.html:408: HTML parser error : Unexpected end tag : font< +" style="text-decoration:none">Sprint + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ +./test/HTML/wired.html:414: HTML parser error : Opening and ending tag mismatch: td and font + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..ba27111f434ae582cc6cd8889fee1fe7831c3b9b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/wired.html.sax @@ -0,0 +1,2785 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.comment( Vignette StoryServer 4 Fri Oct 15 11:37:12 1999 ) +SAX.startElement(html) +SAX.startElement(head) +SAX.startElement(title) +SAX.characters(Top Stories News from Wired Ne, 32) +SAX.endElement(title) +SAX.endElement(head) +SAX.startElement(body, bgcolor='#FFFFFF', text='#000000', link='#333399', vlink='#660066', alink='#666699') +SAX.characters( + +, 2) +SAX.startElement(table, border='0', width='600', cellspacing='0', cellpadding='0') +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, valign='top', align='LEFT') +SAX.startElement(table, border='0', cellpadding='0', cellspacing='0', width='468', height='60', bgcolor='#FFFFFF') +SAX.startElement(form, method='GET', action='http://nsads.hotwired.com/event.ng/Type=click&ProfileID=9688&RunID=14074&AdID=22584&GroupID=1&FamilyID=2684&TagValues=8.25.156.159.166.171.172.174.179.180.181.182.183.196.197.199.208.389.412.436.2041.6750.78456.79630.81880&Redirect=http://www.springstreet.com/aa/citysearch.htm', id='form1', name='form1') +SAX.characters( +, 1) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#330099') +SAX.startElement(input, name='city', type='text', size='7', maxlength='20', value='Seattle') +SAX.endElement(input) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.startElement(td, rowspan='2', align='LEFT', bgcolor='FFFFFF') +SAX.startElement(input, type='IMAGE', src='http://static.wired.com/advertising/blipverts/allapartments/990625jpa_ssthome.gif', width='375', height='60', border='0', value='search', hspace='0', alt='Search over 6,000,000 Apts with SpringStreet') +SAX.endElement(input) +SAX.endElement(td) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#330099') +SAX.characters( +, 1) +SAX.startElement(select, name='state') +SAX.characters( +, 1) +SAX.startElement(option, value='WA', selected) +SAX.characters(WA, 2) +SAX.characters( +, 1) +SAX.endElement(option) +SAX.startElement(option, value='AL') +SAX.characters(AL, 2) +SAX.endElement(option) +SAX.startElement(option, value='AK') +SAX.characters(AK, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='AZ') +SAX.characters(AZ, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='AR') +SAX.characters(AR, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='CA') +SAX.characters(CA, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='CO') +SAX.characters(CO, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='CT') +SAX.characters(CT, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='DE') +SAX.characters(DE, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='DC') +SAX.characters(DC, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='FL') +SAX.characters(FL, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='GA') +SAX.characters(GA, 2) +SAX.endElement(option) +SAX.startElement(option, value='HI') +SAX.characters(HI, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='ID') +SAX.characters(ID, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='IL') +SAX.characters(IL, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='IN') +SAX.characters(IN, 2) +SAX.endElement(option) +SAX.startElement(option, value='IA') +SAX.characters(IA, 2) +SAX.endElement(option) +SAX.startElement(option, value='KS') +SAX.characters(KS, 2) +SAX.endElement(option) +SAX.startElement(option, value='KY') +SAX.characters(KY, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='LA') +SAX.characters(LA, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='ME') +SAX.characters(ME, 2) +SAX.endElement(option) +SAX.startElement(option, value='MD') +SAX.characters(MD, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='MA') +SAX.characters(MA, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='MI') +SAX.characters(MI, 2) +SAX.endElement(option) +SAX.startElement(option, value='MN') +SAX.characters(MN, 2) +SAX.endElement(option) +SAX.startElement(option, value='MS') +SAX.characters(MS, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='MO') +SAX.characters(MO, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='MT') +SAX.characters(MT, 2) +SAX.endElement(option) +SAX.startElement(option, value='NE') +SAX.characters(NE, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='NV') +SAX.characters(NV, 2) +SAX.endElement(option) +SAX.startElement(option, value='NH') +SAX.characters(NH, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='NJ') +SAX.characters(NJ, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='NM') +SAX.characters(NM, 2) +SAX.endElement(option) +SAX.startElement(option, value='NY') +SAX.characters(NY, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='NC') +SAX.characters(NC, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='ND') +SAX.characters(ND, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='OH') +SAX.characters(OH, 2) +SAX.endElement(option) +SAX.startElement(option, value='OK') +SAX.characters(OK, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='OR') +SAX.characters(OR, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='PA') +SAX.characters(PA, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='PR') +SAX.characters(PR, 2) +SAX.endElement(option) +SAX.startElement(option, value='RI') +SAX.characters(RI, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='SC') +SAX.characters(SC, 2) +SAX.endElement(option) +SAX.characters( , 1) +SAX.characters( +, 1) +SAX.startElement(option, value='SD') +SAX.characters(SD, 2) +SAX.endElement(option) +SAX.startElement(option, value='TN') +SAX.characters(TN, 2) +SAX.endElement(option) +SAX.startElement(option, value='TX') +SAX.characters(TX, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='UT') +SAX.characters(UT, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='VT') +SAX.characters(VT, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='VA') +SAX.characters(VA, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='WA') +SAX.characters(WA, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='WV') +SAX.characters(WV, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='WI') +SAX.characters(WI, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.startElement(option, value='WY') +SAX.characters(WY, 2) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.endElement(select) +SAX.startElement(input, type='hidden', name='source', value='2hb8bhc059') +SAX.endElement(input) +SAX.characters( +, 1) +SAX.endElement(td) +SAX.endElement(tr) +SAX.endElement(form) +SAX.characters( +, 1) +SAX.endElement(table) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.startElement(td, valign='top', align='RIGHT') +SAX.startElement(a, href='http://nsads.hotwired.com/event.ng/Type=click&ProfileID=5597&RunID=17167&AdID=22588&GroupID=1&FamilyID=3228&TagValues=8.25.159.171.172.174.179.180.181.182.183.196.197.199.208.241.389.412.436.2035.6749.6750.70367.78456.79630.81880&Redirect=http:%2F%2Fwww.hp.com%2Fgo%2Foriginal%20', target='_top') +SAX.startElement(img, src='http://static.wired.com/advertising/blipverts/hp_colorinkjet/hp_970c_120x60_6.gif', border='1', height='60', width='120', alt='True to the Original') +SAX.endElement(img) +SAX.endElement(a) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.endElement(table) +SAX.characters( + +, 2) +SAX.comment( WIRED NEWS header ) +SAX.characters( +, 1) +SAX.comment( CMD_HOST = scoop.hotwired.com ) +SAX.characters( + +, 2) +SAX.startElement(a, name='#') +SAX.endElement(a) +SAX.characters( +, 1) +SAX.startElement(table, border='0', width='600', cellspacing='0', cellpadding='0') +SAX.characters( + + , 4) +SAX.startElement(tr) +SAX.startElement(td) +SAX.endElement(td) +SAX.startElement(td, colspan='2') +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='5', width='447', alt='') +SAX.endElement(img) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( + + , 4) +SAX.startElement(tr) +SAX.characters( + , 8) +SAX.startElement(td, valign='BOTTOM', align='RIGHT', class='wired', bgcolor='#FFFFFF') +SAX.startElement(a, href='/news/0,1287,,00.html') +SAX.startElement(img, src='http://static.wired.com/news/images/wired_000000.gif', width='153', height='30', border='0') +SAX.endElement(img) +SAX.endElement(a) +SAX.endElement(td) +SAX.characters( + , 7) +SAX.startElement(td, bgcolor='#FF0000', valign='BOTTOM', align='LEFT', width='97') +SAX.startElement(a, href='/news/0,1287,,00.html') +SAX.startElement(img, src='http://static.wired.com/news/images/news_ffffff.gif', width='103', height='30', border='0') +SAX.endElement(img) +SAX.endElement(a) +SAX.endElement(td) +SAX.characters( + + +, 3) +SAX.startElement(td, bgcolor='#FF0000', align='left', valign='center') +SAX.startElement(nobr) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', width='344', height='1') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1', face='Verdana, Arial, Geneva, sans-serif', color='#FFFFFF') +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.startElement(b) +SAX.characters(updated 10:15 a.m., 18) +SAX.characters( , 2) +SAX.characters( , 2) +SAX.characters(15.Oct.99.PDT, 13) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(nobr) +SAX.endElement(td) +SAX.characters( + + + , 11) +SAX.endElement(tr) +SAX.characters( + , 5) +SAX.startElement(tr) +SAX.characters( + , 8) +SAX.startElement(td, valign='MIDDLE', align='RIGHT', bgcolor='#FFFFFF') +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', width='1', height='30') +SAX.endElement(img) +SAX.endElement(td) +SAX.characters( + + , 14) +SAX.startElement(td, colspan='2', bgcolor='#999999') +SAX.characters( + + , 9) +SAX.startElement(table, border='0', cellspacing='0', cellpadding='5') +SAX.characters( +, 1) +SAX.startElement(form, name='RedirectSearch', action='http://redirect.wired.com/search') +SAX.characters( + , 17) +SAX.startElement(tr) +SAX.characters( + , 15) +SAX.startElement(td) +SAX.characters( +, 2) +SAX.startElement(font, face='courier', size='1') +SAX.startElement(input, type='TEXT', name='query', size='20', value='') +SAX.endElement(input) +SAX.endElement(font) +SAX.characters( + , 13) +SAX.endElement(td) +SAX.characters( + + , 14) +SAX.startElement(td) +SAX.characters( +, 1) +SAX.startElement(select, name='url') +SAX.characters( + + , 4) +SAX.startElement(option, value='http://search.hotwired.com/search97/s97.vts?Action=FilterSearch&Filter=docs_filter.hts&ResultTemplate=vignette.hts&Collection=vignette&QueryMode=Internet&Query=', selected) +SAX.characters(Wired News, 10) +SAX.endElement(option) +SAX.characters( + , 3) +SAX.startElement(option, value='http://search.hotwired.com/search97/s97.vts?Action=FilterSearch&Filter=docs_filter.hts&ResultTemplate=webmonkey.hts&Collection=webmonkey&QueryMode=Internet&Query=') +SAX.characters(Webmonkey, 9) +SAX.endElement(option) +SAX.characters( + , 2) +SAX.startElement(option, value='http://search.hotwired.com/search97/s97.vts?collection=webmonkey_guides&Action=FilterSearch&filter=docs_filter.hts&ResultTemplate=webmonkey_guides.hts&QueryMode=Internet&Query=') +SAX.characters(Webmonkey Guides, 16) +SAX.endElement(option) +SAX.characters( + , 2) +SAX.startElement(option, value='http://search.hotwired.com/search97/s97.vts?collection=hotwired&Action=FilterSearch&filter=docs_filter.hts&ResultTemplate=hotwired_archive.hts&QueryMode=Internet&Query=') +SAX.characters(HotWired Archives, 17) +SAX.endElement(option) +SAX.characters( + , 3) +SAX.startElement(option, value='http://search.hotwired.com/search97/s97.vts?Action=FilterSearch&Filter=docs_filter.hts&ResultTemplate=magazine.hts&Collection=magazine&QueryMode=Internet&Query=') +SAX.characters(Wired Magazine, 14) +SAX.endElement(option) +SAX.characters( + , 3) +SAX.startElement(option, value='http://search.hotwired.com/search97/s97.vts?Action=FilterSearch&Filter=docs_filter.hts&ResultTemplate=animation.hts&Collection=animation&QueryMode=Internet&Query=') +SAX.characters(Animation Express, 17) +SAX.endElement(option) +SAX.characters( + , 3) +SAX.startElement(option, value='http://search.hotwired.com/search97/s97.vts?collection=suck&Action=FilterSearch&filter=docs_filter.hts&ResultTemplate=suck.hts&QueryMode=Internet&Query=') +SAX.characters(Suck.com, 8) +SAX.endElement(option) +SAX.characters( + , 2) +SAX.startElement(option, value='http://search.hotwired.com/search97/s97.vts?collection=uber_hotwired&Action=FilterSearch&filter=docs_filter.hts&ResultTemplate=uber_hotwired.hts&QueryMode=Internet&Query=') +SAX.characters(All of HotWired, 15) +SAX.endElement(option) +SAX.characters( + , 2) +SAX.startElement(option, value='http://www.hotbot.com/?SM=MC&DV=0&LG=any&RD=RG&DC=10&DE=2&_v=2&OPs=MDRTP&MT=') +SAX.characters(The Web -> HotBot, 17) +SAX.endElement(option) +SAX.characters( +, 1) +SAX.endElement(select) +SAX.characters( + + + + , 16) +SAX.endElement(td) +SAX.characters( + , 13) +SAX.startElement(td) +SAX.characters( + , 16) +SAX.startElement(input, type='SUBMIT', name='SUBMIT', value='SEARCH') +SAX.endElement(input) +SAX.characters( + , 13) +SAX.endElement(td) +SAX.characters( + , 11) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.endElement(form) +SAX.characters( + , 16) +SAX.endElement(table) +SAX.characters( + , 11) +SAX.endElement(td) +SAX.characters( + , 9) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.comment( + + +
    +Sponsored bySun Microsystems. We're the dot in .com + +) +SAX.characters( +, 1) +SAX.endElement(table) +SAX.characters( +, 1) +SAX.comment( end WIRED NEWS header ) +SAX.characters( + +, 2) +SAX.comment( begin upper left side Navigation ) +SAX.characters( + +, 2) +SAX.startElement(table, border='0', cellpadding='3', cellspacing='0', align='LEFT', bgcolor='#FFFFFF') +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#FF0000') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.characters( + , 8) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', width='147', height='1', border='0') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(b) +SAX.characters(SECTIONS, 8) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + +, 2) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#CCFFCC') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='/news/business/0,1367,,00.html') +SAX.characters(Business, 8) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#99FF99') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='/news/culture/0,1284,,00.html') +SAX.characters(Culture, 7) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#CCFFCC') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='/news/technology/0,1282,,00.html') +SAX.characters(Technology, 10) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#99FF99') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='/news/politics/0,1283,,00.html') +SAX.characters(Politics, 8) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.endElement(tr) +SAX.startElement(tr) +SAX.characters( +, 1) +SAX.startElement(td, bgcolor='#FF0000') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.characters( +, 1) +SAX.startElement(b) +SAX.characters(WIRE SERVICE NEWS, 17) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( + +, 2) +SAX.startElement(tr) +SAX.characters( +, 1) +SAX.startElement(td, bgcolor='#99FF99') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='/news/news/reuters/') +SAX.characters(Top Headlines, 13) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( + +, 2) +SAX.startElement(tr) +SAX.characters( +, 1) +SAX.startElement(td, bgcolor='#CCFFCC') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='/news/news/reuters/sports/') +SAX.characters(Sports, 6) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( + +, 2) +SAX.startElement(tr) +SAX.characters( +, 1) +SAX.startElement(td, bgcolor='#99FF99') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='/news/news/reuters/business/') +SAX.characters(Finance, 7) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.comment( End upper left nav ) +SAX.comment( Begin lower Left Nav ) +SAX.characters( + , 5) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#FF0000') +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.characters( + , 8) +SAX.startElement(b) +SAX.startElement(font, size='1') +SAX.characters(FREE DELIVERY, 13) +SAX.endElement(font) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 5) +SAX.endElement(tr) +SAX.characters( + , 5) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#99FF99') +SAX.characters( +, 1) +SAX.startElement(table, cellspacing='0', cellpadding='0', border='0') +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#99FF99') +SAX.characters( + , 4) +SAX.startElement(form, action='http://r.hotwired.com/r/hw_wm_r_nav_nwsltr/http://perl.hotwired.com/massmail/cgiParser.cgi', method='get', target='_top') +SAX.characters( + + , 3) +SAX.startElement(input, type='hidden', name='success_page', value='http://www.hotwired.com/email/signup/wirednews-ascii.html') +SAX.endElement(input) +SAX.characters( + +, 3) +SAX.startElement(input, type='hidden', name='failure_page', value='http://www.hotwired.com/email/signup/wirednews-ascii.html') +SAX.endElement(input) +SAX.characters( + +, 3) +SAX.startElement(input, type='hidden', name='LIST', value='wn_ascii') +SAX.endElement(input) +SAX.characters( +, 1) +SAX.startElement(input, type='hidden', name='SOURCE', value='other') +SAX.endElement(input) +SAX.characters( + , 2) +SAX.startElement(input, type='hidden', name='ACTION', value='subscribe') +SAX.endElement(input) +SAX.characters( + +, 3) +SAX.startElement(input, type='TEXT', name='from', size='10', value='enter email') +SAX.endElement(input) +SAX.characters( , 2) +SAX.characters( +, 1) +SAX.endElement(form) +SAX.endElement(td) +SAX.characters( + , 4) +SAX.startElement(td, valign='top', bgcolor='#99FF99') +SAX.characters( + , 3) +SAX.startElement(input, type='SUBMIT', name='SUBMIT', value='GO') +SAX.endElement(input) +SAX.characters( + + , 5) +SAX.endElement(td) +SAX.characters( + , 2) +SAX.endElement(tr) +SAX.characters( , 4) +SAX.error: Unexpected end tag : form +SAX.characters( +, 1) +SAX.endElement(table) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#FF0000') +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.characters( + , 8) +SAX.startElement(b) +SAX.startElement(font, size='1') +SAX.characters(STOCKS, 6) +SAX.endElement(font) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#99FF99') +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.characters(Get Quote:, 10) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='#99FF99', marginwidth='0', marginheight='0') +SAX.startElement(form, method='get', action='http://r.wired.com/r/10020/http://stocks.wired.com/stocks_quotes.asp') +SAX.startElement(input, type='TEXT', name='Symbol', size='12') +SAX.endElement(input) +SAX.characters( , 2) +SAX.startElement(input, type='SUBMIT', name='submit', value='GO') +SAX.endElement(input) +SAX.endElement(form) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.comment( BEGIN BUTTON ADS ) +SAX.characters( + + , 5) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#CCFFCC') +SAX.characters( +, 1) +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.characters(Financial Services, 18) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(center) +SAX.characters( +, 1) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='3', width='5', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(img, src='http://static.wired.com/news/images/button_ads_news10.gif', width='143', height='56', border='0', alt='', usemap='#buttons', hspace='0', vspace='0') +SAX.endElement(img) +SAX.characters( +, 1) +SAX.endElement(center) +SAX.characters( + +, 2) +SAX.startElement(map, name='buttons') +SAX.characters( + , 9) +SAX.startElement(area, shape='RECT', alt='Datek', coords='0,0,69,24', href='http://r.wired.com/r/1649/http://ads16.focalink.com/SmartBanner/page/1266.631') +SAX.endElement(area) +SAX.characters( + , 9) +SAX.startElement(area, shape='RECT', alt='Wired Index Fund', coords='73,0,142,24', href='http://r.wired.com/r/227/http://www.gffunds.com/wired') +SAX.endElement(area) +SAX.characters( + , 9) +SAX.startElement(area, shape='RECT', alt='internet.com Index Fund', coords='73,31,142,55', href='http://r.wired.com/r/298/http://www.gffunds.com/isdex/') +SAX.endElement(area) +SAX.characters( + , 9) +SAX.startElement(area, shape='RECT', alt='GetSmart's MortgageFinder', coords='0,31,69,55', href='http://r.wired.com/r/294/http://www.getsmartinc.com/mortgage/HomeBanner?BANNERNAME=www.getsmartinc.com/mwired001m6075x25') +SAX.endElement(area) +SAX.endElement(map) +SAX.characters( + , 9) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( , 1) +SAX.comment( END BUTTON ADS ) +SAX.characters( + + , 6) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#99FF99') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='http://redirect.wired.com/redir/51/http://stocks.wired.com/') +SAX.characters(Today's Summary, 15) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#CCFFCC') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='http://r.wired.com/r/hb_fin_r_wn_top/http://stocks.wired.com/stocks_indexes_detail.asp?Symbol=$WIRED') +SAX.characters(Wired Index, 11) +SAX.endElement(a) +SAX.characters( | , 3) +SAX.startElement(a, href='http://redirect.wired.com/redir/52/http://stocks.wired.com/stocks_indexes.asp ') +SAX.characters(All Indexes, 11) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#99FF99') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(a, href='http://redirect.wired.com/redir/53/http://stocks.wired.com/stocks_portfolios.asp') +SAX.characters(Portfolios, 10) +SAX.endElement(a) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + +, 2) +SAX.comment( BEGIN B&N spot ) +SAX.characters( + +, 2) +SAX.startElement(tr) +SAX.characters( + , 3) +SAX.startElement(td, bgcolor='#FF0000') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.startElement(b) +SAX.characters(FIND A BOOK, 11) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#CCFFCC') +SAX.characters( +, 1) +SAX.startElement(table, cellspacing='0', cellpadding='0', border='0', width='145') +SAX.characters( + , 17) +SAX.startElement(tr) +SAX.startElement(td, bgcolor='#CCFFCC') +SAX.characters( + , 17) +SAX.startElement(form, action='http://r.wired.com/r/wn_nav_c_bn/http://barnesandnoble.bfast.com/booklink/click') +SAX.characters( +, 1) +SAX.startElement(input, type='hidden', name='sourceid', value='383471') +SAX.endElement(input) +SAX.characters( +, 1) +SAX.startElement(input, type='hidden', name='categoryid', value='categorydropdown') +SAX.endElement(input) +SAX.characters( + , 17) +SAX.startElement(font, size='2') +SAX.characters( + , 17) +SAX.startElement(select, name='Subjects', size='4') +SAX.characters( +, 1) +SAX.startElement(option, value='301') +SAX.characters(Business Top 20 +, 16) +SAX.endElement(option) +SAX.startElement(option, value='500') +SAX.characters(Computers +, 10) +SAX.endElement(option) +SAX.startElement(option, value='503') +SAX.characters(Computer Games +, 15) +SAX.endElement(option) +SAX.startElement(option, value='1604') +SAX.characters(Current Affairs +, 16) +SAX.endElement(option) +SAX.startElement(option, value='511') +SAX.characters(Cyberculture +, 13) +SAX.endElement(option) +SAX.startElement(option, value='510') +SAX.characters(Internet/Web +, 13) +SAX.endElement(option) +SAX.startElement(option, value='303') +SAX.characters(Investing +, 10) +SAX.endElement(option) +SAX.startElement(option, value='1606') +SAX.characters(Law +, 4) +SAX.endElement(option) +SAX.startElement(option, value='513') +SAX.characters(Multimedia + +, 12) +SAX.endElement(option) +SAX.startElement(option, value='1605') +SAX.characters(Newsmakers +, 11) +SAX.endElement(option) +SAX.startElement(option, value='1607') +SAX.characters(Politics/Govt. + + , 17) +SAX.endElement(option) +SAX.startElement(option, value='315') +SAX.characters( Web Business + , 16) +SAX.endElement(option) +SAX.startElement(option, value='2800') +SAX.characters( Bargain Books + , 40) +SAX.endElement(option) +SAX.startElement(option, value='4') +SAX.characters(Other + + + + + + , 14) +SAX.endElement(option) +SAX.endElement(select) +SAX.endElement(font) +SAX.endElement(form) +SAX.endElement(td) +SAX.endElement(tr) +SAX.characters( + , 2) +SAX.startElement(tr, align='left', valign='top') +SAX.characters( + , 17) +SAX.startElement(td, valign='top', bgcolor='#CCFFCC') +SAX.characters( , 1) +SAX.startElement(input, type='submit', value='GO') +SAX.endElement(input) +SAX.characters( + +, 2) +SAX.startElement(img, src='http://barnesandnoble.bfast.com/booklink/serve?sourceid=383471&is_search=Y', border='0', align='top') +SAX.endElement(img) +SAX.characters( +, 1) +SAX.comment( + +) +SAX.characters( +, 1) +SAX.endElement(td) +SAX.characters( + + , 35) +SAX.endElement(tr) +SAX.characters( + , 17) +SAX.startElement(tr, align='left', valign='top') +SAX.characters( + + , 11) +SAX.startElement(td, align='left', valign='top', colspan='2', rowspan='1', bgcolor='#CCFFCC') +SAX.characters( +, 1) +SAX.startElement(p) +SAX.characters( + , 9) +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, ', color='#000000') +SAX.characters(Powered by , 11) +SAX.startElement(a, href='http://r.wired.com/r/wn_nav_c_bn/http://barnesandnoble.bfast.com/booklink/click?sourceid=383471') +SAX.characters(barnesandnoble.com, 18) +SAX.endElement(a) +SAX.characters( + , 2) +SAX.endElement(font) +SAX.characters( +, 1) +SAX.startElement(br, clear='all') +SAX.endElement(br) +SAX.characters( + + +, 3) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + , 9) +SAX.endElement(tr) +SAX.characters( , 2) +SAX.error: Unexpected end tag : form +SAX.characters( + , 9) +SAX.endElement(table) +SAX.characters( + +, 2) +SAX.endElement(td) +SAX.endElement(tr) +SAX.characters( + , 2) +SAX.comment( END B&N spot ) +SAX.characters( + +, 7) +SAX.comment( BEGIN MAGAZINE SPOT ) +SAX.characters( + + , 3) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#000000') +SAX.startElement(font, color='#FFFFFF', face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(b) +SAX.characters(WIRED + MAGAZINE , 22) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.startElement(tr) +SAX.characters( +, 2) +SAX.startElement(td, bgcolor='#FFFF99', align='CENTER') +SAX.characters( +, 1) +SAX.startElement(font, face='verdana, arial, helvetica, sans-serif', size='1') +SAX.characters( +, 1) +SAX.startElement(b) +SAX.characters( +, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.startElement(a, href='http://www.wired.com/wired/') +SAX.startElement(img, src='http://static.wired.com/news/images/wiredcover.gif', width='91', height='109', border='0', alt='Wired Magazine') +SAX.endElement(img) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(b) +SAX.characters( + +Issue 7.11 +, 13) +SAX.endElement(font) +SAX.characters( +, 1) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( + +, 2) +SAX.startElement(tr) +SAX.characters( +, 2) +SAX.startElement(td, bgcolor='#FFFF99', align='center') +SAX.characters( +, 1) +SAX.startElement(font, face='verdana, arial, helvetica, sans-serif', size='1') +SAX.characters( + +, 3) +SAX.startElement(a, href='http://www.wired.com/wired/subscribe/special/79WN') +SAX.characters(Subscribe to Wired., 19) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(Special offer!, 14) +SAX.endElement(a) +SAX.characters( + + +, 3) +SAX.endElement(font) +SAX.characters( +, 1) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.comment( END MAGAZINE SPOT ) +SAX.characters( + + , 4) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='#000000') +SAX.characters( + , 6) +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.startElement(b) +SAX.characters(HOTWIRED, 8) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#FFFF99') +SAX.characters( , 1) +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.characters( +, 1) +SAX.startElement(a, href='http://www.hotwired.com/') +SAX.characters(Frontdoor, 9) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='http://www.hotwired.com/webmonkey/') +SAX.characters(Webmonkey, 9) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='http://www.hotwired.com/webmonkey/guides/index.html') +SAX.characters(Webmonkey Guides, 16) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='http://www.hotwired.com/rgb/') +SAX.characters(RGB Gallery, 11) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='http://www.hotwired.com/animation/') +SAX.characters(Animation Express, 17) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='http://go.suck.com/su_wnfd') +SAX.characters(Suck.com, 8) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + + , 8) +SAX.startElement(tr) +SAX.characters( + , 5) +SAX.startElement(td, bgcolor='#000000') +SAX.characters( + , 6) +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.startElement(b) +SAX.characters(HOTBOT, 6) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + , 3) +SAX.startElement(tr) +SAX.characters( + , 6) +SAX.startElement(td, bgcolor='#FFFF99') +SAX.characters( , 1) +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#000000') +SAX.characters( +, 1) +SAX.startElement(a, href='http://redirect.wired.com/redir/54/http://www.hotbot.com/') +SAX.characters(Search, 6) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='http://shop.hotbot.com/') +SAX.characters(Shopping, 8) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + + , 6) +SAX.startElement(tr) +SAX.startElement(td) +SAX.characters( + , 3) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 3) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.characters( + , 3) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.characters( + Wired News , 14) +SAX.startElement(a, href='/news/who/0,1362,,00.html') +SAX.characters(staff, 5) +SAX.endElement(a) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + + , 4) +SAX.comment( Wired News is hiring

    ) +SAX.characters( + + , 4) +SAX.startElement(b) +SAX.startElement(a, href='/news/feedback/0,1364,,00.html') +SAX.characters(Contact us, 10) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.characters( + + + , 7) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + + , 6) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.characters(Wired News delivered, 21) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters(by , 3) +SAX.startElement(a, href='/news/palmpilot/0,1365,,00.html') +SAX.characters(PalmPilot, 9) +SAX.endElement(a) +SAX.characters(,, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://www.hotwired.com/email/signup/wn_outlook.html') +SAX.characters(Outlook Express, 16) +SAX.endElement(a) +SAX.characters(,, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(a, href='http://redirect.wired.com/redir/55/http://form.netscape.com/ibd/html/ibd_frameset.html') +SAX.characters(In-Box Direct, 13) +SAX.endElement(a) +SAX.characters(,, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +or , 4) +SAX.startElement(a, href='/news/pointcast/0,1366,,00.html') +SAX.characters(PointCast, 9) +SAX.endElement(a) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.comment( TRACKING ) +SAX.characters( +, 1) +SAX.startElement(img, src='http://www.wired.com/special/modx/news.gif', height='1', width='1', alt='') +SAX.endElement(img) +SAX.characters( +, 1) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + +, 2) +SAX.endElement(table) +SAX.characters( + +, 2) +SAX.comment( end lower left side Navigation ) +SAX.characters( +, 1) +SAX.comment( CONTENT TABLE ) +SAX.characters( + +, 2) +SAX.startElement(table, border='0', width='447', cellspacing='0', cellpadding='0', bordercolor='#66FF00') +SAX.characters( + , 2) +SAX.startElement(tr) +SAX.characters( + , 3) +SAX.startElement(td, valign='TOP', align='LEFT', rowspan='2') +SAX.characters( + , 4) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='1', width='15', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 3) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.startElement(td, colspan='3', valign='TOP', align='LEFT') +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='7', width='432', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + + +, 3) +SAX.comment( SQL query for Package here ) +SAX.characters( + +, 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.startElement(b) +SAX.startElement(i) +SAX.characters(Nomad's Land, 12) +SAX.endElement(i) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(img, src='http://static.wired.com/news/images/pix155.gif', height='10', width='155', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT: Homeless, but ID'd, in Seattle ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='5') +SAX.startElement(b) +SAX.startElement(a, href='/news/politics/0,1283,31911,00.html') +SAX.characters(Homeless, but ID'd, in Seattle, 30) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1', face='Verdana, Arial, Geneva, sans-serif', color='#FF0000') +SAX.characters(8:15 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(The city council approves a pl, 180) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/politics/0,1283,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Politics, 8) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(table, bgcolor='#F0F0F0', cellpadding='0', cellspacing='0', border='0', width='147', align='RIGHT') +SAX.characters( + , 2) +SAX.comment( Commentary Frag Begin ) +SAX.characters( + , 9) +SAX.startElement(tr) +SAX.characters( + , 11) +SAX.startElement(td, bgcolor='#000000') +SAX.characters( , 2) +SAX.endElement(td) +SAX.characters( + , 11) +SAX.startElement(td, bgcolor='#000000') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.startElement(b) +SAX.characters(HITS , 5) +SAX.characters(&, 1) +SAX.characters( MISC., 6) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 9) +SAX.endElement(tr) +SAX.characters( + , 9) +SAX.startElement(tr) +SAX.characters( + , 11) +SAX.startElement(td) +SAX.characters( , 2) +SAX.endElement(td) +SAX.characters( + , 11) +SAX.startElement(td) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='5', width='5', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + + , 4) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/commentarySection/0,1292,31664,00.html') +SAX.characters(Calendar of E-Vents, 19) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Ongoing goings-on. , 19) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/commentarySection/0,1292,31926,00.html') +SAX.characters(Rants & Raves, 13) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Readers on Apple's G4 ... AOL', 59) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( , 2) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 9) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.comment( Commentary Frag End ) +SAX.characters( +, 1) +SAX.startElement(tr) +SAX.characters( +, 2) +SAX.startElement(td, align='left', bgcolor='#000000') +SAX.characters( , 2) +SAX.endElement(td) +SAX.characters( +, 2) +SAX.startElement(td, bgcolor='#000000') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.startElement(b) +SAX.characters(CURRENT HOO-HA, 14) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( + +, 2) +SAX.startElement(tr) +SAX.characters( +, 2) +SAX.startElement(td) +SAX.characters( , 2) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.startElement(td) +SAX.characters( +, 1) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='5', width='5', alt='') +SAX.endElement(img) +SAX.characters( +, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/mp3/0,1285,,00.html') +SAX.characters(MP3 Rocks the Web, 17) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Download the sound. , 21) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Sponsored by , 13) +SAX.startElement(a, href='http://r.hotwired.com/r/wn_fd_mp3_r_mscm_txt/http://webfarm.mediaplex.com/click_thru_request/164-1361b-1052', style='text-decoration:none') +SAX.startElement(font, color='#000000') +SAX.characters(Musicmaker, 10) +SAX.endElement(font) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/wireless/0,1382,,00.html') +SAX.characters(The Wireless World, 18) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Networking gets unplugged. , 28) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Sponsored by , 13) +SAX.startElement(a, href='http://www.ericsson.se/get/internet/default.shtml', style='text-decoration:none') +SAX.startElement(font, color='#000000') +SAX.characters(Ericsson, 8) +SAX.endElement(font) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/digiwood/0,1412,,00.html') +SAX.characters(Digital Hollywood, 17) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(The buzz of tech., 17) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/ipo/0,1350,,00.html') +SAX.characters(IPO Outlook, 11) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Deals in the pipeline. , 24) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Sponsored by , 13) +SAX.startElement(a, href='http://r.hotwired.com/r/wn_ipo_r_sun_txt/http://sun.com/ads/smi/brand/hotwired.html', style='text-decoration:none') +SAX.startElement(font, color='#000000') +SAX.characters(Sun, 3) +SAX.endElement(font) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/ebiz/0,1272,,00.html') +SAX.characters(E-Biz, 5) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Business unusual. , 19) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Sponsored by , 13) +SAX.startElement(a, href='http://r.wired.com/r/wn_fd_r_ebiz_ibm_txt/http://www.ibm.com', style='text-decoration:none') +SAX.startElement(font, color='#000000') +SAX.characters(IBM, 3) +SAX.endElement(font) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/medtech/0,1286,,00.html') +SAX.characters(Med-Tech Center, 15) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(From the bleeding edge., 23) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Sponsored by WebMD, 18) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/linux/0,1411,,00.html') +SAX.characters(The Linux Effect, 16) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Not just for geeks., 19) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( , 1) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='7', width='5', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/exec/0,1370,,00.html') +SAX.characters(Executive Summary, 17) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1', face='Arial, Helvetica, sans-serif', color='#000000') +SAX.characters(CEOs, COOs, CIOs unite. , 25) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Sponsored by , 13) +SAX.startElement(a, href='http://r.wired.com/r/wn_exec_r_vign/http://www.vignette.com/', style='text-decoration:none') +SAX.startElement(font, color='#000000') +SAX.characters(Vignette, 8) +SAX.error: Opening and ending tag mismatch: a and font +SAX.endElement(font) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/school/0,1383,,00.html') +SAX.characters(Making the Grade, 16) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Reading, writing, and ROM. , 28) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Sponsored by , 13) +SAX.startElement(a, href='http://r.hotwired.com/r/wn_sch_r_nav_uop/http://ads25.focalink.com/SmartBanner/page?12630.53', style='text-decoration:none') +SAX.startElement(font, color='#000000') +SAX.characters(U of Phoenix, 12) +SAX.endElement(font) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/infostructure/0,1377,,00.html') +SAX.characters(Infostructure, 13) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1', face='Arial, Helvetica, sans-serif', color='#000000') +SAX.characters(An IS/IT resource , 18) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(i) +SAX.characters(Sponsored by , 13) +SAX.startElement(a, href='http://r.wired.com/r/wn_is_r_ssec/http://ad.doubleclick.net/clk;653163;3599571;s?http://www.sprintbiz.com/s +ervlet/appservlet?from=/wired/sprint/&template=/security/security.html&SITE= +wired.com&BANNER=Sprint', style='text-decoration:none') +SAX.startElement(font, color='#000000') +SAX.characters(Sprint, 6) +SAX.error: Opening and ending tag mismatch: a and font +SAX.endElement(font) +SAX.endElement(a) +SAX.endElement(i) +SAX.error: Unexpected end tag : font< +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, size='2', face='Arial,Helvetica, sans-serif') +SAX.startElement(b) +SAX.startElement(a, href='/news/y2k/0,1360,,00.html') +SAX.characters(Y2K Watch, 9) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif') +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.characters(Tick... Tick... Tick..., 23) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 3) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='2') +SAX.startElement(b) +SAX.startElement(i) +SAX.startElement(a, href='/news/special_reports/1,1293,,00.html') +SAX.characters(More Hoo-Ha, 11) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( , 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.error: Opening and ending tag mismatch: td and font +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( +, 1) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.comment( start of Gen News ) +SAX.characters( + , 17) +SAX.startElement(tr) +SAX.characters( + , 20) +SAX.startElement(td, bgcolor='#000000') +SAX.characters( , 2) +SAX.endElement(td) +SAX.characters( + , 11) +SAX.startElement(td, bgcolor='#000000') +SAX.startElement(font, size='1', face='Verdana, Arial, Helvetica, sans-serif', color='#FFFFFF') +SAX.startElement(b) +SAX.characters(MEANWHILE..., 12) +SAX.endElement(b) +SAX.endElement(font) +SAX.endElement(td) +SAX.characters( + , 9) +SAX.endElement(tr) +SAX.characters( + + , 10) +SAX.startElement(tr) +SAX.characters( + , 12) +SAX.startElement(td) +SAX.characters( , 2) +SAX.endElement(td) +SAX.characters( + , 11) +SAX.startElement(td, align='left', valign='top') +SAX.characters( + , 11) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='5', width='5', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + + +, 3) +SAX.comment( 31942 ) +SAX.characters( +, 1) +SAX.startElement(font, size='2', face='Arial, Helvetica, sans-serif', color='#000000') +SAX.startElement(b) +SAX.characters(Führer Furor, 13) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, size='1', face='Arial, Geneva, sans-serif', color='#000000') +SAX.startElement(p) +SAX.characters( +Contruction workers in Berlin, 634) +SAX.characters( +, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(p) +SAX.startElement(li) +SAX.characters(More from , 10) +SAX.startElement(a, href='http://www.lycos.com/news/flash/hitlerbunker.html?v=wn1015&lpv=1') +SAX.characters(Lycos, 5) +SAX.endElement(a) +SAX.endElement(li) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + , 2) +SAX.endElement(td) +SAX.characters( + , 9) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.comment( end of Gen News ) +SAX.characters( +, 1) +SAX.endElement(table) +SAX.characters( + + +, 3) +SAX.startElement(font, size='1') +SAX.characters( , 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.endElement(font) +SAX.characters( + +, 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.startElement(b) +SAX.startElement(i) +SAX.characters(Other Top Stories, 17) +SAX.endElement(i) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(img, src='http://static.wired.com/news/images/pix155.gif', height='10', width='155', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.comment( SQL query here ) +SAX.characters( +, 1) +SAX.comment( IBD_SUBJECT:Wall Street Keeps Reeling ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/reuters/0,1349,31934,00.html') +SAX.characters(Wall Street Keeps Reeling, 25) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(10:15 a.m., 10) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(The Dow and Nasdaq suffer size, 180) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/reuters/0,1349,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Reuters, 7) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT:The Market's Madness ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/reuters/0,1349,31935,00.html') +SAX.characters(The Market's Madness, 20) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(9:10 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(The bulls and the bears are in, 128) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/reuters/0,1349,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Reuters, 7) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT:'Want a Loan? What's Your Race?' ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/politics/0,1283,31533,00.html') +SAX.characters('Want a Loan? What's Your Race, 32) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(3:00 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(The Federal Reserve is in the , 184) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/politics/0,1283,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Politics, 8) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT:Music Regs: A Bagful of Noise ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/business/0,1367,31832,00.html') +SAX.characters(Music Regs: A Bagful of Noise, 29) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(3:00 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(The struggle to come up with a, 171) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/business/0,1367,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Business, 8) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT:Can't Beat 'Em? Green 'Em ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/technology/0,1282,31927,00.html') +SAX.characters(Can't Beat 'Em? Green 'Em, 25) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(3:00 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(High-tech companies are notori, 186) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/technology/0,1282,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Technology, 10) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT:Y2K Cloud Over MS Office ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/business/0,1367,31932,00.html') +SAX.characters(Y2K Cloud Over MS Office, 24) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(3:00 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(Windows NT sales remain strong, 165) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/business/0,1367,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Business, 8) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#FF0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(Med-Tech, 8) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT:Biochips for Custom Chemo ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/technology/0,1282,31914,00.html') +SAX.characters(Biochips for Custom Chemo, 25) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(3:00 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(Different cancer patients need, 207) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/technology/0,1282,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Technology, 10) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT:High Stakes in Priceline Suit ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/business/0,1367,31916,00.html') +SAX.characters(High Stakes in Priceline Suit, 29) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(3:00 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(It's not just another round of, 196) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/business/0,1367,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Business, 8) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( IBD_SUBJECT:Biodiversity Merges Online ) +SAX.startElement(font, face='Arial, Helvetica, sans-serif', size='3') +SAX.startElement(b) +SAX.startElement(a, href='/news/technology/0,1282,31918,00.html') +SAX.characters(Biodiversity Merges Online, 26) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, color='#ff0000', face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters(3:00 a.m., 9) +SAX.endElement(font) +SAX.characters( , 2) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.characters(The far-flung databases on glo, 196) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='Verdana, Arial, Helvetica, sans-serif', size='1') +SAX.startElement(i) +SAX.startElement(a, href='/news/technology/0,1282,,00.html') +SAX.characters(in, 2) +SAX.characters( , 2) +SAX.characters(Technology, 10) +SAX.endElement(a) +SAX.endElement(i) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( SQL above ) +SAX.characters( + + + +, 12) +SAX.comment(----TRADES-------) +SAX.characters( +, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='2') +SAX.startElement(b) +SAX.startElement(i) +SAX.characters(Elsewhere Today, 15) +SAX.endElement(i) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(img, src='http://static.wired.com/news/images/pix155.gif', height='10', width='155', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.comment( SQL query here ) +SAX.characters( +, 1) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://www.thestandard.com/articles/display/0,1449,6975,00.html?home.tf') +SAX.characters(FCC: Hands-Off on Broadband, 27) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.startElement(cite) +SAX.characters(The Industry Standard, 21) +SAX.endElement(cite) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://news.lycos.com/stories/TopNews/19991014RTNEWS-ARMS-TREATY.asp') +SAX.characters(White House Lashes Out on Trea, 32) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.characters(Lycos, 5) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://www.pathfinder.com/time/magazine/articles/0,3266,32207,00.html') +SAX.characters(Steve Jobs at 44, 16) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.startElement(cite) +SAX.characters(Time, 4) +SAX.endElement(cite) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://www.zdnet.com/zdnn/stories/news/0,4586,2353608,00.html') +SAX.characters(Computers May Run on Gas, 24) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.characters(ZDNN, 4) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://www.nytimes.com/library/tech/99/10/biztech/articles/14free.html') +SAX.characters(Much Is Free in the Wired Worl, 31) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.startElement(cite) +SAX.characters(The New York Times, 18) +SAX.endElement(cite) +SAX.characters( (Registration Required), 24) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://www.usatoday.com/life/cyber/nb/nb4.htm') +SAX.characters(Melissa: I'm Baaaack, 20) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.startElement(cite) +SAX.characters(USA Today, 9) +SAX.endElement(cite) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://www.msnbc.com/news/322926.asp') +SAX.characters(Domain Owners Surrender Privac, 31) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.characters(MSNBC, 5) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://www.washingtonpost.com/wp-srv/business/longterm/tech/techthursday/download/download.htm') +SAX.characters(Dividing to Conquer in VC Game, 30) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.startElement(cite) +SAX.characters(The Washington Post, 19) +SAX.endElement(cite) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://www.salon.com/tech/books/1999/10/14/redhat_book/index.html') +SAX.characters(The Red Hat Diaries, 19) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.characters(Salon, 5) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='helvetica, arial', size='3') +SAX.startElement(b) +SAX.startElement(a, href='http://news.bbc.co.uk/hi/english/sci/tech/newsid_473000/473856.stm') +SAX.characters(Screensaver to Predict Climate, 30) +SAX.endElement(a) +SAX.endElement(b) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(font, face='geneva, arial', size='2') +SAX.characters(BBC News, 8) +SAX.endElement(font) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.comment( SQL above ) +SAX.characters( + + + +, 4) +SAX.comment( - - - - - - - - - - - - ) +SAX.characters( + + , 6) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( + + , 4) +SAX.startElement(tr) +SAX.characters( + , 4) +SAX.startElement(td, valign='TOP', align='LEFT') +SAX.characters( + + , 6) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='1', width='280', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + + , 7) +SAX.comment( FOOTER ) +SAX.characters( + +, 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(img, src='http://static.wired.com/news/images/pix155.gif', height='10', width='155', border='0', usemap='#navstrip.map', alt='') +SAX.endElement(img) +SAX.characters( +, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.startElement(img, src='http://static.wired.com/news/images/navstrip_off.gif', height='17', width='126', usemap='#navstrip.map', border='0', alt='') +SAX.endElement(img) +SAX.startElement(br) +SAX.endElement(br) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( + +, 2) +SAX.startElement(p) +SAX.startElement(font, face='Verdana, Arial, Geneva, sans-serif', size='1') +SAX.characters( +, 1) +SAX.startElement(a, href='http://www.wired.com/news/feedback.html') +SAX.characters(Send us feedback, 16) +SAX.endElement(a) +SAX.characters( +, 1) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.characters( +, 1) +SAX.startElement(a, href='http://www.hotwired.com/jobs/') +SAX.characters(Work at Wired Digital, 21) +SAX.endElement(a) +SAX.characters( +, 1) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.characters( +, 1) +SAX.startElement(a, href='http://home.wired.com/advertising/') +SAX.characters(Advertise with us, 17) +SAX.endElement(a) +SAX.characters( +, 1) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.startElement(a, href='http://home.wired.com/') +SAX.characters(About Wired Digital, 19) +SAX.endElement(a) +SAX.characters( +, 1) +SAX.characters( , 2) +SAX.characters(|, 1) +SAX.characters( , 2) +SAX.characters( +, 1) +SAX.startElement(a, href='http://www.wired.com/home/digital/privacy/') +SAX.characters(Our Privacy Policy, 18) +SAX.endElement(a) +SAX.endElement(font) +SAX.characters( + + +, 3) +SAX.endElement(p) +SAX.startElement(p) +SAX.startElement(font, face='Verdana, Arial, Geneva', size='1') +SAX.startElement(a, href='http://www.wired.com/home/copyright.html') +SAX.characters(Copyright, 9) +SAX.endElement(a) +SAX.characters( , 1) +SAX.characters(©, 2) +SAX.characters( 1994-99 Wired Digital Inc. Al, 48) +SAX.endElement(font) +SAX.characters( + +, 2) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.comment( TRACKING ) +SAX.characters( +, 1) +SAX.startElement(img, src='http://www.wired.com/special/modx/news.gif', height='1', width='1', alt='') +SAX.endElement(img) +SAX.characters( + +, 2) +SAX.startElement(map, name='navstrip.map') +SAX.characters( +, 1) +SAX.startElement(area, shape='rect', coords='0,0,14,16', href='/news') +SAX.endElement(area) +SAX.characters( +, 1) +SAX.startElement(area, shape='rect', coords='15,0 31,16', href='/news/business/') +SAX.endElement(area) +SAX.characters( +, 1) +SAX.startElement(area, shape='rect', coords='32,0,48,16', href='/news/culture/') +SAX.endElement(area) +SAX.characters( +, 1) +SAX.startElement(area, shape='rect', coords='49,0,65,16', href='/news/technology/') +SAX.endElement(area) +SAX.characters( +, 1) +SAX.startElement(area, shape='rect', coords='66,0,83,16', href='/news/politics/') +SAX.endElement(area) +SAX.characters( +, 1) +SAX.endElement(map) +SAX.characters( + , 2) +SAX.endElement(p) +SAX.endElement(td) +SAX.characters( + , 4) +SAX.startElement(td, valign='TOP', align='LEFT') +SAX.characters( + , 5) +SAX.startElement(img, src='http://static.wired.com/news/images/spacer.gif', height='1', width='5', alt='') +SAX.endElement(img) +SAX.characters( + , 4) +SAX.endElement(td) +SAX.characters( + , 4) +SAX.startElement(td, valign='TOP', align='LEFT') +SAX.characters( + , 4) +SAX.endElement(td) +SAX.characters( + , 3) +SAX.endElement(tr) +SAX.characters( +, 1) +SAX.endElement(table) +SAX.characters( + + +, 3) +SAX.startElement(br) +SAX.endElement(br) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.characters( +, 1) +SAX.endElement(html) +SAX.characters( + +, 2) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/xml-declaration-1.html b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/xml-declaration-1.html new file mode 100644 index 0000000000000000000000000000000000000000..1d0ca6c08339c06f277f7ec85ee9dff896c2642f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/xml-declaration-1.html @@ -0,0 +1,4 @@ + + +

    öäüß

    + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/HTML/xml-declaration-1.html.sax b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/xml-declaration-1.html.sax new file mode 100644 index 0000000000000000000000000000000000000000..c1ce23ee9cc0fb129a20eafb0618e7fc792eec10 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/HTML/xml-declaration-1.html.sax @@ -0,0 +1,13 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.comment(?xml encoding="UTF-8") +SAX.startElement(html) +SAX.startElement(body) +SAX.startElement(p) +SAX.characters(öäüß, 8) +SAX.endElement(p) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.endElement(html) +SAX.endDocument() diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/754946.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/754946.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..066ac625b32dc4a7acd5e0379933607db53e403f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/754946.xml.ent @@ -0,0 +1,9 @@ +./test/errors/754946.xml:3: parser error : Content error in the internal subset + %SYSTEM; + ^ +Entity: line 1: +A' +2597946867209384634725979468672093846347259794686720938463472597946867261d:a>' +2597946867209384634725979468672093846347259794686720938463472597946867261d:a>' +2597946867209384634725979468672093846347259794686720938463472597946867261d:a> + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/759398.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/759398.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..c3f4df41fd3238b01f9ce220a36965dbaee32fb8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/759398.xml.err @@ -0,0 +1,9 @@ +./test/errors/759398.xml:210: parser error : StartTag: invalid element name +need to worry about parsers whi + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/759398.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/759398.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..8e37d69ecc1141c65a5ff379fb1df26b025dd1da --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/759398.xml.str @@ -0,0 +1,4 @@ +./test/errors/759398.xml:210: parser error : StartTag: invalid element name +need to worry about parsers whi + ^ +Entity: line 1: parser error : xmlParseEntityDecl: no name +%zz; + ^ +Entity: line 1: + + ^ +Entity: line 1: parser error : ParsePI: PI xDOCTYPEm space expected +%zz; + ^ +Entity: line 1: + + ^ +./test/errors/759573-2.xml:6: parser error : Content error in the internal subset +%xx; + ^ +Entity: line 2: + + ^ +Entity: line 1: parser error : xmlParseEntityDecl: no name +%zz; + ^ +Entity: line 1: + + ^ +Entity: line 1: parser error : ParsePI: PI xDOCTYPEm space expected +%zz; + ^ +Entity: line 1: + + ^ +./test/errors/759573-2.xml:6: parser error : Content error in the internal subset +%xx; + ^ +Entity: line 2: + + ^ +Entity: line 1: parser error : xmlParseEntityDecl: no name +%zz; + ^ +Entity: line 1: + + ^ +Entity: line 1: parser error : ParsePI: PI xDOCTYPEm space expected +%zz; + ^ +Entity: line 1: + + ^ +./test/errors/759573-2.xml:6: parser error : Content error in the internal subset +%xx; + ^ +Entity: line 2: +%xx; + ^ +Entity: line 1: +%%xx; + ^ +Entity: line 1: +%%xx; + ^ +Entity: line 1: +%%xx; + ^ +Entity: line 1: +%%xx; + ^ +Entity: line 1: +%%xx; + ^ +Entity: line 1: +% + + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..a628ca79bc15fe4086ebe51b98e842d495e5df98 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.ent @@ -0,0 +1,3 @@ +./test/errors/attr3.xml:4: validity warning : Attribute a1 of element doc: already defined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..a628ca79bc15fe4086ebe51b98e842d495e5df98 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.err @@ -0,0 +1,3 @@ +./test/errors/attr3.xml:4: validity warning : Attribute a1 of element doc: already defined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..a628ca79bc15fe4086ebe51b98e842d495e5df98 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr3.xml.str @@ -0,0 +1,3 @@ +./test/errors/attr3.xml:4: validity warning : Attribute a1 of element doc: already defined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..4320586c36b513f78561e96075f7ffc288879812 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.ent @@ -0,0 +1,3 @@ +./test/errors/attr4.xml:1: parser error : invalid character in attribute value + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..4320586c36b513f78561e96075f7ffc288879812 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.err @@ -0,0 +1,3 @@ +./test/errors/attr4.xml:1: parser error : invalid character in attribute value + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..45c722b7d06fa7dacfd78c95129baf0cfc3c57a2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr4.xml.str @@ -0,0 +1,4 @@ +./test/errors/attr4.xml:1: parser error : invalid character in attribute value + + ^ +./test/errors/attr4.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..b1f524f8d7b4018124378bcffc147e85ae48b379 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.ent @@ -0,0 +1,3 @@ +./test/errors/attr5.xml:2: parser error : Attribute b redefined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..b1f524f8d7b4018124378bcffc147e85ae48b379 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.err @@ -0,0 +1,3 @@ +./test/errors/attr5.xml:2: parser error : Attribute b redefined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..9a739518608621d183e44bf64821ce2488d2886b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr5.xml.str @@ -0,0 +1,4 @@ +./test/errors/attr5.xml:2: parser error : Attribute b redefined + + ^ +./test/errors/attr5.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..96c7a2468882e85105a602150d3c10a61d057012 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.ent @@ -0,0 +1,60 @@ +./test/errors/attr6.xml:3: parser error : Attribute c:db redefined +"" d:em="" d:bw="" b:bb="" b:ey="" c:cd="" a:ce="" b:ah="" c:am="" cq="" c:db="" + ^ +./test/errors/attr6.xml:4: parser error : Attribute d:do redefined + c:ba="" b:bj="" a:bn="" c:fd="" c:fe="" a:dh="" b:ef="" d:do="" b:da="" a:cv="" + ^ +./test/errors/attr6.xml:7: parser error : Attribute bu redefined +r="" b:fe="" dc="" d:cx="" d:ce="" b:fg="" d:dw="" d:cy="" ap="" a:ek="" c:ee="" + ^ +./test/errors/attr6.xml:8: parser error : Attribute c:ae redefined +a="" b:dk="" a:cl="" d:bd="" d:bh="" bv="" c:fc="" d:bx="" d:bf="" d:cq="" dz="" + ^ +./test/errors/attr6.xml:15: parser error : Attribute c:cy redefined +"" a:ey="" a:be="" c:df="" b:ej="" a:cv="" c:ds="" d:bx="" c:cd="" eo="" a:fi="" + ^ +./test/errors/attr6.xml:17: parser error : Attribute bt redefined +"" b:aa="" a:aj="" c:cp="" a:ck="" b:fi="" a:fj="" aw="" d:df="" d:ct="" d:fg="" + ^ +./test/errors/attr6.xml:19: parser error : Attribute aa redefined + b:fi="" b:ey="" a:cv="" b:ag="" b:du="" a:az="" a:fg="" b:cr="" d:bd="" d:eu="" + ^ +./test/errors/attr6.xml:19: parser error : Attribute d:cy redefined + b:fi="" b:ey="" a:cv="" b:ag="" b:du="" a:az="" a:fg="" b:cr="" d:bd="" d:eu="" + ^ +./test/errors/attr6.xml:27: parser error : Attribute dw redefined +"" d:ax="" bw="" d:as="" b:eh="" a:cw="" b:cy="" d:ed="" b:do="" b:bx="" a:bo="" + ^ +./test/errors/attr6.xml:27: parser error : Attribute d:du redefined +"" d:ax="" bw="" d:as="" b:eh="" a:cw="" b:cy="" d:ed="" b:do="" b:bx="" a:bo="" + ^ +./test/errors/attr6.xml:29: parser error : Attribute b:cb redefined + a:cu="" c:eu="" fe="" d:ac="" d:bl="" c:dr="" co="" c:bn="" cf="" b:cw="" ew="" + ^ +./test/errors/attr6.xml:36: parser error : Attribute ay redefined + b:cv="" d:bi="" b:fl="" fe="" b:am="" c:fm="" c:di="" bs="" dc="" b:bm="" es="" + ^ +./test/errors/attr6.xml:41: parser error : Attribute au redefined +t="" d:ew="" d:ek="" a:bu="" b:dc="" d:ab="" cj="" d:bj="" a:bg="" a:da="" ac="" + ^ +./test/errors/attr6.xml:43: parser error : Attribute em redefined +p="" d:cv="" bh="" c:dy="" c:eq="" b:am="" b:ed="" b:co="" a:ew="" c:av="" ad="" + ^ +./test/errors/attr6.xml:45: parser error : Attribute cr redefined +:ax="" bc="" d:br="" b:aq="" a:dn="" d:fa="" d:cb="" d:bo="" ds="" ad="" c:cg="" + ^ +./test/errors/attr6.xml:45: parser error : Attribute a:az redefined +:ax="" bc="" d:br="" b:aq="" a:dn="" d:fa="" d:cb="" d:bo="" ds="" ad="" c:cg="" + ^ +./test/errors/attr6.xml:46: parser error : Attribute a:cy redefined +x="" b:cr="" d:ca="" c:em="" d:es="" a:du="" cc="" c:ci="" b:dt="" d:fm="" bb="" + ^ +./test/errors/attr6.xml:47: parser error : Attribute d:cs redefined +"" a:ea="" c:en="" c:cv="" c:eq="" c:fk="" ax="" a:az="" a:fd="" d:cw="" d:cs="" + ^ +./test/errors/attr6.xml:49: parser error : Attribute a:dv redefined +y="" dg="" a:dp="" d:ai="" a:ea="" b:eq="" b:ei="" d:ar="" cp="" a:fe="" a:cv="" + ^ +./test/errors/attr6.xml:50: parser error : Attribute b:do redefined +"" a:el="" b:fe="" cy="" d:cq="" c:eo="" a:cg="" a:dh="" b:eu="" a:cp="" a:fk="" + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..96c7a2468882e85105a602150d3c10a61d057012 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.err @@ -0,0 +1,60 @@ +./test/errors/attr6.xml:3: parser error : Attribute c:db redefined +"" d:em="" d:bw="" b:bb="" b:ey="" c:cd="" a:ce="" b:ah="" c:am="" cq="" c:db="" + ^ +./test/errors/attr6.xml:4: parser error : Attribute d:do redefined + c:ba="" b:bj="" a:bn="" c:fd="" c:fe="" a:dh="" b:ef="" d:do="" b:da="" a:cv="" + ^ +./test/errors/attr6.xml:7: parser error : Attribute bu redefined +r="" b:fe="" dc="" d:cx="" d:ce="" b:fg="" d:dw="" d:cy="" ap="" a:ek="" c:ee="" + ^ +./test/errors/attr6.xml:8: parser error : Attribute c:ae redefined +a="" b:dk="" a:cl="" d:bd="" d:bh="" bv="" c:fc="" d:bx="" d:bf="" d:cq="" dz="" + ^ +./test/errors/attr6.xml:15: parser error : Attribute c:cy redefined +"" a:ey="" a:be="" c:df="" b:ej="" a:cv="" c:ds="" d:bx="" c:cd="" eo="" a:fi="" + ^ +./test/errors/attr6.xml:17: parser error : Attribute bt redefined +"" b:aa="" a:aj="" c:cp="" a:ck="" b:fi="" a:fj="" aw="" d:df="" d:ct="" d:fg="" + ^ +./test/errors/attr6.xml:19: parser error : Attribute aa redefined + b:fi="" b:ey="" a:cv="" b:ag="" b:du="" a:az="" a:fg="" b:cr="" d:bd="" d:eu="" + ^ +./test/errors/attr6.xml:19: parser error : Attribute d:cy redefined + b:fi="" b:ey="" a:cv="" b:ag="" b:du="" a:az="" a:fg="" b:cr="" d:bd="" d:eu="" + ^ +./test/errors/attr6.xml:27: parser error : Attribute dw redefined +"" d:ax="" bw="" d:as="" b:eh="" a:cw="" b:cy="" d:ed="" b:do="" b:bx="" a:bo="" + ^ +./test/errors/attr6.xml:27: parser error : Attribute d:du redefined +"" d:ax="" bw="" d:as="" b:eh="" a:cw="" b:cy="" d:ed="" b:do="" b:bx="" a:bo="" + ^ +./test/errors/attr6.xml:29: parser error : Attribute b:cb redefined + a:cu="" c:eu="" fe="" d:ac="" d:bl="" c:dr="" co="" c:bn="" cf="" b:cw="" ew="" + ^ +./test/errors/attr6.xml:36: parser error : Attribute ay redefined + b:cv="" d:bi="" b:fl="" fe="" b:am="" c:fm="" c:di="" bs="" dc="" b:bm="" es="" + ^ +./test/errors/attr6.xml:41: parser error : Attribute au redefined +t="" d:ew="" d:ek="" a:bu="" b:dc="" d:ab="" cj="" d:bj="" a:bg="" a:da="" ac="" + ^ +./test/errors/attr6.xml:43: parser error : Attribute em redefined +p="" d:cv="" bh="" c:dy="" c:eq="" b:am="" b:ed="" b:co="" a:ew="" c:av="" ad="" + ^ +./test/errors/attr6.xml:45: parser error : Attribute cr redefined +:ax="" bc="" d:br="" b:aq="" a:dn="" d:fa="" d:cb="" d:bo="" ds="" ad="" c:cg="" + ^ +./test/errors/attr6.xml:45: parser error : Attribute a:az redefined +:ax="" bc="" d:br="" b:aq="" a:dn="" d:fa="" d:cb="" d:bo="" ds="" ad="" c:cg="" + ^ +./test/errors/attr6.xml:46: parser error : Attribute a:cy redefined +x="" b:cr="" d:ca="" c:em="" d:es="" a:du="" cc="" c:ci="" b:dt="" d:fm="" bb="" + ^ +./test/errors/attr6.xml:47: parser error : Attribute d:cs redefined +"" a:ea="" c:en="" c:cv="" c:eq="" c:fk="" ax="" a:az="" a:fd="" d:cw="" d:cs="" + ^ +./test/errors/attr6.xml:49: parser error : Attribute a:dv redefined +y="" dg="" a:dp="" d:ai="" a:ea="" b:eq="" b:ei="" d:ar="" cp="" a:fe="" a:cv="" + ^ +./test/errors/attr6.xml:50: parser error : Attribute b:do redefined +"" a:el="" b:fe="" cy="" d:cq="" c:eo="" a:cg="" a:dh="" b:eu="" a:cp="" a:fk="" + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..556e949abe3b03d23ceb66593e29ac0f7ae1ea61 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/attr6.xml.str @@ -0,0 +1,4 @@ +./test/errors/attr6.xml:3: parser error : Attribute c:db redefined +"" d:em="" d:bw="" b:bb="" b:ey="" c:cd="" a:ce="" b:ah="" c:am="" cq="" c:db="" + ^ +./test/errors/attr6.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/cdata.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/cdata.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..73ae306521e822ab15fbedf004476218f96e114f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/cdata.xml.ent @@ -0,0 +1,4 @@ +./test/errors/cdata.xml:2: I/O error : Invalid bytes in character encoding +Bytes: 0xE1 0x72 0x5D 0x5D +� + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/charref1.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/charref1.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..dbf30054fb74769995ba3bf2cc1d291dccddde3e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/charref1.xml.err @@ -0,0 +1,3 @@ +./test/errors/charref1.xml:1: parser error : xmlParseCharRef: character reference out of bounds + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/charref1.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/charref1.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..692f614ef8e2ce495cbc0821e02390ce020f777a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/charref1.xml.str @@ -0,0 +1,4 @@ +./test/errors/charref1.xml:1: parser error : xmlParseCharRef: character reference out of bounds + + ^ +./test/errors/charref1.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..4eceb6c73b487353dbf5f44fc11b89cee23d529e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.ent @@ -0,0 +1,3 @@ +./test/errors/comment1.xml:5: parser error : xmlParseComment: invalid xmlChar value 14 + in p02:  --> + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..4eceb6c73b487353dbf5f44fc11b89cee23d529e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.err @@ -0,0 +1,3 @@ +./test/errors/comment1.xml:5: parser error : xmlParseComment: invalid xmlChar value 14 + in p02:  --> + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..494d1ed1501312f44fd9a86675e931c8d7a69ac7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/comment1.xml.str @@ -0,0 +1,4 @@ +./test/errors/comment1.xml:5: parser error : xmlParseComment: invalid xmlChar value 14 + in p02:  --> + ^ +./test/errors/comment1.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..6e361d6ae387d62b447665d45247c8272ff6bcea --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.ent @@ -0,0 +1,9 @@ +./test/errors/content1.xml:7: parser error : ContentDecl : ',' '|' or ')' expected + + ^ +./test/errors/content1.xml:7: parser error : expected '>' + + ^ +./test/errors/content1.xml:7: parser error : Content error in the internal subset + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..6e361d6ae387d62b447665d45247c8272ff6bcea --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.err @@ -0,0 +1,9 @@ +./test/errors/content1.xml:7: parser error : ContentDecl : ',' '|' or ')' expected + + ^ +./test/errors/content1.xml:7: parser error : expected '>' + + ^ +./test/errors/content1.xml:7: parser error : Content error in the internal subset + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..64b532c2a70761d6285f53e2df52e96ae64535d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/content1.xml.str @@ -0,0 +1,10 @@ +./test/errors/content1.xml:7: parser error : ContentDecl : ',' '|' or ')' expected + + ^ +./test/errors/content1.xml:7: parser error : expected '>' + + ^ +./test/errors/content1.xml:7: parser error : Content error in the internal subset + + ^ +./test/errors/content1.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..addb4bb7fe3113e2b9d0782d4ea94d049d512bd3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.ent @@ -0,0 +1,3 @@ +./test/errors/dup-xml-attr.xml:1: parser error : Attribute xml:lang redefined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..addb4bb7fe3113e2b9d0782d4ea94d049d512bd3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.err @@ -0,0 +1,3 @@ +./test/errors/dup-xml-attr.xml:1: parser error : Attribute xml:lang redefined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..8dd28e2c4222eb2d86b8a4c39314faa744cf0f5a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr.xml.str @@ -0,0 +1,4 @@ +./test/errors/dup-xml-attr.xml:1: parser error : Attribute xml:lang redefined + + ^ +./test/errors/dup-xml-attr.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..ab28d807a1624370723f0702bede24198b506b5b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.ent @@ -0,0 +1,9 @@ +./test/errors/dup-xml-attr2.xml:2: namespace error : Namespaced Attribute a in 'urn:a' redefined + + ^ +./test/errors/dup-xml-attr2.xml:2: namespace error : Namespaced Attribute a in 'urn:a' redefined + + ^ +./test/errors/dup-xml-attr2.xml:2: parser error : Attribute b:a redefined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..ab28d807a1624370723f0702bede24198b506b5b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.err @@ -0,0 +1,9 @@ +./test/errors/dup-xml-attr2.xml:2: namespace error : Namespaced Attribute a in 'urn:a' redefined + + ^ +./test/errors/dup-xml-attr2.xml:2: namespace error : Namespaced Attribute a in 'urn:a' redefined + + ^ +./test/errors/dup-xml-attr2.xml:2: parser error : Attribute b:a redefined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..45dbb9e162273df8c3bf2095d967a9ae458f74ce --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/dup-xml-attr2.xml.str @@ -0,0 +1,10 @@ +./test/errors/dup-xml-attr2.xml:2: namespace error : Namespaced Attribute a in 'urn:a' redefined + + ^ +./test/errors/dup-xml-attr2.xml:2: namespace error : Namespaced Attribute a in 'urn:a' redefined + + ^ +./test/errors/dup-xml-attr2.xml:2: parser error : Attribute b:a redefined + + ^ +./test/errors/dup-xml-attr2.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..922ca6ffe5bd94522e25400eca1944d2ef0545a0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.ent @@ -0,0 +1,3 @@ +./test/errors/empty.xml:1: parser error : Document is empty + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..922ca6ffe5bd94522e25400eca1944d2ef0545a0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.err @@ -0,0 +1,3 @@ +./test/errors/empty.xml:1: parser error : Document is empty + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..37ef17720bb8cdd9db306140e953890098d47fe8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/empty.xml.str @@ -0,0 +1,4 @@ +./test/errors/empty.xml:1: parser error : Document is empty + +^ +./test/errors/empty.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml new file mode 100644 index 0000000000000000000000000000000000000000..04216b65ce352ae2bc18dcecd662cec689ef3835 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml @@ -0,0 +1,3 @@ + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..b517d804777f42c2cf6352ac3007b7174f9f293c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.ent @@ -0,0 +1,3 @@ +./test/errors/ent_redecl.xml:2: parser warning : Invalid redeclaration of predefined entity 'lt' + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..b517d804777f42c2cf6352ac3007b7174f9f293c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.err @@ -0,0 +1,3 @@ +./test/errors/ent_redecl.xml:2: parser warning : Invalid redeclaration of predefined entity 'lt' + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..b517d804777f42c2cf6352ac3007b7174f9f293c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ent_redecl.xml.str @@ -0,0 +1,3 @@ +./test/errors/ent_redecl.xml:2: parser warning : Invalid redeclaration of predefined entity 'lt' + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/extparsedent.xml b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extparsedent.xml new file mode 100644 index 0000000000000000000000000000000000000000..07e4c54b63b570abd3bd7879e2df7054871d19f7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extparsedent.xml @@ -0,0 +1,5 @@ + + +]> +&c; diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/extparsedent.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extparsedent.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..b86594a116278d88fffa9fb07652b4e39fae13b9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extparsedent.xml.ent @@ -0,0 +1,3 @@ +./test/errors/extparsedent.xml:5: I/O warning : failed to load "/etc/doesnotexist": No such file or directory +&c; + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..7fedc44274d6ba556935b08fb50405876bd235bc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.ent @@ -0,0 +1,3 @@ +./test/errors/extra-content.xml:1: parser error : Extra content at the end of the document +x + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..7fedc44274d6ba556935b08fb50405876bd235bc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.err @@ -0,0 +1,3 @@ +./test/errors/extra-content.xml:1: parser error : Extra content at the end of the document +x + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..50d8b48e1b054322374138ff6afb3eb35ce2b98c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/extra-content.xml.str @@ -0,0 +1,4 @@ +./test/errors/extra-content.xml:1: parser error : Extra content at the end of the document +x + ^ +./test/errors/extra-content.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..e48002f2f53cb01c5464c41e81cb2e888dda25d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.ent @@ -0,0 +1,3 @@ +./test/errors/invalid-start-tag-1.xml:1: parser error : Start tag expected, '<' not found +x +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..e48002f2f53cb01c5464c41e81cb2e888dda25d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.err @@ -0,0 +1,3 @@ +./test/errors/invalid-start-tag-1.xml:1: parser error : Start tag expected, '<' not found +x +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..bbb49cb6914bab1349fac5e469cdbb6b34d9a0b1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-1.xml.str @@ -0,0 +1,4 @@ +./test/errors/invalid-start-tag-1.xml:1: parser error : Start tag expected, '<' not found +x +^ +./test/errors/invalid-start-tag-1.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..a71398d3692fea5feaf1c9f20a252b5e39037ab6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.ent @@ -0,0 +1,3 @@ +./test/errors/invalid-start-tag-2.xml:1: parser error : StartTag: invalid element name +< + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..a71398d3692fea5feaf1c9f20a252b5e39037ab6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.err @@ -0,0 +1,3 @@ +./test/errors/invalid-start-tag-2.xml:1: parser error : StartTag: invalid element name +< + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..da03e41ca52ef3a928464672f12dd5dcb7008867 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/invalid-start-tag-2.xml.str @@ -0,0 +1,4 @@ +./test/errors/invalid-start-tag-2.xml:1: parser error : StartTag: invalid element name +< + ^ +./test/errors/invalid-start-tag-2.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..a36dfeae0fa0793a34d5431cb92f2e1eb91bac00 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.ent @@ -0,0 +1,6 @@ +./test/errors/issue151.xml:8: parser error : StartTag: invalid element name + << + ^ +./test/errors/issue151.xml:8: parser error : StartTag: invalid element name + << + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..a36dfeae0fa0793a34d5431cb92f2e1eb91bac00 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.err @@ -0,0 +1,6 @@ +./test/errors/issue151.xml:8: parser error : StartTag: invalid element name + << + ^ +./test/errors/issue151.xml:8: parser error : StartTag: invalid element name + << + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..c1dc476296ddae36b2644c17aa0cc5fbc8eca5eb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/issue151.xml.str @@ -0,0 +1,4 @@ +./test/errors/issue151.xml:8: parser error : StartTag: invalid element name + << + ^ +./test/errors/issue151.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..4dbfc52f7624f15f40a89b4d4df3734088bd4f2f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.ent @@ -0,0 +1,3 @@ +./test/errors/name.xml:2: parser error : Couldn't find end of Start Tag foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo line 1 + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..4dbfc52f7624f15f40a89b4d4df3734088bd4f2f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.err @@ -0,0 +1,3 @@ +./test/errors/name.xml:2: parser error : Couldn't find end of Start Tag foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo line 1 + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..fd4af598b36779083e38a5dce8d7b5cabe9a36a6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name.xml.str @@ -0,0 +1,4 @@ +./test/errors/name.xml:2: parser error : Couldn't find end of Start Tag foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + +^ +./test/errors/name.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..8acef792455b3b1b5ead5b48ce8841f5d4177c12 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.ent @@ -0,0 +1,9 @@ +./test/errors/name2.xml:2: parser error : Specification mandates value for attribute foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + +^ +./test/errors/name2.xml:2: parser error : attributes construct error + +^ +./test/errors/name2.xml:2: parser error : Couldn't find end of Start Tag foo line 1 + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..8acef792455b3b1b5ead5b48ce8841f5d4177c12 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.err @@ -0,0 +1,9 @@ +./test/errors/name2.xml:2: parser error : Specification mandates value for attribute foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + +^ +./test/errors/name2.xml:2: parser error : attributes construct error + +^ +./test/errors/name2.xml:2: parser error : Couldn't find end of Start Tag foo line 1 + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..90f8c08efbbf4cd4c86762ed108bdeea66be9957 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name2.xml.str @@ -0,0 +1,10 @@ +./test/errors/name2.xml:2: parser error : Specification mandates value for attribute foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + +^ +./test/errors/name2.xml:2: parser error : attributes construct error + +^ +./test/errors/name2.xml:2: parser error : Couldn't find end of Start Tag foo + +^ +./test/errors/name2.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..3925f9da250e4db43671b6cf7cac83777d9ba818 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.ent @@ -0,0 +1,3 @@ +./test/errors/name3.xml:1: parser error : StartTag: invalid element name +<.name/> + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..3925f9da250e4db43671b6cf7cac83777d9ba818 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.err @@ -0,0 +1,3 @@ +./test/errors/name3.xml:1: parser error : StartTag: invalid element name +<.name/> + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..460b31a3652be02bde4a9c06da390dd48847fb03 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/name3.xml.str @@ -0,0 +1,4 @@ +./test/errors/name3.xml:1: parser error : StartTag: invalid element name +<.name/> + ^ +./test/errors/name3.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml new file mode 100644 index 0000000000000000000000000000000000000000..94f89b1754e86fff52e83b0bbce841d1ad1c44ad --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml @@ -0,0 +1,11 @@ + +"> +"> +]> + + &ent1; + &ent1; + &ent2; + &ent2; + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..e660f87e8010e06d8f20f908b5d6fe5a16233954 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.ent @@ -0,0 +1,5 @@ +./test/errors/ns-ent.xml:8: namespace error : Namespace prefix ns on elem is not defined + &ent2; + ^ + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..e660f87e8010e06d8f20f908b5d6fe5a16233954 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.err @@ -0,0 +1,5 @@ +./test/errors/ns-ent.xml:8: namespace error : Namespace prefix ns on elem is not defined + &ent2; + ^ + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..e660f87e8010e06d8f20f908b5d6fe5a16233954 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-ent.xml.str @@ -0,0 +1,5 @@ +./test/errors/ns-ent.xml:8: namespace error : Namespace prefix ns on elem is not defined + &ent2; + ^ + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml new file mode 100644 index 0000000000000000000000000000000000000000..4e8b91e58c964d0f4fa048223cea7c82fc28d762 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml @@ -0,0 +1,2 @@ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..a19fbe7e04b8809ce3601ccaf5380ebe7f11bb85 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.ent @@ -0,0 +1,3 @@ +./test/errors/ns-undeclared.xml:1: namespace error : Namespace prefix xLink for href on linearGradient is not defined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..a19fbe7e04b8809ce3601ccaf5380ebe7f11bb85 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.err @@ -0,0 +1,3 @@ +./test/errors/ns-undeclared.xml:1: namespace error : Namespace prefix xLink for href on linearGradient is not defined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..a19fbe7e04b8809ce3601ccaf5380ebe7f11bb85 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/ns-undeclared.xml.str @@ -0,0 +1,3 @@ +./test/errors/ns-undeclared.xml:1: namespace error : Namespace prefix xLink for href on linearGradient is not defined + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..eddbe4f5d4183b1d8345002021cb078473fb38c0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.ent @@ -0,0 +1,3 @@ +./test/errors/quadratic-defattr.xml:65: parser error : Maximum entity amplification factor exceeded, see xmlCtxtSetMaxAmplification. + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..eddbe4f5d4183b1d8345002021cb078473fb38c0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.err @@ -0,0 +1,3 @@ +./test/errors/quadratic-defattr.xml:65: parser error : Maximum entity amplification factor exceeded, see xmlCtxtSetMaxAmplification. + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..a6b4d80bb7941718f63a213348139fdc8ed6677d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/quadratic-defattr.xml.str @@ -0,0 +1,4 @@ +./test/errors/quadratic-defattr.xml:65: parser error : Maximum entity amplification factor exceeded, see xmlCtxtSetMaxAmplification. + + ^ +./test/errors/quadratic-defattr.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..375a0d6513c4cd11b74cb7feb6bbb8a0c2dd5c01 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.ent @@ -0,0 +1,6 @@ +./test/errors/rec_att_default.xml:3: parser error : Entity 'b' not defined + + ^ +./test/errors/rec_att_default.xml:6: parser error : Detected an entity reference loop + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..345058419d5d1c9eaeea97c579383b50cbaf1626 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.err @@ -0,0 +1,6 @@ +./test/errors/rec_att_default.xml:3: parser warning : Entity 'b' not defined + + ^ +./test/errors/rec_att_default.xml:6: parser error : Detected an entity reference loop + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..f8cdd3df67ec3026b7c4c6a83bf8ee31973f18c9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_att_default.xml.str @@ -0,0 +1,7 @@ +./test/errors/rec_att_default.xml:3: parser warning : Entity 'b' not defined + + ^ +./test/errors/rec_att_default.xml:6: parser error : Detected an entity reference loop + + ^ +./test/errors/rec_att_default.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_ext_ent.xml b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_ext_ent.xml new file mode 100644 index 0000000000000000000000000000000000000000..6a196cb560bc09f90c83c67dc8b2fe1243ca06c1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_ext_ent.xml @@ -0,0 +1,5 @@ + + +]> +&e; &e; &e; &e; diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_ext_ent.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_ext_ent.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..1b5f50f421ab7036cddb49e172a944a338b9e17b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/rec_ext_ent.xml.ent @@ -0,0 +1,3 @@ +test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop +&e; &e; &e; &e; + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..193a77a3b3f80e3d048c1380636928a121046955 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.ent @@ -0,0 +1,3 @@ +./test/errors/trailing-null-1.xml:1: parser error : Extra content at the end of the document + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..193a77a3b3f80e3d048c1380636928a121046955 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.err @@ -0,0 +1,3 @@ +./test/errors/trailing-null-1.xml:1: parser error : Extra content at the end of the document + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..09fab376b51fd6cf4677d48a951087704ce17308 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-1.xml.str @@ -0,0 +1,4 @@ +./test/errors/trailing-null-1.xml:1: parser error : Extra content at the end of the document + + ^ +./test/errors/trailing-null-1.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..434827554811246a91894df60ebf7f332ceebfe3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.ent @@ -0,0 +1,7 @@ +./test/errors/trailing-null-2.xml:1: parser error : Invalid character: Char 0x0 out of allowed range + + + ^ +./test/errors/trailing-null-2.xml:1: parser error : PCDATA invalid Char value 0 + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..434827554811246a91894df60ebf7f332ceebfe3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.err @@ -0,0 +1,7 @@ +./test/errors/trailing-null-2.xml:1: parser error : Invalid character: Char 0x0 out of allowed range + + + ^ +./test/errors/trailing-null-2.xml:1: parser error : PCDATA invalid Char value 0 + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..ff572b6c5cd7723330b8fece2da0fe896d11c9d8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/trailing-null-2.xml.str @@ -0,0 +1,8 @@ +./test/errors/trailing-null-2.xml:1: parser error : Invalid character: Char 0x0 out of allowed range + + + ^ +./test/errors/trailing-null-2.xml:1: parser error : PCDATA invalid Char value 0 + + ^ +./test/errors/trailing-null-2.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..f5be53cb213c02bd6b4fa1de47b037bf2affce29 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.ent @@ -0,0 +1,3 @@ +./test/errors/truncated-utf16.xml:1: parser error : Truncated multi-byte sequence at EOF + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..f5be53cb213c02bd6b4fa1de47b037bf2affce29 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.err @@ -0,0 +1,3 @@ +./test/errors/truncated-utf16.xml:1: parser error : Truncated multi-byte sequence at EOF + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..e45c57886124257b1b48ddff5c64f2945b26e236 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/truncated-utf16.xml.str @@ -0,0 +1,4 @@ +./test/errors/truncated-utf16.xml:1: parser error : Truncated multi-byte sequence at EOF + + ^ +./test/errors/truncated-utf16.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..1402055694f1b01e7980af6550c5b8f5dead1e10 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.ent @@ -0,0 +1,3 @@ +./test/errors/unclosed-element.xml:2: parser error : Premature end of data in tag d line 1 + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..1402055694f1b01e7980af6550c5b8f5dead1e10 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.err @@ -0,0 +1,3 @@ +./test/errors/unclosed-element.xml:2: parser error : Premature end of data in tag d line 1 + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..9d7f2e745dbf57be4f939d47cbfdb465320428fc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unclosed-element.xml.str @@ -0,0 +1,4 @@ +./test/errors/unclosed-element.xml:2: parser error : Premature end of data in tag d line 1 + +^ +./test/errors/unclosed-element.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..a275ec190a9dccc2577a3f4b18a7df88c6b68e44 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.ent @@ -0,0 +1,3 @@ +./test/errors/unsupported-encoding.xml:1: parser error : Unsupported encoding: unsupported-encoding + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..a275ec190a9dccc2577a3f4b18a7df88c6b68e44 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.err @@ -0,0 +1,3 @@ +./test/errors/unsupported-encoding.xml:1: parser error : Unsupported encoding: unsupported-encoding + + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..1f06d6087815b1466a430bff8bd13383bfbcedc4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/unsupported-encoding.xml.str @@ -0,0 +1,4 @@ +./test/errors/unsupported-encoding.xml:1: parser error : Unsupported encoding: unsupported-encoding + + ^ +./test/errors/unsupported-encoding.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..9ce2b93d6f1ea08b95f6de62a0c8a8574d385db4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.ent @@ -0,0 +1,6 @@ +./test/errors/utf8-1.xml:1: parser error : StartTag: invalid element name +..............................................................................<< + ^ +./test/errors/utf8-1.xml:1: parser error : StartTag: invalid element name +..............................................................................<< + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..9ce2b93d6f1ea08b95f6de62a0c8a8574d385db4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.err @@ -0,0 +1,6 @@ +./test/errors/utf8-1.xml:1: parser error : StartTag: invalid element name +..............................................................................<< + ^ +./test/errors/utf8-1.xml:1: parser error : StartTag: invalid element name +..............................................................................<< + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..8c6df1d737c8dfc6459faadd5dc5e1b985362952 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-1.xml.str @@ -0,0 +1,4 @@ +./test/errors/utf8-1.xml:1: parser error : StartTag: invalid element name +..............................................................................<< + ^ +./test/errors/utf8-1.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.ent b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.ent new file mode 100644 index 0000000000000000000000000000000000000000..c0e17220b84c927b7739acb9dce287078ddcb73b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.ent @@ -0,0 +1,6 @@ +./test/errors/utf8-2.xml:1: parser error : StartTag: invalid element name +.<<€€€€€€€€€€€€€€€€€€€€€€€€ + ^ +./test/errors/utf8-2.xml:2: parser error : Couldn't find end of Start Tag €€€€€€€€€€€€€€€€€€€€€€€€€ line 1 + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.err b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.err new file mode 100644 index 0000000000000000000000000000000000000000..c0e17220b84c927b7739acb9dce287078ddcb73b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.err @@ -0,0 +1,6 @@ +./test/errors/utf8-2.xml:1: parser error : StartTag: invalid element name +.<<€€€€€€€€€€€€€€€€€€€€€€€€ + ^ +./test/errors/utf8-2.xml:2: parser error : Couldn't find end of Start Tag €€€€€€€€€€€€€€€€€€€€€€€€€ line 1 + +^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.str b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.str new file mode 100644 index 0000000000000000000000000000000000000000..f8db7f7219661dddff26fe52ca0e86c7ee1c108e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/errors/utf8-2.xml.str @@ -0,0 +1,4 @@ +./test/errors/utf8-2.xml:1: parser error : StartTag: invalid element name +.<<€€€€€€€€€€€€€€€€€€€€€€€€ + ^ +./test/errors/utf8-2.xml : failed to parse diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/307377_0.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/307377_0.err new file mode 100644 index 0000000000000000000000000000000000000000..1f465bbedede9ff5859c0ea74dc0b1061a7c341f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/307377_0.err @@ -0,0 +1,2 @@ +./test/relaxng/307377_0.xml:1: element number: Relax-NG validity error : Element number failed to validate attributes +./test/relaxng/307377_0.xml fails to validate diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/492317_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/492317_1.err new file mode 100644 index 0000000000000000000000000000000000000000..177ee7b1a34bfbeb1059fc43409d029a4c6132af --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/492317_1.err @@ -0,0 +1 @@ +./test/relaxng/492317_1.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/choice0_3.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/choice0_3.err new file mode 100644 index 0000000000000000000000000000000000000000..c82345f241f1ecd564fbf06b91fd618001e08424 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/choice0_3.err @@ -0,0 +1 @@ +./test/relaxng/choice0_3.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/comps_0.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/comps_0.err new file mode 100644 index 0000000000000000000000000000000000000000..cdefe63911ae823e0f196f5098865c95725c31cb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/comps_0.err @@ -0,0 +1 @@ +./test/relaxng/comps_0.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/empty1_0.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/empty1_0.err new file mode 100644 index 0000000000000000000000000000000000000000..4c1a9af7e79c9669c64e23b9cce16c2cdfbdebae --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/empty1_0.err @@ -0,0 +1 @@ +./test/relaxng/empty1_0.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_1.err new file mode 100644 index 0000000000000000000000000000000000000000..361e1e881e6f0c6cb7f9791b8fd8545310a08551 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_1.err @@ -0,0 +1 @@ +./test/relaxng/tutor10_1_1.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_5.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_5.err new file mode 100644 index 0000000000000000000000000000000000000000..2ab8d904289ea442d4299044ad4e49acea37b047 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_5.err @@ -0,0 +1,2 @@ +./test/relaxng/tutor10_1_5.xml:1: element foo: Relax-NG validity error : Element foo has wrong namespace: expecting http://www.example.com +./test/relaxng/tutor10_1_5.xml fails to validate diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_6.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_6.err new file mode 100644 index 0000000000000000000000000000000000000000..cafeb154557b2cb2c1f12a4abec52acf70ab2b76 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_1_6.err @@ -0,0 +1,2 @@ +./test/relaxng/tutor10_1_6.xml:1: element foo: Relax-NG validity error : Element foo has wrong namespace: expecting http://www.example.com +./test/relaxng/tutor10_1_6.xml fails to validate diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_2_2.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_2_2.err new file mode 100644 index 0000000000000000000000000000000000000000..7e6ce313d3f364122b61ec13d29aa2146ed55e8c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_2_2.err @@ -0,0 +1 @@ +./test/relaxng/tutor10_2_2.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_8_3.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_8_3.err new file mode 100644 index 0000000000000000000000000000000000000000..ee0eb55bccb85f270dd471a890311ec4f64c5d23 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor10_8_3.err @@ -0,0 +1,2 @@ +./test/relaxng/tutor10_8_3.xml:2: element card: Relax-NG validity error : Element card failed to validate attributes +./test/relaxng/tutor10_8_3.xml fails to validate diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor11_2_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor11_2_1.err new file mode 100644 index 0000000000000000000000000000000000000000..eec60ec54bdf56b6c7d9dcc6995deea11ed455cb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor11_2_1.err @@ -0,0 +1 @@ +./test/relaxng/tutor11_2_1.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor11_3_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor11_3_1.err new file mode 100644 index 0000000000000000000000000000000000000000..de9db32ad7f351c5246410ba6cab1139fe99f10f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor11_3_1.err @@ -0,0 +1,2 @@ +./test/relaxng/tutor11_3.rng:1: element element: Relax-NG parser error : Attributes conflicts in group +Relax-NG schema ./test/relaxng/tutor11_3.rng failed to compile diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor13_1_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor13_1_1.err new file mode 100644 index 0000000000000000000000000000000000000000..3a3f2aeba99b395c66fa328ba7ed8c4447f4b51b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor13_1_1.err @@ -0,0 +1 @@ +./test/relaxng/tutor13_1_1.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor1_4_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor1_4_1.err new file mode 100644 index 0000000000000000000000000000000000000000..9dc35e68a788941beb8fa6e60ded41797fae0250 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor1_4_1.err @@ -0,0 +1 @@ +./test/relaxng/tutor1_4_1.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor3_2_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor3_2_1.err new file mode 100644 index 0000000000000000000000000000000000000000..380250a0e96cb7fbebf77d56252c4582a6e27cd2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor3_2_1.err @@ -0,0 +1,2 @@ +./test/relaxng/tutor3_2_1.xml:1: element email: Relax-NG validity error : Did not expect element email there +./test/relaxng/tutor3_2_1.xml fails to validate diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor4_3_5.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor4_3_5.err new file mode 100644 index 0000000000000000000000000000000000000000..cf7648063afc18788afe7233831b9d2f48befe1d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor4_3_5.err @@ -0,0 +1 @@ +./test/relaxng/tutor4_3_5.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_1_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_1_1.err new file mode 100644 index 0000000000000000000000000000000000000000..6cae548c43c71c4b959087494169b31440b4d5b9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_1_1.err @@ -0,0 +1 @@ +./test/relaxng/tutor7_1_1.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_2_3.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_2_3.err new file mode 100644 index 0000000000000000000000000000000000000000..baf119061605d739cda920cde415b9a48397f75b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_2_3.err @@ -0,0 +1 @@ +./test/relaxng/tutor7_2_3.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_3_3.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_3_3.err new file mode 100644 index 0000000000000000000000000000000000000000..49196752521f1c52ec107ec30d9667c5adf09fd5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor7_3_3.err @@ -0,0 +1 @@ +./test/relaxng/tutor7_3_3.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor8_1_1.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor8_1_1.err new file mode 100644 index 0000000000000000000000000000000000000000..578c396aff98e82133605a9c79d747e5c603bd94 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor8_1_1.err @@ -0,0 +1 @@ +./test/relaxng/tutor8_1_1.xml validates diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor8_2_5.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor8_2_5.err new file mode 100644 index 0000000000000000000000000000000000000000..c215d7633b8b074f9ab97a045b247bf991ace2a5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor8_2_5.err @@ -0,0 +1,4 @@ +./test/relaxng/tutor8_2_5.xml:1: element head: Relax-NG validity error : Expecting an element title, got nothing +./test/relaxng/tutor8_2_5.xml:1: element head: Relax-NG validity error : Invalid sequence in interleave +./test/relaxng/tutor8_2_5.xml:1: element head: Relax-NG validity error : Element head failed to validate content +./test/relaxng/tutor8_2_5.xml fails to validate diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor9_5_3.err b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor9_5_3.err new file mode 100644 index 0000000000000000000000000000000000000000..db5d0aec9ec8e5f20953904e9cf52cdfdb563264 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/relaxng/tutor9_5_3.err @@ -0,0 +1,2 @@ +./test/relaxng/tutor9_5_3.xml:2: element card: Relax-NG validity error : Invalid attribute error for element card +./test/relaxng/tutor9_5_3.xml fails to validate diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/scripts/base b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/base new file mode 100644 index 0000000000000000000000000000000000000000..f64231a5140dee4fe9529a5cacee5872c7d30251 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/base @@ -0,0 +1,4 @@ +/ > ./test/scripts/base.xml +/ > e > http://example.com/base/ +e > img > http://example.com/base/images/ +img > \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/scripts/base2 b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/base2 new file mode 100644 index 0000000000000000000000000000000000000000..93edf3769ed7a86dfb820dd1a74302fc80fdd93e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/base2 @@ -0,0 +1,4 @@ +/ > ./test/scripts/base2.xml +/ > e > test/scripts/html/ +e > img > test/scripts/images/ +img > \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set1 b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set1 new file mode 100644 index 0000000000000000000000000000000000000000..b4c2c9aced7ba988c8e153e9f074d396a40e8b86 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set1 @@ -0,0 +1,3 @@ +/ > / > + +/ > \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set3 b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set3 new file mode 100644 index 0000000000000000000000000000000000000000..812b35f8aea923d65fe93210314576cfabe8e6c9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set3 @@ -0,0 +1,12 @@ +/ > a > Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT a + default namespace href=bar +a > a > Object is a Node Set : +Set contains 2 nodes: +1 ELEMENT a + default namespace href=bar +2 ELEMENT b +a > + +a > \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set3.err b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set3.err new file mode 100644 index 0000000000000000000000000000000000000000..0dd77926c7db27ee653fffb981cf4d57605ae317 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set3.err @@ -0,0 +1,3 @@ +./test/scripts/set3.xml:1: namespace warning : xmlns: URI bar is not absolute +foo + ^ diff --git a/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set4 b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set4 new file mode 100644 index 0000000000000000000000000000000000000000..19e9a580736bc771d50a648bf4740f2ab25d3783 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/result/scripts/set4 @@ -0,0 +1,6 @@ +/ > b > b > Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT a:c +b > + +b > \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/URI/file.uri b/local-test-libxml2-delta-02/afc-libxml2/test/URI/file.uri new file mode 100644 index 0000000000000000000000000000000000000000..8d8b7a7918399d2f0747c1dc38db76ab98ac53da --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/URI/file.uri @@ -0,0 +1 @@ +file:///foo.txt diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/URI/port.uri b/local-test-libxml2-delta-02/afc-libxml2/test/URI/port.uri new file mode 100644 index 0000000000000000000000000000000000000000..4b22322868f3d5dc77906969a8c4b89daf3c4cce --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/URI/port.uri @@ -0,0 +1,2 @@ +nbd://:10888 +https://example.com:12345/ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/URI/smith.uri b/local-test-libxml2-delta-02/afc-libxml2/test/URI/smith.uri new file mode 100644 index 0000000000000000000000000000000000000000..6cc6c87545f17032758ef44c63edd886f4d3ad03 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/URI/smith.uri @@ -0,0 +1,15 @@ +/foo/../bar +foo/../bar +./foo/../bar +foo/./../bar +foo/bar/.././../baz +foo/.. +foo/bar/.. +./foo +././foo +.././foo./ +.././foo/. +/foo +../foo +../../foo +../../../foo diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/URI/uri.data b/local-test-libxml2-delta-02/afc-libxml2/test/URI/uri.data new file mode 100644 index 0000000000000000000000000000000000000000..0a2e46f2f070aaa9b7688a2236902f6dc371d5ec --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/URI/uri.data @@ -0,0 +1,21 @@ + +. +bar +bar#baz +bar?baz +bar?baz#baz2 +#baz +?baz +?baz#baz2 +../up.a.notch.html#wow +../up.a.notch.html?wow +../up.a.notch.html?wow#wow2 +/root.cgi#OK +/root.cgi?OK +/root.cgi?OK#OK2 +http://elsewhere.com/#deep +http://elsewhere.com/?deep +http://elsewhere.com/?deep#deep2 +//elsewhere.com/bar +//elsewhere.com:8080/bar +//:8080 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/AttributeDefaultLegal b/local-test-libxml2-delta-02/afc-libxml2/test/VC/AttributeDefaultLegal new file mode 100644 index 0000000000000000000000000000000000000000..471eb2015d846287fc9fd0e3ad34590ab4dc0c0e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/AttributeDefaultLegal @@ -0,0 +1,12 @@ + + + + + + + + +]> + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/AttributeNmtokens b/local-test-libxml2-delta-02/afc-libxml2/test/VC/AttributeNmtokens new file mode 100644 index 0000000000000000000000000000000000000000..8710de48023d9a55259e1678267143abb96bf67f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/AttributeNmtokens @@ -0,0 +1,6 @@ + + +]> + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/DuplicateType b/local-test-libxml2-delta-02/afc-libxml2/test/VC/DuplicateType new file mode 100644 index 0000000000000000000000000000000000000000..4b288048f36ce3d1840486e7238d8d3853f810e6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/DuplicateType @@ -0,0 +1,5 @@ + + +]> + violates [ VC: No Duplicate Types ] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid new file mode 100644 index 0000000000000000000000000000000000000000..c297ce63adfb126a4b472503efa915046a2aac37 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid @@ -0,0 +1,3 @@ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid2 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid2 new file mode 100644 index 0000000000000000000000000000000000000000..672a0f52da8f873ae2a430c4861a00e35e3b00e5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid2 @@ -0,0 +1,4 @@ + +]> +

    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid3 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid3 new file mode 100644 index 0000000000000000000000000000000000000000..67cbab48c37d891d2dfd46738694509e3270a1a2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid3 @@ -0,0 +1,4 @@ + +]> +Oops, this element was declared EMPTY diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid4 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid4 new file mode 100644 index 0000000000000000000000000000000000000000..56df55a2fe615e1aeb7066e3a0afb47c57f553b2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid4 @@ -0,0 +1,7 @@ + + + + +]> + This seems Ok but this was not declared diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid5 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid5 new file mode 100644 index 0000000000000000000000000000000000000000..2cef3c49f08940155ccb845e502fa4e29a70cb0c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid5 @@ -0,0 +1,7 @@ + + + + +]> + but thiswas not declaredseems diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid6 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid6 new file mode 100644 index 0000000000000000000000000000000000000000..fbf721dc8c6ffb87f98a4135cc2af77692ef877a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid6 @@ -0,0 +1,7 @@ + + + + +]> +lacks c diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid7 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid7 new file mode 100644 index 0000000000000000000000000000000000000000..a88115f386d23dc6c43da601507ac45bf24e88b7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid7 @@ -0,0 +1,7 @@ + + + + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid8 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid8 new file mode 100644 index 0000000000000000000000000000000000000000..5fd204403d5fbd28ef6d835691ccc3411f3c3929 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/ElementValid8 @@ -0,0 +1,7 @@ + + + + +]> + doc is non-deterministic diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/Enumeration b/local-test-libxml2-delta-02/afc-libxml2/test/VC/Enumeration new file mode 100644 index 0000000000000000000000000000000000000000..6c6396801014f0d2075816f70c9e62d279c14733 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/Enumeration @@ -0,0 +1,5 @@ + + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS1 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS1 new file mode 100644 index 0000000000000000000000000000000000000000..2f7446322f671ec5b4c57d8ed728d70b390804b8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS1 @@ -0,0 +1,13 @@ + + + + +]> + + + first line + second line + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS2 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS2 new file mode 100644 index 0000000000000000000000000000000000000000..d748d1a4119602a2421b1cef21591f17c2f96f24 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS2 @@ -0,0 +1,13 @@ + + + + +]> + + + first line + second line + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS3 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS3 new file mode 100644 index 0000000000000000000000000000000000000000..f53b0ca9faf40cc6a6215d324db5d1d638b109a9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/NS3 @@ -0,0 +1,9 @@ + + + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID b/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID new file mode 100644 index 0000000000000000000000000000000000000000..e9cbc0c85fc1a00f40c65d0c81ba8f25f6fbd861 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID @@ -0,0 +1,6 @@ + + + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID2 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID2 new file mode 100644 index 0000000000000000000000000000000000000000..ffa9d1fa157cb1c883ae24ae128116e2f727e27a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID2 @@ -0,0 +1,6 @@ + + + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID3 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID3 new file mode 100644 index 0000000000000000000000000000000000000000..96967360aa244fbac8539907bb40b22f0b7c629e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/OneID3 @@ -0,0 +1,4 @@ + +]> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/PENesting b/local-test-libxml2-delta-02/afc-libxml2/test/VC/PENesting new file mode 100644 index 0000000000000000000000000000000000000000..17332ae88c0f24b751607162a91c421c0e42bb10 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/PENesting @@ -0,0 +1,2 @@ + "> + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/UniqueElementTypeDeclaration b/local-test-libxml2-delta-02/afc-libxml2/test/VC/UniqueElementTypeDeclaration new file mode 100644 index 0000000000000000000000000000000000000000..2246f1770e21116df245cab46c8a3f5a0e15a7a7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/UniqueElementTypeDeclaration @@ -0,0 +1,7 @@ + + + + +]> + violates [ VC: Unique Element Type Declaration ] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/UniqueElementTypeDeclaration2 b/local-test-libxml2-delta-02/afc-libxml2/test/VC/UniqueElementTypeDeclaration2 new file mode 100644 index 0000000000000000000000000000000000000000..0805f8dcbf2510add91197a42eae51d4f380111e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/UniqueElementTypeDeclaration2 @@ -0,0 +1,8 @@ + + + + + +]> + violates [ VC: Unique Element Type Declaration ] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/dtds/a.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/VC/dtds/a.dtd new file mode 100644 index 0000000000000000000000000000000000000000..b8571a4fa91c2e73fb8b7a99588135e62deca1f3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/dtds/a.dtd @@ -0,0 +1,2 @@ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/VC/dtds/doc.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/VC/dtds/doc.dtd new file mode 100644 index 0000000000000000000000000000000000000000..71f8b41251c8ae1414e78dc30e49a72b66c6f2d6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/VC/dtds/doc.dtd @@ -0,0 +1,2 @@ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/base.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/base.xml new file mode 100644 index 0000000000000000000000000000000000000000..9bf5866faba6cc593182b7abb464a1fad0dc6766 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/base.xml @@ -0,0 +1,4 @@ + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/coalesce.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/coalesce.xml new file mode 100644 index 0000000000000000000000000000000000000000..33d5cb64a04c159d1722c3b4e577ea88fdf99abf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/coalesce.xml @@ -0,0 +1,4 @@ + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/docids.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/docids.xml new file mode 100644 index 0000000000000000000000000000000000000000..7791620239abf5230c50bd14381640b4dbef5e7f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/docids.xml @@ -0,0 +1,15 @@ + + + + +]> + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback.xml new file mode 100644 index 0000000000000000000000000000000000000000..d6586aec1a89e3a96d010ff3388aa234d3401536 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback.xml @@ -0,0 +1,6 @@ + + + + Inclusion failed + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback2.xml new file mode 100644 index 0000000000000000000000000000000000000000..dac71f9b1f2528dac867661ea55b24b3462d7394 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback2.xml @@ -0,0 +1,10 @@ + + + There is no b.xml ... + + + There is no c.xml ... + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback3.xml new file mode 100644 index 0000000000000000000000000000000000000000..0c8b6c9ec57de5d0dc4991378905e39c65e55b84 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback3.xml @@ -0,0 +1,9 @@ + + + + + There is no c.xml ... + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback4.xml new file mode 100644 index 0000000000000000000000000000000000000000..b500a635fb562db6365d8b6411a0b9551836a301 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback4.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback5.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback5.xml new file mode 100644 index 0000000000000000000000000000000000000000..d3ad42461e830a687c855bf2a107a371c9bcbd3b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback5.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback6.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback6.xml new file mode 100644 index 0000000000000000000000000000000000000000..cb12ff96c5f37d76bc74ff4e624d53effa3b86ab --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback6.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback8.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback8.xml new file mode 100644 index 0000000000000000000000000000000000000000..102ccfc0fc66e2fb043f5967fc208f7e317f00f3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/fallback8.xml @@ -0,0 +1,7 @@ + + + + text not found + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/include.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/include.xml new file mode 100644 index 0000000000000000000000000000000000000000..806ac23d665e9d92989ffa579e235813d3aca6b7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/include.xml @@ -0,0 +1,4 @@ + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/invalid_char.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/invalid_char.xml new file mode 100644 index 0000000000000000000000000000000000000000..28e5a48622f1be18a3b98bbbaafb26a3d6309da7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/invalid_char.xml @@ -0,0 +1,3 @@ + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/issue733.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/issue733.xml new file mode 100644 index 0000000000000000000000000000000000000000..2fc5616a1990ea01d03a36e59ab4b708fa1b6e5e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/issue733.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes.xml new file mode 100644 index 0000000000000000000000000000000000000000..d0ccab99089590f0ce6b1357a69889ba94daef02 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes.xml @@ -0,0 +1,4 @@ + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes2.xml new file mode 100644 index 0000000000000000000000000000000000000000..32f8cfe8e2f3d3b667aa3cb85a490e18ce006a0c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes2.xml @@ -0,0 +1,4 @@ + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes3.xml new file mode 100644 index 0000000000000000000000000000000000000000..355c5488b622b686e96cd1d6f8fbbf9123372ad7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/nodes3.xml @@ -0,0 +1,4 @@ + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/recursive.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/recursive.xml new file mode 100644 index 0000000000000000000000000000000000000000..a9285acca2b2f4efa1afeabcbccb437aef031960 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/recursive.xml @@ -0,0 +1,3 @@ + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/red.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/red.xml new file mode 100644 index 0000000000000000000000000000000000000000..75ee396d74c520646f2f8cc337286487c84a614b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/red.xml @@ -0,0 +1,10 @@ + + + + Introduction + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/tstencoding.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/tstencoding.xml new file mode 100644 index 0000000000000000000000000000000000000000..b1309a9f876b447df63e76af1f784f99814be2db --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/tstencoding.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/txtinclude.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/txtinclude.xml new file mode 100644 index 0000000000000000000000000000000000000000..f1af6a26bf5a9d568cd3a0af3993ed7a90d6a8a0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/docs/txtinclude.xml @@ -0,0 +1,4 @@ + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/base-inc.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/base-inc.xml new file mode 100644 index 0000000000000000000000000000000000000000..eade863d3cee26cd141c809a77eae3d1bdbc109c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/base-inc.xml @@ -0,0 +1,14 @@ + + + http://example.org/one/two + + + ents/one/two2 + + + ents/one2/two + + + docs/one/two/three/four + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/coalesce1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/coalesce1.xml new file mode 100644 index 0000000000000000000000000000000000000000..bba7b696dc0c928c8c80df1ce39b6277c653209b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/coalesce1.xml @@ -0,0 +1,5 @@ + + start + + end + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/ids.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/ids.xml new file mode 100644 index 0000000000000000000000000000000000000000..819323172f426b207555a4603fdf5ab0da5e9649 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/ids.xml @@ -0,0 +1,10 @@ + + + +]> + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/inc.txt b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/inc.txt new file mode 100644 index 0000000000000000000000000000000000000000..d5cdd7ccb2f8f0e19dd9d6a6c34888bf0e0e68e7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/inc.txt @@ -0,0 +1 @@ +is a test diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/invalid_char.txt b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/invalid_char.txt new file mode 100644 index 0000000000000000000000000000000000000000..ae0661895050b22706208fc90240394a856e7185 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/invalid_char.txt @@ -0,0 +1 @@ +invalid: ÿ \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/isolatin.txt b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/isolatin.txt new file mode 100644 index 0000000000000000000000000000000000000000..d1dbf70711b5bab2c325392120f7d66ded33a0df --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/isolatin.txt @@ -0,0 +1 @@ +test with accents in ISO-8859-1: À Á é è diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..38729d69f6a662afd21fcca4314078ad391f4592 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733-1.xml @@ -0,0 +1,4 @@ + + + Content 1 + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..924451bb4f663b1d0279decbc4ef7f021b92033e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733-2.xml @@ -0,0 +1,5 @@ + + + Content 2 + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733.dtd new file mode 100644 index 0000000000000000000000000000000000000000..21873e1c533f440948b11acf0c046aaea277d382 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/issue733.dtd @@ -0,0 +1 @@ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/something.txt b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/something.txt new file mode 100644 index 0000000000000000000000000000000000000000..48c21b7affeb6fb951775700b150746e0a8e2efb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/something.txt @@ -0,0 +1 @@ +this is some text in ASCII diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/something.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/something.xml new file mode 100644 index 0000000000000000000000000000000000000000..9bba6834622f025e145c96af04a4b5255e5251e5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/something.xml @@ -0,0 +1,5 @@ + +

    something

    +

    really

    +

    simple

    +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/sub-inc.ent b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/sub-inc.ent new file mode 100644 index 0000000000000000000000000000000000000000..7726c9d82b4efa2904f8adefef7e04e6782ec53c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/ents/sub-inc.ent @@ -0,0 +1,2 @@ + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/fallback7.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/fallback7.xml new file mode 100644 index 0000000000000000000000000000000000000000..7ddf9366faee2adef4749a994e3bdfacf3f36f67 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/fallback7.xml @@ -0,0 +1,12 @@ + + text + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/issue424-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/issue424-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..8b6aa93b08a14a60a1a6f063749615ab0ec67003 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/issue424-1.xml @@ -0,0 +1,5 @@ + +

    Something

    + + +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/issue424-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/issue424-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..e61eabab339d1a2f60cbf1d1eb2029e954757d53 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/issue424-2.xml @@ -0,0 +1,5 @@ + +

    Something

    + + +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/loop.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/loop.xml new file mode 100644 index 0000000000000000000000000000000000000000..99a7e0b41695c42b812f1902392c9662cfbc8fee --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/loop.xml @@ -0,0 +1,4 @@ + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/max-recurse.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/max-recurse.xml new file mode 100644 index 0000000000000000000000000000000000000000..cfe14bdba4615aa4759d84229f50373068492d5d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/max-recurse.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/ns1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/ns1.xml new file mode 100644 index 0000000000000000000000000000000000000000..7523f4a9f021d0be01134b2f8a233f9e4886fe85 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XInclude/without-reader/ns1.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/chapters b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/chapters new file mode 100644 index 0000000000000000000000000000000000000000..c48f65e50e939c433be34c46b72aedf5c52d2db3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/chapters @@ -0,0 +1,28 @@ + + + + Welcome to Gnome + + + The Linux adventure +

    bla bla bla ...

    + +

    ...

    +
    + + Chapter 2 +

    this is chapter 2 ...

    +
    + + Chapter 3 +

    this is chapter 3 ...

    +
    + + Chapter 4 +

    this is chapter 4 ...

    +
    + + Chapter 5 +

    this is chapter 5 ...

    +
    +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/id b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/id new file mode 100644 index 0000000000000000000000000000000000000000..4b6659ff455432b4aea33998873f99c2da443255 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/id @@ -0,0 +1,28 @@ + + + + Welcome to Gnome + + + The Linux adventure +

    bla bla bla ...

    + +

    ...

    +
    + + Chapter 2 +

    this is chapter 2 ...

    +
    + + Chapter 3 +

    this is chapter 3 ...

    +
    + + Chapter 4 +

    this is chapter 4 ...

    +
    + + Chapter 5 +

    this is chapter 5 ...

    +
    +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/issue289 b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/issue289 new file mode 100644 index 0000000000000000000000000000000000000000..67bb11403c3002608dcfd9a07dd3b27a0be5b754 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/issue289 @@ -0,0 +1,3 @@ + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/lang b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/lang new file mode 100644 index 0000000000000000000000000000000000000000..abfe1d6b8d6a9023a4ca16ee3e0db0f75eef0dcb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/lang @@ -0,0 +1,13 @@ + + 1 + + en + 3 + + 4 + +
    + + + +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/mixed b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/mixed new file mode 100644 index 0000000000000000000000000000000000000000..3b457bc8ce9307a966da5eeb1cc3fc2e3fe771b8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/mixed @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/nodes b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/nodes new file mode 100644 index 0000000000000000000000000000000000000000..a863df0ba5ecc1aaab48ffb72faa103b44c5e2ee --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/nodes @@ -0,0 +1,2 @@ + +txttxt \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/ns b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/ns new file mode 100644 index 0000000000000000000000000000000000000000..2338a6fe0ce28f53a8966266065d42a168356b7b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/ns @@ -0,0 +1,5 @@ + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/simple b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/simple new file mode 100644 index 0000000000000000000000000000000000000000..ca665a24a0d8ed1d08b8059b0b5850cf0750da49 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/simple @@ -0,0 +1,12 @@ + + + + Welcome to Gnome + + + The Linux adventure +

    bla bla bla ...

    + +

    ...

    +
    +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/str b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/str new file mode 100644 index 0000000000000000000000000000000000000000..449de015cdd3aa401ebd48ad8efb16129059d095 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/str @@ -0,0 +1,11 @@ + + +

    a simple test

    +

    multiple tests

    +

    a difficult one

    +

    a span

    n

    ing one

    +

    and an unbal

    anced test

    +

    for empty string 123

    +

    abc

    +

    abc

    +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/unicode b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/unicode new file mode 100644 index 0000000000000000000000000000000000000000..8be1ea26cdf4089241d975fb3e96bfb94ddf0f8f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/unicode @@ -0,0 +1 @@ +<文書>text1 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/usr1 b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/usr1 new file mode 100644 index 0000000000000000000000000000000000000000..44c7529b6144a6a4325d0783aeaf8b9f1774738f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/usr1 @@ -0,0 +1,12 @@ + + + + + + + + +N + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/vid b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/vid new file mode 100644 index 0000000000000000000000000000000000000000..cdb7437f0b4d3dc3fd5269dba949aafd028d130d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/docs/vid @@ -0,0 +1,43 @@ + + + + + + + + + + + +]> + + + + Welcome to Gnome + + + The Linux adventure +

    bla bla bla ...

    + +

    ...

    +

    third p

    +

    fourth p

    +
    + + Chapter 2 +

    this is chapter 2 ...

    +
    + + Chapter 3 +

    this is chapter 3 ...

    +
    + + Chapter 4 +

    this is chapter 4 ...

    +
    + + Chapter 5 +

    this is chapter 5 ...

    +
    +
    diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/base b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/base new file mode 100644 index 0000000000000000000000000000000000000000..cc18735697b91e897957287d73f61b6a7814340f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/base @@ -0,0 +1,17 @@ +1 +1+2 +2*3 +1+2*3+4 +(1+2)*(3+4) +1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1 +0.000000000000000000000000000000000000000000000000001 +-0.000000000000000000000000000000000000000000000000001 +1e2147483648 +1e4294967296 +1e9223372036854775808 +1e18446744073709551616 +1e-2147483649 +1e-4294967296 +1e-9223372036854775809 +1e-18446744073709551616 +self::-name diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/compare b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/compare new file mode 100644 index 0000000000000000000000000000000000000000..2d52eaf35602378b98b3e111a4a243bc9fb9e18d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/compare @@ -0,0 +1,46 @@ +0<0 +0<=0 +0>0 +0>=0 +0<1 +0<=1 +0>1 +0>=1 +1<0 +1<=0 +1>0 +1>=0 +1<1 +1<=1 +1>1 +1>=1 +'0'<1 +'0'<=1 +'0'>1 +'0'>=1 +0<'1.2' +0<='1.2' +0>'1.2' +0>='1.2' +0<'-0.2' +0<='-0.2' +0>'-0.2' +0>='-0.2' +false()<1 +false()<=1 +0>true() +0>=true() +'a' > 'a' +'a' > 'b' +'b' > 'a' +'a' < 'a' +'a' < 'b' +'b' < 'a' +'a' >= 'a' +'a' >= 'b' +'b' >= 'a' +'a' <= 'a' +'a' <= 'b' +'b' <= 'a' +'a' > '0.0' +'a' < '0.0' diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/equality b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/equality new file mode 100644 index 0000000000000000000000000000000000000000..798217310af4eaf58bf806abfebae5aeba8c1a80 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/equality @@ -0,0 +1,26 @@ +1=1 +1!=1 +1=0 +1!=0 +true()=true() +true()!=true() +true()=false() +false()!=true() +'test'='test' +'test'!='test' +'test2'='test' +'test2'!='test' +false()=0 +false()!=0 +false()=1 +false()!=1 +0=true() +0!=true() +1=true() +1!=true() +true()='test' +false()='test' +'test'!=true() +'test'!=false() +'a'=0.0 +'a'!=0.0 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/floats b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/floats new file mode 100644 index 0000000000000000000000000000000000000000..b4475240d2a92d38359eee5aa674efdb3ea71f76 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/floats @@ -0,0 +1,63 @@ +1 +123 +1.23 +0.123 +4. +.4 +1.23e3 +1.23e-3 +1 div 0 +-1 div 0 +0 div 0 +1 div -0 +(1 div 0) > 0 +(1 div 0) < 0 +(-1 div 0) > 0 +(-1 div 0) < 0 +(0 div 0) > 0 +(0 div 0) < 0 +(1 div -0) > 0 +(1 div -0) < 0 +0 div 0 = 0 div 0 +0 div 0 != 0 div 0 +0 div 0 > 0 div 0 +0 div 0 < 0 div 0 +0 div 0 >= 0 div 0 +0 div 0 <= 0 div 0 +1 div 0 = -1 div 0 +1 div 0 != -1 div 0 +1 div 0 > -1 div 0 +1 div 0 < -1 div 0 +1 div 0 >= -1 div 0 +1 div 0 <= -1 div 0 +1 div 0 = 1 div 0 +1 div 0 != 1 div 0 +1 div 0 > 1 div 0 +1 div 0 < 1 div 0 +1 div 0 >= -1 div 0 +1 div 0 <= -1 div 0 +-2 div 0 = -1 div 0 +1 div floor(0.1) +1 div floor(-0.1) +1 div floor(-0) +1 div floor(0) +1 div ceiling(0.1) +1 div ceiling(-0.1) +1 div ceiling(-0) +1 div ceiling(0) +1 div round(0.1) +1 div round(-0.1) +1 div round(-0) +1 div round(0) +1 div number('f') +number('f') div 1 +1 div (1 div 0) +(1 div 0) div 1 +-(1 div 0) div 1 +5 mod 2 +5 mod -2 +-5 mod 2 +-5 mod -2 +8 mod 3 = 2 +12345678901234567890 +-12345678901234567890 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/functions b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/functions new file mode 100644 index 0000000000000000000000000000000000000000..6008a07ff4e0db77f85c7e7625cca05f7e0473f0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/functions @@ -0,0 +1,43 @@ +true() +false() +number("1.5") +number('abc') +-number('abc') +number('-') +floor(0.1) +floor(-0.1) +floor(-0) +floor(0) +floor(5.2) +floor(-5.2) +floor(100000000000000000000) +floor(-100000000000000000000) +floor(0 div 0) +floor(1 div 0) +floor(-1 div 0) +ceiling(0.1) +ceiling(-0.1) +ceiling(-0) +ceiling(0) +ceiling(5.2) +ceiling(-5.2) +ceiling(100000000000000000000) +ceiling(-100000000000000000000) +ceiling(0 div 0) +ceiling(1 div 0) +ceiling(-1 div 0) +round(0.1) +round(5.2) +round(5.5) +round(5.6) +round(-0.1) +round(-5.2) +round(-5.5) +round(-5.6) +round(0.5) +round(-0.5) +round(100000000000000000000) +round(-100000000000000000000) +round(0 div 0) +round(1 div 0) +round(-1 div 0) diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/strings b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/strings new file mode 100644 index 0000000000000000000000000000000000000000..04ae15f3c6f767f4e8dc64e7c6122da21cb135d7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/expr/strings @@ -0,0 +1,50 @@ +string(5) +string(0.5) +string(-0.5) +string(true()) +string(false()) +string(12345678901234567890) +string(-12345678901234567890) +concat("titi","toto") +concat("titi","toto","tata") +concat("titi",'toto') +concat("titi",'toto',"tata","last") +starts-with("tititoto","titi") +starts-with("tititoto","to") +contains("tititototata","titi") +contains("tititototata","toto") +contains("tititototata","tata") +contains("tititototata","tita") +substring("12345",2,3) +substring("12345",2) +substring("12345",-4) +substring("12345",3.4) +substring("12345",3.6) +substring("12345",1.5,2.6) +substring("12345",2.2,2.2) +substring("12345",0,3) +substring("12345",-8,10) +substring("12345",4,-10) +substring("12345",0 div 0, 3) +substring("12345",1, 0 div 0) +substring("12345",1 div 0, 3) +substring("12345",3,-1 div 0) +substring("12345",-42, 1 div 0) +substring("12345",-1 div 0, 1 div 0) +substring("12345",-1 div 0,5) +substring("12345",-0.7,4) +substring("12345",-5000000000,5000000004) +substring-after("12345678","345") +substring-after("12345678","999") +substring-before("12345678","345") +substring-before("12345678","999") +string-length("") +string-length("titi") +normalize-space(" abc def ") +normalize-space(" abc def") +normalize-space("abc def ") +normalize-space(" abcdef ") +normalize-space(" abcdef") +normalize-space("abcdef ") + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/chaptersbase b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/chaptersbase new file mode 100644 index 0000000000000000000000000000000000000000..49900f09615ef798b829e0b4b7eb69f4e08bae2c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/chaptersbase @@ -0,0 +1,17 @@ +/child::EXAMPLE +/child::* +/child::EXAMPLE/child::head +/child::EXAMPLE/child::* +/child::EXAMPLE/child::head/child::title +/child::EXAMPLE/child::head/child::title/child::text() +/child::EXAMPLE/child::head/node() +/descendant::title +/descendant::p/ancestor::chapter +//p[1] +//p[0 div 0] +//p[100000000000000000000] +//p[-100000000000000000000] +//chapter[true()][position() mod 2 = 1][true()][2] +//chapter[true()][2][true()] +//node()[false()] +(//node())[false()] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/chaptersprefol b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/chaptersprefol new file mode 100644 index 0000000000000000000000000000000000000000..8f1e65b686ee984d94460815c050bb0a2b558208 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/chaptersprefol @@ -0,0 +1,8 @@ +/following::* +/preceding::* +/child::EXAMPLE/preceding::* +/child::EXAMPLE/following::* +/child::EXAMPLE/child::chapter[3]/preceding::* +/child::EXAMPLE/child::chapter[3]/following::* +/child::EXAMPLE/child::chapter[1]/image/preceding::* +/child::EXAMPLE/child::chapter[1]/image/following::* diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/idsimple b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/idsimple new file mode 100644 index 0000000000000000000000000000000000000000..2841ae95380f42990ef100708598fc2243591bbf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/idsimple @@ -0,0 +1,3 @@ +//*[@id="root"] +//*[@id="chapter2"] +//*[@id="chapter5"] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/langsimple b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/langsimple new file mode 100644 index 0000000000000000000000000000000000000000..f71a321fcc486d01f627897eaf94fd63ea395eee --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/langsimple @@ -0,0 +1,5 @@ +//*[lang('en')] +//*[lang('en-us')] +//*[lang('en-gb')] +//*[lang('fr')] +//*[lang('')] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/mixedpat b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/mixedpat new file mode 100644 index 0000000000000000000000000000000000000000..c212f6cd4d7970ac79a1b7a9d964544c8c930ae2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/mixedpat @@ -0,0 +1,7 @@ +s +s|p1/s +s|/root/p1/s +/root/p1/s|s +//s +//s|p1 +p1|//s diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/nodespat b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/nodespat new file mode 100644 index 0000000000000000000000000000000000000000..c157a3e67a2fd7dea9bb1ac258ee4d44f2728f0c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/nodespat @@ -0,0 +1,5 @@ +/. +//. +/root//. +//.//./././/. +/root//././/bar//. \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/nssimple b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/nssimple new file mode 100644 index 0000000000000000000000000000000000000000..8b343a30b043858cf90f67263ff33e02cbeec7e1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/nssimple @@ -0,0 +1,5 @@ +/doc/elem/namespace::node()/.. +/doc/elem/namespace::*/self::node()[true()] +//*[namespace::ns1] +/doc/elem/namespace::ns2/following::* +/doc/elem/namespace::ns2/preceding::* diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/simpleabbr b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/simpleabbr new file mode 100644 index 0000000000000000000000000000000000000000..8de476fed52a143871d9fffd234289d5bdce476f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/simpleabbr @@ -0,0 +1,10 @@ +/EXAMPLE +/EXAMPLE/head +/EXAMPLE/chapter[1] +//p +//chapter/image +//p/text() +//p/text()[position()=1] +//p/text()[position()=last()] +(//p/text())[position()=1] +(//p/text())[position()=last()] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/simplebase b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/simplebase new file mode 100644 index 0000000000000000000000000000000000000000..7b302af2202297757a02574b149dbcd707ed2152 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/simplebase @@ -0,0 +1,16 @@ +/child::* +/child::EXAMPLE +/child::EXAMPLE/child::head +/child::EXAMPLE/child::* +/child::EXAMPLE/child::head/child::title +/child::EXAMPLE/child::head/child::title/child::text() +/child::EXAMPLE/child::head/node() +/child::EXAMPLE/attribute::prop1/self::node() +/child::EXAMPLE/attribute::prop1/self::* +/child::EXAMPLE/attribute::prop1/descendant-or-self::node() +/child::EXAMPLE/attribute::prop1/descendant-or-self::* +/child::EXAMPLE/attribute::prop1/ancestor-or-self::node() +/child::EXAMPLE/attribute::prop1/ancestor-or-self::* +/descendant::title +/descendant::p/ancestor::chapter +/child::EXAMPLE/attribute::prop2/preceding::text() diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/strbase b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/strbase new file mode 100644 index 0000000000000000000000000000000000000000..b81832537960e9a3feb783a4c706dd2c8b9caee4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/strbase @@ -0,0 +1 @@ +//p[.='abc'] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/unicodesimple b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/unicodesimple new file mode 100644 index 0000000000000000000000000000000000000000..d53f4f5f470872488d1e25f21f53397452a7eb32 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/unicodesimple @@ -0,0 +1 @@ +/文書 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/usr1check b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/usr1check new file mode 100644 index 0000000000000000000000000000000000000000..c38d003e31bf521078cf31bc6444adb475058cd8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/usr1check @@ -0,0 +1 @@ +//ITEM[1] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/vidbase b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/vidbase new file mode 100644 index 0000000000000000000000000000000000000000..5cd79ac654ce5846fd09e3734096bd49dd6da6bc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/tests/vidbase @@ -0,0 +1,5 @@ +id('chapter1') +id('chapter3') +id('chapter1')/p +id('chapter1')//p +id('chapter1')/p[1] diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/chapterschildseq b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/chapterschildseq new file mode 100644 index 0000000000000000000000000000000000000000..3b52f5f2d719fcadb63b03f81dfe82612a21b131 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/chapterschildseq @@ -0,0 +1,8 @@ +/1/2/3 +element(/1/2/3) +element(foo)element(/1/2/3) +element(/1/2/3)element(foo) +chapter1/3 +element(chapter1/3) +element(foo)element(chapter1/3) +element(chapter1/3)element(foo) diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/chaptersparts b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/chaptersparts new file mode 100644 index 0000000000000000000000000000000000000000..8b203576de63723d6af3716c64196281c60fdfbb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/chaptersparts @@ -0,0 +1,6 @@ +xpath1(//chapitre[2]) +xpath1(//chapter[2]) +xpath1(//chapitre[2])xpath1(//chapter[2]) +xpath1(id("chapter1")) +xpath1(//*[@id="chapter1"]) +xpath1(id("chapter1"))xpath1(//*[@id="chapter1"]) diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/issue289base b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/issue289base new file mode 100644 index 0000000000000000000000000000000000000000..59379ef3c08b018f096d77b47f3c1eceece9e319 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/issue289base @@ -0,0 +1 @@ +xmlns(b=abc://d/e:f) xpath1(/b:rootB) diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidbase b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidbase new file mode 100644 index 0000000000000000000000000000000000000000..82e098b60b6bd782de3d6b42b4fac8494d6773db --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidbase @@ -0,0 +1 @@ +xpath1(id('chapter1')/p) diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidchildseq b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidchildseq new file mode 100644 index 0000000000000000000000000000000000000000..fe205dc4ba2512693cb9035f6e6b5544a8ede6b7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidchildseq @@ -0,0 +1,4 @@ +/1/2/3 +element(/1/2/3) +chapter1/3 +element(chapter1/3) diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/viderror b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/viderror new file mode 100644 index 0000000000000000000000000000000000000000..104e57f1ba19a66cd22ee8ff26b4fdb30613700d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/viderror @@ -0,0 +1 @@ +xpath1(non-existing-fn()) diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidparts b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidparts new file mode 100644 index 0000000000000000000000000000000000000000..bbf61768551d6bca813e153e201af12de0613e74 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/XPath/xptr/vidparts @@ -0,0 +1,3 @@ +xpath1(id("chapter1")) +xpath1(//*[@id="chapter1"]) +xpath1(id("chapter1"))xpath1(//*[@id="chapter1"]) diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/automata/aba b/local-test-libxml2-delta-02/afc-libxml2/test/automata/aba new file mode 100644 index 0000000000000000000000000000000000000000..ee9a87353036e2bd475f660477570b7af7a7a58f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/automata/aba @@ -0,0 +1,26 @@ +# +# Tests a[ab]* +# +t 0 1 a +t 1 1 a +t 1 1 b +f 1 +------- +a +=> +a +a +=> +a +b +a +b +a +b +=> +b +=> +a +c +=> +=> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/automata/abaa b/local-test-libxml2-delta-02/afc-libxml2/test/automata/abaa new file mode 100644 index 0000000000000000000000000000000000000000..7862ba227d65ce76f4f5d7488b891c041ba01ef5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/automata/abaa @@ -0,0 +1,43 @@ +# +# Tests: a[ab]*a{2,3} +# +t 0 1 a +t 1 1 a +t 1 1 b +c 1 2 2 3 a +f 2 +------- +a +a +a +=> +# Pass +a +b +a +a +=> +# Pass +a +a +a +a +a +a +a +a +a +=> +# Pass +a +b +a +=> +# Fail +a +b +a +a +b +=> +# Fail diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/automata/abba b/local-test-libxml2-delta-02/afc-libxml2/test/automata/abba new file mode 100644 index 0000000000000000000000000000000000000000..86c08f1315779a16b6c4cc95cc44ab2788b359b3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/automata/abba @@ -0,0 +1,30 @@ +# +# Tests ab*a with an eliminated epsilon transition +# +t 0 1 a +t 1 2 b +e 1 2 +t 2 2 b +t 2 3 a +f 3 +------- +a +a +=> +# Pass +a +b +b +a +=> +# Pass +a +b +=> +# Fail +a +b +a +b +=> +# Fail diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/automata/po b/local-test-libxml2-delta-02/afc-libxml2/test/automata/po new file mode 100644 index 0000000000000000000000000000000000000000..592b8c9d051e9d197763a37ee7ec8b094ae3a38c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/automata/po @@ -0,0 +1,19 @@ +# +# purchaseOrder +# +t 0 1 shipTo +t 1 2 billTo +t 2 3 comment +t 3 4 items +e 2 3 +f 4 +------- +shipTo +billTo +comment +items +=> +shipTo +billTo +items +=> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/doc.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/doc.dtd new file mode 100644 index 0000000000000000000000000000000000000000..c4602397d24be2c437d41de1dbd96f76ab9198c8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/doc.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..ed450c7341d382bf82f8dc7078ee91ef8b11fede --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-1.xml @@ -0,0 +1,14 @@ + + + + + + +Hello, world! + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..74eeea147c3791a54dd21369e094433e5a5664fe --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-2.xml @@ -0,0 +1,11 @@ + + + A B + + A + + B + A B + C + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-3.xml new file mode 100644 index 0000000000000000000000000000000000000000..a7a1950afdf2175706241d8ae934d43ba0e86c81 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-3.xml @@ -0,0 +1,18 @@ +]> + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-4.xml new file mode 100644 index 0000000000000000000000000000000000000000..3fba138555585e0490953fb8452dadccdbc66f61 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-4.xml @@ -0,0 +1,9 @@ +]> + + First line Second line + 2 + "0" && value<"10" ?"valid":"error"]]> + valid + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-5.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-5.xml new file mode 100644 index 0000000000000000000000000000000000000000..92c5322f89bbccd7449cb037ece2c834c5e1754e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-5.xml @@ -0,0 +1,12 @@ + + + + + +]> + + &ent1;, &ent2;! + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-6.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-6.xml new file mode 100644 index 0000000000000000000000000000000000000000..31e2071867257cb3300a5f14cb0b302e1fa727e7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-6.xml @@ -0,0 +1,2 @@ + +© diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-7.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-7.xml new file mode 100644 index 0000000000000000000000000000000000000000..41171cb47cb8332d81fa617bec25e9a1a21eca82 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-7.xml @@ -0,0 +1,11 @@ + + +]> + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-7.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-7.xpath new file mode 100644 index 0000000000000000000000000000000000000000..84ddb0815bcdf6b790a8a11a828e49c90333f5a5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-7.xpath @@ -0,0 +1,10 @@ + + (//.|//@*|//namespace::*) + [ + self::ietf:e1 + or + (parent::ietf:e1 and not(self::text() or self::e2)) + or + count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node()) + ] + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-8.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-8.xml new file mode 100644 index 0000000000000000000000000000000000000000..a07f6c7b39580fa6e61c9a985f106f0be8bf7c3d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-8.xml @@ -0,0 +1,11 @@ + + +]> + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-8.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-8.xpath new file mode 100644 index 0000000000000000000000000000000000000000..84ddb0815bcdf6b790a8a11a828e49c90333f5a5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/example-8.xpath @@ -0,0 +1,10 @@ + + (//.|//@*|//namespace::*) + [ + self::ietf:e1 + or + (parent::ietf:e1 and not(self::text() or self::e2)) + or + count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node()) + ] + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/world.txt b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/world.txt new file mode 100644 index 0000000000000000000000000000000000000000..04fea06420ca60892f73becee3614f6d023a4b7f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/world.txt @@ -0,0 +1 @@ +world \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xml new file mode 100644 index 0000000000000000000000000000000000000000..18b7c756343c7a1110f415b769418f078e23a411 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xml @@ -0,0 +1,16 @@ + + + +]> + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath new file mode 100644 index 0000000000000000000000000000000000000000..e919accef1feb3329e2a857570549f9005d6da28 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath @@ -0,0 +1,9 @@ + + +(//. | //@* | //namespace::*) +[self::ietf:e1 or (parent::ietf:e1 and not(self::text() or self::e2)) or count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec2-102.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec2-102.xml new file mode 100644 index 0000000000000000000000000000000000000000..d271afd130ed484c138ac39ae91e1224e9d53763 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec2-102.xml @@ -0,0 +1,16 @@ + + + +]> + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec2-102.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec2-102.xpath new file mode 100644 index 0000000000000000000000000000000000000000..cdaad3ef1004a25f32faa5e8d9f344bc0bf0c837 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec2-102.xpath @@ -0,0 +1,9 @@ + + +(//. | //@* | //namespace::*) +[self::ietf:e1 or (parent::ietf:e1 and not(self::text() or self::e2)) or count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec3-102.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec3-102.xml new file mode 100644 index 0000000000000000000000000000000000000000..f46e1e9e7713a46be53ac42d43d47eeec6e925cd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec3-102.xml @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec3-102.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec3-102.xpath new file mode 100644 index 0000000000000000000000000000000000000000..1d8dd713ce57d41eeb2b6fe6e35882d0e8fe470d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec3-102.xpath @@ -0,0 +1,9 @@ + + +(//. | //@* | //namespace::*) +[self::a or ancestor-or-self::d] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..24a899b707e9dc3efc92b6970f2365d33609f97b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-1.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-1.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-1.xpath new file mode 100644 index 0000000000000000000000000000000000000000..168e98d69fddfd751e5e12a56663a83b088492da --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-1.xpath @@ -0,0 +1,11 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:c14n11XmlBaseDoc1 and not(ancestor-or-self::ietf:e2)] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..4c85329b67f604625831d734e7d448c295adc6ba --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-2.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-2.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-2.xpath new file mode 100644 index 0000000000000000000000000000000000000000..fdab0856897a41701b713c5d62b8f2b71091c290 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-2.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e1] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-3.xml new file mode 100644 index 0000000000000000000000000000000000000000..19ce7387f6d52becb14b94018cf9770490f69cdc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-3.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-3.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-3.xpath new file mode 100644 index 0000000000000000000000000000000000000000..de875083e6bff6c565f945edfc1330d94140a886 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-3.xpath @@ -0,0 +1,11 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e11] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-4.xml new file mode 100644 index 0000000000000000000000000000000000000000..57e4436f3ae73f976bfd57ed0ff00806dbcced30 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-4.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-4.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-4.xpath new file mode 100644 index 0000000000000000000000000000000000000000..818ef10972d3201f13434992af4ec1a4bab36941 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-4.xpath @@ -0,0 +1,11 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e111] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-5.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-5.xml new file mode 100644 index 0000000000000000000000000000000000000000..f92a897bf3f1fa51b57bb5e6a568d7d835b2109b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-5.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-5.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-5.xpath new file mode 100644 index 0000000000000000000000000000000000000000..7020803fd979e8529764433ee25d748b62dd2a15 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-5.xpath @@ -0,0 +1,11 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e21] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-6.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-6.xml new file mode 100644 index 0000000000000000000000000000000000000000..62824f914c2929fa5d002279751e80d054716ef6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-6.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-6.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-6.xpath new file mode 100644 index 0000000000000000000000000000000000000000..2b93c646ba53549f3a5a5efbced2e370f6af4ed5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-6.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e3] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-7.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-7.xml new file mode 100644 index 0000000000000000000000000000000000000000..ee1391679b1f2723381ce72299b0ed55c3a29e26 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-7.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-7.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-7.xpath new file mode 100644 index 0000000000000000000000000000000000000000..7d37ab83c5963e4cd48bde5083722a3a57519b0c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlbase-prop-7.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:c14n11XmlBaseDoc1 and not(ancestor-or-self::ietf:e1 or ancestor-or-self::ietf:e2)] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..ca58c2b08e7171e898a86a4b3ce2afc46a624e47 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-1.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-1.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-1.xpath new file mode 100644 index 0000000000000000000000000000000000000000..dc5573c05701893bd311ea3b02331b173345609d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-1.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e1] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..ca58c2b08e7171e898a86a4b3ce2afc46a624e47 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-2.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-2.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-2.xpath new file mode 100644 index 0000000000000000000000000000000000000000..bed44b7f760c5c63d2fddee1ba62cf33a183b69e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlid-prop-2.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e11 or ancestor-or-self::ietf:e12] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..1111e33b8963af57250e1b7da76c2232656e1d74 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-1.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-1.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-1.xpath new file mode 100644 index 0000000000000000000000000000000000000000..224924ef90b360798cc46c9aab04365c923dc92f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-1.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e1] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..1111e33b8963af57250e1b7da76c2232656e1d74 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-2.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-2.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-2.xpath new file mode 100644 index 0000000000000000000000000000000000000000..ca2175819fc2eb5dfda36d4becb38228ed77258c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-2.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e2] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-3.xml new file mode 100644 index 0000000000000000000000000000000000000000..1111e33b8963af57250e1b7da76c2232656e1d74 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-3.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-3.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-3.xpath new file mode 100644 index 0000000000000000000000000000000000000000..86e77fa62db63ebcc7b8f09bdbe9341e53fecc31 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-3.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e11] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-4.xml new file mode 100644 index 0000000000000000000000000000000000000000..1111e33b8963af57250e1b7da76c2232656e1d74 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-4.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-4.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-4.xpath new file mode 100644 index 0000000000000000000000000000000000000000..fdc7661eecc71039b84cb352f70fa3b8a7201c8d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmllang-prop-4.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e11 or ancestor-or-self::ietf:e12] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..62da9e4c5ec4d9dfda3a94872a6dbe5dc8b6c85e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-1.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-1.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-1.xpath new file mode 100644 index 0000000000000000000000000000000000000000..bad373a41e8627e027095a3c6f7b2950928b4cf7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-1.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e1] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..62da9e4c5ec4d9dfda3a94872a6dbe5dc8b6c85e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-2.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-2.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-2.xpath new file mode 100644 index 0000000000000000000000000000000000000000..ffb7d854ee850760951cc3514e7e8170719d84a6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-2.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e2] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-3.xml new file mode 100644 index 0000000000000000000000000000000000000000..62da9e4c5ec4d9dfda3a94872a6dbe5dc8b6c85e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-3.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-3.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-3.xpath new file mode 100644 index 0000000000000000000000000000000000000000..3f27aed418293edc52b8e35976b6f0b9789ebd33 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-3.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e11] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-4.xml new file mode 100644 index 0000000000000000000000000000000000000000..62da9e4c5ec4d9dfda3a94872a6dbe5dc8b6c85e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-4.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-4.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-4.xpath new file mode 100644 index 0000000000000000000000000000000000000000..49c43952b4d417880264bf1ecebc5c7966a30cfd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/1-1-without-comments/xmlspace-prop-4.xpath @@ -0,0 +1,10 @@ + + +(//. | //@* | //namespace::*) +[ancestor-or-self::ietf:e11 or ancestor-or-self::ietf:e12] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-09.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-09.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-09.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-09.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-09.xpath new file mode 100644 index 0000000000000000000000000000000000000000..717b66a36387d5fadd9cf7196ab3aa159b1a96e7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-09.xpath @@ -0,0 +1,8 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-10.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-10.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-10.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-10.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-10.xpath new file mode 100644 index 0000000000000000000000000000000000000000..8ea279545681d1405263c62d29321f10927cdf71 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-10.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + ((name() != "bar") or parent::bar:Something) and + ((name() != "foo") or parent::foo:Something) and + ((name() != "baz") or parent::baz:Something) and + ((name() != "") or self::text()) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-11.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-11.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-11.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-11.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-11.xpath new file mode 100644 index 0000000000000000000000000000000000000000..37d65e0c756827fe22498b2c08ae0e708be47aa2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-11.xpath @@ -0,0 +1,11 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "") or + (string(self::node()) = namespace-uri(parent::node()))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-12.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-12.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-12.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-12.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-12.xpath new file mode 100644 index 0000000000000000000000000000000000000000..ed8ae68201ff8a47580de09ec9cd6a98e8c70af0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-12.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + not (self::foo:Something) and + (self::text() or + (namespace-uri() != "") or + (string(self::node()) = namespace-uri(parent::node()))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-13.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-13.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-13.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-13.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-13.xpath new file mode 100644 index 0000000000000000000000000000000000000000..7d0170bcb34b887a204596b764a2ee8a599fb1e4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-13.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (count(parent::node()/namespace::*) != + count(parent::node()/namespace::* | self::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-14.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-14.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-14.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-14.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-14.xpath new file mode 100644 index 0000000000000000000000000000000000000000..2732894227911065d41cb9252ce91c82df7774b5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-14.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "")) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-15.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-15.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-15.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-15.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-15.xpath new file mode 100644 index 0000000000000000000000000000000000000000..ae6589ebc5325c88112314064424e2e8759fd156 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-15.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (count(parent::node()/namespace::*) = + count(parent::node()/namespace::* | self::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-16.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-16.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-16.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-16.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-16.xpath new file mode 100644 index 0000000000000000000000000000000000000000..bdca528003ecedcb8be0b08b32f9bf0a6a3f8d86 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-16.xpath @@ -0,0 +1,9 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (string(self::node()) = namespace-uri(parent::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-17.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-17.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-17.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-17.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-17.xpath new file mode 100644 index 0000000000000000000000000000000000000000..24fdd3f4f0a0f8424f88b0632ba80ca5151f733c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-17.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "") or + ((name() = "") and + ((count(ancestor-or-self::node()) mod 2) = 1))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.xpath new file mode 100644 index 0000000000000000000000000000000000000000..717b66a36387d5fadd9cf7196ab3aa159b1a96e7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-18.xpath @@ -0,0 +1,8 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.xpath new file mode 100644 index 0000000000000000000000000000000000000000..8ea279545681d1405263c62d29321f10927cdf71 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-19.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + ((name() != "bar") or parent::bar:Something) and + ((name() != "foo") or parent::foo:Something) and + ((name() != "baz") or parent::baz:Something) and + ((name() != "") or self::text()) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.xpath new file mode 100644 index 0000000000000000000000000000000000000000..37d65e0c756827fe22498b2c08ae0e708be47aa2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-20.xpath @@ -0,0 +1,11 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "") or + (string(self::node()) = namespace-uri(parent::node()))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.xpath new file mode 100644 index 0000000000000000000000000000000000000000..ed8ae68201ff8a47580de09ec9cd6a98e8c70af0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-21.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + not (self::foo:Something) and + (self::text() or + (namespace-uri() != "") or + (string(self::node()) = namespace-uri(parent::node()))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.xpath new file mode 100644 index 0000000000000000000000000000000000000000..7d0170bcb34b887a204596b764a2ee8a599fb1e4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-22.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (count(parent::node()/namespace::*) != + count(parent::node()/namespace::* | self::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.xpath new file mode 100644 index 0000000000000000000000000000000000000000..2732894227911065d41cb9252ce91c82df7774b5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-23.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "")) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.xpath new file mode 100644 index 0000000000000000000000000000000000000000..ae6589ebc5325c88112314064424e2e8759fd156 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-24.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (count(parent::node()/namespace::*) = + count(parent::node()/namespace::* | self::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.xpath new file mode 100644 index 0000000000000000000000000000000000000000..bdca528003ecedcb8be0b08b32f9bf0a6a3f8d86 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-25.xpath @@ -0,0 +1,9 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (string(self::node()) = namespace-uri(parent::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.ns new file mode 100644 index 0000000000000000000000000000000000000000..3886aed9a1183916a362572acc393ad76de4b970 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.ns @@ -0,0 +1 @@ +#default \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.xpath new file mode 100644 index 0000000000000000000000000000000000000000..24fdd3f4f0a0f8424f88b0632ba80ca5151f733c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/merlin-c14n-two-26.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "") or + ((name() = "") and + ((count(ancestor-or-self::node()) mod 2) = 1))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-0.xml new file mode 100644 index 0000000000000000000000000000000000000000..c7c42d9c0eeace6fd81eb614298267af33185a54 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-0.xml @@ -0,0 +1,18 @@ +]> + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-0.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-0.xpath new file mode 100644 index 0000000000000000000000000000000000000000..faa0070f0b922fdab683ca3c85f29a5fb283d358 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-0.xpath @@ -0,0 +1,3 @@ + +(//. | //@* | //namespace::*)[ancestor-or-self::e6] + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.ns b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.ns new file mode 100644 index 0000000000000000000000000000000000000000..2e65efe2a145dda7ee51d1741299f848e5bf752e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.ns @@ -0,0 +1 @@ +a \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..c7c42d9c0eeace6fd81eb614298267af33185a54 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.xml @@ -0,0 +1,18 @@ +]> + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.xpath new file mode 100644 index 0000000000000000000000000000000000000000..faa0070f0b922fdab683ca3c85f29a5fb283d358 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-1.xpath @@ -0,0 +1,3 @@ + +(//. | //@* | //namespace::*)[ancestor-or-self::e6] + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..83d15a78e2e6932d7990e2dfe654997ecd8ce341 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-2.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + sj1VXDB2VMCU5qmva2OtDw3kKOs= + + + ... + + + ... + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-2.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-2.xpath new file mode 100644 index 0000000000000000000000000000000000000000..e57652fdcefa083f0a96171550e7cb04a3f3e89d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/exc-without-comments/test-2.xpath @@ -0,0 +1,6 @@ + +(//. | //@* | //namespace::*) +[ + ancestor-or-self::ds:SignedInfo +] + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/doc.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/doc.dtd new file mode 100644 index 0000000000000000000000000000000000000000..c4602397d24be2c437d41de1dbd96f76ab9198c8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/doc.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..ed450c7341d382bf82f8dc7078ee91ef8b11fede --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-1.xml @@ -0,0 +1,14 @@ + + + + + + +Hello, world! + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..74eeea147c3791a54dd21369e094433e5a5664fe --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-2.xml @@ -0,0 +1,11 @@ + + + A B + + A + + B + A B + C + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-3.xml new file mode 100644 index 0000000000000000000000000000000000000000..a7a1950afdf2175706241d8ae934d43ba0e86c81 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-3.xml @@ -0,0 +1,18 @@ +]> + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-4.xml new file mode 100644 index 0000000000000000000000000000000000000000..3fba138555585e0490953fb8452dadccdbc66f61 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-4.xml @@ -0,0 +1,9 @@ +]> + + First line Second line + 2 + "0" && value<"10" ?"valid":"error"]]> + valid + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-5.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-5.xml new file mode 100644 index 0000000000000000000000000000000000000000..92c5322f89bbccd7449cb037ece2c834c5e1754e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-5.xml @@ -0,0 +1,12 @@ + + + + + +]> + + &ent1;, &ent2;! + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-6.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-6.xml new file mode 100644 index 0000000000000000000000000000000000000000..31e2071867257cb3300a5f14cb0b302e1fa727e7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-6.xml @@ -0,0 +1,2 @@ + +© diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-7.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-7.xml new file mode 100644 index 0000000000000000000000000000000000000000..41171cb47cb8332d81fa617bec25e9a1a21eca82 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-7.xml @@ -0,0 +1,11 @@ + + +]> + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-7.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-7.xpath new file mode 100644 index 0000000000000000000000000000000000000000..84ddb0815bcdf6b790a8a11a828e49c90333f5a5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/example-7.xpath @@ -0,0 +1,10 @@ + + (//.|//@*|//namespace::*) + [ + self::ietf:e1 + or + (parent::ietf:e1 and not(self::text() or self::e2)) + or + count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node()) + ] + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/world.txt b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/world.txt new file mode 100644 index 0000000000000000000000000000000000000000..04fea06420ca60892f73becee3614f6d023a4b7f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/with-comments/world.txt @@ -0,0 +1 @@ +world \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/doc.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/doc.dtd new file mode 100644 index 0000000000000000000000000000000000000000..c4602397d24be2c437d41de1dbd96f76ab9198c8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/doc.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..ed450c7341d382bf82f8dc7078ee91ef8b11fede --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-1.xml @@ -0,0 +1,14 @@ + + + + + + +Hello, world! + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..74eeea147c3791a54dd21369e094433e5a5664fe --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-2.xml @@ -0,0 +1,11 @@ + + + A B + + A + + B + A B + C + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-3.xml new file mode 100644 index 0000000000000000000000000000000000000000..a7a1950afdf2175706241d8ae934d43ba0e86c81 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-3.xml @@ -0,0 +1,18 @@ +]> + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-4.xml new file mode 100644 index 0000000000000000000000000000000000000000..3fba138555585e0490953fb8452dadccdbc66f61 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-4.xml @@ -0,0 +1,9 @@ +]> + + First line Second line + 2 + "0" && value<"10" ?"valid":"error"]]> + valid + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-5.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-5.xml new file mode 100644 index 0000000000000000000000000000000000000000..92c5322f89bbccd7449cb037ece2c834c5e1754e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-5.xml @@ -0,0 +1,12 @@ + + + + + +]> + + &ent1;, &ent2;! + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-6.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-6.xml new file mode 100644 index 0000000000000000000000000000000000000000..31e2071867257cb3300a5f14cb0b302e1fa727e7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-6.xml @@ -0,0 +1,2 @@ + +© diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-7.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-7.xml new file mode 100644 index 0000000000000000000000000000000000000000..41171cb47cb8332d81fa617bec25e9a1a21eca82 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-7.xml @@ -0,0 +1,11 @@ + + +]> + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-7.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-7.xpath new file mode 100644 index 0000000000000000000000000000000000000000..84ddb0815bcdf6b790a8a11a828e49c90333f5a5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/example-7.xpath @@ -0,0 +1,10 @@ + + (//.|//@*|//namespace::*) + [ + self::ietf:e1 + or + (parent::ietf:e1 and not(self::text() or self::e2)) + or + count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node()) + ] + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-00.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-00.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-00.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-00.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-00.xpath new file mode 100644 index 0000000000000000000000000000000000000000..717b66a36387d5fadd9cf7196ab3aa159b1a96e7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-00.xpath @@ -0,0 +1,8 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-01.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-01.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-01.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-01.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-01.xpath new file mode 100644 index 0000000000000000000000000000000000000000..8ea279545681d1405263c62d29321f10927cdf71 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-01.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + ((name() != "bar") or parent::bar:Something) and + ((name() != "foo") or parent::foo:Something) and + ((name() != "baz") or parent::baz:Something) and + ((name() != "") or self::text()) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-02.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-02.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-02.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-02.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-02.xpath new file mode 100644 index 0000000000000000000000000000000000000000..37d65e0c756827fe22498b2c08ae0e708be47aa2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-02.xpath @@ -0,0 +1,11 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "") or + (string(self::node()) = namespace-uri(parent::node()))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-03.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-03.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-03.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-03.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-03.xpath new file mode 100644 index 0000000000000000000000000000000000000000..ed8ae68201ff8a47580de09ec9cd6a98e8c70af0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-03.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + not (self::foo:Something) and + (self::text() or + (namespace-uri() != "") or + (string(self::node()) = namespace-uri(parent::node()))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-04.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-04.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-04.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-04.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-04.xpath new file mode 100644 index 0000000000000000000000000000000000000000..7d0170bcb34b887a204596b764a2ee8a599fb1e4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-04.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (count(parent::node()/namespace::*) != + count(parent::node()/namespace::* | self::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-05.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-05.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-05.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-05.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-05.xpath new file mode 100644 index 0000000000000000000000000000000000000000..2732894227911065d41cb9252ce91c82df7774b5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-05.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "")) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-06.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-06.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-06.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-06.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-06.xpath new file mode 100644 index 0000000000000000000000000000000000000000..ae6589ebc5325c88112314064424e2e8759fd156 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-06.xpath @@ -0,0 +1,10 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (count(parent::node()/namespace::*) = + count(parent::node()/namespace::* | self::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-07.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-07.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-07.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-07.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-07.xpath new file mode 100644 index 0000000000000000000000000000000000000000..bdca528003ecedcb8be0b08b32f9bf0a6a3f8d86 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-07.xpath @@ -0,0 +1,9 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (string(self::node()) = namespace-uri(parent::node())) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-08.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-08.xml new file mode 100644 index 0000000000000000000000000000000000000000..714c9d1846a6192538411d4fbdb8e21685aa46d5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-08.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-08.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-08.xpath new file mode 100644 index 0000000000000000000000000000000000000000..24fdd3f4f0a0f8424f88b0632ba80ca5151f733c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/merlin-c14n-two-08.xpath @@ -0,0 +1,12 @@ + + + (//. | //@* | //namespace::*) + [ + + ancestor-or-self::bar:Something and + (self::text() or + (namespace-uri() != "") or + ((name() = "") and + ((count(ancestor-or-self::node()) mod 2) = 1))) + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-0.xml new file mode 100644 index 0000000000000000000000000000000000000000..7e1f9d4fe6d24de97c7b2118be0424a031640bd5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-0.xml @@ -0,0 +1,9 @@ + + + + + + +]> +I am the text. diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-0.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-0.xpath new file mode 100644 index 0000000000000000000000000000000000000000..1fca7bfbce5d11912c348af3e7e89996dc0f8077 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-0.xpath @@ -0,0 +1,14 @@ + + + + + + +]> + + (//.|//@*|//namespace::*) + [ + self::text() + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-1.xml new file mode 100644 index 0000000000000000000000000000000000000000..21566158365e57345d799721e70856f4d140cc74 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-1.xml @@ -0,0 +1,43 @@ + + + + + + +]> + + + + + CN=Merlin Hughes,O=Baltimore Technologies\, Ltd.,ST=Dublin,C=IE + + + + CN=Test DSA CA,O=Baltimore Technologies\, Ltd.,ST=Dublin,C=IE + + 970849936 + + + MIIDNzCCAvWgAwIBAgIEOd3+kDAJBgcqhkjOOAQDMFsxCzAJBgNVBAYTAklFMQ8w + DQYDVQQIEwZEdWJsaW4xJTAjBgNVBAoTHEJhbHRpbW9yZSBUZWNobm9sb2dpZXMs + IEx0ZC4xFDASBgNVBAMTC1Rlc3QgRFNBIENBMB4XDTAwMTAwNjE2MzIxNVoXDTAx + MTAwNjE2MzIxNFowXTELMAkGA1UEBhMCSUUxDzANBgNVBAgTBkR1YmxpbjElMCMG + A1UEChMcQmFsdGltb3JlIFRlY2hub2xvZ2llcywgTHRkLjEWMBQGA1UEAxMNTWVy + bGluIEh1Z2hlczCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQDaJjfDTrawMHf8MiUt + Y54b37hSmYNnR3KpGT10uU1Dqppcju06uN0iGbqf947DjkBC25hKnqykK31xBw0E + CPbYq/KC98kghdf2xJCu6B8aqJ95K9jdVflJ3WP7PQxJn+fmM23zy6HYLXVICpfq + etdNj/VHCShZE3bdJiE6VobSFQIVAPQecqS2PaTDprcQnkwx4MHTRXhrAoGAMuGA + lqeB1ax+vyO2+Osubjhl7pHxLu47RIH+/M52DjESA9KMSrwzsYx8yNR2WooByrE0 + t6fu0VncK7UK8olO4t7wpv2z4AFQPRVCKFwo0qgn5aKIkICGMlrRy81avb27wGcW + othx3iPPMtFXtoDqK0JItaI9R8zc1msFhM1GKMYDgYQAAoGActA8YGxrtngg/zKV + vqEOefnwmViFztcnPBYPlJsvh6yKI4iDm68fnp4Mi3RrJ6bZAygFrUIQLxLjV+OJ + tgJAEto0xAs+Mehuq1DkSFEpP3oDzCTOsrOiS1DwQe4oIb7zVk/9l7aPtJMHW0LV + lMdwZNFNNJoqMcT2ZfCPrfvYvQ2jRzBFMB4GA1UdEQQXMBWBE21lcmxpbkBiYWx0 + aW1vcmUuaWUwDgYDVR0PAQH/BAQDAgeAMBMGA1UdIwQMMAqACEJZQG0KwRbPMAkG + ByqGSM44BAMDMQAwLgIVAK4skWEFYgrggaJA8vYAwSjg12+KAhUAwHTo7wd4tENw + 9LAKPklQ/74fH18= + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-1.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-1.xpath new file mode 100644 index 0000000000000000000000000000000000000000..3c11e29ba6b26841429113a59d434dac20762728 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-1.xpath @@ -0,0 +1,14 @@ + + + + + + +]> + + (//.|//@*|//namespace::*) + [ + ancestor-or-self::dsig:X509Data + ] + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-2.xml new file mode 100644 index 0000000000000000000000000000000000000000..9fda49edddd96a21fe96ef843bfb3b0378f76d87 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-2.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-2.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-2.xpath new file mode 100644 index 0000000000000000000000000000000000000000..9653bc377a15870d306fc95551e43ced36b666b7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-2.xpath @@ -0,0 +1,8 @@ + + + (//. | //@* | //namespace::*) + [ + ancestor-or-self::n1:elem2 + ] + + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-3.xml new file mode 100644 index 0000000000000000000000000000000000000000..c7c42d9c0eeace6fd81eb614298267af33185a54 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-3.xml @@ -0,0 +1,18 @@ +]> + + + + + + + + + + + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-3.xpath b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-3.xpath new file mode 100644 index 0000000000000000000000000000000000000000..faa0070f0b922fdab683ca3c85f29a5fb283d358 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/test-3.xpath @@ -0,0 +1,3 @@ + +(//. | //@* | //namespace::*)[ancestor-or-self::e6] + \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/world.txt b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/world.txt new file mode 100644 index 0000000000000000000000000000000000000000..04fea06420ca60892f73becee3614f6d023a4b7f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/c14n/without-comments/world.txt @@ -0,0 +1 @@ +world \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/errors10/781205.xml b/local-test-libxml2-delta-02/afc-libxml2/test/errors10/781205.xml new file mode 100644 index 0000000000000000000000000000000000000000..d9e9e83957e743ecfdb68cb4ead4283a14dd208d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/errors10/781205.xml @@ -0,0 +1,3 @@ + + %a; diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/errors10/781361.xml b/local-test-libxml2-delta-02/afc-libxml2/test/errors10/781361.xml new file mode 100644 index 0000000000000000000000000000000000000000..67476bcbe7b8457c294a0b6d57577048e4daa626 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/errors10/781361.xml @@ -0,0 +1,3 @@ + + %elem; diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/NOTICE b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/NOTICE new file mode 100644 index 0000000000000000000000000000000000000000..02aad496cf507f9bb1efcfbf69dd56b4ca7abbc4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/NOTICE @@ -0,0 +1,27 @@ +The test cases in this directory are derived from the html5lib test +suite available from https://github.com/html5lib/html5lib-tests under +the following license: + +--- + +Copyright (c) 2006-2013 James Graham, Geoffrey Sneddon, and +other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/contentModelFlags.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/contentModelFlags.test new file mode 100644 index 0000000000000000000000000000000000000000..81a47170b34676467cffa9e9d287ec0b023d39a9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/contentModelFlags.test @@ -0,0 +1,48 @@ +0 plaintext 3 12 +&body; +1 plaintext 3 18 +&body; +2 xmp 1 9 +foo +3 xmp 2 9 +foo +4 xmp 1 9 +foo +5 xmp 2 9 +foo +6 xmp 1 9 +foobar +15 xmp 2 15 +
    bar +16 xmp 1 16 + +17 xmp 2 16 + +18 xmp 1 18 +
    bar +19 xmp 2 18 +
    bar +20 xmp 1 15 +foo +21 xmp 2 15 +foo +22 xmp 2 5 +&foo; +23 textarea 1 4 +< diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/domjs.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/domjs.test new file mode 100644 index 0000000000000000000000000000000000000000..7e593a8e49bf3b7e225545a98f45d80832be73e4 Binary files /dev/null and b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/domjs.test differ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/entities.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/entities.test new file mode 100644 index 0000000000000000000000000000000000000000..759031d03fe5a2981235642b47ec5a0a0f3f679d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/entities.test @@ -0,0 +1,160 @@ +0 - 0 14 + +1 - 0 14 + +2 - 0 13 + +3 - 0 14 + +4 - 0 14 + +5 - 0 13 + +6 - 0 12 + +7 - 0 12 + +8 - 0 11 + +9 - 0 14 +&rrrraannddom; +10 - 0 6 +¬i; +11 - 0 950 +&ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp; +12 - 0 6 + +13 - 0 7 + +14 - 0 7 +€ +15 - 0 7 + +16 - 0 7 +‚ +17 - 0 7 +ƒ +18 - 0 7 +„ +19 - 0 7 +… +20 - 0 7 +† +21 - 0 7 +‡ +22 - 0 7 +ˆ +23 - 0 7 +‰ +24 - 0 7 +Š +25 - 0 7 +‹ +26 - 0 7 +Œ +27 - 0 7 + +28 - 0 7 +Ž +29 - 0 7 + +30 - 0 7 + +31 - 0 7 +‘ +32 - 0 7 +’ +33 - 0 7 +“ +34 - 0 7 +” +35 - 0 7 +• +36 - 0 7 +– +37 - 0 7 +— +38 - 0 7 +˜ +39 - 0 7 +™ +40 - 0 7 +š +41 - 0 7 +› +42 - 0 7 +œ +43 - 0 7 + +44 - 0 7 +€ +45 - 0 7 + +46 - 0 7 +‚ +47 - 0 7 +ƒ +48 - 0 7 +„ +49 - 0 7 +… +50 - 0 7 +† +51 - 0 7 +‡ +52 - 0 7 +ˆ +53 - 0 7 +‰ +54 - 0 7 +Š +55 - 0 7 +‹ +56 - 0 7 +Œ +57 - 0 7 + +58 - 0 7 +Ž +59 - 0 7 + +60 - 0 7 + +61 - 0 7 +‘ +62 - 0 7 +’ +63 - 0 7 +“ +64 - 0 7 +” +65 - 0 7 +• +66 - 0 7 +– +67 - 0 7 +— +68 - 0 7 +˜ +69 - 0 7 +™ +70 - 0 7 +š +71 - 0 7 +› +72 - 0 7 +œ +73 - 0 7 + +74 - 0 7 +ž +75 - 0 7 +Ÿ +76 - 0 5 +aa +77 - 0 5 +aA +78 - 0 5 +af +79 - 0 5 +aF diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/escapeFlag.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/escapeFlag.test new file mode 100644 index 0000000000000000000000000000000000000000..39f806286870cbb6a5e82982912374d6579cdf25 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/escapeFlag.test @@ -0,0 +1,18 @@ +0 xmp 1 22 +foo +1 xmp 2 22 +foo +2 xmp 1 17 +foobaz +3 xmp 2 17 +foobaz +4 xmp 1 28 +foobaz +5 xmp 2 28 +foobaz +6 xmp 1 34 + & & +7 xmp 1 35 +foox--<> +8 xmp 2 35 +foox--<> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/namedEntities.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/namedEntities.test new file mode 100644 index 0000000000000000000000000000000000000000..cb80c14491d4089df5d03ea9e8f6f39832cee62c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/namedEntities.test @@ -0,0 +1,8420 @@ +0 - 0 6 +Æ +1 - 0 7 +Æ +2 - 0 4 +& +3 - 0 5 +& +4 - 0 7 +Á +5 - 0 8 +Á +6 - 0 7 +&Abreve +7 - 0 8 +Ă +8 - 0 6 + +9 - 0 7 + +10 - 0 4 +&Acy +11 - 0 5 +А +12 - 0 4 +&Afr +13 - 0 5 +𝔄 +14 - 0 7 +À +15 - 0 8 +À +16 - 0 6 +&Alpha +17 - 0 7 +Α +18 - 0 6 +&Amacr +19 - 0 7 +Ā +20 - 0 4 +&And +21 - 0 5 +⩓ +22 - 0 6 +&Aogon +23 - 0 7 +Ą +24 - 0 5 +&Aopf +25 - 0 6 +𝔸 +26 - 0 14 +&ApplyFunction +27 - 0 15 +⁡ +28 - 0 6 +Å +29 - 0 7 +Å +30 - 0 5 +&Ascr +31 - 0 6 +𝒜 +32 - 0 7 +&Assign +33 - 0 8 +≔ +34 - 0 7 +à +35 - 0 8 +à +36 - 0 5 +Ä +37 - 0 6 +Ä +38 - 0 10 +&Backslash +39 - 0 11 +∖ +40 - 0 5 +&Barv +41 - 0 6 +⫧ +42 - 0 7 +&Barwed +43 - 0 8 +⌆ +44 - 0 4 +&Bcy +45 - 0 5 +Б +46 - 0 8 +&Because +47 - 0 9 +∵ +48 - 0 11 +&Bernoullis +49 - 0 12 +ℬ +50 - 0 5 +&Beta +51 - 0 6 +Β +52 - 0 4 +&Bfr +53 - 0 5 +𝔅 +54 - 0 5 +&Bopf +55 - 0 6 +𝔹 +56 - 0 6 +&Breve +57 - 0 7 +˘ +58 - 0 5 +&Bscr +59 - 0 6 +ℬ +60 - 0 7 +&Bumpeq +61 - 0 8 +≎ +62 - 0 5 +&CHcy +63 - 0 6 +Ч +64 - 0 5 +© +65 - 0 6 +© +66 - 0 7 +&Cacute +67 - 0 8 +Ć +68 - 0 4 +&Cap +69 - 0 5 +⋒ +70 - 0 21 +&CapitalDifferentialD +71 - 0 22 +ⅅ +72 - 0 8 +&Cayleys +73 - 0 9 +ℭ +74 - 0 7 +&Ccaron +75 - 0 8 +Č +76 - 0 7 +Ç +77 - 0 8 +Ç +78 - 0 6 +&Ccirc +79 - 0 7 +Ĉ +80 - 0 8 +&Cconint +81 - 0 9 +∰ +82 - 0 5 +&Cdot +83 - 0 6 +Ċ +84 - 0 8 +&Cedilla +85 - 0 9 +¸ +86 - 0 10 +&CenterDot +87 - 0 11 +· +88 - 0 4 +&Cfr +89 - 0 5 +ℭ +90 - 0 4 +&Chi +91 - 0 5 +Χ +92 - 0 10 +&CircleDot +93 - 0 11 +⊙ +94 - 0 12 +&CircleMinus +95 - 0 13 +⊖ +96 - 0 11 +&CirclePlus +97 - 0 12 +⊕ +98 - 0 12 +&CircleTimes +99 - 0 13 +⊗ +100 - 0 25 +&ClockwiseContourIntegral +101 - 0 26 +∲ +102 - 0 22 +&CloseCurlyDoubleQuote +103 - 0 23 +” +104 - 0 16 +&CloseCurlyQuote +105 - 0 17 +’ +106 - 0 6 +&Colon +107 - 0 7 +∷ +108 - 0 7 +&Colone +109 - 0 8 +⩴ +110 - 0 10 +&Congruent +111 - 0 11 +≡ +112 - 0 7 +&Conint +113 - 0 8 +∯ +114 - 0 16 +&ContourIntegral +115 - 0 17 +∮ +116 - 0 5 +&Copf +117 - 0 6 +ℂ +118 - 0 10 +&Coproduct +119 - 0 11 +∐ +120 - 0 32 +&CounterClockwiseContourIntegral +121 - 0 33 +∳ +122 - 0 6 +&Cross +123 - 0 7 +⨯ +124 - 0 5 +&Cscr +125 - 0 6 +𝒞 +126 - 0 4 +&Cup +127 - 0 5 +⋓ +128 - 0 7 +&CupCap +129 - 0 8 +≍ +130 - 0 3 +&DD +131 - 0 4 +ⅅ +132 - 0 9 +&DDotrahd +133 - 0 10 +⤑ +134 - 0 5 +&DJcy +135 - 0 6 +Ђ +136 - 0 5 +&DScy +137 - 0 6 +Ѕ +138 - 0 5 +&DZcy +139 - 0 6 +Џ +140 - 0 7 +&Dagger +141 - 0 8 +‡ +142 - 0 5 +&Darr +143 - 0 6 +↡ +144 - 0 6 +&Dashv +145 - 0 7 +⫤ +146 - 0 7 +&Dcaron +147 - 0 8 +Ď +148 - 0 4 +&Dcy +149 - 0 5 +Д +150 - 0 4 +&Del +151 - 0 5 +∇ +152 - 0 6 +&Delta +153 - 0 7 +Δ +154 - 0 4 +&Dfr +155 - 0 5 +𝔇 +156 - 0 17 +&DiacriticalAcute +157 - 0 18 +´ +158 - 0 15 +&DiacriticalDot +159 - 0 16 +˙ +160 - 0 23 +&DiacriticalDoubleAcute +161 - 0 24 +˝ +162 - 0 17 +&DiacriticalGrave +163 - 0 18 +` +164 - 0 17 +&DiacriticalTilde +165 - 0 18 +˜ +166 - 0 8 +&Diamond +167 - 0 9 +⋄ +168 - 0 14 +&DifferentialD +169 - 0 15 +ⅆ +170 - 0 5 +&Dopf +171 - 0 6 +𝔻 +172 - 0 4 +&Dot +173 - 0 5 +¨ +174 - 0 7 +&DotDot +175 - 0 8 +⃜ +176 - 0 9 +&DotEqual +177 - 0 10 +≐ +178 - 0 22 +&DoubleContourIntegral +179 - 0 23 +∯ +180 - 0 10 +&DoubleDot +181 - 0 11 +¨ +182 - 0 16 +&DoubleDownArrow +183 - 0 17 +⇓ +184 - 0 16 +&DoubleLeftArrow +185 - 0 17 +⇐ +186 - 0 21 +&DoubleLeftRightArrow +187 - 0 22 +⇔ +188 - 0 14 +&DoubleLeftTee +189 - 0 15 +⫤ +190 - 0 20 +&DoubleLongLeftArrow +191 - 0 21 +⟸ +192 - 0 25 +&DoubleLongLeftRightArrow +193 - 0 26 +⟺ +194 - 0 21 +&DoubleLongRightArrow +195 - 0 22 +⟹ +196 - 0 17 +&DoubleRightArrow +197 - 0 18 +⇒ +198 - 0 15 +&DoubleRightTee +199 - 0 16 +⊨ +200 - 0 14 +&DoubleUpArrow +201 - 0 15 +⇑ +202 - 0 18 +&DoubleUpDownArrow +203 - 0 19 +⇕ +204 - 0 18 +&DoubleVerticalBar +205 - 0 19 +∥ +206 - 0 10 +&DownArrow +207 - 0 11 +↓ +208 - 0 13 +&DownArrowBar +209 - 0 14 +⤓ +210 - 0 17 +&DownArrowUpArrow +211 - 0 18 +⇵ +212 - 0 10 +&DownBreve +213 - 0 11 +̑ +214 - 0 20 +&DownLeftRightVector +215 - 0 21 +⥐ +216 - 0 18 +&DownLeftTeeVector +217 - 0 19 +⥞ +218 - 0 15 +&DownLeftVector +219 - 0 16 +↽ +220 - 0 18 +&DownLeftVectorBar +221 - 0 19 +⥖ +222 - 0 19 +&DownRightTeeVector +223 - 0 20 +⥟ +224 - 0 16 +&DownRightVector +225 - 0 17 +⇁ +226 - 0 19 +&DownRightVectorBar +227 - 0 20 +⥗ +228 - 0 8 +&DownTee +229 - 0 9 +⊤ +230 - 0 13 +&DownTeeArrow +231 - 0 14 +↧ +232 - 0 10 +&Downarrow +233 - 0 11 +⇓ +234 - 0 5 +&Dscr +235 - 0 6 +𝒟 +236 - 0 7 +&Dstrok +237 - 0 8 +Đ +238 - 0 4 +&ENG +239 - 0 5 +Ŋ +240 - 0 4 +Ð +241 - 0 5 +Ð +242 - 0 7 +É +243 - 0 8 +É +244 - 0 7 +&Ecaron +245 - 0 8 +Ě +246 - 0 6 +Ê +247 - 0 7 +Ê +248 - 0 4 +&Ecy +249 - 0 5 +Э +250 - 0 5 +&Edot +251 - 0 6 +Ė +252 - 0 4 +&Efr +253 - 0 5 +𝔈 +254 - 0 7 +È +255 - 0 8 +È +256 - 0 8 +&Element +257 - 0 9 +∈ +258 - 0 6 +&Emacr +259 - 0 7 +Ē +260 - 0 17 +&EmptySmallSquare +261 - 0 18 +◻ +262 - 0 21 +&EmptyVerySmallSquare +263 - 0 22 +▫ +264 - 0 6 +&Eogon +265 - 0 7 +Ę +266 - 0 5 +&Eopf +267 - 0 6 +𝔼 +268 - 0 8 +&Epsilon +269 - 0 9 +Ε +270 - 0 6 +&Equal +271 - 0 7 +⩵ +272 - 0 11 +&EqualTilde +273 - 0 12 +≂ +274 - 0 12 +&Equilibrium +275 - 0 13 +⇌ +276 - 0 5 +&Escr +277 - 0 6 +ℰ +278 - 0 5 +&Esim +279 - 0 6 +⩳ +280 - 0 4 +&Eta +281 - 0 5 +Η +282 - 0 5 +Ë +283 - 0 6 +Ë +284 - 0 7 +&Exists +285 - 0 8 +∃ +286 - 0 13 +&ExponentialE +287 - 0 14 +ⅇ +288 - 0 4 +&Fcy +289 - 0 5 +Ф +290 - 0 4 +&Ffr +291 - 0 5 +𝔉 +292 - 0 18 +&FilledSmallSquare +293 - 0 19 +◼ +294 - 0 22 +&FilledVerySmallSquare +295 - 0 23 +▪ +296 - 0 5 +&Fopf +297 - 0 6 +𝔽 +298 - 0 7 +&ForAll +299 - 0 8 +∀ +300 - 0 11 +&Fouriertrf +301 - 0 12 +ℱ +302 - 0 5 +&Fscr +303 - 0 6 +ℱ +304 - 0 5 +&GJcy +305 - 0 6 +Ѓ +306 - 0 3 +> +307 - 0 4 +> +308 - 0 6 +&Gamma +309 - 0 7 +Γ +310 - 0 7 +&Gammad +311 - 0 8 +Ϝ +312 - 0 7 +&Gbreve +313 - 0 8 +Ğ +314 - 0 7 +&Gcedil +315 - 0 8 +Ģ +316 - 0 6 +&Gcirc +317 - 0 7 +Ĝ +318 - 0 4 +&Gcy +319 - 0 5 +Г +320 - 0 5 +&Gdot +321 - 0 6 +Ġ +322 - 0 4 +&Gfr +323 - 0 5 +𝔊 +324 - 0 3 +&Gg +325 - 0 4 +⋙ +326 - 0 5 +&Gopf +327 - 0 6 +𝔾 +328 - 0 13 +&GreaterEqual +329 - 0 14 +≥ +330 - 0 17 +&GreaterEqualLess +331 - 0 18 +⋛ +332 - 0 17 +&GreaterFullEqual +333 - 0 18 +≧ +334 - 0 15 +&GreaterGreater +335 - 0 16 +⪢ +336 - 0 12 +&GreaterLess +337 - 0 13 +≷ +338 - 0 18 +&GreaterSlantEqual +339 - 0 19 +⩾ +340 - 0 13 +&GreaterTilde +341 - 0 14 +≳ +342 - 0 5 +&Gscr +343 - 0 6 +𝒢 +344 - 0 3 +&Gt +345 - 0 4 +≫ +346 - 0 7 +&HARDcy +347 - 0 8 +Ъ +348 - 0 6 +&Hacek +349 - 0 7 +ˇ +350 - 0 4 +&Hat +351 - 0 5 +^ +352 - 0 6 +&Hcirc +353 - 0 7 +Ĥ +354 - 0 4 +&Hfr +355 - 0 5 +ℌ +356 - 0 13 +&HilbertSpace +357 - 0 14 +ℋ +358 - 0 5 +&Hopf +359 - 0 6 +ℍ +360 - 0 15 +&HorizontalLine +361 - 0 16 +─ +362 - 0 5 +&Hscr +363 - 0 6 +ℋ +364 - 0 7 +&Hstrok +365 - 0 8 +Ħ +366 - 0 13 +&HumpDownHump +367 - 0 14 +≎ +368 - 0 10 +&HumpEqual +369 - 0 11 +≏ +370 - 0 5 +&IEcy +371 - 0 6 +Е +372 - 0 6 +&IJlig +373 - 0 7 +IJ +374 - 0 5 +&IOcy +375 - 0 6 +Ё +376 - 0 7 +Í +377 - 0 8 +Í +378 - 0 6 +Î +379 - 0 7 +Î +380 - 0 4 +&Icy +381 - 0 5 +И +382 - 0 5 +&Idot +383 - 0 6 +İ +384 - 0 4 +&Ifr +385 - 0 5 +ℑ +386 - 0 7 +Ì +387 - 0 8 +Ì +388 - 0 3 +&Im +389 - 0 4 +ℑ +390 - 0 6 +&Imacr +391 - 0 7 +Ī +392 - 0 11 +&ImaginaryI +393 - 0 12 +ⅈ +394 - 0 8 +&Implies +395 - 0 9 +⇒ +396 - 0 4 +&Int +397 - 0 5 +∬ +398 - 0 9 +&Integral +399 - 0 10 +∫ +400 - 0 13 +&Intersection +401 - 0 14 +⋂ +402 - 0 15 +&InvisibleComma +403 - 0 16 +⁣ +404 - 0 15 +&InvisibleTimes +405 - 0 16 +⁢ +406 - 0 6 +&Iogon +407 - 0 7 +Į +408 - 0 5 +&Iopf +409 - 0 6 +𝕀 +410 - 0 5 +&Iota +411 - 0 6 +Ι +412 - 0 5 +&Iscr +413 - 0 6 +ℐ +414 - 0 7 +&Itilde +415 - 0 8 +Ĩ +416 - 0 6 +&Iukcy +417 - 0 7 +І +418 - 0 5 +Ï +419 - 0 6 +Ï +420 - 0 6 +&Jcirc +421 - 0 7 +Ĵ +422 - 0 4 +&Jcy +423 - 0 5 +Й +424 - 0 4 +&Jfr +425 - 0 5 +𝔍 +426 - 0 5 +&Jopf +427 - 0 6 +𝕁 +428 - 0 5 +&Jscr +429 - 0 6 +𝒥 +430 - 0 7 +&Jsercy +431 - 0 8 +Ј +432 - 0 6 +&Jukcy +433 - 0 7 +Є +434 - 0 5 +&KHcy +435 - 0 6 +Х +436 - 0 5 +&KJcy +437 - 0 6 +Ќ +438 - 0 6 +&Kappa +439 - 0 7 +Κ +440 - 0 7 +&Kcedil +441 - 0 8 +Ķ +442 - 0 4 +&Kcy +443 - 0 5 +К +444 - 0 4 +&Kfr +445 - 0 5 +𝔎 +446 - 0 5 +&Kopf +447 - 0 6 +𝕂 +448 - 0 5 +&Kscr +449 - 0 6 +𝒦 +450 - 0 5 +&LJcy +451 - 0 6 +Љ +452 - 0 3 +< +453 - 0 4 +< +454 - 0 7 +&Lacute +455 - 0 8 +Ĺ +456 - 0 7 +&Lambda +457 - 0 8 +Λ +458 - 0 5 +&Lang +459 - 0 6 +⟪ +460 - 0 11 +&Laplacetrf +461 - 0 12 +ℒ +462 - 0 5 +&Larr +463 - 0 6 +↞ +464 - 0 7 +&Lcaron +465 - 0 8 +Ľ +466 - 0 7 +&Lcedil +467 - 0 8 +Ļ +468 - 0 4 +&Lcy +469 - 0 5 +Л +470 - 0 17 +&LeftAngleBracket +471 - 0 18 +⟨ +472 - 0 10 +&LeftArrow +473 - 0 11 +← +474 - 0 13 +&LeftArrowBar +475 - 0 14 +⇤ +476 - 0 20 +&LeftArrowRightArrow +477 - 0 21 +⇆ +478 - 0 12 +&LeftCeiling +479 - 0 13 +⌈ +480 - 0 18 +&LeftDoubleBracket +481 - 0 19 +⟦ +482 - 0 18 +&LeftDownTeeVector +483 - 0 19 +⥡ +484 - 0 15 +&LeftDownVector +485 - 0 16 +⇃ +486 - 0 18 +&LeftDownVectorBar +487 - 0 19 +⥙ +488 - 0 10 +&LeftFloor +489 - 0 11 +⌊ +490 - 0 15 +&LeftRightArrow +491 - 0 16 +↔ +492 - 0 16 +&LeftRightVector +493 - 0 17 +⥎ +494 - 0 8 +&LeftTee +495 - 0 9 +⊣ +496 - 0 13 +&LeftTeeArrow +497 - 0 14 +↤ +498 - 0 14 +&LeftTeeVector +499 - 0 15 +⥚ +500 - 0 13 +&LeftTriangle +501 - 0 14 +⊲ +502 - 0 16 +&LeftTriangleBar +503 - 0 17 +⧏ +504 - 0 18 +&LeftTriangleEqual +505 - 0 19 +⊴ +506 - 0 17 +&LeftUpDownVector +507 - 0 18 +⥑ +508 - 0 16 +&LeftUpTeeVector +509 - 0 17 +⥠ +510 - 0 13 +&LeftUpVector +511 - 0 14 +↿ +512 - 0 16 +&LeftUpVectorBar +513 - 0 17 +⥘ +514 - 0 11 +&LeftVector +515 - 0 12 +↼ +516 - 0 14 +&LeftVectorBar +517 - 0 15 +⥒ +518 - 0 10 +&Leftarrow +519 - 0 11 +⇐ +520 - 0 15 +&Leftrightarrow +521 - 0 16 +⇔ +522 - 0 17 +&LessEqualGreater +523 - 0 18 +⋚ +524 - 0 14 +&LessFullEqual +525 - 0 15 +≦ +526 - 0 12 +&LessGreater +527 - 0 13 +≶ +528 - 0 9 +&LessLess +529 - 0 10 +⪡ +530 - 0 15 +&LessSlantEqual +531 - 0 16 +⩽ +532 - 0 10 +&LessTilde +533 - 0 11 +≲ +534 - 0 4 +&Lfr +535 - 0 5 +𝔏 +536 - 0 3 +&Ll +537 - 0 4 +⋘ +538 - 0 11 +&Lleftarrow +539 - 0 12 +⇚ +540 - 0 7 +&Lmidot +541 - 0 8 +Ŀ +542 - 0 14 +&LongLeftArrow +543 - 0 15 +⟵ +544 - 0 19 +&LongLeftRightArrow +545 - 0 20 +⟷ +546 - 0 15 +&LongRightArrow +547 - 0 16 +⟶ +548 - 0 14 +&Longleftarrow +549 - 0 15 +⟸ +550 - 0 19 +&Longleftrightarrow +551 - 0 20 +⟺ +552 - 0 15 +&Longrightarrow +553 - 0 16 +⟹ +554 - 0 5 +&Lopf +555 - 0 6 +𝕃 +556 - 0 15 +&LowerLeftArrow +557 - 0 16 +↙ +558 - 0 16 +&LowerRightArrow +559 - 0 17 +↘ +560 - 0 5 +&Lscr +561 - 0 6 +ℒ +562 - 0 4 +&Lsh +563 - 0 5 +↰ +564 - 0 7 +&Lstrok +565 - 0 8 +Ł +566 - 0 3 +&Lt +567 - 0 4 +≪ +568 - 0 4 +&Map +569 - 0 5 +⤅ +570 - 0 4 +&Mcy +571 - 0 5 +М +572 - 0 12 +&MediumSpace +573 - 0 13 +  +574 - 0 10 +&Mellintrf +575 - 0 11 +ℳ +576 - 0 4 +&Mfr +577 - 0 5 +𝔐 +578 - 0 10 +&MinusPlus +579 - 0 11 +∓ +580 - 0 5 +&Mopf +581 - 0 6 +𝕄 +582 - 0 5 +&Mscr +583 - 0 6 +ℳ +584 - 0 3 +&Mu +585 - 0 4 +Μ +586 - 0 5 +&NJcy +587 - 0 6 +Њ +588 - 0 7 +&Nacute +589 - 0 8 +Ń +590 - 0 7 +&Ncaron +591 - 0 8 +Ň +592 - 0 7 +&Ncedil +593 - 0 8 +Ņ +594 - 0 4 +&Ncy +595 - 0 5 +Н +596 - 0 20 +&NegativeMediumSpace +597 - 0 21 +​ +598 - 0 19 +&NegativeThickSpace +599 - 0 20 +​ +600 - 0 18 +&NegativeThinSpace +601 - 0 19 +​ +602 - 0 22 +&NegativeVeryThinSpace +603 - 0 23 +​ +604 - 0 21 +&NestedGreaterGreater +605 - 0 22 +≫ +606 - 0 15 +&NestedLessLess +607 - 0 16 +≪ +608 - 0 8 +&NewLine +609 - 0 9 + +610 - 0 4 +&Nfr +611 - 0 5 +𝔑 +612 - 0 8 +&NoBreak +613 - 0 9 +⁠ +614 - 0 17 +&NonBreakingSpace +615 - 0 18 +  +616 - 0 5 +&Nopf +617 - 0 6 +ℕ +618 - 0 4 +&Not +619 - 0 5 +⫬ +620 - 0 13 +&NotCongruent +621 - 0 14 +≢ +622 - 0 10 +&NotCupCap +623 - 0 11 +≭ +624 - 0 21 +&NotDoubleVerticalBar +625 - 0 22 +∦ +626 - 0 11 +&NotElement +627 - 0 12 +∉ +628 - 0 9 +&NotEqual +629 - 0 10 +≠ +630 - 0 14 +&NotEqualTilde +631 - 0 15 +≂̸ +632 - 0 10 +&NotExists +633 - 0 11 +∄ +634 - 0 11 +&NotGreater +635 - 0 12 +≯ +636 - 0 16 +&NotGreaterEqual +637 - 0 17 +≱ +638 - 0 20 +&NotGreaterFullEqual +639 - 0 21 +≧̸ +640 - 0 18 +&NotGreaterGreater +641 - 0 19 +≫̸ +642 - 0 15 +&NotGreaterLess +643 - 0 16 +≹ +644 - 0 21 +&NotGreaterSlantEqual +645 - 0 22 +⩾̸ +646 - 0 16 +&NotGreaterTilde +647 - 0 17 +≵ +648 - 0 16 +&NotHumpDownHump +649 - 0 17 +≎̸ +650 - 0 13 +&NotHumpEqual +651 - 0 14 +≏̸ +652 - 0 16 +&NotLeftTriangle +653 - 0 17 +⋪ +654 - 0 19 +&NotLeftTriangleBar +655 - 0 20 +⧏̸ +656 - 0 21 +&NotLeftTriangleEqual +657 - 0 22 +⋬ +658 - 0 8 +&NotLess +659 - 0 9 +≮ +660 - 0 13 +&NotLessEqual +661 - 0 14 +≰ +662 - 0 15 +&NotLessGreater +663 - 0 16 +≸ +664 - 0 12 +&NotLessLess +665 - 0 13 +≪̸ +666 - 0 18 +&NotLessSlantEqual +667 - 0 19 +⩽̸ +668 - 0 13 +&NotLessTilde +669 - 0 14 +≴ +670 - 0 24 +&NotNestedGreaterGreater +671 - 0 25 +⪢̸ +672 - 0 18 +&NotNestedLessLess +673 - 0 19 +⪡̸ +674 - 0 12 +&NotPrecedes +675 - 0 13 +⊀ +676 - 0 17 +&NotPrecedesEqual +677 - 0 18 +⪯̸ +678 - 0 22 +&NotPrecedesSlantEqual +679 - 0 23 +⋠ +680 - 0 18 +&NotReverseElement +681 - 0 19 +∌ +682 - 0 17 +&NotRightTriangle +683 - 0 18 +⋫ +684 - 0 20 +&NotRightTriangleBar +685 - 0 21 +⧐̸ +686 - 0 22 +&NotRightTriangleEqual +687 - 0 23 +⋭ +688 - 0 16 +&NotSquareSubset +689 - 0 17 +⊏̸ +690 - 0 21 +&NotSquareSubsetEqual +691 - 0 22 +⋢ +692 - 0 18 +&NotSquareSuperset +693 - 0 19 +⊐̸ +694 - 0 23 +&NotSquareSupersetEqual +695 - 0 24 +⋣ +696 - 0 10 +&NotSubset +697 - 0 11 +⊂⃒ +698 - 0 15 +&NotSubsetEqual +699 - 0 16 +⊈ +700 - 0 12 +&NotSucceeds +701 - 0 13 +⊁ +702 - 0 17 +&NotSucceedsEqual +703 - 0 18 +⪰̸ +704 - 0 22 +&NotSucceedsSlantEqual +705 - 0 23 +⋡ +706 - 0 17 +&NotSucceedsTilde +707 - 0 18 +≿̸ +708 - 0 12 +&NotSuperset +709 - 0 13 +⊃⃒ +710 - 0 17 +&NotSupersetEqual +711 - 0 18 +⊉ +712 - 0 9 +&NotTilde +713 - 0 10 +≁ +714 - 0 14 +&NotTildeEqual +715 - 0 15 +≄ +716 - 0 18 +&NotTildeFullEqual +717 - 0 19 +≇ +718 - 0 14 +&NotTildeTilde +719 - 0 15 +≉ +720 - 0 15 +&NotVerticalBar +721 - 0 16 +∤ +722 - 0 5 +&Nscr +723 - 0 6 +𝒩 +724 - 0 7 +Ñ +725 - 0 8 +Ñ +726 - 0 3 +&Nu +727 - 0 4 +Ν +728 - 0 6 +&OElig +729 - 0 7 +Œ +730 - 0 7 +Ó +731 - 0 8 +Ó +732 - 0 6 +Ô +733 - 0 7 +Ô +734 - 0 4 +&Ocy +735 - 0 5 +О +736 - 0 7 +&Odblac +737 - 0 8 +Ő +738 - 0 4 +&Ofr +739 - 0 5 +𝔒 +740 - 0 7 +Ò +741 - 0 8 +Ò +742 - 0 6 +&Omacr +743 - 0 7 +Ō +744 - 0 6 +&Omega +745 - 0 7 +Ω +746 - 0 8 +&Omicron +747 - 0 9 +Ο +748 - 0 5 +&Oopf +749 - 0 6 +𝕆 +750 - 0 21 +&OpenCurlyDoubleQuote +751 - 0 22 +“ +752 - 0 15 +&OpenCurlyQuote +753 - 0 16 +‘ +754 - 0 3 +&Or +755 - 0 4 +⩔ +756 - 0 5 +&Oscr +757 - 0 6 +𝒪 +758 - 0 7 +Ø +759 - 0 8 +Ø +760 - 0 7 +Õ +761 - 0 8 +Õ +762 - 0 7 +&Otimes +763 - 0 8 +⨷ +764 - 0 5 +Ö +765 - 0 6 +Ö +766 - 0 8 +&OverBar +767 - 0 9 +‾ +768 - 0 10 +&OverBrace +769 - 0 11 +⏞ +770 - 0 12 +&OverBracket +771 - 0 13 +⎴ +772 - 0 16 +&OverParenthesis +773 - 0 17 +⏜ +774 - 0 9 +&PartialD +775 - 0 10 +∂ +776 - 0 4 +&Pcy +777 - 0 5 +П +778 - 0 4 +&Pfr +779 - 0 5 +𝔓 +780 - 0 4 +&Phi +781 - 0 5 +Φ +782 - 0 3 +&Pi +783 - 0 4 +Π +784 - 0 10 +&PlusMinus +785 - 0 11 +± +786 - 0 14 +&Poincareplane +787 - 0 15 +ℌ +788 - 0 5 +&Popf +789 - 0 6 +ℙ +790 - 0 3 +&Pr +791 - 0 4 +⪻ +792 - 0 9 +&Precedes +793 - 0 10 +≺ +794 - 0 14 +&PrecedesEqual +795 - 0 15 +⪯ +796 - 0 19 +&PrecedesSlantEqual +797 - 0 20 +≼ +798 - 0 14 +&PrecedesTilde +799 - 0 15 +≾ +800 - 0 6 +&Prime +801 - 0 7 +″ +802 - 0 8 +&Product +803 - 0 9 +∏ +804 - 0 11 +&Proportion +805 - 0 12 +∷ +806 - 0 13 +&Proportional +807 - 0 14 +∝ +808 - 0 5 +&Pscr +809 - 0 6 +𝒫 +810 - 0 4 +&Psi +811 - 0 5 +Ψ +812 - 0 5 +" +813 - 0 6 +" +814 - 0 4 +&Qfr +815 - 0 5 +𝔔 +816 - 0 5 +&Qopf +817 - 0 6 +ℚ +818 - 0 5 +&Qscr +819 - 0 6 +𝒬 +820 - 0 6 +&RBarr +821 - 0 7 +⤐ +822 - 0 4 +® +823 - 0 5 +® +824 - 0 7 +&Racute +825 - 0 8 +Ŕ +826 - 0 5 +&Rang +827 - 0 6 +⟫ +828 - 0 5 +&Rarr +829 - 0 6 +↠ +830 - 0 7 +&Rarrtl +831 - 0 8 +⤖ +832 - 0 7 +&Rcaron +833 - 0 8 +Ř +834 - 0 7 +&Rcedil +835 - 0 8 +Ŗ +836 - 0 4 +&Rcy +837 - 0 5 +Р +838 - 0 3 +&Re +839 - 0 4 +ℜ +840 - 0 15 +&ReverseElement +841 - 0 16 +∋ +842 - 0 19 +&ReverseEquilibrium +843 - 0 20 +⇋ +844 - 0 21 +&ReverseUpEquilibrium +845 - 0 22 +⥯ +846 - 0 4 +&Rfr +847 - 0 5 +ℜ +848 - 0 4 +&Rho +849 - 0 5 +Ρ +850 - 0 18 +&RightAngleBracket +851 - 0 19 +⟩ +852 - 0 11 +&RightArrow +853 - 0 12 +→ +854 - 0 14 +&RightArrowBar +855 - 0 15 +⇥ +856 - 0 20 +&RightArrowLeftArrow +857 - 0 21 +⇄ +858 - 0 13 +&RightCeiling +859 - 0 14 +⌉ +860 - 0 19 +&RightDoubleBracket +861 - 0 20 +⟧ +862 - 0 19 +&RightDownTeeVector +863 - 0 20 +⥝ +864 - 0 16 +&RightDownVector +865 - 0 17 +⇂ +866 - 0 19 +&RightDownVectorBar +867 - 0 20 +⥕ +868 - 0 11 +&RightFloor +869 - 0 12 +⌋ +870 - 0 9 +&RightTee +871 - 0 10 +⊢ +872 - 0 14 +&RightTeeArrow +873 - 0 15 +↦ +874 - 0 15 +&RightTeeVector +875 - 0 16 +⥛ +876 - 0 14 +&RightTriangle +877 - 0 15 +⊳ +878 - 0 17 +&RightTriangleBar +879 - 0 18 +⧐ +880 - 0 19 +&RightTriangleEqual +881 - 0 20 +⊵ +882 - 0 18 +&RightUpDownVector +883 - 0 19 +⥏ +884 - 0 17 +&RightUpTeeVector +885 - 0 18 +⥜ +886 - 0 14 +&RightUpVector +887 - 0 15 +↾ +888 - 0 17 +&RightUpVectorBar +889 - 0 18 +⥔ +890 - 0 12 +&RightVector +891 - 0 13 +⇀ +892 - 0 15 +&RightVectorBar +893 - 0 16 +⥓ +894 - 0 11 +&Rightarrow +895 - 0 12 +⇒ +896 - 0 5 +&Ropf +897 - 0 6 +ℝ +898 - 0 13 +&RoundImplies +899 - 0 14 +⥰ +900 - 0 12 +&Rrightarrow +901 - 0 13 +⇛ +902 - 0 5 +&Rscr +903 - 0 6 +ℛ +904 - 0 4 +&Rsh +905 - 0 5 +↱ +906 - 0 12 +&RuleDelayed +907 - 0 13 +⧴ +908 - 0 7 +&SHCHcy +909 - 0 8 +Щ +910 - 0 5 +&SHcy +911 - 0 6 +Ш +912 - 0 7 +&SOFTcy +913 - 0 8 +Ь +914 - 0 7 +&Sacute +915 - 0 8 +Ś +916 - 0 3 +&Sc +917 - 0 4 +⪼ +918 - 0 7 +&Scaron +919 - 0 8 +Š +920 - 0 7 +&Scedil +921 - 0 8 +Ş +922 - 0 6 +&Scirc +923 - 0 7 +Ŝ +924 - 0 4 +&Scy +925 - 0 5 +С +926 - 0 4 +&Sfr +927 - 0 5 +𝔖 +928 - 0 15 +&ShortDownArrow +929 - 0 16 +↓ +930 - 0 15 +&ShortLeftArrow +931 - 0 16 +← +932 - 0 16 +&ShortRightArrow +933 - 0 17 +→ +934 - 0 13 +&ShortUpArrow +935 - 0 14 +↑ +936 - 0 6 +&Sigma +937 - 0 7 +Σ +938 - 0 12 +&SmallCircle +939 - 0 13 +∘ +940 - 0 5 +&Sopf +941 - 0 6 +𝕊 +942 - 0 5 +&Sqrt +943 - 0 6 +√ +944 - 0 7 +&Square +945 - 0 8 +□ +946 - 0 19 +&SquareIntersection +947 - 0 20 +⊓ +948 - 0 13 +&SquareSubset +949 - 0 14 +⊏ +950 - 0 18 +&SquareSubsetEqual +951 - 0 19 +⊑ +952 - 0 15 +&SquareSuperset +953 - 0 16 +⊐ +954 - 0 20 +&SquareSupersetEqual +955 - 0 21 +⊒ +956 - 0 12 +&SquareUnion +957 - 0 13 +⊔ +958 - 0 5 +&Sscr +959 - 0 6 +𝒮 +960 - 0 5 +&Star +961 - 0 6 +⋆ +962 - 0 4 +&Sub +963 - 0 5 +⋐ +964 - 0 7 +&Subset +965 - 0 8 +⋐ +966 - 0 12 +&SubsetEqual +967 - 0 13 +⊆ +968 - 0 9 +&Succeeds +969 - 0 10 +≻ +970 - 0 14 +&SucceedsEqual +971 - 0 15 +⪰ +972 - 0 19 +&SucceedsSlantEqual +973 - 0 20 +≽ +974 - 0 14 +&SucceedsTilde +975 - 0 15 +≿ +976 - 0 9 +&SuchThat +977 - 0 10 +∋ +978 - 0 4 +&Sum +979 - 0 5 +∑ +980 - 0 4 +&Sup +981 - 0 5 +⋑ +982 - 0 9 +&Superset +983 - 0 10 +⊃ +984 - 0 14 +&SupersetEqual +985 - 0 15 +⊇ +986 - 0 7 +&Supset +987 - 0 8 +⋑ +988 - 0 6 +Þ +989 - 0 7 +Þ +990 - 0 6 +&TRADE +991 - 0 7 +™ +992 - 0 6 +&TSHcy +993 - 0 7 +Ћ +994 - 0 5 +&TScy +995 - 0 6 +Ц +996 - 0 4 +&Tab +997 - 0 5 + +998 - 0 4 +&Tau +999 - 0 5 +Τ +1000 - 0 7 +&Tcaron +1001 - 0 8 +Ť +1002 - 0 7 +&Tcedil +1003 - 0 8 +Ţ +1004 - 0 4 +&Tcy +1005 - 0 5 +Т +1006 - 0 4 +&Tfr +1007 - 0 5 +𝔗 +1008 - 0 10 +&Therefore +1009 - 0 11 +∴ +1010 - 0 6 +&Theta +1011 - 0 7 +Θ +1012 - 0 11 +&ThickSpace +1013 - 0 12 +   +1014 - 0 10 +&ThinSpace +1015 - 0 11 +  +1016 - 0 6 +&Tilde +1017 - 0 7 +∼ +1018 - 0 11 +&TildeEqual +1019 - 0 12 +≃ +1020 - 0 15 +&TildeFullEqual +1021 - 0 16 +≅ +1022 - 0 11 +&TildeTilde +1023 - 0 12 +≈ +1024 - 0 5 +&Topf +1025 - 0 6 +𝕋 +1026 - 0 10 +&TripleDot +1027 - 0 11 +⃛ +1028 - 0 5 +&Tscr +1029 - 0 6 +𝒯 +1030 - 0 7 +&Tstrok +1031 - 0 8 +Ŧ +1032 - 0 7 +Ú +1033 - 0 8 +Ú +1034 - 0 5 +&Uarr +1035 - 0 6 +↟ +1036 - 0 9 +&Uarrocir +1037 - 0 10 +⥉ +1038 - 0 6 +&Ubrcy +1039 - 0 7 +Ў +1040 - 0 7 +&Ubreve +1041 - 0 8 +Ŭ +1042 - 0 6 +Û +1043 - 0 7 +Û +1044 - 0 4 +&Ucy +1045 - 0 5 +У +1046 - 0 7 +&Udblac +1047 - 0 8 +Ű +1048 - 0 4 +&Ufr +1049 - 0 5 +𝔘 +1050 - 0 7 +Ù +1051 - 0 8 +Ù +1052 - 0 6 +&Umacr +1053 - 0 7 +Ū +1054 - 0 9 +&UnderBar +1055 - 0 10 +_ +1056 - 0 11 +&UnderBrace +1057 - 0 12 +⏟ +1058 - 0 13 +&UnderBracket +1059 - 0 14 +⎵ +1060 - 0 17 +&UnderParenthesis +1061 - 0 18 +⏝ +1062 - 0 6 +&Union +1063 - 0 7 +⋃ +1064 - 0 10 +&UnionPlus +1065 - 0 11 +⊎ +1066 - 0 6 +&Uogon +1067 - 0 7 +Ų +1068 - 0 5 +&Uopf +1069 - 0 6 +𝕌 +1070 - 0 8 +&UpArrow +1071 - 0 9 +↑ +1072 - 0 11 +&UpArrowBar +1073 - 0 12 +⤒ +1074 - 0 17 +&UpArrowDownArrow +1075 - 0 18 +⇅ +1076 - 0 12 +&UpDownArrow +1077 - 0 13 +↕ +1078 - 0 14 +&UpEquilibrium +1079 - 0 15 +⥮ +1080 - 0 6 +&UpTee +1081 - 0 7 +⊥ +1082 - 0 11 +&UpTeeArrow +1083 - 0 12 +↥ +1084 - 0 8 +&Uparrow +1085 - 0 9 +⇑ +1086 - 0 12 +&Updownarrow +1087 - 0 13 +⇕ +1088 - 0 15 +&UpperLeftArrow +1089 - 0 16 +↖ +1090 - 0 16 +&UpperRightArrow +1091 - 0 17 +↗ +1092 - 0 5 +&Upsi +1093 - 0 6 +ϒ +1094 - 0 8 +&Upsilon +1095 - 0 9 +Υ +1096 - 0 6 +&Uring +1097 - 0 7 +Ů +1098 - 0 5 +&Uscr +1099 - 0 6 +𝒰 +1100 - 0 7 +&Utilde +1101 - 0 8 +Ũ +1102 - 0 5 +Ü +1103 - 0 6 +Ü +1104 - 0 6 +&VDash +1105 - 0 7 +⊫ +1106 - 0 5 +&Vbar +1107 - 0 6 +⫫ +1108 - 0 4 +&Vcy +1109 - 0 5 +В +1110 - 0 6 +&Vdash +1111 - 0 7 +⊩ +1112 - 0 7 +&Vdashl +1113 - 0 8 +⫦ +1114 - 0 4 +&Vee +1115 - 0 5 +⋁ +1116 - 0 7 +&Verbar +1117 - 0 8 +‖ +1118 - 0 5 +&Vert +1119 - 0 6 +‖ +1120 - 0 12 +&VerticalBar +1121 - 0 13 +∣ +1122 - 0 13 +&VerticalLine +1123 - 0 14 +| +1124 - 0 18 +&VerticalSeparator +1125 - 0 19 +❘ +1126 - 0 14 +&VerticalTilde +1127 - 0 15 +≀ +1128 - 0 14 +&VeryThinSpace +1129 - 0 15 +  +1130 - 0 4 +&Vfr +1131 - 0 5 +𝔙 +1132 - 0 5 +&Vopf +1133 - 0 6 +𝕍 +1134 - 0 5 +&Vscr +1135 - 0 6 +𝒱 +1136 - 0 7 +&Vvdash +1137 - 0 8 +⊪ +1138 - 0 6 +&Wcirc +1139 - 0 7 +Ŵ +1140 - 0 6 +&Wedge +1141 - 0 7 +⋀ +1142 - 0 4 +&Wfr +1143 - 0 5 +𝔚 +1144 - 0 5 +&Wopf +1145 - 0 6 +𝕎 +1146 - 0 5 +&Wscr +1147 - 0 6 +𝒲 +1148 - 0 4 +&Xfr +1149 - 0 5 +𝔛 +1150 - 0 3 +&Xi +1151 - 0 4 +Ξ +1152 - 0 5 +&Xopf +1153 - 0 6 +𝕏 +1154 - 0 5 +&Xscr +1155 - 0 6 +𝒳 +1156 - 0 5 +&YAcy +1157 - 0 6 +Я +1158 - 0 5 +&YIcy +1159 - 0 6 +Ї +1160 - 0 5 +&YUcy +1161 - 0 6 +Ю +1162 - 0 7 +Ý +1163 - 0 8 +Ý +1164 - 0 6 +&Ycirc +1165 - 0 7 +Ŷ +1166 - 0 4 +&Ycy +1167 - 0 5 +Ы +1168 - 0 4 +&Yfr +1169 - 0 5 +𝔜 +1170 - 0 5 +&Yopf +1171 - 0 6 +𝕐 +1172 - 0 5 +&Yscr +1173 - 0 6 +𝒴 +1174 - 0 5 +&Yuml +1175 - 0 6 +Ÿ +1176 - 0 5 +&ZHcy +1177 - 0 6 +Ж +1178 - 0 7 +&Zacute +1179 - 0 8 +Ź +1180 - 0 7 +&Zcaron +1181 - 0 8 +Ž +1182 - 0 4 +&Zcy +1183 - 0 5 +З +1184 - 0 5 +&Zdot +1185 - 0 6 +Ż +1186 - 0 15 +&ZeroWidthSpace +1187 - 0 16 +​ +1188 - 0 5 +&Zeta +1189 - 0 6 +Ζ +1190 - 0 4 +&Zfr +1191 - 0 5 +ℨ +1192 - 0 5 +&Zopf +1193 - 0 6 +ℤ +1194 - 0 5 +&Zscr +1195 - 0 6 +𝒵 +1196 - 0 7 +á +1197 - 0 8 +á +1198 - 0 7 +&abreve +1199 - 0 8 +ă +1200 - 0 3 +&ac +1201 - 0 4 +∾ +1202 - 0 4 +&acE +1203 - 0 5 +∾̳ +1204 - 0 4 +&acd +1205 - 0 5 +∿ +1206 - 0 6 +â +1207 - 0 7 +â +1208 - 0 6 +´ +1209 - 0 7 +´ +1210 - 0 4 +&acy +1211 - 0 5 +а +1212 - 0 6 +æ +1213 - 0 7 +æ +1214 - 0 3 +&af +1215 - 0 4 +⁡ +1216 - 0 4 +&afr +1217 - 0 5 +𝔞 +1218 - 0 7 +à +1219 - 0 8 +à +1220 - 0 8 +&alefsym +1221 - 0 9 +ℵ +1222 - 0 6 +&aleph +1223 - 0 7 +ℵ +1224 - 0 6 +&alpha +1225 - 0 7 +α +1226 - 0 6 +&amacr +1227 - 0 7 +ā +1228 - 0 6 +&amalg +1229 - 0 7 +⨿ +1230 - 0 4 +& +1231 - 0 5 +& +1232 - 0 4 +&and +1233 - 0 5 +∧ +1234 - 0 7 +&andand +1235 - 0 8 +⩕ +1236 - 0 5 +&andd +1237 - 0 6 +⩜ +1238 - 0 9 +&andslope +1239 - 0 10 +⩘ +1240 - 0 5 +&andv +1241 - 0 6 +⩚ +1242 - 0 4 +&ang +1243 - 0 5 +∠ +1244 - 0 5 +&ange +1245 - 0 6 +⦤ +1246 - 0 6 +&angle +1247 - 0 7 +∠ +1248 - 0 7 +&angmsd +1249 - 0 8 +∡ +1250 - 0 9 +&angmsdaa +1251 - 0 10 +⦨ +1252 - 0 9 +&angmsdab +1253 - 0 10 +⦩ +1254 - 0 9 +&angmsdac +1255 - 0 10 +⦪ +1256 - 0 9 +&angmsdad +1257 - 0 10 +⦫ +1258 - 0 9 +&angmsdae +1259 - 0 10 +⦬ +1260 - 0 9 +&angmsdaf +1261 - 0 10 +⦭ +1262 - 0 9 +&angmsdag +1263 - 0 10 +⦮ +1264 - 0 9 +&angmsdah +1265 - 0 10 +⦯ +1266 - 0 6 +&angrt +1267 - 0 7 +∟ +1268 - 0 8 +&angrtvb +1269 - 0 9 +⊾ +1270 - 0 9 +&angrtvbd +1271 - 0 10 +⦝ +1272 - 0 7 +&angsph +1273 - 0 8 +∢ +1274 - 0 6 +&angst +1275 - 0 7 +Å +1276 - 0 8 +&angzarr +1277 - 0 9 +⍼ +1278 - 0 6 +&aogon +1279 - 0 7 +ą +1280 - 0 5 +&aopf +1281 - 0 6 +𝕒 +1282 - 0 3 +&ap +1283 - 0 4 +≈ +1284 - 0 4 +&apE +1285 - 0 5 +⩰ +1286 - 0 7 +&apacir +1287 - 0 8 +⩯ +1288 - 0 4 +&ape +1289 - 0 5 +≊ +1290 - 0 5 +&apid +1291 - 0 6 +≋ +1292 - 0 5 +&apos +1293 - 0 6 +' +1294 - 0 7 +&approx +1295 - 0 8 +≈ +1296 - 0 9 +&approxeq +1297 - 0 10 +≊ +1298 - 0 6 +å +1299 - 0 7 +å +1300 - 0 5 +&ascr +1301 - 0 6 +𝒶 +1302 - 0 4 +&ast +1303 - 0 5 +* +1304 - 0 6 +&asymp +1305 - 0 7 +≈ +1306 - 0 8 +&asympeq +1307 - 0 9 +≍ +1308 - 0 7 +ã +1309 - 0 8 +ã +1310 - 0 5 +ä +1311 - 0 6 +ä +1312 - 0 9 +&awconint +1313 - 0 10 +∳ +1314 - 0 6 +&awint +1315 - 0 7 +⨑ +1316 - 0 5 +&bNot +1317 - 0 6 +⫭ +1318 - 0 9 +&backcong +1319 - 0 10 +≌ +1320 - 0 12 +&backepsilon +1321 - 0 13 +϶ +1322 - 0 10 +&backprime +1323 - 0 11 +‵ +1324 - 0 8 +&backsim +1325 - 0 9 +∽ +1326 - 0 10 +&backsimeq +1327 - 0 11 +⋍ +1328 - 0 7 +&barvee +1329 - 0 8 +⊽ +1330 - 0 7 +&barwed +1331 - 0 8 +⌅ +1332 - 0 9 +&barwedge +1333 - 0 10 +⌅ +1334 - 0 5 +&bbrk +1335 - 0 6 +⎵ +1336 - 0 9 +&bbrktbrk +1337 - 0 10 +⎶ +1338 - 0 6 +&bcong +1339 - 0 7 +≌ +1340 - 0 4 +&bcy +1341 - 0 5 +б +1342 - 0 6 +&bdquo +1343 - 0 7 +„ +1344 - 0 7 +&becaus +1345 - 0 8 +∵ +1346 - 0 8 +&because +1347 - 0 9 +∵ +1348 - 0 8 +&bemptyv +1349 - 0 9 +⦰ +1350 - 0 6 +&bepsi +1351 - 0 7 +϶ +1352 - 0 7 +&bernou +1353 - 0 8 +ℬ +1354 - 0 5 +&beta +1355 - 0 6 +β +1356 - 0 5 +&beth +1357 - 0 6 +ℶ +1358 - 0 8 +&between +1359 - 0 9 +≬ +1360 - 0 4 +&bfr +1361 - 0 5 +𝔟 +1362 - 0 7 +&bigcap +1363 - 0 8 +⋂ +1364 - 0 8 +&bigcirc +1365 - 0 9 +◯ +1366 - 0 7 +&bigcup +1367 - 0 8 +⋃ +1368 - 0 8 +&bigodot +1369 - 0 9 +⨀ +1370 - 0 9 +&bigoplus +1371 - 0 10 +⨁ +1372 - 0 10 +&bigotimes +1373 - 0 11 +⨂ +1374 - 0 9 +&bigsqcup +1375 - 0 10 +⨆ +1376 - 0 8 +&bigstar +1377 - 0 9 +★ +1378 - 0 16 +&bigtriangledown +1379 - 0 17 +▽ +1380 - 0 14 +&bigtriangleup +1381 - 0 15 +△ +1382 - 0 9 +&biguplus +1383 - 0 10 +⨄ +1384 - 0 7 +&bigvee +1385 - 0 8 +⋁ +1386 - 0 9 +&bigwedge +1387 - 0 10 +⋀ +1388 - 0 7 +&bkarow +1389 - 0 8 +⤍ +1390 - 0 13 +&blacklozenge +1391 - 0 14 +⧫ +1392 - 0 12 +&blacksquare +1393 - 0 13 +▪ +1394 - 0 14 +&blacktriangle +1395 - 0 15 +▴ +1396 - 0 18 +&blacktriangledown +1397 - 0 19 +▾ +1398 - 0 18 +&blacktriangleleft +1399 - 0 19 +◂ +1400 - 0 19 +&blacktriangleright +1401 - 0 20 +▸ +1402 - 0 6 +&blank +1403 - 0 7 +␣ +1404 - 0 6 +&blk12 +1405 - 0 7 +▒ +1406 - 0 6 +&blk14 +1407 - 0 7 +░ +1408 - 0 6 +&blk34 +1409 - 0 7 +▓ +1410 - 0 6 +&block +1411 - 0 7 +█ +1412 - 0 4 +&bne +1413 - 0 5 +=⃥ +1414 - 0 8 +&bnequiv +1415 - 0 9 +≡⃥ +1416 - 0 5 +&bnot +1417 - 0 6 +⌐ +1418 - 0 5 +&bopf +1419 - 0 6 +𝕓 +1420 - 0 4 +&bot +1421 - 0 5 +⊥ +1422 - 0 7 +&bottom +1423 - 0 8 +⊥ +1424 - 0 7 +&bowtie +1425 - 0 8 +⋈ +1426 - 0 6 +&boxDL +1427 - 0 7 +╗ +1428 - 0 6 +&boxDR +1429 - 0 7 +╔ +1430 - 0 6 +&boxDl +1431 - 0 7 +╖ +1432 - 0 6 +&boxDr +1433 - 0 7 +╓ +1434 - 0 5 +&boxH +1435 - 0 6 +═ +1436 - 0 6 +&boxHD +1437 - 0 7 +╦ +1438 - 0 6 +&boxHU +1439 - 0 7 +╩ +1440 - 0 6 +&boxHd +1441 - 0 7 +╤ +1442 - 0 6 +&boxHu +1443 - 0 7 +╧ +1444 - 0 6 +&boxUL +1445 - 0 7 +╝ +1446 - 0 6 +&boxUR +1447 - 0 7 +╚ +1448 - 0 6 +&boxUl +1449 - 0 7 +╜ +1450 - 0 6 +&boxUr +1451 - 0 7 +╙ +1452 - 0 5 +&boxV +1453 - 0 6 +║ +1454 - 0 6 +&boxVH +1455 - 0 7 +╬ +1456 - 0 6 +&boxVL +1457 - 0 7 +╣ +1458 - 0 6 +&boxVR +1459 - 0 7 +╠ +1460 - 0 6 +&boxVh +1461 - 0 7 +╫ +1462 - 0 6 +&boxVl +1463 - 0 7 +╢ +1464 - 0 6 +&boxVr +1465 - 0 7 +╟ +1466 - 0 7 +&boxbox +1467 - 0 8 +⧉ +1468 - 0 6 +&boxdL +1469 - 0 7 +╕ +1470 - 0 6 +&boxdR +1471 - 0 7 +╒ +1472 - 0 6 +&boxdl +1473 - 0 7 +┐ +1474 - 0 6 +&boxdr +1475 - 0 7 +┌ +1476 - 0 5 +&boxh +1477 - 0 6 +─ +1478 - 0 6 +&boxhD +1479 - 0 7 +╥ +1480 - 0 6 +&boxhU +1481 - 0 7 +╨ +1482 - 0 6 +&boxhd +1483 - 0 7 +┬ +1484 - 0 6 +&boxhu +1485 - 0 7 +┴ +1486 - 0 9 +&boxminus +1487 - 0 10 +⊟ +1488 - 0 8 +&boxplus +1489 - 0 9 +⊞ +1490 - 0 9 +&boxtimes +1491 - 0 10 +⊠ +1492 - 0 6 +&boxuL +1493 - 0 7 +╛ +1494 - 0 6 +&boxuR +1495 - 0 7 +╘ +1496 - 0 6 +&boxul +1497 - 0 7 +┘ +1498 - 0 6 +&boxur +1499 - 0 7 +└ +1500 - 0 5 +&boxv +1501 - 0 6 +│ +1502 - 0 6 +&boxvH +1503 - 0 7 +╪ +1504 - 0 6 +&boxvL +1505 - 0 7 +╡ +1506 - 0 6 +&boxvR +1507 - 0 7 +╞ +1508 - 0 6 +&boxvh +1509 - 0 7 +┼ +1510 - 0 6 +&boxvl +1511 - 0 7 +┤ +1512 - 0 6 +&boxvr +1513 - 0 7 +├ +1514 - 0 7 +&bprime +1515 - 0 8 +‵ +1516 - 0 6 +&breve +1517 - 0 7 +˘ +1518 - 0 7 +¦ +1519 - 0 8 +¦ +1520 - 0 5 +&bscr +1521 - 0 6 +𝒷 +1522 - 0 6 +&bsemi +1523 - 0 7 +⁏ +1524 - 0 5 +&bsim +1525 - 0 6 +∽ +1526 - 0 6 +&bsime +1527 - 0 7 +⋍ +1528 - 0 5 +&bsol +1529 - 0 6 +\ +1530 - 0 6 +&bsolb +1531 - 0 7 +⧅ +1532 - 0 9 +&bsolhsub +1533 - 0 10 +⟈ +1534 - 0 5 +&bull +1535 - 0 6 +• +1536 - 0 7 +&bullet +1537 - 0 8 +• +1538 - 0 5 +&bump +1539 - 0 6 +≎ +1540 - 0 6 +&bumpE +1541 - 0 7 +⪮ +1542 - 0 6 +&bumpe +1543 - 0 7 +≏ +1544 - 0 7 +&bumpeq +1545 - 0 8 +≏ +1546 - 0 7 +&cacute +1547 - 0 8 +ć +1548 - 0 4 +&cap +1549 - 0 5 +∩ +1550 - 0 7 +&capand +1551 - 0 8 +⩄ +1552 - 0 9 +&capbrcup +1553 - 0 10 +⩉ +1554 - 0 7 +&capcap +1555 - 0 8 +⩋ +1556 - 0 7 +&capcup +1557 - 0 8 +⩇ +1558 - 0 7 +&capdot +1559 - 0 8 +⩀ +1560 - 0 5 +&caps +1561 - 0 6 +∩︀ +1562 - 0 6 +&caret +1563 - 0 7 +⁁ +1564 - 0 6 +&caron +1565 - 0 7 +ˇ +1566 - 0 6 +&ccaps +1567 - 0 7 +⩍ +1568 - 0 7 +&ccaron +1569 - 0 8 +č +1570 - 0 7 +ç +1571 - 0 8 +ç +1572 - 0 6 +&ccirc +1573 - 0 7 +ĉ +1574 - 0 6 +&ccups +1575 - 0 7 +⩌ +1576 - 0 8 +&ccupssm +1577 - 0 9 +⩐ +1578 - 0 5 +&cdot +1579 - 0 6 +ċ +1580 - 0 6 +¸ +1581 - 0 7 +¸ +1582 - 0 8 +&cemptyv +1583 - 0 9 +⦲ +1584 - 0 5 +¢ +1585 - 0 6 +¢ +1586 - 0 11 +· +1587 - 0 4 +&cfr +1588 - 0 5 +𝔠 +1589 - 0 5 +&chcy +1590 - 0 6 +ч +1591 - 0 6 +&check +1592 - 0 7 +✓ +1593 - 0 10 +&checkmark +1594 - 0 11 +✓ +1595 - 0 4 +&chi +1596 - 0 5 +χ +1597 - 0 4 +&cir +1598 - 0 5 +○ +1599 - 0 5 +&cirE +1600 - 0 6 +⧃ +1601 - 0 5 +&circ +1602 - 0 6 +ˆ +1603 - 0 7 +&circeq +1604 - 0 8 +≗ +1605 - 0 16 +&circlearrowleft +1606 - 0 17 +↺ +1607 - 0 17 +&circlearrowright +1608 - 0 18 +↻ +1609 - 0 9 +&circledR +1610 - 0 10 +® +1611 - 0 9 +&circledS +1612 - 0 10 +Ⓢ +1613 - 0 11 +&circledast +1614 - 0 12 +⊛ +1615 - 0 12 +&circledcirc +1616 - 0 13 +⊚ +1617 - 0 12 +&circleddash +1618 - 0 13 +⊝ +1619 - 0 5 +&cire +1620 - 0 6 +≗ +1621 - 0 9 +&cirfnint +1622 - 0 10 +⨐ +1623 - 0 7 +&cirmid +1624 - 0 8 +⫯ +1625 - 0 8 +&cirscir +1626 - 0 9 +⧂ +1627 - 0 6 +&clubs +1628 - 0 7 +♣ +1629 - 0 9 +&clubsuit +1630 - 0 10 +♣ +1631 - 0 6 +&colon +1632 - 0 7 +: +1633 - 0 7 +&colone +1634 - 0 8 +≔ +1635 - 0 8 +&coloneq +1636 - 0 9 +≔ +1637 - 0 6 +&comma +1638 - 0 7 +, +1639 - 0 7 +&commat +1640 - 0 8 +@ +1641 - 0 5 +&comp +1642 - 0 6 +∁ +1643 - 0 7 +&compfn +1644 - 0 8 +∘ +1645 - 0 11 +&complement +1646 - 0 12 +∁ +1647 - 0 10 +&complexes +1648 - 0 11 +ℂ +1649 - 0 5 +&cong +1650 - 0 6 +≅ +1651 - 0 8 +&congdot +1652 - 0 9 +⩭ +1653 - 0 7 +&conint +1654 - 0 8 +∮ +1655 - 0 5 +&copf +1656 - 0 6 +𝕔 +1657 - 0 7 +&coprod +1658 - 0 8 +∐ +1659 - 0 5 +© +1660 - 0 6 +© +1661 - 0 8 +℗ +1662 - 0 6 +&crarr +1663 - 0 7 +↵ +1664 - 0 6 +&cross +1665 - 0 7 +✗ +1666 - 0 5 +&cscr +1667 - 0 6 +𝒸 +1668 - 0 5 +&csub +1669 - 0 6 +⫏ +1670 - 0 6 +&csube +1671 - 0 7 +⫑ +1672 - 0 5 +&csup +1673 - 0 6 +⫐ +1674 - 0 6 +&csupe +1675 - 0 7 +⫒ +1676 - 0 6 +&ctdot +1677 - 0 7 +⋯ +1678 - 0 8 +&cudarrl +1679 - 0 9 +⤸ +1680 - 0 8 +&cudarrr +1681 - 0 9 +⤵ +1682 - 0 6 +&cuepr +1683 - 0 7 +⋞ +1684 - 0 6 +&cuesc +1685 - 0 7 +⋟ +1686 - 0 7 +&cularr +1687 - 0 8 +↶ +1688 - 0 8 +&cularrp +1689 - 0 9 +⤽ +1690 - 0 4 +&cup +1691 - 0 5 +∪ +1692 - 0 9 +&cupbrcap +1693 - 0 10 +⩈ +1694 - 0 7 +&cupcap +1695 - 0 8 +⩆ +1696 - 0 7 +&cupcup +1697 - 0 8 +⩊ +1698 - 0 7 +&cupdot +1699 - 0 8 +⊍ +1700 - 0 6 +&cupor +1701 - 0 7 +⩅ +1702 - 0 5 +&cups +1703 - 0 6 +∪︀ +1704 - 0 7 +&curarr +1705 - 0 8 +↷ +1706 - 0 8 +&curarrm +1707 - 0 9 +⤼ +1708 - 0 12 +&curlyeqprec +1709 - 0 13 +⋞ +1710 - 0 12 +&curlyeqsucc +1711 - 0 13 +⋟ +1712 - 0 9 +&curlyvee +1713 - 0 10 +⋎ +1714 - 0 11 +&curlywedge +1715 - 0 12 +⋏ +1716 - 0 7 +¤ +1717 - 0 8 +¤ +1718 - 0 15 +&curvearrowleft +1719 - 0 16 +↶ +1720 - 0 16 +&curvearrowright +1721 - 0 17 +↷ +1722 - 0 6 +&cuvee +1723 - 0 7 +⋎ +1724 - 0 6 +&cuwed +1725 - 0 7 +⋏ +1726 - 0 9 +&cwconint +1727 - 0 10 +∲ +1728 - 0 6 +&cwint +1729 - 0 7 +∱ +1730 - 0 7 +&cylcty +1731 - 0 8 +⌭ +1732 - 0 5 +&dArr +1733 - 0 6 +⇓ +1734 - 0 5 +&dHar +1735 - 0 6 +⥥ +1736 - 0 7 +&dagger +1737 - 0 8 +† +1738 - 0 7 +&daleth +1739 - 0 8 +ℸ +1740 - 0 5 +&darr +1741 - 0 6 +↓ +1742 - 0 5 +&dash +1743 - 0 6 +‐ +1744 - 0 6 +&dashv +1745 - 0 7 +⊣ +1746 - 0 8 +&dbkarow +1747 - 0 9 +⤏ +1748 - 0 6 +&dblac +1749 - 0 7 +˝ +1750 - 0 7 +&dcaron +1751 - 0 8 +ď +1752 - 0 4 +&dcy +1753 - 0 5 +д +1754 - 0 3 +&dd +1755 - 0 4 +ⅆ +1756 - 0 8 +&ddagger +1757 - 0 9 +‡ +1758 - 0 6 +&ddarr +1759 - 0 7 +⇊ +1760 - 0 8 +&ddotseq +1761 - 0 9 +⩷ +1762 - 0 4 +° +1763 - 0 5 +° +1764 - 0 6 +&delta +1765 - 0 7 +δ +1766 - 0 8 +&demptyv +1767 - 0 9 +⦱ +1768 - 0 7 +&dfisht +1769 - 0 8 +⥿ +1770 - 0 4 +&dfr +1771 - 0 5 +𝔡 +1772 - 0 6 +&dharl +1773 - 0 7 +⇃ +1774 - 0 6 +&dharr +1775 - 0 7 +⇂ +1776 - 0 5 +&diam +1777 - 0 6 +⋄ +1778 - 0 8 +&diamond +1779 - 0 9 +⋄ +1780 - 0 12 +&diamondsuit +1781 - 0 13 +♦ +1782 - 0 6 +&diams +1783 - 0 7 +♦ +1784 - 0 4 +&die +1785 - 0 5 +¨ +1786 - 0 8 +&digamma +1787 - 0 9 +ϝ +1788 - 0 6 +&disin +1789 - 0 7 +⋲ +1790 - 0 4 +&div +1791 - 0 5 +÷ +1792 - 0 7 +÷ +1793 - 0 8 +÷ +1794 - 0 15 +⋇ +1795 - 0 7 +&divonx +1796 - 0 8 +⋇ +1797 - 0 5 +&djcy +1798 - 0 6 +ђ +1799 - 0 7 +&dlcorn +1800 - 0 8 +⌞ +1801 - 0 7 +&dlcrop +1802 - 0 8 +⌍ +1803 - 0 7 +&dollar +1804 - 0 8 +$ +1805 - 0 5 +&dopf +1806 - 0 6 +𝕕 +1807 - 0 4 +&dot +1808 - 0 5 +˙ +1809 - 0 6 +&doteq +1810 - 0 7 +≐ +1811 - 0 9 +&doteqdot +1812 - 0 10 +≑ +1813 - 0 9 +&dotminus +1814 - 0 10 +∸ +1815 - 0 8 +&dotplus +1816 - 0 9 +∔ +1817 - 0 10 +&dotsquare +1818 - 0 11 +⊡ +1819 - 0 15 +&doublebarwedge +1820 - 0 16 +⌆ +1821 - 0 10 +&downarrow +1822 - 0 11 +↓ +1823 - 0 15 +&downdownarrows +1824 - 0 16 +⇊ +1825 - 0 16 +&downharpoonleft +1826 - 0 17 +⇃ +1827 - 0 17 +&downharpoonright +1828 - 0 18 +⇂ +1829 - 0 9 +&drbkarow +1830 - 0 10 +⤐ +1831 - 0 7 +&drcorn +1832 - 0 8 +⌟ +1833 - 0 7 +&drcrop +1834 - 0 8 +⌌ +1835 - 0 5 +&dscr +1836 - 0 6 +𝒹 +1837 - 0 5 +&dscy +1838 - 0 6 +ѕ +1839 - 0 5 +&dsol +1840 - 0 6 +⧶ +1841 - 0 7 +&dstrok +1842 - 0 8 +đ +1843 - 0 6 +&dtdot +1844 - 0 7 +⋱ +1845 - 0 5 +&dtri +1846 - 0 6 +▿ +1847 - 0 6 +&dtrif +1848 - 0 7 +▾ +1849 - 0 6 +&duarr +1850 - 0 7 +⇵ +1851 - 0 6 +&duhar +1852 - 0 7 +⥯ +1853 - 0 8 +&dwangle +1854 - 0 9 +⦦ +1855 - 0 5 +&dzcy +1856 - 0 6 +џ +1857 - 0 9 +&dzigrarr +1858 - 0 10 +⟿ +1859 - 0 6 +&eDDot +1860 - 0 7 +⩷ +1861 - 0 5 +&eDot +1862 - 0 6 +≑ +1863 - 0 7 +é +1864 - 0 8 +é +1865 - 0 7 +&easter +1866 - 0 8 +⩮ +1867 - 0 7 +&ecaron +1868 - 0 8 +ě +1869 - 0 5 +&ecir +1870 - 0 6 +≖ +1871 - 0 6 +ê +1872 - 0 7 +ê +1873 - 0 7 +&ecolon +1874 - 0 8 +≕ +1875 - 0 4 +&ecy +1876 - 0 5 +э +1877 - 0 5 +&edot +1878 - 0 6 +ė +1879 - 0 3 +&ee +1880 - 0 4 +ⅇ +1881 - 0 6 +&efDot +1882 - 0 7 +≒ +1883 - 0 4 +&efr +1884 - 0 5 +𝔢 +1885 - 0 3 +&eg +1886 - 0 4 +⪚ +1887 - 0 7 +è +1888 - 0 8 +è +1889 - 0 4 +&egs +1890 - 0 5 +⪖ +1891 - 0 7 +&egsdot +1892 - 0 8 +⪘ +1893 - 0 3 +&el +1894 - 0 4 +⪙ +1895 - 0 9 +&elinters +1896 - 0 10 +⏧ +1897 - 0 4 +&ell +1898 - 0 5 +ℓ +1899 - 0 4 +&els +1900 - 0 5 +⪕ +1901 - 0 7 +&elsdot +1902 - 0 8 +⪗ +1903 - 0 6 +&emacr +1904 - 0 7 +ē +1905 - 0 6 +&empty +1906 - 0 7 +∅ +1907 - 0 9 +&emptyset +1908 - 0 10 +∅ +1909 - 0 7 +&emptyv +1910 - 0 8 +∅ +1911 - 0 5 +&emsp +1912 - 0 7 +&emsp13 +1913 - 0 8 +  +1914 - 0 7 +&emsp14 +1915 - 0 8 +  +1916 - 0 6 +  +1917 - 0 4 +&eng +1918 - 0 5 +ŋ +1919 - 0 5 +&ensp +1920 - 0 6 +  +1921 - 0 6 +&eogon +1922 - 0 7 +ę +1923 - 0 5 +&eopf +1924 - 0 6 +𝕖 +1925 - 0 5 +&epar +1926 - 0 6 +⋕ +1927 - 0 7 +&eparsl +1928 - 0 8 +⧣ +1929 - 0 6 +&eplus +1930 - 0 7 +⩱ +1931 - 0 5 +&epsi +1932 - 0 6 +ε +1933 - 0 8 +&epsilon +1934 - 0 9 +ε +1935 - 0 6 +&epsiv +1936 - 0 7 +ϵ +1937 - 0 7 +&eqcirc +1938 - 0 8 +≖ +1939 - 0 8 +&eqcolon +1940 - 0 9 +≕ +1941 - 0 6 +&eqsim +1942 - 0 7 +≂ +1943 - 0 11 +&eqslantgtr +1944 - 0 12 +⪖ +1945 - 0 12 +&eqslantless +1946 - 0 13 +⪕ +1947 - 0 7 +&equals +1948 - 0 8 += +1949 - 0 7 +&equest +1950 - 0 8 +≟ +1951 - 0 6 +&equiv +1952 - 0 7 +≡ +1953 - 0 8 +&equivDD +1954 - 0 9 +⩸ +1955 - 0 9 +&eqvparsl +1956 - 0 10 +⧥ +1957 - 0 6 +&erDot +1958 - 0 7 +≓ +1959 - 0 6 +&erarr +1960 - 0 7 +⥱ +1961 - 0 5 +&escr +1962 - 0 6 +ℯ +1963 - 0 6 +&esdot +1964 - 0 7 +≐ +1965 - 0 5 +&esim +1966 - 0 6 +≂ +1967 - 0 4 +&eta +1968 - 0 5 +η +1969 - 0 4 +ð +1970 - 0 5 +ð +1971 - 0 5 +ë +1972 - 0 6 +ë +1973 - 0 5 +&euro +1974 - 0 6 +€ +1975 - 0 5 +&excl +1976 - 0 6 +! +1977 - 0 6 +&exist +1978 - 0 7 +∃ +1979 - 0 12 +&expectation +1980 - 0 13 +ℰ +1981 - 0 13 +&exponentiale +1982 - 0 14 +ⅇ +1983 - 0 14 +&fallingdotseq +1984 - 0 15 +≒ +1985 - 0 4 +&fcy +1986 - 0 5 +ф +1987 - 0 7 +&female +1988 - 0 8 +♀ +1989 - 0 7 +&ffilig +1990 - 0 8 +ffi +1991 - 0 6 +&fflig +1992 - 0 7 +ff +1993 - 0 7 +&ffllig +1994 - 0 8 +ffl +1995 - 0 4 +&ffr +1996 - 0 5 +𝔣 +1997 - 0 6 +&filig +1998 - 0 7 +fi +1999 - 0 6 +&fjlig +2000 - 0 7 +fj +2001 - 0 5 +&flat +2002 - 0 6 +♭ +2003 - 0 6 +&fllig +2004 - 0 7 +fl +2005 - 0 6 +&fltns +2006 - 0 7 +▱ +2007 - 0 5 +&fnof +2008 - 0 6 +ƒ +2009 - 0 5 +&fopf +2010 - 0 6 +𝕗 +2011 - 0 7 +&forall +2012 - 0 8 +∀ +2013 - 0 5 +&fork +2014 - 0 6 +⋔ +2015 - 0 6 +&forkv +2016 - 0 7 +⫙ +2017 - 0 9 +&fpartint +2018 - 0 10 +⨍ +2019 - 0 7 +½ +2020 - 0 8 +½ +2021 - 0 7 +&frac13 +2022 - 0 8 +⅓ +2023 - 0 7 +¼ +2024 - 0 8 +¼ +2025 - 0 7 +&frac15 +2026 - 0 8 +⅕ +2027 - 0 7 +&frac16 +2028 - 0 8 +⅙ +2029 - 0 7 +&frac18 +2030 - 0 8 +⅛ +2031 - 0 7 +&frac23 +2032 - 0 8 +⅔ +2033 - 0 7 +&frac25 +2034 - 0 8 +⅖ +2035 - 0 7 +¾ +2036 - 0 8 +¾ +2037 - 0 7 +&frac35 +2038 - 0 8 +⅗ +2039 - 0 7 +&frac38 +2040 - 0 8 +⅜ +2041 - 0 7 +&frac45 +2042 - 0 8 +⅘ +2043 - 0 7 +&frac56 +2044 - 0 8 +⅚ +2045 - 0 7 +&frac58 +2046 - 0 8 +⅝ +2047 - 0 7 +&frac78 +2048 - 0 8 +⅞ +2049 - 0 6 +&frasl +2050 - 0 7 +⁄ +2051 - 0 6 +&frown +2052 - 0 7 +⌢ +2053 - 0 5 +&fscr +2054 - 0 6 +𝒻 +2055 - 0 3 +&gE +2056 - 0 4 +≧ +2057 - 0 4 +&gEl +2058 - 0 5 +⪌ +2059 - 0 7 +&gacute +2060 - 0 8 +ǵ +2061 - 0 6 +&gamma +2062 - 0 7 +γ +2063 - 0 7 +&gammad +2064 - 0 8 +ϝ +2065 - 0 4 +&gap +2066 - 0 5 +⪆ +2067 - 0 7 +&gbreve +2068 - 0 8 +ğ +2069 - 0 6 +&gcirc +2070 - 0 7 +ĝ +2071 - 0 4 +&gcy +2072 - 0 5 +г +2073 - 0 5 +&gdot +2074 - 0 6 +ġ +2075 - 0 3 +&ge +2076 - 0 4 +≥ +2077 - 0 4 +&gel +2078 - 0 5 +⋛ +2079 - 0 4 +&geq +2080 - 0 5 +≥ +2081 - 0 5 +&geqq +2082 - 0 6 +≧ +2083 - 0 9 +&geqslant +2084 - 0 10 +⩾ +2085 - 0 4 +&ges +2086 - 0 5 +⩾ +2087 - 0 6 +&gescc +2088 - 0 7 +⪩ +2089 - 0 7 +&gesdot +2090 - 0 8 +⪀ +2091 - 0 8 +&gesdoto +2092 - 0 9 +⪂ +2093 - 0 9 +&gesdotol +2094 - 0 10 +⪄ +2095 - 0 5 +&gesl +2096 - 0 6 +⋛︀ +2097 - 0 7 +&gesles +2098 - 0 8 +⪔ +2099 - 0 4 +&gfr +2100 - 0 5 +𝔤 +2101 - 0 3 +&gg +2102 - 0 4 +≫ +2103 - 0 4 +&ggg +2104 - 0 5 +⋙ +2105 - 0 6 +&gimel +2106 - 0 7 +ℷ +2107 - 0 5 +&gjcy +2108 - 0 6 +ѓ +2109 - 0 3 +&gl +2110 - 0 4 +≷ +2111 - 0 4 +&glE +2112 - 0 5 +⪒ +2113 - 0 4 +&gla +2114 - 0 5 +⪥ +2115 - 0 4 +&glj +2116 - 0 5 +⪤ +2117 - 0 4 +&gnE +2118 - 0 5 +≩ +2119 - 0 5 +&gnap +2120 - 0 6 +⪊ +2121 - 0 9 +&gnapprox +2122 - 0 10 +⪊ +2123 - 0 4 +&gne +2124 - 0 5 +⪈ +2125 - 0 5 +&gneq +2126 - 0 6 +⪈ +2127 - 0 6 +&gneqq +2128 - 0 7 +≩ +2129 - 0 6 +&gnsim +2130 - 0 7 +⋧ +2131 - 0 5 +&gopf +2132 - 0 6 +𝕘 +2133 - 0 6 +&grave +2134 - 0 7 +` +2135 - 0 5 +&gscr +2136 - 0 6 +ℊ +2137 - 0 5 +&gsim +2138 - 0 6 +≳ +2139 - 0 6 +&gsime +2140 - 0 7 +⪎ +2141 - 0 6 +&gsiml +2142 - 0 7 +⪐ +2143 - 0 3 +> +2144 - 0 4 +> +2145 - 0 6 +⪧ +2146 - 0 7 +⩺ +2147 - 0 7 +⋗ +2148 - 0 8 +⦕ +2149 - 0 9 +⩼ +2150 - 0 11 +⪆ +2151 - 0 8 +⥸ +2152 - 0 8 +⋗ +2153 - 0 11 +⋛ +2154 - 0 12 +⪌ +2155 - 0 9 +≷ +2156 - 0 8 +≳ +2157 - 0 10 +&gvertneqq +2158 - 0 11 +≩︀ +2159 - 0 5 +&gvnE +2160 - 0 6 +≩︀ +2161 - 0 5 +&hArr +2162 - 0 6 +⇔ +2163 - 0 7 +&hairsp +2164 - 0 8 +  +2165 - 0 5 +&half +2166 - 0 6 +½ +2167 - 0 7 +&hamilt +2168 - 0 8 +ℋ +2169 - 0 7 +&hardcy +2170 - 0 8 +ъ +2171 - 0 5 +&harr +2172 - 0 6 +↔ +2173 - 0 8 +&harrcir +2174 - 0 9 +⥈ +2175 - 0 6 +&harrw +2176 - 0 7 +↭ +2177 - 0 5 +&hbar +2178 - 0 6 +ℏ +2179 - 0 6 +&hcirc +2180 - 0 7 +ĥ +2181 - 0 7 +&hearts +2182 - 0 8 +♥ +2183 - 0 10 +&heartsuit +2184 - 0 11 +♥ +2185 - 0 7 +&hellip +2186 - 0 8 +… +2187 - 0 7 +&hercon +2188 - 0 8 +⊹ +2189 - 0 4 +&hfr +2190 - 0 5 +𝔥 +2191 - 0 9 +&hksearow +2192 - 0 10 +⤥ +2193 - 0 9 +&hkswarow +2194 - 0 10 +⤦ +2195 - 0 6 +&hoarr +2196 - 0 7 +⇿ +2197 - 0 7 +&homtht +2198 - 0 8 +∻ +2199 - 0 14 +&hookleftarrow +2200 - 0 15 +↩ +2201 - 0 15 +&hookrightarrow +2202 - 0 16 +↪ +2203 - 0 5 +&hopf +2204 - 0 6 +𝕙 +2205 - 0 7 +&horbar +2206 - 0 8 +― +2207 - 0 5 +&hscr +2208 - 0 6 +𝒽 +2209 - 0 7 +&hslash +2210 - 0 8 +ℏ +2211 - 0 7 +&hstrok +2212 - 0 8 +ħ +2213 - 0 7 +&hybull +2214 - 0 8 +⁃ +2215 - 0 7 +&hyphen +2216 - 0 8 +‐ +2217 - 0 7 +í +2218 - 0 8 +í +2219 - 0 3 +&ic +2220 - 0 4 +⁣ +2221 - 0 6 +î +2222 - 0 7 +î +2223 - 0 4 +&icy +2224 - 0 5 +и +2225 - 0 5 +&iecy +2226 - 0 6 +е +2227 - 0 6 +¡ +2228 - 0 7 +¡ +2229 - 0 4 +&iff +2230 - 0 5 +⇔ +2231 - 0 4 +&ifr +2232 - 0 5 +𝔦 +2233 - 0 7 +ì +2234 - 0 8 +ì +2235 - 0 3 +&ii +2236 - 0 4 +ⅈ +2237 - 0 7 +&iiiint +2238 - 0 8 +⨌ +2239 - 0 6 +&iiint +2240 - 0 7 +∭ +2241 - 0 7 +&iinfin +2242 - 0 8 +⧜ +2243 - 0 6 +&iiota +2244 - 0 7 +℩ +2245 - 0 6 +&ijlig +2246 - 0 7 +ij +2247 - 0 6 +&imacr +2248 - 0 7 +ī +2249 - 0 6 +&image +2250 - 0 7 +ℑ +2251 - 0 9 +&imagline +2252 - 0 10 +ℐ +2253 - 0 9 +&imagpart +2254 - 0 10 +ℑ +2255 - 0 6 +&imath +2256 - 0 7 +ı +2257 - 0 5 +&imof +2258 - 0 6 +⊷ +2259 - 0 6 +&imped +2260 - 0 7 +Ƶ +2261 - 0 3 +&in +2262 - 0 4 +∈ +2263 - 0 7 +&incare +2264 - 0 8 +℅ +2265 - 0 6 +&infin +2266 - 0 7 +∞ +2267 - 0 9 +&infintie +2268 - 0 10 +⧝ +2269 - 0 7 +&inodot +2270 - 0 8 +ı +2271 - 0 4 +&int +2272 - 0 5 +∫ +2273 - 0 7 +&intcal +2274 - 0 8 +⊺ +2275 - 0 9 +&integers +2276 - 0 10 +ℤ +2277 - 0 9 +&intercal +2278 - 0 10 +⊺ +2279 - 0 9 +&intlarhk +2280 - 0 10 +⨗ +2281 - 0 8 +&intprod +2282 - 0 9 +⨼ +2283 - 0 5 +&iocy +2284 - 0 6 +ё +2285 - 0 6 +&iogon +2286 - 0 7 +į +2287 - 0 5 +&iopf +2288 - 0 6 +𝕚 +2289 - 0 5 +&iota +2290 - 0 6 +ι +2291 - 0 6 +&iprod +2292 - 0 7 +⨼ +2293 - 0 7 +¿ +2294 - 0 8 +¿ +2295 - 0 5 +&iscr +2296 - 0 6 +𝒾 +2297 - 0 5 +&isin +2298 - 0 6 +∈ +2299 - 0 6 +&isinE +2300 - 0 7 +⋹ +2301 - 0 8 +&isindot +2302 - 0 9 +⋵ +2303 - 0 6 +&isins +2304 - 0 7 +⋴ +2305 - 0 7 +&isinsv +2306 - 0 8 +⋳ +2307 - 0 6 +&isinv +2308 - 0 7 +∈ +2309 - 0 3 +&it +2310 - 0 4 +⁢ +2311 - 0 7 +&itilde +2312 - 0 8 +ĩ +2313 - 0 6 +&iukcy +2314 - 0 7 +і +2315 - 0 5 +ï +2316 - 0 6 +ï +2317 - 0 6 +&jcirc +2318 - 0 7 +ĵ +2319 - 0 4 +&jcy +2320 - 0 5 +й +2321 - 0 4 +&jfr +2322 - 0 5 +𝔧 +2323 - 0 6 +&jmath +2324 - 0 7 +ȷ +2325 - 0 5 +&jopf +2326 - 0 6 +𝕛 +2327 - 0 5 +&jscr +2328 - 0 6 +𝒿 +2329 - 0 7 +&jsercy +2330 - 0 8 +ј +2331 - 0 6 +&jukcy +2332 - 0 7 +є +2333 - 0 6 +&kappa +2334 - 0 7 +κ +2335 - 0 7 +&kappav +2336 - 0 8 +ϰ +2337 - 0 7 +&kcedil +2338 - 0 8 +ķ +2339 - 0 4 +&kcy +2340 - 0 5 +к +2341 - 0 4 +&kfr +2342 - 0 5 +𝔨 +2343 - 0 7 +&kgreen +2344 - 0 8 +ĸ +2345 - 0 5 +&khcy +2346 - 0 6 +х +2347 - 0 5 +&kjcy +2348 - 0 6 +ќ +2349 - 0 5 +&kopf +2350 - 0 6 +𝕜 +2351 - 0 5 +&kscr +2352 - 0 6 +𝓀 +2353 - 0 6 +&lAarr +2354 - 0 7 +⇚ +2355 - 0 5 +&lArr +2356 - 0 6 +⇐ +2357 - 0 7 +&lAtail +2358 - 0 8 +⤛ +2359 - 0 6 +&lBarr +2360 - 0 7 +⤎ +2361 - 0 3 +&lE +2362 - 0 4 +≦ +2363 - 0 4 +&lEg +2364 - 0 5 +⪋ +2365 - 0 5 +&lHar +2366 - 0 6 +⥢ +2367 - 0 7 +&lacute +2368 - 0 8 +ĺ +2369 - 0 9 +&laemptyv +2370 - 0 10 +⦴ +2371 - 0 7 +&lagran +2372 - 0 8 +ℒ +2373 - 0 7 +&lambda +2374 - 0 8 +λ +2375 - 0 5 +&lang +2376 - 0 6 +⟨ +2377 - 0 6 +&langd +2378 - 0 7 +⦑ +2379 - 0 7 +&langle +2380 - 0 8 +⟨ +2381 - 0 4 +&lap +2382 - 0 5 +⪅ +2383 - 0 6 +« +2384 - 0 7 +« +2385 - 0 5 +&larr +2386 - 0 6 +← +2387 - 0 6 +&larrb +2388 - 0 7 +⇤ +2389 - 0 8 +&larrbfs +2390 - 0 9 +⤟ +2391 - 0 7 +&larrfs +2392 - 0 8 +⤝ +2393 - 0 7 +&larrhk +2394 - 0 8 +↩ +2395 - 0 7 +&larrlp +2396 - 0 8 +↫ +2397 - 0 7 +&larrpl +2398 - 0 8 +⤹ +2399 - 0 8 +&larrsim +2400 - 0 9 +⥳ +2401 - 0 7 +&larrtl +2402 - 0 8 +↢ +2403 - 0 4 +&lat +2404 - 0 5 +⪫ +2405 - 0 7 +&latail +2406 - 0 8 +⤙ +2407 - 0 5 +&late +2408 - 0 6 +⪭ +2409 - 0 6 +&lates +2410 - 0 7 +⪭︀ +2411 - 0 6 +&lbarr +2412 - 0 7 +⤌ +2413 - 0 6 +&lbbrk +2414 - 0 7 +❲ +2415 - 0 7 +&lbrace +2416 - 0 8 +{ +2417 - 0 7 +&lbrack +2418 - 0 8 +[ +2419 - 0 6 +&lbrke +2420 - 0 7 +⦋ +2421 - 0 8 +&lbrksld +2422 - 0 9 +⦏ +2423 - 0 8 +&lbrkslu +2424 - 0 9 +⦍ +2425 - 0 7 +&lcaron +2426 - 0 8 +ľ +2427 - 0 7 +&lcedil +2428 - 0 8 +ļ +2429 - 0 6 +&lceil +2430 - 0 7 +⌈ +2431 - 0 5 +&lcub +2432 - 0 6 +{ +2433 - 0 4 +&lcy +2434 - 0 5 +л +2435 - 0 5 +&ldca +2436 - 0 6 +⤶ +2437 - 0 6 +&ldquo +2438 - 0 7 +“ +2439 - 0 7 +&ldquor +2440 - 0 8 +„ +2441 - 0 8 +&ldrdhar +2442 - 0 9 +⥧ +2443 - 0 9 +&ldrushar +2444 - 0 10 +⥋ +2445 - 0 5 +&ldsh +2446 - 0 6 +↲ +2447 - 0 3 +&le +2448 - 0 4 +≤ +2449 - 0 10 +&leftarrow +2450 - 0 11 +← +2451 - 0 14 +&leftarrowtail +2452 - 0 15 +↢ +2453 - 0 16 +&leftharpoondown +2454 - 0 17 +↽ +2455 - 0 14 +&leftharpoonup +2456 - 0 15 +↼ +2457 - 0 15 +&leftleftarrows +2458 - 0 16 +⇇ +2459 - 0 15 +&leftrightarrow +2460 - 0 16 +↔ +2461 - 0 16 +&leftrightarrows +2462 - 0 17 +⇆ +2463 - 0 18 +&leftrightharpoons +2464 - 0 19 +⇋ +2465 - 0 20 +&leftrightsquigarrow +2466 - 0 21 +↭ +2467 - 0 15 +&leftthreetimes +2468 - 0 16 +⋋ +2469 - 0 4 +&leg +2470 - 0 5 +⋚ +2471 - 0 4 +&leq +2472 - 0 5 +≤ +2473 - 0 5 +&leqq +2474 - 0 6 +≦ +2475 - 0 9 +&leqslant +2476 - 0 10 +⩽ +2477 - 0 4 +&les +2478 - 0 5 +⩽ +2479 - 0 6 +&lescc +2480 - 0 7 +⪨ +2481 - 0 7 +&lesdot +2482 - 0 8 +⩿ +2483 - 0 8 +&lesdoto +2484 - 0 9 +⪁ +2485 - 0 9 +&lesdotor +2486 - 0 10 +⪃ +2487 - 0 5 +&lesg +2488 - 0 6 +⋚︀ +2489 - 0 7 +&lesges +2490 - 0 8 +⪓ +2491 - 0 11 +&lessapprox +2492 - 0 12 +⪅ +2493 - 0 8 +&lessdot +2494 - 0 9 +⋖ +2495 - 0 10 +&lesseqgtr +2496 - 0 11 +⋚ +2497 - 0 11 +&lesseqqgtr +2498 - 0 12 +⪋ +2499 - 0 8 +&lessgtr +2500 - 0 9 +≶ +2501 - 0 8 +&lesssim +2502 - 0 9 +≲ +2503 - 0 7 +&lfisht +2504 - 0 8 +⥼ +2505 - 0 7 +&lfloor +2506 - 0 8 +⌊ +2507 - 0 4 +&lfr +2508 - 0 5 +𝔩 +2509 - 0 3 +&lg +2510 - 0 4 +≶ +2511 - 0 4 +&lgE +2512 - 0 5 +⪑ +2513 - 0 6 +&lhard +2514 - 0 7 +↽ +2515 - 0 6 +&lharu +2516 - 0 7 +↼ +2517 - 0 7 +&lharul +2518 - 0 8 +⥪ +2519 - 0 6 +&lhblk +2520 - 0 7 +▄ +2521 - 0 5 +&ljcy +2522 - 0 6 +љ +2523 - 0 3 +&ll +2524 - 0 4 +≪ +2525 - 0 6 +&llarr +2526 - 0 7 +⇇ +2527 - 0 9 +&llcorner +2528 - 0 10 +⌞ +2529 - 0 7 +&llhard +2530 - 0 8 +⥫ +2531 - 0 6 +&lltri +2532 - 0 7 +◺ +2533 - 0 7 +&lmidot +2534 - 0 8 +ŀ +2535 - 0 7 +&lmoust +2536 - 0 8 +⎰ +2537 - 0 11 +&lmoustache +2538 - 0 12 +⎰ +2539 - 0 4 +&lnE +2540 - 0 5 +≨ +2541 - 0 5 +&lnap +2542 - 0 6 +⪉ +2543 - 0 9 +&lnapprox +2544 - 0 10 +⪉ +2545 - 0 4 +&lne +2546 - 0 5 +⪇ +2547 - 0 5 +&lneq +2548 - 0 6 +⪇ +2549 - 0 6 +&lneqq +2550 - 0 7 +≨ +2551 - 0 6 +&lnsim +2552 - 0 7 +⋦ +2553 - 0 6 +&loang +2554 - 0 7 +⟬ +2555 - 0 6 +&loarr +2556 - 0 7 +⇽ +2557 - 0 6 +&lobrk +2558 - 0 7 +⟦ +2559 - 0 14 +&longleftarrow +2560 - 0 15 +⟵ +2561 - 0 19 +&longleftrightarrow +2562 - 0 20 +⟷ +2563 - 0 11 +&longmapsto +2564 - 0 12 +⟼ +2565 - 0 15 +&longrightarrow +2566 - 0 16 +⟶ +2567 - 0 14 +&looparrowleft +2568 - 0 15 +↫ +2569 - 0 15 +&looparrowright +2570 - 0 16 +↬ +2571 - 0 6 +&lopar +2572 - 0 7 +⦅ +2573 - 0 5 +&lopf +2574 - 0 6 +𝕝 +2575 - 0 7 +&loplus +2576 - 0 8 +⨭ +2577 - 0 8 +&lotimes +2578 - 0 9 +⨴ +2579 - 0 7 +&lowast +2580 - 0 8 +∗ +2581 - 0 7 +&lowbar +2582 - 0 8 +_ +2583 - 0 4 +&loz +2584 - 0 5 +◊ +2585 - 0 8 +&lozenge +2586 - 0 9 +◊ +2587 - 0 5 +&lozf +2588 - 0 6 +⧫ +2589 - 0 5 +&lpar +2590 - 0 6 +( +2591 - 0 7 +&lparlt +2592 - 0 8 +⦓ +2593 - 0 6 +&lrarr +2594 - 0 7 +⇆ +2595 - 0 9 +&lrcorner +2596 - 0 10 +⌟ +2597 - 0 6 +&lrhar +2598 - 0 7 +⇋ +2599 - 0 7 +&lrhard +2600 - 0 8 +⥭ +2601 - 0 4 +&lrm +2602 - 0 5 +‎ +2603 - 0 6 +&lrtri +2604 - 0 7 +⊿ +2605 - 0 7 +&lsaquo +2606 - 0 8 +‹ +2607 - 0 5 +&lscr +2608 - 0 6 +𝓁 +2609 - 0 4 +&lsh +2610 - 0 5 +↰ +2611 - 0 5 +&lsim +2612 - 0 6 +≲ +2613 - 0 6 +&lsime +2614 - 0 7 +⪍ +2615 - 0 6 +&lsimg +2616 - 0 7 +⪏ +2617 - 0 5 +&lsqb +2618 - 0 6 +[ +2619 - 0 6 +&lsquo +2620 - 0 7 +‘ +2621 - 0 7 +&lsquor +2622 - 0 8 +‚ +2623 - 0 7 +&lstrok +2624 - 0 8 +ł +2625 - 0 3 +< +2626 - 0 4 +< +2627 - 0 6 +⪦ +2628 - 0 7 +⩹ +2629 - 0 7 +⋖ +2630 - 0 8 +⋋ +2631 - 0 8 +⋉ +2632 - 0 8 +⥶ +2633 - 0 9 +⩻ +2634 - 0 8 +⦖ +2635 - 0 6 +◃ +2636 - 0 7 +⊴ +2637 - 0 7 +◂ +2638 - 0 9 +&lurdshar +2639 - 0 10 +⥊ +2640 - 0 8 +&luruhar +2641 - 0 9 +⥦ +2642 - 0 10 +&lvertneqq +2643 - 0 11 +≨︀ +2644 - 0 5 +&lvnE +2645 - 0 6 +≨︀ +2646 - 0 6 +&mDDot +2647 - 0 7 +∺ +2648 - 0 5 +¯ +2649 - 0 6 +¯ +2650 - 0 5 +&male +2651 - 0 6 +♂ +2652 - 0 5 +&malt +2653 - 0 6 +✠ +2654 - 0 8 +&maltese +2655 - 0 9 +✠ +2656 - 0 4 +&map +2657 - 0 5 +↦ +2658 - 0 7 +&mapsto +2659 - 0 8 +↦ +2660 - 0 11 +&mapstodown +2661 - 0 12 +↧ +2662 - 0 11 +&mapstoleft +2663 - 0 12 +↤ +2664 - 0 9 +&mapstoup +2665 - 0 10 +↥ +2666 - 0 7 +&marker +2667 - 0 8 +▮ +2668 - 0 7 +&mcomma +2669 - 0 8 +⨩ +2670 - 0 4 +&mcy +2671 - 0 5 +м +2672 - 0 6 +&mdash +2673 - 0 7 +— +2674 - 0 14 +&measuredangle +2675 - 0 15 +∡ +2676 - 0 4 +&mfr +2677 - 0 5 +𝔪 +2678 - 0 4 +&mho +2679 - 0 5 +℧ +2680 - 0 6 +µ +2681 - 0 7 +µ +2682 - 0 4 +&mid +2683 - 0 5 +∣ +2684 - 0 7 +&midast +2685 - 0 8 +* +2686 - 0 7 +&midcir +2687 - 0 8 +⫰ +2688 - 0 7 +· +2689 - 0 8 +· +2690 - 0 6 +&minus +2691 - 0 7 +− +2692 - 0 7 +&minusb +2693 - 0 8 +⊟ +2694 - 0 7 +&minusd +2695 - 0 8 +∸ +2696 - 0 8 +&minusdu +2697 - 0 9 +⨪ +2698 - 0 5 +&mlcp +2699 - 0 6 +⫛ +2700 - 0 5 +&mldr +2701 - 0 6 +… +2702 - 0 7 +&mnplus +2703 - 0 8 +∓ +2704 - 0 7 +&models +2705 - 0 8 +⊧ +2706 - 0 5 +&mopf +2707 - 0 6 +𝕞 +2708 - 0 3 +&mp +2709 - 0 4 +∓ +2710 - 0 5 +&mscr +2711 - 0 6 +𝓂 +2712 - 0 7 +&mstpos +2713 - 0 8 +∾ +2714 - 0 3 +&mu +2715 - 0 4 +μ +2716 - 0 9 +&multimap +2717 - 0 10 +⊸ +2718 - 0 6 +&mumap +2719 - 0 7 +⊸ +2720 - 0 4 +&nGg +2721 - 0 5 +⋙̸ +2722 - 0 4 +&nGt +2723 - 0 5 +≫⃒ +2724 - 0 5 +&nGtv +2725 - 0 6 +≫̸ +2726 - 0 11 +&nLeftarrow +2727 - 0 12 +⇍ +2728 - 0 16 +&nLeftrightarrow +2729 - 0 17 +⇎ +2730 - 0 4 +&nLl +2731 - 0 5 +⋘̸ +2732 - 0 4 +&nLt +2733 - 0 5 +≪⃒ +2734 - 0 5 +&nLtv +2735 - 0 6 +≪̸ +2736 - 0 12 +&nRightarrow +2737 - 0 13 +⇏ +2738 - 0 7 +&nVDash +2739 - 0 8 +⊯ +2740 - 0 7 +&nVdash +2741 - 0 8 +⊮ +2742 - 0 6 +&nabla +2743 - 0 7 +∇ +2744 - 0 7 +&nacute +2745 - 0 8 +ń +2746 - 0 5 +&nang +2747 - 0 6 +∠⃒ +2748 - 0 4 +&nap +2749 - 0 5 +≉ +2750 - 0 5 +&napE +2751 - 0 6 +⩰̸ +2752 - 0 6 +&napid +2753 - 0 7 +≋̸ +2754 - 0 6 +&napos +2755 - 0 7 +ʼn +2756 - 0 8 +&napprox +2757 - 0 9 +≉ +2758 - 0 6 +&natur +2759 - 0 7 +♮ +2760 - 0 8 +&natural +2761 - 0 9 +♮ +2762 - 0 9 +&naturals +2763 - 0 10 +ℕ +2764 - 0 5 +  +2765 - 0 6 +  +2766 - 0 6 +&nbump +2767 - 0 7 +≎̸ +2768 - 0 7 +&nbumpe +2769 - 0 8 +≏̸ +2770 - 0 5 +&ncap +2771 - 0 6 +⩃ +2772 - 0 7 +&ncaron +2773 - 0 8 +ň +2774 - 0 7 +&ncedil +2775 - 0 8 +ņ +2776 - 0 6 +&ncong +2777 - 0 7 +≇ +2778 - 0 9 +&ncongdot +2779 - 0 10 +⩭̸ +2780 - 0 5 +&ncup +2781 - 0 6 +⩂ +2782 - 0 4 +&ncy +2783 - 0 5 +н +2784 - 0 6 +&ndash +2785 - 0 7 +– +2786 - 0 3 +&ne +2787 - 0 4 +≠ +2788 - 0 6 +&neArr +2789 - 0 7 +⇗ +2790 - 0 7 +&nearhk +2791 - 0 8 +⤤ +2792 - 0 6 +&nearr +2793 - 0 7 +↗ +2794 - 0 8 +&nearrow +2795 - 0 9 +↗ +2796 - 0 6 +&nedot +2797 - 0 7 +≐̸ +2798 - 0 7 +&nequiv +2799 - 0 8 +≢ +2800 - 0 7 +&nesear +2801 - 0 8 +⤨ +2802 - 0 6 +&nesim +2803 - 0 7 +≂̸ +2804 - 0 7 +&nexist +2805 - 0 8 +∄ +2806 - 0 8 +&nexists +2807 - 0 9 +∄ +2808 - 0 4 +&nfr +2809 - 0 5 +𝔫 +2810 - 0 4 +&ngE +2811 - 0 5 +≧̸ +2812 - 0 4 +&nge +2813 - 0 5 +≱ +2814 - 0 5 +&ngeq +2815 - 0 6 +≱ +2816 - 0 6 +&ngeqq +2817 - 0 7 +≧̸ +2818 - 0 10 +&ngeqslant +2819 - 0 11 +⩾̸ +2820 - 0 5 +&nges +2821 - 0 6 +⩾̸ +2822 - 0 6 +&ngsim +2823 - 0 7 +≵ +2824 - 0 4 +&ngt +2825 - 0 5 +≯ +2826 - 0 5 +&ngtr +2827 - 0 6 +≯ +2828 - 0 6 +&nhArr +2829 - 0 7 +⇎ +2830 - 0 6 +&nharr +2831 - 0 7 +↮ +2832 - 0 6 +&nhpar +2833 - 0 7 +⫲ +2834 - 0 3 +&ni +2835 - 0 4 +∋ +2836 - 0 4 +&nis +2837 - 0 5 +⋼ +2838 - 0 5 +&nisd +2839 - 0 6 +⋺ +2840 - 0 4 +&niv +2841 - 0 5 +∋ +2842 - 0 5 +&njcy +2843 - 0 6 +њ +2844 - 0 6 +&nlArr +2845 - 0 7 +⇍ +2846 - 0 4 +&nlE +2847 - 0 5 +≦̸ +2848 - 0 6 +&nlarr +2849 - 0 7 +↚ +2850 - 0 5 +&nldr +2851 - 0 6 +‥ +2852 - 0 4 +&nle +2853 - 0 5 +≰ +2854 - 0 11 +&nleftarrow +2855 - 0 12 +↚ +2856 - 0 16 +&nleftrightarrow +2857 - 0 17 +↮ +2858 - 0 5 +&nleq +2859 - 0 6 +≰ +2860 - 0 6 +&nleqq +2861 - 0 7 +≦̸ +2862 - 0 10 +&nleqslant +2863 - 0 11 +⩽̸ +2864 - 0 5 +&nles +2865 - 0 6 +⩽̸ +2866 - 0 6 +&nless +2867 - 0 7 +≮ +2868 - 0 6 +&nlsim +2869 - 0 7 +≴ +2870 - 0 4 +&nlt +2871 - 0 5 +≮ +2872 - 0 6 +&nltri +2873 - 0 7 +⋪ +2874 - 0 7 +&nltrie +2875 - 0 8 +⋬ +2876 - 0 5 +&nmid +2877 - 0 6 +∤ +2878 - 0 5 +&nopf +2879 - 0 6 +𝕟 +2880 - 0 4 +¬ +2881 - 0 5 +¬ +2882 - 0 7 +∉ +2883 - 0 8 +⋹̸ +2884 - 0 10 +⋵̸ +2885 - 0 9 +∉ +2886 - 0 9 +⋷ +2887 - 0 9 +⋶ +2888 - 0 7 +∌ +2889 - 0 9 +∌ +2890 - 0 9 +⋾ +2891 - 0 9 +⋽ +2892 - 0 5 +&npar +2893 - 0 6 +∦ +2894 - 0 10 +&nparallel +2895 - 0 11 +∦ +2896 - 0 7 +&nparsl +2897 - 0 8 +⫽⃥ +2898 - 0 6 +&npart +2899 - 0 7 +∂̸ +2900 - 0 8 +&npolint +2901 - 0 9 +⨔ +2902 - 0 4 +&npr +2903 - 0 5 +⊀ +2904 - 0 7 +&nprcue +2905 - 0 8 +⋠ +2906 - 0 5 +&npre +2907 - 0 6 +⪯̸ +2908 - 0 6 +&nprec +2909 - 0 7 +⊀ +2910 - 0 8 +&npreceq +2911 - 0 9 +⪯̸ +2912 - 0 6 +&nrArr +2913 - 0 7 +⇏ +2914 - 0 6 +&nrarr +2915 - 0 7 +↛ +2916 - 0 7 +&nrarrc +2917 - 0 8 +⤳̸ +2918 - 0 7 +&nrarrw +2919 - 0 8 +↝̸ +2920 - 0 12 +&nrightarrow +2921 - 0 13 +↛ +2922 - 0 6 +&nrtri +2923 - 0 7 +⋫ +2924 - 0 7 +&nrtrie +2925 - 0 8 +⋭ +2926 - 0 4 +&nsc +2927 - 0 5 +⊁ +2928 - 0 7 +&nsccue +2929 - 0 8 +⋡ +2930 - 0 5 +&nsce +2931 - 0 6 +⪰̸ +2932 - 0 5 +&nscr +2933 - 0 6 +𝓃 +2934 - 0 10 +&nshortmid +2935 - 0 11 +∤ +2936 - 0 15 +&nshortparallel +2937 - 0 16 +∦ +2938 - 0 5 +&nsim +2939 - 0 6 +≁ +2940 - 0 6 +&nsime +2941 - 0 7 +≄ +2942 - 0 7 +&nsimeq +2943 - 0 8 +≄ +2944 - 0 6 +&nsmid +2945 - 0 7 +∤ +2946 - 0 6 +&nspar +2947 - 0 7 +∦ +2948 - 0 8 +&nsqsube +2949 - 0 9 +⋢ +2950 - 0 8 +&nsqsupe +2951 - 0 9 +⋣ +2952 - 0 5 +&nsub +2953 - 0 6 +⊄ +2954 - 0 6 +&nsubE +2955 - 0 7 +⫅̸ +2956 - 0 6 +&nsube +2957 - 0 7 +⊈ +2958 - 0 8 +&nsubset +2959 - 0 9 +⊂⃒ +2960 - 0 10 +&nsubseteq +2961 - 0 11 +⊈ +2962 - 0 11 +&nsubseteqq +2963 - 0 12 +⫅̸ +2964 - 0 6 +&nsucc +2965 - 0 7 +⊁ +2966 - 0 8 +&nsucceq +2967 - 0 9 +⪰̸ +2968 - 0 5 +&nsup +2969 - 0 6 +⊅ +2970 - 0 6 +&nsupE +2971 - 0 7 +⫆̸ +2972 - 0 6 +&nsupe +2973 - 0 7 +⊉ +2974 - 0 8 +&nsupset +2975 - 0 9 +⊃⃒ +2976 - 0 10 +&nsupseteq +2977 - 0 11 +⊉ +2978 - 0 11 +&nsupseteqq +2979 - 0 12 +⫆̸ +2980 - 0 5 +&ntgl +2981 - 0 6 +≹ +2982 - 0 7 +ñ +2983 - 0 8 +ñ +2984 - 0 5 +&ntlg +2985 - 0 6 +≸ +2986 - 0 14 +&ntriangleleft +2987 - 0 15 +⋪ +2988 - 0 16 +&ntrianglelefteq +2989 - 0 17 +⋬ +2990 - 0 15 +&ntriangleright +2991 - 0 16 +⋫ +2992 - 0 17 +&ntrianglerighteq +2993 - 0 18 +⋭ +2994 - 0 3 +&nu +2995 - 0 4 +ν +2996 - 0 4 +&num +2997 - 0 5 +# +2998 - 0 7 +&numero +2999 - 0 8 +№ +3000 - 0 6 +&numsp +3001 - 0 7 +  +3002 - 0 7 +&nvDash +3003 - 0 8 +⊭ +3004 - 0 7 +&nvHarr +3005 - 0 8 +⤄ +3006 - 0 5 +&nvap +3007 - 0 6 +≍⃒ +3008 - 0 7 +&nvdash +3009 - 0 8 +⊬ +3010 - 0 5 +&nvge +3011 - 0 6 +≥⃒ +3012 - 0 5 +&nvgt +3013 - 0 6 +>⃒ +3014 - 0 8 +&nvinfin +3015 - 0 9 +⧞ +3016 - 0 7 +&nvlArr +3017 - 0 8 +⤂ +3018 - 0 5 +&nvle +3019 - 0 6 +≤⃒ +3020 - 0 5 +&nvlt +3021 - 0 6 +<⃒ +3022 - 0 8 +&nvltrie +3023 - 0 9 +⊴⃒ +3024 - 0 7 +&nvrArr +3025 - 0 8 +⤃ +3026 - 0 8 +&nvrtrie +3027 - 0 9 +⊵⃒ +3028 - 0 6 +&nvsim +3029 - 0 7 +∼⃒ +3030 - 0 6 +&nwArr +3031 - 0 7 +⇖ +3032 - 0 7 +&nwarhk +3033 - 0 8 +⤣ +3034 - 0 6 +&nwarr +3035 - 0 7 +↖ +3036 - 0 8 +&nwarrow +3037 - 0 9 +↖ +3038 - 0 7 +&nwnear +3039 - 0 8 +⤧ +3040 - 0 3 +&oS +3041 - 0 4 +Ⓢ +3042 - 0 7 +ó +3043 - 0 8 +ó +3044 - 0 5 +&oast +3045 - 0 6 +⊛ +3046 - 0 5 +&ocir +3047 - 0 6 +⊚ +3048 - 0 6 +ô +3049 - 0 7 +ô +3050 - 0 4 +&ocy +3051 - 0 5 +о +3052 - 0 6 +&odash +3053 - 0 7 +⊝ +3054 - 0 7 +&odblac +3055 - 0 8 +ő +3056 - 0 5 +&odiv +3057 - 0 6 +⨸ +3058 - 0 5 +&odot +3059 - 0 6 +⊙ +3060 - 0 7 +&odsold +3061 - 0 8 +⦼ +3062 - 0 6 +&oelig +3063 - 0 7 +œ +3064 - 0 6 +&ofcir +3065 - 0 7 +⦿ +3066 - 0 4 +&ofr +3067 - 0 5 +𝔬 +3068 - 0 5 +&ogon +3069 - 0 6 +˛ +3070 - 0 7 +ò +3071 - 0 8 +ò +3072 - 0 4 +&ogt +3073 - 0 5 +⧁ +3074 - 0 6 +&ohbar +3075 - 0 7 +⦵ +3076 - 0 4 +&ohm +3077 - 0 5 +Ω +3078 - 0 5 +&oint +3079 - 0 6 +∮ +3080 - 0 6 +&olarr +3081 - 0 7 +↺ +3082 - 0 6 +&olcir +3083 - 0 7 +⦾ +3084 - 0 8 +&olcross +3085 - 0 9 +⦻ +3086 - 0 6 +&oline +3087 - 0 7 +‾ +3088 - 0 4 +&olt +3089 - 0 5 +⧀ +3090 - 0 6 +&omacr +3091 - 0 7 +ō +3092 - 0 6 +&omega +3093 - 0 7 +ω +3094 - 0 8 +&omicron +3095 - 0 9 +ο +3096 - 0 5 +&omid +3097 - 0 6 +⦶ +3098 - 0 7 +&ominus +3099 - 0 8 +⊖ +3100 - 0 5 +&oopf +3101 - 0 6 +𝕠 +3102 - 0 5 +&opar +3103 - 0 6 +⦷ +3104 - 0 6 +&operp +3105 - 0 7 +⦹ +3106 - 0 6 +&oplus +3107 - 0 7 +⊕ +3108 - 0 3 +&or +3109 - 0 4 +∨ +3110 - 0 6 +&orarr +3111 - 0 7 +↻ +3112 - 0 4 +&ord +3113 - 0 5 +⩝ +3114 - 0 6 +&order +3115 - 0 7 +ℴ +3116 - 0 8 +&orderof +3117 - 0 9 +ℴ +3118 - 0 5 +ª +3119 - 0 6 +ª +3120 - 0 5 +º +3121 - 0 6 +º +3122 - 0 7 +&origof +3123 - 0 8 +⊶ +3124 - 0 5 +&oror +3125 - 0 6 +⩖ +3126 - 0 8 +&orslope +3127 - 0 9 +⩗ +3128 - 0 4 +&orv +3129 - 0 5 +⩛ +3130 - 0 5 +&oscr +3131 - 0 6 +ℴ +3132 - 0 7 +ø +3133 - 0 8 +ø +3134 - 0 5 +&osol +3135 - 0 6 +⊘ +3136 - 0 7 +õ +3137 - 0 8 +õ +3138 - 0 7 +&otimes +3139 - 0 8 +⊗ +3140 - 0 9 +&otimesas +3141 - 0 10 +⨶ +3142 - 0 5 +ö +3143 - 0 6 +ö +3144 - 0 6 +&ovbar +3145 - 0 7 +⌽ +3146 - 0 4 +&par +3147 - 0 5 +∥ +3148 - 0 5 +¶ +3149 - 0 6 +¶ +3150 - 0 10 +∥ +3151 - 0 7 +&parsim +3152 - 0 8 +⫳ +3153 - 0 6 +&parsl +3154 - 0 7 +⫽ +3155 - 0 5 +&part +3156 - 0 6 +∂ +3157 - 0 4 +&pcy +3158 - 0 5 +п +3159 - 0 7 +&percnt +3160 - 0 8 +% +3161 - 0 7 +&period +3162 - 0 8 +. +3163 - 0 7 +&permil +3164 - 0 8 +‰ +3165 - 0 5 +&perp +3166 - 0 6 +⊥ +3167 - 0 8 +&pertenk +3168 - 0 9 +‱ +3169 - 0 4 +&pfr +3170 - 0 5 +𝔭 +3171 - 0 4 +&phi +3172 - 0 5 +φ +3173 - 0 5 +&phiv +3174 - 0 6 +ϕ +3175 - 0 7 +&phmmat +3176 - 0 8 +ℳ +3177 - 0 6 +&phone +3178 - 0 7 +☎ +3179 - 0 3 +&pi +3180 - 0 4 +π +3181 - 0 10 +&pitchfork +3182 - 0 11 +⋔ +3183 - 0 4 +&piv +3184 - 0 5 +ϖ +3185 - 0 7 +&planck +3186 - 0 8 +ℏ +3187 - 0 8 +&planckh +3188 - 0 9 +ℎ +3189 - 0 7 +&plankv +3190 - 0 8 +ℏ +3191 - 0 5 +&plus +3192 - 0 6 ++ +3193 - 0 9 +&plusacir +3194 - 0 10 +⨣ +3195 - 0 6 +&plusb +3196 - 0 7 +⊞ +3197 - 0 8 +&pluscir +3198 - 0 9 +⨢ +3199 - 0 7 +&plusdo +3200 - 0 8 +∔ +3201 - 0 7 +&plusdu +3202 - 0 8 +⨥ +3203 - 0 6 +&pluse +3204 - 0 7 +⩲ +3205 - 0 7 +± +3206 - 0 8 +± +3207 - 0 8 +&plussim +3208 - 0 9 +⨦ +3209 - 0 8 +&plustwo +3210 - 0 9 +⨧ +3211 - 0 3 +&pm +3212 - 0 4 +± +3213 - 0 9 +&pointint +3214 - 0 10 +⨕ +3215 - 0 5 +&popf +3216 - 0 6 +𝕡 +3217 - 0 6 +£ +3218 - 0 7 +£ +3219 - 0 3 +&pr +3220 - 0 4 +≺ +3221 - 0 4 +&prE +3222 - 0 5 +⪳ +3223 - 0 5 +&prap +3224 - 0 6 +⪷ +3225 - 0 6 +&prcue +3226 - 0 7 +≼ +3227 - 0 4 +&pre +3228 - 0 5 +⪯ +3229 - 0 5 +&prec +3230 - 0 6 +≺ +3231 - 0 11 +&precapprox +3232 - 0 12 +⪷ +3233 - 0 12 +&preccurlyeq +3234 - 0 13 +≼ +3235 - 0 7 +&preceq +3236 - 0 8 +⪯ +3237 - 0 12 +&precnapprox +3238 - 0 13 +⪹ +3239 - 0 9 +&precneqq +3240 - 0 10 +⪵ +3241 - 0 9 +&precnsim +3242 - 0 10 +⋨ +3243 - 0 8 +&precsim +3244 - 0 9 +≾ +3245 - 0 6 +&prime +3246 - 0 7 +′ +3247 - 0 7 +&primes +3248 - 0 8 +ℙ +3249 - 0 5 +&prnE +3250 - 0 6 +⪵ +3251 - 0 6 +&prnap +3252 - 0 7 +⪹ +3253 - 0 7 +&prnsim +3254 - 0 8 +⋨ +3255 - 0 5 +&prod +3256 - 0 6 +∏ +3257 - 0 9 +&profalar +3258 - 0 10 +⌮ +3259 - 0 9 +&profline +3260 - 0 10 +⌒ +3261 - 0 9 +&profsurf +3262 - 0 10 +⌓ +3263 - 0 5 +&prop +3264 - 0 6 +∝ +3265 - 0 7 +&propto +3266 - 0 8 +∝ +3267 - 0 6 +&prsim +3268 - 0 7 +≾ +3269 - 0 7 +&prurel +3270 - 0 8 +⊰ +3271 - 0 5 +&pscr +3272 - 0 6 +𝓅 +3273 - 0 4 +&psi +3274 - 0 5 +ψ +3275 - 0 7 +&puncsp +3276 - 0 8 +  +3277 - 0 4 +&qfr +3278 - 0 5 +𝔮 +3279 - 0 5 +&qint +3280 - 0 6 +⨌ +3281 - 0 5 +&qopf +3282 - 0 6 +𝕢 +3283 - 0 7 +&qprime +3284 - 0 8 +⁗ +3285 - 0 5 +&qscr +3286 - 0 6 +𝓆 +3287 - 0 12 +&quaternions +3288 - 0 13 +ℍ +3289 - 0 8 +&quatint +3290 - 0 9 +⨖ +3291 - 0 6 +&quest +3292 - 0 7 +? +3293 - 0 8 +&questeq +3294 - 0 9 +≟ +3295 - 0 5 +" +3296 - 0 6 +" +3297 - 0 6 +&rAarr +3298 - 0 7 +⇛ +3299 - 0 5 +&rArr +3300 - 0 6 +⇒ +3301 - 0 7 +&rAtail +3302 - 0 8 +⤜ +3303 - 0 6 +&rBarr +3304 - 0 7 +⤏ +3305 - 0 5 +&rHar +3306 - 0 6 +⥤ +3307 - 0 5 +&race +3308 - 0 6 +∽̱ +3309 - 0 7 +&racute +3310 - 0 8 +ŕ +3311 - 0 6 +&radic +3312 - 0 7 +√ +3313 - 0 9 +&raemptyv +3314 - 0 10 +⦳ +3315 - 0 5 +&rang +3316 - 0 6 +⟩ +3317 - 0 6 +&rangd +3318 - 0 7 +⦒ +3319 - 0 6 +&range +3320 - 0 7 +⦥ +3321 - 0 7 +&rangle +3322 - 0 8 +⟩ +3323 - 0 6 +» +3324 - 0 7 +» +3325 - 0 5 +&rarr +3326 - 0 6 +→ +3327 - 0 7 +&rarrap +3328 - 0 8 +⥵ +3329 - 0 6 +&rarrb +3330 - 0 7 +⇥ +3331 - 0 8 +&rarrbfs +3332 - 0 9 +⤠ +3333 - 0 6 +&rarrc +3334 - 0 7 +⤳ +3335 - 0 7 +&rarrfs +3336 - 0 8 +⤞ +3337 - 0 7 +&rarrhk +3338 - 0 8 +↪ +3339 - 0 7 +&rarrlp +3340 - 0 8 +↬ +3341 - 0 7 +&rarrpl +3342 - 0 8 +⥅ +3343 - 0 8 +&rarrsim +3344 - 0 9 +⥴ +3345 - 0 7 +&rarrtl +3346 - 0 8 +↣ +3347 - 0 6 +&rarrw +3348 - 0 7 +↝ +3349 - 0 7 +&ratail +3350 - 0 8 +⤚ +3351 - 0 6 +&ratio +3352 - 0 7 +∶ +3353 - 0 10 +&rationals +3354 - 0 11 +ℚ +3355 - 0 6 +&rbarr +3356 - 0 7 +⤍ +3357 - 0 6 +&rbbrk +3358 - 0 7 +❳ +3359 - 0 7 +&rbrace +3360 - 0 8 +} +3361 - 0 7 +&rbrack +3362 - 0 8 +] +3363 - 0 6 +&rbrke +3364 - 0 7 +⦌ +3365 - 0 8 +&rbrksld +3366 - 0 9 +⦎ +3367 - 0 8 +&rbrkslu +3368 - 0 9 +⦐ +3369 - 0 7 +&rcaron +3370 - 0 8 +ř +3371 - 0 7 +&rcedil +3372 - 0 8 +ŗ +3373 - 0 6 +&rceil +3374 - 0 7 +⌉ +3375 - 0 5 +&rcub +3376 - 0 6 +} +3377 - 0 4 +&rcy +3378 - 0 5 +р +3379 - 0 5 +&rdca +3380 - 0 6 +⤷ +3381 - 0 8 +&rdldhar +3382 - 0 9 +⥩ +3383 - 0 6 +&rdquo +3384 - 0 7 +” +3385 - 0 7 +&rdquor +3386 - 0 8 +” +3387 - 0 5 +&rdsh +3388 - 0 6 +↳ +3389 - 0 5 +&real +3390 - 0 6 +ℜ +3391 - 0 8 +&realine +3392 - 0 9 +ℛ +3393 - 0 9 +&realpart +3394 - 0 10 +ℜ +3395 - 0 6 +&reals +3396 - 0 7 +ℝ +3397 - 0 5 +&rect +3398 - 0 6 +▭ +3399 - 0 4 +® +3400 - 0 5 +® +3401 - 0 7 +&rfisht +3402 - 0 8 +⥽ +3403 - 0 7 +&rfloor +3404 - 0 8 +⌋ +3405 - 0 4 +&rfr +3406 - 0 5 +𝔯 +3407 - 0 6 +&rhard +3408 - 0 7 +⇁ +3409 - 0 6 +&rharu +3410 - 0 7 +⇀ +3411 - 0 7 +&rharul +3412 - 0 8 +⥬ +3413 - 0 4 +&rho +3414 - 0 5 +ρ +3415 - 0 5 +&rhov +3416 - 0 6 +ϱ +3417 - 0 11 +&rightarrow +3418 - 0 12 +→ +3419 - 0 15 +&rightarrowtail +3420 - 0 16 +↣ +3421 - 0 17 +&rightharpoondown +3422 - 0 18 +⇁ +3423 - 0 15 +&rightharpoonup +3424 - 0 16 +⇀ +3425 - 0 16 +&rightleftarrows +3426 - 0 17 +⇄ +3427 - 0 18 +&rightleftharpoons +3428 - 0 19 +⇌ +3429 - 0 17 +&rightrightarrows +3430 - 0 18 +⇉ +3431 - 0 16 +&rightsquigarrow +3432 - 0 17 +↝ +3433 - 0 16 +&rightthreetimes +3434 - 0 17 +⋌ +3435 - 0 5 +&ring +3436 - 0 6 +˚ +3437 - 0 13 +&risingdotseq +3438 - 0 14 +≓ +3439 - 0 6 +&rlarr +3440 - 0 7 +⇄ +3441 - 0 6 +&rlhar +3442 - 0 7 +⇌ +3443 - 0 4 +&rlm +3444 - 0 5 +‏ +3445 - 0 7 +&rmoust +3446 - 0 8 +⎱ +3447 - 0 11 +&rmoustache +3448 - 0 12 +⎱ +3449 - 0 6 +&rnmid +3450 - 0 7 +⫮ +3451 - 0 6 +&roang +3452 - 0 7 +⟭ +3453 - 0 6 +&roarr +3454 - 0 7 +⇾ +3455 - 0 6 +&robrk +3456 - 0 7 +⟧ +3457 - 0 6 +&ropar +3458 - 0 7 +⦆ +3459 - 0 5 +&ropf +3460 - 0 6 +𝕣 +3461 - 0 7 +&roplus +3462 - 0 8 +⨮ +3463 - 0 8 +&rotimes +3464 - 0 9 +⨵ +3465 - 0 5 +&rpar +3466 - 0 6 +) +3467 - 0 7 +&rpargt +3468 - 0 8 +⦔ +3469 - 0 9 +&rppolint +3470 - 0 10 +⨒ +3471 - 0 6 +&rrarr +3472 - 0 7 +⇉ +3473 - 0 7 +&rsaquo +3474 - 0 8 +› +3475 - 0 5 +&rscr +3476 - 0 6 +𝓇 +3477 - 0 4 +&rsh +3478 - 0 5 +↱ +3479 - 0 5 +&rsqb +3480 - 0 6 +] +3481 - 0 6 +&rsquo +3482 - 0 7 +’ +3483 - 0 7 +&rsquor +3484 - 0 8 +’ +3485 - 0 7 +&rthree +3486 - 0 8 +⋌ +3487 - 0 7 +&rtimes +3488 - 0 8 +⋊ +3489 - 0 5 +&rtri +3490 - 0 6 +▹ +3491 - 0 6 +&rtrie +3492 - 0 7 +⊵ +3493 - 0 6 +&rtrif +3494 - 0 7 +▸ +3495 - 0 9 +&rtriltri +3496 - 0 10 +⧎ +3497 - 0 8 +&ruluhar +3498 - 0 9 +⥨ +3499 - 0 3 +&rx +3500 - 0 4 +℞ +3501 - 0 7 +&sacute +3502 - 0 8 +ś +3503 - 0 6 +&sbquo +3504 - 0 7 +‚ +3505 - 0 3 +&sc +3506 - 0 4 +≻ +3507 - 0 4 +&scE +3508 - 0 5 +⪴ +3509 - 0 5 +&scap +3510 - 0 6 +⪸ +3511 - 0 7 +&scaron +3512 - 0 8 +š +3513 - 0 6 +&sccue +3514 - 0 7 +≽ +3515 - 0 4 +&sce +3516 - 0 5 +⪰ +3517 - 0 7 +&scedil +3518 - 0 8 +ş +3519 - 0 6 +&scirc +3520 - 0 7 +ŝ +3521 - 0 5 +&scnE +3522 - 0 6 +⪶ +3523 - 0 6 +&scnap +3524 - 0 7 +⪺ +3525 - 0 7 +&scnsim +3526 - 0 8 +⋩ +3527 - 0 9 +&scpolint +3528 - 0 10 +⨓ +3529 - 0 6 +&scsim +3530 - 0 7 +≿ +3531 - 0 4 +&scy +3532 - 0 5 +с +3533 - 0 5 +&sdot +3534 - 0 6 +⋅ +3535 - 0 6 +&sdotb +3536 - 0 7 +⊡ +3537 - 0 6 +&sdote +3538 - 0 7 +⩦ +3539 - 0 6 +&seArr +3540 - 0 7 +⇘ +3541 - 0 7 +&searhk +3542 - 0 8 +⤥ +3543 - 0 6 +&searr +3544 - 0 7 +↘ +3545 - 0 8 +&searrow +3546 - 0 9 +↘ +3547 - 0 5 +§ +3548 - 0 6 +§ +3549 - 0 5 +&semi +3550 - 0 6 +; +3551 - 0 7 +&seswar +3552 - 0 8 +⤩ +3553 - 0 9 +&setminus +3554 - 0 10 +∖ +3555 - 0 6 +&setmn +3556 - 0 7 +∖ +3557 - 0 5 +&sext +3558 - 0 6 +✶ +3559 - 0 4 +&sfr +3560 - 0 5 +𝔰 +3561 - 0 7 +&sfrown +3562 - 0 8 +⌢ +3563 - 0 6 +&sharp +3564 - 0 7 +♯ +3565 - 0 7 +&shchcy +3566 - 0 8 +щ +3567 - 0 5 +&shcy +3568 - 0 6 +ш +3569 - 0 9 +&shortmid +3570 - 0 10 +∣ +3571 - 0 14 +&shortparallel +3572 - 0 15 +∥ +3573 - 0 4 +­ +3574 - 0 5 +­ +3575 - 0 6 +&sigma +3576 - 0 7 +σ +3577 - 0 7 +&sigmaf +3578 - 0 8 +ς +3579 - 0 7 +&sigmav +3580 - 0 8 +ς +3581 - 0 4 +&sim +3582 - 0 5 +∼ +3583 - 0 7 +&simdot +3584 - 0 8 +⩪ +3585 - 0 5 +&sime +3586 - 0 6 +≃ +3587 - 0 6 +&simeq +3588 - 0 7 +≃ +3589 - 0 5 +&simg +3590 - 0 6 +⪞ +3591 - 0 6 +&simgE +3592 - 0 7 +⪠ +3593 - 0 5 +&siml +3594 - 0 6 +⪝ +3595 - 0 6 +&simlE +3596 - 0 7 +⪟ +3597 - 0 6 +&simne +3598 - 0 7 +≆ +3599 - 0 8 +&simplus +3600 - 0 9 +⨤ +3601 - 0 8 +&simrarr +3602 - 0 9 +⥲ +3603 - 0 6 +&slarr +3604 - 0 7 +← +3605 - 0 14 +&smallsetminus +3606 - 0 15 +∖ +3607 - 0 7 +&smashp +3608 - 0 8 +⨳ +3609 - 0 9 +&smeparsl +3610 - 0 10 +⧤ +3611 - 0 5 +&smid +3612 - 0 6 +∣ +3613 - 0 6 +&smile +3614 - 0 7 +⌣ +3615 - 0 4 +&smt +3616 - 0 5 +⪪ +3617 - 0 5 +&smte +3618 - 0 6 +⪬ +3619 - 0 6 +&smtes +3620 - 0 7 +⪬︀ +3621 - 0 7 +&softcy +3622 - 0 8 +ь +3623 - 0 4 +&sol +3624 - 0 5 +/ +3625 - 0 5 +&solb +3626 - 0 6 +⧄ +3627 - 0 7 +&solbar +3628 - 0 8 +⌿ +3629 - 0 5 +&sopf +3630 - 0 6 +𝕤 +3631 - 0 7 +&spades +3632 - 0 8 +♠ +3633 - 0 10 +&spadesuit +3634 - 0 11 +♠ +3635 - 0 5 +&spar +3636 - 0 6 +∥ +3637 - 0 6 +&sqcap +3638 - 0 7 +⊓ +3639 - 0 7 +&sqcaps +3640 - 0 8 +⊓︀ +3641 - 0 6 +&sqcup +3642 - 0 7 +⊔ +3643 - 0 7 +&sqcups +3644 - 0 8 +⊔︀ +3645 - 0 6 +&sqsub +3646 - 0 7 +⊏ +3647 - 0 7 +&sqsube +3648 - 0 8 +⊑ +3649 - 0 9 +&sqsubset +3650 - 0 10 +⊏ +3651 - 0 11 +&sqsubseteq +3652 - 0 12 +⊑ +3653 - 0 6 +&sqsup +3654 - 0 7 +⊐ +3655 - 0 7 +&sqsupe +3656 - 0 8 +⊒ +3657 - 0 9 +&sqsupset +3658 - 0 10 +⊐ +3659 - 0 11 +&sqsupseteq +3660 - 0 12 +⊒ +3661 - 0 4 +&squ +3662 - 0 5 +□ +3663 - 0 7 +&square +3664 - 0 8 +□ +3665 - 0 7 +&squarf +3666 - 0 8 +▪ +3667 - 0 5 +&squf +3668 - 0 6 +▪ +3669 - 0 6 +&srarr +3670 - 0 7 +→ +3671 - 0 5 +&sscr +3672 - 0 6 +𝓈 +3673 - 0 7 +&ssetmn +3674 - 0 8 +∖ +3675 - 0 7 +&ssmile +3676 - 0 8 +⌣ +3677 - 0 7 +&sstarf +3678 - 0 8 +⋆ +3679 - 0 5 +&star +3680 - 0 6 +☆ +3681 - 0 6 +&starf +3682 - 0 7 +★ +3683 - 0 16 +&straightepsilon +3684 - 0 17 +ϵ +3685 - 0 12 +&straightphi +3686 - 0 13 +ϕ +3687 - 0 6 +&strns +3688 - 0 7 +¯ +3689 - 0 4 +&sub +3690 - 0 5 +⊂ +3691 - 0 5 +&subE +3692 - 0 6 +⫅ +3693 - 0 7 +&subdot +3694 - 0 8 +⪽ +3695 - 0 5 +&sube +3696 - 0 6 +⊆ +3697 - 0 8 +&subedot +3698 - 0 9 +⫃ +3699 - 0 8 +&submult +3700 - 0 9 +⫁ +3701 - 0 6 +&subnE +3702 - 0 7 +⫋ +3703 - 0 6 +&subne +3704 - 0 7 +⊊ +3705 - 0 8 +&subplus +3706 - 0 9 +⪿ +3707 - 0 8 +&subrarr +3708 - 0 9 +⥹ +3709 - 0 7 +&subset +3710 - 0 8 +⊂ +3711 - 0 9 +&subseteq +3712 - 0 10 +⊆ +3713 - 0 10 +&subseteqq +3714 - 0 11 +⫅ +3715 - 0 10 +&subsetneq +3716 - 0 11 +⊊ +3717 - 0 11 +&subsetneqq +3718 - 0 12 +⫋ +3719 - 0 7 +&subsim +3720 - 0 8 +⫇ +3721 - 0 7 +&subsub +3722 - 0 8 +⫕ +3723 - 0 7 +&subsup +3724 - 0 8 +⫓ +3725 - 0 5 +&succ +3726 - 0 6 +≻ +3727 - 0 11 +&succapprox +3728 - 0 12 +⪸ +3729 - 0 12 +&succcurlyeq +3730 - 0 13 +≽ +3731 - 0 7 +&succeq +3732 - 0 8 +⪰ +3733 - 0 12 +&succnapprox +3734 - 0 13 +⪺ +3735 - 0 9 +&succneqq +3736 - 0 10 +⪶ +3737 - 0 9 +&succnsim +3738 - 0 10 +⋩ +3739 - 0 8 +&succsim +3740 - 0 9 +≿ +3741 - 0 4 +&sum +3742 - 0 5 +∑ +3743 - 0 5 +&sung +3744 - 0 6 +♪ +3745 - 0 4 +&sup +3746 - 0 5 +¹ +3747 - 0 6 +¹ +3748 - 0 5 +² +3749 - 0 6 +² +3750 - 0 5 +³ +3751 - 0 6 +³ +3752 - 0 5 +⊃ +3753 - 0 5 +&supE +3754 - 0 6 +⫆ +3755 - 0 7 +&supdot +3756 - 0 8 +⪾ +3757 - 0 8 +&supdsub +3758 - 0 9 +⫘ +3759 - 0 5 +&supe +3760 - 0 6 +⊇ +3761 - 0 8 +&supedot +3762 - 0 9 +⫄ +3763 - 0 8 +&suphsol +3764 - 0 9 +⟉ +3765 - 0 8 +&suphsub +3766 - 0 9 +⫗ +3767 - 0 8 +&suplarr +3768 - 0 9 +⥻ +3769 - 0 8 +&supmult +3770 - 0 9 +⫂ +3771 - 0 6 +&supnE +3772 - 0 7 +⫌ +3773 - 0 6 +&supne +3774 - 0 7 +⊋ +3775 - 0 8 +&supplus +3776 - 0 9 +⫀ +3777 - 0 7 +&supset +3778 - 0 8 +⊃ +3779 - 0 9 +&supseteq +3780 - 0 10 +⊇ +3781 - 0 10 +&supseteqq +3782 - 0 11 +⫆ +3783 - 0 10 +&supsetneq +3784 - 0 11 +⊋ +3785 - 0 11 +&supsetneqq +3786 - 0 12 +⫌ +3787 - 0 7 +&supsim +3788 - 0 8 +⫈ +3789 - 0 7 +&supsub +3790 - 0 8 +⫔ +3791 - 0 7 +&supsup +3792 - 0 8 +⫖ +3793 - 0 6 +&swArr +3794 - 0 7 +⇙ +3795 - 0 7 +&swarhk +3796 - 0 8 +⤦ +3797 - 0 6 +&swarr +3798 - 0 7 +↙ +3799 - 0 8 +&swarrow +3800 - 0 9 +↙ +3801 - 0 7 +&swnwar +3802 - 0 8 +⤪ +3803 - 0 6 +ß +3804 - 0 7 +ß +3805 - 0 7 +&target +3806 - 0 8 +⌖ +3807 - 0 4 +&tau +3808 - 0 5 +τ +3809 - 0 5 +&tbrk +3810 - 0 6 +⎴ +3811 - 0 7 +&tcaron +3812 - 0 8 +ť +3813 - 0 7 +&tcedil +3814 - 0 8 +ţ +3815 - 0 4 +&tcy +3816 - 0 5 +т +3817 - 0 5 +&tdot +3818 - 0 6 +⃛ +3819 - 0 7 +&telrec +3820 - 0 8 +⌕ +3821 - 0 4 +&tfr +3822 - 0 5 +𝔱 +3823 - 0 7 +&there4 +3824 - 0 8 +∴ +3825 - 0 10 +&therefore +3826 - 0 11 +∴ +3827 - 0 6 +&theta +3828 - 0 7 +θ +3829 - 0 9 +&thetasym +3830 - 0 10 +ϑ +3831 - 0 7 +&thetav +3832 - 0 8 +ϑ +3833 - 0 12 +&thickapprox +3834 - 0 13 +≈ +3835 - 0 9 +&thicksim +3836 - 0 10 +∼ +3837 - 0 7 +&thinsp +3838 - 0 8 +  +3839 - 0 6 +&thkap +3840 - 0 7 +≈ +3841 - 0 7 +&thksim +3842 - 0 8 +∼ +3843 - 0 6 +þ +3844 - 0 7 +þ +3845 - 0 6 +&tilde +3846 - 0 7 +˜ +3847 - 0 6 +× +3848 - 0 7 +× +3849 - 0 8 +⊠ +3850 - 0 10 +⨱ +3851 - 0 8 +⨰ +3852 - 0 5 +&tint +3853 - 0 6 +∭ +3854 - 0 5 +&toea +3855 - 0 6 +⤨ +3856 - 0 4 +&top +3857 - 0 5 +⊤ +3858 - 0 7 +&topbot +3859 - 0 8 +⌶ +3860 - 0 7 +&topcir +3861 - 0 8 +⫱ +3862 - 0 5 +&topf +3863 - 0 6 +𝕥 +3864 - 0 8 +&topfork +3865 - 0 9 +⫚ +3866 - 0 5 +&tosa +3867 - 0 6 +⤩ +3868 - 0 7 +&tprime +3869 - 0 8 +‴ +3870 - 0 6 +&trade +3871 - 0 7 +™ +3872 - 0 9 +&triangle +3873 - 0 10 +▵ +3874 - 0 13 +&triangledown +3875 - 0 14 +▿ +3876 - 0 13 +&triangleleft +3877 - 0 14 +◃ +3878 - 0 15 +&trianglelefteq +3879 - 0 16 +⊴ +3880 - 0 10 +&triangleq +3881 - 0 11 +≜ +3882 - 0 14 +&triangleright +3883 - 0 15 +▹ +3884 - 0 16 +&trianglerighteq +3885 - 0 17 +⊵ +3886 - 0 7 +&tridot +3887 - 0 8 +◬ +3888 - 0 5 +&trie +3889 - 0 6 +≜ +3890 - 0 9 +&triminus +3891 - 0 10 +⨺ +3892 - 0 8 +&triplus +3893 - 0 9 +⨹ +3894 - 0 6 +&trisb +3895 - 0 7 +⧍ +3896 - 0 8 +&tritime +3897 - 0 9 +⨻ +3898 - 0 9 +&trpezium +3899 - 0 10 +⏢ +3900 - 0 5 +&tscr +3901 - 0 6 +𝓉 +3902 - 0 5 +&tscy +3903 - 0 6 +ц +3904 - 0 6 +&tshcy +3905 - 0 7 +ћ +3906 - 0 7 +&tstrok +3907 - 0 8 +ŧ +3908 - 0 6 +&twixt +3909 - 0 7 +≬ +3910 - 0 17 +&twoheadleftarrow +3911 - 0 18 +↞ +3912 - 0 18 +&twoheadrightarrow +3913 - 0 19 +↠ +3914 - 0 5 +&uArr +3915 - 0 6 +⇑ +3916 - 0 5 +&uHar +3917 - 0 6 +⥣ +3918 - 0 7 +ú +3919 - 0 8 +ú +3920 - 0 5 +&uarr +3921 - 0 6 +↑ +3922 - 0 6 +&ubrcy +3923 - 0 7 +ў +3924 - 0 7 +&ubreve +3925 - 0 8 +ŭ +3926 - 0 6 +û +3927 - 0 7 +û +3928 - 0 4 +&ucy +3929 - 0 5 +у +3930 - 0 6 +&udarr +3931 - 0 7 +⇅ +3932 - 0 7 +&udblac +3933 - 0 8 +ű +3934 - 0 6 +&udhar +3935 - 0 7 +⥮ +3936 - 0 7 +&ufisht +3937 - 0 8 +⥾ +3938 - 0 4 +&ufr +3939 - 0 5 +𝔲 +3940 - 0 7 +ù +3941 - 0 8 +ù +3942 - 0 6 +&uharl +3943 - 0 7 +↿ +3944 - 0 6 +&uharr +3945 - 0 7 +↾ +3946 - 0 6 +&uhblk +3947 - 0 7 +▀ +3948 - 0 7 +&ulcorn +3949 - 0 8 +⌜ +3950 - 0 9 +&ulcorner +3951 - 0 10 +⌜ +3952 - 0 7 +&ulcrop +3953 - 0 8 +⌏ +3954 - 0 6 +&ultri +3955 - 0 7 +◸ +3956 - 0 6 +&umacr +3957 - 0 7 +ū +3958 - 0 4 +¨ +3959 - 0 5 +¨ +3960 - 0 6 +&uogon +3961 - 0 7 +ų +3962 - 0 5 +&uopf +3963 - 0 6 +𝕦 +3964 - 0 8 +&uparrow +3965 - 0 9 +↑ +3966 - 0 12 +&updownarrow +3967 - 0 13 +↕ +3968 - 0 14 +&upharpoonleft +3969 - 0 15 +↿ +3970 - 0 15 +&upharpoonright +3971 - 0 16 +↾ +3972 - 0 6 +&uplus +3973 - 0 7 +⊎ +3974 - 0 5 +&upsi +3975 - 0 6 +υ +3976 - 0 6 +&upsih +3977 - 0 7 +ϒ +3978 - 0 8 +&upsilon +3979 - 0 9 +υ +3980 - 0 11 +&upuparrows +3981 - 0 12 +⇈ +3982 - 0 7 +&urcorn +3983 - 0 8 +⌝ +3984 - 0 9 +&urcorner +3985 - 0 10 +⌝ +3986 - 0 7 +&urcrop +3987 - 0 8 +⌎ +3988 - 0 6 +&uring +3989 - 0 7 +ů +3990 - 0 6 +&urtri +3991 - 0 7 +◹ +3992 - 0 5 +&uscr +3993 - 0 6 +𝓊 +3994 - 0 6 +&utdot +3995 - 0 7 +⋰ +3996 - 0 7 +&utilde +3997 - 0 8 +ũ +3998 - 0 5 +&utri +3999 - 0 6 +▵ +4000 - 0 6 +&utrif +4001 - 0 7 +▴ +4002 - 0 6 +&uuarr +4003 - 0 7 +⇈ +4004 - 0 5 +ü +4005 - 0 6 +ü +4006 - 0 8 +&uwangle +4007 - 0 9 +⦧ +4008 - 0 5 +&vArr +4009 - 0 6 +⇕ +4010 - 0 5 +&vBar +4011 - 0 6 +⫨ +4012 - 0 6 +&vBarv +4013 - 0 7 +⫩ +4014 - 0 6 +&vDash +4015 - 0 7 +⊨ +4016 - 0 7 +&vangrt +4017 - 0 8 +⦜ +4018 - 0 11 +&varepsilon +4019 - 0 12 +ϵ +4020 - 0 9 +&varkappa +4021 - 0 10 +ϰ +4022 - 0 11 +&varnothing +4023 - 0 12 +∅ +4024 - 0 7 +&varphi +4025 - 0 8 +ϕ +4026 - 0 6 +&varpi +4027 - 0 7 +ϖ +4028 - 0 10 +&varpropto +4029 - 0 11 +∝ +4030 - 0 5 +&varr +4031 - 0 6 +↕ +4032 - 0 7 +&varrho +4033 - 0 8 +ϱ +4034 - 0 9 +&varsigma +4035 - 0 10 +ς +4036 - 0 13 +&varsubsetneq +4037 - 0 14 +⊊︀ +4038 - 0 14 +&varsubsetneqq +4039 - 0 15 +⫋︀ +4040 - 0 13 +&varsupsetneq +4041 - 0 14 +⊋︀ +4042 - 0 14 +&varsupsetneqq +4043 - 0 15 +⫌︀ +4044 - 0 9 +&vartheta +4045 - 0 10 +ϑ +4046 - 0 16 +&vartriangleleft +4047 - 0 17 +⊲ +4048 - 0 17 +&vartriangleright +4049 - 0 18 +⊳ +4050 - 0 4 +&vcy +4051 - 0 5 +в +4052 - 0 6 +&vdash +4053 - 0 7 +⊢ +4054 - 0 4 +&vee +4055 - 0 5 +∨ +4056 - 0 7 +&veebar +4057 - 0 8 +⊻ +4058 - 0 6 +&veeeq +4059 - 0 7 +≚ +4060 - 0 7 +&vellip +4061 - 0 8 +⋮ +4062 - 0 7 +&verbar +4063 - 0 8 +| +4064 - 0 5 +&vert +4065 - 0 6 +| +4066 - 0 4 +&vfr +4067 - 0 5 +𝔳 +4068 - 0 6 +&vltri +4069 - 0 7 +⊲ +4070 - 0 6 +&vnsub +4071 - 0 7 +⊂⃒ +4072 - 0 6 +&vnsup +4073 - 0 7 +⊃⃒ +4074 - 0 5 +&vopf +4075 - 0 6 +𝕧 +4076 - 0 6 +&vprop +4077 - 0 7 +∝ +4078 - 0 6 +&vrtri +4079 - 0 7 +⊳ +4080 - 0 5 +&vscr +4081 - 0 6 +𝓋 +4082 - 0 7 +&vsubnE +4083 - 0 8 +⫋︀ +4084 - 0 7 +&vsubne +4085 - 0 8 +⊊︀ +4086 - 0 7 +&vsupnE +4087 - 0 8 +⫌︀ +4088 - 0 7 +&vsupne +4089 - 0 8 +⊋︀ +4090 - 0 8 +&vzigzag +4091 - 0 9 +⦚ +4092 - 0 6 +&wcirc +4093 - 0 7 +ŵ +4094 - 0 7 +&wedbar +4095 - 0 8 +⩟ +4096 - 0 6 +&wedge +4097 - 0 7 +∧ +4098 - 0 7 +&wedgeq +4099 - 0 8 +≙ +4100 - 0 7 +&weierp +4101 - 0 8 +℘ +4102 - 0 4 +&wfr +4103 - 0 5 +𝔴 +4104 - 0 5 +&wopf +4105 - 0 6 +𝕨 +4106 - 0 3 +&wp +4107 - 0 4 +℘ +4108 - 0 3 +&wr +4109 - 0 4 +≀ +4110 - 0 7 +&wreath +4111 - 0 8 +≀ +4112 - 0 5 +&wscr +4113 - 0 6 +𝓌 +4114 - 0 5 +&xcap +4115 - 0 6 +⋂ +4116 - 0 6 +&xcirc +4117 - 0 7 +◯ +4118 - 0 5 +&xcup +4119 - 0 6 +⋃ +4120 - 0 6 +&xdtri +4121 - 0 7 +▽ +4122 - 0 4 +&xfr +4123 - 0 5 +𝔵 +4124 - 0 6 +&xhArr +4125 - 0 7 +⟺ +4126 - 0 6 +&xharr +4127 - 0 7 +⟷ +4128 - 0 3 +&xi +4129 - 0 4 +ξ +4130 - 0 6 +&xlArr +4131 - 0 7 +⟸ +4132 - 0 6 +&xlarr +4133 - 0 7 +⟵ +4134 - 0 5 +&xmap +4135 - 0 6 +⟼ +4136 - 0 5 +&xnis +4137 - 0 6 +⋻ +4138 - 0 6 +&xodot +4139 - 0 7 +⨀ +4140 - 0 5 +&xopf +4141 - 0 6 +𝕩 +4142 - 0 7 +&xoplus +4143 - 0 8 +⨁ +4144 - 0 7 +&xotime +4145 - 0 8 +⨂ +4146 - 0 6 +&xrArr +4147 - 0 7 +⟹ +4148 - 0 6 +&xrarr +4149 - 0 7 +⟶ +4150 - 0 5 +&xscr +4151 - 0 6 +𝓍 +4152 - 0 7 +&xsqcup +4153 - 0 8 +⨆ +4154 - 0 7 +&xuplus +4155 - 0 8 +⨄ +4156 - 0 6 +&xutri +4157 - 0 7 +△ +4158 - 0 5 +&xvee +4159 - 0 6 +⋁ +4160 - 0 7 +&xwedge +4161 - 0 8 +⋀ +4162 - 0 7 +ý +4163 - 0 8 +ý +4164 - 0 5 +&yacy +4165 - 0 6 +я +4166 - 0 6 +&ycirc +4167 - 0 7 +ŷ +4168 - 0 4 +&ycy +4169 - 0 5 +ы +4170 - 0 4 +¥ +4171 - 0 5 +¥ +4172 - 0 4 +&yfr +4173 - 0 5 +𝔶 +4174 - 0 5 +&yicy +4175 - 0 6 +ї +4176 - 0 5 +&yopf +4177 - 0 6 +𝕪 +4178 - 0 5 +&yscr +4179 - 0 6 +𝓎 +4180 - 0 5 +&yucy +4181 - 0 6 +ю +4182 - 0 5 +ÿ +4183 - 0 6 +ÿ +4184 - 0 7 +&zacute +4185 - 0 8 +ź +4186 - 0 7 +&zcaron +4187 - 0 8 +ž +4188 - 0 4 +&zcy +4189 - 0 5 +з +4190 - 0 5 +&zdot +4191 - 0 6 +ż +4192 - 0 7 +&zeetrf +4193 - 0 8 +ℨ +4194 - 0 5 +&zeta +4195 - 0 6 +ζ +4196 - 0 4 +&zfr +4197 - 0 5 +𝔷 +4198 - 0 5 +&zhcy +4199 - 0 6 +ж +4200 - 0 8 +&zigrarr +4201 - 0 9 +⇝ +4202 - 0 5 +&zopf +4203 - 0 6 +𝕫 +4204 - 0 5 +&zscr +4205 - 0 6 +𝓏 +4206 - 0 4 +&zwj +4207 - 0 5 +‍ +4208 - 0 5 +&zwnj +4209 - 0 6 +‌ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/numericEntities.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/numericEntities.test new file mode 100644 index 0000000000000000000000000000000000000000..c4d9f0aa3b12681787e52741e038a570cf59d6e6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/numericEntities.test @@ -0,0 +1,672 @@ +0 - 0 13 +� +1 - 0 12 +� +2 - 0 14 +� +3 - 0 14 +�x +4 - 0 13 +�x +5 - 0 15 +�x +6 - 0 14 +� +7 - 0 13 +� +8 - 0 15 +� +9 - 0 8 +� +10 - 0 8 + +11 - 0 8 + +12 - 0 8 + +13 - 0 8 + +14 - 0 8 + +15 - 0 8 + +16 - 0 8 + +17 - 0 8 + +18 - 0 8 + +19 - 0 8 + +20 - 0 8 + +21 - 0 8 + +22 - 0 8 + +23 - 0 8 + +24 - 0 8 + +25 - 0 8 + +26 - 0 8 + +27 - 0 8 + +28 - 0 8 + +29 - 0 8 + +30 - 0 8 + +31 - 0 8 + +32 - 0 8 + +33 - 0 8 + +34 - 0 8 + +35 - 0 8 + +36 - 0 8 + +37 - 0 8 + +38 - 0 8 +� +39 - 0 8 +� +40 - 0 8 +﷐ +41 - 0 8 +﷑ +42 - 0 8 +﷒ +43 - 0 8 +﷓ +44 - 0 8 +﷔ +45 - 0 8 +﷕ +46 - 0 8 +﷖ +47 - 0 8 +﷗ +48 - 0 8 +﷘ +49 - 0 8 +﷙ +50 - 0 8 +﷚ +51 - 0 8 +﷛ +52 - 0 8 +﷜ +53 - 0 8 +﷝ +54 - 0 8 +﷞ +55 - 0 8 +﷟ +56 - 0 8 +﷠ +57 - 0 8 +﷡ +58 - 0 8 +﷢ +59 - 0 8 +﷣ +60 - 0 8 +﷤ +61 - 0 8 +﷥ +62 - 0 8 +﷦ +63 - 0 8 +﷧ +64 - 0 8 +﷨ +65 - 0 8 +﷩ +66 - 0 8 +﷪ +67 - 0 8 +﷫ +68 - 0 8 +﷬ +69 - 0 8 +﷭ +70 - 0 8 +﷮ +71 - 0 8 +﷯ +72 - 0 8 +￾ +73 - 0 8 +￿ +74 - 0 9 +🿾 +75 - 0 9 +🿿 +76 - 0 9 +𯿾 +77 - 0 9 +𯿿 +78 - 0 9 +𿿾 +79 - 0 9 +𿿿 +80 - 0 9 +񏿾 +81 - 0 9 +񏿿 +82 - 0 9 +񟿾 +83 - 0 9 +񟿿 +84 - 0 9 +񯿾 +85 - 0 9 +񯿿 +86 - 0 9 +񿿾 +87 - 0 9 +񿿿 +88 - 0 9 +򏿾 +89 - 0 9 +򏿿 +90 - 0 9 +򟿾 +91 - 0 9 +򟿿 +92 - 0 9 +򯿾 +93 - 0 9 +򯿿 +94 - 0 9 +򿿾 +95 - 0 9 +򿿿 +96 - 0 9 +󏿾 +97 - 0 9 +󏿿 +98 - 0 9 +󟿾 +99 - 0 9 +󟿿 +100 - 0 9 +󯿾 +101 - 0 9 +󯿿 +102 - 0 9 +󿿾 +103 - 0 9 +󿿿 +104 - 0 10 +􏿾 +105 - 0 10 +􏿿 +106 - 0 8 + +107 - 0 8 + +108 - 0 8 + +109 - 0 8 +! +110 - 0 8 +" +111 - 0 8 +# +112 - 0 8 +$ +113 - 0 8 +% +114 - 0 8 +& +115 - 0 8 +' +116 - 0 8 +( +117 - 0 8 +) +118 - 0 8 +* +119 - 0 8 ++ +120 - 0 8 +, +121 - 0 8 +- +122 - 0 8 +. +123 - 0 8 +/ +124 - 0 8 +0 +125 - 0 8 +1 +126 - 0 8 +2 +127 - 0 8 +3 +128 - 0 8 +4 +129 - 0 8 +5 +130 - 0 8 +6 +131 - 0 8 +7 +132 - 0 8 +8 +133 - 0 8 +9 +134 - 0 8 +: +135 - 0 8 +; +136 - 0 8 +< +137 - 0 8 += +138 - 0 8 +> +139 - 0 8 +? +140 - 0 8 +@ +141 - 0 8 +A +142 - 0 8 +B +143 - 0 8 +C +144 - 0 8 +D +145 - 0 8 +E +146 - 0 8 +F +147 - 0 8 +G +148 - 0 8 +H +149 - 0 8 +I +150 - 0 8 +J +151 - 0 8 +K +152 - 0 8 +L +153 - 0 8 +M +154 - 0 8 +N +155 - 0 8 +O +156 - 0 8 +P +157 - 0 8 +Q +158 - 0 8 +R +159 - 0 8 +S +160 - 0 8 +T +161 - 0 8 +U +162 - 0 8 +V +163 - 0 8 +W +164 - 0 8 +X +165 - 0 8 +Y +166 - 0 8 +Z +167 - 0 8 +[ +168 - 0 8 +\ +169 - 0 8 +] +170 - 0 8 +^ +171 - 0 8 +_ +172 - 0 8 +` +173 - 0 8 +a +174 - 0 8 +b +175 - 0 8 +c +176 - 0 8 +d +177 - 0 8 +e +178 - 0 8 +f +179 - 0 8 +g +180 - 0 8 +h +181 - 0 8 +i +182 - 0 8 +j +183 - 0 8 +k +184 - 0 8 +l +185 - 0 8 +m +186 - 0 8 +n +187 - 0 8 +o +188 - 0 8 +p +189 - 0 8 +q +190 - 0 8 +r +191 - 0 8 +s +192 - 0 8 +t +193 - 0 8 +u +194 - 0 8 +v +195 - 0 8 +w +196 - 0 8 +x +197 - 0 8 +y +198 - 0 8 +z +199 - 0 8 +{ +200 - 0 8 +| +201 - 0 8 +} +202 - 0 8 +~ +203 - 0 8 +  +204 - 0 8 +¡ +205 - 0 8 +¢ +206 - 0 8 +£ +207 - 0 8 +¤ +208 - 0 8 +¥ +209 - 0 8 +¦ +210 - 0 8 +§ +211 - 0 8 +¨ +212 - 0 8 +© +213 - 0 8 +ª +214 - 0 8 +« +215 - 0 8 +¬ +216 - 0 8 +­ +217 - 0 8 +® +218 - 0 8 +¯ +219 - 0 8 +° +220 - 0 8 +± +221 - 0 8 +² +222 - 0 8 +³ +223 - 0 8 +´ +224 - 0 8 +µ +225 - 0 8 +¶ +226 - 0 8 +· +227 - 0 8 +¸ +228 - 0 8 +¹ +229 - 0 8 +º +230 - 0 8 +» +231 - 0 8 +¼ +232 - 0 8 +½ +233 - 0 8 +¾ +234 - 0 8 +¿ +235 - 0 8 +À +236 - 0 8 +Á +237 - 0 8 + +238 - 0 8 +à +239 - 0 8 +Ä +240 - 0 8 +Å +241 - 0 8 +Æ +242 - 0 8 +Ç +243 - 0 8 +È +244 - 0 8 +É +245 - 0 8 +Ê +246 - 0 8 +Ë +247 - 0 8 +Ì +248 - 0 8 +Í +249 - 0 8 +Î +250 - 0 8 +Ï +251 - 0 8 +Ð +252 - 0 8 +Ñ +253 - 0 8 +Ò +254 - 0 8 +Ó +255 - 0 8 +Ô +256 - 0 8 +Õ +257 - 0 8 +Ö +258 - 0 8 +× +259 - 0 8 +Ø +260 - 0 8 +Ù +261 - 0 8 +Ú +262 - 0 8 +Û +263 - 0 8 +Ü +264 - 0 8 +Ý +265 - 0 8 +Þ +266 - 0 8 +ß +267 - 0 8 +à +268 - 0 8 +á +269 - 0 8 +â +270 - 0 8 +ã +271 - 0 8 +ä +272 - 0 8 +å +273 - 0 8 +æ +274 - 0 8 +ç +275 - 0 8 +è +276 - 0 8 +é +277 - 0 8 +ê +278 - 0 8 +ë +279 - 0 8 +ì +280 - 0 8 +í +281 - 0 8 +î +282 - 0 8 +ï +283 - 0 8 +ð +284 - 0 8 +ñ +285 - 0 8 +ò +286 - 0 8 +ó +287 - 0 8 +ô +288 - 0 8 +õ +289 - 0 8 +ö +290 - 0 8 +÷ +291 - 0 8 +ø +292 - 0 8 +ù +293 - 0 8 +ú +294 - 0 8 +û +295 - 0 8 +ü +296 - 0 8 +ý +297 - 0 8 +þ +298 - 0 8 +ÿ +299 - 0 8 +퟿ +300 - 0 8 + +301 - 0 8 +﷏ +302 - 0 8 +ﷰ +303 - 0 8 +� +304 - 0 9 +𐀀 +305 - 0 9 +🿽 +306 - 0 9 +𠀀 +307 - 0 9 +𯿽 +308 - 0 9 +𰀀 +309 - 0 9 +𿿽 +310 - 0 9 +񀀀 +311 - 0 9 +񏿽 +312 - 0 9 +񐀀 +313 - 0 9 +񟿽 +314 - 0 9 +񠀀 +315 - 0 9 +񯿽 +316 - 0 9 +񰀀 +317 - 0 9 +񿿽 +318 - 0 9 +򀀀 +319 - 0 9 +򏿽 +320 - 0 9 +򐀀 +321 - 0 9 +򟿽 +322 - 0 9 +򠀀 +323 - 0 9 +򯿽 +324 - 0 9 +򰀀 +325 - 0 9 +򿿽 +326 - 0 9 +󀀀 +327 - 0 9 +󏿽 +328 - 0 9 +󐀀 +329 - 0 9 +󟿽 +330 - 0 9 +󠀀 +331 - 0 9 +󯿽 +332 - 0 9 +󰀀 +333 - 0 9 +󿿽 +334 - 0 10 +􀀀 +335 - 0 10 +􏿽 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/pendingSpecChanges.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/pendingSpecChanges.test new file mode 100644 index 0000000000000000000000000000000000000000..e5b7e94f906e6879f5be6a9d86066c40a0866afd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/pendingSpecChanges.test @@ -0,0 +1,2 @@ +0 - 0 8 + +18 - 0 8 + +19 - 0 18 + +20 - 0 9 + +21 - 0 11 + +25 - 0 6 + +26 - 0 7 + +27 - 0 13 + +28 - 0 9 + +29 - 0 14 + +30 - 0 15 + +31 - 0 16 + +32 - 0 17 + +33 - 4 8 + +34 - 4 9 + +35 - 4 10 + +36 - 4 11 + +37 - 4 15 + +38 - 4 16 + +39 - 4 15 + +40 - 4 16 + +41 - 4 25 + +42 - 4 26 + +43 - 4 27 + +44 - 4 27 + +45 - 4 28 + +46 - 0 1 +& +47 - 0 2 +&& +48 - 0 2 +& +49 - 0 2 +&f +50 - 0 2 +&# +51 - 0 3 +&#x +52 - 0 11 +I'm ¬it +53 - 0 11 +I'm ∉ +54 - 0 10 +I'm ¬it +55 - 0 10 +I'm ¬in +56 - 0 7 +I'm &no +57 - 0 4 +&¬; +58 - 0 7 +$ +59 - 0 6 +? +60 - 0 18 + +61 - 0 13 + +62 - 0 13 + +63 - 0 13 + +64 - 0 13 + +65 - 0 9 + +66 - 0 11 +foo +67 - 0 17 +foobar +68 - 0 8 +<a a=f<> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test2.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test2.test new file mode 100644 index 0000000000000000000000000000000000000000..fef1fad8de49e26faeee79403bd4c30c3d3ec6bc Binary files /dev/null and b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test2.test differ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test3.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test3.test new file mode 100644 index 0000000000000000000000000000000000000000..1bf85f1e3e80a73d010570841927fd942dc53233 Binary files /dev/null and b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test3.test differ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test4.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test4.test new file mode 100644 index 0000000000000000000000000000000000000000..06a06eace58559e223103268debd34a5b6eac2fe Binary files /dev/null and b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/test4.test differ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/unicodeChars.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/unicodeChars.test new file mode 100644 index 0000000000000000000000000000000000000000..3b89dc8b56379a6f355548f0dee5a90b63523a85 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/unicodeChars.test @@ -0,0 +1,647 @@ +0 - 0 1 + +1 - 0 1 + +2 - 0 1 + +3 - 0 1 + +4 - 0 1 + +5 - 0 1 + +6 - 0 1 + +7 - 0 1 + +8 - 0 1 + +9 - 0 1 + +10 - 0 1 + +11 - 0 1 + +12 - 0 1 + +13 - 0 1 + +14 - 0 1 + +15 - 0 1 + +16 - 0 1 + +17 - 0 1 + +18 - 0 1 + +19 - 0 1 + +20 - 0 1 + +21 - 0 1 + +22 - 0 1 + +23 - 0 1 + +24 - 0 1 + +25 - 0 1 + +26 - 0 1 + +27 - 0 1 + +28 - 0 3 +ï· +29 - 0 3 +ï·‘ +30 - 0 3 +ï·’ +31 - 0 3 +ï·“ +32 - 0 3 +ï·” +33 - 0 3 +ï·• +34 - 0 3 +ï·– +35 - 0 3 +ï·— +36 - 0 3 +ï·˜ +37 - 0 3 +ï·™ +38 - 0 3 +ï·š +39 - 0 3 +ï·› +40 - 0 3 +ï·œ +41 - 0 3 +ï· +42 - 0 3 +ï·ž +43 - 0 3 +ï·Ÿ +44 - 0 3 +ï·  +45 - 0 3 +ï·¡ +46 - 0 3 +ï·¢ +47 - 0 3 +ï·£ +48 - 0 3 +ï·¤ +49 - 0 3 +ï·¥ +50 - 0 3 +ï·¦ +51 - 0 3 +ï·§ +52 - 0 3 +ï·¨ +53 - 0 3 +ï·© +54 - 0 3 +ï·ª +55 - 0 3 +ï·« +56 - 0 3 +ï·¬ +57 - 0 3 +ï·­ +58 - 0 3 +ï·® +59 - 0 3 +ï·¯ +60 - 0 3 +￾ +61 - 0 3 +ï¿¿ +62 - 0 4 +🿾 +63 - 0 4 +🿿 +64 - 0 4 +𯿾 +65 - 0 4 +𯿿 +66 - 0 4 +ð¿¿¾ +67 - 0 4 +ð¿¿¿ +68 - 0 4 +ñ¿¾ +69 - 0 4 +ñ¿¿ +70 - 0 4 +ñŸ¿¾ +71 - 0 4 +ñŸ¿¿ +72 - 0 4 +ñ¯¿¾ +73 - 0 4 +ñ¯¿¿ +74 - 0 4 +ñ¿¿¾ +75 - 0 4 +ñ¿¿¿ +76 - 0 4 +ò¿¾ +77 - 0 4 +ò¿¿ +78 - 0 4 +òŸ¿¾ +79 - 0 4 +òŸ¿¿ +80 - 0 4 +ò¯¿¾ +81 - 0 4 +ò¯¿¿ +82 - 0 4 +ò¿¿¾ +83 - 0 4 +ò¿¿¿ +84 - 0 4 +ó¿¾ +85 - 0 4 +ó¿¿ +86 - 0 4 +󟿾 +87 - 0 4 +óŸ¿¿ +88 - 0 4 +󯿾 +89 - 0 4 +󯿿 +90 - 0 4 +ó¿¿¾ +91 - 0 4 +ó¿¿¿ +92 - 0 4 +ô¿¾ +93 - 0 4 +ô¿¿ +94 - 0 1 + +95 - 0 1 + + +96 - 0 1 + +97 - 0 1 +! +98 - 0 1 +" +99 - 0 1 +# +100 - 0 1 +$ +101 - 0 1 +% +102 - 0 1 +& +103 - 0 1 +' +104 - 0 1 +( +105 - 0 1 +) +106 - 0 1 +* +107 - 0 1 ++ +108 - 0 1 +, +109 - 0 1 +- +110 - 0 1 +. +111 - 0 1 +/ +112 - 0 1 +0 +113 - 0 1 +1 +114 - 0 1 +2 +115 - 0 1 +3 +116 - 0 1 +4 +117 - 0 1 +5 +118 - 0 1 +6 +119 - 0 1 +7 +120 - 0 1 +8 +121 - 0 1 +9 +122 - 0 1 +: +123 - 0 1 +; +124 - 0 1 += +125 - 0 1 +> +126 - 0 1 +? +127 - 0 1 +@ +128 - 0 1 +A +129 - 0 1 +B +130 - 0 1 +C +131 - 0 1 +D +132 - 0 1 +E +133 - 0 1 +F +134 - 0 1 +G +135 - 0 1 +H +136 - 0 1 +I +137 - 0 1 +J +138 - 0 1 +K +139 - 0 1 +L +140 - 0 1 +M +141 - 0 1 +N +142 - 0 1 +O +143 - 0 1 +P +144 - 0 1 +Q +145 - 0 1 +R +146 - 0 1 +S +147 - 0 1 +T +148 - 0 1 +U +149 - 0 1 +V +150 - 0 1 +W +151 - 0 1 +X +152 - 0 1 +Y +153 - 0 1 +Z +154 - 0 1 +[ +155 - 0 1 +\ +156 - 0 1 +] +157 - 0 1 +^ +158 - 0 1 +_ +159 - 0 1 +` +160 - 0 1 +a +161 - 0 1 +b +162 - 0 1 +c +163 - 0 1 +d +164 - 0 1 +e +165 - 0 1 +f +166 - 0 1 +g +167 - 0 1 +h +168 - 0 1 +i +169 - 0 1 +j +170 - 0 1 +k +171 - 0 1 +l +172 - 0 1 +m +173 - 0 1 +n +174 - 0 1 +o +175 - 0 1 +p +176 - 0 1 +q +177 - 0 1 +r +178 - 0 1 +s +179 - 0 1 +t +180 - 0 1 +u +181 - 0 1 +v +182 - 0 1 +w +183 - 0 1 +x +184 - 0 1 +y +185 - 0 1 +z +186 - 0 1 +{ +187 - 0 1 +| +188 - 0 1 +} +189 - 0 1 +~ +190 - 0 2 +  +191 - 0 2 +¡ +192 - 0 2 +¢ +193 - 0 2 +£ +194 - 0 2 +¤ +195 - 0 2 +Â¥ +196 - 0 2 +¦ +197 - 0 2 +§ +198 - 0 2 +¨ +199 - 0 2 +© +200 - 0 2 +ª +201 - 0 2 +« +202 - 0 2 +¬ +203 - 0 2 +­ +204 - 0 2 +® +205 - 0 2 +¯ +206 - 0 2 +° +207 - 0 2 +± +208 - 0 2 +² +209 - 0 2 +³ +210 - 0 2 +´ +211 - 0 2 +µ +212 - 0 2 +¶ +213 - 0 2 +· +214 - 0 2 +¸ +215 - 0 2 +¹ +216 - 0 2 +º +217 - 0 2 +» +218 - 0 2 +¼ +219 - 0 2 +½ +220 - 0 2 +¾ +221 - 0 2 +¿ +222 - 0 2 +À +223 - 0 2 +à +224 - 0 2 + +225 - 0 2 +à +226 - 0 2 +Ä +227 - 0 2 +Ã… +228 - 0 2 +Æ +229 - 0 2 +Ç +230 - 0 2 +È +231 - 0 2 +É +232 - 0 2 +Ê +233 - 0 2 +Ë +234 - 0 2 +ÃŒ +235 - 0 2 +à +236 - 0 2 +ÃŽ +237 - 0 2 +à +238 - 0 2 +à +239 - 0 2 +Ñ +240 - 0 2 +Ã’ +241 - 0 2 +Ó +242 - 0 2 +Ô +243 - 0 2 +Õ +244 - 0 2 +Ö +245 - 0 2 +× +246 - 0 2 +Ø +247 - 0 2 +Ù +248 - 0 2 +Ú +249 - 0 2 +Û +250 - 0 2 +Ü +251 - 0 2 +à +252 - 0 2 +Þ +253 - 0 2 +ß +254 - 0 2 +à +255 - 0 2 +á +256 - 0 2 +â +257 - 0 2 +ã +258 - 0 2 +ä +259 - 0 2 +Ã¥ +260 - 0 2 +æ +261 - 0 2 +ç +262 - 0 2 +è +263 - 0 2 +é +264 - 0 2 +ê +265 - 0 2 +ë +266 - 0 2 +ì +267 - 0 2 +í +268 - 0 2 +î +269 - 0 2 +ï +270 - 0 2 +ð +271 - 0 2 +ñ +272 - 0 2 +ò +273 - 0 2 +ó +274 - 0 2 +ô +275 - 0 2 +õ +276 - 0 2 +ö +277 - 0 2 +÷ +278 - 0 2 +ø +279 - 0 2 +ù +280 - 0 2 +ú +281 - 0 2 +û +282 - 0 2 +ü +283 - 0 2 +ý +284 - 0 2 +þ +285 - 0 2 +ÿ +286 - 0 3 +퟿ +287 - 0 3 + +288 - 0 3 +ï· +289 - 0 3 +ï·° +290 - 0 3 +� +291 - 0 4 +ð€€ +292 - 0 4 +🿽 +293 - 0 4 +ð €€ +294 - 0 4 +𯿽 +295 - 0 4 +ð°€€ +296 - 0 4 +ð¿¿½ +297 - 0 4 +ñ€€€ +298 - 0 4 +ñ¿½ +299 - 0 4 +ñ€€ +300 - 0 4 +ñŸ¿½ +301 - 0 4 +ñ €€ +302 - 0 4 +ñ¯¿½ +303 - 0 4 +ñ°€€ +304 - 0 4 +ñ¿¿½ +305 - 0 4 +ò€€€ +306 - 0 4 +ò¿½ +307 - 0 4 +ò€€ +308 - 0 4 +òŸ¿½ +309 - 0 4 +ò €€ +310 - 0 4 +ò¯¿½ +311 - 0 4 +ò°€€ +312 - 0 4 +ò¿¿½ +313 - 0 4 +ó€€€ +314 - 0 4 +ó¿½ +315 - 0 4 +ó€€ +316 - 0 4 +󟿽 +317 - 0 4 +ó €€ +318 - 0 4 +󯿽 +319 - 0 4 +ó°€€ +320 - 0 4 +ó¿¿½ +321 - 0 4 +ô€€€ +322 - 0 4 +ô¿½ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/unicodeCharsProblematic.test b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/unicodeCharsProblematic.test new file mode 100644 index 0000000000000000000000000000000000000000..eee17f660176aface7265ed4b0111305c96ddc63 Binary files /dev/null and b/local-test-libxml2-delta-02/afc-libxml2/test/html-tokenizer/unicodeCharsProblematic.test differ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..50bdd3213470744f176f9e94e3c111bac8d9bd1c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_0.xml @@ -0,0 +1 @@ +<foo xmlnsbar="1"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..eb6f43b7dce4c0610b1641b4c8f6580856c532cc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_1.xml @@ -0,0 +1 @@ +<foo xmlns:="http://example.com/"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_10.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_10.xml new file mode 100644 index 0000000000000000000000000000000000000000..cf3626139eafbc41fa5fd63312246f62f187921f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_10.xml @@ -0,0 +1 @@ +<tst xmlns="http://example.com/" xmlns="http://example.com/"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_11.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_11.xml new file mode 100644 index 0000000000000000000000000000000000000000..9d8193943d55f21a7a44ac46b37cba1e809ffee1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_11.xml @@ -0,0 +1 @@ +<tst xmlns:a="http://example.com/" xmlns:a="http://example.com/"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..9fd51b3d19188c0dc734cc1f916980f3324c450e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_2.xml @@ -0,0 +1 @@ +<:/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..3d4d439129b8707591c775192a1a0c1fda3d410f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_3.xml @@ -0,0 +1 @@ +<:foo/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_4.xml new file mode 100644 index 0000000000000000000000000000000000000000..9dc294e6b7b6c154447fd3c104015bc58cf70810 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_4.xml @@ -0,0 +1 @@ +<f: xmlns:f="http://example.com/foo"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_5.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_5.xml new file mode 100644 index 0000000000000000000000000000000000000000..5943c117e6b5c9e33084a0e6ad9d848f3708097a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_5.xml @@ -0,0 +1 @@ +<f:a: xmlns:f="http://example.com/foo"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_7.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_7.xml new file mode 100644 index 0000000000000000000000000000000000000000..5bbe23565e1fd7cf4c642ec4083abca82833128f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_7.xml @@ -0,0 +1 @@ +<f:foo/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_8.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_8.xml new file mode 100644 index 0000000000000000000000000000000000000000..8321da2f9209771dc36d40de2f5f9e32c0e02ea8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_8.xml @@ -0,0 +1 @@ +<tst xmlns:xml="http://example.com/"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_9.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_9.xml new file mode 100644 index 0000000000000000000000000000000000000000..4478c602ba320ec3ef1a43cd234fd8eb63d5409a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/err_9.xml @@ -0,0 +1,2 @@ +<tst xmlns:a="http://example.com/" xmlns:b="http://example.com/" + a:err="1" b:err="2"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/reconcile/tests-to-c.xsl b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/reconcile/tests-to-c.xsl new file mode 100644 index 0000000000000000000000000000000000000000..9a0d1c664af4fd6548f898cda1c3714a200014ea --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/reconcile/tests-to-c.xsl @@ -0,0 +1,275 @@ +<?xml version="1.0"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:output method="text"/> + + <xsl:template match="/"> + <xsl:text><![CDATA[ +#include <libxml/parser.h> +#include <libxml/tree.h> +#include <libxml/xpath.h> +#include <libxml/xpathInternals.h> +]]> +</xsl:text> + <xsl:call-template name="serializer"/> + <xsl:apply-templates select="tests/test"/> + <xsl:text> + +int main(int argc, char **argv) {&#xA;</xsl:text> + <xsl:apply-templates select="tests/test" mode="call"/> + <xsl:text> + /* printf("finished.\n"); */ + return (0); +} +</xsl:text> + </xsl:template> + + <xsl:template match="tests/test" mode="call"> + <xsl:text> nsTest_</xsl:text> + <xsl:value-of select="@name"/> + <xsl:text>();&#xA;</xsl:text> + </xsl:template> + + <xsl:template name="xml-text"> + <xsl:param name="text"/> + <xsl:call-template name="replace-string"> + <!-- Substitute #10 for " --> + <xsl:with-param name="from" select="'&#10;'"/> + <xsl:with-param name="to" select="'&quot;&#10;&quot;'"/> + <xsl:with-param name="text"> + <xsl:call-template name="replace-string"> + <!-- Substitute " for \" --> + <xsl:with-param name="from" select="'&quot;'"/> + <xsl:with-param name="to" select="'\&quot;'"/> + <xsl:with-param name="text"> + <xsl:call-template name="replace-string"> + <!-- Remove tabs. --> + <xsl:with-param name="from" select="'&#9;'"/> + <xsl:with-param name="to" select="''"/> + <xsl:with-param name="text" select="$text"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + + </xsl:template> + + <xsl:template match="doc" mode="define"> + <xsl:text> xmlDocPtr </xsl:text> + <xsl:value-of select="@name"/> + <xsl:text>;&#xA;</xsl:text> + <xsl:text> const char * </xsl:text> + <xsl:value-of select="@name"/> + <xsl:text>_str = "</xsl:text> + <xsl:call-template name="xml-text"> + <xsl:with-param name="text" select="."/> + </xsl:call-template> + <xsl:text>";&#xA;</xsl:text> + </xsl:template> + + <xsl:template match="expected" mode="define"> + <xsl:text> const char * </xsl:text> + <xsl:text>exp_str = "</xsl:text> + <xsl:call-template name="xml-text"> + <xsl:with-param name="text" select="."/> + </xsl:call-template> + <xsl:text>";&#xA;</xsl:text> + </xsl:template> + + <xsl:template match="doc"> + <xsl:text> </xsl:text> + <xsl:value-of select="@name"/> + <xsl:text> = xmlReadDoc(BAD_CAST </xsl:text> + <xsl:value-of select="@name"/> + <xsl:text>_str, NULL, NULL, 0);&#xA;</xsl:text> + + <xsl:apply-templates select="following-sibling::*[1]"/> + + <xsl:text> xmlFreeDoc(</xsl:text> + <xsl:value-of select="@name"/> + <xsl:text>);&#xA;</xsl:text> + </xsl:template> + + <xsl:template match="xpath"> + </xsl:template> + + <xsl:template match="var" mode="define"> + <xsl:text> xmlNodePtr </xsl:text> + <xsl:value-of select="@name"/> + <xsl:text>;&#xA;</xsl:text> + </xsl:template> + + <xsl:template match="var"> + <xsl:if test="xpath"> + <!-- Create XPath context. --> + <xsl:text> /* Selecting node "</xsl:text><xsl:value-of select="@name"/><xsl:text>". */&#xA;</xsl:text> + <xsl:text> xp = xmlXPathNewContext(</xsl:text> + <xsl:value-of select="xpath/@doc"/> + <xsl:text>);&#xA;</xsl:text> + <!-- Register namespaces. --> + <xsl:for-each select="xpath/reg-ns"> + <xsl:text> xmlXPathRegisterNs(xp, BAD_CAST "</xsl:text> + <xsl:value-of select="@prefix"/> + <xsl:text>", BAD_CAST "</xsl:text> + <xsl:value-of select="@ns"/> + <xsl:text>");&#xA;</xsl:text> + </xsl:for-each> + <!-- Evaluate. --> + <xsl:text> </xsl:text> + <xsl:value-of select="@name"/> + <xsl:text> = nsSelectNode(xp, "</xsl:text> + <xsl:value-of select="xpath/@select-node"/> + <xsl:text>");&#xA;</xsl:text> + <xsl:text> xmlXPathFreeContext(xp);&#xA;</xsl:text> + </xsl:if> + <xsl:apply-templates select="following-sibling::*[1]"/> + </xsl:template> + + <xsl:template match="reconcile-ns"> + <xsl:text> /* Reconcile node "</xsl:text><xsl:value-of select="@ref"/><xsl:text>". */&#xA;</xsl:text> + <xsl:text> xmlDOMWrapReconcileNamespaces(NULL, </xsl:text> + <xsl:value-of select="@node"/> + <xsl:text>, 0);&#xA;</xsl:text> + <xsl:apply-templates select="following-sibling::*[1]"/> + </xsl:template> + + <xsl:template match="remove"> + <xsl:text> xmlDOMWrapRemoveNode(NULL, </xsl:text> + <xsl:value-of select="@node"/> + <xsl:text>->doc, </xsl:text> + <xsl:value-of select="@node"/> + <xsl:text>, 0);&#xA;</xsl:text> + <xsl:apply-templates select="following-sibling::*[1]"/> + </xsl:template> + + <xsl:template match="adopt"> + <xsl:text> /* Adopt "</xsl:text><xsl:value-of select="@node"/><xsl:text>". */&#xA;</xsl:text> + <xsl:text> xmlDOMWrapAdoptNode(NULL, </xsl:text> + <xsl:value-of select="@node"/> + <xsl:text>->doc, </xsl:text> + <xsl:value-of select="@node"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="@dest-doc"/> + <xsl:text>, </xsl:text> + <xsl:choose> + <xsl:when test="@dest-parent"> + <xsl:value-of select="@dest-parent"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>NULL</xsl:text> + </xsl:otherwise> + </xsl:choose> + <xsl:text>, 0);&#xA;</xsl:text> + <xsl:apply-templates select="following-sibling::*[1]"/> + </xsl:template> + + <xsl:template match="append-child"> + <xsl:text> xmlAddChild(</xsl:text> + <xsl:value-of select="@parent"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="@child"/> + <xsl:text>);&#xA;</xsl:text> + <xsl:apply-templates select="following-sibling::*[1]"/> + </xsl:template> + + <xsl:template match="expected"> + <xsl:text> /* Serialize "</xsl:text><xsl:value-of select="@doc"/><xsl:text>". */&#xA;</xsl:text> + <xsl:text> result_str = nsSerializeNode(xmlDocGetRootElement(</xsl:text> + <xsl:value-of select="@doc"/> + <xsl:text>));&#xA;</xsl:text> + <xsl:text> /* Compare result. */ + if (! xmlStrEqual(BAD_CAST result_str, BAD_CAST exp_str)) { + printf("FAILED\n"); + printf("%s\n", (const char *) result_str); + printf("- - -\n"); + printf("Expected:\n%s\n", exp_str); + printf("= = =\n"); + } + xmlFree(result_str);&#xA;</xsl:text> + </xsl:template> + + <!--******** + * TEST * + ********--> + <xsl:template match="test"> + <xsl:text>void nsTest_</xsl:text> + <xsl:value-of select="@name"/> + <xsl:text>(void) { + xmlChar * result_str; + xmlXPathContextPtr xp; + int memory;&#xA;</xsl:text> + <xsl:apply-templates select="*" mode="define"/> + <xsl:text> + memory = xmlMemUsed(); + xmlInitParser();&#xA;&#xA;</xsl:text> + <xsl:apply-templates select="child::*[1]"/> + <xsl:text> + xmlCleanupParser(); + memory = xmlMemUsed() - memory; + + if (memory != 0) { + printf("## '%s' MEMORY leak: %d\n", "</xsl:text> + <xsl:value-of select="@name"/> + <xsl:text>", memory); + } +} +</xsl:text> + </xsl:template> + + <xsl:template name="serializer"> + <xsl:text> + +xmlChar * nsSerializeNode(xmlNodePtr node) { + xmlChar * ret; + + xmlOutputBufferPtr buf; + buf = xmlAllocOutputBuffer(NULL); + xmlNodeDumpOutput(buf, node->doc, node, 0, 0, NULL); + xmlOutputBufferFlush(buf); + ret = (xmlChar *) buf->buffer->content; + buf->buffer->content = NULL; + (void) xmlOutputBufferClose(buf); + return (ret); +} + +xmlNodePtr nsSelectNode(xmlXPathContextPtr xp, const char * xpath) { + xmlXPathObjectPtr xpres; + xmlNodePtr ret; + + xpres = xmlXPathEval(BAD_CAST xpath, xp); + ret = xpres->nodesetval->nodeTab[0]; + xmlXPathFreeObject(xpres); + return (ret); +} + +</xsl:text> + </xsl:template> + + <xsl:template name="replace-string"> + <xsl:param name="text"/> + <xsl:param name="from"/> + <xsl:param name="to"/> + + <xsl:choose> + <xsl:when test="contains($text, $from)"> + + <xsl:variable name="before" select="substring-before($text, $from)"/> + <xsl:variable name="after" select="substring-after($text, $from)"/> + <xsl:variable name="prefix" select="concat($before, $to)"/> + + <xsl:value-of select="$before"/> + <xsl:value-of select="$to"/> + <xsl:call-template name="replace-string"> + <xsl:with-param name="text" select="$after"/> + <xsl:with-param name="from" select="$from"/> + <xsl:with-param name="to" select="$to"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$text"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + +</xsl:stylesheet> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/reconcile/tests.xml b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/reconcile/tests.xml new file mode 100644 index 0000000000000000000000000000000000000000..c6f8c542d6cd3e56259e159c60018a8f231272ce --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/namespaces/reconcile/tests.xml @@ -0,0 +1,249 @@ +<?xml version="1.0"?> +<tests> + <test name="adopt_recon_default"> + + <doc name="doc1"><![CDATA[<p1 xmlns="urn:test:AAA"><a/></p1>]]></doc> + <doc name="doc2"><![CDATA[<p1 xmlns="urn:test:BBB"><b/></p1>]]></doc> + <doc name="doc3"><![CDATA[<p2 xmlns="urn:test:ZZZ"/>]]></doc> + <var name="a"> + <xpath doc="doc1" select-node="/a:p1/a:a"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <var name="b" > + <xpath doc="doc2" select-node="/b:p1/b:b"> + <reg-ns prefix="b" ns="urn:test:BBB"/> + </xpath> + </var> + <var name="p2"> + <xpath doc="doc3" select-node="/z:p2"> + <reg-ns prefix="z" ns="urn:test:ZZZ"/> + </xpath> + </var> + + <remove node="a"/> + <adopt dest-doc="doc3" node="a"/> + <append-child parent="p2" child="a"/> + + <!-- This time without a previous removing. --> + <adopt dest-doc="doc3" node="b"/> + <append-child parent="p2" child="b"/> + + <reconcile-ns node="p2"/> + <expected doc="doc3"><![CDATA[<p2 xmlns="urn:test:ZZZ"><a xmlns="urn:test:AAA"/><b xmlns="urn:test:BBB"/></p2>]]></expected> + </test> + + <test name="adopt_recon"> + <doc name="doc1"><![CDATA[<a:p1 xmlns:a="urn:test:AAA"><a:a/></a:p1>]]></doc> + <doc name="doc2"><![CDATA[<a:p2 xmlns:a="urn:test:AAA"/>]]></doc> + <var name="a"> + <xpath doc="doc1" select-node="/a:p1/a:a"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <var name="p2"> + <xpath doc="doc2" select-node="/a:p2"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <adopt dest-doc="doc2" node="a"/> + <append-child parent="p2" child="a"/> + <reconcile-ns node="a"/> + <expected doc="doc2"><![CDATA[<a:p2 xmlns:a="urn:test:AAA"><a:a/></a:p2>]]></expected> + </test> + + <test name="adopt_recon_attr"> + <doc name="doc1"><![CDATA[<p1 xmlns:b="urn:test:BBB" b:attr="marvin"/>]]></doc> + <doc name="doc2"><![CDATA[<a:p2 xmlns:a="urn:test:AAA"/>]]></doc> + <var name="attr"> + <xpath doc="doc1" select-node="/p1/@b:attr"> + <reg-ns prefix="b" ns="urn:test:BBB"/> + </xpath> + </var> + <var name="p2"> + <xpath doc="doc2" select-node="/a:p2"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <adopt dest-doc="doc2" node="attr" /> + <append-child parent="p2" child="attr"/> + <reconcile-ns node="p2"/> + <expected doc="doc2"><![CDATA[<a:p2 xmlns:a="urn:test:AAA" xmlns:b="urn:test:BBB" b:attr="marvin"/>]]></expected> + </test> + + <test name="adopt_recon_attr_2"> + <!-- Here we will specify a destination-parent for adoption. --> + <doc name="doc1"><![CDATA[<p1 xmlns:b="urn:test:BBB" b:attr="marvin"/>]]></doc> + <doc name="doc2"><![CDATA[<a:p2 xmlns:a="urn:test:AAA"/>]]></doc> + <var name="attr"> + <xpath doc="doc1" select-node="/p1/@b:attr"> + <reg-ns prefix="b" ns="urn:test:BBB"/> + </xpath> + </var> + <var name="p2"> + <xpath doc="doc2" select-node="/a:p2"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <adopt dest-doc="doc2" dest-parent="p2" node="attr" /> + <append-child parent="p2" child="attr"/> + <reconcile-ns node="p2"/> + <expected doc="doc2"><![CDATA[<a:p2 xmlns:a="urn:test:AAA" xmlns:b="urn:test:BBB" b:attr="marvin"/>]]></expected> + </test> + + <test name="adopt_recon_attr_3"> + <!-- Conflicting ns-prefixes for the added attribute. --> + <doc name="doc1"><![CDATA[<p1 xmlns:a="urn:test:AAA" a:attr="marvin"/>]]></doc> + <doc name="doc2"><![CDATA[<a:p2 xmlns:a="urn:test:aaa"/>]]></doc> + <var name="attr"> + <xpath doc="doc1" select-node="/p1/@a:attr"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <var name="p2"> + <xpath doc="doc2" select-node="/a:p2"> + <reg-ns prefix="a" ns="urn:test:aaa"/> + </xpath> + </var> + <adopt dest-doc="doc2" node="attr" /> + <append-child parent="p2" child="attr"/> + <reconcile-ns node="p2"/> + <expected doc="doc2"><![CDATA[<a:p2 xmlns:a="urn:test:aaa" xmlns:a1="urn:test:AAA" a1:attr="marvin"/>]]></expected> + </test> + + <test name="adopt_recon_attr_4"> + <!-- Qualified attribute added to default namespaced elem. --> + <doc name="doc1"><![CDATA[<p1 xmlns:a="urn:test:AAA" a:attr="marvin"/>]]></doc> + <doc name="doc2"><![CDATA[<p2 xmlns="urn:test:AAA"/>]]></doc> + <var name="attr"> + <xpath doc="doc1" select-node="/p1/@a:attr"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <var name="p2"> + <xpath doc="doc2" select-node="/a:p2"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <adopt dest-doc="doc2" node="attr" /> + <append-child parent="p2" child="attr"/> + <reconcile-ns node="p2"/> + <expected doc="doc2"><![CDATA[<p2 xmlns="urn:test:AAA" xmlns:a="urn:test:AAA" a:attr="marvin"/>]]></expected> + </test> + + <test name="adopt_recon_attr_5"> + <!-- Shadowed and conflicting prefix. dest-parent IS given. --> + <doc name="doc1"><![CDATA[<p1 xmlns:a="urn:test:AAA" a:attr="marvin"/>]]></doc> + <doc name="doc2"><![CDATA[<p2 xmlns:a="urn:test:AAA"><a:p3 xmlns:a="urn:test:ZZZ"/></p2>]]></doc> + <var name="attr"> + <xpath doc="doc1" select-node="/p1/@a:attr"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <var name="p3"> + <xpath doc="doc2" select-node="/p2/a:p3"> + <reg-ns prefix="a" ns="urn:test:ZZZ"/> + </xpath> + </var> + <adopt dest-doc="doc2" node="attr" dest-parent="p3"/> + <append-child parent="p3" child="attr"/> + <!-- Note that we don't need to reconcile here, since done during + adoption. --> + <expected doc="doc2"><![CDATA[ +<p2 xmlns:a="urn:test:AAA"> + <a:p3 xmlns:a="urn:test:ZZZ" xmlns:a1="urn:test:AAA" a1:attr="marvin"/> +</p2>]]></expected> + </test> + + <test name="adopt_recon_attr_6"> + <!-- Shadowed and conflicting prefix. dest-parent NOT given. --> + <doc name="doc1"><![CDATA[<p1 xmlns:a="urn:test:AAA" a:attr="marvin"/>]]></doc> + <doc name="doc2"><![CDATA[<p2 xmlns:a="urn:test:AAA"><a:p3 xmlns:a="urn:test:ZZZ"/></p2>]]></doc> + <var name="attr"> + <xpath doc="doc1" select-node="/p1/@a:attr"> + <reg-ns prefix="a" ns="urn:test:AAA"/> + </xpath> + </var> + <var name="p3"> + <xpath doc="doc2" select-node="/p2/a:p3"> + <reg-ns prefix="a" ns="urn:test:ZZZ"/> + </xpath> + </var> + <adopt dest-doc="doc2" node="attr"/> + <append-child parent="p3" child="attr"/> + <reconcile-ns node="p3"/> + <expected doc="doc2"><![CDATA[ +<p2 xmlns:a="urn:test:AAA"> + <a:p3 xmlns:a="urn:test:ZZZ" xmlns:a1="urn:test:AAA" a1:attr="marvin"/> +</p2>]]></expected> + </test> + + <test name="shadow_1"> + + <doc name="doc"><![CDATA[ +<foo xmlns:foo="urn:test:mine"> + <p xmlns:bar="urn:test:mine"/> + <a1> + <a2 xmlns:bar="urn:test:OTHER"> + <foo:a3/> + </a2> + </a1> +</foo> +]]></doc> + <var name="a1"> + <xpath doc="doc" select-node="/foo/a1"/> + </var> + <var name="p" > + <xpath doc="doc" select-node="/foo/p"/> + </var> + <remove node="a1"/> + <append-child parent="p" child="a1"/> + <reconcile-ns node="a1"/> + <expected doc="doc"><![CDATA[ +<foo xmlns:foo="urn:test:mine"> + <p xmlns:bar="urn:test:mine"> + <a1> + <a2 xmlns:bar="urn:test:OTHER"> + <foo:a3/> + </a2> + </a1> + </p> +</foo> +]]></expected> + </test> + + <test name="norm_1"> + + <doc name="doc"><![CDATA[ +<foo> + <p1 xmlns:a="urn:test:A" xmlns:b="urn:test:B" xmlns:c="urn:test:C"> + <a:a> + <b:b a:attr="dont" c:attr="panic"/> + </a:a> + </p1> + <p2/> +</foo> +]]></doc> + <var name="a"> + <xpath doc="doc" select-node="/foo/p1/a:a"> + <reg-ns prefix="a" ns="urn:test:A"/> + </xpath> + </var> + <var name="p2" > + <xpath doc="doc" select-node="/foo/p2"/> + </var> + <remove node="a"/> + <append-child parent="p2" child="a"/> + <reconcile-ns node="a"/> + <expected doc="doc"><![CDATA[ +<foo> + <p1 xmlns:a="urn:test:A" xmlns:b="urn:test:B" xmlns:c="urn:test:C"/> + <p2> + <a:a xmlns:a="urn:test:A"> + <b:b xmlns:b="urn:test:B" xmlns:c="urn:test:C" a:attr="dont" c:attr="panic"/> + </a:a> + </p2> +</foo> +]]></expected> + </test> +</tests> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/branch b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/branch new file mode 100644 index 0000000000000000000000000000000000000000..6a728e6771fba65e238811daeb3d71f31b27aee3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/branch @@ -0,0 +1,14 @@ +=>a|b(d|e(g|h|i)|f)|c +a +c +bd +bf +beg +beh +bei +b +be +bi +f +ab +ac diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug316338 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug316338 new file mode 100644 index 0000000000000000000000000000000000000000..98c78385e8998413526d6079c0557160bcb36727 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug316338 @@ -0,0 +1,20 @@ +=>(((C|c)(([\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){3})+[\s]*))+ +C 433 +C 433 12 +C 433 123 +C 433 123 456 +C 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 +=>(((C|c)(([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){3})+[\s]*))+ +C 433 +C 433 12 +C 433 123 +C 433 123 456 +C 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 +=>(((C|c)(([\s]+\-?[0-9]+(\.[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?){3})+[\s]*))+ +C 433 +C 433 12 +C 433 123 +C 433 123 456 +C 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 +=>(((M|m)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)[\s]*)|((L|l)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)+[\s]*)|((H|h)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)+[\s]*)|((V|v)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)+[\s]*)|((C|c)(([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){3})+[\s]*)|((Q|q)(([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){2})+[\s]*)|((S|s)(([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){2})+[\s]*)|((A|a)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]+[0-1][\s]+[0-1][\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)+[\s]*)|((Z|z)[\s]*))* +M 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug420596 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug420596 new file mode 100644 index 0000000000000000000000000000000000000000..b6f285d54cff8cb11694890b29aa6bc28c966433 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug420596 @@ -0,0 +1,10 @@ +=>(\+|-)(0[0-9]|1[0-1]) ++01 +-01 ++10 +-10 +=>[+-](0[0-9]|1[0-1]) ++01 +-01 ++10 +-10 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug649244 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug649244 new file mode 100644 index 0000000000000000000000000000000000000000..42988643aff99d9c0090958826c5950458af4abb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug649244 @@ -0,0 +1,9 @@ +=>S(a|)E +SE +SxE +=>S(|b)E +SE +SxE +=>S(a||b)E +SE +SxE diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug757711 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug757711 new file mode 100644 index 0000000000000000000000000000000000000000..29098354c6b810a0f8cc94aa7cb92bec92523be7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug757711 @@ -0,0 +1 @@ +=>[;^((- diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug783015 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug783015 new file mode 100644 index 0000000000000000000000000000000000000000..5c91a0f10ec956696556479b017fd883ab17bfea --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/bug783015 @@ -0,0 +1,4 @@ +# This assumes 32-bit ints. +=>.{2147483647} +input +=>.{2147483648} diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/content b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/content new file mode 100644 index 0000000000000000000000000000000000000000..9d01c8b2d4c2023ce3cf6ec26e05be2052510e1f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/content @@ -0,0 +1,12 @@ +=>((a|b|c)def) +adef +bdef +adefg +aaef +=>((a|b|c|d|e|f)?(g|h|i)+(k|l)*) +g +gi +fil +gikl +cghhhiill +ak diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/hard b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/hard new file mode 100644 index 0000000000000000000000000000000000000000..ddb4cfddf7663cc4a006aa5ca4ea4f790903f099 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/hard @@ -0,0 +1,12 @@ +=>((a|b|\p{Nd}){1,2}|aaa|bbbb){1,2} +bab +aaca +aaabbbb +a0b +aa0aaa +b0aaa +=>(\d{1,3}\.){3}\d{1,3} +1.2.3.4 +1.22.333.44 +1.2.3 +1..2.3 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue301 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue301 new file mode 100644 index 0000000000000000000000000000000000000000..b5a316b16b016b9f573259ff3a5cc5ba25513dfd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue301 @@ -0,0 +1,4 @@ +=>(a{1,2}|ab){2} +abab +=>((1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5]) +192.168.254.0 diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue370 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue370 new file mode 100644 index 0000000000000000000000000000000000000000..626b38e09b72d07e8b47cfb0acebb07ac4ede3bf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue370 @@ -0,0 +1,3 @@ +=>[A-Za-[G]] +G +a diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue65 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue65 new file mode 100644 index 0000000000000000000000000000000000000000..b71bc0737317be9108e1925345955283e2b2eab7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/issue65 @@ -0,0 +1,2 @@ +=>( (a|bc{0,2})){0,2} d + b d diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ncname b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ncname new file mode 100644 index 0000000000000000000000000000000000000000..1e452a8933f18928d70896258920ac132ec9e754 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ncname @@ -0,0 +1,6 @@ +=>[\i-[:]][\c-[:]]* +a +abc +abc1d +1ac +a1b:c diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ranges b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ranges new file mode 100644 index 0000000000000000000000000000000000000000..cb7c22f958e20a5a7ff59b8407fec064ebec7908 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ranges @@ -0,0 +1,15 @@ +=>a{2,3} +a +aa +aaa +aaaa +=>ba{2,3}c +bac +baac +baaac +baaaac +=>a(b|c){2,3}d +abcd +acccd +abd +accccd diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ranges2 b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ranges2 new file mode 100644 index 0000000000000000000000000000000000000000..a8eb884e3d3ea74555e045a72b2576bd24f74ea9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/ranges2 @@ -0,0 +1,14 @@ +=>(a|b{0,3}){0,1} +a +aa +b +bb +bbb +bbbb +ab +ba +=>([0-9]{0,3}|([0-9]{0}|[0-9]{0,3})){0,3} +0 +00 +123 +abc diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/regexp/xpath b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/xpath new file mode 100644 index 0000000000000000000000000000000000000000..62c18c41cca821fe5378e082e627d3dcd4b2fa99 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/regexp/xpath @@ -0,0 +1,37 @@ +=>(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)* +a +a12/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b3 +* +a|b +.//a:b +a/b/c +a/*/b +a:*/b:*/c:* +child::a/child::b:* +child::a/child::b:*|a/*/b|.//a:b +1 +1ab +a:1 +@a +ancestor::a +# +# the previous regexp from the Schemas for Schemas was broken +# here is the fixed one: +# http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0005.html +# +=>(\.//)?(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.)(/(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.))*(\|(\.//)?(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.)(/(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.))*)* +a +a12/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b3 +* +a|b +.//a:b +a/b/c +a/*/b +a:*/b:*/c:* +child::a/child::b:* +child::a/child::b:*|a/*/b|.//a:b +1 +1ab +a:1 +@a +ancestor::a diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/relaxng/OASIS/spectest.xml b/local-test-libxml2-delta-02/afc-libxml2/test/relaxng/OASIS/spectest.xml new file mode 100644 index 0000000000000000000000000000000000000000..18afb2e78a4f1373745defc7929804d5af8b29a8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/relaxng/OASIS/spectest.xml @@ -0,0 +1,6845 @@ +<!DOCTYPE testSuite [ +<!ENTITY dii "<&#xE14;&#xE35;/>"> +]> +<testSuite> +<author>James Clark</author> +<email>jjc@jclark.com</email> +<documentation>For October 26 version of the spec.</documentation> +<testSuite> +<section>3</section> +<testSuite> +<documentation>Various possible syntax errors.</documentation> +<testCase> +<section>3</section> +<incorrect> +<thisIsJunk/> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <element name="foo"> + <empty/> + </element> + <start> + <element name="foo"> + <empty/> + </element> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <define name="bar"> + <text/> + </define> + <text/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <name>foo</name> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <group> + <name>bar</name> + </group> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <anyName> + <except> + <name>foo</name> + </except> + <except> + <name>bar</name> + </except> + </anyName> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <nsName> + <except> + <name>foo</name> + </except> + <except> + <name>bar</name> + </except> + </nsName> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <data type="token"> + <except> + <value>foo</value> + </except> + <except> + <value>bar</value> + </except> + </data> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty name="bar"/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo" extra="bar"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty> + <empty/> + </empty> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <text> + <empty/> + </text> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <choice> + <text/> + <notAllowed> + <empty/> + </notAllowed> + </choice> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"> + <empty/> + </ref> + </start> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <grammar> + <start> + <parentRef name="foo"> + <empty/> + </parentRef> + </start> + </grammar> + </start> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<documentation>Tests for obsolete syntax</documentation> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start name="foo"> + <element name="foo"> + <empty/> + </element> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo" ns="http://www.example.com"> + <attribute name="bar" global="true"> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <not> + <name>foo</name> + </not> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <difference> + <anyName/> + <name>foo</name> + </difference> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <data type="token" key="foo"/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <data type="token" keyRef="foo"/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <keyRef name="foo"> + <data type="token"/> + </keyRef> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <key name="foo"> + <data type="token"/> + </key> +</element> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<documentation>Tests for missing attributes and child elements</documentation> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <name>foo</name> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <optional/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <zeroOrMore/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <mixed/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <choice/> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <anyName> + <except/> + </anyName> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <nsName ns=""> + <except/> + </nsName> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="string"> + <except/> + </data> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="string"> + <param/> + </data> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <grammar> + <start/> + </grammar> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="bar"> + <empty/> + </element> + </start> + <define name="baz"/> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <externalRef/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include/> + <start> + <element name="foo"> + <empty/> + </element> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> + <define> + <element name="bar"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref/> + </start> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <grammar> + <start> + <parentRef/> + </start> + </grammar> + </start> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<documentation>Checking of ns attribute</documentation> +<testCase> +<section>3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns=""> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>3</section> +<documentation>No checking of ns attribute is performed</documentation> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns="DAV:"> + <empty/> +</element> +</correct> +<valid> +<foo xmlns="DAV:"/> +</valid> +</testCase> +<testCase> +<section>3</section> +<documentation>No checking of ns attribute is performed</documentation> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns="xyzzy"> + <empty/> +</element> +</correct> +</testCase> +<testCase> +<section>3</section> +<documentation>No checking of ns attribute is performed</documentation> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns="bad_scheme://"> + <empty/> +</element> +</correct> +</testCase> +</testSuite> +<testSuite> +<documentation>Checking of datatypeLibrary attribute</documentation> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="foo_bar:xyzzy"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="foobar:xyzzy"> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http:ok"> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="foo:"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.example.com/%"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.example.com/%xx"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.example.com/%Aa"> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must not be relative</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="xyzzy"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must not be relative</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="xyzzy#foo:bar"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must not be relative</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="xyzzy?foo:bar"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must not be relative</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="xyzzy/foo:bar"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="foo:bar"> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary=""> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data datatypeLibrary="" type="string"/> +</element> +</correct> +<valid> +<foo>x</foo> +</valid> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must not contain fragment identifier</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" + datatypeLibrary="http://www.example.com#xyzzy"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<documentation>Value of datatypeLibrary attribute must not contain fragment identifier</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" + datatypeLibrary="http://www.example.com#"> + <empty/> +</element> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<documentation>Tests for QName and NCNames in schemas</documentation> +<testCase> +<section>3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <element name="&#xE14;&#xE35;"> + <empty/> + </element> +</element> +</correct> +<valid> +<foo>&dii;</foo> +</valid> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="&#xE35;" xmlns="http://relaxng.org/ns/structure/1.0"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="" xmlns="http://relaxng.org/ns/structure/1.0"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <name>&#xE35;</name> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="&#xE35;"/> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="&#xE35;"/> + </start> + <define name="&#xE35;"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="&#xE14;&#xE35;"/> + </start> + <define name="&#xE14;&#xE35;"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name=""/> + </start> + <define name=""> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="x y"/> + </start> + <define name="x y"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0" + xmlns:x="http://www.example.com/x"> + <start> + <ref name="x:y"/> + </start> + <define name="x:y"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" + xmlns:x="http://www.example.com/x" + name="x:&#xE35;"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" + xmlns:x="http://www.example.com/x" + name="x:y:z"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" + xmlns:x="http://www.example.com/x" + name="x:"> + <empty/> +</element> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<documentation>Tests for elements that allow only a single pattern child.</documentation> +<testCase> +<section>3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + <empty/> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <attribute name="bar"> + <text/> + <empty/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <attribute> + <name>bar</name> + <text/> + <empty/> + </attribute> +</element> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<documentation>Tests for foreign element and attribute handling.</documentation> +<testCase> +<section>3</section> +<incorrect> +<r:element name="foo" xmlns:r="http://relaxng.org/ns/structure/1.0" r:a="val"> + <r:empty/> +</r:element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <name>foo<eg:comment xmlns:eg="http://www.example.com"/></name> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <value>foo<eg:comment xmlns:eg="http://www.example.com"/></value> +</element> +</incorrect> +</testCase> +<testCase> +<section>3</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <data type="string"><eg:comment xmlns:eg="http://www.example.com"/></data> +</element> +</correct> +<valid> +<foo>X</foo> +</valid> +</testCase> +<testCase> +<section>3</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty> + <ext xmlns="http://www.example.com"> + <element xmlns="http://relaxng.org/ns/structure/1.0"/> + </ext> + </empty> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>3</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:eg="http://www.example.com"> + <eg:comment/> + <eg:comment/> + <start> + <eg:comment/> + <element> + <eg:comment/> + <eg:comment/> + <name>foo</name> + <eg:comment/> + <data type="string"/> + <eg:comment/> + <empty> + <eg:comment/> + <eg:comment/> + </empty> + <eg:comment/> + <eg:comment/> + </element> + <eg:comment/> + </start> + <eg:comment/> +</grammar> +</correct> +<valid> +<foo>X</foo> +</valid> +</testCase> +<testCase> +<section>3</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:eg="http://www.example.com" + eg:comment=""> + <start eg:comment=""> + <element eg:comment=""> + <name eg:comment="">foo</name> + <data eg:comment="" type="string"/> + <empty eg:comment=""/> + </element> + </start> +</grammar> +</correct> +<valid> +<foo>X</foo> +</valid> +</testCase> +<testCase> +<section>3</section> +<correct> +<rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns="http://www.example.com"> + <comment/> + <comment/> + <rng:start> + <comment/> + <rng:element> + <comment/> + <comment/> + <rng:name>foo</rng:name> + <comment/> + <rng:data type="string"/> + <comment/> + </rng:element> + <comment/> + </rng:start> + <comment/> +</rng:grammar> +</correct> +<valid> +<foo>X</foo> +</valid> +</testCase> +<testCase> +<section>3</section> +<correct> +<rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0"> + <comment/> + <comment/> + <rng:start> + <comment/> + <rng:element> + <comment/> + <comment/> + <rng:name>foo</rng:name> + <comment/> + <rng:data type="string"/> + <comment/> + </rng:element> + <comment/> + </rng:start> + <comment/> +</rng:grammar> +</correct> +<valid> +<foo>X</foo> +</valid> +</testCase> +</testSuite> +</testSuite> +<testSuite> +<section>4</section> +<testSuite> +<section>4.2</section> +<testCase> +<section>4.2</section> +<correct> +<element name="&#xA;&#xD;&#x20;&#x9;foo&#xA;&#xD;&#x20;&#x9;" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="&#xA;&#xD;&#x20;&#x9;bar&#xA;&#xD;&#x20;&#x9;"/> +</element> +</correct> +<valid> +<foo bar=""/> +</valid> +</testCase> +<testCase> +<section>4.2</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="&#xA;&#xD;&#x20;&#x9;string&#xA;&#xD;&#x20;&#x9;">bar</value> +</element> +</correct> +<valid> +<foo>bar</foo> +</valid> +<invalid> +<foo>bar </foo> +</invalid> +</testCase> +<testCase> +<section>4.2</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="&#xA;&#xD;&#x20;&#x9;string&#xA;&#xD;&#x20;&#x9;"/> +</element> +</correct> +<valid> +<foo>X</foo> +</valid> +</testCase> +<testCase> +<section>4.2</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <name>&#xA;&#xD;&#x20;&#x9;foo&#xA;&#xD;&#x20;&#x9;</name> + <attribute><name>&#xA;&#xD;&#x20;&#x9;bar&#xA;&#xD;&#x20;&#x9;</name></attribute> +</element> +</correct> +<valid> +<foo bar=""/> +</valid> +</testCase> +<testCase> +<section>4.2</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start combine="&#xA;&#xD;&#x20;&#x9;choice&#xA;&#xD;&#x20;&#x9;"> + <ref name="&#xA;&#xD;&#x20;&#x9;x&#xA;&#xD;&#x20;&#x9;"/> + </start> + <define name="x"> + <ref name="y"/> + </define> + <define name="&#xA;&#xD;&#x20;&#x9;y&#xA;&#xD;&#x20;&#x9;"> + <grammar> + <start combine="&#xA;&#xD;&#x20;&#x9;interleave&#xA;&#xD;&#x20;&#x9;"> + <parentRef name="&#xA;&#xD;&#x20;&#x9;z&#xA;&#xD;&#x20;&#x9;"/> + </start> + </grammar> + </define> + <define name="z"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</correct> +<valid> +<foo/> +</valid> +</testCase> +</testSuite> +<testCase> +<section>4.4</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value datatypeLibrary="http://www.example.com/this-does-not-exist">bar</value> +</element> +</correct> +<valid> +<foo>bar</foo> +</valid> +<valid> +<foo> + bar +</foo> +</valid> +<valid> +<foo> bar </foo> +</valid> +<invalid> +<foo>baz</foo> +</invalid> +<invalid> +<foo>ba r</foo> +</invalid> +</testCase> +<testSuite> +<section>4.5</section> +<testCase> +<section>4.5</section> +<dir name="sub"> +<resource name="x"> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty/> +</element> +</resource> +</dir> +<correct> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" + xml:base="sub/y" href="x"/> +</correct> +<valid> +<foo/> +</valid> +<invalid> +<bar/> +</invalid> +</testCase> +<testCase> +<section>4.5</section> +<resource name="x"> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="bar"> + <empty/> +</element> +</resource> +<dir name="sub1"> +<resource name="x"> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="bar"> + <empty/> +</element> +</resource> +<dir name="sub3"> +<resource name="x"> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty/> +</element> +</resource> +</dir> +</dir> +<correct> +<group xmlns="http://relaxng.org/ns/structure/1.0" xml:base="sub1/"> + <group> + <group xml:base="sub2"> + <group> + <group xml:base="sub3/y"> + <externalRef href="x"/> + </group> + </group> + </group> + </group> +</group> +</correct> +<valid> +<foo/> +</valid> +<invalid> +<bar/> +</invalid> +</testCase> +<testCase> +<section>4.5</section> +<resource name="x"> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <empty/> +</element> +</resource> +<incorrect> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="x#foo"/> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<section>4.6</section> +<testCase> +<section>4.6</section> +<resource name="x"> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty/> +</element> +</resource> +<correct> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="x"/> +</correct> +<valid> +<foo/> +</valid> +<invalid> +<bar/> +</invalid> +</testCase> +<testCase> +<section>4.6</section> +<resource name="x"> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty/> +</element> +</resource> +<correct> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="x" ns="http://www.example.com"/> +</correct> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>4.6</section> +<resource name="x"> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="x"/> +</resource> +<incorrect> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="x"/> +</incorrect> +</testCase> +<testCase> +<section>4.6</section> +<resource name="x"> +<start xmlns="http://relaxng.org/ns/structure/1.0"> + <element name="foo"> + <empty/> + </element> +</start> +</resource> +<incorrect> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="x"/> +</incorrect> +</testCase> +<testCase> +<section>4.6</section> +<resource name="x"> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="y"/> +</resource> +<resource name="y"> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="x"/> +</resource> +<incorrect> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="x"/> +</incorrect> +</testCase> +<testCase> +<section>4.6</section> +<documentation>Same value of href before resolution, but not a loop.</documentation> +<dir name="sub"> +<resource name="x"> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="sub/x"/> +</resource> +<dir name="sub"> +<resource name="x"> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty/> +</element> +</resource> +</dir> +</dir> +<correct> +<externalRef xmlns="http://relaxng.org/ns/structure/1.0" href="sub/x"/> +</correct> +<valid> +<foo/> +</valid> +<invalid> +<bar/> +</invalid> +</testCase> +</testSuite> +<testSuite> +<section>4.7</section> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> +</grammar> +</resource> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> +</grammar> +</correct> +<valid> +<foo/> +</valid> +<invalid> +<bar/> +</invalid> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> +</grammar> +</resource> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x" ns="http://www.example.com"/> +</grammar> +</correct> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="y"/> +</grammar> +</resource> +<resource name="y"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> +</grammar> +</resource> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> +</grammar> +</correct> +<valid> +<foo/> +</valid> +<invalid> +<bar/> +</invalid> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <empty/> +</element> +</resource> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> +</grammar> +</resource> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="y"/> +</grammar> +</resource> +<resource name="y"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> +</grammar> +</resource> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.7</section> +<dir name="sub"> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="sub/x"/> +</grammar> +</resource> +<dir name="sub"> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> +</grammar> +</resource> +</dir> +</dir> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="sub/x"/> +</grammar> +</correct> +<valid> +<foo/> +</valid> +<invalid> +<bar/> +</invalid> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</resource> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"> + <start> + <ref name="foo"/> + </start> + </include> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</resource> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> + <start> + <ref name="foo"/> + </start> +</grammar> +</correct> +<valid><foo/></valid> +<invalid><bar/></invalid> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"/> + </start> +</grammar> +</resource> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> + </include> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"/> + </start> +</grammar> +</resource> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <include href="x"/> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</correct> +<valid><foo/></valid> +<invalid><bar/></invalid> +</testCase> +<testCase> +<section>4.7</section> +<resource name="x"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <define name="foo" combine="choice"> + <element name="foo3"> + <empty/> + </element> + </define> +</grammar> +</resource> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"/> + </start> + <include href="x"> + <define name="foo" combine="choice"> + <element name="foo1"> + <empty/> + </element> + </define> + </include> + <define name="foo"> + <element name="foo2"> + <empty/> + </element> + </define> +</grammar> +</correct> +<valid><foo1/></valid> +<valid><foo2/></valid> +<invalid><foo3/></invalid> +</testCase> +<testCase> +<section>4.7</section> +<resource name="level1.rng"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<include href="level2.rng"> + <define name="foo"> + <element name="bar"> + <empty/> + </element> + </define> +</include> +</grammar> +</resource> +<resource name="level2.rng"> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <define name="bar"> + <element name="bar"> + <empty/> + </element> + </define> +</grammar> +</resource> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <ref name="foo"/> +</start> +<include href="level1.rng"> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</include> +</grammar> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<section>4.8</section> +<testCase> +<section>4.8</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" ns="http://www.example.com" name="foo"> + <attribute name="bar" ns="http://www.example.com"/> +</element> +</correct> +<valid> +<eg:foo eg:bar="x" xmlns:eg="http://www.example.com"/> +</valid> +<invalid> +<eg:foo xmlns:eg="http://www.example.com" bar="x"/> +</invalid> +</testCase> +<testCase> +<section>4.8</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" ns="http://www.example.com" name="foo"> + <attribute name="bar"/> +</element> +</correct> +<invalid> +<eg:foo xmlns:eg="http://www.example.com" eg:bar="x"/> +</invalid> +<valid> +<eg:foo xmlns:eg="http://www.example.com" bar="x"/> +</valid> +</testCase> +</testSuite> +<testSuite> +<section>4.9</section> +<testCase> +<section>4.9</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" ns="http://www.example.com" name="foo"> + <attribute> + <name>bar</name> + </attribute> +</element> +</correct> +<valid> +<eg:foo xmlns:eg="http://www.example.com" eg:bar="x"/> +</valid> +<invalid> +<eg:foo xmlns:eg="http://www.example.com" bar="x"/> +</invalid> +</testCase> +<testCase> +<section>4.6</section> +<section>4.9</section> +<resource name="x"> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <empty/> +</element> +</resource> +<correct> +<group ns="http://www.example.com" xmlns="http://relaxng.org/ns/structure/1.0" > +<externalRef href="x"/> +</group> +</correct> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<correct> +<group xmlns="http://relaxng.org/ns/structure/1.0"> + <element ns="http://www.example.com"> + <name>foo</name> + <empty/> + </element> +</group> +</correct> +<valid><foo xmlns="http://www.example.com"/></valid> +<invalid><foo/></invalid> +</testCase> +<testCase> +<correct> +<element ns="http://www.example.com" xmlns="http://relaxng.org/ns/structure/1.0"> + <name>foo</name> + <empty/> +</element> +</correct> +<valid><foo xmlns="http://www.example.com"/></valid> +<invalid><foo/></invalid> +</testCase> +<testCase> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute ns="http://www.example.com"> + <name>bar</name> + <text/> + </attribute> +</element> +</correct> +<valid><foo xmlns:x="http://www.example.com" x:bar="whatever"/></valid> +<invalid><foo bar="whatever"/></invalid> +</testCase> +</testSuite> +<testSuite> +<section>4.10</section> +<testCase> +<section>4.10</section> +<incorrect> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo:bar"> + <empty/> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.10</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="eg:foo" xmlns:eg="http://www.example.com"> + <empty/> +</element> +</correct> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +<invalid> +<foo xmlns="http://www.example.com/"/> +</invalid> +</testCase> +<testCase> +<section>4.10</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo" xmlns:eg="http://www.example.com"> + <attribute name="eg:bar"/> +</element> +</correct> +<valid> +<foo xmlns:ex="http://www.example.com" ex:bar="x"/> +</valid> +<invalid> +<foo xmlns:ex="http://www.example.com/" ex:bar="x"/> +</invalid> +</testCase> +<testCase> +<section>4.10</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <attribute name="xml:lang"/> +</element> +</correct> +<valid> +<foo xml:lang="en"/> +</valid> +<invalid> +<foo lang="en"/> +</invalid> +</testCase> +</testSuite> +<testSuite> +<section>4.11</section> +<testCase> +<section>4.11</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <div ns="http://www.example.com"> + <div> + <start> + <ref name="foo"/> + </start> + </div> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> + </div> + <div/> +</grammar> +</correct> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +</testSuite> +<testSuite> +<testCase> +<section>4.12</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + +<start> + <element name="foo"> + <ref name="bars"/> + </element> +</start> + +<define name="bars"> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> +</define> + +</grammar> +</correct> +<valid> +<foo><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo><bar/><bar/><bar/><bar/><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo></foo> +</invalid> +<invalid> +<foo>X</foo> +</invalid> +<invalid> +<foo><bar/>X<bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/><bar/><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </oneOrMore> +</element> +</correct> +<valid> +<foo><bar/><bar/><bar/></foo> +</valid> +<valid> +<foo><bar/><bar/><bar/><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo></foo> +</invalid> +<invalid> +<foo>X</foo> +</invalid> +<invalid> +<foo><bar/>X<bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/><bar/><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<section>4.15</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <zeroOrMore> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </zeroOrMore> +</element> +</correct> +<valid> +<foo><bar/><bar/><bar/></foo> +</valid> +<valid> +<foo><bar/><bar/><bar/><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<valid> +<foo></foo> +</valid> +<invalid> +<foo>X</foo> +</invalid> +<invalid> +<foo><bar/>X<bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/><bar/><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<section>4.14</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <optional> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </optional> +</element> +</correct> +<valid> +<foo><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo><bar/><bar/><bar/><bar/><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<valid> +<foo></foo> +</valid> +<invalid> +<foo>X</foo> +</invalid> +<invalid> +<foo><bar/>X<bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/><bar/><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list> + <value>x</value> + <value>y</value> + <value>z</value> + </list> +</element> +</correct> +<valid> +<foo>x y z</foo> +</valid> +<invalid> +<foo>x</foo> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<section>4.13</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <mixed> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </mixed> +</element> +</correct> +<valid> +<foo><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo><bar/><bar/><bar/><bar/><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo></foo> +</invalid> +<valid> +<foo><bar/>X<bar/><bar/></foo> +</valid> +<invalid> +<foo>X</foo> +</invalid> +<invalid> +<foo><bar/><bar/><bar/><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <name>foo</name> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> +</element> +</correct> +<valid> +<foo><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo><bar/><bar/><bar/><bar/><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo></foo> +</invalid> +<invalid> +<foo>X</foo> +</invalid> +<invalid> +<foo><bar/>X<bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/><bar/><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <anyName> + <except> + <name>foo</name> + <name>bar</name> + <name>baz</name> + </except> + </anyName> + <empty/> +</element> +</correct> +<valid><xyzzy/></valid> +<invalid><foo/></invalid> +<invalid><bar/></invalid> +<invalid><baz/></invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="token"> + <except> + <value>x</value> + <value>y</value> + <value>z</value> + </except> + </data> +</element> +</correct> +<valid><foo/></valid> +<valid><foo>xyz</foo></valid> +<invalid><foo>x</foo></invalid> +<invalid><foo>y</foo></invalid> +<invalid><foo>y</foo></invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> +</element> +</correct> +<valid> +<foo bar=""/> +</valid> +<valid> +<foo bar="x"/> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <name>bar</name> + </attribute> +</element> +</correct> +<valid> +<foo bar=""/> +</valid> +<valid> +<foo bar="x"/> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </group> +</element> +</correct> +<valid> +<foo><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo><bar/><bar/><bar/><bar/><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo></foo> +</invalid> +<invalid> +<foo>X</foo> +</invalid> +<invalid> +<foo><bar/>X<bar/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><bar/><bar/><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <element name="bar1"> + <empty/> + </element> + <element name="bar2"> + <empty/> + </element> + <element name="bar3"> + <empty/> + </element> + </choice> +</element> +</correct> +<valid><foo><bar1/></foo></valid> +<valid><foo><bar2/></foo></valid> +<valid><foo><bar3/></foo></valid> +<invalid><foo/></invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar1"> + <empty/> + </element> + <element name="bar2"> + <empty/> + </element> + <element name="bar3"> + <empty/> + </element> + </interleave> +</element> +</correct> +<valid><foo><bar1/><bar2/><bar3/></foo></valid> +<valid><foo><bar1/><bar3/><bar2/></foo></valid> +<valid><foo><bar2/><bar1/><bar3/></foo></valid> +<valid><foo><bar2/><bar3/><bar1/></foo></valid> +<valid><foo><bar3/><bar1/><bar2/></foo></valid> +<valid><foo><bar3/><bar2/><bar1/></foo></valid> +<invalid><foo><bar2/><bar1/></foo></invalid> +<invalid><foo><bar1/><bar3/><bar2/><bar1/></foo></invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <element name="bar"> + <empty/> + </element> + </group> +</element> +</correct> +<valid><foo><bar/></foo></valid> +<invalid><foo/></invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + </interleave> +</element> +</correct> +<valid><foo><bar/></foo></valid> +<invalid><foo/></invalid> +</testCase> +<testCase> +<section>4.12</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <element name="bar"> + <empty/> + </element> + </choice> +</element> +</correct> +<valid><foo><bar/></foo></valid> +<invalid><foo/></invalid> +</testCase> +</testSuite> +<testSuite> +<section>4.13</section> +<testCase> +<section>4.13</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <mixed> + <element name="bar"> + <empty/> + </element> + </mixed> +</element> +</correct> +<valid><foo>x<bar/></foo></valid> +<valid><foo><bar/></foo></valid> +<valid><foo><bar/>x</foo></valid> +<valid><foo>x<bar/>y</foo></valid> +<invalid><foo/></invalid> +<invalid><foo><bar/><bar/></foo></invalid> +</testCase> +</testSuite> +<testSuite> +<section>4.14</section> +<testCase> +<section>4.14</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <optional> + <element name="bar"> + <empty/> + </element> + </optional> +</element> +</correct> +<valid><foo><bar/></foo></valid> +<valid><foo/></valid> +<invalid><foo>x<bar/></foo></invalid> +<invalid><foo><bar/><bar/></foo></invalid> +</testCase> +</testSuite> +<testSuite> +<section>4.15</section> +<testCase> +<section>4.15</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <zeroOrMore> + <element name="bar"> + <empty/> + </element> + </zeroOrMore> +</element> +</correct> +<valid><foo><bar/></foo></valid> +<valid><foo/></valid> +<invalid><foo>x<bar/></foo></invalid> +<invalid><foo><baz/></foo></invalid> +<valid><foo><bar/><bar/></foo></valid> +</testCase> +</testSuite> +<testSuite> +<section>4.16</section> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element> + <anyName> + <except> + <anyName/> + </except> + </anyName> + <empty/> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element> + <anyName> + <except> + <choice> + <anyName/> + <name>foo</name> + </choice> + </except> + </anyName> + <empty/> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element> + <nsName ns=""> + <except> + <nsName ns=""/> + </except> + </nsName> + <empty/> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element> + <nsName ns=""> + <except> + <choice> + <nsName ns=""/> + <name>foo</name> + </choice> + </except> + </nsName> + <empty/> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element> + <nsName ns=""> + <except> + <anyName/> + </except> + </nsName> + <empty/> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element> + <nsName ns=""> + <except> + <choice> + <anyName/> + <name>foo</name> + </choice> + </except> + </nsName> + <empty/> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<documentation>Tests that 4.16 is before 4.20.</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <zeroOrMore> + <attribute> + <anyName> + <except> + <anyName/> + </except> + </anyName> + <text/> + </attribute> + <notAllowed/> + </zeroOrMore> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<documentation>Tests that 4.16 is before removal of unreachable definitions.</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <empty/> + </element> +</start> +<define name="bar"> + <element> + <anyName> + <except> + <anyName/> + </except> + </anyName> + <empty/> + </element> +</define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="xmlns"> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<correct> +<element name="xmlns" xmlns="http://relaxng.org/ns/structure/1.0"> + <empty/> +</element> +</correct> +<valid><xmlns/></valid> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name=" xmlns"> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <optional> + <notAllowed/> + <attribute name="xmlns"> + <text/> + </attribute> + </optional> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> + <define name="foo"> + <attribute name="xmlns"> + <text/> + </attribute> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="xmlns" ns=""> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <choice> + <name ns="">xmlns</name> + <name>foo</name> + </choice> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <name ns="">xmlns</name> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <name>xmlns</name> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <name> + xmlns + </name> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <choice> + <name>foo</name> + <name ns="">xmlns</name> + </choice> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <anyName> + <except> + <name>xmlns</name> + </except> + </anyName> + <text/> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <nsName ns=""> + <except> + <name>xmlns</name> + </except> + </nsName> + <text/> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute ns="http://www.w3.org/2000/xmlns" name="bar"> + <text/> + </attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://www.w3.org/2000/xmlns"> + <empty/> +</element> +</correct> +<valid><foo xmlns="http://www.w3.org/2000/xmlns"/></valid> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="token"> + <param name="minLength">2</param> + </data> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="tok"/> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="tok"/> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <optional> + <notAllowed/> + <data type="token"> + <param name="minLength">2</param> + </data> + </optional> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <optional> + <notAllowed/> + <data type="tok"/> + </optional> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <optional> + <notAllowed/> + <value type="tok"/> + </optional> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <empty/> + </element> +</start> +<define name="foo"> + <data type="token"> + <param name="minLength">2</param> + </data> +</define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <empty/> + </element> +</start> +<define name="foo"> + <data type="tok"/> +</define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.16</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <empty/> + </element> +</start> +<define name="foo"> + <value type="tok"/> +</define> +</grammar> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<section>4.17</section> +<testCase> +<section>4.17</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <ref name="x"/> +</start> +<define name="x"> + <element name="foo1"> + <empty/> + </element> +</define> +<define name="x" combine="choice"> + <element name="foo2"> + <empty/> + </element> +</define> +<define name="x"> + <element name="foo3"> + <empty/> + </element> +</define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.17</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start name="x"> + <element name="foo1"> + <empty/> + </element> +</start> +<start name="x" combine="choice"> + <element name="foo2"> + <empty/> + </element> +</start> +<start name="x"> + <element name="foo3"> + <empty/> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.17</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <ref name="x"/> +</start> +<define name="x"> + <element name="foo1"> + <empty/> + </element> +</define> +<define name="x"> + <element name="foo2"> + <empty/> + </element> +</define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.17</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start name="x"> + <element name="foo1"> + <empty/> + </element> +</start> +<start name="x"> + <element name="foo2"> + <empty/> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.17</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <ref name="x"/> +</start> +<define name="x" combine="choice"> + <element name="foo1"> + <empty/> + </element> +</define> +<define name="x" combine="choice"> + <element name="foo2"> + <empty/> + </element> +</define> +<define name="x"> + <element name="foo3"> + <empty/> + </element> +</define> +</grammar> +</correct> +<valid> +<foo1/> +</valid> +<valid> +<foo2/> +</valid> +<valid> +<foo3/> +</valid> +<invalid> +<foo4/> +</invalid> +</testCase> +<testCase> +<section>4.17</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start combine="choice"> + <element name="foo1"> + <empty/> + </element> +</start> +<start combine="choice"> + <element name="foo2"> + <empty/> + </element> +</start> +<start> + <element name="foo3"> + <empty/> + </element> +</start> +</grammar> +</correct> +<valid> +<foo1/> +</valid> +<valid> +<foo2/> +</valid> +<valid> +<foo3/> +</valid> +<invalid> +<foo4/> +</invalid> +</testCase> +<testCase> +<section>4.17</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <ref name="x"/> + </element> +</start> +<define name="x" combine="choice"> + <element name="bar1"> + <empty/> + </element> +</define> +<define name="x"> + <element name="bar2"> + <empty/> + </element> +</define> +<define name="x" combine="interleave"> + <element name="bar3"> + <empty/> + </element> +</define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.17</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> +<grammar> +<start name="x" combine="choice"> + <element name="bar1"> + <empty/> + </element> +</start> +<start name="x"> + <element name="bar2"> + <empty/> + </element> +</start> +<start name="x" combine="interleave"> + <element name="bar3"> + <empty/> + </element> +</start> +</grammar> +</element> +</incorrect> +</testCase> +<testCase> +<section>4.17</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <ref name="x"/> + </element> +</start> +<define name="x" combine="interleave"> + <element name="bar1"> + <empty/> + </element> +</define> +<define name="x" combine="interleave"> + <element name="bar2"> + <empty/> + </element> +</define> +<define name="x"> + <element name="bar3"> + <empty/> + </element> +</define> +</grammar> +</correct> +<valid> +<foo><bar1/><bar2/><bar3/></foo> +</valid> +<valid> +<foo><bar1/><bar3/><bar2/></foo> +</valid> +<valid> +<foo><bar2/><bar3/><bar1/></foo> +</valid> +<invalid> +<foo><bar2/><bar3/><bar1/><bar2/></foo> +</invalid> +</testCase> +<testCase> +<section>4.17</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> +<grammar> +<start combine="interleave"> + <element name="bar1"> + <empty/> + </element> +</start> +<start> + <element name="bar2"> + <empty/> + </element> +</start> +<start combine="interleave"> + <element name="bar3"> + <empty/> + </element> +</start> +</grammar> +</element> +</correct> +<valid> +<foo><bar1/><bar2/><bar3/></foo> +</valid> +<valid> +<foo><bar1/><bar3/><bar2/></foo> +</valid> +<valid> +<foo><bar2/><bar3/><bar1/></foo> +</valid> +<invalid> +<foo><bar2/><bar3/><bar1/><bar2/></foo> +</invalid> +</testCase> +<testCase> +<section>4.17</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <ref name="x"/> + </element> +</start> +<define name="x"> + <element name="bar1"> + <empty/> + </element> +</define> +<define name="x" combine="interleave"> + <element name="bar2"> + <empty/> + </element> +</define> +<define name="x"> + <element name="bar3"> + <empty/> + </element> +</define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.17</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> +<grammar> +<start name="x"> + <element name="bar1"> + <empty/> + </element> +</start> +<start name="x" combine="interleave"> + <element name="bar2"> + <empty/> + </element> +</start> +<start name="x"> + <element name="bar3"> + <empty/> + </element> +</start> +</grammar> +</element> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<section>4.18</section> +<testCase> +<section>4.18</section> +<documentation>grammar must have a start</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<documentation>4.17 is before 4.18</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> + <define name="bar"> + <grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> + </grammar> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<documentation>4.17 is before 4.19</documentation> +<incorrect> +<choice xmlns="http://relaxng.org/ns/structure/1.0"> + <element name="foo"> + <empty/> + </element> + <group> + <notAllowed/> + <grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> + </grammar> + </group> +</choice> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<documentation>every ref must have a def</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"/> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<documentation>4.17 is before 4.18</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> + <define name="foo"> + <ref name="bar"/> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<documentation>4.17 is before 4.19</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <choice> + <element name="foo"> + <empty/> + </element> + <group> + <notAllowed/> + <ref name="foo"/> + </group> + </choice> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<documentation>every parentRef must have a def</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <parentRef name="foo"/> + </start> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> + </grammar> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<documentation>4.17 is before 4.18</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> + <define name="bar"> + <grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <parentRef name="foo"/> + </start> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> + </grammar> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<documentation>4.17 is before 4.19</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <choice> + <element name="foo"> + <empty/> + </element> + <group> + <notAllowed/> + <grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <parentRef name="foo"/> + </start> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> + </grammar> + </group> + </choice> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"/> + </start> + <define name="foo"> + <choice> + <element name="foo"> + <empty/> + </element> + <grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <parentRef name="foo"/> + </start> + </grammar> + </choice> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.18</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"/> + </start> + <define name="foo"> + <grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"/> + </start> + <define name="foo"> + <element name="foo"> + <empty/> + </element> + </define> + </grammar> + </define> +</grammar> +</correct> +<valid><foo/></valid> +</testCase> +<testCase> +<section>4.18</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <grammar> + <start> + <ref name="foo"/> + </start> + <define name="foo"> + <element name="innerFoo"> + <parentRef name="foo"/> + </element> + </define> + </grammar> + </start> + <define name="foo"> + <element name="outerFoo"> + <empty/> + </element> + </define> +</grammar> +</correct> +<valid><innerFoo><outerFoo/></innerFoo></valid> +<invalid><outerFoo/></invalid> +</testCase> +<testCase> +<section>4.18</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <ref name="foo"/> + </start> + <define name="foo"> + <element name="outerFoo"> + <grammar> + <start> + <ref name="foo"/> + </start> + <define name="foo"> + <element name="innerFoo"> + <empty/> + </element> + </define> + </grammar> + </element> + </define> +</grammar> +</correct> +<valid><outerFoo><innerFoo/></outerFoo></valid> +<invalid><innerFoo/></invalid> +</testCase> +</testSuite> +<testSuite> +<section>4.19</section> +<testCase> +<section>4.19</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <ref name="bar"/> + </element> + </start> + <define name="bar"> + <optional> + <element name="bar"> + <empty/> + </element> + <ref name="bar"/> + </optional> + </define> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>4.19</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <ref name="bar"/> + </element> + </start> + <define name="bar"> + <element name="bar"> + <optional> + <ref name="bar"/> + </optional> + </element> + </define> +</grammar> +</correct> +<valid> +<foo><bar/></foo> +</valid> +<valid> +<foo><bar><bar/></bar></foo> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>4.19</section> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <empty/> + </element> + </start> + <define name="bar"> + <ref name="bar"/> + </define> +</grammar> +</correct> +<valid><foo/></valid> +</testCase> +<testCase> +<section>4.19</section> +<section>4.20</section> +<documentation>Tests that recursion detection happens before +normalization of notAllowed.</documentation> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <choice> + <element name="foo"> + <empty/> + </element> + <group> + <notAllowed/> + <ref name="bar"/> + </group> + </choice> + </start> + <define name="bar"> + <element name="bar"> + <empty/> + </element> + <optional> + <ref name="bar"/> + </optional> + </define> +</grammar> +</incorrect> +</testCase> +</testSuite> +</testSuite> +<testSuite> +<section>6</section> +<testSuite> +<section>6.1</section> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <anyName/> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <anyName> + <except> + <name ns="">foo</name> + </except> + </anyName> + <empty/> +</element> +</correct> +<invalid> +<foo/> +</invalid> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +<valid> +<bar/> +</valid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <anyName> + <except> + <nsName ns=""/> + </except> + </anyName> + <empty/> +</element> +</correct> +<invalid> +<foo/> +</invalid> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <nsName ns=""/> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +<invalid> +<foo xmlns="http://www.example.com"/> +</invalid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <nsName ns="http://www.example.com"/> + <empty/> +</element> +</correct> +<invalid> +<foo/> +</invalid> +<invalid> +<foo xmlns="HTTP://www.example.com"/> +</invalid> +<invalid> +<foo xmlns="http://www.example.com/"/> +</invalid> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <nsName ns="http://www.example.com"> + <except> + <name ns="http://www.example.com">foo</name> + </except> + </nsName> + <empty/> +</element> +</correct> +<invalid> +<foo/> +</invalid> +<invalid> +<foo xmlns="http://www.example.com"/> +</invalid> +<valid> +<bar xmlns="http://www.example.com"/> +</valid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <nsName ns="http://www.example.com"> + <except> + <name ns="">foo</name> + </except> + </nsName> + <empty/> +</element> +</correct> +<invalid> +<bar/> +</invalid> +<invalid> +<foo/> +</invalid> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +<valid> +<bar xmlns="http://www.example.com"/> +</valid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <name ns="http://www.example.com">foo</name> + <empty/> +</element> +</correct> +<valid> +<foo xmlns="http://www.example.com"/> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<bar xmlns="http://www.example.com"/> +</invalid> +<invalid> +<foo xmlns="http://www.example.org"/> +</invalid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <name ns="">foo</name> + <empty/> +</element> +</correct> +<invalid> +<foo xmlns="http://www.example.com"/> +</invalid> +<valid> +<foo/> +</valid> +<invalid> +<bar xmlns="http://www.example.com"/> +</invalid> +<invalid> +<bar/> +</invalid> +</testCase> +<testCase> +<section>6.1</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <name ns="">foo</name> + <name ns="">bar</name> + </choice> + <empty/> +</element> +</correct> +<invalid> +<baz/> +</invalid> +<valid> +<foo/> +</valid> +<valid> +<bar/> +</valid> +</testCase> +</testSuite> +<testSuite> +<section>6.2</section> +<testSuite> +<section>6.2.1</section> +<testCase> +<section>6.2.1</section> +<correct> +<choice xmlns="http://relaxng.org/ns/structure/1.0"> + <element name="foo"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> +</choice> +</correct> +<valid> +<foo/> +</valid> +<valid> +<bar/> +</valid> +<invalid> +<baz/> +</invalid> +</testCase> +<testCase> +<section>6.2.1</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <group> + <element name="bar1"> + <empty/> + </element> + <element name="bar2"> + <empty/> + </element> + </group> + <group> + <element name="bar1"> + <empty/> + </element> + <element name="bar3"> + <empty/> + </element> + </group> + </choice> +</element> +</correct> +<valid> +<foo><bar1/><bar2/></foo> +</valid> +<valid> +<foo><bar1/><bar3/></foo> +</valid> +<invalid> +<foo><bar1/></foo> +</invalid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo><bar2/></foo> +</invalid> +<invalid> +<foo><bar3/></foo> +</invalid> +<invalid> +<foo><bar1/><bar2/><bar3/></foo> +</invalid> +</testCase> +<testCase> +<section>6.2.1</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <group> + <attribute name="bar1"> + <text/> + </attribute> + <attribute name="bar2"> + <text/> + </attribute> + </group> + <group> + <attribute name="bar1"> + <text/> + </attribute> + <attribute name="bar3"> + <text/> + </attribute> + </group> + </choice> +</element> +</correct> +<valid> +<foo bar1="x" bar2="x"/> +</valid> +<valid> +<foo bar1="x" bar3="x"/> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo bar1="x"/> +</invalid> +<invalid> +<foo bar2="x"/> +</invalid> +<invalid> +<foo bar3="x"/> +</invalid> +<invalid> +<foo bar1="x" bar2="x" bar3="x"/> +</invalid> +</testCase> +<testCase> +<section>6.2.1</section> +<correct> +<choice xmlns="http://relaxng.org/ns/structure/1.0"> + <element name="foo"> + <element name="bar"> + <empty/> + </element> + </element> + <element name="foo"> + <element name="baz"> + <empty/> + </element> + </element> +</choice> +</correct> +<valid> +<foo><bar/></foo> +</valid> +<valid> +<foo><baz/></foo> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo><foo/></foo> +</invalid> +<invalid> +<bar/> +</invalid> +<invalid> +<fobaz/> +</invalid> +</testCase> +</testSuite> +<testSuite> +<section>6.2.2</section> +<testCase> +<section>6.2.2</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <element name="bar"> + <empty/> + </element> + <element name="baz"> + <empty/> + </element> + </group> +</element> +</correct> +<valid> +<foo><bar/><baz/></foo> +</valid> +<invalid> +<foo><baz/><bar/></foo> +</invalid> +<invalid> +<foo><bar/><baz/><bar/><baz/></foo> +</invalid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo><baz/></foo> +</invalid> +</testCase> +<testCase> +<section>6.2.2</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <attribute name="bar"> + <text/> + </attribute> + <attribute name="baz"> + <text/> + </attribute> + </group> +</element> +</correct> +<valid> +<foo bar="x" baz="x"/> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>6.2.2</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <attribute name="bar"> + <text/> + </attribute> + <attribute name="baz"> + <text/> + </attribute> + </group> +</element> +</correct> +<valid> +<foo bar="x" baz="x"/> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo bar="x"/> +</invalid> +<invalid> +<foo baz="x"/> +</invalid> +</testCase> +<testCase> +<section>6.2.2</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <attribute name="baz"> + <text/> + </attribute> + <attribute name="bar"> + <text/> + </attribute> + </group> +</element> +</correct> +<valid> +<foo bar="x" baz="x"/> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo bar="x"/> +</invalid> +<invalid> +<foo baz="x"/> +</invalid> +</testCase> +<testCase> +<section>6.2.2</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <attribute name="bar"> + <text/> + </attribute> + <element name="baz"> + <empty/> + </element> + </group> +</element> +</correct> +<valid> +<foo bar="x"><baz/></foo> +</valid> +<invalid> +<foo><baz/></foo> +</invalid> +<invalid> +<foo bar="x"/> +</invalid> +<invalid> +<foo baz="x"><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>6.2.2</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <element name="baz"> + <empty/> + </element> + <attribute name="bar"> + <text/> + </attribute> + </group> +</element> +</correct> +<valid> +<foo bar="x"><baz/></foo> +</valid> +<invalid> +<foo><baz/></foo> +</invalid> +<invalid> +<foo bar="x"/> +</invalid> +<invalid> +<foo baz="x"><bar/></foo> +</invalid> +</testCase> +</testSuite> +<testSuite> +<section>6.2.3</section> +<testCase> +<section>6.2.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <empty/> +</element> +</correct> +<valid> +<foo/> +</valid> +<valid> +<foo> </foo> +</valid> +<valid> +<foo> + + +</foo> +</valid> +<valid> +<foo> +<?target data?> +<?target data?> +<?target data?> +<?target data?> +</foo> +</valid> +<invalid> +<foo>x</foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo bar="x"/> +</invalid> +</testCase> +<testCase> +<section>6.2.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"> + <empty/> + </attribute> +</element> +</correct> +<valid><foo bar=""/></valid> +<valid><foo bar=" "/></valid> +<invalid><foo bar="x"/></invalid> +</testCase> +<testCase> +<section>6.2.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list> + <empty/> + </list> +</element> +</correct> +<valid><foo/></valid> +<valid><foo> </foo></valid> +<invalid><foo>x</foo></invalid> +<invalid><foo><bar/></foo></invalid> +<invalid><foo bar=""/></invalid> +</testCase> +<testCase> +<section>6.2.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"> + <list> + <empty/> + </list> + </attribute> +</element> +</correct> +<valid><foo bar=""/></valid> +<valid><foo bar=" "/></valid> +<invalid><foo bar="x"/></invalid> +</testCase> +<testCase> +<section>6.2.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <element name="bar"> + <empty/> + </element> + <choice> + <empty/> + <element name="baz"> + <empty/> + </element> + </choice> + </group> +</element> +</correct> +<valid> +<foo><bar/><baz/></foo> +</valid> +<valid> +<foo><bar/></foo> +</valid> +<invalid> +<foo></foo> +</invalid> +<invalid> +<foo><bar/><baz/><baz/></foo> +</invalid> +</testCase> +<testCase> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <empty/> + <attribute name="bar"> + <text/> + </attribute> + </choice> +</element> +</correct> +<valid> +<foo bar="x"/> +</valid> +<valid> +<foo/> +</valid> +<invalid> +<foo baz="x"/> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +</testCase> +</testSuite> +<testSuite> +<section>6.2.4</section> +<testCase> +<section>6.2.4</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <text/> +</element> +</correct> +<valid> +<foo/> +</valid> +<valid> +<foo> </foo> +</valid> +<valid> +<foo>x</foo> +</valid> +<valid> +<foo> +x +<?target data?> +y +</foo> +</valid> +<invalid> +<foo><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>6.2.4</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <text/> + <element name="bar"> + <empty/> + </element> + </group> +</element> +</correct> +<valid> +<foo><bar/></foo> +</valid> +<valid> +<foo> +<bar/> +</foo> +</valid> +<valid> +<foo> +x +<bar/> +</foo> +</valid> +<valid> +<foo> +x +<?target data?> +y +<bar/></foo> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo><bar/>x</foo> +</invalid> +</testCase> +<testCase> +<section>6.2.4</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <group> + <element name="bar"> + <empty/> + </element> + <text/> + </group> +</element> +</correct> +<valid> +<foo><bar/></foo> +</valid> +<valid> +<foo> +<bar/> +</foo> +</valid> +<invalid> +<foo> +x +<bar/> +</foo> +</invalid> +<valid> +<foo> +<bar/> +x +<?target data?> +y +</foo> +</valid> +<invalid> +<foo/> +</invalid> +<valid> +<foo><bar/>x</foo> +</valid> +</testCase> +<testCase> +<section>6.2.4</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <text/> + </interleave> +</element> +</correct> +<valid> +<foo><bar/></foo> +</valid> +<valid> +<foo> +<bar/> +</foo> +</valid> +<valid> +<foo> +x +<bar/> +</foo> +</valid> +<valid> +<foo> +<bar/> +x +<?target data?> +y +</foo> +</valid> +<invalid> +<foo/> +</invalid> +<valid> +<foo><bar/>x</foo> +</valid> +<valid> +<foo>x<bar/>x</foo> +</valid> +<invalid> +<foo>x<bar/>x<bar/></foo> +</invalid> +</testCase> +<testCase> +<section>6.2.4</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"> + <text/> + </attribute> +</element> +</correct> +<valid> +<foo bar=""/> +</valid> +<valid> +<foo bar="x"/> +</valid> +<valid> +<foo bar=" "/> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo><bar/>x<bar/></foo> +</invalid> +</testCase> +</testSuite> +<testSuite> +<section>6.2.5</section> +<testCase> +<section>6.2.5</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <element name="bar"> + <empty/> + </element> + </oneOrMore> +</element> +</correct> +<valid> +<foo><bar/></foo> +</valid> +<valid> +<foo><bar/><bar/></foo> +</valid> +<valid> +<foo><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>6.2.5</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <group> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </group> + </oneOrMore> +</element> +</correct> +<valid> +<foo><bar/><bar/></foo> +</valid> +<valid> +<foo><bar/><bar/><bar/><bar/></foo> +</valid> +<valid> +<foo><bar/><bar/><bar/><bar/><bar/><bar/></foo> +</valid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo><bar/><bar/><bar/></foo> +</invalid> +</testCase> +<testCase> +<section>6.2.5</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <nsName ns=""/> + <text/> + </attribute> + </oneOrMore> +</element> +</correct> +<valid> +<foo x=""/> +</valid> +<valid> +<foo x="" y=""/> +</valid> +<valid> +<foo x="" y="" z=""/> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo xmlns:ns="http://www.example.com" ns:x=""/> +</invalid> +<invalid> +<foo x="" xmlns:ns="http://www.example.com" ns:x=""/> +</invalid> +</testCase> +<testCase> +<section>6.2.5</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <choice> + <attribute name="bar"> + <text/> + </attribute> + <element name="bar"> + <text/> + </element> + </choice> + </oneOrMore> +</element> +</correct> +<valid> +<foo bar=""><bar/><bar/></foo> +</valid> +<valid> +<foo><bar/></foo> +</valid> +<valid> +<foo bar=""/> +</valid> +<invalid> +<foo/> +</invalid> +</testCase> +</testSuite> +<testSuite> +<section>6.2.6</section> +<testCase> +<section>6.2.6</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <element name="baz"> + <empty/> + </element> + </interleave> +</element> +</correct> +<valid> +<foo><bar/><baz/></foo> +</valid> +<valid> +<foo><baz/><bar/></foo> +</valid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo><baz/></foo> +</invalid> +<invalid> +<foo><bar/><bar/></foo> +</invalid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>6.2.6</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <group> + <element name="bar1"> + <empty/> + </element> + <element name="bar2"> + <empty/> + </element> + </group> + <element name="baz"> + <empty/> + </element> + </interleave> +</element> +</correct> +<valid> +<foo><baz/><bar1/><bar2/></foo> +</valid> +<valid> +<foo><bar1/><baz/><bar2/></foo> +</valid> +<valid> +<foo><bar1/><bar2/><baz/></foo> +</valid> +<invalid> +<foo><baz/><bar2/><bar1/></foo> +</invalid> +<invalid> +<foo><bar2/><bar1/></foo> +</invalid> +<invalid> +<foo><baz/><bar2/><bar1/></foo> +</invalid> +<invalid> +<foo><baz/><bar1/></foo> +</invalid> +<invalid> +<foo><baz/><bar2/></foo> +</invalid> +</testCase> +<testCase> +<section>6.2.6</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <attribute name="bar"> + <text/> + </attribute> + <attribute name="baz"> + <text/> + </attribute> + </interleave> +</element> +</correct> +<valid> +<foo bar="" baz=""/> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo bar=""/> +</invalid> +<invalid> +<foo baz=""/> +</invalid> +</testCase> +<testCase> +<section>6.2.6</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <attribute name="baz"> + <text/> + </attribute> + </interleave> +</element> +</correct> +<valid> +<foo baz=""><bar/></foo> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo bar=""/> +</invalid> +<invalid> +<foo bar=""><baz/><baz/></foo> +</invalid> +<invalid> +<foo><baz/><baz/></foo> +</invalid> +</testCase> +</testSuite> +<testSuite> +<section>6.2.7</section> +<testCase> +<section>6.2.7</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <name ns="">bar</name> + <value type="string" datatypeLibrary="">baz</value> + </attribute> +</element> +</correct> +<valid> +<foo bar="baz"/> +</valid> +<invalid> +<foo bar=" baz"/> +</invalid> +<invalid> +<foo bar="b"/> +</invalid> +<invalid> +<foo bar=""/> +</invalid> +<invalid> +<foo bar=" "/> +</invalid> +<invalid> +<foo><bar>baz</bar></foo> +</invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <name ns="">bar</name> + <choice> + <value type="string" datatypeLibrary="">baz</value> + <empty/> + </choice> + </attribute> +</element> +</correct> +<valid> +<foo bar="baz"/> +</valid> +<valid> +<foo bar=""/> +</valid> +<invalid> +<foo bar=" baz"/> +</invalid> +<invalid> +<foo bar="b"/> +</invalid> +<invalid> +<foo><bar>baz</bar></foo> +</invalid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo/> +</invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute> + <name ns="">bar</name> + <value type="string"/> + </attribute> +</element> +</correct> +<valid> +<foo bar=""/> +</valid> +<invalid> +<foo bar=" "/> +</invalid> +<invalid> +<foo bar="x"/> +</invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0"> + <name ns="">foo</name> + <group> + <element> + <name ns="">bar</name> + <empty/> + </element> + <element> + <name ns="">baz</name> + <empty/> + </element> + </group> +</element> +</correct> +<valid> +<foo><bar/><baz/></foo> +</valid> +<valid> +<foo> +<bar/> +<baz/> +</foo> +</valid> +<valid> +<foo> +<bar/> +&#xD; +<baz/> +</foo> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<bar><bar/><baz/></bar> +</invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<section>6.2.8</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="string"/> +</element> +</correct> +<valid><foo/></valid> +<invalid><foo> </foo></invalid> +<invalid><foo>x</foo></invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<section>6.2.8</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <value type="string"/> + <empty/> + </choice> +</element> +</correct> +<valid><foo/></valid> +<valid><foo> </foo></valid> +<invalid><foo>x</foo></invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<section>6.2.8</section> +<section>6.2.10</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list> + <data type="token"/> + </list> +</element> +</correct> +<invalid><foo/></invalid> +<invalid><foo> </foo></invalid> +<valid><foo>x</foo></valid> +<valid><foo> x </foo></valid> +<invalid><foo>x y</foo></invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<section>6.2.8</section> +<requires datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"/> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="string" + datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> + <param name="minLength">2</param> + </data> +</element> +</correct> +<valid><foo>xx</foo></valid> +<valid><foo>xxx</foo></valid> +<valid><foo> </foo></valid> +<valid><foo> </foo></valid> +<invalid><foo>x</foo></invalid> +<invalid><foo> </foo></invalid> +<invalid><foo/></invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<section>6.2.8</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <value>x</value> + <element name="bar"> + <empty/> + </element> + </choice> +</element> +</correct> +<valid><foo> x </foo></valid> +<valid><foo>x</foo></valid> +<invalid><foo>y</foo></invalid> +<valid><foo><bar/></foo></valid> +<valid> +<foo> +<bar/> +</foo> +</valid> +<invalid><foo>x<bar/></foo></invalid> +<invalid><foo/></invalid> +<invalid><foo><bar/>x</foo></invalid> +</testCase> +<testCase> +<section>6.2.7</section> +<section>6.2.8</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <value>x</value> + <mixed> + <element name="bar"> + <empty/> + </element> + </mixed> + </choice> +</element> +</correct> +<valid><foo> x </foo></valid> +<valid><foo>x</foo></valid> +<invalid><foo>y</foo></invalid> +<valid><foo><bar/></foo></valid> +<valid> +<foo> +<bar/> +</foo> +</valid> +<valid><foo>x<bar/></foo></valid> +<invalid><foo/></invalid> +<valid><foo><bar/>x</foo></valid> +</testCase> +</testSuite> +<testSuite> +<section>6.2.8</section> +<testCase> +<section>6.2.8</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="string"> + <except> + <choice> + <value>x</value> + <value>y</value> + </choice> + </except> + </data> +</element> +</correct> +<valid> +<foo>xyzzy</foo> +</valid> +<invalid> +<foo>x</foo> +</invalid> +<invalid> +<foo>y</foo> +</invalid> +<invalid> +<foo> x</foo> +</invalid> +</testCase> +<testCase> +<section>6.2.8</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="string"/> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>6.2.8</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value/> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>6.2.8</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="string"> + <except> + <value/> + </except> + </data> +</element> +</correct> +<invalid> +<foo/> +</invalid> +<valid> +<foo>x</foo> +</valid> +</testCase> +</testSuite> +<testSuite> +<section>6.2.9</section> +<testCase> +<section>6.2.9</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="string" datatypeLibrary=""/> +</element> +</correct> +<valid> +<foo>xyzzy</foo> +</valid> +<valid> +<foo> +x +<?target data?> +y +<?target data?> +z +</foo> +</valid> +<valid> +<foo></foo> +</valid> +<valid> +<foo> +</foo> +</valid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo bar=""/> +</invalid> +</testCase> +<testCase> +<section>6.2.9</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="token" datatypeLibrary=""/> +</element> +</correct> +<valid> +<foo>xyzzy</foo> +</valid> +<valid> +<foo> +x +<?target data?> +y +<?target data?> +z +</foo> +</valid> +<valid> +<foo></foo> +</valid> +<valid> +<foo> +</foo> +</valid> +<invalid> +<foo><bar/></foo> +</invalid> +<invalid> +<foo bar=""/> +</invalid> +</testCase> +<testCase> +<section>6.2.9</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="string" datatypeLibrary="">x</value> +</element> +</correct> +<valid><foo>x</foo></valid> +<invalid><foo>xy</foo></invalid> +<invalid><foo> x</foo></invalid> +<invalid><foo/></invalid> +</testCase> +<testCase> +<section>6.2.9</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="string" datatypeLibrary=""> x</value> +</element> +</correct> +<valid><foo> x</foo></valid> +<invalid><foo> xy</foo></invalid> +<invalid><foo>x</foo></invalid> +<invalid><foo/></invalid> +</testCase> +<testCase> +<section>6.2.9</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="token" datatypeLibrary="">x</value> +</element> +</correct> +<valid><foo>x</foo></valid> +<valid><foo> x</foo></valid> +<valid><foo>x </foo></valid> +<valid><foo>&#xA;&#xD;&#x9;&#x20;x&#xA;&#xD;&#x9;&#x20;</foo></valid> +<invalid><foo/></invalid> +<invalid><foo>xy</foo></invalid> +</testCase> +<testCase> +<section>6.2.9</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="token" datatypeLibrary="">x y</value> +</element> +</correct> +<valid><foo>x y</foo></valid> +<valid><foo> x y </foo></valid> +<valid><foo>x&#xA;&#xD;&#x9;&#x20;y</foo></valid> +<invalid><foo>xy</foo></invalid> +</testCase> +<testCase> +<section>6.2.9</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="token" datatypeLibrary="">&#xA;&#xD;&#x9;&#x20;x&#xA;&#xD;&#x9;&#x20;</value> +</element> +</correct> +<valid><foo>x</foo></valid> +<valid><foo> x</foo></valid> +<valid><foo>x </foo></valid> +<valid><foo>&#xD;&#x9;x&#x20;&#xA;</foo></valid> +<invalid><foo/></invalid> +<invalid><foo>xy</foo></invalid> +</testCase> +<testCase> +<section>6.2.9</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="token" datatypeLibrary="">x&#xA;&#xD;&#x9;&#x20;y</value> +</element> +</correct> +<valid><foo>x y</foo></valid> +<valid><foo>x y</foo></valid> +<valid><foo> x y </foo></valid> +<valid><foo>x&#xD;&#x9;y</foo></valid> +<valid><foo>x&#x20;&#xA;y</foo></valid> +<invalid><foo/></invalid> +<invalid><foo>xy</foo></invalid> +</testCase> +<testCase> +<section>6.2.9</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="decimal" datatypeLibrary=""/> +</element> +</incorrect> +</testCase> +<testCase> +<section>6.2.9</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <value type="decimal" datatypeLibrary=""/> +</element> +</incorrect> +</testCase> +<testCase> +<section>6.2.9</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="string" datatypeLibrary=""> + <param name="length">2</param> + </data> +</element> +</incorrect> +</testCase> +<testCase> +<section>6.2.9</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <data type="token" datatypeLibrary=""> + <param name="length">2</param> + </data> +</element> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<section>6.2.10</section> +<testCase> +<section>6.2.10</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list> + <value type="string">x</value> + </list> +</element> +</correct> +<valid> +<foo>x</foo> +</valid> +<valid> +<foo> x </foo> +</valid> +<invalid> +<foo>x x</foo> +</invalid> +</testCase> +<testCase> +<section>6.2.10</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list> + <oneOrMore> + <value type="string">x</value> + </oneOrMore> + </list> +</element> +</correct> +<valid> +<foo>x</foo> +</valid> +<valid> +<foo> x x x x </foo> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo>x y</foo> +</invalid> +</testCase> +<testCase> +<section>6.2.10</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list> + <group> + <value type="string">x</value> + <value type="string">y</value> + </group> + </list> +</element> +</correct> +<valid> +<foo>x y</foo> +</valid> +<valid> +<foo>x y</foo> +</valid> +<valid> +<foo>&#xD;x&#xA;y&#x9;</foo> +</valid> +<invalid> +<foo>x</foo> +</invalid> +</testCase> +<testCase> +<section>6.2.10</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list> + <group> + <data type="token"/> + <data type="token"/> + </group> + </list> +</element> +</correct> +<valid> +<foo>x y</foo> +</valid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo>x y z</foo> +</invalid> +</testCase> +<testCase> +<section>6.2.10</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <list> + <value>x y</value> + </list> +</element> +</correct> +<invalid> +<foo>x y</foo> +</invalid> +</testCase> +</testSuite> +</testSuite> +</testSuite> +<testSuite> +<section>7</section> +<testSuite> +<section>7.1</section> +<testCase> +<section>7.1.1</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <attribute name="bar"> + <element name="baz"> + <empty/> + </element> + </attribute> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.1</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <attribute name="bar"> + <choice> + <element name="baz"> + <empty/> + </element> + <text/> + </choice> + </attribute> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.1</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <attribute name="bar"> + <attribute name="baz"/> + </attribute> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.1</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <attribute name="bar"> + <choice> + <attribute name="baz"/> + <text/> + </choice> + </attribute> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.2</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <oneOrMore> + <group> + <attribute name="bar"/> + <attribute name="baz"/> + </group> + </oneOrMore> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.2</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <oneOrMore> + <group> + <attribute> + <anyName/> + </attribute> + <attribute> + <anyName/> + </attribute> + </group> + </oneOrMore> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.2</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <oneOrMore> + <choice> + <group> + <choice> + <attribute name="bar"/> + <attribute name="baz"/> + </choice> + <choice> + <attribute name="bar"/> + <attribute name="baz"/> + </choice> + </group> + <attribute name="bar"/> + </choice> + </oneOrMore> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.2</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <oneOrMore> + <interleave> + <attribute name="bar"/> + <attribute name="baz"/> + </interleave> + </oneOrMore> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.2</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <oneOrMore> + <interleave> + <attribute> + <anyName/> + </attribute> + <attribute> + <anyName/> + </attribute> + </interleave> + </oneOrMore> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.2</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <oneOrMore> + <choice> + <interleave> + <choice> + <attribute name="bar"/> + <attribute name="baz"/> + </choice> + <choice> + <attribute name="bar"/> + <attribute name="baz"/> + </choice> + </interleave> + <attribute name="bar"/> + </choice> + </oneOrMore> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <list> + <data type="token"/> + </list> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <choice> + <list> + <data type="token"/> + </list> + <data type="token"/> + </choice> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <element name="bar"> + <empty/> + </element> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <choice> + <data type="token"/> + <element name="bar"> + <empty/> + </element> + </choice> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <attribute name="bar"> + <empty/> + </attribute> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <choice> + <attribute name="bar"> + <empty/> + </attribute> + <data type="token"/> + </choice> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <choice> + <text/> + <data type="token"/> + </choice> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <interleave> + <value>x</value> + <value>y</value> + </interleave> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.3</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <list> + <choice> + <interleave> + <value>x</value> + <value>y</value> + </interleave> + <value>z</value> + </choice> + </list> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.4</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <data type="string"> + <except> + <attribute name="bar"/> + </except> + </data> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.4</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <data type="string"> + <except> + <element name="bar"> + <empty/> + </element> + </except> + </data> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.4</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <data type="string"> + <except> + <text/> + </except> + </data> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.4</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <data type="string"> + <except> + <list> + <data type="token"/> + </list> + </except> + </data> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.4</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <data type="string"> + <except> + <group> + <data type="token"/> + <data type="token"/> + </group> + </except> + </data> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.4</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <data type="string"> + <except> + <interleave> + <data type="token"/> + <data type="token"/> + </interleave> + </except> + </data> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.4</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <data type="string"> + <except> + <oneOrMore> + <data type="token"/> + </oneOrMore> + </except> + </data> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.4</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <data type="string"> + <except> + <empty/> + </except> + </data> + </element> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <attribute name="foo"/> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <data type="string"/> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <choice> + <data type="string"/> + <element name="foo"> + <empty/> + </element> + </choice> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <choice> + <value>foo</value> + <element name="foo"> + <empty/> + </element> + </choice> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <text/> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <choice> + <text/> + <element name="foo"> + <empty/> + </element> + </choice> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <list> + <data type="token"/> + </list> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <choice> + <element name="foo"> + <empty/> + </element> + <list> + <data type="token"/> + </list> + </choice> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <group> + <element name="foo"> + <empty/> + </element> + <element name="foo"> + <empty/> + </element> + </group> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <choice> + <element name="foo"> + <empty/> + </element> + <group> + <element name="foo"> + <empty/> + </element> + <element name="foo"> + <empty/> + </element> + </group> + </choice> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <interleave> + <element name="foo"> + <empty/> + </element> + <element name="foo"> + <empty/> + </element> + </interleave> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <choice> + <element name="foo"> + <empty/> + </element> + <interleave> + <element name="foo"> + <empty/> + </element> + <element name="foo"> + <empty/> + </element> + </interleave> + </choice> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <oneOrMore> + <element name="foo"> + <empty/> + </element> + </oneOrMore> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <choice> + <oneOrMore> + <element name="foo"> + <empty/> + </element> + </oneOrMore> + <element name="foo"> + <empty/> + </element> + </choice> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <empty/> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <choice> + <element name="foo"> + <empty/> + </element> + <empty/> + </choice> +</start> +</grammar> +</incorrect> +</testCase> +<testCase> +<section>7.1.5</section> +<section>7</section> +<section>4.18</section> +<documentation>Tests that constraints are post-normalization</documentation> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <grammar> + <start> + <text/> + </start> + </grammar> +</element> +</correct> +<valid> +<foo>text</foo> +</valid> +</testCase> +<testCase> +<section>7.1.5</section> +<section>7</section> +<section>4.18</section> +<incorrect> +<text xmlns="http://relaxng.org/ns/structure/1.0"/> +</incorrect> +</testCase> +<testCase> +<section>7.1.1</section> +<section>7</section> +<section>4.20</section> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <optional> + <attribute name="bar"> + <group> + <notAllowed/> + <attribute name="baz"/> + </group> + </attribute> + </optional> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>7.1.1</section> +<section>7</section> +<section>4.20</section> +<documentation>The nested attribute element is normalized out because +of the not allowed.</documentation> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <attribute name="bar"> + <choice> + <text/> + <group> + <notAllowed/> + <attribute name="baz"/> + </group> + </choice> + </attribute> +</element> +</correct> +<valid> +<foo bar="baz"/> +</valid> +</testCase> +<testCase> +<section>7.1.2</section> +<section>7</section> +<section>4.12</section> +<documentation>The group element is normalized out.</documentation> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <oneOrMore> + <group> + <attribute> + <anyName/> + </attribute> + </group> + </oneOrMore> + </element> +</start> +</grammar> +</correct> +<valid> +<foo xyzzy1="val1" xyzzy2="val2"/> +</valid> +</testCase> +<testCase> +<section>7.1.2</section> +<section>7</section> +<section>4.21</section> +<documentation>The group element is normalized out.</documentation> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <oneOrMore> + <group> + <attribute> + <anyName/> + </attribute> + <empty/> + </group> + </oneOrMore> + </element> +</start> +</grammar> +</correct> +<valid> +<foo xyzzy1="val1" xyzzy2="val2"/> +</valid> +</testCase> +<testCase> +<section>7.1.2</section> +<section>7</section> +<section>4.20</section> +<documentation>The attribute elements are all normalized out.</documentation> +<correct> +<element xmlns="http://relaxng.org/ns/structure/1.0" name="foo"> + <optional> + <attribute name="a1"> + <attribute name="a2"> + <attribute name="a3"> + <notAllowed/> + </attribute> + </attribute> + </attribute> + </optional> +</element> +</correct> +<valid> +<foo/> +</valid> +</testCase> +</testSuite> +<testSuite> +<section>7.2</section> +<testCase> +<section>7.2</section> +<incorrect> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + <start> + <element name="foo"> + <group> + <data type="token"/> + <data type="token"/> + </group> + </element> + </start> +</grammar> +</incorrect> +</testCase> +<testCase> +<documentation>Checks that normalization of notAllowed happens +before string sequence checking.</documentation> +<section>7.2</section> +<section>4.20</section> +<correct> +<choice xmlns="http://relaxng.org/ns/structure/1.0"> + <element name="foo"> + <empty/> + </element> + <group> + <notAllowed/> + <element name="bar"> + <group> + <data type="token"/> + <data type="token"/> + </group> + </element> + </group> +</choice> +</correct> +<valid> +<foo/> +</valid> +</testCase> +<testCase> +<section>4.20</section> +<section>7.2</section> +<documentation>notAllowed in an element is not normalized</documentation> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <group> + <element name="bar"> + <notAllowed/> + </element> + <data type="token"/> + <data type="token"/> + </group> + <element name="baz"> + <empty/> + </element> + </choice> +</element> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<section>7.3</section> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> + <attribute name="bar"/> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> + <zeroOrMore> + <attribute name="bar"/> + </zeroOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute name="bar"/> + </oneOrMore> +</element> +</correct> +<valid> +<foo bar="xx"/> +</valid> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <attribute name="bar"/> + <attribute name="bar"/> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <optional> + <attribute name="bar"/> + </optional> + <optional> + <attribute name="bar"/> + </optional> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> + <oneOrMore> + <attribute> + <anyName/> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> + <oneOrMore> + <attribute> + <anyName> + <except> + <name>baz</name> + </except> + </anyName> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> + <oneOrMore> + <attribute> + <anyName> + <except> + <name>bar</name> + </except> + </anyName> + </attribute> + </oneOrMore> +</element> +</correct> +<valid> +<foo bar="val" xyzzy="anotherval"/> +</valid> +<valid> +<foo bar="val" baz=""/> +</valid> +<invalid> +<foo bar="val"/> +</invalid> +<invalid> +<foo/> +</invalid> +<invalid> +<foo xyzzy="val"/> +</invalid> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> + <oneOrMore> + <attribute> + <nsName ns=""/> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> + <oneOrMore> + <attribute> + <nsName ns=""> + <except> + <name>baz</name> + </except> + </nsName> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <anyName/> + </attribute> + </oneOrMore> + <oneOrMore> + <attribute> + <nsName ns=""/> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <anyName/> + </attribute> + </oneOrMore> + <oneOrMore> + <attribute> + <anyName/> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <nsName ns=""/> + </attribute> + </oneOrMore> + <oneOrMore> + <attribute> + <nsName ns=""> + <except> + <name>bar</name> + </except> + </nsName> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <anyName> + <except> + <nsName> + <except> + <name>foo</name> + </except> + </nsName> + </except> + </anyName> + </attribute> + </oneOrMore> + <attribute name="foo"/> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <anyName> + <except> + <nsName> + <except> + <name>foo</name> + </except> + </nsName> + </except> + </anyName> + </attribute> + </oneOrMore> + <oneOrMore> + <attribute> + <nsName/> + </attribute> + </oneOrMore> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <anyName> + <except> + <nsName> + <except> + <name>bar</name> + </except> + </nsName> + </except> + </anyName> + </attribute> + </oneOrMore> + <attribute name="baz"/> +</element> +</correct> +<valid> +<foo bar="xx" baz="yy"/> +</valid> +<invalid> +<foo x="xx" baz="yy"/> +</invalid> +<valid> +<foo xmlns:eg="http://www.example.com/" eg:x="xx" baz="yy"/> +</valid> +</testCase> +<testCase> +<section>7.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <oneOrMore> + <attribute> + <nsName ns="http://www.example.com/1"/> + </attribute> + </oneOrMore> + <oneOrMore> + <attribute> + <nsName ns="http://www.example.com/2"/> + </attribute> + </oneOrMore> +</element> +</correct> +<valid> +<foo xmlns:eg1="http://www.example.com/1" + xmlns:eg2="http://www.example.com/2" + eg1:x="xx" eg2:y="yy"/> +</valid> +</testCase> +<testCase> +<section>7.3</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <choice> + <attribute name="bar"/> + <attribute name="bar"/> + </choice> +</element> +</correct> +<valid> +<foo bar="xx"/> +</valid> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute name="bar"/> + <choice> + <attribute name="baz"/> + <attribute name="bar"/> + </choice> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute><anyName/><text/></attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute><nsName ns =""/><text/></attribute> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.3</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <attribute><choice><nsName ns =""/><name>foo</name></choice><text/></attribute> +</element> +</incorrect> +</testCase> +</testSuite> +<testSuite> +<section>7.4</section> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <interleave> + <element name="baz"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </interleave> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <group> + <element name="baz"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </group> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <group> + <element name="baz"> + <empty/> + </element> + <interleave> + <element name="baz"> + <empty/> + </element> + <element name="bar"> + <empty/> + </element> + </interleave> + </group> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <optional> + <element name="bar"> + <empty/> + </element> + </optional> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <element> + <nsName ns=""/> + <empty/> + </element> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <element> + <anyName/> + <empty/> + </element> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <notAllowed/> + </element> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <element name="bar"> + <empty/> + </element> + <element> + <anyName> + <except> + <name>bar</name> + </except> + </anyName> + <empty/> + </element> + </interleave> +</element> +</correct> +<valid> +<foo><bar/><baz/></foo> +</valid> +</testCase> +<testCase> +<section>7.4</section> +<correct> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <choice> + <element name="bar"> + <empty/> + </element> + <element name="bar"> + <text/> + </element> + </choice> + <element name="baz"> + <empty/> + </element> + </interleave> +</element> +</correct> +<valid> +<foo><bar/><baz/></foo> +</valid> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <interleave> + <text/> + <text/> + </interleave> +</element> +</incorrect> +</testCase> +<testCase> +<section>7.4</section> +<incorrect> +<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"> + <mixed> + <mixed> + <element name="bar"> + <empty/> + </element> + </mixed> + <element name="baz"> + <empty/> + </element> + </mixed> +</element> +</incorrect> +</testCase> +</testSuite> +</testSuite> +<testSuite> +<documentation>Regressions</documentation> +<testCase> +<correct> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> +<start> + <element name="foo"> + <choice> + <group> + <attribute name="bar"><empty/></attribute> + <element name="baz1"><empty/></element> + </group> + <group> + <attribute name="bar"><text/></attribute> + <element name="baz2"><empty/></element> + </group> + </choice> + </element> +</start> +</grammar> +</correct> +<valid> +<foo bar=" "><baz1/></foo> +</valid> +</testCase> +<testCase> +<correct> +<notAllowed xmlns="http://relaxng.org/ns/structure/1.0"/> +</correct> +<invalid> +<foo/> +</invalid> +</testCase> +</testSuite> +</testSuite> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/579746_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/579746_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..12f3d4dd9ec0093195faaf87de26c25e9394f4b7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/579746_1.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<contact> + <customer/> +</contact> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/582906-1-common.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/582906-1-common.xsd new file mode 100644 index 0000000000000000000000000000000000000000..aa7cbdae859b559b29aed5ab0ac559e240600b89 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/582906-1-common.xsd @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + attributeFormDefault="unqualified"> +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/582906-1-prog1.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/582906-1-prog1.xsd new file mode 100644 index 0000000000000000000000000000000000000000..33dde568e8b09bb05ac3cd5055af00497a1eaa32 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/582906-1-prog1.xsd @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<xs:schema xmlns="http://example.com/xml/Prog1" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + attributeFormDefault="unqualified" + targetNamespace="http://example.com/xml/Prog1"> + + <xs:include schemaLocation="582906-1-common.xsd"/> + +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..28fee0eb9b9c01cf71e73c61d7f636987489486a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all1_0.xsd @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:complexType name="A"> + <xs:all> + <xs:element name="b" type="xs:string" minOccurs="0"/> + </xs:all> + </xs:complexType> + + <xs:element name="a" type="A"/> +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..fb5b0fae521858accba819a9fd844ad591d92118 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_0.xml @@ -0,0 +1 @@ +<doc><a/><b/><c/></doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..55c04eec08d62a1ef041e9c9b731613414ac2b10 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_0.xsd @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <xsd:element name="doc"> + <xsd:complexType> + <xsd:all minOccurs="1"> + <xsd:element name="a"/> + <xsd:element name="b"/> + <xsd:element name="c"/> + </xsd:all> + </xsd:complexType> + </xsd:element> +</xsd:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_1.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_1.xsd new file mode 100644 index 0000000000000000000000000000000000000000..bc386f3066b308de257ef3884074e49ee61ed118 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_1.xsd @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <xsd:element name="doc"> + <xsd:complexType> + <xsd:all minOccurs="0"> + <xsd:element name="a"/> + <xsd:element name="b"/> + <xsd:element name="c"/> + </xsd:all> + </xsd:complexType> + </xsd:element> +</xsd:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_2.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_2.xsd new file mode 100644 index 0000000000000000000000000000000000000000..630b0df3cfd47ea9e9f65fc47dbc8adaec4527a8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_2.xsd @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <xsd:element name="doc"> + <xsd:complexType> + <xsd:all> + <xsd:element name="a"/> + <xsd:element minOccurs="0" name="b"/> + </xsd:all> + </xsd:complexType> + </xsd:element> +</xsd:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_4.xml new file mode 100644 index 0000000000000000000000000000000000000000..afa807c23f4d7e3602e0674269da4925a6b0e4cd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_4.xml @@ -0,0 +1 @@ +<doc></doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_6.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_6.xml new file mode 100644 index 0000000000000000000000000000000000000000..7dd71b10aaedf80d4b9547242d1221ce1c63901a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/all_6.xml @@ -0,0 +1 @@ +<doc><a/></doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..814646f0c9f3dc7867ec91f389270347d46eea85 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_0.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<foo xmlns="urn:test:foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="urn:test:foo sg-all.xsd"> + <gm-B-2/> + <gm-A-1/> +</foo> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_4.xml new file mode 100644 index 0000000000000000000000000000000000000000..bbb654a8b35f3a2b783fa5bcaa01e48c359fa3d6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_4.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<foo xmlns="urn:test:foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="urn:test:foo sg-all.xsd"> + <gm-A-1/> + <gm-A-1/> +</foo> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_5.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_5.xml new file mode 100644 index 0000000000000000000000000000000000000000..44dde3ea00fe2ac4a5ecd612ebcc8490498388e5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/allsg_5.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<foo xmlns="urn:test:foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="urn:test:foo sg-all.xsd"> + <gm-B-1/> + <gm-A-2/> + <gm-B-2/> +</foo> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any2_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any2_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..e649a2c5d5d89cbd7be416177e1d7657c0a9c804 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any2_0.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- Tests xsd:any with a set of namespaces, icluding + "##local" and "##targetNamespace". --> +<foo:foo + xmlns:foo="http://FOO" + xmlns:bar="http://BAR" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://FOO any2_0.xsd"> + + <foo:anything> + <foo:boo booAttr="123"/> + </foo:anything> + + <bar:anything> + <foo:boo booAttr="123"/> + </bar:anything> + + <anything> + <foo:boo booAttr="123"/> + </anything> + + +</foo:foo> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any2_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any2_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..2bf726e845c2ad131671962199a5228d3caaad09 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any2_0.xsd @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!-- Tests xsd:any with a set of namespaces, icluding + "##local" and "##targetNamespace". --> +<xsd:schema + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://FOO" + xmlns:foo="http://FOO"> + + <xsd:element name="boo"> + <xsd:complexType> + <xsd:attribute name="booAttr" type="xsd:integer" /> + </xsd:complexType> + </xsd:element> + + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:any + namespace="##targetNamespace http://BAR ##local" + processContents="lax" + maxOccurs="3"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + +</xsd:schema> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any3_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any3_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..b5c29f6073257fdf6e9b6c555e1e9d9943a0939e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any3_0.xsd @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<xsd:schema + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://FOO" + xmlns:foo="http://FOO"> + + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:any namespace="##other" processContents="lax"/> + <xsd:any namespace="##other" processContents="lax"/> + <xsd:any namespace="##other" processContents="lax"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + +</xsd:schema> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any5_4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any5_4.xml new file mode 100644 index 0000000000000000000000000000000000000000..91dcb548367e1f9f941d6a24eb90934d7d517d10 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any5_4.xml @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<foo xmlns="urn:test:foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="urn:test:foo any5_0.xsd"> + <boo/> + <boo xmlns="urn:test:bar"/> + <boo xmlns="urn:test:bar"/> + <boo xmlns="urn:test:bar"/> + <boo xmlns="urn:test:bar"/> + <boo xmlns="urn:test:bar"/> + <boo xmlns="urn:test:bar"/> +</foo> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any6_2.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any6_2.xsd new file mode 100644 index 0000000000000000000000000000000000000000..a552ca8b483c1e7aa1eb28dbb49b9216c0d99ca1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/any6_2.xsd @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<!-- + "element complexType: Schemas parser error : + local complex type: The content model is not determinist." + + This schema is OK with XSV and Xerces. +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="urn:test:foo" + elementFormDefault="qualified"> + <xs:element name="foo"> + <xs:complexType> + <xs:sequence> + <xs:element name="bar" maxOccurs="unbounded"/> + <xs:any namespace="##other" processContents="lax"/> + </xs:sequence> + </xs:complexType> + </xs:element> +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/anyAttr-processContents-err1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/anyAttr-processContents-err1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..cc2a0fdc30b12aebdfcd83ade341c024059b6d38 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/anyAttr-processContents-err1_0.xsd @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<xsd:schema xmlns:foo="http://FOO" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + targetNamespace="http://FOO"> + + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="elem.lax" type="foo:type.lax"/> + <xsd:element name="elem.strict" type="foo:type.strict"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:attribute name="bar" type="xsd:language" /> + + <xsd:complexType name="type.lax"> + <xsd:anyAttribute namespace="##any" processContents="lax"/> + </xsd:complexType> + <xsd:complexType name="type.strict"> + <xsd:anyAttribute namespace="##any" processContents="strict"/> + </xsd:complexType> + +</xsd:schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/anyAttr.importB.1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/anyAttr.importB.1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..33eaba88c6cd3397c401559bef4ae66dc7997149 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/anyAttr.importB.1_0.xsd @@ -0,0 +1,21 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:attributeGroup name="attrGr.inters.6_1"> + <xsd:anyAttribute namespace="##other"/> + </xsd:attributeGroup> + + <xsd:complexType name="imp.type.base.inters.4_1"> + <xsd:anyAttribute namespace="##other" processContents="lax"/> + </xsd:complexType> + + <xsd:complexType name="imp.type.base.derive.4_1"> + <xsd:anyAttribute namespace="##other" processContents="lax"/> + </xsd:complexType> + + <xsd:complexType name="imp.type.base.derive.6"> + <xsd:anyAttribute namespace="##other" processContents="lax"/> + </xsd:complexType> + +</xsd:schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141312_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141312_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..7d7abb136b5eb6ef049a3f58ba4422fccdaf09ad --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141312_0.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<foo xmlns="http://FOO">lalala</foo> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141312_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141312_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..c9a7e2c94b13b5dbd705179ead1374c48c553ad4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141312_0.xsd @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<schema + xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://FOO" + xmlns:foo="http://FOO"> + + <element name="foo" type="foo:fooType" nillable="false" /> + + <complexType name="fooType" mixed="true"> + <simpleContent> + <extension base="string" /> + </simpleContent> + </complexType> + +</schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141333_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141333_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..e14aa46b2f7edff6b67c1aeafe83e38d646b9d25 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug141333_0.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<foo + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="bug141333.xsd" attrA="valueA"> + + <bar attrA="valueA" attrB="valueB"/> + +</foo> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug143951.imp b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug143951.imp new file mode 100644 index 0000000000000000000000000000000000000000..58420d301db81f6e7426a1b633582beb21c94f1e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug143951.imp @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<xs:schema targetNamespace="http://www.newport-networks.com/NNL" +xmlns:nnl="http://www.newport-networks.com/NNL" +xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" +attributeFormDefault="unqualified" version="1.00"> + <xs:group name="schema2group"> + <xs:sequence> + <xs:element name="file" type="xs:string" +default="$File$"/> + </xs:sequence> + </xs:group> +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug145246_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug145246_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..09050c6ea5091b435653c6463fadc29a7987a455 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug145246_0.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--DOCTYPE giml SYSTEM "http://gitk.sourceforge.net/giml.dtd"--> +<!-- $Id: gitkTemplate_message.xml.in,v 1.11 2004/01/07 14:21:17 ensonic Exp $ + * @file gitkTemplate_message.xml + * @author Stefan Kost <ensonic@users.sf.net> + * @date Thu Jan 17 11:22:38 2002 + * + * @brief message dialog template + * @ingroup gitkcore + * +--> +<giml xmlns="http://gitk.sourceforge.net/" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://gitk.sourceforge.net/ bug145246.xsd" + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:i18n="http://apache.org/cocoon/i18n/2.0" + > + <dialog focus="ctrl"> + <meta> + <dc:title><i18n:text>message</i18n:text></dc:title> + </meta> + <dialogwidgets> + <dialogwidget id="Okay"/> + </dialogwidgets> + <widgetgroup> + <widget id="Message" type="label"/> + </widgetgroup> + </dialog> +</giml> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug303566_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug303566_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..1bf56dc5d033b02b749ad0cdc9a78721efb0fa02 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug303566_1.xml @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<Test + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="bug303566_1.xsd"> + <Country code="D"> + <City name="Berlin" + code="B"> + <Part country="D"/> + <Part country="B"/> + </City> + </Country> + <Country code="F"> + <City name="Paris" code="P"> + <Part country="F"/> + <Part country="F"/> + </City> + </Country> +</Test> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug309338_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug309338_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..33cbf95e5c4fb725bc68cf63144f4cd9b58f1ebb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug309338_0.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<foo xmlns="urn:test:foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="urn:test:foo bug309338.xsd">2000.00</foo> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug312957_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug312957_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..c22444f71c342192812a1799f0825b36912cd83e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug312957_0.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<family xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="bug312957_1.xsd" + name="test"> + <siblings> + <sibling name="gill"/> + </siblings> + <sisters> + <sister name="gill"/> + <sister name="annie"/> + </sisters> +</family> + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug322411_1.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug322411_1.xsd new file mode 100644 index 0000000000000000000000000000000000000000..383dee62cce50356fa479a034a11bd1051e2e7f4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug322411_1.xsd @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:element name="items"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" maxOccurs="unbounded" type="xsd:string"/> + <xsd:element ref="items" minOccurs="0" maxOccurs="2"/> + </xsd:sequence> + </xsd:complexType> + <xsd:unique name="ItemUnique"> + <xsd:selector xpath="item"/> + <xsd:field xpath="."/> + </xsd:unique> + </xsd:element> + + <xsd:element name="ELEMENTS"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="ELEMENT"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="items"/> + <xsd:element name="ref" type="xsd:string" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + <xsd:keyref name="ItemRef" refer="ItemUnique"> + <xsd:selector xpath="ref"/> + <xsd:field xpath="."/> + </xsd:keyref> + </xsd:element> + </xsd:sequence> + </xsd:complexType> + </xsd:element> +</xsd:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug455953_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug455953_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..f6355700ffeaeb57d6ccebc9e4c2fac51489fbdc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/bug455953_0.xsd @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.tempuri.org/MainSchema" + xmlns:tns="http://www.tempuri.org/MainSchema" + xmlns:ns="http://www.tempuri.org/ImportedSchema" + elementFormDefault="qualified" > + + <xs:import namespace="http://www.tempuri.org/ImportedSchema" schemaLocation="./import-455953.xsd" /> + + <xs:complexType name="MyMainType"> + <xs:sequence> + <xs:element name="MainA"> + <xs:complexType> + <xs:attribute name="MainID" type="xs:int"/> + </xs:complexType> + </xs:element> + <xs:element ref="ns:AnotherElement" /> + </xs:sequence> + </xs:complexType> + + <xs:element name="MainElement" type="tns:MyMainType"> + <xs:key name="MainKey" > + <xs:selector xpath="tns:MainA" /> + <xs:field xpath="@MainID" /> + </xs:key> + </xs:element> + + +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/changelog093_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/changelog093_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..4b4961283653f512481e34978659468b700176d7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/changelog093_0.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<changelog + xmlns="http://www.blackperl.com/XML/ChangeLog" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.blackperl.com/XML/ChangeLog changelog093.xsd"> + <description lang="PL"/> + <description lang="PL"/> + <release version="1" date="2005-04-08T21:12:00"> + <item> + <file path="abc"/> + <description lang="FR"/> + </item> + </release> +</changelog> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/choice_6.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/choice_6.xml new file mode 100644 index 0000000000000000000000000000000000000000..394153dc932e3518ff03c3ff08fd9a5378859916 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/choice_6.xml @@ -0,0 +1,7 @@ +<doc> +<a/> +<b/> +<a/> +<a/> +</doc> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/complex-type-extension_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/complex-type-extension_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..6a6237ae95c5412d6c6328581d284534f074e2df --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/complex-type-extension_0.xsd @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + + <xs:complexType name="Item" abstract="true"> + <xs:sequence minOccurs="1" maxOccurs="unbounded"> + <xs:element name="Name" type="xs:string"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="ItemWithNumber"> + <xs:complexContent> + <xs:extension base="Item"> + <xs:sequence> + <xs:element name="Number" type="xs:nonNegativeInteger"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:element name="ItemsList"> + <xs:complexType> + <xs:sequence> + <xs:element name="Item" type="Item" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..9d3fabff213603e5348a2cd7a3a5fa196b74379b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://FOO" xmlns:foo="http://FOO"> + + <element name="foo" type="foo:type.A"/> + + <simpleType name="type.A"> + <restriction> + <simpleType> + <list itemType="integer"/> + </simpleType> + <length value="3"/> + </restriction> + </simpleType> + + <!--restriction base="foo:type.base.A"> + + </restriction--> + + <simpleType name="type.base.A"> + <restriction> + <simpleType> + <list itemType="integer"/> + </simpleType> + </restriction> + </simpleType> + + + +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-1.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-1.xsd new file mode 100644 index 0000000000000000000000000000000000000000..830ca3e60c44586e1c4ac326c98aaf4e7f713f53 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-1.xsd @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:simpleType name="myDecimal"> + <xsd:restriction base="xsd:decimal"> + <xsd:totalDigits value="18"/> + </xsd:restriction> + </xsd:simpleType> + + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/> + <xsd:element name="ref" type="myDecimal" minOccurs="0"/> + </xsd:sequence> + </xsd:complexType> + + <!--xsd:key name="myKey"> + <xsd:selector xpath="val"/> + <xsd:field xpath="."/> + </xsd:key> + + <xsd:keyref name="myKeyRef" refer="myKey"> + <xsd:selector xpath="ref"/> + <xsd:field xpath="."/> + </xsd:keyref--> + </xsd:element> + +</xsd:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-2_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-2_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..166f781899487e94d55edcab964006fcc2d5387e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-2_0.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<foo + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="decimal-2.xsd"> + <!-- The good ones. --> + <val>0.1</val> + <val>0.001</val> + <val>0.0</val> + <val>-0.0</val> + <val>1</val> + <!-- The bad ones. --> + <val>-0.1</val> + <val>-1</val> +</foo> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-3_1.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-3_1.xsd new file mode 100644 index 0000000000000000000000000000000000000000..23ae8f79a658221fd8862f334646c9475508a38b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/decimal-3_1.xsd @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:simpleType name="myDecimal"> + <xsd:restriction base="xsd:decimal"> + <xsd:totalDigits value="2"/> + </xsd:restriction> + </xsd:simpleType> + + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + +</xsd:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-ok-extension-err_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-ok-extension-err_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..89be58120023c1a68dddbc12a9ca52efc0f14f50 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-ok-extension-err_0.xsd @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns="http://FOO" targetNamespace="http://FOO"> + + <xs:element name="foo"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="typeA"> + <xs:attribute name="barA_1" type="xs:string" use="optional"/> + <xs:attribute name="barA_2" type="xs:string" use="required"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + + <xs:complexType name="typeA"> + <xs:attribute name="barA_1" type="xs:string" use="required"/> + </xs:complexType> + +</xs:schema> + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-restriction-anyAttr_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-restriction-anyAttr_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..66e7d3f89316c61fecc8533432d9fff8e589d01c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-restriction-anyAttr_0.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<foo + xmlns:f="http://FOO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:bar="http://BAR" + xsi:noNamespaceSchemaLocation="file:///c:/dev/libxml2/patches/2004-05-17/derivation-restriction-anyAttr_0.xsd" + > + <bar barA="ooo" /> +</foo> + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-restriction-anyType.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-restriction-anyType.xml new file mode 100644 index 0000000000000000000000000000000000000000..c86c50aa2dd7f9bedcdff4779cb56b65fd5da8dd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/derivation-restriction-anyType.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<foo xmlns="http://FOO" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://FOO file:///c:/dev/libxml2/patches/2004-05-17/derivation-restriction-anyType.xsd" + barA_2="xxx"/> + + + + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/element-err_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/element-err_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..92604c8cc74a0a1f4674c6b4285fd42beecf554c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/element-err_0.xsd @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://FOO" + xmlns:foo="http://FOO" + xmlns:goo="http://GOO"> + + <xsd:element name="bar" type="xsd:string"/> + <xsd:element type="xsd:string"/> + <xsd:element name="foo" + ref="foo:bar" minOccurs="3" maxOccurs="2" + abstract="true" block="flute" + form="qualified" id="b12" nillable="true" + substitutionGroup="foo:bar" + default="Jimi" fixed="Hendrix" final="fantasy"> + + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="foo:bar" name="myomy" minOccurs="3" + maxOccurs="2" abstract="true" block="flute" + form="qualified" id="b13" nillable="true" + substitutionGroup="foo:bar" type="xsd:string" + default="Jimi" fixed="Hendrix" final="fantasy"> + <xsd:complexType/> + <xsd:simpleType/> + </xsd:element> + <xsd:element name="myomy" maxOccurs="0" + abstract="true" block="flute" + form="qualified" id="b14" nillable="true" + substitutionGroup="foo:bar" type="xsd:string" + default="Jimi" fixed="Hendrix" final="fantasy"> + <xsd:complexType/> + <xsd:simpleType/> + </xsd:element> + </xsd:sequence> + </xsd:complexType> + + </xsd:element> + +</xsd:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/hexbinary_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/hexbinary_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..9513445b88d698e3f5b0b9dd8266df7379e6af99 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/hexbinary_0.xml @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<xsd_hexBinary> + <hex>00</hex> + <hex>0123456789ABCDEF</hex> + <hex>abcdef0123456789</hex> + <hex>0123456789abcdef</hex> + <hex>0123456789ABCDEF</hex> + <hex>0123456789abcdef0123456789ABCDEF</hex> + <hex>0123456789abcdef0123456789ABCDEF0123456789abcdef0123456789ABCDEF0123456789abcdef0123456789ABCDEF0123456789abcdef0123456789ABCDEF0123456789abcdef0123456789ABCDEF</hex> + <hex>01234567899876543210</hex> + <hex>00112233445566778899aAbBcCdDeEfF</hex> + <hex>A0B1C2D3E4F5</hex> + <!-- minLength and maxLength --> + <hex2>00</hex2> + <hex2>0000000000000000</hex2> + <hex2>1122334455667788</hex2> + <!-- length --> + <hex3>abcd</hex3> + <hex3>0ed0</hex3> +</xsd_hexBinary> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/idc-keyref-err1_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/idc-keyref-err1_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..64a1d0bdf0cab9ef5f3e4a6b0f0694c0cb27342b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/idc-keyref-err1_0.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<Foo + xmlns="urn:test:foo" + xmlns:foo="urn:test:foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="urn:test:foo idc-keyref_1.xsd"> + + <Def> + <Link foo:linkKey="L4"/> + </Def> + + <Ref foo:linkRef="L4"/> + +</Foo> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import-bad-1_0.imp b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import-bad-1_0.imp new file mode 100644 index 0000000000000000000000000000000000000000..d70c01295ba7b852ef321ce5f7fc4fac5a085a4e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import-bad-1_0.imp @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<xsd:lalala + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://BAR"> +</xsd:lalala> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import1_0.imp b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import1_0.imp new file mode 100644 index 0000000000000000000000000000000000000000..b7fd2ec2cb31f02c3843db6a1282efae5200ab5a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import1_0.imp @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<xsd:schema + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://BAR"> + + <xsd:element name="bar.A"/> + +</xsd:schema> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..309139c06f51931b8c074115d4bc3a653b86a7c9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import1_0.xsd @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<!-- This one tests the document access strategy for <import> --> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://FOO" + xmlns:foo="http://FOO" + xmlns:bar="http://BAR" + elementFormDefault="qualified"> + <xsd:import namespace="http://BAR" /> + + <!-- This document does not exist. --> + <xsd:import namespace="http://BAR" schemaLocation="import1_0bc.imp" /> + <!-- This document is ok. --> + <xsd:import namespace="http://BAR" schemaLocation="import1_0.imp" /> + <!-- This document will be skipped, since a schema for the namespace + "http://BAR" was already imported. --> + <xsd:import namespace="http://BAR" schemaLocation="import1_0b.imp" /> + + + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="bar"/> + <xsd:element ref="bar:bar.A"/> + <!-- The reference cannot be resolved since + "import1_0b.imp" was skipped --> + <xsd:element ref="bar:bar.B"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> +</xsd:schema> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import2_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import2_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..67723d433360c848e4afa42aaf62a08dbbdb8eac --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/import2_0.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<foo:foo xmlns:foo="http://FOO" + xmlns:bar="http://BAR" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://BAR import2_0.xsd" foo.attr="oo"> + <foo:foo.B/> + <bar:bar/> +</foo:foo> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include1_0.inc b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include1_0.inc new file mode 100644 index 0000000000000000000000000000000000000000..1745abeb59091b1374482107a6b5ec972655e39b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include1_0.inc @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" > + + <xsd:simpleType name="barType"> + <xsd:restriction base="xsd:string"> + <xsd:maxLength value="10" /> + </xsd:restriction> + </xsd:simpleType> + + <xsd:attribute name="bar" type="barType" fixed="o"/> + + <xsd:element name="bar.B" type="xsd:anyURI" block="#all" nillable="true" final="restriction extension"/> + + <xsd:element name="bar"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="bar.A" block="restriction" form="qualified" nillable="true" /> + <xsd:element ref="bar.B"/> + </xsd:sequence> + + <xsd:attribute ref="bar" xml:lang="DE"> + <xsd:annotation/> + </xsd:attribute> + <xsd:attribute name="uri" type="xsd:token" /> + </xsd:complexType> + </xsd:element> + +</xsd:schema> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..5e6d8371b725fcfdc20502c3c846781dfd9bb52c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include1_0.xsd @@ -0,0 +1,15 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://FOO" + xmlns:foo="http://FOO" version=""> + <xsd:include schemaLocation="include1_0.inc" /> + <xsd:element name="foo"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="foo:bar"/> + <xsd:element name="boo" type="xsd:string"/> + </xsd:sequence> + <xsd:attribute name="req" use="required" form="qualified"/> + </xsd:complexType> + </xsd:element> +</xsd:schema> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include3_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include3_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..e880cc5adf30551a4d04166032052acdd6094065 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/include3_0.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<foo:foo + xmlns:foo="http://FOO" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://FOO include3_0.xsd"> + <foo:bar /> +</foo:foo> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/issue491_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/issue491_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..e2b2fc2e359b31b6f158600cf06c979134c0e248 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/issue491_0.xml @@ -0,0 +1 @@ +<Child xmlns="http://www.test.com">5</Child> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/list0_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/list0_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..a58fe8b5eb237d9cdb786ab581226cf91d8647c8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/list0_0.xml @@ -0,0 +1,6 @@ +<test> + <string>hello world</string> + <string>hello world</string> + <string>hello world</string> + <string>hello world</string> +</test> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/mixed0_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/mixed0_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..5864343837c245d2007fdcaddc03736d9bc8d0ef --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/mixed0_0.xml @@ -0,0 +1 @@ +<my>x</my> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/mixed1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/mixed1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..a9ea6cc6217466bf83ebed2a482132a7572c731b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/mixed1_0.xsd @@ -0,0 +1,7 @@ +<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'> + <xs:element name='my'> + <xs:complexType mixed='true'> + <xs:attribute name='myattr' type='xs:string' use='required'/> + </xs:complexType> + </xs:element> +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..1cbaf1fb1e201067c8f446418bf2b1f57895293d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_0.xml @@ -0,0 +1,2 @@ +<foo xmlns="http://example.com/xsd/ns" id="abc"/> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..8f2bdba81882be69a24f81149dbff87c4af1fbb3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_2.xml @@ -0,0 +1,2 @@ +<foo id="abc"/> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_4.xml new file mode 100644 index 0000000000000000000000000000000000000000..dcdd41872c8ab7ce375c267ce6acb58ff7a2a0ca --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns0_4.xml @@ -0,0 +1,3 @@ +<l:foo xmlns:l="http://example.com/xsd/ns" + xmlns:b="http://example.com/xsd/ns" b:id="abc"/> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns1_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns1_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..410ed26a3f5049f7288cbc53b34c36dec62fa774 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns1_0.xml @@ -0,0 +1,2 @@ +<my xmlns='http://my.ns/' +>some</my> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..a77ec57e8a33a61bf3992baf57226bccb5893ccd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/ns1_0.xsd @@ -0,0 +1,3 @@ +<schema xmlns='http://www.w3.org/2001/XMLSchema' targetNamespace='http://my.ns/'> + <element name='my' type='string'/> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/poschargrp0_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/poschargrp0_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..3243a2ff0083ec50b5ea95691e84cfb11bd52321 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/poschargrp0_0.xsd @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xs:schema targetNamespace="http://obj-sys.com/mySchema" + xmlns:elementFormDefault="qualified" + xmlns="http://obj-sys.com/mySchema" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="testElem"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[^.:/]+"/> + </xs:restriction> + </xs:simpleType> + </xs:element> + +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/regexp-char-ref_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/regexp-char-ref_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..f6f463e089865f1a609a8e27db6d0890f44474df --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/regexp-char-ref_0.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> + +<test test1="5" + test2="6" + test3="#" + test4=";" + test5="&amp;" /> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/regexp-char-ref_1.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/regexp-char-ref_1.xsd new file mode 100644 index 0000000000000000000000000000000000000000..598a4d53ff2b99df495f3f3f43ab6ff11918dd1b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/regexp-char-ref_1.xsd @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + + <xs:element name="test"> + <xs:complexType> + <xs:attribute name="test1" type="myType"/> + <xs:attribute name="test2" type="myType"/> + <xs:attribute name="test3" type="myType"/> + <xs:attribute name="test4" type="myType"/> + <xs:attribute name="test5" type="myType"/> + </xs:complexType> + </xs:element> + + <xs:simpleType name="myType"> + <xs:restriction base="xs:string"> + <xs:pattern value="[&amp;#65;]"/> + </xs:restriction> + </xs:simpleType> + +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/restriction-attr1_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/restriction-attr1_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..33b8f19321be2f76a8270b3a39b00196e6f87dc6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/restriction-attr1_0.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<foo xmlns="http://FOO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://FOO file:///l:/libxml2/test/schemas/restriction-attr1_0.xsd" barA="hh"/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/restriction-enum-1_1.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/restriction-enum-1_1.xsd new file mode 100644 index 0000000000000000000000000000000000000000..69e353da53f173e7e5c7bd9532c363782501f222 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/restriction-enum-1_1.xsd @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:simpleType name="fooType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="a"/> + <xs:enumeration value="b"/> + <xs:enumeration value="c"/> + <xs:enumeration value="d"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="barType"> + <xs:restriction base="fooType"> + <xs:enumeration value="a"/> + <xs:enumeration value="b"/> + <xs:enumeration value="d"/> + </xs:restriction> + </xs:simpleType> + <xs:element name="foo" type="barType" /> +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/scc-no-xmlns_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/scc-no-xmlns_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..b85cdcb87ef33d2726e266e87e56f908de01ef91 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/scc-no-xmlns_0.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<foo xmlns="http://foo"/> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/src-element1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/src-element1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..ffd8d5797af77fcad81186b329376bdc5ee84abf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/src-element1_0.xsd @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- 3.2.3 : 1 + default and fixed must not both be present +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> + + <element name="foo" type="string" default="Joni" fixed="Mitchel"/> + +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/subst-group-1_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/subst-group-1_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..087fe02b06930ee30b3e1a2e0319e1442669594d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/subst-group-1_1.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Test for bug #341150 --> +<TestRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="subst-group-1.xsd"> + <Events> + <TestEvent>Test 1.</TestEvent> + <!-- Uncomment the following element to cause libxml's xmllint to + fail to validate. --> + <TestEvent>Test 2.</TestEvent> + </Events> +</TestRoot> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schemas/vdv-first1_0.xsd b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/vdv-first1_0.xsd new file mode 100644 index 0000000000000000000000000000000000000000..c0d6f27ccc61add22c2df09d2dc56f30fd52a0e6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schemas/vdv-first1_0.xsd @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="library"> + <xs:complexType> + <xs:sequence> + <xs:element name="book" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="isbn" type="xs:integer"/> + <xs:element name="title"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="lang" type="xs:language"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="author" minOccurs="0" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="name" type="xs:string"/> + <xs:element name="born" type="xs:date"/> + <xs:element name="dead" type="xs:date"/> + </xs:sequence> + <xs:attribute name="id" type="xs:ID"/> + </xs:complexType> + </xs:element> + <xs:element name="character" minOccurs="0" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="name" type="xs:string"/> + <xs:element name="born" type="xs:date"/> + <xs:element name="qualification" type="xs:string"/> + </xs:sequence> + <xs:attribute name="id" type="xs:ID"/> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="id" type="xs:ID"/> + <xs:attribute name="available" type="xs:boolean"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> +</xs:schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1.sct new file mode 100644 index 0000000000000000000000000000000000000000..36179ddd649b26d1ead4c1fb28ca0704751eae9d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1.sct @@ -0,0 +1,23 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Print both cases"> + <rule context="AAA"> + <assert test="BBB">BBB element is missing.</assert> + <report test="BBB">BBB element is present.</report> + <assert test="@name">AAA misses attribute name.</assert> + <report test="@name">AAA contains attribute name.</report> + </rule> + </pattern> + <pattern name="Print positive result only"> + <rule context="AAA"> + <report test="BBB">BBB element is present.</report> + <report test="@name">AAA contains attribute name.</report> + </rule> + </pattern> + <pattern name="Print negative result only"> + <rule context="AAA"> + <assert test="BBB">BBB element is missing.</assert> + <assert test="@name">AAA misses attribute name.</assert> + </rule> + </pattern> +</schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10.sct new file mode 100644 index 0000000000000000000000000000000000000000..783fac57320a81fc0bc5b0964650eb7b8115ada2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10.sct @@ -0,0 +1,15 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Open model"> + <rule context="AAA"> + <assert test="BBB"> BBB element is not present</assert> + <assert test="CCC"> CCC element is not present</assert> + </rule> + </pattern> + <pattern name="Closed model"> + <rule context="AAA"> + <assert test="BBB"> BBB element is not present</assert> + <assert test="CCC"> CCC element is not present</assert> + <assert test="count(BBB|CCC) = count (*)">There is an extra element</assert> + </rule> + </pattern> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..d3ac3884b6a2eca7d2aff2f5881a4bc7d790c512 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10_0.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..ba9bdca86ceb5cf980bb2180a245a86024056b2f --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon10_1.xml @@ -0,0 +1,4 @@ +<AAA> + <BBB/> + <DDD/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11.sct new file mode 100644 index 0000000000000000000000000000000000000000..79b01fdfb97ea4d58d1bbb416fc79b81b5dcc144 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11.sct @@ -0,0 +1,8 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Attributes present"> + <rule context="BBB"> + <assert test="not(@aaa) or (@aaa and @bbb)">The element must not have an isolated aaa attribute</assert> + <assert test="not(@bbb) or (@aaa and @bbb)">The element must not have an isolated bbb attribute</assert> + </rule> + </pattern> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..f065eed234cd1bd5e319e8fd783bb2ca0ec0c7cf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_0.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB aaa="A" bbb="B"/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..c889933118ded134672014737426bbe613989f5b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_1.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB bbb="B"/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..26e12213e21946999d4cb3afb658b5bcf6df9420 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_2.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB aaa="A"/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..d3ac3884b6a2eca7d2aff2f5881a4bc7d790c512 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon11_3.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12.sct new file mode 100644 index 0000000000000000000000000000000000000000..049b125e2316bb42369290532872cb4865eb223a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12.sct @@ -0,0 +1,8 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Number of characters in an abbreviation"> + <rule context="BBB"> + <report test="string-length(@bbb) &lt; 2">There is not enough letters in the abbreviation</report> + <report test="string-length(@bbb) > 3">There is too much letters in the abbreviation</report> + </rule> + </pattern> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..d5f28d5300e0a6625193a00a5a8e9d88caa8e056 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_0.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB bbb="C"/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..3507f6b5235aa0a70697f1f6af2071e788f444ec --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_1.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB bbb="CZ"/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..e0d81afa1db8e1befb2689cfffcdbf0ba55054eb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon12_2.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB bbb="CZCZ"/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13.sct new file mode 100644 index 0000000000000000000000000000000000000000..cd433e0154a9178ca0c8ec3eb1b1356b9b320032 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13.sct @@ -0,0 +1,7 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Sum equals 100%."> + <rule context="Total"> + <assert test="sum(//Percent) = 100">The values do not sum to 100%. </assert> + </rule> + </pattern> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..52619c3b037611b50c94f641204c19b06a78e507 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13_0.xml @@ -0,0 +1,6 @@ +<Total> + <Percent>20</Percent> + <Percent>30</Percent> + <Percent>10</Percent> + <Percent>50</Percent> +</Total> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..af4d76adc9c79f5bd01e75a736e9cc0ddd7e6afb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon13_2.xml @@ -0,0 +1,5 @@ +<Total> + <Percent>20</Percent> + <Percent>30</Percent> + <Percent>50</Percent> +</Total> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon14.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon14.sct new file mode 100644 index 0000000000000000000000000000000000000000..f98b6d89a46b479e54c13ec086aa2a95781590f7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon14.sct @@ -0,0 +1,10 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="a child of selected elements"> + <rule context="CCC"> + <assert test="parent::*[name()='BBB' or name()='DDD']">Element CCC must not be a child of element + <name path="parent::*"/> + </assert> + </rule> + </pattern> +</schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon14_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon14_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..b6270436ec096e491360e22a1407308c18b9c3a0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon14_0.xml @@ -0,0 +1,12 @@ +<AAA> + <BBB> + <CCC/> + </BBB> + <CCC/> + <DDD> + <CCC/> + <EEE> + <CCC/> + </EEE> + </DDD> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon15.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon15.sct new file mode 100644 index 0000000000000000000000000000000000000000..7da5d868e6bba5f0c50b4c7c53011ea1ea1b7a70 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon15.sct @@ -0,0 +1,11 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="id is the only permited attribute name"> + <rule context="*"> + <report test="@*[not(name()='id')]">Attribute + <name path="@*[not(name()='id')]"/> is forbidden in element + <name/> + </report> + </rule> + </pattern> +</schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon15_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon15_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..390aedb52370d6436ca72b97d61d5fce3360ed3a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon15_0.xml @@ -0,0 +1,4 @@ +<AAA name="aaa"> +<BBB id="bbb"/> +<CCC color="ccc"/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..d3ac3884b6a2eca7d2aff2f5881a4bc7d790c512 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1_0.xml @@ -0,0 +1,3 @@ +<AAA> + <BBB/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..861c90ae3d6242cbf708fdade40e366ea0b93363 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon1_1.xml @@ -0,0 +1,3 @@ +<AAA> + <CCC/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2.sct new file mode 100644 index 0000000000000000000000000000000000000000..56974a0864254dd3b27b975f121e81d6dd1d6aca --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2.sct @@ -0,0 +1,9 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Character @ forbidden"> + <rule context="*"> + <report test="contains(.,'@')">Text in element + <name/> must not contain character @ + </report> + </rule> + </pattern> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..832c507847a779c9e89933b17a03f0bec423d4e7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_0.xml @@ -0,0 +1,4 @@ +<AAA> + <BBB>bbbb</BBB> + <CCC>cccc</CCC> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..6ade1950b08bdf3ad2c7220d875e08ca6236ac11 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_1.xml @@ -0,0 +1,4 @@ +<AAA> + <BBB>bbbb@bbb.com</BBB> + <CCC>ccc@ccc.com</CCC> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..812d44a829a05a9586414ad8d8b61c3762f2af25 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon2_2.xml @@ -0,0 +1,5 @@ +<AAA> + <BBB>bbbb</BBB> + <CCC>cccc</CCC> + aaa@aaa.net +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon3.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon3.sct new file mode 100644 index 0000000000000000000000000000000000000000..f75b67b27144b819c3aa41f7d8032be3be738d88 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon3.sct @@ -0,0 +1,8 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Attribute test"> + <rule context="CCC"> + <assert test="@name">attribute name is not present</assert> + <report test="@name">attribute name is present</report> + </rule> + </pattern> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon3_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon3_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..ec8dc438b24a7504346fd47e4f8a4adb5db484bb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon3_0.xml @@ -0,0 +1,8 @@ +<AAA> + <BBB> + <CCC/> + <CCC/> + </BBB> + <CCC name="c1"/> + <CCC name="c2"/> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4.sct new file mode 100644 index 0000000000000000000000000000000000000000..0b8a4e1b7b45a44b824d1a8faf4a2a9996743eb7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4.sct @@ -0,0 +1,10 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Root test"> + <rule context="/*"> + <assert test="name()='AAA'">Root element is + <name/>, not AAA + </assert> + <report test="name()='AAA'">Root element is AAA</report> + </rule> + </pattern> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..4ba332e4faafed162aa5f939b128b99dec264d4b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4_0.xml @@ -0,0 +1,6 @@ +<AAA> + <BBB> + <CCC/> + <CCC/> + </BBB> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..5becbcf62f499b4255a7bdbbe90c4179e99bc0cc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon4_1.xml @@ -0,0 +1,6 @@ +<XXX> + <BBB> + <CCC/> + <CCC/> + </BBB> +</XXX> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5.sct new file mode 100644 index 0000000000000000000000000000000000000000..36cb8bb1f92b6ce531b5c41a72f731bc52b50094 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5.sct @@ -0,0 +1,12 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Select empty elements CCC"> + <rule context="CCC"> + <assert test="normalize-space(.) and *">Source contains an empty element CCC </assert> + <report test="normalize-space(.) = ''">[1]An element CCC does not contain any text</report> + <assert test="normalize-space(.)">[2]An element CCC does not contain any text</assert> + <report test="not(*)">[1]An element CCC does not contain any child element</report> + <assert test="*">[2]An element CCC does not contain any child element</assert> + </rule> + </pattern> +</schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..dc7c36bad21297d5fb720b7c43144457b0cbc8bf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5_0.xml @@ -0,0 +1,5 @@ +<AAA> + <BBB> + <CCC/> + </BBB> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..2a114004aa0cc63284b679a3d8ba61791dab97db --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon5_2.xml @@ -0,0 +1,7 @@ +<AAA> + <BBB> + <CCC> + <DDD/> + </CCC> + </BBB> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6.sct new file mode 100644 index 0000000000000000000000000000000000000000..678ae5805dbd46f01d461665e193282b92c4a27a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6.sct @@ -0,0 +1,8 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Predefined values"> + <rule context="AAA"> + <report test="normalize-space(.) = 'aaa' or normalize-space(.) = 'bbb'">O.K.</report> + <assert test="normalize-space(.) = 'aaa' or normalize-space(.) = 'bbb'">The AAA value is not permitted.</assert> + </rule> + </pattern> +</schema> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..a3efb7014bbde896d4e2bc7ac6d8ebc9c7027526 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6_0.xml @@ -0,0 +1,3 @@ +<AAA> +aaa +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..555f24d48dffc4b8b644c0f03987a979f73287bf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon6_2.xml @@ -0,0 +1,3 @@ +<AAA> + ccc +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7.sct new file mode 100644 index 0000000000000000000000000000000000000000..a22a89ed57748971c786dab813e6979100a0cbb0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7.sct @@ -0,0 +1,9 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Test integer"> + <rule context="AAA"> + <report test="floor(.) = number(.)">O.K.</report> + <assert test="floor(.) = number(.)">The AAA value is not an integer.</assert> + </rule> + </pattern> +</schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..a3efb7014bbde896d4e2bc7ac6d8ebc9c7027526 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_0.xml @@ -0,0 +1,3 @@ +<AAA> +aaa +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..8da0ae593b54e696f017b311219cebbb2309e215 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_1.xml @@ -0,0 +1,3 @@ +<AAA> + 12.234 +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..e27cfe7865c9574c8b94d4b85f2cc40e8638d349 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_2.xml @@ -0,0 +1,3 @@ +<AAA> +45 +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..c17295af3214d04095208212d4287e4856d1ba17 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_3.xml @@ -0,0 +1,3 @@ +<AAA> +0 +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_4.xml new file mode 100644 index 0000000000000000000000000000000000000000..4f34fbea3fa70944978eb2672d61024558ffe7c6 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon7_4.xml @@ -0,0 +1,3 @@ +<AAA> +-45 +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8.sct new file mode 100644 index 0000000000000000000000000000000000000000..5641ecdb9cfe75785a9196b27afa5531fb0b0ad3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8.sct @@ -0,0 +1,10 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Test count"> + <rule context="/*"> + <report test="count(//BBB) = count(//AAA)">O.K.</report> + <assert test="count(//BBB) &lt;= count(//AAA)">Some AAA are missing</assert> + <report test="count(//BBB) &lt; count(//AAA)">Some BBB are missing</report> + </rule> + </pattern> +</schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..b6739bb43078aa6ea5a4be78e04f49e607504785 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_0.xml @@ -0,0 +1,8 @@ +<XXX> + <BBB/> + <BBB/> + <AAA/> + <BBB/> + <AAA/> + <AAA/> +</XXX> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..196dbe25721c6f2346bdb1b9681273554449c9d4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_1.xml @@ -0,0 +1,7 @@ +<XXX> + <BBB/> + <AAA/> + <BBB/> + <AAA/> + <AAA/> +</XXX> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..f85de825c4bf77ef8095267d8851d479becae684 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon8_2.xml @@ -0,0 +1,7 @@ +<XXX> + <BBB/> + <BBB/> + <AAA/> + <BBB/> + <AAA/> +</XXX> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9.sct b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9.sct new file mode 100644 index 0000000000000000000000000000000000000000..6f67877f17140287f4af904e0e4eb417813549f7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9.sct @@ -0,0 +1,9 @@ +<schema xmlns="http://www.ascc.net/xml/schematron" > + <pattern name="Test attribute"> + <rule context="CCC"> + <report test="parent::BBB and not(@id)">Attribute id is missing</report> + <report test="not(parent::BBB) and @id">Attribute id is used in wrong context</report> + </rule> + </pattern> +</schema> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9_0.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..d87151926984b46d3be512b6a02077bcd901dd4e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9_0.xml @@ -0,0 +1,7 @@ +<AAA> + <CCC/> + <CCC/> + <BBB> + <CCC id="Q1"/> + </BBB> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9_2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..7e09fab861cd6c441109a9b29a076be40f09cc07 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/schematron/zvon9_2.xml @@ -0,0 +1,7 @@ +<AAA> + <CCC/> + <CCC/> + <BBB> + <CCC/> + </BBB> +</AAA> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/a.example.org.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/a.example.org.xml new file mode 100644 index 0000000000000000000000000000000000000000..3de2c4533cdcc64e1aa3de87bafde0475c49cb63 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/a.example.org.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> +<rewriteSystem systemIdStartString="http://example.org/a" rewritePrefix="a"/> +<nextCatalog catalog="c.example.org.xml"/> +</catalog> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/a/a.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/a/a.dtd new file mode 100644 index 0000000000000000000000000000000000000000..b2980859f2e6b2f58c43fa1060bf773081aa9ce1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/a/a.dtd @@ -0,0 +1 @@ +<!ELEMENT a (#PCDATA)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/abc.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/abc.dtd new file mode 100644 index 0000000000000000000000000000000000000000..b7a08fe98c1149e9008872f86a82eab02aa0ada0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/abc.dtd @@ -0,0 +1,7 @@ +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ELEMENT abc (a, b, c)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/abc.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/abc.xml new file mode 100644 index 0000000000000000000000000000000000000000..b3488eb8b9024da97e8f97a42633f9ec6340810b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/abc.xml @@ -0,0 +1,7 @@ +<!DOCTYPE abc SYSTEM "http://example.org/abc.dtd"> +<abc> + <a>Let's use predefined entities &amp; &lt; &gt;</a> + <b>Let's use a DTD defined entity &bent;</b> + <c/> +</abc> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/acb.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/acb.dtd new file mode 100644 index 0000000000000000000000000000000000000000..9fc77c55c5f694f6287b4b8b7fa070f9ebb9c43e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/acb.dtd @@ -0,0 +1,7 @@ +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ELEMENT acb (a, c, b)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/acb.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/acb.xml new file mode 100644 index 0000000000000000000000000000000000000000..e8731c20b5387f1c664662aff78b4dbd9cfaf48a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/acb.xml @@ -0,0 +1,7 @@ +<!DOCTYPE acb SYSTEM "http://example.org/acb.dtd"> +<acb> + <a>Let's use predefined entities &amp; &lt; &gt;</a> + <c/> + <b>Let's use a DTD defined entity &bent;</b> +</acb> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/b.example.org.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/b.example.org.xml new file mode 100644 index 0000000000000000000000000000000000000000..2dfe5fc30441ea59f7999e404687beb6f76ebf8e --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/b.example.org.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> +<rewriteSystem systemIdStartString="http://example.org/b" rewritePrefix="b"/> +<nextCatalog catalog="c.example.org.xml"/> +</catalog> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/b/b.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/b/b.dtd new file mode 100644 index 0000000000000000000000000000000000000000..59de88eeabc0bff987ec72506d81bca429be85f7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/b/b.dtd @@ -0,0 +1,2 @@ +<!ELEMENT b (#PCDATA)> +<!ENTITY bent "the b entity"> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/bac.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/bac.dtd new file mode 100644 index 0000000000000000000000000000000000000000..d36a4e617b568ba64dd074def87e8ea229468549 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/bac.dtd @@ -0,0 +1,7 @@ +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ELEMENT bac (b, a, c)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/bac.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/bac.xml new file mode 100644 index 0000000000000000000000000000000000000000..899fdbf484da3ba0050289f91db089abfd63cd3a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/bac.xml @@ -0,0 +1,7 @@ +<!DOCTYPE bac SYSTEM "http://example.org/bac.dtd"> +<bac> + <b>Let's use a DTD defined entity &bent;</b> + <a>Let's use predefined entities &amp; &lt; &gt;</a> + <c/> +</bac> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/bca.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/bca.dtd new file mode 100644 index 0000000000000000000000000000000000000000..239192ada899f389f1946e225dd01eb5ec546a90 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/bca.dtd @@ -0,0 +1,7 @@ +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ELEMENT bca (b, c, a)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/bca.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/bca.xml new file mode 100644 index 0000000000000000000000000000000000000000..266c5668355aa7fe790d7a9197f2ac623445f871 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/bca.xml @@ -0,0 +1,7 @@ +<!DOCTYPE bca SYSTEM "http://example.org/bca.dtd"> +<bca> + <b>Let's use a DTD defined entity &bent;</b> + <c/> + <a>Let's use predefined entities &amp; &lt; &gt;</a> +</bca> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/c.example.org.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/c.example.org.xml new file mode 100644 index 0000000000000000000000000000000000000000..41348b137b5c02ef4e5bf88d111ab947e4ff2859 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/c.example.org.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> +<rewriteSystem systemIdStartString="http://example.org/c" rewritePrefix="c"/> +<rewriteSystem systemIdStartString="http://example.org/" rewritePrefix="./"/> +</catalog> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/c/c.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/c/c.dtd new file mode 100644 index 0000000000000000000000000000000000000000..7248a5bf932c1bf03ae6c7de6e0d1163feb11e61 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/c/c.dtd @@ -0,0 +1 @@ +<!ELEMENT c EMPTY> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/cab.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/cab.dtd new file mode 100644 index 0000000000000000000000000000000000000000..0a62e91a846351b62de6385342322821a0f78cc2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/cab.dtd @@ -0,0 +1,7 @@ +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ELEMENT cab (c, a, b)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/cab.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/cab.xml new file mode 100644 index 0000000000000000000000000000000000000000..9f5397cd76069be2f0baa2e7437b6bbc5a6a6faf --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/cab.xml @@ -0,0 +1,7 @@ +<!DOCTYPE cab SYSTEM "http://example.org/cab.dtd"> +<cab> + <c/> + <a>Let's use predefined entities &amp; &lt; &gt;</a> + <b>Let's use a DTD defined entity &bent;</b> +</cab> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/cba.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/threads/cba.dtd new file mode 100644 index 0000000000000000000000000000000000000000..71b96b474531fd04f8877d7b5ff5e102a9dbc005 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/cba.dtd @@ -0,0 +1,7 @@ +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ELEMENT cba (c, b, a)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/cba.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/cba.xml new file mode 100644 index 0000000000000000000000000000000000000000..548892698ad2c968c5e6bf85e49c783f89a97b61 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/cba.xml @@ -0,0 +1,7 @@ +<!DOCTYPE cba SYSTEM "http://example.org/cba.dtd"> +<cba> + <c/> + <b>Let's use a DTD defined entity &bent;</b> + <a>Let's use predefined entities &amp; &lt; &gt;</a> +</cba> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/complex.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/complex.xml new file mode 100644 index 0000000000000000000000000000000000000000..0174e9060e0b7dea57d1eb336909ae88834f7195 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/complex.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> +<delegateSystem systemIdStartString="http://example.org/" + catalog="example.org.xml"/> +</catalog> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/example.org.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/example.org.xml new file mode 100644 index 0000000000000000000000000000000000000000..21c26023c907e3b729a4c7ce6dae02fddeead060 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/example.org.xml @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> +<delegateSystem systemIdStartString="http://example.org/a" + catalog="a.example.org.xml"/> +<delegateSystem systemIdStartString="http://example.org/b" + catalog="b.example.org.xml"/> +<nextCatalog catalog="c.example.org.xml"/> +</catalog> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/threads/invalid.xml b/local-test-libxml2-delta-02/afc-libxml2/test/threads/invalid.xml new file mode 100644 index 0000000000000000000000000000000000000000..912327551ce4bfe108a32c939f8d41a3f94f8615 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/threads/invalid.xml @@ -0,0 +1,2 @@ +<!-- Well formed but invalid --> +<doc/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/127772.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/127772.xml new file mode 100644 index 0000000000000000000000000000000000000000..ba3919415081f99503d6c33dc3c21a32b927e2c9 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/127772.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<!DOCTYPE a SYSTEM "dtds/127772.dtd"> + +<a> + <b xlink:href="http://fakeurl.net">b text</b> +</a> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/694228.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/694228.xml new file mode 100644 index 0000000000000000000000000000000000000000..057c92627c6026c86bb7505cf26a84aded9fa1dc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/694228.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE root SYSTEM "dtds/694228.dtd"> +<root> + &entity; +</root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/737840.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/737840.xml new file mode 100644 index 0000000000000000000000000000000000000000..2d27b7319a612ef15942c76c5fafea83d7be089a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/737840.xml @@ -0,0 +1,10 @@ +<!DOCTYPE root [ +<!ELEMENT root (elem)> +<!ELEMENT elem (#PCDATA)> +<!ATTLIST elem id ID #IMPLIED> +<!ENTITY target SYSTEM "dtds/737840.ent"> +]> + +<root> + &target; +</root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/766956.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/766956.xml new file mode 100644 index 0000000000000000000000000000000000000000..19a95a0eeb062745e18ef51836b9b439366765ed --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/766956.xml @@ -0,0 +1,2 @@ +<!DOCTYPE test SYSTEM "dtds/766956.dtd"> +<test/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/781333.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/781333.xml new file mode 100644 index 0000000000000000000000000000000000000000..b29e5a688fa47522396865682908ff319d083c65 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/781333.xml @@ -0,0 +1,4 @@ +<!DOCTYPE a [ + <!ELEMENT a (pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp:llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll)> +]> +<a/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/REC-xml-19980210.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/REC-xml-19980210.xml new file mode 100644 index 0000000000000000000000000000000000000000..6591b6944f56e84b06523291c1da7ca55c467786 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/REC-xml-19980210.xml @@ -0,0 +1,4197 @@ +<?xml version='1.0' encoding='ISO-8859-1' standalone='no'?> +<!DOCTYPE spec SYSTEM "dtds/spec.dtd" [ + +<!-- LAST TOUCHED BY: Tim Bray, 8 February 1997 --> + +<!-- The words 'FINAL EDIT' in comments mark places where changes +need to be made after approval of the document by the ERB, before +publication. --> + +<!ENTITY XML.version "1.0"> +<!ENTITY doc.date "10 February 1998"> +<!ENTITY iso6.doc.date "19980210"> +<!ENTITY w3c.doc.date "02-Feb-1998"> +<!ENTITY draft.day '10'> +<!ENTITY draft.month 'February'> +<!ENTITY draft.year '1998'> + +<!ENTITY WebSGML + 'WebSGML Adaptations Annex to ISO 8879'> + +<!ENTITY lt "&#38;#60;"> +<!ENTITY gt ">"> +<!ENTITY xmlpio "'&lt;?xml'"> +<!ENTITY pic "'?>'"> +<!ENTITY br "\n"> +<!ENTITY cellback '#c0d9c0'> +<!ENTITY mdash "--"> <!-- &#x2014, but nsgmls doesn't grok hex --> +<!ENTITY com "--"> +<!ENTITY como "--"> +<!ENTITY comc "--"> +<!ENTITY hcro "&amp;#x"> +<!-- <!ENTITY nbsp " "> --> +<!ENTITY nbsp "&#160;"> +<!ENTITY magicents "<code>amp</code>, +<code>lt</code>, +<code>gt</code>, +<code>apos</code>, +<code>quot</code>"> + +<!-- audience and distribution status: for use at publication time --> +<!ENTITY doc.audience "public review and discussion"> +<!ENTITY doc.distribution "may be distributed freely, as long as +all text and legal notices remain intact"> + +]> + +<!-- for Panorama *--> +<?VERBATIM "eg" ?> + +<spec> +<header> +<title>Extensible Markup Language (XML) 1.0</title> +<version></version> +<w3c-designation>REC-xml-&iso6.doc.date;</w3c-designation> +<w3c-doctype>W3C Recommendation</w3c-doctype> +<pubdate><day>&draft.day;</day><month>&draft.month;</month><year>&draft.year;</year></pubdate> + +<publoc> +<loc href="http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;"> +http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;</loc> +<loc href="http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;.xml"> +http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;.xml</loc> +<loc href="http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;.html"> +http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;.html</loc> +<loc href="http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;.pdf"> +http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;.pdf</loc> +<loc href="http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;.ps"> +http://www.w3.org/TR/1998/REC-xml-&iso6.doc.date;.ps</loc> +</publoc> +<latestloc> +<loc href="http://www.w3.org/TR/REC-xml"> +http://www.w3.org/TR/REC-xml</loc> +</latestloc> +<prevlocs> +<loc href="http://www.w3.org/TR/PR-xml-971208"> +http://www.w3.org/TR/PR-xml-971208</loc> +<!-- +<loc href='http://www.w3.org/TR/WD-xml-961114'> +http://www.w3.org/TR/WD-xml-961114</loc> +<loc href='http://www.w3.org/TR/WD-xml-lang-970331'> +http://www.w3.org/TR/WD-xml-lang-970331</loc> +<loc href='http://www.w3.org/TR/WD-xml-lang-970630'> +http://www.w3.org/TR/WD-xml-lang-970630</loc> +<loc href='http://www.w3.org/TR/WD-xml-970807'> +http://www.w3.org/TR/WD-xml-970807</loc> +<loc href='http://www.w3.org/TR/WD-xml-971117'> +http://www.w3.org/TR/WD-xml-971117</loc>--> +</prevlocs> +<authlist> +<author><name>Tim Bray</name> +<affiliation>Textuality and Netscape</affiliation> +<email +href="mailto:tbray@textuality.com">tbray@textuality.com</email></author> +<author><name>Jean Paoli</name> +<affiliation>Microsoft</affiliation> +<email href="mailto:jeanpa@microsoft.com">jeanpa@microsoft.com</email></author> +<author><name>C. M. Sperberg-McQueen</name> +<affiliation>University of Illinois at Chicago</affiliation> +<email href="mailto:cmsmcq@uic.edu">cmsmcq@uic.edu</email></author> +</authlist> +<abstract> +<p>The Extensible Markup Language (XML) is a subset of +SGML that is completely described in this document. Its goal is to +enable generic SGML to be served, received, and processed on the Web +in the way that is now possible with HTML. XML has been designed for +ease of implementation and for interoperability with both SGML and +HTML.</p> +</abstract> +<status> +<p>This document has been reviewed by W3C Members and +other interested parties and has been endorsed by the +Director as a W3C Recommendation. It is a stable +document and may be used as reference material or cited +as a normative reference from another document. W3C's +role in making the Recommendation is to draw attention +to the specification and to promote its widespread +deployment. This enhances the functionality and +interoperability of the Web.</p> +<p> +This document specifies a syntax created by subsetting an existing, +widely used international text processing standard (Standard +Generalized Markup Language, ISO 8879:1986(E) as amended and +corrected) for use on the World Wide Web. It is a product of the W3C +XML Activity, details of which can be found at <loc +href='http://www.w3.org/XML'>http://www.w3.org/XML</loc>. A list of +current W3C Recommendations and other technical documents can be found +at <loc href='http://www.w3.org/TR'>http://www.w3.org/TR</loc>. +</p> +<p>This specification uses the term URI, which is defined by <bibref +ref="Berners-Lee"/>, a work in progress expected to update <bibref +ref="RFC1738"/> and <bibref ref="RFC1808"/>. +</p> +<p>The list of known errors in this specification is +available at +<loc href='http://www.w3.org/XML/xml-19980210-errata'>http://www.w3.org/XML/xml-19980210-errata</loc>.</p> +<p>Please report errors in this document to +<loc href='mailto:xml-editor@w3.org'>xml-editor@w3.org</loc>. +</p> +</status> + + +<pubstmt> +<p>Chicago, Vancouver, Mountain View, et al.: +World-Wide Web Consortium, XML Working Group, 1996, 1997.</p> +</pubstmt> +<sourcedesc> +<p>Created in electronic form.</p> +</sourcedesc> +<langusage> +<language id='EN'>English</language> +<language id='ebnf'>Extended Backus-Naur Form (formal grammar)</language> +</langusage> +<revisiondesc> +<slist> +<sitem>1997-12-03 : CMSMcQ : yet further changes</sitem> +<sitem>1997-12-02 : TB : further changes (see TB to XML WG, +2 December 1997)</sitem> +<sitem>1997-12-02 : CMSMcQ : deal with as many corrections and +comments from the proofreaders as possible: +entify hard-coded document date in pubdate element, +change expansion of entity WebSGML, +update status description as per Dan Connolly (am not sure +about refernece to Berners-Lee et al.), +add 'The' to abstract as per WG decision, +move Relationship to Existing Standards to back matter and +combine with References, +re-order back matter so normative appendices come first, +re-tag back matter so informative appendices are tagged informdiv1, +remove XXX XXX from list of 'normative' specs in prose, +move some references from Other References to Normative References, +add RFC 1738, 1808, and 2141 to Other References (they are not +normative since we do not require the processor to enforce any +rules based on them), +add reference to 'Fielding draft' (Berners-Lee et al.), +move notation section to end of body, +drop URIchar non-terminal and use SkipLit instead, +lose stray reference to defunct nonterminal 'markupdecls', +move reference to Aho et al. into appendix (Tim's right), +add prose note saying that hash marks and fragment identifiers are +NOT part of the URI formally speaking, and are NOT legal in +system identifiers (processor 'may' signal an error). +Work through: +Tim Bray reacting to James Clark, +Tim Bray on his own, +Eve Maler, + +NOT DONE YET: +change binary / text to unparsed / parsed. +handle James's suggestion about &lt; in attriubte values +uppercase hex characters, +namechar list, +</sitem> +<sitem>1997-12-01 : JB : add some column-width parameters</sitem> +<sitem>1997-12-01 : CMSMcQ : begin round of changes to incorporate +recent WG decisions and other corrections: +binding sources of character encoding info (27 Aug / 3 Sept), +correct wording of Faust quotation (restore dropped line), +drop SDD from EncodingDecl, +change text at version number 1.0, +drop misleading (wrong!) sentence about ignorables and extenders, +modify definition of PCData to make bar on msc grammatical, +change grammar's handling of internal subset (drop non-terminal markupdecls), +change definition of includeSect to allow conditional sections, +add integral-declaration constraint on internal subset, +drop misleading / dangerous sentence about relationship of +entities with system storage objects, +change table body tag to htbody as per EM change to DTD, +add rule about space normalization in public identifiers, +add description of how to generate our name-space rules from +Unicode character database (needs further work!). +</sitem> +<sitem>1997-10-08 : TB : Removed %-constructs again, new rules +for PE appearance.</sitem> +<sitem>1997-10-01 : TB : Case-sensitive markup; cleaned up +element-type defs, lotsa little edits for style</sitem> +<sitem>1997-09-25 : TB : Change to elm's new DTD, with +substantial detail cleanup as a side-effect</sitem> +<sitem>1997-07-24 : CMSMcQ : correct error (lost *) in definition +of ignoreSectContents (thanks to Makoto Murata)</sitem> +<sitem>Allow all empty elements to have end-tags, consistent with +SGML TC (as per JJC).</sitem> +<sitem>1997-07-23 : CMSMcQ : pre-emptive strike on pending corrections: +introduce the term 'empty-element tag', note that all empty elements +may use it, and elements declared EMPTY must use it. +Add WFC requiring encoding decl to come first in an entity. +Redefine notations to point to PIs as well as binary entities. +Change autodetection table by removing bytes 3 and 4 from +examples with Byte Order Mark. +Add content model as a term and clarify that it applies to both +mixed and element content. +</sitem> +<sitem>1997-06-30 : CMSMcQ : change date, some cosmetic changes, +changes to productions for choice, seq, Mixed, NotationType, +Enumeration. Follow James Clark's suggestion and prohibit +conditional sections in internal subset. TO DO: simplify +production for ignored sections as a result, since we don't +need to worry about parsers which don't expand PErefs finding +a conditional section.</sitem> +<sitem>1997-06-29 : TB : various edits</sitem> +<sitem>1997-06-29 : CMSMcQ : further changes: +Suppress old FINAL EDIT comments and some dead material. +Revise occurrences of % in grammar to exploit Henry Thompson's pun, +especially markupdecl and attdef. +Remove RMD requirement relating to element content (?). +</sitem> +<sitem>1997-06-28 : CMSMcQ : Various changes for 1 July draft: +Add text for draconian error handling (introduce +the term Fatal Error). +RE deleta est (changing wording from +original announcement to restrict the requirement to validating +parsers). +Tag definition of validating processor and link to it. +Add colon as name character. +Change def of %operator. +Change standard definitions of lt, gt, amp. +Strip leading zeros from #x00nn forms.</sitem> +<sitem>1997-04-02 : CMSMcQ : final corrections of editorial errors +found in last night's proofreading. Reverse course once more on +well-formed: Webster's Second hyphenates it, and that's enough +for me.</sitem> +<sitem>1997-04-01 : CMSMcQ : corrections from JJC, EM, HT, and self</sitem> +<sitem>1997-03-31 : Tim Bray : many changes</sitem> +<sitem>1997-03-29 : CMSMcQ : some Henry Thompson (on entity handling), +some Charles Goldfarb, some ERB decisions (PE handling in miscellaneous +declarations. Changed Ident element to accept def attribute. +Allow normalization of Unicode characters. move def of systemliteral +into section on literals.</sitem> +<sitem>1997-03-28 : CMSMcQ : make as many corrections as possible, from +Terry Allen, Norbert Mikula, James Clark, Jon Bosak, Henry Thompson, +Paul Grosso, and self. Among other things: give in on "well formed" +(Terry is right), tentatively rename QuotedCData as AttValue +and Literal as EntityValue to be more informative, since attribute +values are the <emph>only</emph> place QuotedCData was used, and +vice versa for entity text and Literal. (I'd call it Entity Text, +but 8879 uses that name for both internal and external entities.)</sitem> +<sitem>1997-03-26 : CMSMcQ : resynch the two forks of this draft, reapply +my changes dated 03-20 and 03-21. Normalize old 'may not' to 'must not' +except in the one case where it meant 'may or may not'.</sitem> +<sitem>1997-03-21 : TB : massive changes on plane flight from Chicago +to Vancouver</sitem> +<sitem>1997-03-21 : CMSMcQ : correct as many reported errors as possible. +</sitem> +<sitem>1997-03-20 : CMSMcQ : correct typos listed in CMSMcQ hand copy of spec.</sitem> +<sitem>1997-03-20 : CMSMcQ : cosmetic changes preparatory to revision for +WWW conference April 1997: restore some of the internal entity +references (e.g. to docdate, etc.), change character xA0 to &amp;nbsp; +and define nbsp as &amp;#160;, and refill a lot of paragraphs for +legibility.</sitem> +<sitem>1996-11-12 : CMSMcQ : revise using Tim's edits: +Add list type of NUMBERED and change most lists either to +BULLETS or to NUMBERED. +Suppress QuotedNames, Names (not used). +Correct trivial-grammar doc type decl. +Rename 'marked section' as 'CDATA section' passim. +Also edits from James Clark: +Define the set of characters from which [^abc] subtracts. +Charref should use just [0-9] not Digit. +Location info needs cleaner treatment: remove? (ERB +question). +One example of a PI has wrong pic. +Clarify discussion of encoding names. +Encoding failure should lead to unspecified results; don't +prescribe error recovery. +Don't require exposure of entity boundaries. +Ignore white space in element content. +Reserve entity names of the form u-NNNN. +Clarify relative URLs. +And some of my own: +Correct productions for content model: model cannot +consist of a name, so "elements ::= cp" is no good. +</sitem> +<sitem>1996-11-11 : CMSMcQ : revise for style. +Add new rhs to entity declaration, for parameter entities.</sitem> +<sitem>1996-11-10 : CMSMcQ : revise for style. +Fix / complete section on names, characters. +Add sections on parameter entities, conditional sections. +Still to do: Add compatibility note on deterministic content models. +Finish stylistic revision.</sitem> +<sitem>1996-10-31 : TB : Add Entity Handling section</sitem> +<sitem>1996-10-30 : TB : Clean up term &amp; termdef. Slip in +ERB decision re EMPTY.</sitem> +<sitem>1996-10-28 : TB : Change DTD. Implement some of Michael's +suggestions. Change comments back to //. Introduce language for +XML namespace reservation. Add section on white-space handling. +Lots more cleanup.</sitem> +<sitem>1996-10-24 : CMSMcQ : quick tweaks, implement some ERB +decisions. Characters are not integers. Comments are /* */ not //. +Add bibliographic refs to 10646, HyTime, Unicode. +Rename old Cdata as MsData since it's <emph>only</emph> seen +in marked sections. Call them attribute-value pairs not +name-value pairs, except once. Internal subset is optional, needs +'?'. Implied attributes should be signaled to the app, not +have values supplied by processor.</sitem> +<sitem>1996-10-16 : TB : track down &amp; excise all DSD references; +introduce some EBNF for entity declarations.</sitem> +<sitem>1996-10-?? : TB : consistency check, fix up scraps so +they all parse, get formatter working, correct a few productions.</sitem> +<sitem>1996-10-10/11 : CMSMcQ : various maintenance, stylistic, and +organizational changes: +Replace a few literals with xmlpio and +pic entities, to make them consistent and ensure we can change pic +reliably when the ERB votes. +Drop paragraph on recognizers from notation section. +Add match, exact match to terminology. +Move old 2.2 XML Processors and Apps into intro. +Mention comments, PIs, and marked sections in discussion of +delimiter escaping. +Streamline discussion of doctype decl syntax. +Drop old section of 'PI syntax' for doctype decl, and add +section on partial-DTD summary PIs to end of Logical Structures +section. +Revise DSD syntax section to use Tim's subset-in-a-PI +mechanism.</sitem> +<sitem>1996-10-10 : TB : eliminate name recognizers (and more?)</sitem> +<sitem>1996-10-09 : CMSMcQ : revise for style, consistency through 2.3 +(Characters)</sitem> +<sitem>1996-10-09 : CMSMcQ : re-unite everything for convenience, +at least temporarily, and revise quickly</sitem> +<sitem>1996-10-08 : TB : first major homogenization pass</sitem> +<sitem>1996-10-08 : TB : turn "current" attribute on div type into +CDATA</sitem> +<sitem>1996-10-02 : TB : remould into skeleton + entities</sitem> +<sitem>1996-09-30 : CMSMcQ : add a few more sections prior to exchange + with Tim.</sitem> +<sitem>1996-09-20 : CMSMcQ : finish transcribing notes.</sitem> +<sitem>1996-09-19 : CMSMcQ : begin transcribing notes for draft.</sitem> +<sitem>1996-09-13 : CMSMcQ : made outline from notes of 09-06, +do some housekeeping</sitem> +</slist> +</revisiondesc> +</header> +<body> +<div1 id='sec-intro'> +<head>Introduction</head> +<p>Extensible Markup Language, abbreviated XML, describes a class of +data objects called <termref def="dt-xml-doc">XML documents</termref> and +partially describes the behavior of +computer programs which process them. XML is an application profile or +restricted form of SGML, the Standard Generalized Markup +Language <bibref ref='ISO8879'/>. +By construction, XML documents +are conforming SGML documents. +</p> +<p>XML documents are made up of storage units called <termref +def="dt-entity">entities</termref>, which contain either parsed +or unparsed data. +Parsed data is made up of <termref def="dt-character">characters</termref>, +some +of which form <termref def="dt-chardata">character data</termref>, +and some of which form <termref def="dt-markup">markup</termref>. +Markup encodes a description of the document's storage layout and +logical structure. XML provides a mechanism to impose constraints on +the storage layout and logical structure.</p> +<p><termdef id="dt-xml-proc" term="XML Processor">A software module +called an <term>XML processor</term> is used to read XML documents +and provide access to their content and structure.</termdef> <termdef +id="dt-app" term="Application">It is assumed that an XML processor is +doing its work on behalf of another module, called the +<term>application</term>.</termdef> This specification describes the +required behavior of an XML processor in terms of how it must read XML +data and the information it must provide to the application.</p> + +<div2 id='sec-origin-goals'> +<head>Origin and Goals</head> +<p>XML was developed by an XML Working Group (originally known as the +SGML Editorial Review Board) formed under the auspices of the World +Wide Web Consortium (W3C) in 1996. +It was chaired by Jon Bosak of Sun +Microsystems with the active participation of an XML Special +Interest Group (previously known as the SGML Working Group) also +organized by the W3C. The membership of the XML Working Group is given +in an appendix. Dan Connolly served as the WG's contact with the W3C. +</p> +<p>The design goals for XML are:<olist> +<item><p>XML shall be straightforwardly usable over the +Internet.</p></item> +<item><p>XML shall support a wide variety of applications.</p></item> +<item><p>XML shall be compatible with SGML.</p></item> +<item><p>It shall be easy to write programs which process XML +documents.</p></item> +<item><p>The number of optional features in XML is to be kept to the +absolute minimum, ideally zero.</p></item> +<item><p>XML documents should be human-legible and reasonably +clear.</p></item> +<item><p>The XML design should be prepared quickly.</p></item> +<item><p>The design of XML shall be formal and concise.</p></item> +<item><p>XML documents shall be easy to create.</p></item> +<item><p>Terseness in XML markup is of minimal importance.</p></item></olist> +</p> +<p>This specification, +together with associated standards +(Unicode and ISO/IEC 10646 for characters, +Internet RFC 1766 for language identification tags, +ISO 639 for language name codes, and +ISO 3166 for country name codes), +provides all the information necessary to understand +XML Version &XML.version; +and construct computer programs to process it.</p> +<p>This version of the XML specification +<!-- is for &doc.audience;.--> +&doc.distribution;.</p> + +</div2> + + + + +<div2 id='sec-terminology'> +<head>Terminology</head> + +<p>The terminology used to describe XML documents is defined in the body of +this specification. +The terms defined in the following list are used in building those +definitions and in describing the actions of an XML processor: +<glist> +<gitem> +<label>may</label> +<def><p><termdef id="dt-may" term="May">Conforming documents and XML +processors are permitted to but need not behave as +described.</termdef></p></def> +</gitem> +<gitem> +<label>must</label> +<def><p>Conforming documents and XML processors +are required to behave as described; otherwise they are in error. +<!-- do NOT change this! this is what defines a violation of +a 'must' clause as 'an error'. -MSM --> +</p></def> +</gitem> +<gitem> +<label>error</label> +<def><p><termdef id='dt-error' term='Error' +>A violation of the rules of this +specification; results are +undefined. Conforming software may detect and report an error and may +recover from it.</termdef></p></def> +</gitem> +<gitem> +<label>fatal error</label> +<def><p><termdef id="dt-fatal" term="Fatal Error">An error +which a conforming <termref def="dt-xml-proc">XML processor</termref> +must detect and report to the application. +After encountering a fatal error, the +processor may continue +processing the data to search for further errors and may report such +errors to the application. In order to support correction of errors, +the processor may make unprocessed data from the document (with +intermingled character data and markup) available to the application. +Once a fatal error is detected, however, the processor must not +continue normal processing (i.e., it must not +continue to pass character data and information about the document's +logical structure to the application in the normal way). +</termdef></p></def> +</gitem> +<gitem> +<label>at user option</label> +<def><p>Conforming software may or must (depending on the modal verb in the +sentence) behave as described; if it does, it must +provide users a means to enable or disable the behavior +described.</p></def> +</gitem> +<gitem> +<label>validity constraint</label> +<def><p>A rule which applies to all +<termref def="dt-valid">valid</termref> XML documents. +Violations of validity constraints are errors; they must, at user option, +be reported by +<termref def="dt-validating">validating XML processors</termref>.</p></def> +</gitem> +<gitem> +<label>well-formedness constraint</label> +<def><p>A rule which applies to all <termref +def="dt-wellformed">well-formed</termref> XML documents. +Violations of well-formedness constraints are +<termref def="dt-fatal">fatal errors</termref>.</p></def> +</gitem> + +<gitem> +<label>match</label> +<def><p><termdef id="dt-match" term="match">(Of strings or names:) +Two strings or names being compared must be identical. +Characters with multiple possible representations in ISO/IEC 10646 (e.g. +characters with +both precomposed and base+diacritic forms) match only if they have the +same representation in both strings. +At user option, processors may normalize such characters to +some canonical form. +No case folding is performed. +(Of strings and rules in the grammar:) +A string matches a grammatical production if it belongs to the +language generated by that production. +(Of content and content models:) +An element matches its declaration when it conforms +in the fashion described in the constraint +<specref ref='elementvalid'/>. +</termdef> +</p></def> +</gitem> +<gitem> +<label>for compatibility</label> +<def><p><termdef id="dt-compat" term="For Compatibility">A feature of +XML included solely to ensure that XML remains compatible with SGML. +</termdef></p></def> +</gitem> +<gitem> +<label>for interoperability</label> +<def><p><termdef id="dt-interop" term="For interoperability">A +non-binding recommendation included to increase the chances that XML +documents can be processed by the existing installed base of SGML +processors which predate the +&WebSGML;.</termdef></p></def> +</gitem> +</glist> +</p> +</div2> + + +</div1> +<!-- &Docs; --> + +<div1 id='sec-documents'> +<head>Documents</head> + +<p><termdef id="dt-xml-doc" term="XML Document"> +A data object is an +<term>XML document</term> if it is +<termref def="dt-wellformed">well-formed</termref>, as +defined in this specification. +A well-formed XML document may in addition be +<termref def="dt-valid">valid</termref> if it meets certain further +constraints.</termdef></p> + +<p>Each XML document has both a logical and a physical structure. +Physically, the document is composed of units called <termref +def="dt-entity">entities</termref>. An entity may <termref +def="dt-entref">refer</termref> to other entities to cause their +inclusion in the document. A document begins in a "root" or <termref +def="dt-docent">document entity</termref>. +Logically, the document is composed of declarations, elements, +comments, +character references, and +processing +instructions, all of which are indicated in the document by explicit +markup. +The logical and physical structures must nest properly, as described +in <specref ref='wf-entities'/>. +</p> + +<div2 id='sec-well-formed'> +<head>Well-Formed XML Documents</head> + +<p><termdef id="dt-wellformed" term="Well-Formed"> +A textual object is +a well-formed XML document if:</termdef> +<olist> +<item><p>Taken as a whole, it +matches the production labeled <nt def='NT-document'>document</nt>.</p></item> +<item><p>It +meets all the well-formedness constraints given in this specification.</p> +</item> +<item><p>Each of the <termref def='dt-parsedent'>parsed entities</termref> +which is referenced directly or indirectly within the document is +<titleref href='wf-entities'>well-formed</titleref>.</p></item> +</olist></p> +<p> +<scrap lang='ebnf' id='document'> +<head>Document</head> +<prod id='NT-document'><lhs>document</lhs> +<rhs><nt def='NT-prolog'>prolog</nt> +<nt def='NT-element'>element</nt> +<nt def='NT-Misc'>Misc</nt>*</rhs></prod> +</scrap> +</p> +<p>Matching the <nt def="NT-document">document</nt> production +implies that: +<olist> +<item><p>It contains one or more +<termref def="dt-element">elements</termref>.</p> +</item> +<!--* N.B. some readers (notably JC) find the following +paragraph awkward and redundant. I agree it's logically redundant: +it *says* it is summarizing the logical implications of +matching the grammar, and that means by definition it's +logically redundant. I don't think it's rhetorically +redundant or unnecessary, though, so I'm keeping it. It +could however use some recasting when the editors are feeling +stronger. -MSM *--> +<item><p><termdef id="dt-root" term="Root Element">There is exactly +one element, called the <term>root</term>, or document element, no +part of which appears in the <termref +def="dt-content">content</termref> of any other element.</termdef> +For all other elements, if the start-tag is in the content of another +element, the end-tag is in the content of the same element. More +simply stated, the elements, delimited by start- and end-tags, nest +properly within each other. +</p></item> +</olist> +</p> +<p><termdef id="dt-parentchild" term="Parent/Child">As a consequence +of this, +for each non-root element +<code>C</code> in the document, there is one other element <code>P</code> +in the document such that +<code>C</code> is in the content of <code>P</code>, but is not in +the content of any other element that is in the content of +<code>P</code>. +<code>P</code> is referred to as the +<term>parent</term> of <code>C</code>, and <code>C</code> as a +<term>child</term> of <code>P</code>.</termdef></p></div2> + +<div2 id="charsets"> +<head>Characters</head> + +<p><termdef id="dt-text" term="Text">A parsed entity contains +<term>text</term>, a sequence of +<termref def="dt-character">characters</termref>, +which may represent markup or character data.</termdef> +<termdef id="dt-character" term="Character">A <term>character</term> +is an atomic unit of text as specified by +ISO/IEC 10646 <bibref ref="ISO10646"/>. +Legal characters are tab, carriage return, line feed, and the legal +graphic characters of Unicode and ISO/IEC 10646. +The use of "compatibility characters", as defined in section 6.8 +of <bibref ref='Unicode'/>, is discouraged. +</termdef> +<scrap lang="ebnf" id="char32"> +<head>Character Range</head> +<prodgroup pcw2="4" pcw4="17.5" pcw5="11"> +<prod id="NT-Char"><lhs>Char</lhs> +<rhs>#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] +| [#x10000-#x10FFFF]</rhs> +<com>any Unicode character, excluding the +surrogate blocks, FFFE, and FFFF.</com> </prod> +</prodgroup> +</scrap> +</p> + +<p>The mechanism for encoding character code points into bit patterns may +vary from entity to entity. All XML processors must accept the UTF-8 +and UTF-16 encodings of 10646; the mechanisms for signaling which of +the two is in use, or for bringing other encodings into play, are +discussed later, in <specref ref='charencoding'/>. +</p> +<!-- +<p>Regardless of the specific encoding used, any character in the ISO/IEC +10646 character set may be referred to by the decimal or hexadecimal +equivalent of its +UCS-4 code value. +</p>--> +</div2> + +<div2 id='sec-common-syn'> +<head>Common Syntactic Constructs</head> + +<p>This section defines some symbols used widely in the grammar.</p> +<p><nt def="NT-S">S</nt> (white space) consists of one or more space (#x20) +characters, carriage returns, line feeds, or tabs. + +<scrap lang="ebnf" id='white'> +<head>White Space</head> +<prodgroup pcw2="4" pcw4="17.5" pcw5="11"> +<prod id='NT-S'><lhs>S</lhs> +<rhs>(#x20 | #x9 | #xD | #xA)+</rhs> +</prod> +</prodgroup> +</scrap></p> +<p>Characters are classified for convenience as letters, digits, or other +characters. Letters consist of an alphabetic or syllabic +base character possibly +followed by one or more combining characters, or of an ideographic +character. +Full definitions of the specific characters in each class +are given in <specref ref='CharClasses'/>.</p> +<p><termdef id="dt-name" term="Name">A <term>Name</term> is a token +beginning with a letter or one of a few punctuation characters, and continuing +with letters, digits, hyphens, underscores, colons, or full stops, together +known as name characters.</termdef> +Names beginning with the string "<code>xml</code>", or any string +which would match <code>(('X'|'x') ('M'|'m') ('L'|'l'))</code>, are +reserved for standardization in this or future versions of this +specification. +</p> +<note> +<p>The colon character within XML names is reserved for experimentation with +name spaces. +Its meaning is expected to be +standardized at some future point, at which point those documents +using the colon for experimental purposes may need to be updated. +(There is no guarantee that any name-space mechanism +adopted for XML will in fact use the colon as a name-space delimiter.) +In practice, this means that authors should not use the colon in XML +names except as part of name-space experiments, but that XML processors +should accept the colon as a name character.</p> +</note> +<p>An +<nt def='NT-Nmtoken'>Nmtoken</nt> (name token) is any mixture of +name characters. +<scrap lang='ebnf'> +<head>Names and Tokens</head> +<prod id='NT-NameChar'><lhs>NameChar</lhs> +<rhs><nt def="NT-Letter">Letter</nt> +| <nt def='NT-Digit'>Digit</nt> +| '.' | '-' | '_' | ':' +| <nt def='NT-CombiningChar'>CombiningChar</nt> +| <nt def='NT-Extender'>Extender</nt></rhs> +</prod> +<prod id='NT-Name'><lhs>Name</lhs> +<rhs>(<nt def='NT-Letter'>Letter</nt> | '_' | ':') +(<nt def='NT-NameChar'>NameChar</nt>)*</rhs></prod> +<prod id='NT-Names'><lhs>Names</lhs> +<rhs><nt def='NT-Name'>Name</nt> +(<nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt>)*</rhs></prod> +<prod id='NT-Nmtoken'><lhs>Nmtoken</lhs> +<rhs>(<nt def='NT-NameChar'>NameChar</nt>)+</rhs></prod> +<prod id='NT-Nmtokens'><lhs>Nmtokens</lhs> +<rhs><nt def='NT-Nmtoken'>Nmtoken</nt> (<nt def='NT-S'>S</nt> <nt def='NT-Nmtoken'>Nmtoken</nt>)*</rhs></prod> +</scrap> +</p> +<p>Literal data is any quoted string not containing +the quotation mark used as a delimiter for that string. +Literals are used +for specifying the content of internal entities +(<nt def='NT-EntityValue'>EntityValue</nt>), +the values of attributes (<nt def='NT-AttValue'>AttValue</nt>), +and external identifiers +(<nt def="NT-SystemLiteral">SystemLiteral</nt>). +Note that a <nt def='NT-SystemLiteral'>SystemLiteral</nt> +can be parsed without scanning for markup. +<scrap lang='ebnf'> +<head>Literals</head> +<prod id='NT-EntityValue'><lhs>EntityValue</lhs> +<rhs>'"' +([^%&amp;"] +| <nt def='NT-PEReference'>PEReference</nt> +| <nt def='NT-Reference'>Reference</nt>)* +'"' +</rhs> +<rhs>|&nbsp; +"'" +([^%&amp;'] +| <nt def='NT-PEReference'>PEReference</nt> +| <nt def='NT-Reference'>Reference</nt>)* +"'"</rhs> +</prod> +<prod id='NT-AttValue'><lhs>AttValue</lhs> +<rhs>'"' +([^&lt;&amp;"] +| <nt def='NT-Reference'>Reference</nt>)* +'"' +</rhs> +<rhs>|&nbsp; +"'" +([^&lt;&amp;'] +| <nt def='NT-Reference'>Reference</nt>)* +"'"</rhs> +</prod> +<prod id="NT-SystemLiteral"><lhs>SystemLiteral</lhs> +<rhs>('"' [^"]* '"') |&nbsp;("'" [^']* "'") +</rhs> +</prod> +<prod id="NT-PubidLiteral"><lhs>PubidLiteral</lhs> +<rhs>'"' <nt def='NT-PubidChar'>PubidChar</nt>* +'"' +| "'" (<nt def='NT-PubidChar'>PubidChar</nt> - "'")* "'"</rhs> +</prod> +<prod id="NT-PubidChar"><lhs>PubidChar</lhs> +<rhs>#x20 | #xD | #xA +|&nbsp;[a-zA-Z0-9] +|&nbsp;[-'()+,./:=?;!*#@$_%]</rhs> +</prod> +</scrap> +</p> + +</div2> + +<div2 id='syntax'> +<head>Character Data and Markup</head> + +<p><termref def='dt-text'>Text</termref> consists of intermingled +<termref def="dt-chardata">character +data</termref> and markup. +<termdef id="dt-markup" term="Markup"><term>Markup</term> takes the form of +<termref def="dt-stag">start-tags</termref>, +<termref def="dt-etag">end-tags</termref>, +<termref def="dt-empty">empty-element tags</termref>, +<termref def="dt-entref">entity references</termref>, +<termref def="dt-charref">character references</termref>, +<termref def="dt-comment">comments</termref>, +<termref def="dt-cdsection">CDATA section</termref> delimiters, +<termref def="dt-doctype">document type declarations</termref>, and +<termref def="dt-pi">processing instructions</termref>. +</termdef> +</p> +<p><termdef id="dt-chardata" term="Character Data">All text that is not markup +constitutes the <term>character data</term> of +the document.</termdef></p> +<p>The ampersand character (&amp;) and the left angle bracket (&lt;) +may appear in their literal form <emph>only</emph> when used as markup +delimiters, or within a <termref def="dt-comment">comment</termref>, a +<termref def="dt-pi">processing instruction</termref>, +or a <termref def="dt-cdsection">CDATA section</termref>. + +They are also legal within the <termref def='dt-litentval'>literal entity +value</termref> of an internal entity declaration; see +<specref ref='wf-entities'/>. +<!-- FINAL EDIT: restore internal entity decl or leave it out. --> +If they are needed elsewhere, +they must be <termref def="dt-escape">escaped</termref> +using either <termref def='dt-charref'>numeric character references</termref> +or the strings +"<code>&amp;amp;</code>" and "<code>&amp;lt;</code>" respectively. +The right angle +bracket (>) may be represented using the string +"<code>&amp;gt;</code>", and must, <termref def='dt-compat'>for +compatibility</termref>, +be escaped using +"<code>&amp;gt;</code>" or a character reference +when it appears in the string +"<code>]]&gt;</code>" +in content, +when that string is not marking the end of +a <termref def="dt-cdsection">CDATA section</termref>. +</p> +<p> +In the content of elements, character data +is any string of characters which does +not contain the start-delimiter of any markup. +In a CDATA section, character data +is any string of characters not including the CDATA-section-close +delimiter, "<code>]]&gt;</code>".</p> +<p> +To allow attribute values to contain both single and double quotes, the +apostrophe or single-quote character (') may be represented as +"<code>&amp;apos;</code>", and the double-quote character (") as +"<code>&amp;quot;</code>". +<scrap lang="ebnf"> +<head>Character Data</head> +<prod id='NT-CharData'> +<lhs>CharData</lhs> +<rhs>[^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</rhs> +</prod> +</scrap> +</p> +</div2> + +<div2 id='sec-comments'> +<head>Comments</head> + +<p><termdef id="dt-comment" term="Comment"><term>Comments</term> may +appear anywhere in a document outside other +<termref def='dt-markup'>markup</termref>; in addition, +they may appear within the document type declaration +at places allowed by the grammar. +They are not part of the document's <termref def="dt-chardata">character +data</termref>; an XML +processor may, but need not, make it possible for an application to +retrieve the text of comments. +<termref def="dt-compat">For compatibility</termref>, the string +"<code>--</code>" (double-hyphen) must not occur within +comments. +<scrap lang="ebnf"> +<head>Comments</head> +<prod id='NT-Comment'><lhs>Comment</lhs> +<rhs>'&lt;!--' +((<nt def='NT-Char'>Char</nt> - '-') +| ('-' (<nt def='NT-Char'>Char</nt> - '-')))* +'-->'</rhs> +</prod> +</scrap> +</termdef></p> +<p>An example of a comment: +<eg>&lt;!&como; declarations for &lt;head> &amp; &lt;body> &comc;&gt;</eg> +</p> +</div2> + +<div2 id='sec-pi'> +<head>Processing Instructions</head> + +<p><termdef id="dt-pi" term="Processing instruction"><term>Processing +instructions</term> (PIs) allow documents to contain instructions +for applications. + +<scrap lang="ebnf"> +<head>Processing Instructions</head> +<prod id='NT-PI'><lhs>PI</lhs> +<rhs>'&lt;?' <nt def='NT-PITarget'>PITarget</nt> +(<nt def='NT-S'>S</nt> +(<nt def='NT-Char'>Char</nt>* - +(<nt def='NT-Char'>Char</nt>* &pic; <nt def='NT-Char'>Char</nt>*)))? +&pic;</rhs></prod> +<prod id='NT-PITarget'><lhs>PITarget</lhs> +<rhs><nt def='NT-Name'>Name</nt> - +(('X' | 'x') ('M' | 'm') ('L' | 'l'))</rhs> +</prod> +</scrap></termdef> +PIs are not part of the document's <termref def="dt-chardata">character +data</termref>, but must be passed through to the application. The +PI begins with a target (<nt def='NT-PITarget'>PITarget</nt>) used +to identify the application to which the instruction is directed. +The target names "<code>XML</code>", "<code>xml</code>", and so on are +reserved for standardization in this or future versions of this +specification. +The +XML <termref def='dt-notation'>Notation</termref> mechanism +may be used for +formal declaration of PI targets. +</p> +</div2> + +<div2 id='sec-cdata-sect'> +<head>CDATA Sections</head> + +<p><termdef id="dt-cdsection" term="CDATA Section"><term>CDATA sections</term> +may occur +anywhere character data may occur; they are +used to escape blocks of text containing characters which would +otherwise be recognized as markup. CDATA sections begin with the +string "<code>&lt;![CDATA[</code>" and end with the string +"<code>]]&gt;</code>": +<scrap lang="ebnf"> +<head>CDATA Sections</head> +<prod id='NT-CDSect'><lhs>CDSect</lhs> +<rhs><nt def='NT-CDStart'>CDStart</nt> +<nt def='NT-CData'>CData</nt> +<nt def='NT-CDEnd'>CDEnd</nt></rhs></prod> +<prod id='NT-CDStart'><lhs>CDStart</lhs> +<rhs>'&lt;![CDATA['</rhs> +</prod> +<prod id='NT-CData'><lhs>CData</lhs> +<rhs>(<nt def='NT-Char'>Char</nt>* - +(<nt def='NT-Char'>Char</nt>* ']]&gt;' <nt def='NT-Char'>Char</nt>*)) +</rhs> +</prod> +<prod id='NT-CDEnd'><lhs>CDEnd</lhs> +<rhs>']]&gt;'</rhs> +</prod> +</scrap> + +Within a CDATA section, only the <nt def='NT-CDEnd'>CDEnd</nt> string is +recognized as markup, so that left angle brackets and ampersands may occur in +their literal form; they need not (and cannot) be escaped using +"<code>&amp;lt;</code>" and "<code>&amp;amp;</code>". CDATA sections +cannot nest.</termdef> +</p> + +<p>An example of a CDATA section, in which "<code>&lt;greeting></code>" and +"<code>&lt;/greeting></code>" +are recognized as <termref def='dt-chardata'>character data</termref>, not +<termref def='dt-markup'>markup</termref>: +<eg>&lt;![CDATA[&lt;greeting>Hello, world!&lt;/greeting>]]&gt;</eg> +</p> +</div2> + +<div2 id='sec-prolog-dtd'> +<head>Prolog and Document Type Declaration</head> + +<p><termdef id='dt-xmldecl' term='XML Declaration'>XML documents +may, and should, +begin with an <term>XML declaration</term> which specifies +the version of +XML being used.</termdef> +For example, the following is a complete XML document, <termref +def="dt-wellformed">well-formed</termref> but not +<termref def="dt-valid">valid</termref>: +<eg><![CDATA[<?xml version="1.0"?> +<greeting>Hello, world!</greeting> +]]></eg> +and so is this: +<eg><![CDATA[<greeting>Hello, world!</greeting> +]]></eg> +</p> + +<p>The version number "<code>1.0</code>" should be used to indicate +conformance to this version of this specification; it is an error +for a document to use the value "<code>1.0</code>" +if it does not conform to this version of this specification. +It is the intent +of the XML working group to give later versions of this specification +numbers other than "<code>1.0</code>", but this intent does not +indicate a +commitment to produce any future versions of XML, nor if any are produced, to +use any particular numbering scheme. +Since future versions are not ruled out, this construct is provided +as a means to allow the possibility of automatic version recognition, should +it become necessary. +Processors may signal an error if they receive documents labeled with +versions they do not support. +</p> +<p>The function of the markup in an XML document is to describe its +storage and logical structure and to associate attribute-value pairs +with its logical structures. XML provides a mechanism, the <termref +def="dt-doctype">document type declaration</termref>, to define +constraints on the logical structure and to support the use of +predefined storage units. + +<termdef id="dt-valid" term="Validity">An XML document is +<term>valid</term> if it has an associated document type +declaration and if the document +complies with the constraints expressed in it.</termdef></p> +<p>The document type declaration must appear before +the first <termref def="dt-element">element</termref> in the document. +<scrap lang="ebnf" id='xmldoc'> +<head>Prolog</head> +<prodgroup pcw2="6" pcw4="17.5" pcw5="9"> +<prod id='NT-prolog'><lhs>prolog</lhs> +<rhs><nt def='NT-XMLDecl'>XMLDecl</nt>? +<nt def='NT-Misc'>Misc</nt>* +(<nt def='NT-doctypedecl'>doctypedecl</nt> +<nt def='NT-Misc'>Misc</nt>*)?</rhs></prod> +<prod id='NT-XMLDecl'><lhs>XMLDecl</lhs> +<rhs>&xmlpio; +<nt def='NT-VersionInfo'>VersionInfo</nt> +<nt def='NT-EncodingDecl'>EncodingDecl</nt>? +<nt def='NT-SDDecl'>SDDecl</nt>? +<nt def="NT-S">S</nt>? +&pic;</rhs> +</prod> +<prod id='NT-VersionInfo'><lhs>VersionInfo</lhs> +<rhs><nt def="NT-S">S</nt> 'version' <nt def='NT-Eq'>Eq</nt> +(' <nt def="NT-VersionNum">VersionNum</nt> ' +| " <nt def="NT-VersionNum">VersionNum</nt> ")</rhs> +</prod> +<prod id='NT-Eq'><lhs>Eq</lhs> +<rhs><nt def='NT-S'>S</nt>? '=' <nt def='NT-S'>S</nt>?</rhs></prod> +<prod id="NT-VersionNum"> +<lhs>VersionNum</lhs> +<rhs>([a-zA-Z0-9_.:] | '-')+</rhs> +</prod> +<prod id='NT-Misc'><lhs>Misc</lhs> +<rhs><nt def='NT-Comment'>Comment</nt> | <nt def='NT-PI'>PI</nt> | +<nt def='NT-S'>S</nt></rhs></prod> +</prodgroup> +</scrap></p> + +<p><termdef id="dt-doctype" term="Document Type Declaration">The XML +<term>document type declaration</term> +contains or points to +<termref def='dt-markupdecl'>markup declarations</termref> +that provide a grammar for a +class of documents. +This grammar is known as a document type definition, +or <term>DTD</term>. +The document type declaration can point to an external subset (a +special kind of +<termref def='dt-extent'>external entity</termref>) containing markup +declarations, or can +contain the markup declarations directly in an internal subset, or can do +both. +The DTD for a document consists of both subsets taken +together.</termdef> +</p> +<p><termdef id="dt-markupdecl" term="markup declaration"> +A <term>markup declaration</term> is +an <termref def="dt-eldecl">element type declaration</termref>, +an <termref def="dt-attdecl">attribute-list declaration</termref>, +an <termref def="dt-entdecl">entity declaration</termref>, or +a <termref def="dt-notdecl">notation declaration</termref>. +</termdef> +These declarations may be contained in whole or in part +within <termref def='dt-PE'>parameter entities</termref>, +as described in the well-formedness and validity constraints below. +For fuller information, see +<specref ref="sec-physical-struct"/>.</p> +<scrap lang="ebnf" id='dtd'> +<head>Document Type Definition</head> +<prodgroup pcw2="6" pcw4="17.5" pcw5="9"> +<prod id='NT-doctypedecl'><lhs>doctypedecl</lhs> +<rhs>'&lt;!DOCTYPE' <nt def='NT-S'>S</nt> +<nt def='NT-Name'>Name</nt> (<nt def='NT-S'>S</nt> +<nt def='NT-ExternalID'>ExternalID</nt>)? +<nt def='NT-S'>S</nt>? ('[' +(<nt def='NT-markupdecl'>markupdecl</nt> +| <nt def='NT-PEReference'>PEReference</nt> +| <nt def='NT-S'>S</nt>)* +']' +<nt def='NT-S'>S</nt>?)? '>'</rhs> +<vc def="vc-roottype"/> +</prod> +<prod id='NT-markupdecl'><lhs>markupdecl</lhs> +<rhs><nt def='NT-elementdecl'>elementdecl</nt> +| <nt def='NT-AttlistDecl'>AttlistDecl</nt> +| <nt def='NT-EntityDecl'>EntityDecl</nt> +| <nt def='NT-NotationDecl'>NotationDecl</nt> +| <nt def='NT-PI'>PI</nt> +| <nt def='NT-Comment'>Comment</nt> +</rhs> +<vc def='vc-PEinMarkupDecl'/> +<wfc def="wfc-PEinInternalSubset"/> +</prod> + +</prodgroup> +</scrap> + +<p>The markup declarations may be made up in whole or in part of +the <termref def='dt-repltext'>replacement text</termref> of +<termref def='dt-PE'>parameter entities</termref>. +The productions later in this specification for +individual nonterminals (<nt def='NT-elementdecl'>elementdecl</nt>, +<nt def='NT-AttlistDecl'>AttlistDecl</nt>, and so on) describe +the declarations <emph>after</emph> all the parameter entities have been +<termref def='dt-include'>included</termref>.</p> + +<vcnote id="vc-roottype"> +<head>Root Element Type</head> +<p> +The <nt def='NT-Name'>Name</nt> in the document type declaration must +match the element type of the <termref def='dt-root'>root element</termref>. +</p> +</vcnote> + +<vcnote id='vc-PEinMarkupDecl'> +<head>Proper Declaration/PE Nesting</head> +<p>Parameter-entity +<termref def='dt-repltext'>replacement text</termref> must be properly nested +with markup declarations. +That is to say, if either the first character +or the last character of a markup +declaration (<nt def='NT-markupdecl'>markupdecl</nt> above) +is contained in the replacement text for a +<termref def='dt-PERef'>parameter-entity reference</termref>, +both must be contained in the same replacement text.</p> +</vcnote> +<wfcnote id="wfc-PEinInternalSubset"> +<head>PEs in Internal Subset</head> +<p>In the internal DTD subset, +<termref def='dt-PERef'>parameter-entity references</termref> +can occur only where markup declarations can occur, not +within markup declarations. (This does not apply to +references that occur in +external parameter entities or to the external subset.) +</p> +</wfcnote> +<p> +Like the internal subset, the external subset and +any external parameter entities referred to in the DTD +must consist of a series of complete markup declarations of the types +allowed by the non-terminal symbol +<nt def="NT-markupdecl">markupdecl</nt>, interspersed with white space +or <termref def="dt-PERef">parameter-entity references</termref>. +However, portions of the contents +of the +external subset or of external parameter entities may conditionally be ignored +by using +the <termref def="dt-cond-section">conditional section</termref> +construct; this is not allowed in the internal subset. + +<scrap id="ext-Subset"> +<head>External Subset</head> +<prodgroup pcw2="6" pcw4="17.5" pcw5="9"> +<prod id='NT-extSubset'><lhs>extSubset</lhs> +<rhs><nt def='NT-TextDecl'>TextDecl</nt>? +<nt def='NT-extSubsetDecl'>extSubsetDecl</nt></rhs></prod> +<prod id='NT-extSubsetDecl'><lhs>extSubsetDecl</lhs> +<rhs>( +<nt def='NT-markupdecl'>markupdecl</nt> +| <nt def='NT-conditionalSect'>conditionalSect</nt> +| <nt def='NT-PEReference'>PEReference</nt> +| <nt def='NT-S'>S</nt> +)*</rhs> +</prod> +</prodgroup> +</scrap></p> +<p>The external subset and external parameter entities also differ +from the internal subset in that in them, +<termref def="dt-PERef">parameter-entity references</termref> +are permitted <emph>within</emph> markup declarations, +not only <emph>between</emph> markup declarations.</p> +<p>An example of an XML document with a document type declaration: +<eg><![CDATA[<?xml version="1.0"?> +<!DOCTYPE greeting SYSTEM "hello.dtd"> +<greeting>Hello, world!</greeting> +]]></eg> +The <termref def="dt-sysid">system identifier</termref> +"<code>hello.dtd</code>" gives the URI of a DTD for the document.</p> +<p>The declarations can also be given locally, as in this +example: +<eg><![CDATA[<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE greeting [ + <!ELEMENT greeting (#PCDATA)> +]> +<greeting>Hello, world!</greeting> +]]></eg> +If both the external and internal subsets are used, the +internal subset is considered to occur before the external subset. +<!-- 'is considered to'? boo. whazzat mean? --> +This has the effect that entity and attribute-list declarations in the +internal subset take precedence over those in the external subset. +</p> +</div2> + +<div2 id='sec-rmd'> +<head>Standalone Document Declaration</head> +<p>Markup declarations can affect the content of the document, +as passed from an <termref def="dt-xml-proc">XML processor</termref> +to an application; examples are attribute defaults and entity +declarations. +The standalone document declaration, +which may appear as a component of the XML declaration, signals +whether or not there are such declarations which appear external to +the <termref def='dt-docent'>document entity</termref>. +<scrap lang="ebnf" id='fulldtd'> +<head>Standalone Document Declaration</head> +<prodgroup pcw2="4" pcw4="19.5" pcw5="9"> +<prod id='NT-SDDecl'><lhs>SDDecl</lhs> +<rhs> +<nt def="NT-S">S</nt> +'standalone' <nt def='NT-Eq'>Eq</nt> +(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"')) +</rhs> +<vc def='vc-check-rmd'/></prod> +</prodgroup> +</scrap></p> +<p> +In a standalone document declaration, the value "<code>yes</code>" indicates +that there +are no markup declarations external to the <termref def='dt-docent'>document +entity</termref> (either in the DTD external subset, or in an +external parameter entity referenced from the internal subset) +which affect the information passed from the XML processor to +the application. +The value "<code>no</code>" indicates that there are or may be such +external markup declarations. +Note that the standalone document declaration only +denotes the presence of external <emph>declarations</emph>; the presence, in a +document, of +references to external <emph>entities</emph>, when those entities are +internally declared, +does not change its standalone status.</p> +<p>If there are no external markup declarations, the standalone document +declaration has no meaning. +If there are external markup declarations but there is no standalone +document declaration, the value "<code>no</code>" is assumed.</p> +<p>Any XML document for which <code>standalone="no"</code> holds can +be converted algorithmically to a standalone document, +which may be desirable for some network delivery applications.</p> +<vcnote id='vc-check-rmd'> +<head>Standalone Document Declaration</head> +<p>The standalone document declaration must have +the value "<code>no</code>" if any external markup declarations +contain declarations of:</p><ulist> +<item><p>attributes with <termref def="dt-default">default</termref> values, if +elements to which +these attributes apply appear in the document without +specifications of values for these attributes, or</p></item> +<item><p>entities (other than &magicents;), +if <termref def="dt-entref">references</termref> to those +entities appear in the document, or</p> +</item> +<item><p>attributes with values subject to +<titleref href='AVNormalize'>normalization</titleref>, where the +attribute appears in the document with a value which will +change as a result of normalization, or</p> +</item> +<item> +<p>element types with <termref def="dt-elemcontent">element content</termref>, +if white space occurs +directly within any instance of those types. +</p></item> +</ulist> + +</vcnote> +<p>An example XML declaration with a standalone document declaration:<eg +>&lt;?xml version="&XML.version;" standalone='yes'?></eg></p> +</div2> +<div2 id='sec-white-space'> +<head>White Space Handling</head> + +<p>In editing XML documents, it is often convenient to use "white space" +(spaces, tabs, and blank lines, denoted by the nonterminal +<nt def='NT-S'>S</nt> in this specification) to +set apart the markup for greater readability. Such white space is typically +not intended for inclusion in the delivered version of the document. +On the other hand, "significant" white space that should be preserved in the +delivered version is common, for example in poetry and +source code.</p> +<p>An <termref def='dt-xml-proc'>XML processor</termref> +must always pass all characters in a document that are not +markup through to the application. A <termref def='dt-validating'> +validating XML processor</termref> must also inform the application +which of these characters constitute white space appearing +in <termref def="dt-elemcontent">element content</termref>. +</p> +<p>A special <termref def='dt-attr'>attribute</termref> +named <kw>xml:space</kw> may be attached to an element +to signal an intention that in that element, +white space should be preserved by applications. +In valid documents, this attribute, like any other, must be +<termref def="dt-attdecl">declared</termref> if it is used. +When declared, it must be given as an +<termref def='dt-enumerated'>enumerated type</termref> whose only +possible values are "<code>default</code>" and "<code>preserve</code>". +For example:<eg><![CDATA[ <!ATTLIST poem xml:space (default|preserve) 'preserve'>]]></eg></p> +<p>The value "<code>default</code>" signals that applications' +default white-space processing modes are acceptable for this element; the +value "<code>preserve</code>" indicates the intent that applications preserve +all the white space. +This declared intent is considered to apply to all elements within the content +of the element where it is specified, unless overridden with another instance +of the <kw>xml:space</kw> attribute. +</p> +<p>The <termref def='dt-root'>root element</termref> of any document +is considered to have signaled no intentions as regards application space +handling, unless it provides a value for +this attribute or the attribute is declared with a default value. +</p> + +</div2> +<div2 id='sec-line-ends'> +<head>End-of-Line Handling</head> +<p>XML <termref def='dt-parsedent'>parsed entities</termref> are often stored in +computer files which, for editing convenience, are organized into lines. +These lines are typically separated by some combination of the characters +carriage-return (#xD) and line-feed (#xA).</p> +<p>To simplify the tasks of <termref def='dt-app'>applications</termref>, +wherever an external parsed entity or the literal entity value +of an internal parsed entity contains either the literal +two-character sequence "#xD#xA" or a standalone literal +#xD, an <termref def='dt-xml-proc'>XML processor</termref> must +pass to the application the single character #xA. +(This behavior can +conveniently be produced by normalizing all +line breaks to #xA on input, before parsing.) +</p> +</div2> +<div2 id='sec-lang-tag'> +<head>Language Identification</head> +<p>In document processing, it is often useful to +identify the natural or formal language +in which the content is +written. +A special <termref def="dt-attr">attribute</termref> named +<kw>xml:lang</kw> may be inserted in +documents to specify the +language used in the contents and attribute values +of any element in an XML document. +In valid documents, this attribute, like any other, must be +<termref def="dt-attdecl">declared</termref> if it is used. +The values of the attribute are language identifiers as defined +by <bibref ref="RFC1766"/>, "Tags for the Identification of Languages": +<scrap lang='ebnf'> +<head>Language Identification</head> +<prod id='NT-LanguageID'><lhs>LanguageID</lhs> +<rhs><nt def='NT-Langcode'>Langcode</nt> +('-' <nt def='NT-Subcode'>Subcode</nt>)*</rhs></prod> +<prod id='NT-Langcode'><lhs>Langcode</lhs> +<rhs><nt def='NT-ISO639Code'>ISO639Code</nt> | +<nt def='NT-IanaCode'>IanaCode</nt> | +<nt def='NT-UserCode'>UserCode</nt></rhs> +</prod> +<prod id='NT-ISO639Code'><lhs>ISO639Code</lhs> +<rhs>([a-z] | [A-Z]) ([a-z] | [A-Z])</rhs></prod> +<prod id='NT-IanaCode'><lhs>IanaCode</lhs> +<rhs>('i' | 'I') '-' ([a-z] | [A-Z])+</rhs></prod> +<prod id='NT-UserCode'><lhs>UserCode</lhs> +<rhs>('x' | 'X') '-' ([a-z] | [A-Z])+</rhs></prod> +<prod id='NT-Subcode'><lhs>Subcode</lhs> +<rhs>([a-z] | [A-Z])+</rhs></prod> +</scrap> +The <nt def='NT-Langcode'>Langcode</nt> may be any of the following: +<ulist> +<item><p>a two-letter language code as defined by +<bibref ref="ISO639"/>, "Codes +for the representation of names of languages"</p></item> +<item><p>a language identifier registered with the Internet +Assigned Numbers Authority <bibref ref='IANA'/>; these begin with the +prefix "<code>i-</code>" (or "<code>I-</code>")</p></item> +<item><p>a language identifier assigned by the user, or agreed on +between parties in private use; these must begin with the +prefix "<code>x-</code>" or "<code>X-</code>" in order to ensure that they do not conflict +with names later standardized or registered with IANA</p></item> +</ulist></p> +<p>There may be any number of <nt def='NT-Subcode'>Subcode</nt> segments; if +the first +subcode segment exists and the Subcode consists of two +letters, then it must be a country code from +<bibref ref="ISO3166"/>, "Codes +for the representation of names of countries." +If the first +subcode consists of more than two letters, it must be +a subcode for the language in question registered with IANA, +unless the <nt def='NT-Langcode'>Langcode</nt> begins with the prefix +"<code>x-</code>" or +"<code>X-</code>". </p> +<p>It is customary to give the language code in lower case, and +the country code (if any) in upper case. +Note that these values, unlike other names in XML documents, +are case insensitive.</p> +<p>For example: +<eg><![CDATA[<p xml:lang="en">The quick brown fox jumps over the lazy dog.</p> +<p xml:lang="en-GB">What colour is it?</p> +<p xml:lang="en-US">What color is it?</p> +<sp who="Faust" desc='leise' xml:lang="de"> + <l>Habe nun, ach! Philosophie,</l> + <l>Juristerei, und Medizin</l> + <l>und leider auch Theologie</l> + <l>durchaus studiert mit heißem Bemüh'n.</l> + </sp>]]></eg></p> +<!--<p>The xml:lang value is considered to apply both to the contents of an +element and +(unless otherwise via attribute default values) to the +values of all of its attributes with free-text (CDATA) values. --> +<p>The intent declared with <kw>xml:lang</kw> is considered to apply to +all attributes and content of the element where it is specified, +unless overridden with an instance of <kw>xml:lang</kw> +on another element within that content.</p> +<!-- +If no +value is specified for xml:lang on an element, and no default value is +defined for it in the DTD, then the xml:lang attribute of any element +takes the same value it has in the parent element, if any. The two +technical terms in the following example both have the same effective +value for xml:lang: + + <p xml:lang="en">Here the keywords are + <term xml:lang="en">shift</term> and + <term>reduce</term>. ...</p> + +The application, not the XML processor, is responsible for this ' +inheritance' of attribute values. +--> +<p>A simple declaration for <kw>xml:lang</kw> might take +the form +<eg>xml:lang NMTOKEN #IMPLIED</eg> +but specific default values may also be given, if appropriate. In a +collection of French poems for English students, with glosses and +notes in English, the xml:lang attribute might be declared this way: +<eg><![CDATA[ <!ATTLIST poem xml:lang NMTOKEN 'fr'> + <!ATTLIST gloss xml:lang NMTOKEN 'en'> + <!ATTLIST note xml:lang NMTOKEN 'en'>]]></eg> +</p> + +</div2> +</div1> +<!-- &Elements; --> + +<div1 id='sec-logical-struct'> +<head>Logical Structures</head> + +<p><termdef id="dt-element" term="Element">Each <termref +def="dt-xml-doc">XML document</termref> contains one or more +<term>elements</term>, the boundaries of which are +either delimited by <termref def="dt-stag">start-tags</termref> +and <termref def="dt-etag">end-tags</termref>, or, for <termref +def="dt-empty">empty</termref> elements, by an <termref +def="dt-eetag">empty-element tag</termref>. Each element has a type, +identified by name, sometimes called its "generic +identifier" (GI), and may have a set of +attribute specifications.</termdef> Each attribute specification +has a <termref +def="dt-attrname">name</termref> and a <termref +def="dt-attrval">value</termref>. +</p> +<scrap lang='ebnf'><head>Element</head> +<prod id='NT-element'><lhs>element</lhs> +<rhs><nt def='NT-EmptyElemTag'>EmptyElemTag</nt></rhs> +<rhs>| <nt def='NT-STag'>STag</nt> <nt def='NT-content'>content</nt> +<nt def='NT-ETag'>ETag</nt></rhs> +<wfc def='GIMatch'/> +<vc def='elementvalid'/> +</prod> +</scrap> +<p>This specification does not constrain the semantics, use, or (beyond +syntax) names of the element types and attributes, except that names +beginning with a match to <code>(('X'|'x')('M'|'m')('L'|'l'))</code> +are reserved for standardization in this or future versions of this +specification. +</p> +<wfcnote id='GIMatch'> +<head>Element Type Match</head> +<p> +The <nt def='NT-Name'>Name</nt> in an element's end-tag must match +the element type in +the start-tag. +</p> +</wfcnote> +<vcnote id='elementvalid'> +<head>Element Valid</head> +<p>An element is +valid if +there is a declaration matching +<nt def='NT-elementdecl'>elementdecl</nt> where the +<nt def='NT-Name'>Name</nt> matches the element type, and +one of the following holds:</p> +<olist> +<item><p>The declaration matches <kw>EMPTY</kw> and the element has no +<termref def='dt-content'>content</termref>.</p></item> +<item><p>The declaration matches <nt def='NT-children'>children</nt> and +the sequence of +<termref def="dt-parentchild">child elements</termref> +belongs to the language generated by the regular expression in +the content model, with optional white space (characters +matching the nonterminal <nt def='NT-S'>S</nt>) between each pair +of child elements.</p></item> +<item><p>The declaration matches <nt def='NT-Mixed'>Mixed</nt> and +the content consists of <termref def='dt-chardata'>character +data</termref> and <termref def='dt-parentchild'>child elements</termref> +whose types match names in the content model.</p></item> +<item><p>The declaration matches <kw>ANY</kw>, and the types +of any <termref def='dt-parentchild'>child elements</termref> have +been declared.</p></item> +</olist> +</vcnote> + +<div2 id='sec-starttags'> +<head>Start-Tags, End-Tags, and Empty-Element Tags</head> + +<p><termdef id="dt-stag" term="Start-Tag">The beginning of every +non-empty XML element is marked by a <term>start-tag</term>. +<scrap lang='ebnf'> +<head>Start-tag</head> +<prodgroup pcw2="6" pcw4="15" pcw5="11.5"> +<prod id='NT-STag'><lhs>STag</lhs> +<rhs>'&lt;' <nt def='NT-Name'>Name</nt> +(<nt def='NT-S'>S</nt> <nt def='NT-Attribute'>Attribute</nt>)* +<nt def='NT-S'>S</nt>? '>'</rhs> +<wfc def="uniqattspec"/> +</prod> +<prod id='NT-Attribute'><lhs>Attribute</lhs> +<rhs><nt def='NT-Name'>Name</nt> <nt def='NT-Eq'>Eq</nt> +<nt def='NT-AttValue'>AttValue</nt></rhs> +<vc def='ValueType'/> +<wfc def='NoExternalRefs'/> +<wfc def='CleanAttrVals'/></prod> +</prodgroup> +</scrap> +The <nt def='NT-Name'>Name</nt> in +the start- and end-tags gives the +element's <term>type</term>.</termdef> +<termdef id="dt-attr" term="Attribute"> +The <nt def='NT-Name'>Name</nt>-<nt def='NT-AttValue'>AttValue</nt> pairs are +referred to as +the <term>attribute specifications</term> of the element</termdef>, +<termdef id="dt-attrname" term="Attribute Name">with the +<nt def='NT-Name'>Name</nt> in each pair +referred to as the <term>attribute name</term></termdef> and +<termdef id="dt-attrval" term="Attribute Value">the content of the +<nt def='NT-AttValue'>AttValue</nt> (the text between the +<code>'</code> or <code>"</code> delimiters) +as the <term>attribute value</term>.</termdef> +</p> +<wfcnote id='uniqattspec'> +<head>Unique Att Spec</head> +<p> +No attribute name may appear more than once in the same start-tag +or empty-element tag. +</p> +</wfcnote> +<vcnote id='ValueType'> +<head>Attribute Value Type</head> +<p> +The attribute must have been declared; the value must be of the type +declared for it. +(For attribute types, see <specref ref='attdecls'/>.) +</p> +</vcnote> +<wfcnote id='NoExternalRefs'> +<head>No External Entity References</head> +<p> +Attribute values cannot contain direct or indirect entity references +to external entities. +</p> +</wfcnote> +<wfcnote id='CleanAttrVals'> +<head>No <code>&lt;</code> in Attribute Values</head> +<p>The <termref def='dt-repltext'>replacement text</termref> of any entity +referred to directly or indirectly in an attribute +value (other than "<code>&amp;lt;</code>") must not contain +a <code>&lt;</code>. +</p></wfcnote> +<p>An example of a start-tag: +<eg>&lt;termdef id="dt-dog" term="dog"></eg></p> +<p><termdef id="dt-etag" term="End Tag">The end of every element +that begins with a start-tag must +be marked by an <term>end-tag</term> +containing a name that echoes the element's type as given in the +start-tag: +<scrap lang='ebnf'> +<head>End-tag</head> +<prodgroup pcw2="6" pcw4="15" pcw5="11.5"> +<prod id='NT-ETag'><lhs>ETag</lhs> +<rhs>'&lt;/' <nt def='NT-Name'>Name</nt> +<nt def='NT-S'>S</nt>? '>'</rhs></prod> +</prodgroup> +</scrap> +</termdef></p> +<p>An example of an end-tag:<eg>&lt;/termdef></eg></p> +<p><termdef id="dt-content" term="Content">The +<termref def='dt-text'>text</termref> between the start-tag and +end-tag is called the element's +<term>content</term>: +<scrap lang='ebnf'> +<head>Content of Elements</head> +<prodgroup pcw2="6" pcw4="15" pcw5="11.5"> +<prod id='NT-content'><lhs>content</lhs> +<rhs>(<nt def='NT-element'>element</nt> | <nt def='NT-CharData'>CharData</nt> +| <nt def='NT-Reference'>Reference</nt> | <nt def='NT-CDSect'>CDSect</nt> +| <nt def='NT-PI'>PI</nt> | <nt def='NT-Comment'>Comment</nt>)*</rhs> +</prod> +</prodgroup> +</scrap> +</termdef></p> +<p><termdef id="dt-empty" term="Empty">If an element is <term>empty</term>, +it must be represented either by a start-tag immediately followed +by an end-tag or by an empty-element tag.</termdef> +<termdef id="dt-eetag" term="empty-element tag">An +<term>empty-element tag</term> takes a special form: +<scrap lang='ebnf'> +<head>Tags for Empty Elements</head> +<prodgroup pcw2="6" pcw4="15" pcw5="11.5"> +<prod id='NT-EmptyElemTag'><lhs>EmptyElemTag</lhs> +<rhs>'&lt;' <nt def='NT-Name'>Name</nt> (<nt def='NT-S'>S</nt> +<nt def='NT-Attribute'>Attribute</nt>)* <nt def='NT-S'>S</nt>? +'/&gt;'</rhs> +<wfc def="uniqattspec"/> +</prod> +</prodgroup> +</scrap> +</termdef></p> +<p>Empty-element tags may be used for any element which has no +content, whether or not it is declared using the keyword +<kw>EMPTY</kw>. +<termref def='dt-interop'>For interoperability</termref>, the empty-element +tag must be used, and can only be used, for elements which are +<termref def='dt-eldecl'>declared</termref> <kw>EMPTY</kw>.</p> +<p>Examples of empty elements: +<eg>&lt;IMG align="left" + src="http://www.w3.org/Icons/WWW/w3c_home" /> +&lt;br>&lt;/br> +&lt;br/></eg></p> +</div2> + +<div2 id='elemdecls'> +<head>Element Type Declarations</head> + +<p>The <termref def="dt-element">element</termref> structure of an +<termref def="dt-xml-doc">XML document</termref> may, for +<termref def="dt-valid">validation</termref> purposes, +be constrained +using element type and attribute-list declarations. +An element type declaration constrains the element's +<termref def="dt-content">content</termref>. +</p> + +<p>Element type declarations often constrain which element types can +appear as <termref def="dt-parentchild">children</termref> of the element. +At user option, an XML processor may issue a warning +when a declaration mentions an element type for which no declaration +is provided, but this is not an error.</p> +<p><termdef id="dt-eldecl" term="Element Type declaration">An <term>element +type declaration</term> takes the form: +<scrap lang='ebnf'> +<head>Element Type Declaration</head> +<prodgroup pcw2="5.5" pcw4="18" pcw5="9"> +<prod id='NT-elementdecl'><lhs>elementdecl</lhs> +<rhs>'&lt;!ELEMENT' <nt def='NT-S'>S</nt> +<nt def='NT-Name'>Name</nt> +<nt def='NT-S'>S</nt> +<nt def='NT-contentspec'>contentspec</nt> +<nt def='NT-S'>S</nt>? '>'</rhs> +<vc def='EDUnique'/></prod> +<prod id='NT-contentspec'><lhs>contentspec</lhs> +<rhs>'EMPTY' +| 'ANY' +| <nt def='NT-Mixed'>Mixed</nt> +| <nt def='NT-children'>children</nt> +</rhs> +</prod> +</prodgroup> +</scrap> +where the <nt def='NT-Name'>Name</nt> gives the element type +being declared.</termdef> +</p> + +<vcnote id='EDUnique'> +<head>Unique Element Type Declaration</head> +<p> +No element type may be declared more than once. +</p> +</vcnote> + +<p>Examples of element type declarations: +<eg>&lt;!ELEMENT br EMPTY> +&lt;!ELEMENT p (#PCDATA|emph)* > +&lt;!ELEMENT %name.para; %content.para; > +&lt;!ELEMENT container ANY></eg></p> + +<div3 id='sec-element-content'> +<head>Element Content</head> + +<p><termdef id='dt-elemcontent' term='Element content'>An element <termref +def="dt-stag">type</termref> has +<term>element content</term> when elements of that +type must contain only <termref def='dt-parentchild'>child</termref> +elements (no character data), optionally separated by +white space (characters matching the nonterminal +<nt def='NT-S'>S</nt>). +</termdef> +In this case, the +constraint includes a content model, a simple grammar governing +the allowed types of the child +elements and the order in which they are allowed to appear. +The grammar is built on +content particles (<nt def='NT-cp'>cp</nt>s), which consist of names, +choice lists of content particles, or +sequence lists of content particles: +<scrap lang='ebnf'> +<head>Element-content Models</head> +<prodgroup pcw2="5.5" pcw4="16" pcw5="11"> +<prod id='NT-children'><lhs>children</lhs> +<rhs>(<nt def='NT-choice'>choice</nt> +| <nt def='NT-seq'>seq</nt>) +('?' | '*' | '+')?</rhs></prod> +<prod id='NT-cp'><lhs>cp</lhs> +<rhs>(<nt def='NT-Name'>Name</nt> +| <nt def='NT-choice'>choice</nt> +| <nt def='NT-seq'>seq</nt>) +('?' | '*' | '+')?</rhs></prod> +<prod id='NT-choice'><lhs>choice</lhs> +<rhs>'(' <nt def='NT-S'>S</nt>? cp +( <nt def='NT-S'>S</nt>? '|' <nt def='NT-S'>S</nt>? <nt def='NT-cp'>cp</nt> )* +<nt def='NT-S'>S</nt>? ')'</rhs> +<vc def='vc-PEinGroup'/></prod> +<prod id='NT-seq'><lhs>seq</lhs> +<rhs>'(' <nt def='NT-S'>S</nt>? cp +( <nt def='NT-S'>S</nt>? ',' <nt def='NT-S'>S</nt>? <nt def='NT-cp'>cp</nt> )* +<nt def='NT-S'>S</nt>? ')'</rhs> +<vc def='vc-PEinGroup'/></prod> + +</prodgroup> +</scrap> +where each <nt def='NT-Name'>Name</nt> is the type of an element which may +appear as a <termref def="dt-parentchild">child</termref>. +Any content +particle in a choice list may appear in the <termref +def="dt-elemcontent">element content</termref> at the location where +the choice list appears in the grammar; +content particles occurring in a sequence list must each +appear in the <termref def="dt-elemcontent">element content</termref> in the +order given in the list. +The optional character following a name or list governs +whether the element or the content particles in the list may occur one +or more (<code>+</code>), zero or more (<code>*</code>), or zero or +one times (<code>?</code>). +The absence of such an operator means that the element or content particle +must appear exactly once. +This syntax +and meaning are identical to those used in the productions in this +specification.</p> +<p> +The content of an element matches a content model if and only if it is +possible to trace out a path through the content model, obeying the +sequence, choice, and repetition operators and matching each element in +the content against an element type in the content model. <termref +def='dt-compat'>For compatibility</termref>, it is an error +if an element in the document can +match more than one occurrence of an element type in the content model. +For more information, see <specref ref="determinism"/>. +<!-- appendix <specref ref="determinism"/>. --> +<!-- appendix on deterministic content models. --> +</p> +<vcnote id='vc-PEinGroup'> +<head>Proper Group/PE Nesting</head> +<p>Parameter-entity +<termref def='dt-repltext'>replacement text</termref> must be properly nested +with parenthetized groups. +That is to say, if either of the opening or closing parentheses +in a <nt def='NT-choice'>choice</nt>, <nt def='NT-seq'>seq</nt>, or +<nt def='NT-Mixed'>Mixed</nt> construct +is contained in the replacement text for a +<termref def='dt-PERef'>parameter entity</termref>, +both must be contained in the same replacement text.</p> +<p><termref def='dt-interop'>For interoperability</termref>, +if a parameter-entity reference appears in a +<nt def='NT-choice'>choice</nt>, <nt def='NT-seq'>seq</nt>, or +<nt def='NT-Mixed'>Mixed</nt> construct, its replacement text +should not be empty, and +neither the first nor last non-blank +character of the replacement text should be a connector +(<code>|</code> or <code>,</code>). +</p> +</vcnote> +<p>Examples of element-content models: +<eg>&lt;!ELEMENT spec (front, body, back?)> +&lt;!ELEMENT div1 (head, (p | list | note)*, div2*)> +&lt;!ELEMENT dictionary-body (%div.mix; | %dict.mix;)*></eg></p> +</div3> + +<div3 id='sec-mixed-content'> +<head>Mixed Content</head> + +<p><termdef id='dt-mixed' term='Mixed Content'>An element +<termref def='dt-stag'>type</termref> has +<term>mixed content</term> when elements of that type may contain +character data, optionally interspersed with +<termref def="dt-parentchild">child</termref> elements.</termdef> +In this case, the types of the child elements +may be constrained, but not their order or their number of occurrences: +<scrap lang='ebnf'> +<head>Mixed-content Declaration</head> +<prodgroup pcw2="5.5" pcw4="16" pcw5="11"> +<prod id='NT-Mixed'><lhs>Mixed</lhs> +<rhs>'(' <nt def='NT-S'>S</nt>? +'#PCDATA' +(<nt def='NT-S'>S</nt>? +'|' +<nt def='NT-S'>S</nt>? +<nt def='NT-Name'>Name</nt>)* +<nt def='NT-S'>S</nt>? +')*' </rhs> +<rhs>| '(' <nt def='NT-S'>S</nt>? '#PCDATA' <nt def='NT-S'>S</nt>? ')' +</rhs><vc def='vc-PEinGroup'/> +<vc def='vc-MixedChildrenUnique'/> +</prod> + +</prodgroup> +</scrap> +where the <nt def='NT-Name'>Name</nt>s give the types of elements +that may appear as children. +</p> +<vcnote id='vc-MixedChildrenUnique'> +<head>No Duplicate Types</head> +<p>The same name must not appear more than once in a single mixed-content +declaration. +</p></vcnote> +<p>Examples of mixed content declarations: +<eg>&lt;!ELEMENT p (#PCDATA|a|ul|b|i|em)*> +&lt;!ELEMENT p (#PCDATA | %font; | %phrase; | %special; | %form;)* > +&lt;!ELEMENT b (#PCDATA)></eg></p> +</div3> +</div2> + +<div2 id='attdecls'> +<head>Attribute-List Declarations</head> + +<p><termref def="dt-attr">Attributes</termref> are used to associate +name-value pairs with <termref def="dt-element">elements</termref>. +Attribute specifications may appear only within <termref +def="dt-stag">start-tags</termref> +and <termref def="dt-eetag">empty-element tags</termref>; +thus, the productions used to +recognize them appear in <specref ref='sec-starttags'/>. +Attribute-list +declarations may be used: +<ulist> +<item><p>To define the set of attributes pertaining to a given +element type.</p></item> +<item><p>To establish type constraints for these +attributes.</p></item> +<item><p>To provide <termref def="dt-default">default values</termref> +for attributes.</p></item> +</ulist> +</p> +<p><termdef id="dt-attdecl" term="Attribute-List Declaration"> +<term>Attribute-list declarations</term> specify the name, data type, and default +value (if any) of each attribute associated with a given element type: +<scrap lang='ebnf'> +<head>Attribute-list Declaration</head> +<prod id='NT-AttlistDecl'><lhs>AttlistDecl</lhs> +<rhs>'&lt;!ATTLIST' <nt def='NT-S'>S</nt> +<nt def='NT-Name'>Name</nt> +<nt def='NT-AttDef'>AttDef</nt>* +<nt def='NT-S'>S</nt>? '&gt;'</rhs> +</prod> +<prod id='NT-AttDef'><lhs>AttDef</lhs> +<rhs><nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt> +<nt def='NT-S'>S</nt> <nt def='NT-AttType'>AttType</nt> +<nt def='NT-S'>S</nt> <nt def='NT-DefaultDecl'>DefaultDecl</nt></rhs> +</prod> +</scrap> +The <nt def="NT-Name">Name</nt> in the +<nt def='NT-AttlistDecl'>AttlistDecl</nt> rule is the type of an element. At +user option, an XML processor may issue a warning if attributes are +declared for an element type not itself declared, but this is not an +error. The <nt def='NT-Name'>Name</nt> in the +<nt def='NT-AttDef'>AttDef</nt> rule is +the name of the attribute.</termdef></p> +<p> +When more than one <nt def='NT-AttlistDecl'>AttlistDecl</nt> is provided for a +given element type, the contents of all those provided are merged. When +more than one definition is provided for the same attribute of a +given element type, the first declaration is binding and later +declarations are ignored. +<termref def='dt-interop'>For interoperability,</termref> writers of DTDs +may choose to provide at most one attribute-list declaration +for a given element type, at most one attribute definition +for a given attribute name, and at least one attribute definition +in each attribute-list declaration. +For interoperability, an XML processor may at user option +issue a warning when more than one attribute-list declaration is +provided for a given element type, or more than one attribute definition +is provided +for a given attribute, but this is not an error. +</p> + +<div3 id='sec-attribute-types'> +<head>Attribute Types</head> + +<p>XML attribute types are of three kinds: a string type, a +set of tokenized types, and enumerated types. The string type may take +any literal string as a value; the tokenized types have varying lexical +and semantic constraints, as noted: +<scrap lang='ebnf'> +<head>Attribute Types</head> +<prodgroup pcw4="14" pcw5="11.5"> +<prod id='NT-AttType'><lhs>AttType</lhs> +<rhs><nt def='NT-StringType'>StringType</nt> +| <nt def='NT-TokenizedType'>TokenizedType</nt> +| <nt def='NT-EnumeratedType'>EnumeratedType</nt> +</rhs> +</prod> +<prod id='NT-StringType'><lhs>StringType</lhs> +<rhs>'CDATA'</rhs> +</prod> +<prod id='NT-TokenizedType'><lhs>TokenizedType</lhs> +<rhs>'ID'</rhs> +<vc def='id'/> +<vc def='one-id-per-el'/> +<vc def='id-default'/> +<rhs>| 'IDREF'</rhs> +<vc def='idref'/> +<rhs>| 'IDREFS'</rhs> +<vc def='idref'/> +<rhs>| 'ENTITY'</rhs> +<vc def='entname'/> +<rhs>| 'ENTITIES'</rhs> +<vc def='entname'/> +<rhs>| 'NMTOKEN'</rhs> +<vc def='nmtok'/> +<rhs>| 'NMTOKENS'</rhs> +<vc def='nmtok'/></prod> +</prodgroup> +</scrap> +</p> +<vcnote id='id' > +<head>ID</head> +<p> +Values of type <kw>ID</kw> must match the +<nt def='NT-Name'>Name</nt> production. +A name must not appear more than once in +an XML document as a value of this type; i.e., ID values must uniquely +identify the elements which bear them. +</p> +</vcnote> +<vcnote id='one-id-per-el'> +<head>One ID per Element Type</head> +<p>No element type may have more than one ID attribute specified.</p> +</vcnote> +<vcnote id='id-default'> +<head>ID Attribute Default</head> +<p>An ID attribute must have a declared default of <kw>#IMPLIED</kw> or +<kw>#REQUIRED</kw>.</p> +</vcnote> +<vcnote id='idref'> +<head>IDREF</head> +<p> +Values of type <kw>IDREF</kw> must match +the <nt def="NT-Name">Name</nt> production, and +values of type <kw>IDREFS</kw> must match +<nt def="NT-Names">Names</nt>; +each <nt def='NT-Name'>Name</nt> must match the value of an ID attribute on +some element in the XML document; i.e. <kw>IDREF</kw> values must +match the value of some ID attribute. +</p> +</vcnote> +<vcnote id='entname'> +<head>Entity Name</head> +<p> +Values of type <kw>ENTITY</kw> +must match the <nt def="NT-Name">Name</nt> production, +values of type <kw>ENTITIES</kw> must match +<nt def="NT-Names">Names</nt>; +each <nt def="NT-Name">Name</nt> must +match the +name of an <termref def="dt-unparsed">unparsed entity</termref> declared in the +<termref def="dt-doctype">DTD</termref>. +</p> +</vcnote> +<vcnote id='nmtok'> +<head>Name Token</head> +<p> +Values of type <kw>NMTOKEN</kw> must match the +<nt def="NT-Nmtoken">Nmtoken</nt> production; +values of type <kw>NMTOKENS</kw> must +match <termref def="NT-Nmtokens">Nmtokens</termref>. +</p> +</vcnote> +<!-- why? +<p>The XML processor must normalize attribute values before +passing them to the application, as described in +<specref ref="AVNormalize"/>.</p>--> +<p><termdef id='dt-enumerated' term='Enumerated Attribute +Values'><term>Enumerated attributes</term> can take one +of a list of values provided in the declaration</termdef>. There are two +kinds of enumerated types: +<scrap lang='ebnf'> +<head>Enumerated Attribute Types</head> +<prod id='NT-EnumeratedType'><lhs>EnumeratedType</lhs> +<rhs><nt def='NT-NotationType'>NotationType</nt> +| <nt def='NT-Enumeration'>Enumeration</nt> +</rhs></prod> +<prod id='NT-NotationType'><lhs>NotationType</lhs> +<rhs>'NOTATION' +<nt def='NT-S'>S</nt> +'(' +<nt def='NT-S'>S</nt>? +<nt def='NT-Name'>Name</nt> +(<nt def='NT-S'>S</nt>? '|' <nt def='NT-S'>S</nt>? +<nt def='NT-Name'>Name</nt>)* +<nt def='NT-S'>S</nt>? ')' +</rhs> +<vc def='notatn' /></prod> +<prod id='NT-Enumeration'><lhs>Enumeration</lhs> +<rhs>'(' <nt def='NT-S'>S</nt>? +<nt def='NT-Nmtoken'>Nmtoken</nt> +(<nt def='NT-S'>S</nt>? '|' +<nt def='NT-S'>S</nt>? +<nt def='NT-Nmtoken'>Nmtoken</nt>)* +<nt def='NT-S'>S</nt>? +')'</rhs> +<vc def='enum'/></prod> +</scrap> +A <kw>NOTATION</kw> attribute identifies a +<termref def='dt-notation'>notation</termref>, declared in the +DTD with associated system and/or public identifiers, to +be used in interpreting the element to which the attribute +is attached. +</p> + +<vcnote id='notatn'> +<head>Notation Attributes</head> +<p> +Values of this type must match +one of the <titleref href='Notations'>notation</titleref> names included in +the declaration; all notation names in the declaration must +be declared. +</p> +</vcnote> +<vcnote id='enum'> +<head>Enumeration</head> +<p> +Values of this type +must match one of the <nt def='NT-Nmtoken'>Nmtoken</nt> tokens in the +declaration. +</p> +</vcnote> +<p><termref def='dt-interop'>For interoperability,</termref> the same +<nt def='NT-Nmtoken'>Nmtoken</nt> should not occur more than once in the +enumerated attribute types of a single element type. +</p> +</div3> + +<div3 id='sec-attr-defaults'> +<head>Attribute Defaults</head> + +<p>An <termref def="dt-attdecl">attribute declaration</termref> provides +information on whether +the attribute's presence is required, and if not, how an XML processor should +react if a declared attribute is absent in a document. +<scrap lang='ebnf'> +<head>Attribute Defaults</head> +<prodgroup pcw4="14" pcw5="11.5"> +<prod id='NT-DefaultDecl'><lhs>DefaultDecl</lhs> +<rhs>'#REQUIRED' +|&nbsp;'#IMPLIED' </rhs> +<rhs>| (('#FIXED' S)? <nt def='NT-AttValue'>AttValue</nt>)</rhs> +<vc def='RequiredAttr'/> +<vc def='defattrvalid'/> +<wfc def="CleanAttrVals"/> +<vc def='FixedAttr'/> +</prod> +</prodgroup> +</scrap> + +</p> +<p>In an attribute declaration, <kw>#REQUIRED</kw> means that the +attribute must always be provided, <kw>#IMPLIED</kw> that no default +value is provided. +<!-- not any more!! +<kw>#IMPLIED</kw> means that if the attribute is omitted +from an element of this type, +the XML processor must inform the application +that no value was specified; no constraint is placed on the behavior +of the application. --> +<termdef id="dt-default" term="Attribute Default">If the +declaration +is neither <kw>#REQUIRED</kw> nor <kw>#IMPLIED</kw>, then the +<nt def='NT-AttValue'>AttValue</nt> value contains the declared +<term>default</term> value; the <kw>#FIXED</kw> keyword states that +the attribute must always have the default value. +If a default value +is declared, when an XML processor encounters an omitted attribute, it +is to behave as though the attribute were present with +the declared default value.</termdef></p> +<vcnote id='RequiredAttr'> +<head>Required Attribute</head> +<p>If the default declaration is the keyword <kw>#REQUIRED</kw>, then +the attribute must be specified for +all elements of the type in the attribute-list declaration. +</p></vcnote> +<vcnote id='defattrvalid'> +<head>Attribute Default Legal</head> +<p> +The declared +default value must meet the lexical constraints of the declared attribute type. +</p> +</vcnote> +<vcnote id='FixedAttr'> +<head>Fixed Attribute Default</head> +<p>If an attribute has a default value declared with the +<kw>#FIXED</kw> keyword, instances of that attribute must +match the default value. +</p></vcnote> + +<p>Examples of attribute-list declarations: +<eg>&lt;!ATTLIST termdef + id ID #REQUIRED + name CDATA #IMPLIED> +&lt;!ATTLIST list + type (bullets|ordered|glossary) "ordered"> +&lt;!ATTLIST form + method CDATA #FIXED "POST"></eg></p> +</div3> +<div3 id='AVNormalize'> +<head>Attribute-Value Normalization</head> +<p>Before the value of an attribute is passed to the application +or checked for validity, the +XML processor must normalize it as follows: +<ulist> +<item><p>a character reference is processed by appending the referenced +character to the attribute value</p></item> +<item><p>an entity reference is processed by recursively processing the +replacement text of the entity</p></item> +<item><p>a whitespace character (#x20, #xD, #xA, #x9) is processed by +appending #x20 to the normalized value, except that only a single #x20 +is appended for a "#xD#xA" sequence that is part of an external +parsed entity or the literal entity value of an internal parsed +entity</p></item> +<item><p>other characters are processed by appending them to the normalized +value</p> +</item></ulist> +</p> +<p>If the declared value is not CDATA, then the XML processor must +further process the normalized attribute value by discarding any +leading and trailing space (#x20) characters, and by replacing +sequences of space (#x20) characters by a single space (#x20) +character.</p> +<p> +All attributes for which no declaration has been read should be treated +by a non-validating parser as if declared +<kw>CDATA</kw>. +</p> +</div3> +</div2> +<div2 id='sec-condition-sect'> +<head>Conditional Sections</head> +<p><termdef id='dt-cond-section' term='conditional section'> +<term>Conditional sections</term> are portions of the +<termref def='dt-doctype'>document type declaration external subset</termref> +which are +included in, or excluded from, the logical structure of the DTD based on +the keyword which governs them.</termdef> +<scrap lang='ebnf'> +<head>Conditional Section</head> +<prodgroup pcw2="9" pcw4="14.5"> +<prod id='NT-conditionalSect'><lhs>conditionalSect</lhs> +<rhs><nt def='NT-includeSect'>includeSect</nt> +| <nt def='NT-ignoreSect'>ignoreSect</nt> +</rhs> +</prod> +<prod id='NT-includeSect'><lhs>includeSect</lhs> +<rhs>'&lt;![' S? 'INCLUDE' S? '[' + +<nt def="NT-extSubsetDecl">extSubsetDecl</nt> +']]&gt;' +</rhs> +</prod> +<prod id='NT-ignoreSect'><lhs>ignoreSect</lhs> +<rhs>'&lt;![' S? 'IGNORE' S? '[' +<nt def="NT-ignoreSectContents">ignoreSectContents</nt>* +']]&gt;'</rhs> +</prod> + +<prod id='NT-ignoreSectContents'><lhs>ignoreSectContents</lhs> +<rhs><nt def='NT-Ignore'>Ignore</nt> +('&lt;![' <nt def='NT-ignoreSectContents'>ignoreSectContents</nt> ']]&gt;' +<nt def='NT-Ignore'>Ignore</nt>)*</rhs></prod> +<prod id='NT-Ignore'><lhs>Ignore</lhs> +<rhs><nt def='NT-Char'>Char</nt>* - +(<nt def='NT-Char'>Char</nt>* ('&lt;![' | ']]&gt;') +<nt def='NT-Char'>Char</nt>*) +</rhs></prod> + +</prodgroup> +</scrap> +</p> +<p>Like the internal and external DTD subsets, a conditional section +may contain one or more complete declarations, +comments, processing instructions, +or nested conditional sections, intermingled with white space. +</p> +<p>If the keyword of the +conditional section is <kw>INCLUDE</kw>, then the contents of the conditional +section are part of the DTD. +If the keyword of the conditional +section is <kw>IGNORE</kw>, then the contents of the conditional section are +not logically part of the DTD. +Note that for reliable parsing, the contents of even ignored +conditional sections must be read in order to +detect nested conditional sections and ensure that the end of the +outermost (ignored) conditional section is properly detected. +If a conditional section with a +keyword of <kw>INCLUDE</kw> occurs within a larger conditional +section with a keyword of <kw>IGNORE</kw>, both the outer and the +inner conditional sections are ignored.</p> +<p>If the keyword of the conditional section is a +parameter-entity reference, the parameter entity must be replaced by its +content before the processor decides whether to +include or ignore the conditional section.</p> +<p>An example: +<eg>&lt;!ENTITY % draft 'INCLUDE' > +&lt;!ENTITY % final 'IGNORE' > + +&lt;![%draft;[ +&lt;!ELEMENT book (comments*, title, body, supplements?)> +]]&gt; +&lt;![%final;[ +&lt;!ELEMENT book (title, body, supplements?)> +]]&gt; +</eg> +</p> +</div2> + + +<!-- +<div2 id='sec-pass-to-app'> +<head>XML Processor Treatment of Logical Structure</head> +<p>When an XML processor encounters a start-tag, it must make +at least the following information available to the application: +<ulist> +<item> +<p>the element type's generic identifier</p> +</item> +<item> +<p>the names of attributes known to apply to this element type +(validating processors must make available names of all attributes +declared for the element type; non-validating processors must +make available at least the names of the attributes for which +values are specified. +</p> +</item> +</ulist> +</p> +</div2> +--> + +</div1> +<!-- &Entities; --> + +<div1 id='sec-physical-struct'> +<head>Physical Structures</head> + +<p><termdef id="dt-entity" term="Entity">An XML document may consist +of one or many storage units. These are called +<term>entities</term>; they all have <term>content</term> and are all +(except for the document entity, see below, and +the <termref def='dt-doctype'>external DTD subset</termref>) +identified by <term>name</term>. +</termdef> +Each XML document has one entity +called the <termref def="dt-docent">document entity</termref>, which serves +as the starting point for the <termref def="dt-xml-proc">XML +processor</termref> and may contain the whole document.</p> +<p>Entities may be either parsed or unparsed. +<termdef id="dt-parsedent" term="Text Entity">A <term>parsed entity's</term> +contents are referred to as its +<termref def='dt-repltext'>replacement text</termref>; +this <termref def="dt-text">text</termref> is considered an +integral part of the document.</termdef></p> + +<p><termdef id="dt-unparsed" term="Unparsed Entity">An +<term>unparsed entity</term> +is a resource whose contents may or may not be +<termref def='dt-text'>text</termref>, and if text, may not be XML. +Each unparsed entity +has an associated <termref +def="dt-notation">notation</termref>, identified by name. +Beyond a requirement +that an XML processor make the identifiers for the entity and +notation available to the application, +XML places no constraints on the contents of unparsed entities.</termdef> +</p> +<p> +Parsed entities are invoked by name using entity references; +unparsed entities by name, given in the value of <kw>ENTITY</kw> +or <kw>ENTITIES</kw> +attributes.</p> +<p><termdef id='gen-entity' term='general entity' +><term>General entities</term> +are entities for use within the document content. +In this specification, general entities are sometimes referred +to with the unqualified term <emph>entity</emph> when this leads +to no ambiguity.</termdef> +<termdef id='dt-PE' term='Parameter entity'>Parameter entities +are parsed entities for use within the DTD.</termdef> +These two types of entities use different forms of reference and +are recognized in different contexts. +Furthermore, they occupy different namespaces; a parameter entity and +a general entity with the same name are two distinct entities. +</p> + +<div2 id='sec-references'> +<head>Character and Entity References</head> +<p><termdef id="dt-charref" term="Character Reference"> +A <term>character reference</term> refers to a specific character in the +ISO/IEC 10646 character set, for example one not directly accessible from +available input devices. +<scrap lang='ebnf'> +<head>Character Reference</head> +<prod id='NT-CharRef'><lhs>CharRef</lhs> +<rhs>'&amp;#' [0-9]+ ';' </rhs> +<rhs>| '&hcro;' [0-9a-fA-F]+ ';'</rhs> +<wfc def="wf-Legalchar"/> +</prod> +</scrap> +<wfcnote id="wf-Legalchar"> +<head>Legal Character</head> +<p>Characters referred to using character references must +match the production for +<termref def="NT-Char">Char</termref>.</p> +</wfcnote> +If the character reference begins with "<code>&amp;#x</code>", the digits and +letters up to the terminating <code>;</code> provide a hexadecimal +representation of the character's code point in ISO/IEC 10646. +If it begins just with "<code>&amp;#</code>", the digits up to the terminating +<code>;</code> provide a decimal representation of the character's +code point. +</termdef> +</p> +<p><termdef id="dt-entref" term="Entity Reference">An <term>entity +reference</term> refers to the content of a named entity.</termdef> +<termdef id='dt-GERef' term='General Entity Reference'>References to +parsed general entities +use ampersand (<code>&amp;</code>) and semicolon (<code>;</code>) as +delimiters.</termdef> +<termdef id='dt-PERef' term='Parameter-entity reference'> +<term>Parameter-entity references</term> use percent-sign (<code>%</code>) and +semicolon +(<code>;</code>) as delimiters.</termdef> +</p> +<scrap lang="ebnf"> +<head>Entity Reference</head> +<prod id='NT-Reference'><lhs>Reference</lhs> +<rhs><nt def='NT-EntityRef'>EntityRef</nt> +| <nt def='NT-CharRef'>CharRef</nt></rhs></prod> +<prod id='NT-EntityRef'><lhs>EntityRef</lhs> +<rhs>'&amp;' <nt def='NT-Name'>Name</nt> ';'</rhs> +<wfc def='wf-entdeclared'/> +<vc def='vc-entdeclared'/> +<wfc def='textent'/> +<wfc def='norecursion'/> +</prod> +<prod id='NT-PEReference'><lhs>PEReference</lhs> +<rhs>'%' <nt def='NT-Name'>Name</nt> ';'</rhs> +<vc def='vc-entdeclared'/> +<wfc def='norecursion'/> +<wfc def='indtd'/> +</prod> +</scrap> + +<wfcnote id='wf-entdeclared'> +<head>Entity Declared</head> +<p>In a document without any DTD, a document with only an internal +DTD subset which contains no parameter entity references, or a document with +"<code>standalone='yes'</code>", +the <nt def='NT-Name'>Name</nt> given in the entity reference must +<termref def="dt-match">match</termref> that in an +<titleref href='sec-entity-decl'>entity declaration</titleref>, except that +well-formed documents need not declare +any of the following entities: &magicents;. +The declaration of a parameter entity must precede any reference to it. +Similarly, the declaration of a general entity must precede any +reference to it which appears in a default value in an attribute-list +declaration.</p> +<p>Note that if entities are declared in the external subset or in +external parameter entities, a non-validating processor is +<titleref href='include-if-valid'>not obligated to</titleref> read +and process their declarations; for such documents, the rule that +an entity must be declared is a well-formedness constraint only +if <titleref href='sec-rmd'>standalone='yes'</titleref>.</p> +</wfcnote> +<vcnote id="vc-entdeclared"> +<head>Entity Declared</head> +<p>In a document with an external subset or external parameter +entities with "<code>standalone='no'</code>", +the <nt def='NT-Name'>Name</nt> given in the entity reference must <termref +def="dt-match">match</termref> that in an +<titleref href='sec-entity-decl'>entity declaration</titleref>. +For interoperability, valid documents should declare the entities +&magicents;, in the form +specified in <specref ref="sec-predefined-ent"/>. +The declaration of a parameter entity must precede any reference to it. +Similarly, the declaration of a general entity must precede any +reference to it which appears in a default value in an attribute-list +declaration.</p> +</vcnote> +<!-- FINAL EDIT: is this duplication too clumsy? --> +<wfcnote id='textent'> +<head>Parsed Entity</head> +<p> +An entity reference must not contain the name of an <termref +def="dt-unparsed">unparsed entity</termref>. Unparsed entities may be referred +to only in <termref def="dt-attrval">attribute values</termref> declared to +be of type <kw>ENTITY</kw> or <kw>ENTITIES</kw>. +</p> +</wfcnote> +<wfcnote id='norecursion'> +<head>No Recursion</head> +<p> +A parsed entity must not contain a recursive reference to itself, +either directly or indirectly. +</p> +</wfcnote> +<wfcnote id='indtd'> +<head>In DTD</head> +<p> +Parameter-entity references may only appear in the +<termref def='dt-doctype'>DTD</termref>. +</p> +</wfcnote> +<p>Examples of character and entity references: +<eg>Type &lt;key>less-than&lt;/key> (&hcro;3C;) to save options. +This document was prepared on &amp;docdate; and +is classified &amp;security-level;.</eg></p> +<p>Example of a parameter-entity reference: +<eg><![CDATA[<!-- declare the parameter entity "ISOLat2"... --> +<!ENTITY % ISOLat2 + SYSTEM "http://www.xml.com/iso/isolat2-xml.entities" > +<!-- ... now reference it. --> +%ISOLat2;]]></eg></p> +</div2> + +<div2 id='sec-entity-decl'> +<head>Entity Declarations</head> + +<p><termdef id="dt-entdecl" term="entity declaration"> +Entities are declared thus: +<scrap lang='ebnf'> +<head>Entity Declaration</head> +<prodgroup pcw2="5" pcw4="18.5"> +<prod id='NT-EntityDecl'><lhs>EntityDecl</lhs> +<rhs><nt def="NT-GEDecl">GEDecl</nt><!--</rhs><com>General entities</com> +<rhs>--> | <nt def="NT-PEDecl">PEDecl</nt></rhs> +<!--<com>Parameter entities</com>--> +</prod> +<prod id='NT-GEDecl'><lhs>GEDecl</lhs> +<rhs>'&lt;!ENTITY' <nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt> +<nt def='NT-S'>S</nt> <nt def='NT-EntityDef'>EntityDef</nt> +<nt def='NT-S'>S</nt>? '&gt;'</rhs> +</prod> +<prod id='NT-PEDecl'><lhs>PEDecl</lhs> +<rhs>'&lt;!ENTITY' <nt def='NT-S'>S</nt> '%' <nt def='NT-S'>S</nt> +<nt def='NT-Name'>Name</nt> <nt def='NT-S'>S</nt> +<nt def='NT-PEDef'>PEDef</nt> <nt def='NT-S'>S</nt>? '&gt;'</rhs> +<!--<com>Parameter entities</com>--> +</prod> +<prod id='NT-EntityDef'><lhs>EntityDef</lhs> +<rhs><nt def='NT-EntityValue'>EntityValue</nt> +<!--</rhs> +<rhs>-->| (<nt def='NT-ExternalID'>ExternalID</nt> +<nt def='NT-NDataDecl'>NDataDecl</nt>?)</rhs> +<!-- <nt def='NT-ExternalDef'>ExternalDef</nt></rhs> --> +</prod> +<!-- FINAL EDIT: what happened to WFs here? --> +<prod id='NT-PEDef'><lhs>PEDef</lhs> +<rhs><nt def='NT-EntityValue'>EntityValue</nt> +| <nt def='NT-ExternalID'>ExternalID</nt></rhs></prod> +</prodgroup> +</scrap> +The <nt def='NT-Name'>Name</nt> identifies the entity in an +<termref def="dt-entref">entity reference</termref> or, in the case of an +unparsed entity, in the value of an <kw>ENTITY</kw> or <kw>ENTITIES</kw> +attribute. +If the same entity is declared more than once, the first declaration +encountered is binding; at user option, an XML processor may issue a +warning if entities are declared multiple times.</termdef> +</p> + +<div3 id='sec-internal-ent'> +<head>Internal Entities</head> + +<p><termdef id='dt-internent' term="Internal Entity Replacement Text">If +the entity definition is an +<nt def='NT-EntityValue'>EntityValue</nt>, +the defined entity is called an <term>internal entity</term>. +There is no separate physical +storage object, and the content of the entity is given in the +declaration. </termdef> +Note that some processing of entity and character references in the +<termref def='dt-litentval'>literal entity value</termref> may be required to +produce the correct <termref def='dt-repltext'>replacement +text</termref>: see <specref ref='intern-replacement'/>. +</p> +<p>An internal entity is a <termref def="dt-parsedent">parsed +entity</termref>.</p> +<p>Example of an internal entity declaration: +<eg>&lt;!ENTITY Pub-Status "This is a pre-release of the + specification."></eg></p> +</div3> + +<div3 id='sec-external-ent'> +<head>External Entities</head> + +<p><termdef id="dt-extent" term="External Entity">If the entity is not +internal, it is an <term>external +entity</term>, declared as follows: +<scrap lang='ebnf'> +<head>External Entity Declaration</head> +<!-- +<prod id='NT-ExternalDef'><lhs>ExternalDef</lhs> +<rhs></prod> --> +<prod id='NT-ExternalID'><lhs>ExternalID</lhs> +<rhs>'SYSTEM' <nt def='NT-S'>S</nt> +<nt def='NT-SystemLiteral'>SystemLiteral</nt></rhs> +<rhs>| 'PUBLIC' <nt def='NT-S'>S</nt> +<nt def='NT-PubidLiteral'>PubidLiteral</nt> +<nt def='NT-S'>S</nt> +<nt def='NT-SystemLiteral'>SystemLiteral</nt> +</rhs> +</prod> +<prod id='NT-NDataDecl'><lhs>NDataDecl</lhs> +<rhs><nt def='NT-S'>S</nt> 'NDATA' <nt def='NT-S'>S</nt> +<nt def='NT-Name'>Name</nt></rhs> +<vc def='not-declared'/></prod> +</scrap> +If the <nt def='NT-NDataDecl'>NDataDecl</nt> is present, this is a +general <termref def="dt-unparsed">unparsed +entity</termref>; otherwise it is a parsed entity.</termdef></p> +<vcnote id='not-declared'> +<head>Notation Declared</head> +<p> +The <nt def='NT-Name'>Name</nt> must match the declared name of a +<termref def="dt-notation">notation</termref>. +</p> +</vcnote> +<p><termdef id="dt-sysid" term="System Identifier">The +<nt def='NT-SystemLiteral'>SystemLiteral</nt> +is called the entity's <term>system identifier</term>. It is a URI, +which may be used to retrieve the entity.</termdef> +Note that the hash mark (<code>#</code>) and fragment identifier +frequently used with URIs are not, formally, part of the URI itself; +an XML processor may signal an error if a fragment identifier is +given as part of a system identifier. +Unless otherwise provided by information outside the scope of this +specification (e.g. a special XML element type defined by a particular +DTD, or a processing instruction defined by a particular application +specification), relative URIs are relative to the location of the +resource within which the entity declaration occurs. +A URI might thus be relative to the +<termref def='dt-docent'>document entity</termref>, to the entity +containing the <termref def='dt-doctype'>external DTD subset</termref>, +or to some other <termref def='dt-extent'>external parameter entity</termref>. +</p> +<p>An XML processor should handle a non-ASCII character in a URI by +representing the character in UTF-8 as one or more bytes, and then +escaping these bytes with the URI escaping mechanism (i.e., by +converting each byte to %HH, where HH is the hexadecimal notation of the +byte value).</p> +<p><termdef id="dt-pubid" term="Public identifier"> +In addition to a system identifier, an external identifier may +include a <term>public identifier</term>.</termdef> +An XML processor attempting to retrieve the entity's content may use the public +identifier to try to generate an alternative URI. If the processor +is unable to do so, it must use the URI specified in the system +literal. Before a match is attempted, all strings +of white space in the public identifier must be normalized to single space characters (#x20), +and leading and trailing white space must be removed.</p> +<p>Examples of external entity declarations: +<eg>&lt;!ENTITY open-hatch + SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml"> +&lt;!ENTITY open-hatch + PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" + "http://www.textuality.com/boilerplate/OpenHatch.xml"> +&lt;!ENTITY hatch-pic + SYSTEM "../grafix/OpenHatch.gif" + NDATA gif ></eg></p> +</div3> + +</div2> + +<div2 id='TextEntities'> +<head>Parsed Entities</head> +<div3 id='sec-TextDecl'> +<head>The Text Declaration</head> +<p>External parsed entities may each begin with a <term>text +declaration</term>. +<scrap lang='ebnf'> +<head>Text Declaration</head> +<prodgroup pcw4="12.5" pcw5="13"> +<prod id='NT-TextDecl'><lhs>TextDecl</lhs> +<rhs>&xmlpio; +<nt def='NT-VersionInfo'>VersionInfo</nt>? +<nt def='NT-EncodingDecl'>EncodingDecl</nt> +<nt def='NT-S'>S</nt>? &pic;</rhs> +</prod> +</prodgroup> +</scrap> +</p> +<p>The text declaration must be provided literally, not +by reference to a parsed entity. +No text declaration may appear at any position other than the beginning of +an external parsed entity.</p> +</div3> +<div3 id='wf-entities'> +<head>Well-Formed Parsed Entities</head> +<p>The document entity is well-formed if it matches the production labeled +<nt def='NT-document'>document</nt>. +An external general +parsed entity is well-formed if it matches the production labeled +<nt def='NT-extParsedEnt'>extParsedEnt</nt>. +An external parameter +entity is well-formed if it matches the production labeled +<nt def='NT-extPE'>extPE</nt>. +<scrap lang='ebnf'> +<head>Well-Formed External Parsed Entity</head> +<prod id='NT-extParsedEnt'><lhs>extParsedEnt</lhs> +<rhs><nt def='NT-TextDecl'>TextDecl</nt>? +<nt def='NT-content'>content</nt></rhs> +</prod> +<prod id='NT-extPE'><lhs>extPE</lhs> +<rhs><nt def='NT-TextDecl'>TextDecl</nt>? +<nt def='NT-extSubsetDecl'>extSubsetDecl</nt></rhs> +</prod> +</scrap> +An internal general parsed entity is well-formed if its replacement text +matches the production labeled +<nt def='NT-content'>content</nt>. +All internal parameter entities are well-formed by definition. +</p> +<p>A consequence of well-formedness in entities is that the logical +and physical structures in an XML document are properly nested; no +<termref def='dt-stag'>start-tag</termref>, +<termref def='dt-etag'>end-tag</termref>, +<termref def="dt-empty">empty-element tag</termref>, +<termref def='dt-element'>element</termref>, +<termref def='dt-comment'>comment</termref>, +<termref def='dt-pi'>processing instruction</termref>, +<termref def='dt-charref'>character +reference</termref>, or +<termref def='dt-entref'>entity reference</termref> +can begin in one entity and end in another.</p> +</div3> +<div3 id='charencoding'> +<head>Character Encoding in Entities</head> + +<p>Each external parsed entity in an XML document may use a different +encoding for its characters. All XML processors must be able to read +entities in either UTF-8 or UTF-16. + +</p> +<p>Entities encoded in UTF-16 must +begin with the Byte Order Mark described by ISO/IEC 10646 Annex E and +Unicode Appendix B (the ZERO WIDTH NO-BREAK SPACE character, #xFEFF). +This is an encoding signature, not part of either the markup or the +character data of the XML document. +XML processors must be able to use this character to +differentiate between UTF-8 and UTF-16 encoded documents.</p> +<p>Although an XML processor is required to read only entities in +the UTF-8 and UTF-16 encodings, it is recognized that other encodings are +used around the world, and it may be desired for XML processors +to read entities that use them. +Parsed entities which are stored in an encoding other than +UTF-8 or UTF-16 must begin with a <titleref href='TextDecl'>text +declaration</titleref> containing an encoding declaration: +<scrap lang='ebnf'> +<head>Encoding Declaration</head> +<prod id='NT-EncodingDecl'><lhs>EncodingDecl</lhs> +<rhs><nt def="NT-S">S</nt> +'encoding' <nt def='NT-Eq'>Eq</nt> +('"' <nt def='NT-EncName'>EncName</nt> '"' | +"'" <nt def='NT-EncName'>EncName</nt> "'" ) +</rhs> +</prod> +<prod id='NT-EncName'><lhs>EncName</lhs> +<rhs>[A-Za-z] ([A-Za-z0-9._] | '-')*</rhs> +<com>Encoding name contains only Latin characters</com> +</prod> +</scrap> +In the <termref def='dt-docent'>document entity</termref>, the encoding +declaration is part of the <termref def="dt-xmldecl">XML declaration</termref>. +The <nt def="NT-EncName">EncName</nt> is the name of the encoding used. +</p> +<!-- FINAL EDIT: check name of IANA and charset names --> +<p>In an encoding declaration, the values +"<code>UTF-8</code>", +"<code>UTF-16</code>", +"<code>ISO-10646-UCS-2</code>", and +"<code>ISO-10646-UCS-4</code>" should be +used for the various encodings and transformations of Unicode / +ISO/IEC 10646, the values +"<code>ISO-8859-1</code>", +"<code>ISO-8859-2</code>", ... +"<code>ISO-8859-9</code>" should be used for the parts of ISO 8859, and +the values +"<code>ISO-2022-JP</code>", +"<code>Shift_JIS</code>", and +"<code>EUC-JP</code>" +should be used for the various encoded forms of JIS X-0208-1997. XML +processors may recognize other encodings; it is recommended that +character encodings registered (as <emph>charset</emph>s) +with the Internet Assigned Numbers +Authority <bibref ref='IANA'/>, other than those just listed, should be +referred to +using their registered names. +Note that these registered names are defined to be +case-insensitive, so processors wishing to match against them +should do so in a case-insensitive +way.</p> +<p>In the absence of information provided by an external +transport protocol (e.g. HTTP or MIME), +it is an <termref def="dt-error">error</termref> for an entity including +an encoding declaration to be presented to the XML processor +in an encoding other than that named in the declaration, +for an encoding declaration to occur other than at the beginning +of an external entity, or for +an entity which begins with neither a Byte Order Mark nor an encoding +declaration to use an encoding other than UTF-8. +Note that since ASCII +is a subset of UTF-8, ordinary ASCII entities do not strictly need +an encoding declaration.</p> + +<p>It is a <termref def='dt-fatal'>fatal error</termref> when an XML processor +encounters an entity with an encoding that it is unable to process.</p> +<p>Examples of encoding declarations: +<eg>&lt;?xml encoding='UTF-8'?> +&lt;?xml encoding='EUC-JP'?></eg></p> +</div3> +</div2> +<div2 id='entproc'> +<head>XML Processor Treatment of Entities and References</head> +<p>The table below summarizes the contexts in which character references, +entity references, and invocations of unparsed entities might appear and the +required behavior of an <termref def='dt-xml-proc'>XML processor</termref> in +each case. +The labels in the leftmost column describe the recognition context: +<glist> +<gitem><label>Reference in Content</label> +<def><p>as a reference +anywhere after the <termref def='dt-stag'>start-tag</termref> and +before the <termref def='dt-etag'>end-tag</termref> of an element; corresponds +to the nonterminal <nt def='NT-content'>content</nt>.</p></def> +</gitem> +<gitem> +<label>Reference in Attribute Value</label> +<def><p>as a reference within either the value of an attribute in a +<termref def='dt-stag'>start-tag</termref>, or a default +value in an <termref def='dt-attdecl'>attribute declaration</termref>; +corresponds to the nonterminal +<nt def='NT-AttValue'>AttValue</nt>.</p></def></gitem> +<gitem> +<label>Occurs as Attribute Value</label> +<def><p>as a <nt def='NT-Name'>Name</nt>, not a reference, appearing either as +the value of an +attribute which has been declared as type <kw>ENTITY</kw>, or as one of +the space-separated tokens in the value of an attribute which has been +declared as type <kw>ENTITIES</kw>.</p> +</def></gitem> +<gitem><label>Reference in Entity Value</label> +<def><p>as a reference +within a parameter or internal entity's +<termref def='dt-litentval'>literal entity value</termref> in +the entity's declaration; corresponds to the nonterminal +<nt def='NT-EntityValue'>EntityValue</nt>.</p></def></gitem> +<gitem><label>Reference in DTD</label> +<def><p>as a reference within either the internal or external subsets of the +<termref def='dt-doctype'>DTD</termref>, but outside +of an <nt def='NT-EntityValue'>EntityValue</nt> or +<nt def="NT-AttValue">AttValue</nt>.</p></def> +</gitem> +</glist></p> +<htable border='1' cellpadding='7' align='center'> +<htbody> +<tr><td bgcolor='&cellback;' rowspan='2' colspan='1'></td> +<td bgcolor='&cellback;' align='center' valign='bottom' colspan='4'>Entity Type</td> +<td bgcolor='&cellback;' rowspan='2' align='center'>Character</td> +</tr> +<tr align='center' valign='bottom'> +<td bgcolor='&cellback;'>Parameter</td> +<td bgcolor='&cellback;'>Internal +General</td> +<td bgcolor='&cellback;'>External Parsed +General</td> +<td bgcolor='&cellback;'>Unparsed</td> +</tr> +<tr align='center' valign='middle'> + +<td bgcolor='&cellback;' align='right'>Reference +in Content</td> +<td bgcolor='&cellback;'><titleref href='not-recognized'>Not recognized</titleref></td> +<td bgcolor='&cellback;'><titleref href='included'>Included</titleref></td> +<td bgcolor='&cellback;'><titleref href='include-if-valid'>Included if validating</titleref></td> +<td bgcolor='&cellback;'><titleref href='forbidden'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='included'>Included</titleref></td> +</tr> +<tr align='center' valign='middle'> +<td bgcolor='&cellback;' align='right'>Reference +in Attribute Value</td> +<td bgcolor='&cellback;'><titleref href='not-recognized'>Not recognized</titleref></td> +<td bgcolor='&cellback;'><titleref href='inliteral'>Included in literal</titleref></td> +<td bgcolor='&cellback;'><titleref href='forbidden'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='forbidden'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='included'>Included</titleref></td> +</tr> +<tr align='center' valign='middle'> +<td bgcolor='&cellback;' align='right'>Occurs as +Attribute Value</td> +<td bgcolor='&cellback;'><titleref href='not-recognized'>Not recognized</titleref></td> +<td bgcolor='&cellback;'><titleref href='not-recognized'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='not-recognized'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='notify'>Notify</titleref></td> +<td bgcolor='&cellback;'><titleref href='not recognized'>Not recognized</titleref></td> +</tr> +<tr align='center' valign='middle'> +<td bgcolor='&cellback;' align='right'>Reference +in EntityValue</td> +<td bgcolor='&cellback;'><titleref href='inliteral'>Included in literal</titleref></td> +<td bgcolor='&cellback;'><titleref href='bypass'>Bypassed</titleref></td> +<td bgcolor='&cellback;'><titleref href='bypass'>Bypassed</titleref></td> +<td bgcolor='&cellback;'><titleref href='forbidden'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='included'>Included</titleref></td> +</tr> +<tr align='center' valign='middle'> +<td bgcolor='&cellback;' align='right'>Reference +in DTD</td> +<td bgcolor='&cellback;'><titleref href='as-PE'>Included as PE</titleref></td> +<td bgcolor='&cellback;'><titleref href='forbidden'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='forbidden'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='forbidden'>Forbidden</titleref></td> +<td bgcolor='&cellback;'><titleref href='forbidden'>Forbidden</titleref></td> +</tr> +</htbody> +</htable> +<div3 id='not-recognized'> +<head>Not Recognized</head> +<p>Outside the DTD, the <code>%</code> character has no +special significance; thus, what would be parameter entity references in the +DTD are not recognized as markup in <nt def='NT-content'>content</nt>. +Similarly, the names of unparsed entities are not recognized except +when they appear in the value of an appropriately declared attribute. +</p> +</div3> +<div3 id='included'> +<head>Included</head> +<p><termdef id="dt-include" term="Include">An entity is +<term>included</term> when its +<termref def='dt-repltext'>replacement text</termref> is retrieved +and processed, in place of the reference itself, +as though it were part of the document at the location the +reference was recognized. +The replacement text may contain both +<termref def='dt-chardata'>character data</termref> +and (except for parameter entities) <termref def="dt-markup">markup</termref>, +which must be recognized in +the usual way, except that the replacement text of entities used to escape +markup delimiters (the entities &magicents;) is always treated as +data. (The string "<code>AT&amp;amp;T;</code>" expands to +"<code>AT&amp;T;</code>" and the remaining ampersand is not recognized +as an entity-reference delimiter.) +A character reference is <term>included</term> when the indicated +character is processed in place of the reference itself. +</termdef></p> +</div3> +<div3 id='include-if-valid'> +<head>Included If Validating</head> +<p>When an XML processor recognizes a reference to a parsed entity, in order +to <termref def="dt-valid">validate</termref> +the document, the processor must +<termref def="dt-include">include</termref> its +replacement text. +If the entity is external, and the processor is not +attempting to validate the XML document, the +processor <termref def="dt-may">may</termref>, but need not, +include the entity's replacement text. +If a non-validating parser does not include the replacement text, +it must inform the application that it recognized, but did not +read, the entity.</p> +<p>This rule is based on the recognition that the automatic inclusion +provided by the SGML and XML entity mechanism, primarily designed +to support modularity in authoring, is not necessarily +appropriate for other applications, in particular document browsing. +Browsers, for example, when encountering an external parsed entity reference, +might choose to provide a visual indication of the entity's +presence and retrieve it for display only on demand. +</p> +</div3> +<div3 id='forbidden'> +<head>Forbidden</head> +<p>The following are forbidden, and constitute +<termref def='dt-fatal'>fatal</termref> errors: +<ulist> +<item><p>the appearance of a reference to an +<termref def='dt-unparsed'>unparsed entity</termref>. +</p></item> +<item><p>the appearance of any character or general-entity reference in the +DTD except within an <nt def='NT-EntityValue'>EntityValue</nt> or +<nt def="NT-AttValue">AttValue</nt>.</p></item> +<item><p>a reference to an external entity in an attribute value.</p> +</item> +</ulist> +</p> +</div3> +<div3 id='inliteral'> +<head>Included in Literal</head> +<p>When an <termref def='dt-entref'>entity reference</termref> appears in an +attribute value, or a parameter entity reference appears in a literal entity +value, its <termref def='dt-repltext'>replacement text</termref> is +processed in place of the reference itself as though it +were part of the document at the location the reference was recognized, +except that a single or double quote character in the replacement text +is always treated as a normal data character and will not terminate the +literal. +For example, this is well-formed: +<eg><![CDATA[<!ENTITY % YN '"Yes"' > +<!ENTITY WhatHeSaid "He said &YN;" >]]></eg> +while this is not: +<eg>&lt;!ENTITY EndAttr "27'" > +&lt;element attribute='a-&amp;EndAttr;></eg> +</p></div3> +<div3 id='notify'> +<head>Notify</head> +<p>When the name of an <termref def='dt-unparsed'>unparsed +entity</termref> appears as a token in the +value of an attribute of declared type <kw>ENTITY</kw> or <kw>ENTITIES</kw>, +a validating processor must inform the +application of the <termref def='dt-sysid'>system</termref> +and <termref def='dt-pubid'>public</termref> (if any) +identifiers for both the entity and its associated +<termref def="dt-notation">notation</termref>.</p> +</div3> +<div3 id='bypass'> +<head>Bypassed</head> +<p>When a general entity reference appears in the +<nt def='NT-EntityValue'>EntityValue</nt> in an entity declaration, +it is bypassed and left as is.</p> +</div3> +<div3 id='as-PE'> +<head>Included as PE</head> +<p>Just as with external parsed entities, parameter entities +need only be <titleref href='include-if-valid'>included if +validating</titleref>. +When a parameter-entity reference is recognized in the DTD +and included, its +<termref def='dt-repltext'>replacement +text</termref> is enlarged by the attachment of one leading and one following +space (#x20) character; the intent is to constrain the replacement +text of parameter +entities to contain an integral number of grammatical tokens in the DTD. +</p> +</div3> + +</div2> +<div2 id='intern-replacement'> +<head>Construction of Internal Entity Replacement Text</head> +<p>In discussing the treatment +of internal entities, it is +useful to distinguish two forms of the entity's value. +<termdef id="dt-litentval" term='Literal Entity Value'>The <term>literal +entity value</term> is the quoted string actually +present in the entity declaration, corresponding to the +non-terminal <nt def='NT-EntityValue'>EntityValue</nt>.</termdef> +<termdef id='dt-repltext' term='Replacement Text'>The <term>replacement +text</term> is the content of the entity, after +replacement of character references and parameter-entity +references. +</termdef></p> + +<p>The literal entity value +as given in an internal entity declaration +(<nt def='NT-EntityValue'>EntityValue</nt>) may contain character, +parameter-entity, and general-entity references. +Such references must be contained entirely within the +literal entity value. +The actual replacement text that is +<termref def='dt-include'>included</termref> as described above +must contain the <emph>replacement text</emph> of any +parameter entities referred to, and must contain the character +referred to, in place of any character references in the +literal entity value; however, +general-entity references must be left as-is, unexpanded. +For example, given the following declarations: + +<eg><![CDATA[<!ENTITY % pub "&#xc9;ditions Gallimard" > +<!ENTITY rights "All rights reserved" > +<!ENTITY book "La Peste: Albert Camus, +&#xA9; 1947 %pub;. &rights;" >]]></eg> +then the replacement text for the entity "<code>book</code>" is: +<eg>La Peste: Albert Camus, +&#169; 1947 &#201;ditions Gallimard. &amp;rights;</eg> +The general-entity reference "<code>&amp;rights;</code>" would be expanded +should the reference "<code>&amp;book;</code>" appear in the document's +content or an attribute value.</p> +<p>These simple rules may have complex interactions; for a detailed +discussion of a difficult example, see +<specref ref='sec-entexpand'/>. +</p> + +</div2> +<div2 id='sec-predefined-ent'> +<head>Predefined Entities</head> +<p><termdef id="dt-escape" term="escape">Entity and character +references can both be used to <term>escape</term> the left angle bracket, +ampersand, and other delimiters. A set of general entities +(&magicents;) is specified for this purpose. +Numeric character references may also be used; they are +expanded immediately when recognized and must be treated as +character data, so the numeric character references +"<code>&amp;#60;</code>" and "<code>&amp;#38;</code>" may be used to +escape <code>&lt;</code> and <code>&amp;</code> when they occur +in character data.</termdef></p> +<p>All XML processors must recognize these entities whether they +are declared or not. +<termref def='dt-interop'>For interoperability</termref>, +valid XML documents should declare these +entities, like any others, before using them. +If the entities in question are declared, they must be declared +as internal entities whose replacement text is the single +character being escaped or a character reference to +that character, as shown below. +<eg><![CDATA[<!ENTITY lt "&#38;#60;"> +<!ENTITY gt "&#62;"> +<!ENTITY amp "&#38;#38;"> +<!ENTITY apos "&#39;"> +<!ENTITY quot "&#34;"> +]]></eg> +Note that the <code>&lt;</code> and <code>&amp;</code> characters +in the declarations of "<code>lt</code>" and "<code>amp</code>" +are doubly escaped to meet the requirement that entity replacement +be well-formed. +</p> +</div2> + +<div2 id='Notations'> +<head>Notation Declarations</head> + +<p><termdef id="dt-notation" term="Notation"><term>Notations</term> identify by +name the format of <termref def="dt-extent">unparsed +entities</termref>, the +format of elements which bear a notation attribute, +or the application to which +a <termref def="dt-pi">processing instruction</termref> is +addressed.</termdef></p> +<p><termdef id="dt-notdecl" term="Notation Declaration"> +<term>Notation declarations</term> +provide a name for the notation, for use in +entity and attribute-list declarations and in attribute specifications, +and an external identifier for the notation which may allow an XML +processor or its client application to locate a helper application +capable of processing data in the given notation. +<scrap lang='ebnf'> +<head>Notation Declarations</head> +<prod id='NT-NotationDecl'><lhs>NotationDecl</lhs> +<rhs>'&lt;!NOTATION' <nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt> +<nt def='NT-S'>S</nt> +(<nt def='NT-ExternalID'>ExternalID</nt> | +<nt def='NT-PublicID'>PublicID</nt>) +<nt def='NT-S'>S</nt>? '>'</rhs></prod> +<prod id='NT-PublicID'><lhs>PublicID</lhs> +<rhs>'PUBLIC' <nt def='NT-S'>S</nt> +<nt def='NT-PubidLiteral'>PubidLiteral</nt> +</rhs></prod> +</scrap> +</termdef></p> +<p>XML processors must provide applications with the name and external +identifier(s) of any notation declared and referred to in an attribute +value, attribute definition, or entity declaration. They may +additionally resolve the external identifier into the +<termref def="dt-sysid">system identifier</termref>, +file name, or other information needed to allow the +application to call a processor for data in the notation described. (It +is not an error, however, for XML documents to declare and refer to +notations for which notation-specific applications are not available on +the system where the XML processor or application is running.)</p> +</div2> + + +<div2 id='sec-doc-entity'> +<head>Document Entity</head> + +<p><termdef id="dt-docent" term="Document Entity">The <term>document +entity</term> serves as the root of the entity +tree and a starting-point for an <termref def="dt-xml-proc">XML +processor</termref>.</termdef> +This specification does +not specify how the document entity is to be located by an XML +processor; unlike other entities, the document entity has no name and might +well appear on a processor input stream +without any identification at all.</p> +</div2> + + +</div1> +<!-- &Conformance; --> + +<div1 id='sec-conformance'> +<head>Conformance</head> + +<div2 id='proc-types'> +<head>Validating and Non-Validating Processors</head> +<p>Conforming <termref def="dt-xml-proc">XML processors</termref> fall into two +classes: validating and non-validating.</p> +<p>Validating and non-validating processors alike must report +violations of this specification's well-formedness constraints +in the content of the +<termref def='dt-docent'>document entity</termref> and any +other <termref def='dt-parsedent'>parsed entities</termref> that +they read.</p> +<p><termdef id="dt-validating" term="Validating Processor"> +<term>Validating processors</term> must report +violations of the constraints expressed by the declarations in the +<termref def="dt-doctype">DTD</termref>, and +failures to fulfill the validity constraints given +in this specification. +</termdef> +To accomplish this, validating XML processors must read and process the entire +DTD and all external parsed entities referenced in the document. +</p> +<p>Non-validating processors are required to check only the +<termref def='dt-docent'>document entity</termref>, including +the entire internal DTD subset, for well-formedness. +<termdef id='dt-use-mdecl' term='Process Declarations'> +While they are not required to check the document for validity, +they are required to +<term>process</term> all the declarations they read in the +internal DTD subset and in any parameter entity that they +read, up to the first reference +to a parameter entity that they do <emph>not</emph> read; that is to +say, they must +use the information in those declarations to +<titleref href='AVNormalize'>normalize</titleref> attribute values, +<titleref href='included'>include</titleref> the replacement text of +internal entities, and supply +<titleref href='sec-attr-defaults'>default attribute values</titleref>. +</termdef> +They must not <termref def='dt-use-mdecl'>process</termref> +<termref def='dt-entdecl'>entity declarations</termref> or +<termref def='dt-attdecl'>attribute-list declarations</termref> +encountered after a reference to a parameter entity that is not +read, since the entity may have contained overriding declarations. +</p> +</div2> +<div2 id='safe-behavior'> +<head>Using XML Processors</head> +<p>The behavior of a validating XML processor is highly predictable; it +must read every piece of a document and report all well-formedness and +validity violations. +Less is required of a non-validating processor; it need not read any +part of the document other than the document entity. +This has two effects that may be important to users of XML processors: +<ulist> +<item><p>Certain well-formedness errors, specifically those that require +reading external entities, may not be detected by a non-validating processor. +Examples include the constraints entitled +<titleref href='wf-entdeclared'>Entity Declared</titleref>, +<titleref href='wf-textent'>Parsed Entity</titleref>, and +<titleref href='wf-norecursion'>No Recursion</titleref>, as well +as some of the cases described as +<titleref href='forbidden'>forbidden</titleref> in +<specref ref='entproc'/>.</p></item> +<item><p>The information passed from the processor to the application may +vary, depending on whether the processor reads +parameter and external entities. +For example, a non-validating processor may not +<titleref href='AVNormalize'>normalize</titleref> attribute values, +<titleref href='included'>include</titleref> the replacement text of +internal entities, or supply +<titleref href='sec-attr-defaults'>default attribute values</titleref>, +where doing so depends on having read declarations in +external or parameter entities.</p></item> +</ulist> +</p> +<p>For maximum reliability in interoperating between different XML +processors, applications which use non-validating processors should not +rely on any behaviors not required of such processors. +Applications which require facilities such as the use of default +attributes or internal entities which are declared in external +entities should use validating XML processors.</p> +</div2> +</div1> + +<div1 id='sec-notation'> +<head>Notation</head> + +<p>The formal grammar of XML is given in this specification using a simple +Extended Backus-Naur Form (EBNF) notation. Each rule in the grammar defines +one symbol, in the form +<eg>symbol ::= expression</eg></p> +<p>Symbols are written with an initial capital letter if they are +defined by a regular expression, or with an initial lower case letter +otherwise. +Literal strings are quoted. + +</p> + +<p>Within the expression on the right-hand side of a rule, the following +expressions are used to match strings of one or more characters: +<glist> +<gitem> +<label><code>#xN</code></label> +<def><p>where <code>N</code> is a hexadecimal integer, the +expression matches the character in ISO/IEC 10646 whose canonical +(UCS-4) +code value, when interpreted as an unsigned binary number, has +the value indicated. The number of leading zeros in the +<code>#xN</code> form is insignificant; the number of leading +zeros in the corresponding code value +is governed by the character +encoding in use and is not significant for XML.</p></def> +</gitem> +<gitem> +<label><code>[a-zA-Z]</code>, <code>[#xN-#xN]</code></label> +<def><p>matches any <termref def='dt-character'>character</termref> +with a value in the range(s) indicated (inclusive).</p></def> +</gitem> +<gitem> +<label><code>[^a-z]</code>, <code>[^#xN-#xN]</code></label> +<def><p>matches any <termref def='dt-character'>character</termref> +with a value <emph>outside</emph> the +range indicated.</p></def> +</gitem> +<gitem> +<label><code>[^abc]</code>, <code>[^#xN#xN#xN]</code></label> +<def><p>matches any <termref def='dt-character'>character</termref> +with a value not among the characters given.</p></def> +</gitem> +<gitem> +<label><code>"string"</code></label> +<def><p>matches a literal string <termref def="dt-match">matching</termref> +that given inside the double quotes.</p></def> +</gitem> +<gitem> +<label><code>'string'</code></label> +<def><p>matches a literal string <termref def="dt-match">matching</termref> +that given inside the single quotes.</p></def> +</gitem> +</glist> +These symbols may be combined to match more complex patterns as follows, +where <code>A</code> and <code>B</code> represent simple expressions: +<glist> +<gitem> +<label>(<code>expression</code>)</label> +<def><p><code>expression</code> is treated as a unit +and may be combined as described in this list.</p></def> +</gitem> +<gitem> +<label><code>A?</code></label> +<def><p>matches <code>A</code> or nothing; optional <code>A</code>.</p></def> +</gitem> +<gitem> +<label><code>A B</code></label> +<def><p>matches <code>A</code> followed by <code>B</code>.</p></def> +</gitem> +<gitem> +<label><code>A | B</code></label> +<def><p>matches <code>A</code> or <code>B</code> but not both.</p></def> +</gitem> +<gitem> +<label><code>A - B</code></label> +<def><p>matches any string that matches <code>A</code> but does not match +<code>B</code>. +</p></def> +</gitem> +<gitem> +<label><code>A+</code></label> +<def><p>matches one or more occurrences of <code>A</code>.</p></def> +</gitem> +<gitem> +<label><code>A*</code></label> +<def><p>matches zero or more occurrences of <code>A</code>.</p></def> +</gitem> + +</glist> +Other notations used in the productions are: +<glist> +<gitem> +<label><code>/* ... */</code></label> +<def><p>comment.</p></def> +</gitem> +<gitem> +<label><code>[ wfc: ... ]</code></label> +<def><p>well-formedness constraint; this identifies by name a +constraint on +<termref def="dt-wellformed">well-formed</termref> documents +associated with a production.</p></def> +</gitem> +<gitem> +<label><code>[ vc: ... ]</code></label> +<def><p>validity constraint; this identifies by name a constraint on +<termref def="dt-valid">valid</termref> documents associated with +a production.</p></def> +</gitem> +</glist> +</p></div1> + +</body> +<back> +<!-- &SGML; --> + + +<!-- &Biblio; --> +<div1 id='sec-bibliography'> + +<head>References</head> +<div2 id='sec-existing-stds'> +<head>Normative References</head> + +<blist> +<bibl id='IANA' key='IANA'> +(Internet Assigned Numbers Authority) <emph>Official Names for +Character Sets</emph>, +ed. Keld Simonsen et al. +See <loc href='ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets'>ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets</loc>. +</bibl> + +<bibl id='RFC1766' key='IETF RFC 1766'> +IETF (Internet Engineering Task Force). +<emph>RFC 1766: Tags for the Identification of Languages</emph>, +ed. H. Alvestrand. +1995. +</bibl> + +<bibl id='ISO639' key='ISO 639'> +(International Organization for Standardization). +<emph>ISO 639:1988 (E). +Code for the representation of names of languages.</emph> +[Geneva]: International Organization for +Standardization, 1988.</bibl> + +<bibl id='ISO3166' key='ISO 3166'> +(International Organization for Standardization). +<emph>ISO 3166-1:1997 (E). +Codes for the representation of names of countries and their subdivisions +&mdash; Part 1: Country codes</emph> +[Geneva]: International Organization for +Standardization, 1997.</bibl> + +<bibl id='ISO10646' key='ISO/IEC 10646'>ISO +(International Organization for Standardization). +<emph>ISO/IEC 10646-1993 (E). Information technology &mdash; Universal +Multiple-Octet Coded Character Set (UCS) &mdash; Part 1: +Architecture and Basic Multilingual Plane.</emph> +[Geneva]: International Organization for +Standardization, 1993 (plus amendments AM 1 through AM 7). +</bibl> + +<bibl id='Unicode' key='Unicode'>The Unicode Consortium. +<emph>The Unicode Standard, Version 2.0.</emph> +Reading, Mass.: Addison-Wesley Developers Press, 1996.</bibl> + +</blist> + +</div2> + +<div2><head>Other References</head> + +<blist> + +<bibl id='Aho' key='Aho/Ullman'>Aho, Alfred V., +Ravi Sethi, and Jeffrey D. Ullman. +<emph>Compilers: Principles, Techniques, and Tools</emph>. +Reading: Addison-Wesley, 1986, rpt. corr. 1988.</bibl> + +<bibl id="Berners-Lee" xml-link="simple" key="Berners-Lee et al."> +Berners-Lee, T., R. Fielding, and L. Masinter. +<emph>Uniform Resource Identifiers (URI): Generic Syntax and +Semantics</emph>. +1997. +(Work in progress; see updates to RFC1738.)</bibl> + +<bibl id='ABK' key='Brüggemann-Klein'>Brüggemann-Klein, Anne. +<emph>Regular Expressions into Finite Automata</emph>. +Extended abstract in I. Simon, Hrsg., LATIN 1992, +S. 97-98. Springer-Verlag, Berlin 1992. +Full Version in Theoretical Computer Science 120: 197-213, 1993. + +</bibl> + +<bibl id='ABKDW' key='Brüggemann-Klein and Wood'>Brüggemann-Klein, Anne, +and Derick Wood. +<emph>Deterministic Regular Languages</emph>. +Universität Freiburg, Institut für Informatik, +Bericht 38, Oktober 1991. +</bibl> + +<bibl id='Clark' key='Clark'>James Clark. +Comparison of SGML and XML. See +<loc href='http://www.w3.org/TR/NOTE-sgml-xml-971215'>http://www.w3.org/TR/NOTE-sgml-xml-971215</loc>. +</bibl> +<bibl id="RFC1738" xml-link="simple" key="IETF RFC1738"> +IETF (Internet Engineering Task Force). +<emph>RFC 1738: Uniform Resource Locators (URL)</emph>, +ed. T. Berners-Lee, L. Masinter, M. McCahill. +1994. +</bibl> + +<bibl id="RFC1808" xml-link="simple" key="IETF RFC1808"> +IETF (Internet Engineering Task Force). +<emph>RFC 1808: Relative Uniform Resource Locators</emph>, +ed. R. Fielding. +1995. +</bibl> + +<bibl id="RFC2141" xml-link="simple" key="IETF RFC2141"> +IETF (Internet Engineering Task Force). +<emph>RFC 2141: URN Syntax</emph>, +ed. R. Moats. +1997. +</bibl> + +<bibl id='ISO8879' key='ISO 8879'>ISO +(International Organization for Standardization). +<emph>ISO 8879:1986(E). Information processing &mdash; Text and Office +Systems &mdash; Standard Generalized Markup Language (SGML).</emph> First +edition &mdash; 1986-10-15. [Geneva]: International Organization for +Standardization, 1986. +</bibl> + + +<bibl id='ISO10744' key='ISO/IEC 10744'>ISO +(International Organization for Standardization). +<emph>ISO/IEC 10744-1992 (E). Information technology &mdash; +Hypermedia/Time-based Structuring Language (HyTime). +</emph> +[Geneva]: International Organization for +Standardization, 1992. +<emph>Extended Facilities Annexe.</emph> +[Geneva]: International Organization for +Standardization, 1996. +</bibl> + + + +</blist> +</div2> +</div1> +<div1 id='CharClasses'> +<head>Character Classes</head> +<p>Following the characteristics defined in the Unicode standard, +characters are classed as base characters (among others, these +contain the alphabetic characters of the Latin alphabet, without +diacritics), ideographic characters, and combining characters (among +others, this class contains most diacritics); these classes combine +to form the class of letters. Digits and extenders are +also distinguished. +<scrap lang="ebnf" id="CHARACTERS"> +<head>Characters</head> +<prodgroup pcw3="3" pcw4="15"> +<prod id="NT-Letter"><lhs>Letter</lhs> +<rhs><nt def="NT-BaseChar">BaseChar</nt> +| <nt def="NT-Ideographic">Ideographic</nt></rhs> </prod> +<prod id='NT-BaseChar'><lhs>BaseChar</lhs> +<rhs>[#x0041-#x005A] +|&nbsp;[#x0061-#x007A] +|&nbsp;[#x00C0-#x00D6] +|&nbsp;[#x00D8-#x00F6] +|&nbsp;[#x00F8-#x00FF] +|&nbsp;[#x0100-#x0131] +|&nbsp;[#x0134-#x013E] +|&nbsp;[#x0141-#x0148] +|&nbsp;[#x014A-#x017E] +|&nbsp;[#x0180-#x01C3] +|&nbsp;[#x01CD-#x01F0] +|&nbsp;[#x01F4-#x01F5] +|&nbsp;[#x01FA-#x0217] +|&nbsp;[#x0250-#x02A8] +|&nbsp;[#x02BB-#x02C1] +|&nbsp;#x0386 +|&nbsp;[#x0388-#x038A] +|&nbsp;#x038C +|&nbsp;[#x038E-#x03A1] +|&nbsp;[#x03A3-#x03CE] +|&nbsp;[#x03D0-#x03D6] +|&nbsp;#x03DA +|&nbsp;#x03DC +|&nbsp;#x03DE +|&nbsp;#x03E0 +|&nbsp;[#x03E2-#x03F3] +|&nbsp;[#x0401-#x040C] +|&nbsp;[#x040E-#x044F] +|&nbsp;[#x0451-#x045C] +|&nbsp;[#x045E-#x0481] +|&nbsp;[#x0490-#x04C4] +|&nbsp;[#x04C7-#x04C8] +|&nbsp;[#x04CB-#x04CC] +|&nbsp;[#x04D0-#x04EB] +|&nbsp;[#x04EE-#x04F5] +|&nbsp;[#x04F8-#x04F9] +|&nbsp;[#x0531-#x0556] +|&nbsp;#x0559 +|&nbsp;[#x0561-#x0586] +|&nbsp;[#x05D0-#x05EA] +|&nbsp;[#x05F0-#x05F2] +|&nbsp;[#x0621-#x063A] +|&nbsp;[#x0641-#x064A] +|&nbsp;[#x0671-#x06B7] +|&nbsp;[#x06BA-#x06BE] +|&nbsp;[#x06C0-#x06CE] +|&nbsp;[#x06D0-#x06D3] +|&nbsp;#x06D5 +|&nbsp;[#x06E5-#x06E6] +|&nbsp;[#x0905-#x0939] +|&nbsp;#x093D +|&nbsp;[#x0958-#x0961] +|&nbsp;[#x0985-#x098C] +|&nbsp;[#x098F-#x0990] +|&nbsp;[#x0993-#x09A8] +|&nbsp;[#x09AA-#x09B0] +|&nbsp;#x09B2 +|&nbsp;[#x09B6-#x09B9] +|&nbsp;[#x09DC-#x09DD] +|&nbsp;[#x09DF-#x09E1] +|&nbsp;[#x09F0-#x09F1] +|&nbsp;[#x0A05-#x0A0A] +|&nbsp;[#x0A0F-#x0A10] +|&nbsp;[#x0A13-#x0A28] +|&nbsp;[#x0A2A-#x0A30] +|&nbsp;[#x0A32-#x0A33] +|&nbsp;[#x0A35-#x0A36] +|&nbsp;[#x0A38-#x0A39] +|&nbsp;[#x0A59-#x0A5C] +|&nbsp;#x0A5E +|&nbsp;[#x0A72-#x0A74] +|&nbsp;[#x0A85-#x0A8B] +|&nbsp;#x0A8D +|&nbsp;[#x0A8F-#x0A91] +|&nbsp;[#x0A93-#x0AA8] +|&nbsp;[#x0AAA-#x0AB0] +|&nbsp;[#x0AB2-#x0AB3] +|&nbsp;[#x0AB5-#x0AB9] +|&nbsp;#x0ABD +|&nbsp;#x0AE0 +|&nbsp;[#x0B05-#x0B0C] +|&nbsp;[#x0B0F-#x0B10] +|&nbsp;[#x0B13-#x0B28] +|&nbsp;[#x0B2A-#x0B30] +|&nbsp;[#x0B32-#x0B33] +|&nbsp;[#x0B36-#x0B39] +|&nbsp;#x0B3D +|&nbsp;[#x0B5C-#x0B5D] +|&nbsp;[#x0B5F-#x0B61] +|&nbsp;[#x0B85-#x0B8A] +|&nbsp;[#x0B8E-#x0B90] +|&nbsp;[#x0B92-#x0B95] +|&nbsp;[#x0B99-#x0B9A] +|&nbsp;#x0B9C +|&nbsp;[#x0B9E-#x0B9F] +|&nbsp;[#x0BA3-#x0BA4] +|&nbsp;[#x0BA8-#x0BAA] +|&nbsp;[#x0BAE-#x0BB5] +|&nbsp;[#x0BB7-#x0BB9] +|&nbsp;[#x0C05-#x0C0C] +|&nbsp;[#x0C0E-#x0C10] +|&nbsp;[#x0C12-#x0C28] +|&nbsp;[#x0C2A-#x0C33] +|&nbsp;[#x0C35-#x0C39] +|&nbsp;[#x0C60-#x0C61] +|&nbsp;[#x0C85-#x0C8C] +|&nbsp;[#x0C8E-#x0C90] +|&nbsp;[#x0C92-#x0CA8] +|&nbsp;[#x0CAA-#x0CB3] +|&nbsp;[#x0CB5-#x0CB9] +|&nbsp;#x0CDE +|&nbsp;[#x0CE0-#x0CE1] +|&nbsp;[#x0D05-#x0D0C] +|&nbsp;[#x0D0E-#x0D10] +|&nbsp;[#x0D12-#x0D28] +|&nbsp;[#x0D2A-#x0D39] +|&nbsp;[#x0D60-#x0D61] +|&nbsp;[#x0E01-#x0E2E] +|&nbsp;#x0E30 +|&nbsp;[#x0E32-#x0E33] +|&nbsp;[#x0E40-#x0E45] +|&nbsp;[#x0E81-#x0E82] +|&nbsp;#x0E84 +|&nbsp;[#x0E87-#x0E88] +|&nbsp;#x0E8A +|&nbsp;#x0E8D +|&nbsp;[#x0E94-#x0E97] +|&nbsp;[#x0E99-#x0E9F] +|&nbsp;[#x0EA1-#x0EA3] +|&nbsp;#x0EA5 +|&nbsp;#x0EA7 +|&nbsp;[#x0EAA-#x0EAB] +|&nbsp;[#x0EAD-#x0EAE] +|&nbsp;#x0EB0 +|&nbsp;[#x0EB2-#x0EB3] +|&nbsp;#x0EBD +|&nbsp;[#x0EC0-#x0EC4] +|&nbsp;[#x0F40-#x0F47] +|&nbsp;[#x0F49-#x0F69] +|&nbsp;[#x10A0-#x10C5] +|&nbsp;[#x10D0-#x10F6] +|&nbsp;#x1100 +|&nbsp;[#x1102-#x1103] +|&nbsp;[#x1105-#x1107] +|&nbsp;#x1109 +|&nbsp;[#x110B-#x110C] +|&nbsp;[#x110E-#x1112] +|&nbsp;#x113C +|&nbsp;#x113E +|&nbsp;#x1140 +|&nbsp;#x114C +|&nbsp;#x114E +|&nbsp;#x1150 +|&nbsp;[#x1154-#x1155] +|&nbsp;#x1159 +|&nbsp;[#x115F-#x1161] +|&nbsp;#x1163 +|&nbsp;#x1165 +|&nbsp;#x1167 +|&nbsp;#x1169 +|&nbsp;[#x116D-#x116E] +|&nbsp;[#x1172-#x1173] +|&nbsp;#x1175 +|&nbsp;#x119E +|&nbsp;#x11A8 +|&nbsp;#x11AB +|&nbsp;[#x11AE-#x11AF] +|&nbsp;[#x11B7-#x11B8] +|&nbsp;#x11BA +|&nbsp;[#x11BC-#x11C2] +|&nbsp;#x11EB +|&nbsp;#x11F0 +|&nbsp;#x11F9 +|&nbsp;[#x1E00-#x1E9B] +|&nbsp;[#x1EA0-#x1EF9] +|&nbsp;[#x1F00-#x1F15] +|&nbsp;[#x1F18-#x1F1D] +|&nbsp;[#x1F20-#x1F45] +|&nbsp;[#x1F48-#x1F4D] +|&nbsp;[#x1F50-#x1F57] +|&nbsp;#x1F59 +|&nbsp;#x1F5B +|&nbsp;#x1F5D +|&nbsp;[#x1F5F-#x1F7D] +|&nbsp;[#x1F80-#x1FB4] +|&nbsp;[#x1FB6-#x1FBC] +|&nbsp;#x1FBE +|&nbsp;[#x1FC2-#x1FC4] +|&nbsp;[#x1FC6-#x1FCC] +|&nbsp;[#x1FD0-#x1FD3] +|&nbsp;[#x1FD6-#x1FDB] +|&nbsp;[#x1FE0-#x1FEC] +|&nbsp;[#x1FF2-#x1FF4] +|&nbsp;[#x1FF6-#x1FFC] +|&nbsp;#x2126 +|&nbsp;[#x212A-#x212B] +|&nbsp;#x212E +|&nbsp;[#x2180-#x2182] +|&nbsp;[#x3041-#x3094] +|&nbsp;[#x30A1-#x30FA] +|&nbsp;[#x3105-#x312C] +|&nbsp;[#xAC00-#xD7A3] +</rhs></prod> +<prod id='NT-Ideographic'><lhs>Ideographic</lhs> +<rhs>[#x4E00-#x9FA5] +|&nbsp;#x3007 +|&nbsp;[#x3021-#x3029] +</rhs></prod> +<prod id='NT-CombiningChar'><lhs>CombiningChar</lhs> +<rhs>[#x0300-#x0345] +|&nbsp;[#x0360-#x0361] +|&nbsp;[#x0483-#x0486] +|&nbsp;[#x0591-#x05A1] +|&nbsp;[#x05A3-#x05B9] +|&nbsp;[#x05BB-#x05BD] +|&nbsp;#x05BF +|&nbsp;[#x05C1-#x05C2] +|&nbsp;#x05C4 +|&nbsp;[#x064B-#x0652] +|&nbsp;#x0670 +|&nbsp;[#x06D6-#x06DC] +|&nbsp;[#x06DD-#x06DF] +|&nbsp;[#x06E0-#x06E4] +|&nbsp;[#x06E7-#x06E8] +|&nbsp;[#x06EA-#x06ED] +|&nbsp;[#x0901-#x0903] +|&nbsp;#x093C +|&nbsp;[#x093E-#x094C] +|&nbsp;#x094D +|&nbsp;[#x0951-#x0954] +|&nbsp;[#x0962-#x0963] +|&nbsp;[#x0981-#x0983] +|&nbsp;#x09BC +|&nbsp;#x09BE +|&nbsp;#x09BF +|&nbsp;[#x09C0-#x09C4] +|&nbsp;[#x09C7-#x09C8] +|&nbsp;[#x09CB-#x09CD] +|&nbsp;#x09D7 +|&nbsp;[#x09E2-#x09E3] +|&nbsp;#x0A02 +|&nbsp;#x0A3C +|&nbsp;#x0A3E +|&nbsp;#x0A3F +|&nbsp;[#x0A40-#x0A42] +|&nbsp;[#x0A47-#x0A48] +|&nbsp;[#x0A4B-#x0A4D] +|&nbsp;[#x0A70-#x0A71] +|&nbsp;[#x0A81-#x0A83] +|&nbsp;#x0ABC +|&nbsp;[#x0ABE-#x0AC5] +|&nbsp;[#x0AC7-#x0AC9] +|&nbsp;[#x0ACB-#x0ACD] +|&nbsp;[#x0B01-#x0B03] +|&nbsp;#x0B3C +|&nbsp;[#x0B3E-#x0B43] +|&nbsp;[#x0B47-#x0B48] +|&nbsp;[#x0B4B-#x0B4D] +|&nbsp;[#x0B56-#x0B57] +|&nbsp;[#x0B82-#x0B83] +|&nbsp;[#x0BBE-#x0BC2] +|&nbsp;[#x0BC6-#x0BC8] +|&nbsp;[#x0BCA-#x0BCD] +|&nbsp;#x0BD7 +|&nbsp;[#x0C01-#x0C03] +|&nbsp;[#x0C3E-#x0C44] +|&nbsp;[#x0C46-#x0C48] +|&nbsp;[#x0C4A-#x0C4D] +|&nbsp;[#x0C55-#x0C56] +|&nbsp;[#x0C82-#x0C83] +|&nbsp;[#x0CBE-#x0CC4] +|&nbsp;[#x0CC6-#x0CC8] +|&nbsp;[#x0CCA-#x0CCD] +|&nbsp;[#x0CD5-#x0CD6] +|&nbsp;[#x0D02-#x0D03] +|&nbsp;[#x0D3E-#x0D43] +|&nbsp;[#x0D46-#x0D48] +|&nbsp;[#x0D4A-#x0D4D] +|&nbsp;#x0D57 +|&nbsp;#x0E31 +|&nbsp;[#x0E34-#x0E3A] +|&nbsp;[#x0E47-#x0E4E] +|&nbsp;#x0EB1 +|&nbsp;[#x0EB4-#x0EB9] +|&nbsp;[#x0EBB-#x0EBC] +|&nbsp;[#x0EC8-#x0ECD] +|&nbsp;[#x0F18-#x0F19] +|&nbsp;#x0F35 +|&nbsp;#x0F37 +|&nbsp;#x0F39 +|&nbsp;#x0F3E +|&nbsp;#x0F3F +|&nbsp;[#x0F71-#x0F84] +|&nbsp;[#x0F86-#x0F8B] +|&nbsp;[#x0F90-#x0F95] +|&nbsp;#x0F97 +|&nbsp;[#x0F99-#x0FAD] +|&nbsp;[#x0FB1-#x0FB7] +|&nbsp;#x0FB9 +|&nbsp;[#x20D0-#x20DC] +|&nbsp;#x20E1 +|&nbsp;[#x302A-#x302F] +|&nbsp;#x3099 +|&nbsp;#x309A +</rhs></prod> +<prod id='NT-Digit'><lhs>Digit</lhs> +<rhs>[#x0030-#x0039] +|&nbsp;[#x0660-#x0669] +|&nbsp;[#x06F0-#x06F9] +|&nbsp;[#x0966-#x096F] +|&nbsp;[#x09E6-#x09EF] +|&nbsp;[#x0A66-#x0A6F] +|&nbsp;[#x0AE6-#x0AEF] +|&nbsp;[#x0B66-#x0B6F] +|&nbsp;[#x0BE7-#x0BEF] +|&nbsp;[#x0C66-#x0C6F] +|&nbsp;[#x0CE6-#x0CEF] +|&nbsp;[#x0D66-#x0D6F] +|&nbsp;[#x0E50-#x0E59] +|&nbsp;[#x0ED0-#x0ED9] +|&nbsp;[#x0F20-#x0F29] +</rhs></prod> +<prod id='NT-Extender'><lhs>Extender</lhs> +<rhs>#x00B7 +|&nbsp;#x02D0 +|&nbsp;#x02D1 +|&nbsp;#x0387 +|&nbsp;#x0640 +|&nbsp;#x0E46 +|&nbsp;#x0EC6 +|&nbsp;#x3005 +|&nbsp;[#x3031-#x3035] +|&nbsp;[#x309D-#x309E] +|&nbsp;[#x30FC-#x30FE] +</rhs></prod> + +</prodgroup> +</scrap> +</p> +<p>The character classes defined here can be derived from the +Unicode character database as follows: +<ulist> +<item> +<p>Name start characters must have one of the categories Ll, Lu, +Lo, Lt, Nl.</p> +</item> +<item> +<p>Name characters other than Name-start characters +must have one of the categories Mc, Me, Mn, Lm, or Nd.</p> +</item> +<item> +<p>Characters in the compatibility area (i.e. with character code +greater than #xF900 and less than #xFFFE) are not allowed in XML +names.</p> +</item> +<item> +<p>Characters which have a font or compatibility decomposition (i.e. those +with a "compatibility formatting tag" in field 5 of the database -- +marked by field 5 beginning with a "&lt;") are not allowed.</p> +</item> +<item> +<p>The following characters are treated as name-start characters +rather than name characters, because the property file classifies +them as Alphabetic: [#x02BB-#x02C1], #x0559, #x06E5, #x06E6.</p> +</item> +<item> +<p>Characters #x20DD-#x20E0 are excluded (in accordance with +Unicode, section 5.14).</p> +</item> +<item> +<p>Character #x00B7 is classified as an extender, because the +property list so identifies it.</p> +</item> +<item> +<p>Character #x0387 is added as a name character, because #x00B7 +is its canonical equivalent.</p> +</item> +<item> +<p>Characters ':' and '_' are allowed as name-start characters.</p> +</item> +<item> +<p>Characters '-' and '.' are allowed as name characters.</p> +</item> +</ulist> +</p> +</div1> +<inform-div1 id="sec-xml-and-sgml"> +<head>XML and SGML</head> + +<p>XML is designed to be a subset of SGML, in that every +<termref def="dt-valid">valid</termref> XML document should also be a +conformant SGML document. +For a detailed comparison of the additional restrictions that XML places on +documents beyond those of SGML, see <bibref ref='Clark'/>. +</p> +</inform-div1> +<inform-div1 id="sec-entexpand"> +<head>Expansion of Entity and Character References</head> +<p>This appendix contains some examples illustrating the +sequence of entity- and character-reference recognition and +expansion, as specified in <specref ref='entproc'/>.</p> +<p> +If the DTD contains the declaration +<eg><![CDATA[<!ENTITY example "<p>An ampersand (&#38;#38;) may be escaped +numerically (&#38;#38;#38;) or with a general entity +(&amp;amp;).</p>" > +]]></eg> +then the XML processor will recognize the character references +when it parses the entity declaration, and resolve them before +storing the following string as the +value of the entity "<code>example</code>": +<eg><![CDATA[<p>An ampersand (&#38;) may be escaped +numerically (&#38;#38;) or with a general entity +(&amp;amp;).</p> +]]></eg> +A reference in the document to "<code>&amp;example;</code>" +will cause the text to be reparsed, at which time the +start- and end-tags of the "<code>p</code>" element will be recognized +and the three references will be recognized and expanded, +resulting in a "<code>p</code>" element with the following content +(all data, no delimiters or markup): +<eg><![CDATA[An ampersand (&) may be escaped +numerically (&#38;) or with a general entity +(&amp;). +]]></eg> +</p> +<p>A more complex example will illustrate the rules and their +effects fully. In the following example, the line numbers are +solely for reference. +<eg><![CDATA[1 <?xml version='1.0'?> +2 <!DOCTYPE test [ +3 <!ELEMENT test (#PCDATA) > +4 <!ENTITY % xx '&#37;zz;'> +5 <!ENTITY % zz '&#60;!ENTITY tricky "error-prone" >' > +6 %xx; +7 ]> +8 <test>This sample shows a &tricky; method.</test> +]]></eg> +This produces the following: +<ulist spacing="compact"> +<item><p>in line 4, the reference to character 37 is expanded immediately, +and the parameter entity "<code>xx</code>" is stored in the symbol +table with the value "<code>%zz;</code>". Since the replacement text +is not rescanned, the reference to parameter entity "<code>zz</code>" +is not recognized. (And it would be an error if it were, since +"<code>zz</code>" is not yet declared.)</p></item> +<item><p>in line 5, the character reference "<code>&amp;#60;</code>" is +expanded immediately and the parameter entity "<code>zz</code>" is +stored with the replacement text +"<code>&lt;!ENTITY tricky "error-prone" ></code>", +which is a well-formed entity declaration.</p></item> +<item><p>in line 6, the reference to "<code>xx</code>" is recognized, +and the replacement text of "<code>xx</code>" (namely +"<code>%zz;</code>") is parsed. The reference to "<code>zz</code>" +is recognized in its turn, and its replacement text +("<code>&lt;!ENTITY tricky "error-prone" ></code>") is parsed. +The general entity "<code>tricky</code>" has now been +declared, with the replacement text "<code>error-prone</code>".</p></item> +<item><p> +in line 8, the reference to the general entity "<code>tricky</code>" is +recognized, and it is expanded, so the full content of the +"<code>test</code>" element is the self-describing (and ungrammatical) string +<emph>This sample shows a error-prone method.</emph> +</p></item> +</ulist> +</p> +</inform-div1> +<inform-div1 id="determinism"> +<head>Deterministic Content Models</head> +<p><termref def='dt-compat'>For compatibility</termref>, it is +required +that content models in element type declarations be deterministic. +</p> +<!-- FINAL EDIT: WebSGML allows ambiguity? --> +<p>SGML +requires deterministic content models (it calls them +"unambiguous"); XML processors built using SGML systems may +flag non-deterministic content models as errors.</p> +<p>For example, the content model <code>((b, c) | (b, d))</code> is +non-deterministic, because given an initial <code>b</code> the parser +cannot know which <code>b</code> in the model is being matched without +looking ahead to see which element follows the <code>b</code>. +In this case, the two references to +<code>b</code> can be collapsed +into a single reference, making the model read +<code>(b, (c | d))</code>. An initial <code>b</code> now clearly +matches only a single name in the content model. The parser doesn't +need to look ahead to see what follows; either <code>c</code> or +<code>d</code> would be accepted.</p> +<p>More formally: a finite state automaton may be constructed from the +content model using the standard algorithms, e.g. algorithm 3.5 +in section 3.9 +of Aho, Sethi, and Ullman <bibref ref='Aho'/>. +In many such algorithms, a follow set is constructed for each +position in the regular expression (i.e., each leaf +node in the +syntax tree for the regular expression); +if any position has a follow set in which +more than one following position is +labeled with the same element type name, +then the content model is in error +and may be reported as an error. +</p> +<p>Algorithms exist which allow many but not all non-deterministic +content models to be reduced automatically to equivalent deterministic +models; see Brüggemann-Klein 1991 <bibref ref='ABK'/>.</p> +</inform-div1> +<inform-div1 id="sec-guessing"> +<head>Autodetection of Character Encodings</head> +<p>The XML encoding declaration functions as an internal label on each +entity, indicating which character encoding is in use. Before an XML +processor can read the internal label, however, it apparently has to +know what character encoding is in use&mdash;which is what the internal label +is trying to indicate. In the general case, this is a hopeless +situation. It is not entirely hopeless in XML, however, because XML +limits the general case in two ways: each implementation is assumed +to support only a finite set of character encodings, and the XML +encoding declaration is restricted in position and content in order to +make it feasible to autodetect the character encoding in use in each +entity in normal cases. Also, in many cases other sources of information +are available in addition to the XML data stream itself. +Two cases may be distinguished, +depending on whether the XML entity is presented to the +processor without, or with, any accompanying +(external) information. We consider the first case first. +</p> +<p> +Because each XML entity not in UTF-8 or UTF-16 format <emph>must</emph> +begin with an XML encoding declaration, in which the first characters +must be '<code>&lt;?xml</code>', any conforming processor can detect, +after two to four octets of input, which of the following cases apply. +In reading this list, it may help to know that in UCS-4, '&lt;' is +"<code>#x0000003C</code>" and '?' is "<code>#x0000003F</code>", and the Byte +Order Mark required of UTF-16 data streams is "<code>#xFEFF</code>".</p> +<p> +<ulist> +<item> +<p><code>00 00 00 3C</code>: UCS-4, big-endian machine (1234 order)</p> +</item> +<item> +<p><code>3C 00 00 00</code>: UCS-4, little-endian machine (4321 order)</p> +</item> +<item> +<p><code>00 00 3C 00</code>: UCS-4, unusual octet order (2143)</p> +</item> +<item> +<p><code>00 3C 00 00</code>: UCS-4, unusual octet order (3412)</p> +</item> +<item> +<p><code>FE FF</code>: UTF-16, big-endian</p> +</item> +<item> +<p><code>FF FE</code>: UTF-16, little-endian</p> +</item> +<item> +<p><code>00 3C 00 3F</code>: UTF-16, big-endian, no Byte Order Mark +(and thus, strictly speaking, in error)</p> +</item> +<item> +<p><code>3C 00 3F 00</code>: UTF-16, little-endian, no Byte Order Mark +(and thus, strictly speaking, in error)</p> +</item> +<item> +<p><code>3C 3F 78 6D</code>: UTF-8, ISO 646, ASCII, some part of ISO 8859, +Shift-JIS, EUC, or any other 7-bit, 8-bit, or mixed-width encoding +which ensures that the characters of ASCII have their normal positions, +width, +and values; the actual encoding declaration must be read to +detect which of these applies, but since all of these encodings +use the same bit patterns for the ASCII characters, the encoding +declaration itself may be read reliably +</p> +</item> +<item> +<p><code>4C 6F A7 94</code>: EBCDIC (in some flavor; the full +encoding declaration must be read to tell which code page is in +use)</p> +</item> +<item> +<p>other: UTF-8 without an encoding declaration, or else +the data stream is corrupt, fragmentary, or enclosed in +a wrapper of some kind</p> +</item> +</ulist> +</p> +<p> +This level of autodetection is enough to read the XML encoding +declaration and parse the character-encoding identifier, which is +still necessary to distinguish the individual members of each family +of encodings (e.g. to tell UTF-8 from 8859, and the parts of 8859 +from each other, or to distinguish the specific EBCDIC code page in +use, and so on). +</p> +<p> +Because the contents of the encoding declaration are restricted to +ASCII characters, a processor can reliably read the entire encoding +declaration as soon as it has detected which family of encodings is in +use. Since in practice, all widely used character encodings fall into +one of the categories above, the XML encoding declaration allows +reasonably reliable in-band labeling of character encodings, even when +external sources of information at the operating-system or +transport-protocol level are unreliable. +</p> +<p> +Once the processor has detected the character encoding in use, it can +act appropriately, whether by invoking a separate input routine for +each case, or by calling the proper conversion function on each +character of input. +</p> +<p> +Like any self-labeling system, the XML encoding declaration will not +work if any software changes the entity's character set or encoding +without updating the encoding declaration. Implementors of +character-encoding routines should be careful to ensure the accuracy +of the internal and external information used to label the entity. +</p> +<p>The second possible case occurs when the XML entity is accompanied +by encoding information, as in some file systems and some network +protocols. +When multiple sources of information are available, + +their relative +priority and the preferred method of handling conflict should be +specified as part of the higher-level protocol used to deliver XML. +Rules for the relative priority of the internal label and the +MIME-type label in an external header, for example, should be part of the +RFC document defining the text/xml and application/xml MIME types. In +the interests of interoperability, however, the following rules +are recommended. +<ulist> +<item><p>If an XML entity is in a file, the Byte-Order Mark +and encoding-declaration PI are used (if present) to determine the +character encoding. All other heuristics and sources of information +are solely for error recovery. +</p></item> +<item><p>If an XML entity is delivered with a +MIME type of text/xml, then the <code>charset</code> parameter +on the MIME type determines the +character encoding method; all other heuristics and sources of +information are solely for error recovery. +</p></item> +<item><p>If an XML entity is delivered +with a +MIME type of application/xml, then the Byte-Order Mark and +encoding-declaration PI are used (if present) to determine the +character encoding. All other heuristics and sources of +information are solely for error recovery. +</p></item> +</ulist> +These rules apply only in the absence of protocol-level documentation; +in particular, when the MIME types text/xml and application/xml are +defined, the recommendations of the relevant RFC will supersede +these rules. +</p> + +</inform-div1> + +<inform-div1 id="sec-xml-wg"> +<head>W3C XML Working Group</head> + +<p>This specification was prepared and approved for publication by the +W3C XML Working Group (WG). WG approval of this specification does +not necessarily imply that all WG members voted for its approval. +The current and former members of the XML WG are:</p> + +<orglist> +<member><name>Jon Bosak, Sun</name><role>Chair</role></member> +<member><name>James Clark</name><role>Technical Lead</role></member> +<member><name>Tim Bray, Textuality and Netscape</name><role>XML Co-editor</role></member> +<member><name>Jean Paoli, Microsoft</name><role>XML Co-editor</role></member> +<member><name>C. M. Sperberg-McQueen, U. of Ill.</name><role>XML +Co-editor</role></member> +<member><name>Dan Connolly, W3C</name><role>W3C Liaison</role></member> +<member><name>Paula Angerstein, Texcel</name></member> +<member><name>Steve DeRose, INSO</name></member> +<member><name>Dave Hollander, HP</name></member> +<member><name>Eliot Kimber, ISOGEN</name></member> +<member><name>Eve Maler, ArborText</name></member> +<member><name>Tom Magliery, NCSA</name></member> +<member><name>Murray Maloney, Muzmo and Grif</name></member> +<member><name>Makoto Murata, Fuji Xerox Information Systems</name></member> +<member><name>Joel Nava, Adobe</name></member> +<member><name>Conleth O'Connell, Vignette</name></member> +<member><name>Peter Sharpe, SoftQuad</name></member> +<member><name>John Tigue, DataChannel</name></member> +</orglist> + +</inform-div1> +</back> +</spec> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-default-dtd-file:"~/sgml/spec.ced" +sgml-omittag:t +sgml-shorttag:t +End: +--> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/UTF16Entity.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/UTF16Entity.xml new file mode 100644 index 0000000000000000000000000000000000000000..8bb29ac150f5ef231df4fdb07306c1535f6fbfc1 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/UTF16Entity.xml @@ -0,0 +1,8 @@ +<!DOCTYPE foo [ +<!ELEMENT foo (root*)> +<!ELEMENT root EMPTY> +<!ENTITY utf16b SYSTEM "dtds/utf16b.ent"> +<!ENTITY utf16l SYSTEM "dtds/utf16l.ent"> +]> + +<foo> &utf16b; &utf16l; </foo> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/cond_sect1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/cond_sect1.xml new file mode 100644 index 0000000000000000000000000000000000000000..796faa434de55bf1c2d1a0a39568807d17d5d7c7 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/cond_sect1.xml @@ -0,0 +1,7 @@ +<!DOCTYPE doc SYSTEM "dtds/cond_sect1.dtd" [ + <!ENTITY % include "INCLUDE"> + <!ENTITY % ignore "IGNORE"> +]> +<doc> + <child>text</child> +</doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/cond_sect2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/cond_sect2.xml new file mode 100644 index 0000000000000000000000000000000000000000..5153d0536f6921efd0d9883f65e20e32b25f262a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/cond_sect2.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc SYSTEM "dtds/cond_sect2.dtd"> +<doc> + <child>text</child> +</doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dia.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dia.xml new file mode 100644 index 0000000000000000000000000000000000000000..3ab3d068ca82a6d049d24f7f566dd4b453577ef4 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dia.xml @@ -0,0 +1,163 @@ +<?xml version="1.0"?> +<!DOCTYPE dia:diagram [ +<!ELEMENT dia:diagram (dia:diagramdata, (dia:layer)*) > +<!ATTLIST dia:diagram + xmlns:dia CDATA #FIXED "http://www.lysator.liu.se/~alla/dia/"> + + +<!ELEMENT dia:diagramdata (dia:attribute)* > + +<!ELEMENT dia:layer (dia:object | dia:group)*> +<!ATTLIST dia:layer + dia:name CDATA #REQUIRED + dia:visible (true|false) #REQUIRED > + +<!ELEMENT dia:object ((dia:attribute)*, dia:connections?)> +<!ATTLIST dia:object + dia:type CDATA #REQUIRED + dia:version NMTOKEN #REQUIRED + dia:id ID #REQUIRED > + +<!ELEMENT dia:connections (dia:connection)*> + +<!ELEMENT dia:connection EMPTY> +<!ATTLIST dia:connection + dia:handle NMTOKEN #REQUIRED + dia:to IDREF #REQUIRED + dia:connection NMTOKEN #REQUIRED> + +<!ELEMENT dia:group (dia:object | dia:group)*> + +<!ELEMENT dia:attribute (dia:composite | dia:int | dia:enum | dia:real | dia:boolean | + dia:color | dia:point | dia:rectangle | dia:string | dia:font)*> +<!ATTLIST dia:attribute dia:name CDATA #REQUIRED > + +<!ELEMENT dia:composite (dia:attribute)*> +<!ATTLIST dia:composite dia:type CDATA #IMPLIED> + +<!ELEMENT dia:int EMPTY> +<!ATTLIST dia:int dia:val NMTOKEN #REQUIRED> + +<!ELEMENT dia:enum EMPTY> +<!ATTLIST dia:enum dia:val NMTOKEN #REQUIRED> + +<!ELEMENT dia:real EMPTY> +<!ATTLIST dia:real dia:val CDATA #REQUIRED> + +<!ELEMENT dia:boolean EMPTY> +<!ATTLIST dia:boolean dia:val (true|false) #REQUIRED> + +<!ELEMENT dia:color EMPTY> +<!ATTLIST dia:color dia:val CDATA #REQUIRED> + +<!ELEMENT dia:point EMPTY> +<!ATTLIST dia:point dia:val CDATA #REQUIRED> + +<!ELEMENT dia:rectangle EMPTY> +<!ATTLIST dia:rectangle dia:val CDATA #REQUIRED> + +<!ELEMENT dia:string EMPTY> +<!ATTLIST dia:string dia:val CDATA #IMPLIED> + +<!ELEMENT dia:font EMPTY> +<!ATTLIST dia:font dia:name CDATA #REQUIRED> +]> + +<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/"> + <dia:diagramdata> + <dia:attribute dia:name="background"> + <dia:color dia:val="#ffffff"/> + </dia:attribute> + </dia:diagramdata> + <dia:layer dia:name="Background" dia:visible="true"> + <dia:object dia:type="Standard - Line" dia:version="0" dia:id="O0"> + <dia:attribute dia:name="obj_pos"> + <dia:point dia:val="1.95,6.85"/> + </dia:attribute> + <dia:attribute dia:name="obj_bb"> + <dia:rectangle dia:val="1.9,6.8;11,8.55"/> + </dia:attribute> + <dia:attribute dia:name="conn_endpoints"> + <dia:point dia:val="1.95,6.85"/> + <dia:point dia:val="10.95,8.5"/> + </dia:attribute> + <dia:attribute dia:name="line_color"> + <dia:color dia:val="#000000"/> + </dia:attribute> + <dia:attribute dia:name="line_width"> + <dia:real dia:val="0.1"/> + </dia:attribute> + <dia:attribute dia:name="line_style"> + <dia:enum dia:val="0"/> + </dia:attribute> + <dia:attribute dia:name="start_arrow"> + <dia:enum dia:val="0"/> + </dia:attribute> + <dia:attribute dia:name="end_arrow"> + <dia:enum dia:val="0"/> + </dia:attribute> + <dia:connections> + <dia:connection dia:handle="1" dia:to="O2" dia:connection="3"/> + </dia:connections> + </dia:object> + <dia:object dia:type="Standard - Text" dia:version="0" dia:id="O1"> + <dia:attribute dia:name="obj_pos"> + <dia:point dia:val="4.8,4.75"/> + </dia:attribute> + <dia:attribute dia:name="obj_bb"> + <dia:rectangle dia:val="2.579,3.96359;7.021,4.96359"/> + </dia:attribute> + <dia:attribute dia:name="text"> + <dia:composite dia:type="text"> + <dia:attribute dia:name="string"> + <dia:string dia:val="sdfsdfg"/> + </dia:attribute> + <dia:attribute dia:name="font"> + <dia:font dia:name="Courier"/> + </dia:attribute> + <dia:attribute dia:name="height"> + <dia:real dia:val="1"/> + </dia:attribute> + <dia:attribute dia:name="pos"> + <dia:point dia:val="4.8,4.75"/> + </dia:attribute> + <dia:attribute dia:name="color"> + <dia:color dia:val="#000000"/> + </dia:attribute> + <dia:attribute dia:name="alignment"> + <dia:enum dia:val="1"/> + </dia:attribute> + </dia:composite> + </dia:attribute> + </dia:object> + <dia:object dia:type="Standard - Box" dia:version="0" dia:id="O2"> + <dia:attribute dia:name="obj_pos"> + <dia:point dia:val="10.95,7.5"/> + </dia:attribute> + <dia:attribute dia:name="obj_bb"> + <dia:rectangle dia:val="10.9,7.45;13.05,9.55"/> + </dia:attribute> + <dia:attribute dia:name="elem_corner"> + <dia:point dia:val="10.95,7.5"/> + </dia:attribute> + <dia:attribute dia:name="elem_width"> + <dia:real dia:val="2.05"/> + </dia:attribute> + <dia:attribute dia:name="elem_height"> + <dia:real dia:val="2"/> + </dia:attribute> + <dia:attribute dia:name="border_width"> + <dia:real dia:val="0.1"/> + </dia:attribute> + <dia:attribute dia:name="border_color"> + <dia:color dia:val="#000000"/> + </dia:attribute> + <dia:attribute dia:name="inner_color"> + <dia:color dia:val="#ffffff"/> + </dia:attribute> + <dia:attribute dia:name="line_style"> + <dia:enum dia:val="0"/> + </dia:attribute> + </dia:object> + </dia:layer> +</dia:diagram> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/127772.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/127772.dtd new file mode 100644 index 0000000000000000000000000000000000000000..873fb35b9923109928a86e96b68dedfe71df2489 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/127772.dtd @@ -0,0 +1,7 @@ +<!ELEMENT a (b*)> + +<!ELEMENT b (#PCDATA)> +<!ATTLIST b xmlns:xlink CDATA #FIXED 'http://www.w3.org/1999/xlink' + xlink:type (simple) #FIXED 'simple' + xlink:href CDATA #IMPLIED> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/694228.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/694228.dtd new file mode 100644 index 0000000000000000000000000000000000000000..7abc19ff6f7ebf09cb0127ad787c711f930c39c0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/694228.dtd @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!ENTITY entity "This is an external entity that uses non-ASCII characters… 日本"> +<!ELEMENT root (#PCDATA)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/737840.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/737840.ent new file mode 100644 index 0000000000000000000000000000000000000000..e97213249b52cb5b28f9f282ae4395d8585784ec --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/737840.ent @@ -0,0 +1 @@ +<elem id="id0"/> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/766956.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/766956.dtd new file mode 100644 index 0000000000000000000000000000000000000000..dddde68bcf01dcc2c377129898d22a031fbc9dc5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/766956.dtd @@ -0,0 +1,2 @@ +<!ENTITY % ent "value"> +%ä%ent; diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/NewsMLv1.2.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/NewsMLv1.2.dtd new file mode 100644 index 0000000000000000000000000000000000000000..10f4fb808efe5dbd2dae1b8eed96c6dbd5fe7e38 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/NewsMLv1.2.dtd @@ -0,0 +1,1949 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + =========================================== + NewsML Document Type Definition Version 1.2 + =========================================== + International Press Telecommunications Council + V 1.2 approved 10 October 2003 + Copyright (c) IPTC, 2000 - 2003 + All rights reserved + NewsML is a trademark of IPTC + + ====================================== + DO NOT REMOVE THESE LICENCE CONDITIONS + ====================================== +Non-Exclusive License Agreement for International Press +Telecommunications Council Specifications and Related Documentation + +IMPORTANT: International Press Telecommunications Council (IPTC) +standard specifications for news (the Specifications) and supporting +software, documentation, technical reports, web sites and other +material related to the Specifications (the Materials) including the +document accompanying this license (the Document), whether in a paper +or electronic format, are made available to you subject to the terms +stated below. By obtaining, using and/or copying the Specifications or +Materials, you (the licensee) agree that you have read, understood, +and will comply with the following terms and conditions. + +1. The Specifications and Materials are licensed for use only on the +condition that you agree to be bound by the terms of this license. +Subject to this and other licensing requirements contained herein, you +may, on a non-exclusive basis, use the Specifications and Materials. + +2. The IPTC openly provides the Specifications and Materials for +voluntary use by individuals, partnerships, companies, corporations, +organizations and any other entity for use at the entity's own risk. +This disclaimer, license and release is intended to apply to the IPTC, +its officers, directors, agents, representatives, members, +contributors, affiliates, contractors, or co-venturers acting jointly +or severally. + +3. The Document and translations thereof may be copied and furnished +to others, and derivative works that comment on or otherwise explain +it or assist in its implementation may be prepared, copied, published +and distributed, in whole or in part, without restriction of any kind, +provided that the copyright and license notices and references to the +IPTC appearing in the Document and the terms of this Specifications +License Agreement are included on all such copies and derivative +works. Further, upon the receipt of written permission from the IPTC, +the Document may be modified for the purpose of developing +applications that use IPTC Specifications or as required to translate +the Document into languages other than English. + +4. Any use, duplication, distribution, or exploitation of the Document +and Specifications and Materials in any manner is at your own risk. + +5. NO WARRANTY, EXPRESSED OR IMPLIED, IS MADE REGARDING THE ACCURACY, +ADEQUACY, COMPLETENESS, LEGALITY, RELIABILITY OR USEFULNESS OF ANY +INFORMATION CONTAINED IN THE DOCUMENT OR IN ANY SPECIFICATION OR OTHER +PRODUCT OR SERVICE PRODUCED OR SPONSORED BY THE IPTC. THE DOCUMENT AND +THE INFORMATION CONTAINED HEREIN AND INCLUDED IN ANY SPECIFICATION OR +OTHER PRODUCT OR SERVICE OF THE IPTC IS PROVIDED ON AN "AS IS" BASIS. +THE IPTC DISCLAIMS ALL WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, ANY ACTUAL OR ASSERTED WARRANTY OF NON- +INFRINGEMENT OF PROPRIETARY RIGHTS, MERCHANTABILITY, OR FITNESS FOR A +PARTICULAR PURPOSE. NEITHER THE IPTC NOR ITS CONTRIBUTORS SHALL BE +HELD LIABLE FOR ANY IMPROPER OR INCORRECT USE OF INFORMATION. NEITHER +THE IPTC NOR ITS CONTRIBUTORS ASSUME ANY RESPONSIBILITY FOR ANYONE'S +USE OF INFORMATION PROVIDED BY THE IPTC. IN NO EVENT SHALL THE IPTC OR +ITS CONTRIBUTORS BE LIABLE TO ANYONE FOR DAMAGES OF ANY KIND, +INCLUDING BUT NOT LIMITED TO, COMPENSATORY DAMAGES, LOST PROFITS, LOST +DATA OR ANY FORM OF SPECIAL, INCIDENTAL, INDIRECT, CONSEQUENTIAL OR +PUNITIVE DAMAGES OF ANY KIND WHETHER BASED ON BREACH OF CONTRACT OR +WARRANTY, TORT, PRODUCT LIABILITY OR OTHERWISE. + +6. The IPTC takes no position regarding the validity or scope of any +Intellectual Property or other rights that might be claimed to pertain +to the implementation or use of the technology described in the +Document or the extent to which any license under such rights might or +might not be available. The IPTC does not represent that it has made +any effort to identify any such rights. Copies of claims of rights +made available for publication, assurances of licenses to be made +available, or the result of an attempt made to obtain a general +license or permission for the use of such proprietary rights by +implementers or users of the Specifications and Materials, can be +obtained from the Managing Director of the IPTC. + +7. By using the Specifications and Materials including the Document in +any manner or for any purpose, you release the IPTC from all +liabilities, claims, causes of action, allegations, losses, injuries, +damages, or detriments of any nature arising from or relating to the +use of the Specifications, Materials or any portion thereof. You +further agree not to file a lawsuit, make a claim, or take any other +formal or informal legal action against the IPTC, resulting from your +acquisition, use, duplication, distribution, or exploitation of the +Specifications, Materials or any portion thereof. Finally, you hereby +agree that the IPTC is not liable for any direct, indirect, special or +consequential damages arising from or relating to your acquisition, +use, duplication, distribution, or exploitation of the Specifications, +Materials or any portion thereof. + +8. Specifications and Materials may be downloaded or copied provided +that ALL copies retain the ownership, copyright and license notices. + +9. Materials may not be edited, modified, or presented in a context +that creates a misleading or false impression or statement as to the +positions, actions, or statements of the IPTC. + +10. The name and trademarks of the IPTC may not be used in +advertising, publicity, or in relation to products or services and +their names without the specific, written prior permission of the +IPTC. Any permitted use of the trademarks of the IPTC, whether +registered or not, shall be accompanied by an appropriate mark and +attribution, as agreed with the IPTC. + +11. Specifications may be extended by both members and non-members to +provide additional functionality (Extended Specifications) provided +that there is a clear recognition of the IPTC IP and its ownership in +the Extended Specifications and the related documentation and provided +that the extensions are clearly identified and provided that a +perpetual license is granted by the creator of the Extended +Specifications for other members and non-members to use the Extended +Specifications and to continue extensions of the Extended +Specifications. The IPTC does not waive any of its rights in the +Specifications and Materials in this context. The Extended +Specifications may be considered the intellectual property of their +creator. The IPTC expressly disclaims any responsibility for damage +caused by an extension to the Specifications. + +12. Specifications and Materials may be included in derivative work of +both members and non-members provided that there is a clear +recognition of the IPTC IP and its ownership in the derivative work +and its related documentation. The IPTC does not waive any of its +rights in the Specifications and Materials in this context. Derivative +work in its entirety may be considered the intellectual property of +the creator of the work .The IPTC expressly disclaims any +responsibility for damage caused when its IP is used in a derivative +context. + +13. This Specifications License Agreement is perpetual subject to your +conformance to the terms of this Agreement. The IPTC may terminate +this Specifications License Agreement immediately upon your breach of +this Agreement and, upon such termination you will cease all use, +duplication, distribution, and/or exploitation in any manner of the +Specifications and Materials. + +14. This Specifications License Agreement reflects the entire +agreement of the parties regarding the subject matter hereof and +supersedes all prior agreements or representations regarding such +matters, whether written or oral. To the extent any portion or +provision of this Specifications License Agreement is found to be +illegal or unenforceable, then the remaining provisions of this +Specifications License Agreement will remain in full force and effect +and the illegal or unenforceable provision will be construed to give +it such effect as it may properly have that is consistent with the +intentions of the parties. + +15. This Specifications License Agreement may only be modified in +writing signed by an authorized representative of the IPTC. + +16. This Specifications License Agreement is governed by the law of +United Kingdom, as such law is applied to contracts made and fully +performed in the United Kingdom. Any disputes arising from or relating +to this Specifications License Agreement will be resolved in the +courts of the United Kingdom. You consent to the jurisdiction of such +courts over you and covenant not to assert before such courts any +objection to proceeding in such forums. + +IF YOU DO NOT AGREE TO THESE TERMS YOU MUST CEASE ALL USE OF THE +SPECIFICATIONS AND MATERIALS NOW. IF YOU HAVE ANY QUESTIONS ABOUT +THESE TERMS, PLEASE CONTACT THE MANAGING DIRECTOR OF THE INTERNATIONAL +PRESS TELECOMMUNICATION COUNCIL. AS OF THE DATE OF THIS REVISION OF +THIS SPECIFICATIONS LICENSE AGREEMENT YOU MAY CONTACT THE IPTC at +http://www.iptc.org. + +License agreement version of: 30 January 2006 +--> +<!-- + ================ + NOTE ON SPELLING + ================ +NewsML element and attribute names use US-English spellings. With this +exception, this DTD and its accompanying specification use British English +spellings. +--> +<!-- + ============================= + PARAMETER ENTITY DECLARATIONS + ============================= +--> +<!-- +================================================================================ + Attribute sets +================================================================================ +--> +<!-- +================================== assignment ================================== +AssignedBy +========== +An identifier for the party assigning a piece of metadata. This can be a +string that designates the party informally (for example, a person's name), +or a pointer in the form a fragment identifier consisting of a # character +followed by the Duid of a Topic corresponding to the party. + +Importance +========== +An indication of the importance the party assigning a piece of metadata +attaches to it. The value of the Importance attribute is a formal name for a +level of importance. Its meaning and permitted values are determined by a +controlled vocabulary. + +Confidence +========== +An indication of the confidence with which a piece of metadata has been +assigned. The value of the Confidence attribute is a formal name for a +degree of confidence. Its meaning and permitted values are determined by a +controlled vocabulary. + +HowPresent +========== +An indication of the way in which a piece of metadata applies. The value of +the HowPresent attribute is a formal name for the way the metadata applies. +Its meaning and permitted values are determined by a controlled vocabulary. + +DateAndTime +=========== +The date and (optionally) time at which a piece of metadata was assigned. + +Uses the format CCYYMMDDTHHMMSS{+or-}HHMM (century, year, month, day, time +separator, hours, minutes, seconds, timezone separator, hours, minutes). If +only the Date is needed, then the substring from T onwards may be omitted. +Where the offset difference is +0000 the letter suffix "Z" may alternatively be used. + +This is the Basic Format defined by ISO 8601. CCYY is a 4-digit year number. +MM is a 2-digit month number. DD is a 2-digit day number. T is the letter 'T'. +HH is a 2-digit hour number (using a 24-hour clock). MM is a 2 digit minute +number. (Note that midnight may be represented as 240000 on the date +of the day that is ending, or as 000000 on the date of the day that is +beginning.) + +{+or-} is the '+' character or the '-' character, and the following HHMM are +hours and minutes of offset from Universal Co-ordinated Time (UTC) as defined +by ISO 8601. If the time is being expressed in UTC, then the timezone offset +may be '+0000' or '-0000'. If the time is behind UTC, the timezone separator +is '-'. If the time is ahead of UTC the timezone separator is '+'. + +Example: 10:27 p.m. in New York on 31 December 2000 would be expressed as +"20001231T222700-0500" as New York is five hours behind UTC in winter. At +the same moment in London, the date and time would be expressed as +"20010101T032700+0000" or as "20010101T032700-0000" because in London it is +now 3:27 a.m. on 1 January 2001. At the same moment in Paris,the date and +time would be expressed as "20010101T042700+0100", because Paris is one hour +ahead of UTC in winter and it is now 4:27 a.m. on 1 January 2001. +================================================================================ + +--> +<!ENTITY % assignment " AssignedBy CDATA #IMPLIED + Importance CDATA #IMPLIED + Confidence CDATA #IMPLIED + HowPresent CDATA #IMPLIED + DateAndTime CDATA #IMPLIED"> +<!-- +================================= formalname =================================== + +FormalName +========== +A string of characters whose meaning is determined by a controlled vocabulary. +The controlled vocabulary may (but is not required to) take the form of a NewsML TopicSet. + +Vocabulary +========== +The Vocabulary attribute, if present, provides a pointer to a TopicSet which is +the controlled vocabulary that can be used to resolve the meaning of the +FormalName. + +The value of the Vocabulary attribute is an http URL or a NewsML +URN, or the # character followed by the value of the Duid attribute of the a +TopicSet in the current document. + +If there is no Vocabulary attribute, then the controlled vocabulary to be used +is located by the following algorithm: +- Proceed to the parent of the current element. +- If it has a Catalog element as its immediate child, see whether that Catalog + contains a Resource element whose DefaultVocabularyFor child contains an XPath + pattern that is matched by the current element. If so, then the controlled + vocabulary is the resource identified by that Resource element. +- If the parent does not meet the above condition, proceed to its parent and + check the same condition. +- Continue until a vocabulary is found, or no further parent elements are + available because the root element has been reached and it too fails to meet + the condition. + +(The comment on Vocabulary was changed for Version 1.2) + +Scheme +====== +The Scheme attribute, if present, serves to distinguish which of possibly +multiple naming schemes in the controlled vocabulary is the one that governs +this FormalName. + +(The following lines added for Version 1.2) +More information about the processing of those attributes can be found in the +NewsML Functional Specifications and the NewsML Implementation Guidelines. +================================================================================ +--> +<!ENTITY % formalname " FormalName CDATA #REQUIRED + Vocabulary CDATA #IMPLIED + Scheme CDATA #IMPLIED"> +<!-- +=================================== localid ==================================== + +Duid +==== +Duid is a "Document-unique Identifier". It must satisfy the rules for XML ID +attributes: it must only contain name characters, and it must start with a +name-start character (not a digit). Its value must be unique within any NewsML +document. + +Every NewsML element type has Duid as an optional attribute. Combined with the +Identifier element, providing a value for the Duid of any element in a NewsML +document makes the element globally identifiable. The Identifier element gives +global identification to the document, and the Duid provides local +identification for the element within the document. + +Euid +==== +Euid is an "Element-unique Identifier". Its value must be unique among elements +of the same element-type and having the same parent element. + +Use of Euid attribute makes it possible to identify any NewsML element within +the context of its local branch of the NewsML document tree. This makes it +possible to copy, or include by reference, subtrees into new combinations in +ways that would break the uniqueness of Duids (thereby forcing new Duids to be +allocated), but still being able to retain the identity of each element. If +Euids are maintained at every level, it is possible to identify, for example +"The ContentItem whose Euid is abc within the NewsComponent whose Euid is def". +Such identification patterns would be preserved even after "pruning and +grafting" of subtrees. +================================================================================ +--> +<!ENTITY % localid " Duid ID #IMPLIED + Euid CDATA #IMPLIED"> +<!-- +================================================================================ + Content Models +================================================================================ +--> +<!-- +===================================== data ===================================== +Where data is included, it may be directly in the form of a DataContent element, +or in the form of DataContent wrapped in an Encoding element, or by reference +through an Href attribute. In the latter case an empty Encoding element may be present. +================================================================================ +--> +<!ENTITY % data "(Encoding | DataContent)?"> +<!-- +==================================== party ===================================== +Person, organisation or company playing a specific role in the +news workflow. The role being played is determined by the parent element. More +information about it can be provided in the optional Comment subelements. +================================================================================ + +--> +<!ENTITY % party "Comment* , Party+"> +<!-- + ========================= + ELEMENT TYPE DECLARATIONS + ========================= +--> +<!-- +============================ AdministrativeMetadata ============================ +Information about the provenance of a NewsComponent. +Changed for Version 1.2: Creator? changed to Creator* +================================================================================ +--> +<!ELEMENT AdministrativeMetadata (Catalog?, FileName?, SystemIdentifier?, Provider?, Creator*, Source*, Contributor*, Property*)> +<!ATTLIST AdministrativeMetadata + %localid; +> +<!-- + +================================ AssociatedWith ================================ +A reference to a NewsItem with which this one is associated (for example, a +series of articles, or a collection of photos, of which it is a part). The +NewsItem attribute identifies the relevant NewsItem. Its value can be an +http URL or a NewsML URN as described in the comment to PublicIdentifier. The +Comment can be used to indicate the nature of the association. FormalName structure added in version 1.1 +================================================================================ + +--> +<!ELEMENT AssociatedWith (Comment*)> +<!ATTLIST AssociatedWith + %localid; + FormalName CDATA #IMPLIED + Vocabulary CDATA #IMPLIED + Scheme CDATA #IMPLIED + NewsItem CDATA #IMPLIED +> +<!-- +================================ BasisForChoice ================================ +The content of this element is an XPath statement or element-type name +identifying information within each NewsComponent or ContentItem that can be +used as a basis for choice between equivalent NewsComponents or ContentItems. +If the XPath pattern begins with a . character, this represents the 'root' of +the XPath and corresponds to the NewsComponent or ContentItem itself. By +applying the XPath pattern to each NewsComponent or ContentItem in turn within +the set of equivalents, the system can extract the data on the basis of which a +choice between the items can be made. If multiple matches to the XPath pattern +are present within the subtree that begins at the 'root', only the first match +found in document order is significant. The optional Rank attribute allows +providers to place a numerical order on the importance they think should be +attached to the different bases for choice. +Smaller numbers represent higher importance. +================================================================================ +--> +<!ELEMENT BasisForChoice (#PCDATA)> +<!ATTLIST BasisForChoice + %localid; + Rank CDATA #IMPLIED +> +<!-- + +==================================== ByLine ==================================== +A natural-language statement of the author/creator information. +================================================================================ +--> +<!ELEMENT ByLine (#PCDATA | Origin)*> +<!ATTLIST ByLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- + +==================================== ByLineTitle ==================================== +A natural-language statement of the title of author/creator of the information. (version 1.1) +================================================================================ +--> +<!ELEMENT ByLineTitle (#PCDATA | Origin)*> +<!ATTLIST ByLineTitle + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +=================================== Catalog ==================================== +A container for Resource and TopicUse elements. Resource elements map URNs to +URLs and indicate default vocabularies which apply to the formal names of +certain elements within the subtree that begins with the immediate parent of +the Catalog element. TopicUse elements indicate where in the NewsML document +certain Topics are used. The optional Href attribute provides a pointer to +a Catalog element elsewhere in this or another document. Its value consists of +a # character followed by the value of the Duid attribute of the referenced +Catalog element and preceded, if the referenced Catalog is not in the current +document, by an http URL or a NewsML URN identifying the document or NewsItem +in which the Catalog appears. If the Href attribute is present on a Catalog +element, then that element should be empty. If it contains subelements, the +NewsML system may signal an error. +================================================================================ +--> +<!ELEMENT Catalog (Resource*, TopicUse*)> +<!ATTLIST Catalog + %localid; + Href CDATA #IMPLIED +> +<!-- +=============================== Characteristics ================================ +Information about the physical characteristics of a ContentItem. +================================================================================ +--> +<!ELEMENT Characteristics (SizeInBytes?, Property*)> +<!ATTLIST Characteristics + %localid; +> +<!-- +=================================== Comment ==================================== +A natural-language description of, or statement about, the current element. The +optional TranslationOf attribute is a pointer to another Comment element, of +which this one is a direct translation. The FormalName and associated attributes added for Version 1.1 +================================================================================ +--> +<!ELEMENT Comment (#PCDATA)> +<!ATTLIST Comment + %localid; + xml:lang CDATA #IMPLIED + TranslationOf IDREF #IMPLIED + FormalName CDATA #IMPLIED + Vocabulary CDATA #IMPLIED + Scheme CDATA #IMPLIED +> +<!-- +================================= ContentItem ================================== +A news object that carries or identifies content intended for presentation to +humans. +================================================================================ +--> +<!ELEMENT ContentItem (Comment*, Catalog?, MediaType?, Format?, MimeType?, Notation?, Characteristics?, %data;)> +<!ATTLIST ContentItem + %localid; + Href CDATA #IMPLIED +> +<!-- +================================= Contribution ================================== +The contribution of a Party in the scope of the creation or the modification of a news object. +Added for Version 1.2 +============================================================================== +--> +<!ELEMENT Contribution EMPTY> +<!ATTLIST Contribution + %localid; + %formalname; +> +<!-- +================================= Contributor ================================== +An individual and/or company or organisation that modified or enhanced a news +object after its creation. +Changed for Version 1.2: Contribution added +================================================================================ +--> +<!ELEMENT Contributor (%party;, Contribution*)> +<!ATTLIST Contributor + %localid; +> +<!-- +================================== Copyright =================================== +The copyright that pertains to a news object. +================================================================================ +--> +<!ELEMENT Copyright (Comment*, CopyrightHolder, CopyrightDate)> +<!ATTLIST Copyright + %localid; + %assignment; +> +<!-- +================================ CopyrightDate ================================= +A natural-language statement of the copyright date. +================================================================================ + +--> +<!ELEMENT CopyrightDate (#PCDATA | Origin)*> +<!ATTLIST CopyrightDate + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +=============================== CopyrightHolder ================================ +A natural-language statement indicating who owns the copyright. +================================================================================ +--> +<!ELEMENT CopyrightHolder (#PCDATA | Origin)*> +<!ATTLIST CopyrightHolder + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +================================ CopyrightLine ================================= +A natural-language statement of the copyright information. +================================================================================ +--> +<!ELEMENT CopyrightLine (#PCDATA | Origin)*> +<!ATTLIST CopyrightLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +=================================== Creator ==================================== +An individual and/or company or organisation that created a news object. +Changed for Version 1.2: Contribution added +================================================================================ +--> +<!ELEMENT Creator (%party;, Contribution*)> +<!ATTLIST Creator + %localid; +> +<!-- +================================== CreditLine ================================== +A natural-language statement of credit information. +================================================================================ +--> +<!ELEMENT CreditLine (#PCDATA | Origin)*> +<!ATTLIST CreditLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +================================= DataContent ================================== +The data that carries the content of a ContentItem. +================================================================================ +--> +<!ELEMENT DataContent ANY> +<!ATTLIST DataContent + %localid; +> +<!-- +================================= DateAndTime ================================== +A formal representation of a date and, optionally, time, expressed in ISO 8601 +Basic Format, as described in the comment to the DateAndTime attribute within +the assignment ENTITY declaration above. +================================================================================ +--> +<!ELEMENT DateAndTime (#PCDATA)> +<!ATTLIST DateAndTime + %localid; +> +<!-- +==================================== DateId ==================================== +A date identifier of a NewsItem in short ISO 8601 Basic Format (CCYYMMDD), as +described in the comment to the DateAndTime attribute within the assignment +ENTITY declaration above. The DateId is part of the formal identification of the +NewsItem, and must remain the same through successive revisions of the same +NewsItem. +================================================================================ +--> +<!ELEMENT DateId (#PCDATA)> +<!-- +================================== DateLabel =================================== +A string representation of a date or date and time, used by human users to help +identify a NewsItem. +================================================================================ +--> +<!ELEMENT DateLabel (#PCDATA)> +<!ATTLIST DateLabel + %localid; +> +<!-- +=================================== DateLine =================================== +A natural-language statement of the date and/or place of creation. +================================================================================ +--> +<!ELEMENT DateLine (#PCDATA | Origin)*> +<!ATTLIST DateLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +=================================== DateLineDate =================================== +A logical equivalent of the date of creation. ISO8601 Basic Format +================================================================================ +--> +<!ELEMENT DateLineDate (#PCDATA)> +<!ATTLIST DateLineDate + %localid; +> +<!-- +============================ DefaultVocabularyFor ============================== +An indication that the parent Resource provides the default vocabulary that +determines the meanings and permitted values of the data occurring in a +particular part of a NewsML document subtree. The Context attribute is an +XPath pattern identifying the data to which the default vocabulary applies. +If the XPath pattern is one that matches elements, then it is the value of the +FormalName attribute of that element that is designated. If the XPath pattern +is one that matches attributes, then it is the value of that attribute itself +that is designated. The optional Scheme attribute identifies the relevant naming +scheme if the controlled vocabulary contains more than one naming scheme. +If the controlled vocabulary is a NewsML TopicSet, then the meaning of the data +identified by the Context is provided by the Topic whose FormalName subelement +matches that data. If the Resource is not a NewsML TopicSet, then the way in which +it is interpreted in order to provide a meaning for the data is not defined by NewsML +but by the authority that governs whatever format the Resource uses. +================================================================================ +--> +<!ELEMENT DefaultVocabularyFor EMPTY> +<!ATTLIST DefaultVocabularyFor + %localid; + Context CDATA #REQUIRED + Scheme CDATA #IMPLIED +> +<!-- +==================================== Delete ==================================== +An instruction to delete an element within a NewsItem. The NewsItem is +the previous revision of the current one, and the element to be deleted is the +one whose Duid value is equal to the value of the Delete element's DuidRef +attribute. +================================================================================ +--> +<!ELEMENT Delete EMPTY> +<!ATTLIST Delete + %localid; + DuidRef CDATA #REQUIRED +> +<!-- +================================= DerivedFrom ================================== +A reference to an NewsItem from which this one is derived. The NewsItem attribute +identifies the relevant NewsItem. Its value can be an http URL or a NewsML URN +as described in the comment to PublicIdentifier. FormalName structure added in version 1.1 +================================================================================ +--> +<!ELEMENT DerivedFrom (Comment*)> +<!ATTLIST DerivedFrom + %localid; + FormalName CDATA #IMPLIED + Vocabulary CDATA #IMPLIED + Scheme CDATA #IMPLIED + NewsItem CDATA #IMPLIED +> +<!-- +================================= Description ================================== +A description that identifies a Topic, thereby indicating the meaning of a +formal name associated with that Topic. The xml:lang attribute indicates what +language the description is in. The optional Variant attribute allows multiple +descriptions to be given in the same language, and meaningfully distinguished +from one another. +================================================================================ +--> +<!ELEMENT Description (#PCDATA)> +<!ATTLIST Description + %localid; + xml:lang CDATA #IMPLIED + Variant CDATA #IMPLIED +> +<!-- +============================= DescriptiveMetadata ============================== +Information describing the content of a NewsComponent. Multiple appearance for the child element Genre, +new elements DateLineDate and Location were introduced in version 1.1 of the DTD. +================================================================================ +--> +<!ELEMENT DescriptiveMetadata (Catalog?, Language*, Genre*, SubjectCode*, OfInterestTo*, DateLineDate?, Location*, TopicOccurrence*, Property*)> +<!ATTLIST DescriptiveMetadata + %localid; + %assignment; +> +<!-- +=================================== Encoding =================================== +The encoding of the data comprising the content of a ContentItem. +================================================================================ +--> +<!ELEMENT Encoding %data;> +<!ATTLIST Encoding + %localid; + Notation CDATA #REQUIRED +> +<!-- +=================================== EndDate ==================================== +A natural-language statement of the date at which specified usage rights come +to an end. +================================================================================ +--> +<!ELEMENT EndDate (#PCDATA | Origin)*> +<!ATTLIST EndDate + %localid; + xml:lang CDATA #IMPLIED + %assignment; +> +<!-- +=================================== FileName =================================== +The suggested or actual storage file name for a NewsItem. +================================================================================ +--> +<!ELEMENT FileName (#PCDATA)> +<!ATTLIST FileName + %localid; +> +<!-- +================================= FirstCreated ================================= +The date and, optionally, time at which a NewsItem was first created, expressed +in ISO 8601 Basic Format, as described in the comment to the DateAndTime +attribute within the assignment ENTITY declaration above. +================================================================================ +--> +<!ELEMENT FirstCreated (#PCDATA)> +<!ATTLIST FirstCreated + %localid; +> +<!-- +================================= FormalName =================================== +A string of characters whose meaning is determined by a naming scheme within a +controlled vocabulary. The controlled vocabulary may (but is not required to) +take the form of a NewsML TopicSet. The optional Scheme attribute determines +which naming scheme applies, when several exist within the same controlled +vocabulary. +================================================================================ +--> +<!ELEMENT FormalName (#PCDATA)> +<!ATTLIST FormalName + %localid; + Scheme CDATA #IMPLIED +> +<!-- +==================================== Format ==================================== +An indication of the format of a ContentItem. The value of the FormalName +attribute is a formal name for the Format. Its meaning and permitted values are +determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT Format EMPTY> +<!ATTLIST Format + %localid; + %formalname; +> +<!-- +================================= FutureStatus ================================= +An indication of the status a NewsItem will have at a specified future date. The +value of the FormalName attribute is a formal name for the FutureStatus. Its +meaning is determined by a controlled vocabulary as described in the comment +to the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT FutureStatus EMPTY> +<!ATTLIST FutureStatus + %localid; + %formalname; +> +<!-- +==================================== Genre ===================================== +An indication of the Genre of a NewsComponent. The value of the FormalName +attribute is a formal name for the Genre. Its meaning and permitted values are +determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT Genre EMPTY> +<!ATTLIST Genre + %localid; + %formalname; + %assignment; +> +<!-- +================================== Geography =================================== +A natural-language statement of the geographical area or areas to which +specified usage rights apply. +================================================================================ +--> +<!ELEMENT Geography (#PCDATA | Origin)*> +<!ATTLIST Geography + %localid; + xml:lang CDATA #IMPLIED + %assignment; +> +<!-- +=================================== HeadLine =================================== +A displayable headline. +================================================================================ +--> +<!ELEMENT HeadLine (#PCDATA | Origin)*> +<!ATTLIST HeadLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +================================ Identification ================================ +Identification information for the NewsItem. +================================================================================ +--> +<!ELEMENT Identification (NewsIdentifier, NameLabel?, DateLabel?, Label*)> +<!ATTLIST Identification + %localid; +> +<!-- +================================= InsertAfter ================================== +An instruction to insert content after a designated element within a NewsItem. +The content to be inserted is the content of the InsertAfter element. The +NewsItem into which it is to be inserted is the previous revision of the current +one, and the element after which it is to be inserted is the one whose Duid +value is equal to the value of the InsertAfter element's DuidRef attribute. +================================================================================ +--> +<!ELEMENT InsertAfter ANY> +<!ATTLIST InsertAfter + %localid; + DuidRef CDATA #REQUIRED +> +<!-- +================================= InsertBefore ================================= +An instruction to insert content before a designated element within a NewsItem. +The content to be inserted is the content of the InsertBefore element. The +NewsItem into which it is to be inserted is the previous revision of the current +one, and the element before which it is to be inserted is the one whose Duid +value is equal to the value of the InsertBefore element's DuidRef attribute. +================================================================================ +--> +<!ELEMENT InsertBefore ANY> +<!ATTLIST InsertBefore + %localid; + DuidRef CDATA #REQUIRED +> +<!-- +================================= Instruction ================================== +An instruction from a news provider to the recipient of a NewsItem. A special +case of Instruction is an indication of the effect the current revision of a +NewsItem has on the status of any previous revisions of the NewsItem that may +still be on the recipient's system. In this case, it will contain one or more +RevisionStatus elements. Otherwise, the value of the FormalName attribute is a +formal name for the Instruction, and its meaning is determined by a controlled +vocabulary as described in the comment to the formalname ENTITY declaration +above. +================================================================================ +--> +<!ELEMENT Instruction (RevisionStatus*)> +<!ATTLIST Instruction + %localid; + %formalname; +> +<!-- +================================= KeywordLine ================================== +A displayable set of keywords relevant to a news object. This can be used by a +NewsML system to assist manual or automated searches. +================================================================================ +--> +<!ELEMENT KeywordLine (#PCDATA | Origin)*> +<!ATTLIST KeywordLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +==================================== Label ===================================== +A human-readable label for a NewsItem. +================================================================================ +--> +<!ELEMENT Label (LabelType, LabelText)> +<!ATTLIST Label + %localid; +> +<!-- +=================================== LabelText ================================== +The text that constitutes a Label of a given LabelType. +================================================================================ +--> +<!ELEMENT LabelText (#PCDATA)> +<!ATTLIST LabelText + %localid; +> +<!-- +================================= LabelType ==================================== +A user-defined type of label. The value of the FormalName attribute is a formal +name for the LabelType. Its meaning and permitted values are determined by a +controlled vocabulary as described in the comment to the formalname ENTITY +declaration above. +================================================================================ +--> +<!ELEMENT LabelType EMPTY> +<!ATTLIST LabelType + %localid; + %formalname; +> +<!-- +=================================== Language =================================== +An indication of the, or a, language used in a content item. The value of the +FormalName attribute is a formal name for the Language. Its meaning and +permitted values are determined by a controlled vocabulary as described in the +comment to the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT Language EMPTY> +<!ATTLIST Language + %localid; + %formalname; + %assignment; +> +<!-- +================================= Limitations ================================== +A natural-language statement of the terms and conditions that apply to the +specified usage rights. +================================================================================ +--> +<!ELEMENT Limitations (#PCDATA | Origin)*> +<!ATTLIST Limitations + %localid; + xml:lang CDATA #IMPLIED + %assignment; +> +<!-- +=========================== Location (version 1.1)============================= +An indication of the location somehow relevant to the NewsItem. Type of the +location (the nature of its relation to the NewsItem) is specified using the +HowPresent attribute that is part of the %assignment; entity (e.g. +DateLine, Event, etc). Logical components of the location's definition (eg Country) are specified +using the Property child elements with the FormalName attributes taken from the IPTC normative controlled +vocabulary. In addition, if the location in question exists as a single Topic, the optional Topic attribute may be +used as a direct pointer to that Topic. The pointer may take the form of an http URL or a NewsML + URN, or a # character followed by the value of the Duid attribute of a Topic element in the current document +================================================================================ +--> +<!ELEMENT Location (Property)*> +<!ATTLIST Location + %localid; + %assignment; + xml:lang CDATA #IMPLIED + Topic CDATA #IMPLIED +> +<!-- +================================== MediaType =================================== +An indication of the media type of a ContentItem. The value of the FormalName +attribute is a formal name for the MediaType. Its meaning and permitted values +are determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT MediaType EMPTY> +<!ATTLIST MediaType + %localid; + %formalname; +> +<!-- +=================================== Metadata =================================== +An container for a user-defined type of metadata. +================================================================================ +--> +<!ELEMENT Metadata (Catalog?, MetadataType, Property+)> +<!ATTLIST Metadata + %localid; +> +<!-- +=============================== MetadataType =================================== +An indication of the type of metadata that is represented by the Property +elements within this Metadata element. The value of the FormalName attribute is +a formal name for the MetadataType. Its meaning and permitted values are +determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT MetadataType EMPTY> +<!ATTLIST MetadataType + %localid; + %formalname; +> +<!-- +=================================== MimeType =================================== +An indication of the MIME-type of a ContentItem. The value of the FormalName +attribute is a formal name for the MimeType. Its meaning and permitted values +are determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT MimeType EMPTY> +<!ATTLIST MimeType + %localid; + %formalname; +> +<!-- +================================== NameLabel =================================== +A string used by human users as a name to help identify a NewsItem. Its form is +determined by the provider. It might be identical to the textual content of +the SlugLine element, for example, but even if this is so, the system should not +process the NameLabel as a slugline. Nothing can be assumed about the nature of +the string within NameLabel beyond the fact that it can help to identify the +NewsItem to humans. +================================================================================ +--> +<!ELEMENT NameLabel (#PCDATA)> +<!ATTLIST NameLabel + %localid; +> +<!-- +================================ NewsComponent ================================= +A container for news objects, used to identify the role of news objects in +relation to one another, and to ascribe metadata to them. The Essential +attribute indicates whether the provider considers that this NewsComponent +is essential to the meaning of the NewsComponent within which it is contained. +The EquivalentsList attribute indicates whether or not the NewsItems or +NewsItemRefs, NewsComponents or ContentItems contained within this one are +equivalent to one another in content and/or meaning +================================================================================ +--> +<!ELEMENT NewsComponent (Comment*, Catalog?, TopicSet*, Role?, BasisForChoice*, NewsLines?, AdministrativeMetadata?, RightsMetadata?, DescriptiveMetadata?, Metadata*, ((NewsItem | NewsItemRef)+ | NewsComponent+ | ContentItem+)?)> +<!ATTLIST NewsComponent + %localid; + Essential (yes | no) "no" + EquivalentsList (yes | no) "no" + xml:lang CDATA #IMPLIED +> +<!-- +================================= NewsEnvelope ================================= +Information about the transmission of one or more NewsItems as a NewsML +document. +================================================================================ +--> +<!ELEMENT NewsEnvelope (TransmissionId?, SentFrom?, SentTo?, DateAndTime, NewsService*, NewsProduct*, Priority?)> +<!ATTLIST NewsEnvelope + %localid; +> +<!-- +================================ NewsIdentifier ================================ +A globally unique identifier for a NewsItem. +================================================================================ +--> +<!ELEMENT NewsIdentifier (ProviderId, DateId, NewsItemId, RevisionId, PublicIdentifier)> +<!-- +=================================== NewsItem =================================== +A managed set of information representing a point of view, at a given time, on +some event or events. Its Identification and NewsManagement provide +manageability. It may contain either a NewsComponent, or one or more Updates +that modify aspects of a previous Revision of the same NewsItem, or a +TopicSet. +================================================================================ +--> +<!ELEMENT NewsItem (Comment*, Catalog?, Identification, NewsManagement, (NewsComponent | Update+ | TopicSet)?)> +<!ATTLIST NewsItem + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +================================== NewsItemId ================================== +An identifier for the NewsItem. The combination of NewsItemId and DateId must +be unique among NewsItems that emanate from the same provider. Within these +constraints, the NewsItemId can take any form the provider wishes. It may take +the form of a name for the NewsItem that will be meaningful to humans, but this +is not a requirement. The provider may optionally relate the values of +NewsItemId to a controlled vocabulary, which is invoked by the Vocabulary +attribute. The value of the Vocabulary attribute may be an http URL, a NewsML +URN, or the # character followed by the value of the Duid attribute of a +TopicSet in the current document. The Scheme attribute, if present, serves to +distinguish which of possibly multiple naming schemes in the controlled +vocabulary is the one that governs the NewsItemId. +================================================================================ +--> +<!ELEMENT NewsItemId (#PCDATA)> +<!ATTLIST NewsItemId + Vocabulary CDATA #IMPLIED + Scheme CDATA #IMPLIED +> +<!-- +================================= NewsItemRef ================================== +A pointer to a NewsItem that is deemed to replace the NewsItemRef element. The +NewsItem attribute is a pointer to the relevant NewsItem. Its value can be an +http URL, or a NewsML URN as described in the comment to PublicIdentifier, or a +fragment identifier consisting of a # character followed by the Duid of a +NewsItem in the current document. +================================================================================ +--> +<!ELEMENT NewsItemRef (Comment*)> +<!ATTLIST NewsItemRef + %localid; + NewsItem CDATA #IMPLIED +> +<!-- +================================= NewsItemType ================================= +An indication of the type of a NewsItem. The value of the FormalName attribute +is a formal name for the NewsItemType. Its meaning and permitted values are +determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT NewsItemType EMPTY> +<!ATTLIST NewsItemType + %localid; + %formalname; +> +<!-- +=================================== NewsLine =================================== +A newsline of a type not included in the NewsML specification. +================================================================================ +--> +<!ELEMENT NewsLine (NewsLineType, NewsLineText+)> +<!ATTLIST NewsLine + %localid; +> +<!-- +=================================== NewsLineText =================================== +The text of a NewsLine of user-defined type. +================================================================================ +--> +<!ELEMENT NewsLineText (#PCDATA | Origin)*> +<!ATTLIST NewsLineText + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +================================ NewsLineType ================================== +An indication of a user-defined NewsLine type. The value of the FormalName +attribute is a formal name for the NewsLineType. Its meaning and permitted +values are determined by a controlled vocabulary as described in the comment +to the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT NewsLineType EMPTY> +<!ATTLIST NewsLineType + %localid; + %formalname; +> +<!-- +================================== NewsLines =================================== +A container for all the NewsLines that a NewsComponent has. +Made an "or" group and ByLineTitle added in version 1.1 +================================================================================ +--> +<!ELEMENT NewsLines ((HeadLine, SubHeadLine*) | (ByLine, ByLineTitle*) | DateLine | CreditLine | CopyrightLine | RightsLine | SeriesLine | SlugLine | KeywordLine | NewsLine)*> +<!ATTLIST NewsLines + %localid; +> +<!-- +================================ NewsManagement ================================ +Information relevant to the management of a NewsItem. Multiple StatusWillChange introduced in version 1.1 +================================================================================ +--> +<!ELEMENT NewsManagement (NewsItemType, FirstCreated, ThisRevisionCreated, Status, StatusWillChange*, Urgency?, RevisionHistory?, DerivedFrom*, AssociatedWith*, Instruction*, Property*)> +<!ATTLIST NewsManagement + %localid; +> +<!-- +==================================== NewsML ==================================== +A NewsML document, which must contain a NewsEnvelope and one or more NewsItems, +and may include a Catalog element and a TopicSet element. The Version attribute, introduced in version 1.1, +is used to signify the version of NewsML that the instance is validated against. +It should always be used if the version is above 1.0. +================================================================================ +--> +<!ELEMENT NewsML (Catalog?, TopicSet*, (NewsEnvelope, NewsItem+))> +<!ATTLIST NewsML + %localid; + Version CDATA #IMPLIED +> +<!-- +================================= NewsProduct ================================== +An identifier for a product to which all the NewsItems in a NewsML document +belong. The value of the FormalName attribute is a formal name for the +NewsProduct. Its meaning and permitted values are determined by a controlled +vocabulary as described in the comment to the formalname ENTITY declaration +above. +================================================================================ +--> +<!ELEMENT NewsProduct EMPTY> +<!ATTLIST NewsProduct + %localid; + %formalname; +> +<!-- +================================= NewsService ================================== +An identifier for a service to which all the NewsItems in a NewsML document +belong. The value of the FormalName attribute is a formal name for the +NewsService. Its meaning and permitted values are determined by a controlled +vocabulary as described in the comment to the formalname ENTITY declaration +above. +================================================================================ +--> +<!ELEMENT NewsService EMPTY> +<!ATTLIST NewsService + %localid; + %formalname; +> +<!-- +=================================== Notation =================================== +An indication of the notation of a ContentItem. The value of the FormalName +attribute is a formal name for the Notation. Its meaning and permitted values +are determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT Notation EMPTY> +<!ATTLIST Notation + %localid; + %formalname; +> +<!-- +================================= OfInterestTo ================================= +An indication of the target audience of a NewsItem. The value of the FormalName +attribute is a formal name for the target audience. Its meaning and permitted +values are determined by a controlled vocabulary as described in the comment to +the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT OfInterestTo (Relevance?)> +<!ATTLIST OfInterestTo + %localid; + %formalname; + %assignment; +> +<!-- +==================================== Origin ==================================== +A wrapper for all or part of the text of a piece of text, which provides a +pointer to an item of data corresponding formally to what is being described +here in natural language. The Href attribute identifies the relevant data, and +may be an http URL or a NewsML URN as described in the comment to +PublicIdentifier, optionally including a fragment identifier. Alternatively, it +can be a simple fragment identifier consisting of a # character followed by the +value of the Duid of an element in the current document. +================================================================================ +--> +<!ELEMENT Origin (#PCDATA | Origin)*> +<!ATTLIST Origin + %localid; + %assignment; + Href CDATA #IMPLIED +> +<!-- +=================================== Party ====================================== +An indication of the person, company or organisation that has a particular +relationship to this NewsItem in the news workflow. The value of the FormalName +attribute is a formal name for the Party. Its meaning and permitted values +are determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. The optional Topic attribute may be used as +a direct pointer to that Topic. The pointer may take the form of an http URL or +a NewsML URN, or a # character followed by the value of the Duid attribute of a +Topic element in the current document. The Property child element was added in version 1.1 to eliminate +the need for creation of ad-hoc topics for volatile information internal to a NewsML document (eg the name +of the person involved in editing of the story, which is usually internal information to the provider). +================================================================================ +--> +<!ELEMENT Party (Property)*> +<!ATTLIST Party + %localid; + %formalname; + Topic CDATA #IMPLIED +> +<!-- +=================================== Priority =================================== +An indication of the priority notation of a NewsItem. The value of the +FormalName attribute is a formal name for the Priority. Its meaning and +permitted values are determined by a controlled vocabulary as described in +the comment to the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT Priority EMPTY> +<!ATTLIST Priority + %localid; + %formalname; +> +<!-- +=================================== Property =================================== +A property of a NewsItem, NewsComponent, ContentItem, Topic, Location or Party. The property has a +name and either a simple Value or a complex value consisting of a set of further properties. + +Value +===== +A string representation of the value of a Property. + +ValueRef +======== +A pointer to the value of the Property. This might be a Topic in a TopicSet, or +any other piece of data. If both Value and ValueRef are provided, then ValueRef +identifies the actual value of the property, with Value simply providing a +string representation or mnemonic for it. + + +Example: +<Catalog> + <Resource Duid="resource1"> + <Urn>urn:newsml:reuters.com:20001001:Physical Characteristics:3</Urn> + <Url>www.reuters.com/vocabs/physical.xml</Url> + <Url>www.iptc.com/vocabularies/memberdefined/reuters/physical.xml</Url> + <DefaultVocabularyFor Scheme="short" Context="Metadata/Property[@FormalName='Width']"/> + </Resource> +</Catalog> +... +<Property FormalName="Width" Vocabulary="#resource1"> + <Property FormalName="Unit" ValueRef="urn:newsml:iptc.org:20001006:units:1#cm"/> + <Property FormalName="Quantity" Value="7.5"/> +</Property> + +AllowedValues +============= +The AllowedValues attribute, if present, is a pointer to a controlled vocabulary +that delimits the set of allowed values for the property. This may be an http +URL, or a NewsML URN, or a fragment identifier consisting of a # charactger +followed by the Duid of an element in the current document. The pointer must +reference either a Resource element that designates an external controlled +vocabulary, or a TopicSet element, that is itself the controlled vocabulary. + +AllowedScheme (added in Version 1.1) +============= +The AllowedScheme attribute, if present, distinguishes the Scheme in a controlled +vocabulary that delimits the set of allowed values for the property. For a match to be +obtained within the controlled vocabulary both the AllowedScheme must match the +Scheme in the vocabulary and the Value must match the FormalName in the vocabulary. +The use of the AllowedScheme attribute serves to indicate that the Value data is + drawn from a controlled vocabulary rather that being an uncontrolled entry. +================================================================================ +--> +<!ELEMENT Property (Property*)> +<!ATTLIST Property + %localid; + %formalname; + %assignment; + Value CDATA #IMPLIED + ValueRef CDATA #IMPLIED + AllowedValues CDATA #IMPLIED + AllowedScheme CDATA #IMPLIED +> +<!-- +=================================== Provider =================================== +An individual and/or company or organisation that released a news object for +publication. +================================================================================ +--> +<!ELEMENT Provider (%party;)> +<!ATTLIST Provider + %localid; +> +<!-- +================================== ProviderId ================================== +An identifier for the news provider that produced the NewsItem. The +provider's ID is specified in the element content. This should be an Internet +domain name that is owned by the provider at the date identified by the DateId +subelement of the NewsIdentifier. + +Example: +<NewsIdentifier> + <ProviderId>iptc.org</ProviderId> + <DateId>20001001</DateId> + <NewsItemId>NewsML version 1.0</NewsItemId> + <RevisionId>1</RevisionId +</NewsIdentifier> + +Because the domain name "iptc.org" was owned on 1 October 2000 by the +International Press Telecommunications Council (IPTC) and no-one else, it is +certain that IPTC is the provider in this case. +================================================================================ +--> +<!ELEMENT ProviderId (#PCDATA)> +<!ATTLIST ProviderId + Vocabulary CDATA #IMPLIED +> +<!-- +=============================== PublicIdentifier =============================== +A public identifier (in the sense defined by the XML 1,0 Specification) for a +NewsItem. This is the NewsML URN, and must be constructed as follows: + +urn:newsml:{ProviderId}:{DateId}:{NewsItemId}:{RevisionId}{RevisionId@Update} + +where {x} means "the content of the x subelement of the NewsIdentifier" and +{x@y} means "the value of the y attribute of the x subelement of the +NewsIdentifier", with the exception that if the Update attribute of the +RevisionId element has its default value of N, it is omitted from the URN. + +Note that the set of characters that can be directly included within a URN +is limited. The allowed characters are specified by the Internet Engineering +Task Force (IETF) in its Request For Comments (RFC) number 2141. +This document is available at http://www.ietf.org/rfc/rfc2141.txt. +Any character that is not within the permitted URN character set must be +converted to a sequence of legal characters as described in RFC 2141. + +Note that the existence of this URN enables the NewsItem to be referenced +unambiguously by pointers from other XML elements or resources. Within such +pointers, if the RevisionId, its preceding : character and its following Update +qualifier are omitted, then the pointer designates the most recent revision at +the time it is resolved. +================================================================================ +--> +<!ELEMENT PublicIdentifier (#PCDATA)> +<!-- +================================== Relevance =================================== +An indication of the relevance of a NewsItem to a given target audience. The +value of the FormalName attribute is a formal name for the Relevance. Its +meaning and permitted values are determined by a controlled vocabulary as +described in the comment to the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT Relevance EMPTY> +<!ATTLIST Relevance + %localid; + %formalname; + %assignment; +> +<!-- +=================================== Replace ==================================== +An instruction to replace a designated element within a NewsItem. The element +that is to replace the designated element is the content of the Replace element. +The NewsItem within which the replacement takes place is the previous revision +of the current one, and the element to be replaced is the one whose Duid +value is equal to the value of the Replace element's DuidRef attribute. +================================================================================ +--> +<!ELEMENT Replace ANY> +<!ATTLIST Replace + %localid; + DuidRef CDATA #REQUIRED +> +<!-- +================================== Resource ==================================== +An indication where a given resource can be found, and whether it is to be used +as the default vocabulary for certain formal names within the current subtree +of a NewsML document. The Urn attribute provides a NewsML URN for the resource. +The Url attribute(s) provide(s) a location or locations where the resource may +be found. The DefaultVocabularyFor element contains an XPath pattern. The +identified resource acts as default vocabulary for any element within the +subtree whose root is the parent of the current Catalog, that matches this XPath +pattern. +================================================================================ +--> +<!ELEMENT Resource (Urn?, Url*, DefaultVocabularyFor*)> +<!ATTLIST Resource + %localid; +> +<!-- +=============================== RevisionHistory ================================ +A pointer to a file containing the revision history of the NewsItem. +================================================================================ +--> +<!ELEMENT RevisionHistory EMPTY> +<!ATTLIST RevisionHistory + %localid; + Href CDATA #REQUIRED +> +<!-- +================================== RevisionId ================================== +A positive integer indicating which Revision of a given NewsItem this is. Any +positive integer may be used, but it must always be the case that of two +instances of a NewsItem that have the same ProviderId, DateId and NewsItemId, +the one whose RevisionId has the larger value must be the more recent revision. +A RevisionId of 0 is not permitted. The PreviousRevision attribute must be +present, and its value must be equal to the content of the RevisionId element +of the NewsItem's previous revision, if there is one, and 0 if the NewsItem has +no previous revision. If the NewsItem contains an Update element or elements, +then the Update attribute must be set to U. If the NewsItem consists only of a +replacement set of NewsManagement data, then the Update attribute must be set +to A. If neither of these is the case, then the Update attribute must be set +to N. +================================================================================ +--> +<!ELEMENT RevisionId (#PCDATA)> +<!ATTLIST RevisionId + PreviousRevision CDATA #REQUIRED + Update CDATA #REQUIRED +> +<!-- +================================ RevisionStatus ================================ +Indicates the status that previous revisions now has as a result of the release +of the current revision. The optional Revision attribute is an integer, equal to +the RevisionId of the revision in question. If it is not present, then the +status applies to ALL previous revisions, without exception. +================================================================================ +--> +<!ELEMENT RevisionStatus (Status)> +<!ATTLIST RevisionStatus + %localid; + Revision CDATA #IMPLIED +> +<!-- +================================= RightsHolder ================================= +A string of text indicating who has the usage rights, optionally enriched with +pointers to further information about the relevant people, companies or +organisations. +================================================================================ +--> +<!ELEMENT RightsHolder (#PCDATA | Origin)*> +<!ATTLIST RightsHolder + %localid; + xml:lang CDATA #IMPLIED + %assignment; +> +<!-- +================================== RightsLine ================================== +A displayable version of rights information. Note that this is distinct from +copyright information. Copyright information is about who owns a news object; +rights information is about who is allowed to use it, in what way and under +what circumstances. +================================================================================ +--> +<!ELEMENT RightsLine (#PCDATA | Origin)*> +<!ATTLIST RightsLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +================================ RightsMetadata ================================ +Information about the rights pertaining to a NewsComponent. +================================================================================ +--> +<!ELEMENT RightsMetadata (Catalog?, Copyright*, UsageRights*, Property*)> +<!ATTLIST RightsMetadata + %localid; + %assignment; +> +<!-- +===================================== Role ===================================== +An identifier of the role played by a NewsComponent within a NewsComponent +that contains it. The outermost NewsComponent within a NewsItem need not +specify a Role attribute value. The value of the FormalName attribute is a +formal name for the Role. Its meaning and permitted values are determined by +a controlled vocabulary as described in the comment to the formalname ENTITY +declaration above. +================================================================================ +--> +<!ELEMENT Role EMPTY> +<!ATTLIST Role + %localid; + %formalname; +> +<!-- +=================================== SentFrom =================================== +An individual and/or company or organisation from whom the NewsML document is +being sent. +================================================================================ +--> +<!ELEMENT SentFrom (%party;)> +<!ATTLIST SentFrom + %localid; +> +<!-- +==================================== SentTo ==================================== +An individual and/or company or organisation to whom the NewsML document is +being sent. +================================================================================ +--> +<!ELEMENT SentTo (%party;)> +<!ATTLIST SentTo + %localid; +> +<!-- +================================== SeriesLine ================================== +A displayable version of information about a news object's place in a series. +================================================================================ +--> +<!ELEMENT SeriesLine (#PCDATA | Origin)*> +<!ATTLIST SeriesLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +================================== SizeInBytes ================================= +The exact size in bytes of a ContentItem's inline or referenced data object. +================================================================================ +--> +<!ELEMENT SizeInBytes (#PCDATA)> +<!ATTLIST SizeInBytes + %localid; +> +<!-- +=================================== SlugLine =================================== +A string of text, possibly embellished by hyperlinks and/or formatting, used to +display a NewsItem's slug line. (Note that the meaning of the term "slug line", +and the uses to which it is put, are a matter for individual providers to +define within their own workflow and business practice.) +================================================================================ +--> +<!ELEMENT SlugLine (#PCDATA | Origin)*> +<!ATTLIST SlugLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +==================================== Source ==================================== +An individual and/or company or organisation that provided source material for +a news object. The optional NewsItem attribute must be present in the case of +a syndicated NewsItem. It provides the URN of the NewsItem that is being +syndicated. Note that a sequence of Source elements can be used to indicate the +sequence of syndicators through which a NewsItem has passed. +================================================================================ +--> +<!ELEMENT Source (%party;)> +<!ATTLIST Source + %localid; + NewsItem CDATA #IMPLIED +> +<!-- +================================== StartDate =================================== +A natural-language statement of the date at which specified usage rights come +into effect. +================================================================================ +--> +<!ELEMENT StartDate (#PCDATA | Origin)*> +<!ATTLIST StartDate + %localid; + xml:lang CDATA #IMPLIED + %assignment; +> +<!-- +==================================== Status =================================== +An indication of the Status of a NewsItem. The value of the FormalName +attribute is a formal name for the Status. Its meaning and permitted values +are determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT Status EMPTY> +<!ATTLIST Status + %localid; + %formalname; +> +<!-- +=============================== StatusWillChange =============================== +Advance notification of a status change that will automatically occur at the +specified date and time. For example, an item with a Status of "embargoed" might +have a StatusWillChange element stating that the status will become "usable" at +a specified time. This is equivalent to announcing in advance the time at which +the embargo will end and the item will be released. +================================================================================ +--> +<!ELEMENT StatusWillChange (FutureStatus, DateAndTime)> +<!ATTLIST StatusWillChange + %localid; +> +<!-- +================================= SubHeadLine ================================== +A displayable subsidiary headline. +================================================================================ +--> +<!ELEMENT SubHeadLine (#PCDATA | Origin)*> +<!ATTLIST SubHeadLine + %localid; + xml:lang CDATA #IMPLIED +> +<!-- +=================================== Subject ==================================== +An indication of the Subject of a NewsItem. The value of the FormalName +attribute is a formal name for the Subject. Its meaning and permitted values +are determined by a controlled vocabulary as described in the comment to the +formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT Subject EMPTY> +<!ATTLIST Subject + %localid; + %formalname; + %assignment; +> +<!-- +================================= SubjectCode ================================== +A container for the IPTC Subject Codes that indicate the subject of a NewsItem, +as defined in the IPTC Subject Reference Scheme. It consists of one more +Subject, SubjectMatter and SubjectDetail elements, optionally amplified by one +or more SubjectQualifier elements. +================================================================================ +--> +<!ELEMENT SubjectCode ((Subject | SubjectMatter | SubjectDetail), SubjectQualifier*)*> +<!ATTLIST SubjectCode + %localid; + %assignment; +> +<!-- +================================ SubjectDetail ================================= +An indication of the SubjectDetail of a NewsItem. The value of the FormalName +attribute is a formal name for the SubjectDetail. Its meaning and permitted +values are determined by a controlled vocabulary as described in the comment +to the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT SubjectDetail EMPTY> +<!ATTLIST SubjectDetail + %localid; + %formalname; + %assignment; +> +<!-- +================================ SubjectMatter ================================= +An indication of the SubjectMatter of a NewsItem. The value of the FormalName +attribute is a formal name for the SubjectMatter. Its meaning and permitted +values are determined by a controlled vocabulary as described in the comment to +the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT SubjectMatter EMPTY> +<!ATTLIST SubjectMatter + %localid; + %formalname; + %assignment; +> +<!-- +=============================== SubjectQualifier =============================== +An indication of the SubjectQualifier of a NewsItem. The value of the FormalName +attribute is a formal name for the SubjectQualifier. Its meaning and permitted +values are determined by a controlled vocabulary as described in the comment to +the formalname ENTITY declaration above. +================================================================================ +--> +<!ELEMENT SubjectQualifier EMPTY> +<!ATTLIST SubjectQualifier + %localid; + %formalname; + %assignment; +> +<!-- +=============================== SystemIdentifier =============================== +A system identifier (in the sense defined by the XML 1,0 Specification) for a +NewsItem. +================================================================================ +--> +<!ELEMENT SystemIdentifier (#PCDATA)> +<!ATTLIST SystemIdentifier + %localid; +> +<!-- +============================= ThisRevisionCreated ============================== +The date and, optionally, time at which the current revision of a NewsItem was +created, expressed in ISO 8601 Basic Format, as described in the comment to the +DateAndTime attribute within the assignment ENTITY declaration above. +================================================================================ +--> +<!ELEMENT ThisRevisionCreated (#PCDATA)> +<!ATTLIST ThisRevisionCreated + %localid; +> +<!-- +==================================== Topic ===================================== +This element provides information about a thing (Topic) named by a formal +name or occurring in a NewsComponent. A Topic must have one or more TopicType +subelements, which state what type of Topic it is. The optional Details +attribute provides a pointer, in the form of a URL or URN, to additional +information about the Topic. +================================================================================ +--> +<!ELEMENT Topic (Comment*, Catalog?, TopicType+, FormalName*, Description*, Property*)> +<!ATTLIST Topic + %localid; + Details CDATA #IMPLIED +> +<!-- +=============================== TopicOccurrence ================================ +An indication that a particular topic occurs within the content of a +NewsComponent. The optional HowPresent attribute indicates the nature of that +topic's occurrence. The value of the Topic attribute must consist of a # +character followed by the value of the Duid attribute of a Topic in the current +document. +================================================================================ +--> +<!ELEMENT TopicOccurrence EMPTY> +<!ATTLIST TopicOccurrence + %localid; + %assignment; + Topic CDATA #IMPLIED +> +<!-- +================================== TopicSet ==================================== +A container for Topics. The value of the FormalName attribute is a formal name +for the TopicSet. Its meaning and permitted values are determined by a +controlled vocabulary as described in the comment to the formalname ENTITY +declaration above. +================================================================================ +--> +<!ELEMENT TopicSet (Comment*, Catalog?, TopicSetRef*, Topic*)> +<!ATTLIST TopicSet + %localid; + %formalname; +> +<!-- +================================= TopicSetRef ================================== +A pointer to a TopicSet that is to be merged with the current one. The TopicSet +attribute is a pointer to the relevant TopicSet. Its value can be an http URL, +or a NewsML URN as described in the comment to PublicIdentifier, or a fragment +identifier consisting of a # character followed by the Duid of a TopicSet in the +current document. The presence of a TopicSetRef child in a TopicSet has the +effect that all the Topics in the referenced TopicSet are included by reference +within the current TopicSet. When this merging results in there exising two +FormalName grandchildren of the same TopicSet that have the same content and +the same Scheme attribute value, then the Topics whose children are in fact the +same topic, and are deemed to be merged. The merging of Topics need not be +performed physically by the system, but the meaning of the data is +exactly the same as if the merging were actually performed. Merging two +Topcis consists of creating a single Topic that contains all the children of +both, and eliminating duplicates. +================================================================================ +--> +<!ELEMENT TopicSetRef (Comment*)> +<!ATTLIST TopicSetRef + %localid; + TopicSet CDATA #IMPLIED +> +<!-- +================================== TopicType =================================== +An indication of the type of a Topic. The value of the FormalName attribute is +a formal name for the TopicType. Its meaning and permitted values are determined +by a controlled vocabulary as described in the comment to the formalname ENTITY +declaration above. +================================================================================ +--> +<!ELEMENT TopicType EMPTY> +<!ATTLIST TopicType + %localid; + %formalname; +> +<!-- +================================== TopicUse ==================================== +An indication of where a particular Topic is used in a NewsML document. The +value of the Topic attribute must consist of a # character followed by the +value of the Duid of a Topic in the current document. The value of the Context +attribute is an XPath pattern indicating the context where the referenced topic +is used within the subtree to which the current Catalog applies.- -cut llm - - If the Context +attribute is not present, the TopicUse element simply states that this topic is +present somewhere in the subtree- -cut llm - -. +================================================================================ +--> +<!ELEMENT TopicUse EMPTY> +<!ATTLIST TopicUse + Topic CDATA #REQUIRED + Context CDATA #IMPLIED +> +<!-- +================================ TransmissionId ================================ +An identifier for the NewsML document transmission. This should be unique among +all distinct transmissions from the same publisher. If a transmission is +repeated (perhaps because the sender is not confident that it was successfully +received) then the same TransmissionId content may be used, but a Repeat +attribute should be provided to distinguish the second transmission from the +first. - -cut llm - -The form that the value of the Repeat attribute takes is determined by +the provider. Likewise, the format for the TransmissionId itself is for the +provider to decide. It could for example consist of a channel identifier +followed by a sequence number- -cut llm - -. +================================================================================ +--> +<!ELEMENT TransmissionId (#PCDATA)> +<!ATTLIST TransmissionId + %localid; + Repeat CDATA #IMPLIED +> +<!-- +==================================== Update ==================================== +A modification to an existing NewsItem. This can be an insertion, replacement +or deletion. - -cut llm - -Note that the Update element cannot be used to modify the +NewsManagement or Identification element, or any of their descendants. +Modifications to these parts of the NewsItem can be made by issuing the +NewsItem under the current revision number, with only the Identification and +NewsManagement elements present. These will replace the previous Identification +and NewsManagement elements in their totality- -cut llm - -. +================================================================================ +--> +<!ELEMENT Update (InsertBefore | InsertAfter | Replace | Delete)*> +<!ATTLIST Update + %localid; +> +<!-- +=================================== Urgency ==================================== +An indication of the urgency of a NewsItem. The value of the FormalName +attribute is a formal name for the Urgency. Its meaning and permitted values +are determined by a controlled vocabulary - -cut llm - - as described in the comment to the +formalname ENTITY declaration above- -cut llm - -. +================================================================================ +--> +<!ELEMENT Urgency EMPTY> +<!ATTLIST Urgency + %localid; + %formalname; +> +<!-- +===================================== Url ====================================== +A URL that can be used to locate a Resource. +================================================================================ +--> +<!ELEMENT Url (#PCDATA)> +<!ATTLIST Url + %localid; +> +<!-- +===================================== Urn ====================================== +A URN that provides a global identifier for a resource. This will typically (but +not necessarily) be a NewsML URN as described in the comment to PublicIdentifier. +================================================================================ +--> +<!ELEMENT Urn (#PCDATA)> +<!ATTLIST Urn + %localid; +> +<!-- +================================= UsageRights ================================== +Information about the usage rights pertaining to a NewsComponent. +================================================================================ +--> +<!ELEMENT UsageRights (UsageType?, Geography?, RightsHolder?, Limitations?, StartDate?, EndDate?)> +<!ATTLIST UsageRights + %localid; + %assignment; +> +<!-- +================================== UsageType =================================== +A natural-language indication of the type of usage to which the rights apply. +================================================================================ +--> +<!ELEMENT UsageType (#PCDATA | Origin)*> +<!ATTLIST UsageType + %localid; + xml:lang CDATA #IMPLIED + %assignment; +> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/cond_sect1.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/cond_sect1.dtd new file mode 100644 index 0000000000000000000000000000000000000000..e327022975e9a54e75aec65c6b2eca9286b8ce1d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/cond_sect1.dtd @@ -0,0 +1,20 @@ +<![ %include; [ + <![%include; [ + <![ %include;[ + <![%include;[ + <!ELEMENT doc (child)> + <!ELEMENT child (#PCDATA)> + ]]> + ]]> + ]]> +]]> +<![ %ignore; [ + <![%include; [ + <![ %include;[ + <![%ignore;[ + <!ELEMENT doc (x)> + <!ELEMENT child (y)> + ]]> + ]]> + ]]> +]]> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/cond_sect2.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/cond_sect2.dtd new file mode 100644 index 0000000000000000000000000000000000000000..29eb4bfe46a2393f6ad8c3b997e67b835c555eab --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/cond_sect2.dtd @@ -0,0 +1,16 @@ +<!ENTITY % ent "]]>"> +<![INCLUDE[ + <![INCLUDE[ + <![INCLUDE[ + <![INCLUDE[ + <![INCLUDE[ + <![INCLUDE[ + <![INCLUDE[ + <![INCLUDE[ + ]]> + ]]> + ]]> + ]]> + ]]> + %ent; +]]> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/destfoo.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/destfoo.ent new file mode 100644 index 0000000000000000000000000000000000000000..0791e1a7dcd1849c77fb006b3633a6efc323fddb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/destfoo.ent @@ -0,0 +1 @@ +<dest id='foo'/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/external.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/external.ent new file mode 100644 index 0000000000000000000000000000000000000000..8a4495d685a7a14e728d4dbd8bbffcf0d84a2a88 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/external.ent @@ -0,0 +1,3 @@ +<!ELEMENT root (#PCDATA)> +<!ENTITY % peInCdata SYSTEM "external2.ent"> +<!ENTITY peInCdata "<![CDATA[%peInCdata;]]>"> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/external2.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/external2.ent new file mode 100644 index 0000000000000000000000000000000000000000..348e1db250f4bba186237e95820f28d45d08e745 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/external2.ent @@ -0,0 +1 @@ +<!ATTLIST root attr1 NMTOKEN "attrvalue"> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/huge.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/huge.ent new file mode 100644 index 0000000000000000000000000000000000000000..2915fed3ea54188ff424ebb9511aa9acf919efdc --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/huge.ent @@ -0,0 +1,104 @@ +<!-- More than MINLEN (4000) bytes of comments --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> +<!-- ................................................................. --> + +<!ELEMENT doc (#PCDATA)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/nitf-2-5.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/nitf-2-5.dtd new file mode 100644 index 0000000000000000000000000000000000000000..253e620581611e069620e92a61bd441bb372dbc0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/nitf-2-5.dtd @@ -0,0 +1,1004 @@ + <!-- + News Industry Text Format + Document Type Definition - Version 2.5 + http://www.nitf.org/ + + Copyright (c) 2000. All Rights Reserved. + International Press Telecommunications Council + http://www.iptc.org + + Last changed: 9 August 2000 wb/kr/ak + + For the list of modifications from previous releases, see: + http://www.nitf.org/recent-modifications.html + + For the list of proposed modifications, see: + http://www.nitf.org/proposed-changes.html +--> + + + +<!ENTITY % enriched-text ' + #PCDATA + | chron + | copyrite + | event + | function + | location + | money + | num + | object.title + | org + | person + | postaddr + | virtloc + | a + | br + | em + | lang + | pronounce + | q + '> + +<!ENTITY % block.head "dateline?, copyrite?, abstract?"> +<!ENTITY % block.content "p | hl2 | table | media | ol | ul | dl | bq | fn | note | pre | hr"> +<!ENTITY % block.end "datasource?"> + + +<!ENTITY % global-attributes ' + id ID #IMPLIED + '> +<!ENTITY % common-attributes ' + %global-attributes; + class NMTOKENS #IMPLIED + style CDATA #IMPLIED + lang NMTOKEN #IMPLIED + dir (ltr | rtl) #IMPLIED + '> +<!ENTITY % cell.align ' + align (left | center | right | justify | char) #IMPLIED + char CDATA #IMPLIED + charoff CDATA #IMPLIED + '> +<!ENTITY % cell.valign ' + valign (top | middle | bottom | baseline) #IMPLIED + '> +<!ENTITY % url.link ' + md CDATA #IMPLIED + '> +<!ENTITY % boolean '(true | false)'> + + +<!ELEMENT nitf (head, body)> +<!ATTLIST nitf + %global-attributes; + uno CDATA #IMPLIED + version CDATA #FIXED "-//IPTC-NAA//DTD NITF-XML 2.1//EN" + change.date CDATA #FIXED "4 July 2000" + change.time CDATA #FIXED "1900" + baselang CDATA #IMPLIED + class NMTOKENS #IMPLIED + > + + +<!ELEMENT head (title?, meta*, tobject?, iim?, docdata?, pubdata*, revision-history*)> +<!ATTLIST head + %global-attributes; + > + +<!ELEMENT title (#PCDATA)> +<!ATTLIST title + %global-attributes; + type ( + main + | subtitle + | parttitle + | alternate + | abbrev + | other + ) #IMPLIED + > + +<!ELEMENT meta EMPTY> +<!ATTLIST meta + %global-attributes; + http-equiv NMTOKEN #IMPLIED + name NMTOKEN #IMPLIED + content CDATA #REQUIRED + > + +<!ELEMENT tobject (tobject.property*, tobject.subject*)> +<!ATTLIST tobject + %global-attributes; + tobject.type CDATA "news" + > + + <!ELEMENT tobject.property EMPTY> + <!ATTLIST tobject.property + %global-attributes; + tobject.property.type CDATA "current" + > + + <!ELEMENT tobject.subject EMPTY> + <!ATTLIST tobject.subject + %global-attributes; + tobject.subject.ipr CDATA "IPTC" + tobject.subject.refnum NMTOKEN #REQUIRED + tobject.subject.code CDATA #IMPLIED + tobject.subject.type CDATA #IMPLIED + tobject.subject.matter CDATA #IMPLIED + tobject.subject.detail CDATA #IMPLIED + > + +<!ELEMENT iim (ds*)> +<!ATTLIST iim + %global-attributes; + ver NMTOKEN #IMPLIED + > + + <!ELEMENT ds EMPTY> + <!ATTLIST ds + %global-attributes; + num NMTOKEN #REQUIRED + value CDATA #IMPLIED + > + +<!ELEMENT docdata ( + correction + | evloc + | doc-id + | del-list + | urgency + | fixture + | date.issue + | date.release + | date.expire + | doc-scope + | series + | ed-msg + | du-key + | doc.copyright + | doc.rights + | key-list + )*> +<!ATTLIST docdata + %global-attributes; + > + + <!ELEMENT correction EMPTY> + <!ATTLIST correction + %global-attributes; + info CDATA #IMPLIED + id-string CDATA #IMPLIED + reg-src CDATA #IMPLIED + > + + <!ELEMENT evloc EMPTY> + <!ATTLIST evloc + %global-attributes; + iso-cc CDATA #IMPLIED + state-prov CDATA #IMPLIED + county-dist CDATA #IMPLIED + city CDATA #IMPLIED + > + + <!ELEMENT doc-id EMPTY> + <!ATTLIST doc-id + %global-attributes; + regsrc CDATA #IMPLIED + id-string CDATA #IMPLIED + > + + <!ELEMENT del-list (from-src)*> + <!ATTLIST del-list + %global-attributes; + > + + <!ELEMENT from-src EMPTY> + <!ATTLIST from-src + %global-attributes; + src-name CDATA #IMPLIED + level-number CDATA #IMPLIED + > + + <!ELEMENT urgency EMPTY> + <!ATTLIST urgency + %global-attributes; + ed-urg NMTOKEN #IMPLIED + > + + <!ELEMENT fixture EMPTY> + <!ATTLIST fixture + %global-attributes; + fix-id CDATA #IMPLIED + > + + <!ELEMENT date.issue EMPTY> + <!ATTLIST date.issue + %global-attributes; + norm CDATA #IMPLIED + > + + <!ELEMENT date.release EMPTY> + <!ATTLIST date.release + %global-attributes; + norm CDATA #IMPLIED + > + + <!ELEMENT date.expire EMPTY> + <!ATTLIST date.expire + %global-attributes; + norm CDATA #IMPLIED + > + + <!ELEMENT doc-scope EMPTY> + <!ATTLIST doc-scope + %global-attributes; + scope CDATA #IMPLIED + > + + <!ELEMENT series EMPTY> + <!ATTLIST series + %global-attributes; + series.name CDATA #IMPLIED + series.part NMTOKEN "0" + series.totalpart NMTOKEN "0" + > + + <!ELEMENT ed-msg EMPTY> + <!ATTLIST ed-msg + %global-attributes; + msg-type CDATA #IMPLIED + info CDATA #IMPLIED + > + + <!ELEMENT du-key EMPTY> + <!ATTLIST du-key + %global-attributes; + generation NMTOKEN #IMPLIED + part NMTOKEN #IMPLIED + version NMTOKEN #IMPLIED + key CDATA #IMPLIED + > + + <!ELEMENT doc.copyright EMPTY> + <!ATTLIST doc.copyright + %global-attributes; + year NMTOKEN #IMPLIED + holder CDATA #IMPLIED + > + + <!ELEMENT doc.rights EMPTY> + <!ATTLIST doc.rights + %global-attributes; + owner CDATA #IMPLIED + startdate CDATA #IMPLIED + enddate CDATA #IMPLIED + agent CDATA #IMPLIED + geography CDATA #IMPLIED + location-code CDATA #IMPLIED + code-source CDATA #IMPLIED + type CDATA #IMPLIED + limitations CDATA #IMPLIED + > + + <!ELEMENT key-list (keyword)*> + <!ATTLIST key-list + %global-attributes; + > + + <!ELEMENT keyword EMPTY> + <!ATTLIST keyword + %global-attributes; + key CDATA #IMPLIED + > + +<!ELEMENT pubdata EMPTY> +<!ATTLIST pubdata + %global-attributes; + type ( + print + | audio + | video + | web + | appliance + | other + ) #IMPLIED + item-length CDATA #IMPLIED + unit-of-measure ( + word + | character + | byte + | inch + | pica + | cm + | hour + | minute + | second + | other + ) #IMPLIED + date.publication CDATA #IMPLIED + name CDATA #IMPLIED + issn CDATA #IMPLIED + volume CDATA #IMPLIED + number CDATA #IMPLIED + issue CDATA #IMPLIED + edition.name CDATA #IMPLIED + edition.area CDATA #IMPLIED + position.section CDATA #IMPLIED + position.sequence CDATA #IMPLIED + ex-ref CDATA #IMPLIED + > + +<!ELEMENT revision-history EMPTY> +<!ATTLIST revision-history + %global-attributes; + name CDATA #IMPLIED + function ( + writer-author + | editor + | producer + | archivist + | videographer + | graphic-artist + | photographer + | statistician + | other + ) #IMPLIED + norm CDATA #IMPLIED + comment CDATA #IMPLIED + > + + +<!ELEMENT body (body.head?, body.content*, body.end?)> +<!ATTLIST body + %common-attributes; + background CDATA #IMPLIED + > + + +<!ELEMENT body.head ( + hedline?, + note*, + rights?, + byline*, + distributor?, + dateline*, + abstract?, + series? + )> +<!ATTLIST body.head + %global-attributes; + > + +<!ELEMENT hedline (hl1, hl2*)> +<!ATTLIST hedline + %global-attributes; + > + + <!ELEMENT hl1 (%enriched-text;)*> + <!ATTLIST hl1 %common-attributes;> + + <!ELEMENT hl2 (%enriched-text;)*> + <!ATTLIST hl2 %common-attributes;> + +<!ELEMENT note (body.content)+> +<!ATTLIST note + %common-attributes; + noteclass ( + cpyrt + | end + | hd + | editorsnote + | trademk + | undef + ) #IMPLIED + type (std | pa | npa) "std" + src CDATA #IMPLIED + %url.link; + > + +<!ELEMENT rights ( + #PCDATA + | rights.owner + | rights.startdate + | rights.enddate + | rights.agent + | rights.geography + | rights.type + | rights.limitations + )*> +<!ATTLIST rights + %global-attributes; + > + + <!ELEMENT rights.owner (#PCDATA)> + <!ATTLIST rights.owner + %global-attributes; + contact CDATA #IMPLIED + > + + <!ELEMENT rights.startdate (#PCDATA)> + <!ATTLIST rights.startdate + %global-attributes; + norm CDATA #IMPLIED + > + + <!ELEMENT rights.enddate (#PCDATA)> + <!ATTLIST rights.enddate + %global-attributes; + norm CDATA #IMPLIED + > + + <!ELEMENT rights.agent (#PCDATA)> + <!ATTLIST rights.agent + %global-attributes; + contact CDATA #IMPLIED + > + + <!ELEMENT rights.geography (#PCDATA)> + <!ATTLIST rights.geography + %global-attributes; + location-code CDATA #IMPLIED + code-source CDATA #IMPLIED + > + + <!ELEMENT rights.type (#PCDATA)> + <!ATTLIST rights.type + %global-attributes; + > + + <!ELEMENT rights.limitations (#PCDATA)> + <!ATTLIST rights.limitations + %global-attributes; + > + +<!ELEMENT byline (#PCDATA | person | byttl | location | virtloc)*> +<!ATTLIST byline + %global-attributes; + > + + <!ELEMENT byttl (#PCDATA | org )*> + <!ATTLIST byttl + %global-attributes; + > + +<!ELEMENT distributor (#PCDATA | org)*> +<!ATTLIST distributor + %global-attributes; + > + +<!ELEMENT dateline (#PCDATA | location | story.date)*> +<!ATTLIST dateline %common-attributes;> + + <!ELEMENT story.date (#PCDATA)> + <!ATTLIST story.date + %global-attributes; + norm CDATA #IMPLIED + > + +<!ELEMENT abstract (%block.content;)+> +<!ATTLIST abstract + %global-attributes; + > + + +<!ELEMENT copyrite (#PCDATA | copyrite.year | copyrite.holder)*> +<!ATTLIST copyrite + %global-attributes; + > + + <!ELEMENT copyrite.year (#PCDATA)> + <!ATTLIST copyrite.year + %global-attributes; + > + + <!ELEMENT copyrite.holder (#PCDATA)> + <!ATTLIST copyrite.holder + %global-attributes; + > + + +<!ELEMENT body.content (block | %block.content;)*> +<!ATTLIST body.content + %global-attributes; + > + +<!ELEMENT block ((%block.head;)?, (%block.content;)*, (%block.end;)?)> +<!ATTLIST block %common-attributes;> + +<!ELEMENT p (%enriched-text;)*> +<!ATTLIST p + %common-attributes; + lede %boolean; #IMPLIED + summary %boolean; #IMPLIED + optional-text %boolean; #IMPLIED + > + + +<!ELEMENT table (caption?, (col* | colgroup*), thead?, tfoot?, tbody+)> +<!ATTLIST table + %common-attributes; + tabletype ENTITY #IMPLIED + align ( + left + | center + | right + ) #IMPLIED + width CDATA #IMPLIED + cols NMTOKEN #IMPLIED + border CDATA #IMPLIED + frame ( + void + | above + | below + | hsides + | lhs + | rhs + | vsides + | box + | border + ) #IMPLIED + rules ( + none + | basic + | rows + | cols + | all + ) #IMPLIED + cellspacing CDATA #IMPLIED + cellpadding CDATA #IMPLIED + table.fmt CDATA #IMPLIED + table.domain CDATA #IMPLIED + table.inst CDATA #IMPLIED + > + +<!ELEMENT media (media-metadata*, media-reference, media-object?, media-caption*, media-producer?)> +<!ATTLIST media + %common-attributes; + media-type ( + text + | audio + | image + | video + | data + | application + | other + ) #REQUIRED + > + + <!ELEMENT media-reference (#PCDATA)> + <!ATTLIST media-reference + %common-attributes; + data-location CDATA #REQUIRED + name CDATA #IMPLIED + source CDATA #IMPLIED + mime-type CDATA #REQUIRED + coding CDATA #IMPLIED + time CDATA #IMPLIED + time-unit-of-measure CDATA #IMPLIED + outcue CDATA #IMPLIED + source-credit CDATA #IMPLIED + copyright CDATA #IMPLIED + alternate-text CDATA #IMPLIED + height NMTOKEN #IMPLIED + width NMTOKEN #IMPLIED + units (pixels) "pixels" + imagemap CDATA #IMPLIED + noflow (noflow) #IMPLIED + > + + <!ELEMENT media-metadata EMPTY> + <!ATTLIST media-metadata + %common-attributes; + name CDATA #REQUIRED + value CDATA #IMPLIED + > + + <!ELEMENT media-object (#PCDATA)> + <!ATTLIST media-object + %common-attributes; + encoding CDATA #REQUIRED + > + + <!ELEMENT media-caption (%enriched-text; | %block.content;)*> + <!ATTLIST media-caption + %common-attributes; + > + + <!ELEMENT media-producer (%enriched-text;)*> + <!ATTLIST media-producer + %common-attributes; + > + +<!ELEMENT ol (li)+> +<!ATTLIST ol + %common-attributes; + continue (continue) #IMPLIED + seqnum NMTOKEN #IMPLIED + compact (compact) #IMPLIED + > + +<!ELEMENT ul (li)+> +<!ATTLIST ul + %common-attributes; + wrap (vert | horiz | none) "none" + plain (plain) #IMPLIED + dingbat ENTITY #IMPLIED + src CDATA #IMPLIED + %url.link; + compact (compact) #IMPLIED + > + + <!ELEMENT li (%enriched-text; | %block.content;)*> + <!ATTLIST li + %common-attributes; + dingbat ENTITY #IMPLIED + src CDATA #IMPLIED + %url.link; + skip NMTOKEN "0" + > + +<!ELEMENT dl (dt | dd)+> +<!ATTLIST dl %common-attributes;> + + <!ELEMENT dt (%enriched-text;)*> + <!ATTLIST dt %common-attributes;> + + <!ELEMENT dd (block)*> + <!ATTLIST dd %common-attributes;> + +<!ELEMENT bq (block+, credit?)*> +<!ATTLIST bq + %common-attributes; + nowrap (nowrap) #IMPLIED + quote-source CDATA #IMPLIED + > + + <!ELEMENT credit (%enriched-text;)*> + <!ATTLIST credit %common-attributes;> + +<!ELEMENT fn (body.content)+> +<!ATTLIST fn %common-attributes;> + + +<!ELEMENT pre (#PCDATA)> +<!ATTLIST pre + %global-attributes; + > + +<!ELEMENT hr EMPTY> +<!ATTLIST hr + %global-attributes; + src CDATA #IMPLIED + > + + +<!ELEMENT datasource (#PCDATA)> +<!ATTLIST datasource + %global-attributes; + > + + + +<!ELEMENT caption (%enriched-text; | %block.content;)*> +<!ATTLIST caption + %common-attributes; + align ( + top + | bottom + | left + | right + ) #IMPLIED + > + +<!ELEMENT col EMPTY> +<!ATTLIST col + %common-attributes; + span NMTOKEN "1" + width CDATA #IMPLIED + %cell.align; + %cell.valign; + > + +<!ELEMENT colgroup (col+)> +<!ATTLIST colgroup + %common-attributes; + %cell.align; + %cell.valign; + > + +<!ELEMENT thead (tr+)> +<!ATTLIST thead + %common-attributes; + %cell.align; + %cell.valign; + > + +<!ELEMENT tbody (tr+)> +<!ATTLIST tbody + %common-attributes; + %cell.align; + %cell.valign; + > + +<!ELEMENT tfoot (tr+)> +<!ATTLIST tfoot + %common-attributes; + %cell.align; + %cell.valign; + > + +<!ELEMENT tr (th | td)+> +<!ATTLIST tr + %common-attributes; + %cell.align; + %cell.valign; + > + +<!ELEMENT th (%enriched-text; | %block.content;)*> +<!ATTLIST th + %common-attributes; + axis CDATA #IMPLIED + axes CDATA #IMPLIED + nowrap (nowrap) #IMPLIED + rowspan NMTOKEN "1" + colspan NMTOKEN "1" + %cell.align; + %cell.valign; + > + +<!ELEMENT td (%enriched-text; | %block.content;)*> +<!ATTLIST td + %common-attributes; + axis CDATA #IMPLIED + axes CDATA #IMPLIED + nowrap (nowrap) #IMPLIED + rowspan NMTOKEN "1" + colspan NMTOKEN "1" + %cell.align; + %cell.valign; + > + + +<!ELEMENT chron (#PCDATA)> +<!ATTLIST chron + %global-attributes; + norm CDATA #IMPLIED + > + + +<!ELEMENT event (#PCDATA | alt-code)*> +<!ATTLIST event + %global-attributes; + start-date CDATA #IMPLIED + end-date CDATA #IMPLIED + idsrc CDATA #REQUIRED + value CDATA #REQUIRED + > + +<!ELEMENT function (#PCDATA | alt-code)*> +<!ATTLIST function + %global-attributes; + idsrc CDATA #REQUIRED + value CDATA #REQUIRED + > + +<!ELEMENT location (#PCDATA | sublocation | city | state | region | country | alt-code)*> +<!ATTLIST location + %global-attributes; + location-code CDATA #IMPLIED + code-source CDATA #IMPLIED + > + + <!ELEMENT sublocation (#PCDATA | alt-code)*> + <!ATTLIST sublocation + %global-attributes; + location-code CDATA #IMPLIED + code-source CDATA #IMPLIED + > + + <!ELEMENT city (#PCDATA | alt-code)*> + <!ATTLIST city + %global-attributes; + city-code CDATA #IMPLIED + code-source CDATA #IMPLIED + > + + <!ELEMENT state (#PCDATA | alt-code)*> + <!ATTLIST state + %global-attributes; + state-code CDATA #IMPLIED + code-source CDATA #IMPLIED + > + + <!ELEMENT region (#PCDATA | alt-code)*> + <!ATTLIST region + %global-attributes; + region-code CDATA #IMPLIED + code-source CDATA #IMPLIED + > + + <!ELEMENT country (#PCDATA | alt-code)*> + <!ATTLIST country + %global-attributes; + iso-cc CDATA #IMPLIED + > + +<!ELEMENT money (#PCDATA)> +<!ATTLIST money + %global-attributes; + unit CDATA #IMPLIED + date CDATA #IMPLIED + > + +<!ELEMENT num (#PCDATA | frac | sub | sup)*> +<!ATTLIST num + %global-attributes; + units CDATA #IMPLIED + decimal-ch CDATA #IMPLIED + thousands-ch CDATA #IMPLIED + > + + <!ELEMENT frac (numer, frac-sep?, denom)> + <!ATTLIST frac + %global-attributes; + > + + <!ELEMENT numer (#PCDATA)> + <!ATTLIST numer + %global-attributes; + > + + <!ELEMENT frac-sep (#PCDATA)> + <!ATTLIST frac-sep + %global-attributes; + > + + <!ELEMENT denom (#PCDATA)> + <!ATTLIST denom + %global-attributes; + > + + <!ELEMENT sub (#PCDATA)> + <!ATTLIST sub %common-attributes;> + + <!ELEMENT sup (#PCDATA)> + <!ATTLIST sup %common-attributes;> + +<!ELEMENT object.title (#PCDATA | alt-code)*> +<!ATTLIST object.title + %common-attributes; + idsrc CDATA #REQUIRED + value CDATA #REQUIRED + > + +<!ELEMENT org (#PCDATA | alt-code)*> +<!ATTLIST org + %global-attributes; + idsrc CDATA #REQUIRED + value CDATA #REQUIRED + > + + <!ELEMENT alt-code EMPTY> + <!ATTLIST alt-code + %global-attributes; + idsrc CDATA #REQUIRED + value CDATA #REQUIRED + > + +<!ELEMENT person (#PCDATA | name.given | name.family | function | alt-code)*> +<!ATTLIST person + %global-attributes; + idsrc CDATA #REQUIRED + value CDATA #REQUIRED + > + + <!ELEMENT name.given (#PCDATA)> + <!ATTLIST name.given + %global-attributes; + > + + <!ELEMENT name.family (#PCDATA)> + <!ATTLIST name.family + %global-attributes; + > + +<!ELEMENT postaddr (addressee, delivery.point?, (postcode | delivery.office | region | country)*)> +<!ATTLIST postaddr + %global-attributes; + > + +<!ELEMENT virtloc (#PCDATA | alt-code)*> +<!ATTLIST virtloc + %global-attributes; + idsrc CDATA #REQUIRED + value CDATA #REQUIRED + > + +<!ELEMENT a (%enriched-text;)*> +<!ATTLIST a + %common-attributes; + href CDATA #IMPLIED + name CDATA #IMPLIED + %url.link; + rel NMTOKEN #IMPLIED + rev NMTOKEN #IMPLIED + title CDATA #IMPLIED + methods NMTOKENS #IMPLIED + > + +<!ELEMENT br EMPTY> +<!ATTLIST br + %global-attributes; + > + +<!ELEMENT em (%enriched-text;)*> +<!ATTLIST em %common-attributes;> + +<!ELEMENT lang (%enriched-text;)*> +<!ATTLIST lang %common-attributes;> + +<!ELEMENT pronounce (%enriched-text;)*> +<!ATTLIST pronounce + %global-attributes; + guide CDATA #IMPLIED + phonetic CDATA #IMPLIED + > + +<!ELEMENT q (%enriched-text;)*> +<!ATTLIST q + %common-attributes; + quote-source CDATA #IMPLIED + > + + +<!ELEMENT addressee (person, function?, care.of?)> +<!ATTLIST addressee + %global-attributes; + > + + <!ELEMENT care.of (#PCDATA)> + <!ATTLIST care.of + %global-attributes; + > + +<!ELEMENT delivery.point (#PCDATA | br)*> +<!ATTLIST delivery.point + %global-attributes; + point-code CDATA #IMPLIED + code-source CDATA #IMPLIED + > + +<!ELEMENT postcode (#PCDATA)> +<!ATTLIST postcode + %global-attributes; + code-source CDATA #IMPLIED + > + +<!ELEMENT delivery.office (#PCDATA | br)*> +<!ATTLIST delivery.office + %global-attributes; + office-code CDATA #IMPLIED + code-source CDATA #IMPLIED + > + + + + +<!ELEMENT body.end (tagline?, bibliography?)> +<!ATTLIST body.end + %global-attributes; + > + +<!ELEMENT tagline (%enriched-text;)*> +<!ATTLIST tagline + %global-attributes; + type (std | pa | npa) "std" + > + +<!ELEMENT bibliography (#PCDATA)> +<!ATTLIST bibliography + %global-attributes; + > + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/notes.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/notes.dtd new file mode 100644 index 0000000000000000000000000000000000000000..b40a8acef8015ea137edab8570ac936c9a716085 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/notes.dtd @@ -0,0 +1,19 @@ +<!-- +This gets parsed without complaint: +<!ELEMENT pfx:notes ( #PCDATA | note | pfx:note )* > +--> + +<!-- +This triggers a diagnostic: +notes.dtd:13: validity error : Definition of notes has duplicate +references of note +<!ELEMENT pfx:notes ( #PCDATA | pfx:note | note )* > +--> + +<!ELEMENT pfx:notes ( #PCDATA | pfx:note | note )* > + +<!ATTLIST notes + xmlns:pfx CDATA #FIXED 'http://namespace/uri/here' +> +<!ELEMENT note EMPTY > +<!ELEMENT pfx:note EMPTY > diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/objednavka.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/objednavka.dtd new file mode 100644 index 0000000000000000000000000000000000000000..ac63df1ec28a0b3f6037c04d3fdbb257e2847954 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/objednavka.dtd @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!ELEMENT objednavka (AdDoruÄeni, AdÚÄtovací, ZpůsobDopravy, ZpůsobPlatby, DatumPÅ™ijetí, DatumDoruÄení, ObsahObjednávky, Komentář?)> +<!ELEMENT AdDoruÄeni (Jméno, Ulice, MÄ›sto, PSÄŒ)> +<!ELEMENT AdÚÄtovací (Jméno, Ulice, MÄ›sto, PSÄŒ)> +<!ELEMENT Jméno (#PCDATA)> +<!ELEMENT Ulice (#PCDATA)> +<!ELEMENT MÄ›sto (#PCDATA)> +<!ELEMENT PSÄŒ (#PCDATA)> +<!ELEMENT ZpůsobDopravy (#PCDATA) > +<!ELEMENT ZpůsobPlatby (#PCDATA) > +<!ELEMENT DatumPÅ™ijetí (#PCDATA)> +<!ELEMENT DatumDoruÄení (#PCDATA)> +<!ELEMENT ObsahObjednávky (Zboží+) > +<!ELEMENT Zboží (Kód, Název, PoÄet, Cena, Popis?) > +<!ELEMENT Kód (#PCDATA)> +<!ELEMENT Název (#PCDATA) > +<!ELEMENT PoÄet (#PCDATA)> +<!ELEMENT Cena (#PCDATA) > +<!ELEMENT Popis (#PCDATA) > +<!ELEMENT Komentář (Řádka*) > +<!ELEMENT Řádka (#PCDATA)> +<!ATTLIST PoÄet + jednotka (ks | kg | m2 | m) #IMPLIED> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-in-text-decl.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-in-text-decl.dtd new file mode 100644 index 0000000000000000000000000000000000000000..9f39cf481a9e3628ebd6a7fe742b0e0aac092053 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-in-text-decl.dtd @@ -0,0 +1 @@ +<?xml version="1.0" %ent;?> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-latin1.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-latin1.ent new file mode 100644 index 0000000000000000000000000000000000000000..cfee482f43ad5ff432c375b7de35952ea5fbc3dd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-latin1.ent @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!ENTITY latin1 "äöü"> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-test.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-test.dtd new file mode 100644 index 0000000000000000000000000000000000000000..3715755e79ad8016797af6179b666c4dde0cb551 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-test.dtd @@ -0,0 +1,3 @@ +<!ELEMENT doc (#PCDATA)> +<!ENTITY % decl 'ent "value"'> +<!ENTITY %decl;> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-val-latin1.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-val-latin1.dtd new file mode 100644 index 0000000000000000000000000000000000000000..c7bcb722eee2912f809e862c3022f2add69d4264 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-val-latin1.dtd @@ -0,0 +1,3 @@ +<!ELEMENT doc (#PCDATA)> +<!ENTITY % pe SYSTEM "pe-val-latin1.ent"> +<!ENTITY latin1 "%pe;"> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-val-latin1.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-val-latin1.ent new file mode 100644 index 0000000000000000000000000000000000000000..171e58f240947a784952f52bbcb307c210f88560 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/pe-val-latin1.ent @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +äöü diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/spec.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/spec.dtd new file mode 100644 index 0000000000000000000000000000000000000000..0fdfb863347a12af5fd4af7c6d6cde708168d8cb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/spec.dtd @@ -0,0 +1,972 @@ +<!-- ............................................................... --> +<!-- XML specification DTD ......................................... --> +<!-- ............................................................... --> + +<!-- +TYPICAL INVOCATION: +# <!DOCTYPE spec PUBLIC +# "-//W3C//DTD Specification::19980323//EN" +# "http://www.w3.org/XML/Group/DTD/xmlspec.dtd"> + +PURPOSE: + This DTD was developed for use with the XML family of W3C + specifications. It is an XML-compliant DTD based in part on + the TEI Lite and Sweb DTDs. + +DEPENDENCIES: + None. + +CHANGE HISTORY: + The list of changes is at the end of the DTD. + + For all details, see the design report at: + + <http://www.w3.org/XML/Group/DTD/xmlspec-report.htm> + + The "typical invocation" FPI always gets updated to reflect the + date of the most recent changes. + + Search this file for "#" in the first column to see change history + comments. + +MAINTAINER: + Eve Maler + ArborText Inc. + elm@arbortext.com + voice: +1 781 270 5750 + fax: +1 781 273 3760 +--> + +<!-- ............................................................... --> +<!-- Entities for characters and symbols ........................... --> + +<!-- +#1998-03-10: maler: Added &ldquo; and &rdquo;. +# Used 8879:1986-compatible decimal character +# references. +# Merged charent.mod file back into main file. +--> + +<!ENTITY lt "&#38;#60;"> +<!ENTITY gt "&#62;"> +<!ENTITY amp "&#38;#38;"> +<!ENTITY apos "&#39;"> +<!ENTITY quot "&#34;"> +<!ENTITY mdash "--"> +<!ENTITY nbsp "&#160;"> +<!ENTITY ldquo "#x201C;"> +<!ENTITY rdquo "#x201D;"> + +<!-- ............................................................... --> +<!-- Entities for classes of standalone elements ................... --> + +<!-- +#1997-10-16: maler: Added table to %illus.class;. +#1997-11-28: maler: Added htable to %illus.class;. +#1997-12-29: maler: IGNOREd table. +#1998-03-10: maler: Removed SGML Open-specific %illus.class;. +# Added "local" entities for customization. +--> + +<!ENTITY % local.p.class ""> +<!ENTITY % p.class "p + %local.p.class;"> + +<!ENTITY % local.statusp.class ""> +<!ENTITY % statusp.class "statusp + %local.statusp.class;"> + +<!ENTITY % local.list.class ""> +<!ENTITY % list.class "ulist|olist|slist|glist + %local.list.class;"> + +<!ENTITY % local.speclist.class ""> +<!ENTITY % speclist.class "orglist|blist + %local.speclist.class;"> + +<!ENTITY % local.note.class ""> +<!ENTITY % note.class "note|wfcnote|vcnote + %local.note.class;"> + +<!ENTITY % local.illus.class ""> +<!ENTITY % illus.class "eg|graphic|scrap|htable + %local.illus.class;"> + +<!-- ............................................................... --> +<!-- Entities for classes of phrase-level elements ................. --> + +<!-- +#1997-12-29: maler: Added xspecref to %ref.class;. +#1998-03-10: maler: Added %ednote.class;. +# Added "local" entities for customization. +--> + +<!ENTITY % local.annot.class ""> +<!ENTITY % annot.class "footnote + %local.annot.class;"> + +<!ENTITY % local.termdef.class ""> +<!ENTITY % termdef.class "termdef|term + %local.termdef.class;"> + +<!ENTITY % local.emph.class ""> +<!ENTITY % emph.class "emph|quote + %local.emph.class;"> + +<!ENTITY % local.ref.class ""> +<!ENTITY % ref.class "bibref|specref|termref|titleref + |xspecref|xtermref + %local.ref.class;"> + +<!ENTITY % local.loc.class ""> +<!ENTITY % loc.class "loc + %local.loc.class;"> + +<!ENTITY % local.tech.class ""> +<!ENTITY % tech.class "kw|nt|xnt|code + %local.tech.class;"> + +<!ENTITY % local.ednote.class ""> +<!ENTITY % ednote.class "ednote + %local.ednote.class;"> + +<!-- ............................................................... --> +<!-- Entities for mixtures of standalone elements .................. --> + +<!-- +#1997-09-30: maler: Created %p.mix; to eliminate p from self. +#1997-09-30: maler: Added %speclist.class; to %obj.mix; and %p.mix;. +#1997-09-30: maler: Added %note.class; to %obj.mix; and %p.mix;. +#1997-10-16: maler: Created %entry.mix;. Note that some elements +# left out here are still allowed in termdef, +# which entry can contain through %p.pcd.mix;. +#1997-11-28: maler: Added %p.class; to %statusobj.mix;. +#1998-03-10: maler: Added %ednote.class; to all mixtures, except +# %p.mix; and %statusobj.mix;, because paragraphs +# and status paragraphs will contain ednote +# through %p.pcd.mix;. +#1998-03-123: maler: Added %termdef.mix; (broken out from +# %termdef.pcd.mix;). +--> + +<!ENTITY % div.mix + "%p.class;|%list.class;|%speclist.class;|%note.class; + |%illus.class;|%ednote.class;"> +<!ENTITY % obj.mix + "%p.class;|%list.class;|%speclist.class;|%note.class; + |%illus.class;|%ednote.class;"> +<!ENTITY % p.mix + "%list.class;|%speclist.class;|%note.class;|%illus.class;"> +<!ENTITY % entry.mix + "%list.class;|note|eg|graphic|%ednote.class;"> +<!ENTITY % statusobj.mix + "%p.class;|%statusp.class;|%list.class;"> +<!ENTITY % hdr.mix + "%p.class;|%list.class;|%ednote.class;"> +<!ENTITY % termdef.mix + "%note.class;|%illus.class;"> + +<!-- ............................................................... --> +<!-- Entities for mixtures of #PCDATA and phrase-level elements .... --> + +<!-- Note that %termdef.pcd.mix contains %note.class; + and %illus.class;, considered standalone elements. --> + +<!-- +#1997-09-30: maler: Added scrap and %note.class; to %termdef.pcd.mix;. +#1997-11-28: maler: Added %loc.class; to %p.pcd.mix;. +#1998-03-10: maler: Added %ednote.class; to all mixtures. +#1998-03-23: maler: Moved some %termdef.pcd.mix; stuff out to +# %termdef.mix;. +--> + +<!ENTITY % p.pcd.mix + "#PCDATA|%annot.class;|%termdef.class;|%emph.class; + |%ref.class;|%tech.class;|%loc.class;|%ednote.class;"> +<!ENTITY % statusp.pcd.mix + "#PCDATA|%annot.class;|%termdef.class;|%emph.class; + |%ref.class;|%tech.class;|%loc.class;|%ednote.class;"> +<!ENTITY % head.pcd.mix + "#PCDATA|%annot.class;|%emph.class;|%tech.class;|%ednote.class;"> +<!ENTITY % label.pcd.mix + "#PCDATA|%annot.class;|%termdef.class;|%emph.class;|%tech.class; + |%ednote.class;"> +<!ENTITY % eg.pcd.mix + "#PCDATA|%annot.class;|%emph.class;|%ednote.class;"> +<!ENTITY % termdef.pcd.mix + "#PCDATA|term|%emph.class;|%ref.class;|%tech.class; + |%ednote.class;"> +<!ENTITY % bibl.pcd.mix + "#PCDATA|%emph.class;|%ref.class;|%loc.class;|%ednote.class;"> +<!ENTITY % tech.pcd.mix + "#PCDATA|%ednote.class;"> +<!ENTITY % loc.pcd.mix + "#PCDATA|%loc.class;|%ednote.class;"> + +<!-- ............................................................... --> +<!-- Entities for customizable content models ...................... --> + +<!-- +#1998-03-10: maler: Added customization entities. +--> + +<!ENTITY % spec.mdl + "header, front?, body, back?"> + +<!ENTITY % header.mdl + "title, subtitle?, version, w3c-designation, w3c-doctype, + pubdate, notice*, publoc, latestloc?, prevlocs?, authlist, + abstract, status, pubstmt?, sourcedesc?, langusage, + revisiondesc"> + +<!ENTITY % pubdate.mdl + "day?, month, year"> + +<!-- ............................................................... --> +<!-- Entities for common attributes ................................ --> + +<!-- key attribute: + Optionally provides a sorting or indexing key, for cases when + the element content is inappropriate for this purpose. --> +<!ENTITY % key.att + 'key CDATA #IMPLIED'> + +<!-- def attribute: + Points to the element where the relevant definition can be + found, using the IDREF mechanism. %def.att; is for optional + def attributes, and %def-req.att; is for required def + attributes. --> +<!ENTITY % def.att + 'def IDREF #IMPLIED'> +<!ENTITY % def-req.att + 'def IDREF #REQUIRED'> + +<!-- ref attribute: + Points to the element where more information can be found, + using the IDREF mechanism. %ref.att; is for optional + ref attributes, and %ref-req.att; is for required ref + attributes. --> +<!ENTITY % ref.att + 'ref IDREF #IMPLIED'> +<!ENTITY % ref-req.att + 'ref IDREF #REQUIRED'> + +<!-- +#1998-03-23: maler: Added show and actuate attributes to href. +# Added semi-common xml:space attribute. +--> + +<!-- HREF and source attributes: + Points to the element where more information or source data + can be found, using the URL (XLL simple link) mechanism. + For some purposes, is associated with additional XLL + attributes. %href.att; is for optional HREF attributes, + and %href-req.att; is for required HREF attributes. + %source-req.att; is for the source attribute, which + is always required. --> +<!ENTITY % href.att + 'xml-link CDATA #FIXED "simple" + href CDATA #IMPLIED + show CDATA #FIXED "embed" + actuate CDATA #FIXED "auto"'> + +<!ENTITY % href-req.att + 'xml-link CDATA #FIXED "simple" + href CDATA #REQUIRED + show CDATA #FIXED "embed" + actuate CDATA #FIXED "auto"'> + +<!ENTITY % source-req.att + 'xml-link CDATA #FIXED "simple" + xml:attributes NMTOKENS #FIXED "href source" + source CDATA #REQUIRED + show CDATA #FIXED "embed" + actuate CDATA #FIXED "auto"'> + +<!-- xml:space attribute: + Indicates that the element contains white space + that the formatter or other application should retain, + as appropriate to its function. --> +<!ENTITY % xmlspace.att + 'xml:space (default + |preserve) #FIXED "preserve"'> + +<!-- Common attributes: + Every element has an ID attribute (sometimes required, + but usually optional) for links, and a Role attribute + for extending the useful life of the DTD by allowing + authors to make subclasses for any element. %common.att; + is for common attributes where the ID is optional, and + %common-idreq.att; is for common attributes where the + ID is required. --> +<!ENTITY % common.att + 'id ID #IMPLIED + role NMTOKEN #IMPLIED'> +<!ENTITY % common-idreq.att + 'id ID #REQUIRED + role NMTOKEN #IMPLIED'> + +<!-- ............................................................... --> +<!-- Common elements ............................................... --> + +<!-- head: Title on divisions, productions, and the like --> +<!ELEMENT head (%head.pcd.mix;)*> +<!ATTLIST head %common.att;> + +<!-- ............................................................... --> +<!-- Major specification structure ................................. --> + +<!-- +#1998-03-10: maler: Made spec content model easily customizable. +--> + +<!ELEMENT spec (%spec.mdl;)> +<!ATTLIST spec %common.att;> + +<!ELEMENT front (div1+)> +<!ATTLIST front %common.att;> + +<!ELEMENT body (div1+)> +<!ATTLIST body %common.att;> + +<!-- +#1997-09-30: maler: Added inform-div1 to back content. +--> + +<!ELEMENT back ((div1+, inform-div1*) | inform-div1+)> +<!ATTLIST back %common.att;> + +<!ELEMENT div1 (head, (%div.mix;)*, div2*)> +<!ATTLIST div1 %common.att;> + +<!-- +#1997-09-30: maler: Added inform-div1 declarations. +--> + +<!-- inform-div1: Non-normative division in back matter --> +<!ELEMENT inform-div1 (head, (%div.mix;)*, div2*)> +<!ATTLIST inform-div1 %common.att;> + +<!ELEMENT div2 (head, (%div.mix;)*, div3*)> +<!ATTLIST div2 %common.att;> + +<!ELEMENT div3 (head, (%div.mix;)*, div4*)> +<!ATTLIST div3 %common.att;> + +<!ELEMENT div4 (head, (%div.mix;)*)> +<!ATTLIST div4 %common.att;> + +<!-- Specification header .......... --> + +<!-- +#1998-03-10: maler: Made header content model easily customizable. +--> + +<!ELEMENT header (%header.mdl;)> +<!ATTLIST header %common.att;> + +<!-- Example of title: "Extensible Cheese Language (XCL)" --> +<!ELEMENT title (#PCDATA)> +<!ATTLIST title %common.att;> + +<!-- Example of subtitle: "A Cheesy Specification" --> +<!ELEMENT subtitle (#PCDATA)> +<!ATTLIST subtitle %common.att;> + +<!-- Example of version: "Version 666.0" --> +<!ELEMENT version (#PCDATA)> +<!ATTLIST version %common.att;> + +<!-- Example of w3c-designation: "WD-xcl-19991231" --> +<!ELEMENT w3c-designation (#PCDATA)> +<!ATTLIST w3c-designation %common.att;> + +<!-- Example of w3c-doctype: "World Wide Web Consortium Working + Draft" --> +<!ELEMENT w3c-doctype (#PCDATA)> +<!ATTLIST w3c-doctype %common.att;> + +<!-- +#1998-03-10: maler: Made pubdate content model easily customizable. +--> + +<!ELEMENT pubdate (%pubdate.mdl;)> +<!ATTLIST pubdate %common.att;> + +<!ELEMENT day (#PCDATA)> +<!ATTLIST day %common.att;> + +<!ELEMENT month (#PCDATA)> +<!ATTLIST month %common.att;> + +<!ELEMENT year (#PCDATA)> +<!ATTLIST year %common.att;> + +<!-- Example of notice: "This draft is for public comment..." --> +<!ELEMENT notice (%hdr.mix;)+> +<!ATTLIST notice %common.att;> + +<!ELEMENT publoc (loc+)> +<!ATTLIST publoc %common.att;> + +<!ELEMENT prevlocs (loc+)> +<!ATTLIST prevlocs %common.att;> + +<!ELEMENT latestloc (loc+)> +<!ATTLIST latestloc %common.att;> + +<!-- loc (defined in "Phrase-level elements" below) --> + +<!ELEMENT authlist (author+)> +<!ATTLIST authlist %common.att;> + +<!-- +#1997-09-30: maler: Made affiliation optional. +#1998-03-10: maler: Made email optional. +--> + +<!ELEMENT author (name, affiliation?, email?)> +<!ATTLIST author %common.att;> + +<!ELEMENT name (#PCDATA)> +<!ATTLIST name + %common.att; + %key.att;> + +<!ELEMENT affiliation (#PCDATA)> +<!ATTLIST affiliation %common.att;> + +<!ELEMENT email (#PCDATA)> +<!-- HREF attribute: + email functions as a hypertext reference through this + required attribute. Typically the reference would use + the mailto: scheme. --> +<!ATTLIST email + %common.att; + %href-req.att;> + +<!-- The status element now contains both statusp and p, and + the latter now allows loc. Use p; statusp will be removed + eventually. --> +<!ELEMENT status (%statusobj.mix;)+> +<!ATTLIST status %common.att;> + +<!ELEMENT abstract (%hdr.mix;)*> +<!ATTLIST abstract %common.att;> + +<!ELEMENT pubstmt (%hdr.mix;)+> +<!ATTLIST pubstmt %common.att;> + +<!ELEMENT sourcedesc (%hdr.mix;)+> +<!ATTLIST sourcedesc %common.att;> + +<!ELEMENT langusage (language+)> +<!ATTLIST langusage %common.att;> + +<!ELEMENT language (#PCDATA)> +<!ATTLIST language %common.att;> + +<!ELEMENT revisiondesc (%hdr.mix;)+> +<!ATTLIST revisiondesc %common.att;> + +<!-- ............................................................... --> +<!-- Standalone elements ........................................... --> + +<!-- Paragraphs .................... --> + +<!-- +#1997-09-30: maler: Changed from %obj.mix; to %p.mix;. +#1997-12-29: maler: Changed order of %p.mix; and %p.pcd.mix; references. +#1997-12-29: maler: Changed order of %statusobj.mix; and %statusp.pcd.mix; +# references. +--> + +<!ELEMENT p (%p.pcd.mix;|%p.mix;)*> +<!ATTLIST p %common.att;> + +<!-- statusp: Special paragraph that allows loc inside it (note that + p now also allows loc) --> +<!ELEMENT statusp (%statusp.pcd.mix;|%statusobj.mix;)*> +<!ATTLIST statusp %common.att;> + +<!-- Lists ......................... --> + +<!ELEMENT ulist (item+)> +<!-- spacing attribute: + Use "normal" to get normal vertical spacing for items; + use "compact" to get less spacing. The default is dependent + on the stylesheet. --> +<!ATTLIST ulist + %common.att; + spacing (normal|compact) #IMPLIED> + +<!ELEMENT olist (item+)> +<!-- spacing attribute: + Use "normal" to get normal vertical spacing for items; + use "compact" to get less spacing. The default is dependent + on the stylesheet. --> +<!ATTLIST olist + %common.att; + spacing (normal|compact) #IMPLIED> + +<!ELEMENT item (%obj.mix;)+> +<!ATTLIST item %common.att;> + +<!ELEMENT slist (sitem+)> +<!ATTLIST slist %common.att;> + +<!ELEMENT sitem (%p.pcd.mix;)*> +<!ATTLIST sitem %common.att;> + +<!ELEMENT glist (gitem+)> +<!ATTLIST glist %common.att;> + +<!ELEMENT gitem (label, def)> +<!ATTLIST gitem %common.att;> + +<!ELEMENT label (%label.pcd.mix;)*> +<!ATTLIST label %common.att;> + +<!ELEMENT def (%obj.mix;)*> +<!ATTLIST def %common.att;> + +<!-- Special lists ................. --> + +<!ELEMENT blist (bibl+)> +<!ATTLIST blist %common.att;> + +<!ELEMENT bibl (%bibl.pcd.mix;)*> + +<!-- HREF attribute: + bibl optionally functions as a hypertext reference to the + referred-to resource through this attribute. --> + +<!ATTLIST bibl + %common.att; + %href.att; + %key.att;> + +<!ELEMENT orglist (member+)> +<!ATTLIST orglist %common.att;> + +<!-- +#1997-09-30: maler: Added optional affiliation. +--> + +<!ELEMENT member (name, affiliation?, role?)> +<!ATTLIST member %common.att;> + +<!-- name (defined in "Specification header" above) --> +<!-- affiliation (defined in "Specification header" above) --> + +<!ELEMENT role (#PCDATA)> +<!ATTLIST role %common.att;> + +<!-- Notes ......................... --> + +<!ELEMENT note (%obj.mix;)+> +<!ATTLIST note %common.att;> + +<!ELEMENT wfcnote (head, (%obj.mix;)+)> +<!-- ID attribute: + wfcnote must have an ID so that it can be pointed to + from a wfc element in a production. --> +<!ATTLIST wfcnote + %common-idreq.att;> + +<!ELEMENT vcnote (head, (%obj.mix;)+)> +<!-- ID attribute: + vcnote must have an ID so that it can be pointed to + from a vc element in a production. --> +<!ATTLIST vcnote + %common-idreq.att;> + +<!-- Illustrations ................. --> + +<!-- +#1998-03-23: maler: Added xml:space attribute. +--> + +<!ELEMENT eg (%eg.pcd.mix;)*> +<!ATTLIST eg + %common.att; + %xmlspace.att;> + +<!ELEMENT graphic EMPTY> +<!-- source attribute: + The graphic data must reside at the location pointed to. + This is a hypertext reference, but for practical purposes, + for now it should just be a pathname. --> +<!ATTLIST graphic + %common.att; + %source-req.att; + alt CDATA #IMPLIED> + +<!-- +#1997-11-28: maler: Added prodgroup to scrap and defined it. +--> + +<!ELEMENT scrap (head, (prodgroup+ | prod+ | bnf))> +<!-- lang attribute: + The scrap can link to a description of the language used, + found in a language element in the header. --> +<!ATTLIST scrap + %common.att; + lang IDREF #IMPLIED> + +<!ELEMENT prodgroup (prod+)> +<!-- pcw<n> attributes: + Presentational attributes to control the width + of the "pseudo-table" columns used to output + groups of productions. --> +<!ATTLIST prodgroup + %common.att; + pcw1 CDATA #IMPLIED + pcw2 CDATA #IMPLIED + pcw3 CDATA #IMPLIED + pcw4 CDATA #IMPLIED + pcw5 CDATA #IMPLIED +> + +<!ELEMENT prod (lhs, (rhs, (com|wfc|vc)*)+)> +<!-- ID attribute: + The production must have an ID so that cross-references + (specref) and mentions of nonterminals (nt) can link to + it. --> +<!ATTLIST prod + %common-idreq.att;> + +<!ELEMENT lhs (#PCDATA)> +<!ATTLIST lhs %common.att;> + +<!ELEMENT rhs (#PCDATA|nt|xnt|com)*> +<!ATTLIST rhs %common.att;> + +<!-- nt and xnt (defined in "Phrase-level elements" below) --> + +<!-- +#1997-11-28: maler: Added loc and bibref to com content. +--> + +<!ELEMENT com (#PCDATA|loc|bibref)*> +<!ATTLIST com %common.att;> + +<!-- wfc: Should generate the head of the wfcnote pointed to --> +<!ELEMENT wfc EMPTY> +<!-- def attribute: + Each well formedness tagline in a production must link to the + wfcnote that defines it. --> +<!ATTLIST wfc + %def-req.att; + %common.att;> + +<!-- vc: Should generate the head of the vcnote pointed to --> +<!ELEMENT vc EMPTY> +<!-- def attribute: + Each validity tagline in a production must link to the vcnote + that defines it. --> +<!ATTLIST vc + %def-req.att; + %common.att;> + +<!-- +#1998-03-23: maler: Added xml:space attribute. +--> + +<!-- bnf: Un-marked-up production --> +<!ELEMENT bnf (%eg.pcd.mix;)*> +<!ATTLIST bnf + %common.att; + %xmlspace.att;> + +<!-- +#1997-10-16: maler: Added table mechanism. +#1997-11-28: maler: Added non-null system ID to entity declaration. +# Added HTML table module. +#1997-12-29: maler: IGNOREd SGML Open table model. +#1998-03-10: maler: Removed SGML Open table model. +# Merged html-tbl.mod file into main file. +# Added %common.att; to all HTML table elements. +--> + +<!-- TR and TD attributes: + Alignment attributes. No default. --> +<!ENTITY % trtd.att + "align (left + |center + |right) #IMPLIED + valign (top + |middle + |bottom) #IMPLIED"> + +<!ELEMENT htable (htbody+)> +<!ATTLIST htable + border CDATA "0" + cellpadding CDATA "0" + align (left + |center + |right) "left"> + +<!ELEMENT htbody (tr+)> +<!ATTLIST htbody %common.att;> + +<!ELEMENT tr (td+)> +<!ATTLIST tr + %common.att; + %trtd.att;> + +<!ELEMENT td (%p.pcd.mix;)*> +<!ATTLIST td + %common.att; + %trtd.att; + bgcolor CDATA #IMPLIED + rowspan CDATA "1" + colspan CDATA "1"> + +<!-- ............................................................... --> +<!-- Phrase-level elements ......................................... --> + +<!-- bibref: Should generate, in square brackets, "key" on bibl --> +<!ELEMENT bibref EMPTY> +<!-- ref attribute: + A bibliography reference must link to the bibl element that + describes the resource. --> +<!ATTLIST bibref + %common.att; + %ref-req.att;> + +<!ELEMENT code (%tech.pcd.mix;)*> +<!ATTLIST code %common.att;> + +<!-- +#1998-03-10: maler: Declared ednote and related elements. +--> + +<!ELEMENT ednote (name?, date?, edtext)> +<!ATTLIST ednote %common.att;> + +<!ELEMENT date (#PCDATA)> +<!ATTLIST date %common.att;> + +<!ELEMENT edtext (#PCDATA)> +<!ATTLIST edtext %common.att;> + +<!ELEMENT emph (#PCDATA)> +<!ATTLIST emph %common.att;> + +<!-- footnote: Both footnote content and call to footnote --> +<!ELEMENT footnote (%obj.mix;)+> +<!ATTLIST footnote %common.att;> + +<!ELEMENT kw (%tech.pcd.mix;)*> +<!ATTLIST kw %common.att;> + +<!ELEMENT loc (#PCDATA)> +<!-- HREF attribute: + The purpose of a loc element is to function as a hypertext + link to a resource. (Ideally, the content of loc will also + mention the URI of the resource, so that readers of the + printed version will be able to locate the resource.) --> +<!ATTLIST loc + %common.att; + %href-req.att;> + +<!ELEMENT nt (#PCDATA)> +<!-- def attribute: + The nonterminal must link to the production that defines + it. --> +<!ATTLIST nt + %common.att; + %def-req.att;> + +<!-- +#1998-03-10: maler: Declared quote. +--> + +<!-- quote: Scare quotes and other purely presentational quotes --> +<!ELEMENT quote (%p.pcd.mix;)*> +<!ATTLIST quote %common.att;> + +<!-- specref: Should generate italic "[n.n], Section Title" for + div, "n" for numbered item, or "[n]" for production --> +<!ELEMENT specref EMPTY> +<!-- ref attribute: + The purpose of a specref element is to link to a div, item + in an olist, or production in the current spec. --> +<!ATTLIST specref + %common.att; + %ref-req.att;> + +<!ELEMENT term (#PCDATA)> +<!ATTLIST term %common.att;> + +<!ELEMENT termdef (%termdef.pcd.mix;|%termdef.mix;)*> +<!-- ID attribute: + A term definition must have an ID so that it can be linked + to from termref elements. --> +<!-- term attribute: + The canonical form of the term or phrase being defined must + appear in this attribute, even if the term or phrase also + appears in the element content in identical form (e.g., in + the term element). --> +<!ATTLIST termdef + %common-idreq.att; + term CDATA #REQUIRED> + +<!ELEMENT termref (#PCDATA)> +<!-- ref attribute: + A term reference must link to the termdef element that + defines the term. --> +<!ATTLIST termref + %common.att; + %def-req.att;> + +<!ELEMENT titleref (#PCDATA)> +<!-- HREF attribute: + A title reference can optionally function as a hypertext + link to the resource with this title. --> +<!ATTLIST titleref + %common.att; + %href.att;> + +<!ELEMENT xnt (#PCDATA)> +<!-- HREF attribute: + The nonterminal must hyperlink to a resource that serves + to define it (e.g., a production in a related XML + specification). --> +<!ATTLIST xnt + %common.att; + %href-req.att;> + +<!-- +#1997-12-29: maler: Declared xspecref. +--> + +<!ELEMENT xspecref (#PCDATA)> +<!-- HREF attribute: + The spec reference must hyperlink to the resource to + cross-refer to (e.g., a section in a related XML + specification). --> +<!ATTLIST xspecref + %common.att; + %href-req.att;> + +<!ELEMENT xtermref (#PCDATA)> +<!-- HREF attribute: + The term reference must hyperlink to the resource that + serves to define the term (e.g., a term definition in + a related XML specification). --> +<!ATTLIST xtermref + %common.att; + %href-req.att;> + +<!-- ............................................................... --> +<!-- Unused elements for ADEPT ..................................... --> + +<!-- +#1997-09-30: maler: Added unusued elements. +#1997-10-14: maler: Fixed div to move nested div to the mixture. +--> + +<!-- The following elements are purposely declared but never + referenced. Declaring them allows them to be pasted from + an HTML document into a document using this DTD in ADEPT. + The ATD Context Transformation mechanism will try to convert + them to the appropriate element for this DTD. While this + conversion will not work for all fragments, it does allow + many cases to work reasonably well. --> + +<!ELEMENT div + (head?, (%div.mix;|ul|ol|h1|h2|h3|h4|h5|h6|div)*)> +<!ELEMENT h1 (%head.pcd.mix;|em|a)*> +<!ELEMENT h2 (%head.pcd.mix;|em|a)*> +<!ELEMENT h3 (%head.pcd.mix;|em|a)*> +<!ELEMENT h4 (%head.pcd.mix;|em|a)*> +<!ELEMENT h5 (%head.pcd.mix;|em|a)*> +<!ELEMENT h6 (%head.pcd.mix;|em|a)*> +<!ELEMENT pre (%eg.pcd.mix;|em)*> +<!ELEMENT ul (item|li)*> +<!ELEMENT ol (item|li)*> +<!ELEMENT li (#PCDATA|%obj.mix;)*> +<!ELEMENT em (#PCDATA)> +<!ELEMENT a (#PCDATA)> + +<!-- ............................................................... --> +<!-- Change history ................................................ --> + +<!-- +#1997-08-18: maler +#- Did a major revision. +#1997-09-10: maler +#- Updated FPI. +#- Removed namekey element and put key attribute on name element. +#- Made statusp element and supporting entities. +#- Added slist element with sitem+ content. +#- Required head on scrap and added new bnf subelement. +#- Added an xnt element and allowed it and nt in regular text and rhs. +#- Removed the ntref element. +#- Added back the com element to the content of rhs. +#- Added a key attribute to bibl. +#- Removed the ident element. +#- Added a term element to be used inside termdef. +#- Added an xtermref element parallel to termref. +#- Beefed up DTD comments. +#1997-09-12: maler +#- Allowed term element in general text. +#- Changed bibref to EMPTY. +#- Added ref.class to termdef.pcd.mix. +#1997-09-14: maler +#- Changed main attribute of xtermref from def to href. +#- Added termdef.class to label contents. +#1997-09-30: maler +#- Added character entity module and added new entities. +#- Removed p from appearing directly in self; created %p.mix;. +#- Added inform-div (non-normative division) element. +#- Fixed xtermref comment to mention HREF, not ref. +#- Extended orglist model to allow optional affiliation. +#- Modified author to make affiliation optional. +#- Added %speclist.class; and %note.class; to %obj.mix; and %p.mix;. +#- Added %note.class; and %illus.class; to %termdef.pcd.mix;. +#- Added unused HTML elements. +#- Put empty system ID next to public ID in entity declarations. +#1997-10-14: maler +#- Fixed "unused" div content model to move nested div to mixture. +#1997-10-16: maler +#- Added SGML Open Exchange tables. +#1997-11-28: maler +#- Added support for prodgroup and its attributes. +#- Added support for HTML tables. +#- Added loc and bibref to content of com. +#- Added loc to general p content models. +#- Allowed p as alternative to statusp in status. +#- Added non-null system IDs to external parameter entity declarations. +#- (Modified the SGML Open table module to make it XML-compliant.) +#- (Modified the character entity module.) +#1997-12-29: maler +#- Moved #PCDATA occurrences to come before GIs in content models. +#- Removed use of the SGML Open table module. +#- Added xspecref element. +#- Ensured that all FPIs contain 4-digit year. +#- (Modified the character entity module.) +#1997-03-10: maler +#- Merged the character entity and table modules into the main file. +#- Added ldquo and rdquo entities. +#- Added common attributes to prodgroup. +#- Made the email element in header optional. +#- Removed reference to the SGML Open table model. +#- Added ednote element. +#- Added quote element. +#- Updated XLink usage to reflect 3 March 1998 WD. +#- Added "local" entities to the class entities for customization. +#- Parameterized several content models to allow for customization. +#1997-03-23: maler +#- Cleaned up some comments and removed some others. +#- Added xml:space semi-common attribute to eg and bnf elements. +#- Added show and embed attributes on all the uses of href. +#- Added %common.att; to all HTML table elements. +#- Added a real URI to the "typical invocation" comment. +--> + +<!-- ............................................................... --> +<!-- End of XML specification DTD .................................. --> +<!-- ............................................................... --> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/utf16b.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/utf16b.ent new file mode 100644 index 0000000000000000000000000000000000000000..52c7e2d18cf2aa52b5c0b99612809d5696c6afaa Binary files /dev/null and b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/utf16b.ent differ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/utf16l.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/utf16l.ent new file mode 100644 index 0000000000000000000000000000000000000000..2cad40a3c7cecba02999bc92897bcb26ac2f6d63 Binary files /dev/null and b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/utf16l.ent differ diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-lat1.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-lat1.ent new file mode 100644 index 0000000000000000000000000000000000000000..aaae738cfccd3d175b94d2fbeeac6975eef2083d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-lat1.ent @@ -0,0 +1,196 @@ +<!-- Portions (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. +--> +<!-- Character entity set. Typical invocation: + <!ENTITY % HTMLlat1 PUBLIC + "-//W3C//ENTITIES Latin 1 for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent"> + %HTMLlat1; +--> + +<!ENTITY nbsp "&#160;"> <!-- no-break space = non-breaking space, + U+00A0 ISOnum --> +<!ENTITY iexcl "&#161;"> <!-- inverted exclamation mark, U+00A1 ISOnum --> +<!ENTITY cent "&#162;"> <!-- cent sign, U+00A2 ISOnum --> +<!ENTITY pound "&#163;"> <!-- pound sign, U+00A3 ISOnum --> +<!ENTITY curren "&#164;"> <!-- currency sign, U+00A4 ISOnum --> +<!ENTITY yen "&#165;"> <!-- yen sign = yuan sign, U+00A5 ISOnum --> +<!ENTITY brvbar "&#166;"> <!-- broken bar = broken vertical bar, + U+00A6 ISOnum --> +<!ENTITY sect "&#167;"> <!-- section sign, U+00A7 ISOnum --> +<!ENTITY uml "&#168;"> <!-- diaeresis = spacing diaeresis, + U+00A8 ISOdia --> +<!ENTITY copy "&#169;"> <!-- copyright sign, U+00A9 ISOnum --> +<!ENTITY ordf "&#170;"> <!-- feminine ordinal indicator, U+00AA ISOnum --> +<!ENTITY laquo "&#171;"> <!-- left-pointing double angle quotation mark + = left pointing guillemet, U+00AB ISOnum --> +<!ENTITY not "&#172;"> <!-- not sign = discretionary hyphen, + U+00AC ISOnum --> +<!ENTITY shy "&#173;"> <!-- soft hyphen = discretionary hyphen, + U+00AD ISOnum --> +<!ENTITY reg "&#174;"> <!-- registered sign = registered trade mark sign, + U+00AE ISOnum --> +<!ENTITY macr "&#175;"> <!-- macron = spacing macron = overline + = APL overbar, U+00AF ISOdia --> +<!ENTITY deg "&#176;"> <!-- degree sign, U+00B0 ISOnum --> +<!ENTITY plusmn "&#177;"> <!-- plus-minus sign = plus-or-minus sign, + U+00B1 ISOnum --> +<!ENTITY sup2 "&#178;"> <!-- superscript two = superscript digit two + = squared, U+00B2 ISOnum --> +<!ENTITY sup3 "&#179;"> <!-- superscript three = superscript digit three + = cubed, U+00B3 ISOnum --> +<!ENTITY acute "&#180;"> <!-- acute accent = spacing acute, + U+00B4 ISOdia --> +<!ENTITY micro "&#181;"> <!-- micro sign, U+00B5 ISOnum --> +<!ENTITY para "&#182;"> <!-- pilcrow sign = paragraph sign, + U+00B6 ISOnum --> +<!ENTITY middot "&#183;"> <!-- middle dot = Georgian comma + = Greek middle dot, U+00B7 ISOnum --> +<!ENTITY cedil "&#184;"> <!-- cedilla = spacing cedilla, U+00B8 ISOdia --> +<!ENTITY sup1 "&#185;"> <!-- superscript one = superscript digit one, + U+00B9 ISOnum --> +<!ENTITY ordm "&#186;"> <!-- masculine ordinal indicator, + U+00BA ISOnum --> +<!ENTITY raquo "&#187;"> <!-- right-pointing double angle quotation mark + = right pointing guillemet, U+00BB ISOnum --> +<!ENTITY frac14 "&#188;"> <!-- vulgar fraction one quarter + = fraction one quarter, U+00BC ISOnum --> +<!ENTITY frac12 "&#189;"> <!-- vulgar fraction one half + = fraction one half, U+00BD ISOnum --> +<!ENTITY frac34 "&#190;"> <!-- vulgar fraction three quarters + = fraction three quarters, U+00BE ISOnum --> +<!ENTITY iquest "&#191;"> <!-- inverted question mark + = turned question mark, U+00BF ISOnum --> +<!ENTITY Agrave "&#192;"> <!-- latin capital letter A with grave + = latin capital letter A grave, + U+00C0 ISOlat1 --> +<!ENTITY Aacute "&#193;"> <!-- latin capital letter A with acute, + U+00C1 ISOlat1 --> +<!ENTITY Acirc "&#194;"> <!-- latin capital letter A with circumflex, + U+00C2 ISOlat1 --> +<!ENTITY Atilde "&#195;"> <!-- latin capital letter A with tilde, + U+00C3 ISOlat1 --> +<!ENTITY Auml "&#196;"> <!-- latin capital letter A with diaeresis, + U+00C4 ISOlat1 --> +<!ENTITY Aring "&#197;"> <!-- latin capital letter A with ring above + = latin capital letter A ring, + U+00C5 ISOlat1 --> +<!ENTITY AElig "&#198;"> <!-- latin capital letter AE + = latin capital ligature AE, + U+00C6 ISOlat1 --> +<!ENTITY Ccedil "&#199;"> <!-- latin capital letter C with cedilla, + U+00C7 ISOlat1 --> +<!ENTITY Egrave "&#200;"> <!-- latin capital letter E with grave, + U+00C8 ISOlat1 --> +<!ENTITY Eacute "&#201;"> <!-- latin capital letter E with acute, + U+00C9 ISOlat1 --> +<!ENTITY Ecirc "&#202;"> <!-- latin capital letter E with circumflex, + U+00CA ISOlat1 --> +<!ENTITY Euml "&#203;"> <!-- latin capital letter E with diaeresis, + U+00CB ISOlat1 --> +<!ENTITY Igrave "&#204;"> <!-- latin capital letter I with grave, + U+00CC ISOlat1 --> +<!ENTITY Iacute "&#205;"> <!-- latin capital letter I with acute, + U+00CD ISOlat1 --> +<!ENTITY Icirc "&#206;"> <!-- latin capital letter I with circumflex, + U+00CE ISOlat1 --> +<!ENTITY Iuml "&#207;"> <!-- latin capital letter I with diaeresis, + U+00CF ISOlat1 --> +<!ENTITY ETH "&#208;"> <!-- latin capital letter ETH, U+00D0 ISOlat1 --> +<!ENTITY Ntilde "&#209;"> <!-- latin capital letter N with tilde, + U+00D1 ISOlat1 --> +<!ENTITY Ograve "&#210;"> <!-- latin capital letter O with grave, + U+00D2 ISOlat1 --> +<!ENTITY Oacute "&#211;"> <!-- latin capital letter O with acute, + U+00D3 ISOlat1 --> +<!ENTITY Ocirc "&#212;"> <!-- latin capital letter O with circumflex, + U+00D4 ISOlat1 --> +<!ENTITY Otilde "&#213;"> <!-- latin capital letter O with tilde, + U+00D5 ISOlat1 --> +<!ENTITY Ouml "&#214;"> <!-- latin capital letter O with diaeresis, + U+00D6 ISOlat1 --> +<!ENTITY times "&#215;"> <!-- multiplication sign, U+00D7 ISOnum --> +<!ENTITY Oslash "&#216;"> <!-- latin capital letter O with stroke + = latin capital letter O slash, + U+00D8 ISOlat1 --> +<!ENTITY Ugrave "&#217;"> <!-- latin capital letter U with grave, + U+00D9 ISOlat1 --> +<!ENTITY Uacute "&#218;"> <!-- latin capital letter U with acute, + U+00DA ISOlat1 --> +<!ENTITY Ucirc "&#219;"> <!-- latin capital letter U with circumflex, + U+00DB ISOlat1 --> +<!ENTITY Uuml "&#220;"> <!-- latin capital letter U with diaeresis, + U+00DC ISOlat1 --> +<!ENTITY Yacute "&#221;"> <!-- latin capital letter Y with acute, + U+00DD ISOlat1 --> +<!ENTITY THORN "&#222;"> <!-- latin capital letter THORN, + U+00DE ISOlat1 --> +<!ENTITY szlig "&#223;"> <!-- latin small letter sharp s = ess-zed, + U+00DF ISOlat1 --> +<!ENTITY agrave "&#224;"> <!-- latin small letter a with grave + = latin small letter a grave, + U+00E0 ISOlat1 --> +<!ENTITY aacute "&#225;"> <!-- latin small letter a with acute, + U+00E1 ISOlat1 --> +<!ENTITY acirc "&#226;"> <!-- latin small letter a with circumflex, + U+00E2 ISOlat1 --> +<!ENTITY atilde "&#227;"> <!-- latin small letter a with tilde, + U+00E3 ISOlat1 --> +<!ENTITY auml "&#228;"> <!-- latin small letter a with diaeresis, + U+00E4 ISOlat1 --> +<!ENTITY aring "&#229;"> <!-- latin small letter a with ring above + = latin small letter a ring, + U+00E5 ISOlat1 --> +<!ENTITY aelig "&#230;"> <!-- latin small letter ae + = latin small ligature ae, U+00E6 ISOlat1 --> +<!ENTITY ccedil "&#231;"> <!-- latin small letter c with cedilla, + U+00E7 ISOlat1 --> +<!ENTITY egrave "&#232;"> <!-- latin small letter e with grave, + U+00E8 ISOlat1 --> +<!ENTITY eacute "&#233;"> <!-- latin small letter e with acute, + U+00E9 ISOlat1 --> +<!ENTITY ecirc "&#234;"> <!-- latin small letter e with circumflex, + U+00EA ISOlat1 --> +<!ENTITY euml "&#235;"> <!-- latin small letter e with diaeresis, + U+00EB ISOlat1 --> +<!ENTITY igrave "&#236;"> <!-- latin small letter i with grave, + U+00EC ISOlat1 --> +<!ENTITY iacute "&#237;"> <!-- latin small letter i with acute, + U+00ED ISOlat1 --> +<!ENTITY icirc "&#238;"> <!-- latin small letter i with circumflex, + U+00EE ISOlat1 --> +<!ENTITY iuml "&#239;"> <!-- latin small letter i with diaeresis, + U+00EF ISOlat1 --> +<!ENTITY eth "&#240;"> <!-- latin small letter eth, U+00F0 ISOlat1 --> +<!ENTITY ntilde "&#241;"> <!-- latin small letter n with tilde, + U+00F1 ISOlat1 --> +<!ENTITY ograve "&#242;"> <!-- latin small letter o with grave, + U+00F2 ISOlat1 --> +<!ENTITY oacute "&#243;"> <!-- latin small letter o with acute, + U+00F3 ISOlat1 --> +<!ENTITY ocirc "&#244;"> <!-- latin small letter o with circumflex, + U+00F4 ISOlat1 --> +<!ENTITY otilde "&#245;"> <!-- latin small letter o with tilde, + U+00F5 ISOlat1 --> +<!ENTITY ouml "&#246;"> <!-- latin small letter o with diaeresis, + U+00F6 ISOlat1 --> +<!ENTITY divide "&#247;"> <!-- division sign, U+00F7 ISOnum --> +<!ENTITY oslash "&#248;"> <!-- latin small letter o with stroke, + = latin small letter o slash, + U+00F8 ISOlat1 --> +<!ENTITY ugrave "&#249;"> <!-- latin small letter u with grave, + U+00F9 ISOlat1 --> +<!ENTITY uacute "&#250;"> <!-- latin small letter u with acute, + U+00FA ISOlat1 --> +<!ENTITY ucirc "&#251;"> <!-- latin small letter u with circumflex, + U+00FB ISOlat1 --> +<!ENTITY uuml "&#252;"> <!-- latin small letter u with diaeresis, + U+00FC ISOlat1 --> +<!ENTITY yacute "&#253;"> <!-- latin small letter y with acute, + U+00FD ISOlat1 --> +<!ENTITY thorn "&#254;"> <!-- latin small letter thorn with, + U+00FE ISOlat1 --> +<!ENTITY yuml "&#255;"> <!-- latin small letter y with diaeresis, + U+00FF ISOlat1 --> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-special.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-special.ent new file mode 100644 index 0000000000000000000000000000000000000000..cf709d1d46c6fb5522bd464eea9bfa635d829fb0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-special.ent @@ -0,0 +1,79 @@ +<!-- Special characters for HTML --> + +<!-- Character entity set. Typical invocation: + <!ENTITY % HTMLspecial PUBLIC + "-//W3C//ENTITIES Special for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent"> + %HTMLspecial; +--> + +<!-- Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. +--> + +<!-- Relevant ISO entity set is given unless names are newly introduced. + New names (i.e., not in ISO 8879 list) do not clash with any + existing ISO 8879 entity names. ISO 10646 character numbers + are given for each character, in hex. values are decimal + conversions of the ISO 10646 values and refer to the document + character set. Names are Unicode names. +--> + +<!-- C0 Controls and Basic Latin --> +<!ENTITY quot "&#34;"> <!-- quotation mark = APL quote, + U+0022 ISOnum --> +<!ENTITY amp "&#38;#38;"> <!-- ampersand, U+0026 ISOnum --> +<!ENTITY lt "&#38;#60;"> <!-- less-than sign, U+003C ISOnum --> +<!ENTITY gt "&#62;"> <!-- greater-than sign, U+003E ISOnum --> +<!ENTITY apos "&#39;"> <!-- apostrophe mark, U+0027 ISOnum --> + +<!-- Latin Extended-A --> +<!ENTITY OElig "&#338;"> <!-- latin capital ligature OE, + U+0152 ISOlat2 --> +<!ENTITY oelig "&#339;"> <!-- latin small ligature oe, U+0153 ISOlat2 --> +<!-- ligature is a misnomer, this is a separate character in some languages --> +<!ENTITY Scaron "&#352;"> <!-- latin capital letter S with caron, + U+0160 ISOlat2 --> +<!ENTITY scaron "&#353;"> <!-- latin small letter s with caron, + U+0161 ISOlat2 --> +<!ENTITY Yuml "&#376;"> <!-- latin capital letter Y with diaeresis, + U+0178 ISOlat2 --> + +<!-- Spacing Modifier Letters --> +<!ENTITY circ "&#710;"> <!-- modifier letter circumflex accent, + U+02C6 ISOpub --> +<!ENTITY tilde "&#732;"> <!-- small tilde, U+02DC ISOdia --> + +<!-- General Punctuation --> +<!ENTITY ensp "&#8194;"> <!-- en space, U+2002 ISOpub --> +<!ENTITY emsp "&#8195;"> <!-- em space, U+2003 ISOpub --> +<!ENTITY thinsp "&#8201;"> <!-- thin space, U+2009 ISOpub --> +<!ENTITY zwnj "&#8204;"> <!-- zero width non-joiner, + U+200C NEW RFC 2070 --> +<!ENTITY zwj "&#8205;"> <!-- zero width joiner, U+200D NEW RFC 2070 --> +<!ENTITY lrm "&#8206;"> <!-- left-to-right mark, U+200E NEW RFC 2070 --> +<!ENTITY rlm "&#8207;"> <!-- right-to-left mark, U+200F NEW RFC 2070 --> +<!ENTITY ndash "&#8211;"> <!-- en dash, U+2013 ISOpub --> +<!ENTITY mdash "&#8212;"> <!-- em dash, U+2014 ISOpub --> +<!ENTITY lsquo "&#8216;"> <!-- left single quotation mark, + U+2018 ISOnum --> +<!ENTITY rsquo "&#8217;"> <!-- right single quotation mark, + U+2019 ISOnum --> +<!ENTITY sbquo "&#8218;"> <!-- single low-9 quotation mark, U+201A NEW --> +<!ENTITY ldquo "&#8220;"> <!-- left double quotation mark, + U+201C ISOnum --> +<!ENTITY rdquo "&#8221;"> <!-- right double quotation mark, + U+201D ISOnum --> +<!ENTITY bdquo "&#8222;"> <!-- double low-9 quotation mark, U+201E NEW --> +<!ENTITY dagger "&#8224;"> <!-- dagger, U+2020 ISOpub --> +<!ENTITY Dagger "&#8225;"> <!-- double dagger, U+2021 ISOpub --> +<!ENTITY permil "&#8240;"> <!-- per mille sign, U+2030 ISOtech --> +<!ENTITY lsaquo "&#8249;"> <!-- single left-pointing angle quotation mark, + U+2039 ISO proposed --> +<!-- lsaquo is proposed but not yet ISO standardized --> +<!ENTITY rsaquo "&#8250;"> <!-- single right-pointing angle quotation mark, + U+203A ISO proposed --> +<!-- rsaquo is proposed but not yet ISO standardized --> +<!ENTITY euro "&#8364;"> <!-- euro sign, U+20AC NEW --> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-symbol.ent b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-symbol.ent new file mode 100644 index 0000000000000000000000000000000000000000..16f876b251ce45f3e3a484ccca5245f1dd812562 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml-symbol.ent @@ -0,0 +1,242 @@ +<!-- Mathematical, Greek and Symbolic characters for HTML --> + +<!-- Character entity set. Typical invocation: + <!ENTITY % HTMLsymbol PUBLIC + "-//W3C//ENTITIES Symbols for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent"> + %HTMLsymbol; +--> + +<!-- Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. +--> + +<!-- Relevant ISO entity set is given unless names are newly introduced. + New names (i.e., not in ISO 8879 list) do not clash with any + existing ISO 8879 entity names. ISO 10646 character numbers + are given for each character, in hex. values are decimal + conversions of the ISO 10646 values and refer to the document + character set. Names are Unicode names. +--> + +<!-- Latin Extended-B --> +<!ENTITY fnof "&#402;"> <!-- latin small f with hook = function + = florin, U+0192 ISOtech --> + +<!-- Greek --> +<!ENTITY Alpha "&#913;"> <!-- greek capital letter alpha, U+0391 --> +<!ENTITY Beta "&#914;"> <!-- greek capital letter beta, U+0392 --> +<!ENTITY Gamma "&#915;"> <!-- greek capital letter gamma, + U+0393 ISOgrk3 --> +<!ENTITY Delta "&#916;"> <!-- greek capital letter delta, + U+0394 ISOgrk3 --> +<!ENTITY Epsilon "&#917;"> <!-- greek capital letter epsilon, U+0395 --> +<!ENTITY Zeta "&#918;"> <!-- greek capital letter zeta, U+0396 --> +<!ENTITY Eta "&#919;"> <!-- greek capital letter eta, U+0397 --> +<!ENTITY Theta "&#920;"> <!-- greek capital letter theta, + U+0398 ISOgrk3 --> +<!ENTITY Iota "&#921;"> <!-- greek capital letter iota, U+0399 --> +<!ENTITY Kappa "&#922;"> <!-- greek capital letter kappa, U+039A --> +<!ENTITY Lambda "&#923;"> <!-- greek capital letter lambda, + U+039B ISOgrk3 --> +<!ENTITY Mu "&#924;"> <!-- greek capital letter mu, U+039C --> +<!ENTITY Nu "&#925;"> <!-- greek capital letter nu, U+039D --> +<!ENTITY Xi "&#926;"> <!-- greek capital letter xi, U+039E ISOgrk3 --> +<!ENTITY Omicron "&#927;"> <!-- greek capital letter omicron, U+039F --> +<!ENTITY Pi "&#928;"> <!-- greek capital letter pi, U+03A0 ISOgrk3 --> +<!ENTITY Rho "&#929;"> <!-- greek capital letter rho, U+03A1 --> +<!-- there is no Sigmaf, and no U+03A2 character either --> +<!ENTITY Sigma "&#931;"> <!-- greek capital letter sigma, + U+03A3 ISOgrk3 --> +<!ENTITY Tau "&#932;"> <!-- greek capital letter tau, U+03A4 --> +<!ENTITY Upsilon "&#933;"> <!-- greek capital letter upsilon, + U+03A5 ISOgrk3 --> +<!ENTITY Phi "&#934;"> <!-- greek capital letter phi, + U+03A6 ISOgrk3 --> +<!ENTITY Chi "&#935;"> <!-- greek capital letter chi, U+03A7 --> +<!ENTITY Psi "&#936;"> <!-- greek capital letter psi, + U+03A8 ISOgrk3 --> +<!ENTITY Omega "&#937;"> <!-- greek capital letter omega, + U+03A9 ISOgrk3 --> + +<!ENTITY alpha "&#945;"> <!-- greek small letter alpha, + U+03B1 ISOgrk3 --> +<!ENTITY beta "&#946;"> <!-- greek small letter beta, U+03B2 ISOgrk3 --> +<!ENTITY gamma "&#947;"> <!-- greek small letter gamma, + U+03B3 ISOgrk3 --> +<!ENTITY delta "&#948;"> <!-- greek small letter delta, + U+03B4 ISOgrk3 --> +<!ENTITY epsilon "&#949;"> <!-- greek small letter epsilon, + U+03B5 ISOgrk3 --> +<!ENTITY zeta "&#950;"> <!-- greek small letter zeta, U+03B6 ISOgrk3 --> +<!ENTITY eta "&#951;"> <!-- greek small letter eta, U+03B7 ISOgrk3 --> +<!ENTITY theta "&#952;"> <!-- greek small letter theta, + U+03B8 ISOgrk3 --> +<!ENTITY iota "&#953;"> <!-- greek small letter iota, U+03B9 ISOgrk3 --> +<!ENTITY kappa "&#954;"> <!-- greek small letter kappa, + U+03BA ISOgrk3 --> +<!ENTITY lambda "&#955;"> <!-- greek small letter lambda, + U+03BB ISOgrk3 --> +<!ENTITY mu "&#956;"> <!-- greek small letter mu, U+03BC ISOgrk3 --> +<!ENTITY nu "&#957;"> <!-- greek small letter nu, U+03BD ISOgrk3 --> +<!ENTITY xi "&#958;"> <!-- greek small letter xi, U+03BE ISOgrk3 --> +<!ENTITY omicron "&#959;"> <!-- greek small letter omicron, U+03BF NEW --> +<!ENTITY pi "&#960;"> <!-- greek small letter pi, U+03C0 ISOgrk3 --> +<!ENTITY rho "&#961;"> <!-- greek small letter rho, U+03C1 ISOgrk3 --> +<!ENTITY sigmaf "&#962;"> <!-- greek small letter final sigma, + U+03C2 ISOgrk3 --> +<!ENTITY sigma "&#963;"> <!-- greek small letter sigma, + U+03C3 ISOgrk3 --> +<!ENTITY tau "&#964;"> <!-- greek small letter tau, U+03C4 ISOgrk3 --> +<!ENTITY upsilon "&#965;"> <!-- greek small letter upsilon, + U+03C5 ISOgrk3 --> +<!ENTITY phi "&#966;"> <!-- greek small letter phi, U+03C6 ISOgrk3 --> +<!ENTITY chi "&#967;"> <!-- greek small letter chi, U+03C7 ISOgrk3 --> +<!ENTITY psi "&#968;"> <!-- greek small letter psi, U+03C8 ISOgrk3 --> +<!ENTITY omega "&#969;"> <!-- greek small letter omega, + U+03C9 ISOgrk3 --> +<!ENTITY thetasym "&#977;"> <!-- greek small letter theta symbol, + U+03D1 NEW --> +<!ENTITY upsih "&#978;"> <!-- greek upsilon with hook symbol, + U+03D2 NEW --> +<!ENTITY piv "&#982;"> <!-- greek pi symbol, U+03D6 ISOgrk3 --> + +<!-- General Punctuation --> +<!ENTITY bull "&#8226;"> <!-- bullet = black small circle, + U+2022 ISOpub --> +<!-- bullet is NOT the same as bullet operator, U+2219 --> +<!ENTITY hellip "&#8230;"> <!-- horizontal ellipsis = three dot leader, + U+2026 ISOpub --> +<!ENTITY prime "&#8242;"> <!-- prime = minutes = feet, U+2032 ISOtech --> +<!ENTITY Prime "&#8243;"> <!-- double prime = seconds = inches, + U+2033 ISOtech --> +<!ENTITY oline "&#8254;"> <!-- overline = spacing overscore, + U+203E NEW --> +<!ENTITY frasl "&#8260;"> <!-- fraction slash, U+2044 NEW --> + +<!-- Letterlike Symbols --> +<!ENTITY weierp "&#8472;"> <!-- script capital P = power set + = Weierstrass p, U+2118 ISOamso --> +<!ENTITY image "&#8465;"> <!-- blackletter capital I = imaginary part, + U+2111 ISOamso --> +<!ENTITY real "&#8476;"> <!-- blackletter capital R = real part symbol, + U+211C ISOamso --> +<!ENTITY trade "&#8482;"> <!-- trade mark sign, U+2122 ISOnum --> +<!ENTITY alefsym "&#8501;"> <!-- alef symbol = first transfinite cardinal, + U+2135 NEW --> +<!-- alef symbol is NOT the same as hebrew letter alef, + U+05D0 although the same glyph could be used to depict both characters --> + +<!-- Arrows --> +<!ENTITY larr "&#8592;"> <!-- leftwards arrow, U+2190 ISOnum --> +<!ENTITY uarr "&#8593;"> <!-- upwards arrow, U+2191 ISOnum--> +<!ENTITY rarr "&#8594;"> <!-- rightwards arrow, U+2192 ISOnum --> +<!ENTITY darr "&#8595;"> <!-- downwards arrow, U+2193 ISOnum --> +<!ENTITY harr "&#8596;"> <!-- left right arrow, U+2194 ISOamsa --> +<!ENTITY crarr "&#8629;"> <!-- downwards arrow with corner leftwards + = carriage return, U+21B5 NEW --> +<!ENTITY lArr "&#8656;"> <!-- leftwards double arrow, U+21D0 ISOtech --> +<!-- Unicode does not say that lArr is the same as the 'is implied by' arrow + but also does not have any other character for that function. So ? lArr can + be used for 'is implied by' as ISOtech suggests --> +<!ENTITY uArr "&#8657;"> <!-- upwards double arrow, U+21D1 ISOamsa --> +<!ENTITY rArr "&#8658;"> <!-- rightwards double arrow, + U+21D2 ISOtech --> +<!-- Unicode does not say this is the 'implies' character but does not have + another character with this function so ? + rArr can be used for 'implies' as ISOtech suggests --> +<!ENTITY dArr "&#8659;"> <!-- downwards double arrow, U+21D3 ISOamsa --> +<!ENTITY hArr "&#8660;"> <!-- left right double arrow, + U+21D4 ISOamsa --> + +<!-- Mathematical Operators --> +<!ENTITY forall "&#8704;"> <!-- for all, U+2200 ISOtech --> +<!ENTITY part "&#8706;"> <!-- partial differential, U+2202 ISOtech --> +<!ENTITY exist "&#8707;"> <!-- there exists, U+2203 ISOtech --> +<!ENTITY empty "&#8709;"> <!-- empty set = null set = diameter, + U+2205 ISOamso --> +<!ENTITY nabla "&#8711;"> <!-- nabla = backward difference, + U+2207 ISOtech --> +<!ENTITY isin "&#8712;"> <!-- element of, U+2208 ISOtech --> +<!ENTITY notin "&#8713;"> <!-- not an element of, U+2209 ISOtech --> +<!ENTITY ni "&#8715;"> <!-- contains as member, U+220B ISOtech --> +<!-- should there be a more memorable name than 'ni'? --> +<!ENTITY prod "&#8719;"> <!-- n-ary product = product sign, + U+220F ISOamsb --> +<!-- prod is NOT the same character as U+03A0 'greek capital letter pi' though + the same glyph might be used for both --> +<!ENTITY sum "&#8721;"> <!-- n-ary sumation, U+2211 ISOamsb --> +<!-- sum is NOT the same character as U+03A3 'greek capital letter sigma' + though the same glyph might be used for both --> +<!ENTITY minus "&#8722;"> <!-- minus sign, U+2212 ISOtech --> +<!ENTITY lowast "&#8727;"> <!-- asterisk operator, U+2217 ISOtech --> +<!ENTITY radic "&#8730;"> <!-- square root = radical sign, + U+221A ISOtech --> +<!ENTITY prop "&#8733;"> <!-- proportional to, U+221D ISOtech --> +<!ENTITY infin "&#8734;"> <!-- infinity, U+221E ISOtech --> +<!ENTITY ang "&#8736;"> <!-- angle, U+2220 ISOamso --> +<!ENTITY and "&#8743;"> <!-- logical and = wedge, U+2227 ISOtech --> +<!ENTITY or "&#8744;"> <!-- logical or = vee, U+2228 ISOtech --> +<!ENTITY cap "&#8745;"> <!-- intersection = cap, U+2229 ISOtech --> +<!ENTITY cup "&#8746;"> <!-- union = cup, U+222A ISOtech --> +<!ENTITY int "&#8747;"> <!-- integral, U+222B ISOtech --> +<!ENTITY there4 "&#8756;"> <!-- therefore, U+2234 ISOtech --> +<!ENTITY sim "&#8764;"> <!-- tilde operator = varies with = similar to, + U+223C ISOtech --> +<!-- tilde operator is NOT the same character as the tilde, U+007E, + although the same glyph might be used to represent both --> +<!ENTITY cong "&#8773;"> <!-- approximately equal to, U+2245 ISOtech --> +<!ENTITY asymp "&#8776;"> <!-- almost equal to = asymptotic to, + U+2248 ISOamsr --> +<!ENTITY ne "&#8800;"> <!-- not equal to, U+2260 ISOtech --> +<!ENTITY equiv "&#8801;"> <!-- identical to, U+2261 ISOtech --> +<!ENTITY le "&#8804;"> <!-- less-than or equal to, U+2264 ISOtech --> +<!ENTITY ge "&#8805;"> <!-- greater-than or equal to, + U+2265 ISOtech --> +<!ENTITY sub "&#8834;"> <!-- subset of, U+2282 ISOtech --> +<!ENTITY sup "&#8835;"> <!-- superset of, U+2283 ISOtech --> +<!-- note that nsup, 'not a superset of, U+2283' is not covered by the Symbol + font encoding and is not included. Should it be, for symmetry? + It is in ISOamsn --> +<!ENTITY nsub "&#8836;"> <!-- not a subset of, U+2284 ISOamsn --> +<!ENTITY sube "&#8838;"> <!-- subset of or equal to, U+2286 ISOtech --> +<!ENTITY supe "&#8839;"> <!-- superset of or equal to, + U+2287 ISOtech --> +<!ENTITY oplus "&#8853;"> <!-- circled plus = direct sum, + U+2295 ISOamsb --> +<!ENTITY otimes "&#8855;"> <!-- circled times = vector product, + U+2297 ISOamsb --> +<!ENTITY perp "&#8869;"> <!-- up tack = orthogonal to = perpendicular, + U+22A5 ISOtech --> +<!ENTITY sdot "&#8901;"> <!-- dot operator, U+22C5 ISOamsb --> +<!-- dot operator is NOT the same character as U+00B7 middle dot --> + +<!-- Miscellaneous Technical --> +<!ENTITY lceil "&#8968;"> <!-- left ceiling = apl upstile, + U+2308 ISOamsc --> +<!ENTITY rceil "&#8969;"> <!-- right ceiling, U+2309 ISOamsc --> +<!ENTITY lfloor "&#8970;"> <!-- left floor = apl downstile, + U+230A ISOamsc --> +<!ENTITY rfloor "&#8971;"> <!-- right floor, U+230B ISOamsc --> +<!ENTITY lang "&#9001;"> <!-- left-pointing angle bracket = bra, + U+2329 ISOtech --> +<!-- lang is NOT the same character as U+003C 'less than' + or U+2039 'single left-pointing angle quotation mark' --> +<!ENTITY rang "&#9002;"> <!-- right-pointing angle bracket = ket, + U+232A ISOtech --> +<!-- rang is NOT the same character as U+003E 'greater than' + or U+203A 'single right-pointing angle quotation mark' --> + +<!-- Geometric Shapes --> +<!ENTITY loz "&#9674;"> <!-- lozenge, U+25CA ISOpub --> + +<!-- Miscellaneous Symbols --> +<!ENTITY spades "&#9824;"> <!-- black spade suit, U+2660 ISOpub --> +<!-- black here seems to mean filled as opposed to hollow --> +<!ENTITY clubs "&#9827;"> <!-- black club suit = shamrock, + U+2663 ISOpub --> +<!ENTITY hearts "&#9829;"> <!-- black heart suit = valentine, + U+2665 ISOpub --> +<!ENTITY diams "&#9830;"> <!-- black diamond suit, U+2666 ISOpub --> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml.cat b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml.cat new file mode 100644 index 0000000000000000000000000000000000000000..0624dea95ffd4a806dd0f1ce20f643be18bbc28c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml.cat @@ -0,0 +1,14 @@ +OVERRIDE YES + -- Oasis entity catalog for Extensible HTML 1.0 -- + +PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd" +PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd" +PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "xhtml1-frameset.dtd" + + -- ISO latin 1 entity set for Extensible HTML (XML 1.0 format) -- + +PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "xhtml-lat1.ent" +PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" "xhtml-symbol.ent" +PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" "xhtml-special.ent" + +SGMLDECL "xhtml1.dcl" diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-frameset.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-frameset.dtd new file mode 100644 index 0000000000000000000000000000000000000000..1dd44e510ce48da9e7a3235de8621277d284be68 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-frameset.dtd @@ -0,0 +1,1223 @@ +<!-- + Extensible HTML version 1.0 Frameset DTD + + This is the same as HTML 4.0 Frameset except for + changes due to the differences between XML and SGML. + + Namespace = http://www.w3.org/1999/xhtml + + For further information, see: http://www.w3.org/TR/xhtml1 + + Copyright (c) 1998-1999 W3C (MIT, INRIA, Keio), + All Rights Reserved. + + This DTD module is identified by the PUBLIC and SYSTEM identifiers: + + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd" + + +--> + +<!--================ Character mnemonic entities =========================--> + +<!ENTITY % HTMLlat1 PUBLIC + "-//W3C//ENTITIES Latin 1 for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent"> +%HTMLlat1; + +<!ENTITY % HTMLsymbol PUBLIC + "-//W3C//ENTITIES Symbols for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent"> +%HTMLsymbol; + +<!ENTITY % HTMLspecial PUBLIC + "-//W3C//ENTITIES Special for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent"> +%HTMLspecial; + +<!--================== Imported Names ====================================--> + +<!ENTITY % ContentType "CDATA"> + <!-- media type, as per [RFC2045] --> + +<!ENTITY % ContentTypes "CDATA"> + <!-- comma-separated list of media types, as per [RFC2045] --> + +<!ENTITY % Charset "CDATA"> + <!-- a character encoding, as per [RFC2045] --> + +<!ENTITY % Charsets "CDATA"> + <!-- a space separated list of character encodings, as per [RFC2045] --> + +<!ENTITY % LanguageCode "NMTOKEN"> + <!-- a language code, as per [RFC1766] --> + +<!ENTITY % Character "CDATA"> + <!-- a single character from [ISO10646] --> + +<!ENTITY % Number "CDATA"> + <!-- one or more digits --> + +<!ENTITY % LinkTypes "CDATA"> + <!-- space-separated list of link types --> + +<!ENTITY % MediaDesc "CDATA"> + <!-- single or comma-separated list of media descriptors --> + +<!ENTITY % URI "CDATA"> + <!-- a Uniform Resource Identifier, see [RFC2396] --> + +<!ENTITY % UriList "CDATA"> + <!-- a space separated list of Uniform Resource Identifiers --> + +<!ENTITY % Datetime "CDATA"> + <!-- date and time information. ISO date format --> + +<!ENTITY % Script "CDATA"> + <!-- script expression --> + +<!ENTITY % StyleSheet "CDATA"> + <!-- style sheet data --> + +<!ENTITY % Text "CDATA"> + <!-- used for titles etc. --> + +<!ENTITY % FrameTarget "NMTOKEN"> + <!-- render in this frame --> + +<!ENTITY % Length "CDATA"> + <!-- nn for pixels or nn% for percentage length --> + +<!ENTITY % MultiLength "CDATA"> + <!-- pixel, percentage, or relative --> + +<!ENTITY % MultiLengths "CDATA"> + <!-- comma-separated list of MultiLength --> + +<!ENTITY % Pixels "CDATA"> + <!-- integer representing length in pixels --> + +<!-- these are used for image maps --> + +<!ENTITY % Shape "(rect|circle|poly|default)"> + +<!ENTITY % Coords "CDATA"> + <!-- comma separated list of lengths --> + +<!-- used for object, applet, img, input and iframe --> +<!ENTITY % ImgAlign "(top|middle|bottom|left|right)"> + +<!-- a color using sRGB: #RRGGBB as Hex values --> +<!ENTITY % Color "CDATA"> + +<!-- There are also 16 widely known color names with their sRGB values: + + Black = #000000 Green = #008000 + Silver = #C0C0C0 Lime = #00FF00 + Gray = #808080 Olive = #808000 + White = #FFFFFF Yellow = #FFFF00 + Maroon = #800000 Navy = #000080 + Red = #FF0000 Blue = #0000FF + Purple = #800080 Teal = #008080 + Fuchsia= #FF00FF Aqua = #00FFFF +--> + +<!--=================== Generic Attributes ===============================--> + +<!-- core attributes common to most elements + id document-wide unique id + class space separated list of classes + style associated style info + title advisory title/amplification +--> +<!ENTITY % coreattrs + "id ID #IMPLIED + class CDATA #IMPLIED + style %StyleSheet; #IMPLIED + title %Text; #IMPLIED" + > + +<!-- internationalization attributes + lang language code (backwards compatible) + xml:lang language code (as per XML 1.0 spec) + dir direction for weak/neutral text +--> +<!ENTITY % i18n + "lang %LanguageCode; #IMPLIED + xml:lang %LanguageCode; #IMPLIED + dir (ltr|rtl) #IMPLIED" + > + +<!-- attributes for common UI events + onclick a pointer button was clicked + ondblclick a pointer button was double clicked + onmousedown a pointer button was pressed down + onmouseup a pointer button was released + onmousemove a pointer was moved onto the element + onmouseout a pointer was moved away from the element + onkeypress a key was pressed and released + onkeydown a key was pressed down + onkeyup a key was released +--> +<!ENTITY % events + "onclick %Script; #IMPLIED + ondblclick %Script; #IMPLIED + onmousedown %Script; #IMPLIED + onmouseup %Script; #IMPLIED + onmouseover %Script; #IMPLIED + onmousemove %Script; #IMPLIED + onmouseout %Script; #IMPLIED + onkeypress %Script; #IMPLIED + onkeydown %Script; #IMPLIED + onkeyup %Script; #IMPLIED" + > + +<!-- attributes for elements that can get the focus + accesskey accessibility key character + tabindex position in tabbing order + onfocus the element got the focus + onblur the element lost the focus +--> +<!ENTITY % focus + "accesskey %Character; #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED" + > + +<!ENTITY % attrs "%coreattrs; %i18n; %events;"> + +<!-- text alignment for p, div, h1-h6. The default is + align="left" for ltr headings, "right" for rtl --> + +<!ENTITY % TextAlign "align (left|center|right) #IMPLIED"> + +<!--=================== Text Elements ====================================--> + +<!ENTITY % special + "br | span | bdo |object | applet | img | map | iframe"> + +<!ENTITY % fontstyle "tt | i | b | big | small | u + | s | strike |font | basefont"> + +<!ENTITY % phrase "em | strong | dfn | code | q | sub | sup | + samp | kbd | var | cite | abbr | acronym"> + +<!ENTITY % inline.forms "input | select | textarea | label | button"> + +<!-- these can occur at block or inline level --> +<!ENTITY % misc "ins | del | script | noscript"> + +<!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;"> + +<!-- %Inline; covers inline or "text-level" elements --> +<!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*"> + +<!--================== Block level elements ==============================--> + +<!ENTITY % heading "h1|h2|h3|h4|h5|h6"> +<!ENTITY % lists "ul | ol | dl | menu | dir"> +<!ENTITY % blocktext "pre | hr | blockquote | address | center"> + +<!ENTITY % block + "p | %heading; | div | %lists; | %blocktext; | isindex | fieldset | table"> + +<!ENTITY % Block "(%block; | form | %misc;)*"> + +<!-- %Flow; mixes Block and Inline and is used for list items etc. --> +<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*"> + +<!--================== Content models for exclusions =====================--> + +<!-- a elements use %Inline; excluding a --> + +<!ENTITY % a.content + "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc;)*"> + +<!-- pre uses %Inline excluding img, object, applet, big, small, + sub, sup, font, or basefont --> + +<!ENTITY % pre.content + "(#PCDATA | a | br | span | bdo | map | tt | i | b | u | s | + %phrase; | %inline.forms;)*"> + +<!-- form uses %Flow; excluding form --> + +<!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*"> + +<!-- button uses %Flow; but excludes a, form, form controls, iframe --> + +<!ENTITY % button.content + "(#PCDATA | p | %heading; | div | %lists; | %blocktext; | + table | br | span | bdo | object | applet | img | map | + %fontstyle; | %phrase; | %misc;)*"> + +<!--================ Document Structure ==================================--> + +<!-- the namespace URI designates the document profile --> + +<!ELEMENT html (head, frameset)> +<!ATTLIST html + %i18n; + xmlns %URI; #FIXED 'http://www.w3.org/1999/xhtml' + > + +<!--================ Document Head =======================================--> + +<!ENTITY % head.misc "(script|style|meta|link|object|isindex)*"> + +<!-- content model is %head.misc; combined with a single + title and an optional base element in any order --> + +<!ELEMENT head (%head.misc;, + ((title, %head.misc;, (base, %head.misc;)?) | + (base, %head.misc;, (title, %head.misc;))))> + +<!ATTLIST head + %i18n; + profile %URI; #IMPLIED + > + +<!-- The title element is not considered part of the flow of text. + It should be displayed, for example as the page header or + window title. Exactly one title is required per document. + --> +<!ELEMENT title (#PCDATA)> +<!ATTLIST title %i18n;> + +<!-- document base URI --> + +<!ELEMENT base EMPTY> +<!ATTLIST base + href %URI; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!-- generic metainformation --> +<!ELEMENT meta EMPTY> +<!ATTLIST meta + %i18n; + http-equiv CDATA #IMPLIED + name CDATA #IMPLIED + content CDATA #REQUIRED + scheme CDATA #IMPLIED + > + +<!-- + Relationship values can be used in principle: + + a) for document specific toolbars/menus when used + with the link element in document head e.g. + start, contents, previous, next, index, end, help + b) to link to a separate style sheet (rel="stylesheet") + c) to make a link to a script (rel="script") + d) by stylesheets to control how collections of + html nodes are rendered into printed documents + e) to make a link to a printable version of this document + e.g. a PostScript or PDF version (rel="alternate" media="print") +--> + +<!ELEMENT link EMPTY> +<!ATTLIST link + %attrs; + charset %Charset; #IMPLIED + href %URI; #IMPLIED + hreflang %LanguageCode; #IMPLIED + type %ContentType; #IMPLIED + rel %LinkTypes; #IMPLIED + rev %LinkTypes; #IMPLIED + media %MediaDesc; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!-- style info, which may include CDATA sections --> +<!ELEMENT style (#PCDATA)> +<!ATTLIST style + %i18n; + type %ContentType; #REQUIRED + media %MediaDesc; #IMPLIED + title %Text; #IMPLIED + xml:space (preserve) #FIXED 'preserve' + > + +<!-- script statements, which may include CDATA sections --> +<!ELEMENT script (#PCDATA)> +<!ATTLIST script + charset %Charset; #IMPLIED + type %ContentType; #REQUIRED + language CDATA #IMPLIED + src %URI; #IMPLIED + defer (defer) #IMPLIED + xml:space (preserve) #FIXED 'preserve' + > + +<!-- alternate content container for non script-based rendering --> + +<!ELEMENT noscript %Flow;> +<!ATTLIST noscript + %attrs; + > + +<!--======================= Frames =======================================--> + +<!-- only one noframes element permitted per document --> + +<!ELEMENT frameset (frameset|frame|noframes)*> +<!ATTLIST frameset + %coreattrs; + rows %MultiLengths; #IMPLIED + cols %MultiLengths; #IMPLIED + onload %Script; #IMPLIED + onunload %Script; #IMPLIED + > + +<!-- reserved frame names start with "_" otherwise starts with letter --> + +<!-- tiled window within frameset --> + +<!ELEMENT frame EMPTY> +<!ATTLIST frame + %coreattrs; + longdesc %URI; #IMPLIED + name NMTOKEN #IMPLIED + src %URI; #IMPLIED + frameborder (1|0) "1" + marginwidth %Pixels; #IMPLIED + marginheight %Pixels; #IMPLIED + noresize (noresize) #IMPLIED + scrolling (yes|no|auto) "auto" + > + +<!-- inline subwindow --> + +<!ELEMENT iframe %Flow;> +<!ATTLIST iframe + %coreattrs; + longdesc %URI; #IMPLIED + name NMTOKEN #IMPLIED + src %URI; #IMPLIED + frameborder (1|0) "1" + marginwidth %Pixels; #IMPLIED + marginheight %Pixels; #IMPLIED + scrolling (yes|no|auto) "auto" + align %ImgAlign; #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + > + +<!-- alternate content container for non frame-based rendering --> + +<!ELEMENT noframes (body)> +<!ATTLIST noframes + %attrs; + > + +<!--=================== Document Body ====================================--> + +<!ELEMENT body %Flow;> +<!ATTLIST body + %attrs; + onload %Script; #IMPLIED + onunload %Script; #IMPLIED + background %URI; #IMPLIED + bgcolor %Color; #IMPLIED + text %Color; #IMPLIED + link %Color; #IMPLIED + vlink %Color; #IMPLIED + alink %Color; #IMPLIED + > + +<!ELEMENT div %Flow;> <!-- generic language/style container --> +<!ATTLIST div + %attrs; + %TextAlign; + > + +<!--=================== Paragraphs =======================================--> + +<!ELEMENT p %Inline;> +<!ATTLIST p + %attrs; + %TextAlign; + > + +<!--=================== Headings =========================================--> + +<!-- + There are six levels of headings from h1 (the most important) + to h6 (the least important). +--> + +<!ELEMENT h1 %Inline;> +<!ATTLIST h1 + %attrs; + %TextAlign; + > + +<!ELEMENT h2 %Inline;> +<!ATTLIST h2 + %attrs; + %TextAlign; + > + +<!ELEMENT h3 %Inline;> +<!ATTLIST h3 + %attrs; + %TextAlign; + > + +<!ELEMENT h4 %Inline;> +<!ATTLIST h4 + %attrs; + %TextAlign; + > + +<!ELEMENT h5 %Inline;> +<!ATTLIST h5 + %attrs; + %TextAlign; + > + +<!ELEMENT h6 %Inline;> +<!ATTLIST h6 + %attrs; + %TextAlign; + > + +<!--=================== Lists ============================================--> + +<!-- Unordered list bullet styles --> + +<!ENTITY % ULStyle "(disc|square|circle)"> + +<!-- Unordered list --> + +<!ELEMENT ul (li)+> +<!ATTLIST ul + %attrs; + type %ULStyle; #IMPLIED + compact (compact) #IMPLIED + > + +<!-- Ordered list numbering style + + 1 arabic numbers 1, 2, 3, ... + a lower alpha a, b, c, ... + A upper alpha A, B, C, ... + i lower roman i, ii, iii, ... + I upper roman I, II, III, ... + + The style is applied to the sequence number which by default + is reset to 1 for the first list item in an ordered list. +--> +<!ENTITY % OLStyle "CDATA"> + +<!-- Ordered (numbered) list --> + +<!ELEMENT ol (li)+> +<!ATTLIST ol + %attrs; + type %OLStyle; #IMPLIED + compact (compact) #IMPLIED + start %Number; #IMPLIED + > + +<!-- single column list (DEPRECATED) --> +<!ELEMENT menu (li)+> +<!ATTLIST menu + %attrs; + compact (compact) #IMPLIED + > + +<!-- multiple column list (DEPRECATED) --> +<!ELEMENT dir (li)+> +<!ATTLIST dir + %attrs; + compact (compact) #IMPLIED + > + +<!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" --> +<!ENTITY % LIStyle "CDATA"> + +<!-- list item --> + +<!ELEMENT li %Flow;> +<!ATTLIST li + %attrs; + type %LIStyle; #IMPLIED + value %Number; #IMPLIED + > + +<!-- definition lists - dt for term, dd for its definition --> + +<!ELEMENT dl (dt|dd)+> +<!ATTLIST dl + %attrs; + compact (compact) #IMPLIED + > + +<!ELEMENT dt %Inline;> +<!ATTLIST dt + %attrs; + > + +<!ELEMENT dd %Flow;> +<!ATTLIST dd + %attrs; + > + +<!--=================== Address ==========================================--> + +<!-- information on author --> + +<!ELEMENT address %Inline;> +<!ATTLIST address + %attrs; + > + +<!--=================== Horizontal Rule ==================================--> + +<!ELEMENT hr EMPTY> +<!ATTLIST hr + %attrs; + align (left|center|right) #IMPLIED + noshade (noshade) #IMPLIED + size %Pixels; #IMPLIED + width %Length; #IMPLIED + > + +<!--=================== Preformatted Text ================================--> + +<!-- content is %Inline; excluding + "img|object|applet|big|small|sub|sup|font|basefont" --> + +<!ELEMENT pre %pre.content;> +<!ATTLIST pre + %attrs; + width %Number; #IMPLIED + xml:space (preserve) #FIXED 'preserve' + > + +<!--=================== Block-like Quotes ================================--> + +<!ELEMENT blockquote %Flow;> +<!ATTLIST blockquote + %attrs; + cite %URI; #IMPLIED + > + +<!--=================== Text alignment ===================================--> + +<!-- center content --> +<!ELEMENT center %Flow;> +<!ATTLIST center + %attrs; + > + +<!--=================== Inserted/Deleted Text ============================--> + + +<!-- + ins/del are allowed in block and inline content, but its + inappropriate to include block content within an ins element + occurring in inline content. +--> +<!ELEMENT ins %Flow;> +<!ATTLIST ins + %attrs; + cite %URI; #IMPLIED + datetime %Datetime; #IMPLIED + > + +<!ELEMENT del %Flow;> +<!ATTLIST del + %attrs; + cite %URI; #IMPLIED + datetime %Datetime; #IMPLIED + > + +<!--================== The Anchor Element ================================--> + +<!-- content is %Inline; except that anchors shouldn't be nested --> + +<!ELEMENT a %a.content;> +<!ATTLIST a + %attrs; + charset %Charset; #IMPLIED + type %ContentType; #IMPLIED + name NMTOKEN #IMPLIED + href %URI; #IMPLIED + hreflang %LanguageCode; #IMPLIED + rel %LinkTypes; #IMPLIED + rev %LinkTypes; #IMPLIED + accesskey %Character; #IMPLIED + shape %Shape; "rect" + coords %Coords; #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!--===================== Inline Elements ================================--> + +<!ELEMENT span %Inline;> <!-- generic language/style container --> +<!ATTLIST span + %attrs; + > + +<!ELEMENT bdo %Inline;> <!-- I18N BiDi over-ride --> +<!ATTLIST bdo + %coreattrs; + %events; + lang %LanguageCode; #IMPLIED + xml:lang %LanguageCode; #IMPLIED + dir (ltr|rtl) #REQUIRED + > + +<!ELEMENT br EMPTY> <!-- forced line break --> +<!ATTLIST br + %coreattrs; + clear (left|all|right|none) "none" + > + +<!ELEMENT em %Inline;> <!-- emphasis --> +<!ATTLIST em %attrs;> + +<!ELEMENT strong %Inline;> <!-- strong emphasis --> +<!ATTLIST strong %attrs;> + +<!ELEMENT dfn %Inline;> <!-- definitional --> +<!ATTLIST dfn %attrs;> + +<!ELEMENT code %Inline;> <!-- program code --> +<!ATTLIST code %attrs;> + +<!ELEMENT samp %Inline;> <!-- sample --> +<!ATTLIST samp %attrs;> + +<!ELEMENT kbd %Inline;> <!-- something user would type --> +<!ATTLIST kbd %attrs;> + +<!ELEMENT var %Inline;> <!-- variable --> +<!ATTLIST var %attrs;> + +<!ELEMENT cite %Inline;> <!-- citation --> +<!ATTLIST cite %attrs;> + +<!ELEMENT abbr %Inline;> <!-- abbreviation --> +<!ATTLIST abbr %attrs;> + +<!ELEMENT acronym %Inline;> <!-- acronym --> +<!ATTLIST acronym %attrs;> + +<!ELEMENT q %Inline;> <!-- inlined quote --> +<!ATTLIST q + %attrs; + cite %URI; #IMPLIED + > + +<!ELEMENT sub %Inline;> <!-- subscript --> +<!ATTLIST sub %attrs;> + +<!ELEMENT sup %Inline;> <!-- superscript --> +<!ATTLIST sup %attrs;> + +<!ELEMENT tt %Inline;> <!-- fixed pitch font --> +<!ATTLIST tt %attrs;> + +<!ELEMENT i %Inline;> <!-- italic font --> +<!ATTLIST i %attrs;> + +<!ELEMENT b %Inline;> <!-- bold font --> +<!ATTLIST b %attrs;> + +<!ELEMENT big %Inline;> <!-- bigger font --> +<!ATTLIST big %attrs;> + +<!ELEMENT small %Inline;> <!-- smaller font --> +<!ATTLIST small %attrs;> + +<!ELEMENT u %Inline;> <!-- underline --> +<!ATTLIST u %attrs;> + +<!ELEMENT s %Inline;> <!-- strike-through --> +<!ATTLIST s %attrs;> + +<!ELEMENT strike %Inline;> <!-- strike-through --> +<!ATTLIST strike %attrs;> + +<!ELEMENT basefont EMPTY> <!-- base font size --> +<!ATTLIST basefont + id ID #IMPLIED + size CDATA #REQUIRED + color %Color; #IMPLIED + face CDATA #IMPLIED + > + +<!ELEMENT font %Inline;> <!-- local change to font --> +<!ATTLIST font + %coreattrs; + %i18n; + size CDATA #IMPLIED + color %Color; #IMPLIED + face CDATA #IMPLIED + > + +<!--==================== Object ======================================--> +<!-- + object is used to embed objects as part of HTML pages. + param elements should precede other content. Parameters + can also be expressed as attribute/value pairs on the + object element itself when brevity is desired. +--> + +<!ELEMENT object (#PCDATA | param | %block; | form |%inline; | %misc;)*> +<!ATTLIST object + %attrs; + declare (declare) #IMPLIED + classid %URI; #IMPLIED + codebase %URI; #IMPLIED + data %URI; #IMPLIED + type %ContentType; #IMPLIED + codetype %ContentType; #IMPLIED + archive %UriList; #IMPLIED + standby %Text; #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + usemap %URI; #IMPLIED + name NMTOKEN #IMPLIED + tabindex %Number; #IMPLIED + align %ImgAlign; #IMPLIED + border %Pixels; #IMPLIED + hspace %Pixels; #IMPLIED + vspace %Pixels; #IMPLIED + > + +<!-- + param is used to supply a named property value. + In XML it would seem natural to follow RDF and support an + abbreviated syntax where the param elements are replaced + by attribute value pairs on the object start tag. +--> +<!ELEMENT param EMPTY> +<!ATTLIST param + id ID #IMPLIED + name CDATA #REQUIRED + value CDATA #IMPLIED + valuetype (data|ref|object) "data" + type %ContentType; #IMPLIED + > + +<!--=================== Java applet ==================================--> +<!-- + One of code or object attributes must be present. + Place param elements before other content. +--> +<!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*> +<!ATTLIST applet + %coreattrs; + codebase %URI; #IMPLIED + archive CDATA #IMPLIED + code CDATA #IMPLIED + object CDATA #IMPLIED + alt %Text; #IMPLIED + name NMTOKEN #IMPLIED + width %Length; #REQUIRED + height %Length; #REQUIRED + align %ImgAlign; #IMPLIED + hspace %Pixels; #IMPLIED + vspace %Pixels; #IMPLIED + > + +<!--=================== Images ===========================================--> + +<!-- + To avoid accessibility problems for people who aren't + able to see the image, you should provide a text + description using the alt and longdesc attributes. + In addition, avoid the use of server-side image maps. +--> + +<!ELEMENT img EMPTY> +<!ATTLIST img + %attrs; + src %URI; #REQUIRED + alt %Text; #REQUIRED + name NMTOKEN #IMPLIED + longdesc %URI; #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + usemap %URI; #IMPLIED + ismap (ismap) #IMPLIED + align %ImgAlign; #IMPLIED + border %Pixels; #IMPLIED + hspace %Pixels; #IMPLIED + vspace %Pixels; #IMPLIED + > + +<!-- usemap points to a map element which may be in this document + or an external document, although the latter is not widely supported --> + +<!--================== Client-side image maps ============================--> + +<!-- These can be placed in the same document or grouped in a + separate document although this isn't yet widely supported --> + +<!ELEMENT map ((%block; | form | %misc;)+ | area+)> +<!ATTLIST map + %i18n; + %events; + id ID #REQUIRED + class CDATA #IMPLIED + style %StyleSheet; #IMPLIED + title %Text; #IMPLIED + name NMTOKEN #IMPLIED + > + +<!ELEMENT area EMPTY> +<!ATTLIST area + %attrs; + shape %Shape; "rect" + coords %Coords; #IMPLIED + href %URI; #IMPLIED + nohref (nohref) #IMPLIED + alt %Text; #REQUIRED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!--================ Forms ===============================================--> + +<!ELEMENT form %form.content;> <!-- forms shouldn't be nested --> + +<!ATTLIST form + %attrs; + action %URI; #REQUIRED + method (get|post) "get" + name NMTOKEN #IMPLIED + enctype %ContentType; "application/x-www-form-urlencoded" + onsubmit %Script; #IMPLIED + onreset %Script; #IMPLIED + accept %ContentTypes; #IMPLIED + accept-charset %Charsets; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!-- + Each label must not contain more than ONE field + Label elements shouldn't be nested. +--> +<!ELEMENT label %Inline;> +<!ATTLIST label + %attrs; + for IDREF #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + > + +<!ENTITY % InputType + "(text | password | checkbox | + radio | submit | reset | + file | hidden | image | button)" + > + +<!-- the name attribute is required for all but submit & reset --> + +<!ELEMENT input EMPTY> <!-- form control --> +<!ATTLIST input + %attrs; + type %InputType; "text" + name CDATA #IMPLIED + value CDATA #IMPLIED + checked (checked) #IMPLIED + disabled (disabled) #IMPLIED + readonly (readonly) #IMPLIED + size CDATA #IMPLIED + maxlength %Number; #IMPLIED + src %URI; #IMPLIED + alt CDATA #IMPLIED + usemap %URI; #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onselect %Script; #IMPLIED + onchange %Script; #IMPLIED + accept %ContentTypes; #IMPLIED + align %ImgAlign; #IMPLIED + > + +<!ELEMENT select (optgroup|option)+> <!-- option selector --> +<!ATTLIST select + %attrs; + name CDATA #IMPLIED + size %Number; #IMPLIED + multiple (multiple) #IMPLIED + disabled (disabled) #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onchange %Script; #IMPLIED + > + +<!ELEMENT optgroup (option)+> <!-- option group --> +<!ATTLIST optgroup + %attrs; + disabled (disabled) #IMPLIED + label %Text; #REQUIRED + > + +<!ELEMENT option (#PCDATA)> <!-- selectable choice --> +<!ATTLIST option + %attrs; + selected (selected) #IMPLIED + disabled (disabled) #IMPLIED + label %Text; #IMPLIED + value CDATA #IMPLIED + > + +<!ELEMENT textarea (#PCDATA)> <!-- multi-line text field --> +<!ATTLIST textarea + %attrs; + name CDATA #IMPLIED + rows %Number; #REQUIRED + cols %Number; #REQUIRED + disabled (disabled) #IMPLIED + readonly (readonly) #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onselect %Script; #IMPLIED + onchange %Script; #IMPLIED + > + +<!-- + The fieldset element is used to group form fields. + Only one legend element should occur in the content + and if present should only be preceded by whitespace. +--> +<!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*> +<!ATTLIST fieldset + %attrs; + > + +<!ENTITY % LAlign "(top|bottom|left|right)"> + +<!ELEMENT legend %Inline;> <!-- fieldset label --> +<!ATTLIST legend + %attrs; + accesskey %Character; #IMPLIED + align %LAlign; #IMPLIED + > + +<!-- + Content is %Flow; excluding a, form, form controls, iframe +--> +<!ELEMENT button %button.content;> <!-- push button --> +<!ATTLIST button + %attrs; + name CDATA #IMPLIED + value CDATA #IMPLIED + type (button|submit|reset) "submit" + disabled (disabled) #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + > + +<!-- single-line text input control (DEPRECATED) --> +<!ELEMENT isindex EMPTY> +<!ATTLIST isindex + %coreattrs; + %i18n; + prompt %Text; #IMPLIED + > + +<!--======================= Tables =======================================--> + +<!-- Derived from IETF HTML table standard, see [RFC1942] --> + +<!-- + The border attribute sets the thickness of the frame around the + table. The default units are screen pixels. + + The frame attribute specifies which parts of the frame around + the table should be rendered. The values are not the same as + CALS to avoid a name clash with the valign attribute. +--> +<!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)"> + +<!-- + The rules attribute defines which rules to draw between cells: + + If rules is absent then assume: + "none" if border is absent or border="0" otherwise "all" +--> + +<!ENTITY % TRules "(none | groups | rows | cols | all)"> + +<!-- horizontal placement of table relative to document --> +<!ENTITY % TAlign "(left|center|right)"> + +<!-- horizontal alignment attributes for cell contents + + char alignment char, e.g. char=":" + charoff offset for alignment char +--> +<!ENTITY % cellhalign + "align (left|center|right|justify|char) #IMPLIED + char %Character; #IMPLIED + charoff %Length; #IMPLIED" + > + +<!-- vertical alignment attributes for cell contents --> +<!ENTITY % cellvalign + "valign (top|middle|bottom|baseline) #IMPLIED" + > + +<!ELEMENT table + (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))> +<!ELEMENT caption %Inline;> +<!ELEMENT thead (tr)+> +<!ELEMENT tfoot (tr)+> +<!ELEMENT tbody (tr)+> +<!ELEMENT colgroup (col)*> +<!ELEMENT col EMPTY> +<!ELEMENT tr (th|td)+> +<!ELEMENT th %Flow;> +<!ELEMENT td %Flow;> + +<!ATTLIST table + %attrs; + summary %Text; #IMPLIED + width %Length; #IMPLIED + border %Pixels; #IMPLIED + frame %TFrame; #IMPLIED + rules %TRules; #IMPLIED + cellspacing %Length; #IMPLIED + cellpadding %Length; #IMPLIED + align %TAlign; #IMPLIED + bgcolor %Color; #IMPLIED + > + +<!ENTITY % CAlign "(top|bottom|left|right)"> + +<!ATTLIST caption + %attrs; + align %CAlign; #IMPLIED + > + +<!-- +colgroup groups a set of col elements. It allows you to group +several semantically related columns together. +--> +<!ATTLIST colgroup + %attrs; + span %Number; "1" + width %MultiLength; #IMPLIED + %cellhalign; + %cellvalign; + > + +<!-- + col elements define the alignment properties for cells in + one or more columns. + + The width attribute specifies the width of the columns, e.g. + + width=64 width in screen pixels + width=0.5* relative width of 0.5 + + The span attribute causes the attributes of one + col element to apply to more than one column. +--> +<!ATTLIST col + %attrs; + span %Number; "1" + width %MultiLength; #IMPLIED + %cellhalign; + %cellvalign; + > + +<!-- + Use thead to duplicate headers when breaking table + across page boundaries, or for static headers when + tbody sections are rendered in scrolling panel. + + Use tfoot to duplicate footers when breaking table + across page boundaries, or for static footers when + tbody sections are rendered in scrolling panel. + + Use multiple tbody sections when rules are needed + between groups of table rows. +--> +<!ATTLIST thead + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tfoot + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tbody + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tr + %attrs; + %cellhalign; + %cellvalign; + bgcolor %Color; #IMPLIED + > + +<!-- Scope is simpler than headers attribute for common tables --> +<!ENTITY % Scope "(row|col|rowgroup|colgroup)"> + +<!-- th is for headers, td for data and for cells acting as both --> + +<!ATTLIST th + %attrs; + abbr %Text; #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope %Scope; #IMPLIED + rowspan %Number; "1" + colspan %Number; "1" + %cellhalign; + %cellvalign; + nowrap (nowrap) #IMPLIED + bgcolor %Color; #IMPLIED + width %Pixels; #IMPLIED + height %Pixels; #IMPLIED + > + +<!ATTLIST td + %attrs; + abbr %Text; #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope %Scope; #IMPLIED + rowspan %Number; "1" + colspan %Number; "1" + %cellhalign; + %cellvalign; + nowrap (nowrap) #IMPLIED + bgcolor %Color; #IMPLIED + width %Pixels; #IMPLIED + height %Pixels; #IMPLIED + > + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-strict.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-strict.dtd new file mode 100644 index 0000000000000000000000000000000000000000..d7c3da2f5a79735119e5c3314b71c5e1376d293d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-strict.dtd @@ -0,0 +1,986 @@ +<!-- + Extensible HTML version 1.0 Strict DTD + + This is the same as HTML 4.0 Strict except for + changes due to the differences between XML and SGML. + + Namespace = http://www.w3.org/1999/xhtml + + For further information, see: http://www.w3.org/TR/xhtml1 + + Copyright (c) 1998-1999 W3C (MIT, INRIA, Keio), + All Rights Reserved. + + This DTD module is identified by the PUBLIC and SYSTEM identifiers: + + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" + + +--> + +<!--================ Character mnemonic entities =========================--> + +<!ENTITY % HTMLlat1 PUBLIC + "-//W3C//ENTITIES Latin 1 for XHTML//EN" + "xhtml-lat1.ent"> +%HTMLlat1; + +<!ENTITY % HTMLsymbol PUBLIC + "-//W3C//ENTITIES Symbols for XHTML//EN" + "xhtml-symbol.ent"> +%HTMLsymbol; + +<!ENTITY % HTMLspecial PUBLIC + "-//W3C//ENTITIES Special for XHTML//EN" + "xhtml-special.ent"> +%HTMLspecial; + +<!--================== Imported Names ====================================--> + +<!ENTITY % ContentType "CDATA"> + <!-- media type, as per [RFC2045] --> + +<!ENTITY % ContentTypes "CDATA"> + <!-- comma-separated list of media types, as per [RFC2045] --> + +<!ENTITY % Charset "CDATA"> + <!-- a character encoding, as per [RFC2045] --> + +<!ENTITY % Charsets "CDATA"> + <!-- a space separated list of character encodings, as per [RFC2045] --> + +<!ENTITY % LanguageCode "NMTOKEN"> + <!-- a language code, as per [RFC1766] --> + +<!ENTITY % Character "CDATA"> + <!-- a single character from [ISO10646] --> + +<!ENTITY % Number "CDATA"> + <!-- one or more digits --> + +<!ENTITY % LinkTypes "CDATA"> + <!-- space-separated list of link types --> + +<!ENTITY % MediaDesc "CDATA"> + <!-- single or comma-separated list of media descriptors --> + +<!ENTITY % URI "CDATA"> + <!-- a Uniform Resource Identifier, see [RFC2396] --> + +<!ENTITY % UriList "CDATA"> + <!-- a space separated list of Uniform Resource Identifiers --> + +<!ENTITY % Datetime "CDATA"> + <!-- date and time information. ISO date format --> + +<!ENTITY % Script "CDATA"> + <!-- script expression --> + +<!ENTITY % StyleSheet "CDATA"> + <!-- style sheet data --> + +<!ENTITY % Text "CDATA"> + <!-- used for titles etc. --> + +<!ENTITY % FrameTarget "NMTOKEN"> + <!-- render in this frame --> + +<!ENTITY % Length "CDATA"> + <!-- nn for pixels or nn% for percentage length --> + +<!ENTITY % MultiLength "CDATA"> + <!-- pixel, percentage, or relative --> + +<!ENTITY % MultiLengths "CDATA"> + <!-- comma-separated list of MultiLength --> + +<!ENTITY % Pixels "CDATA"> + <!-- integer representing length in pixels --> + +<!-- these are used for image maps --> + +<!ENTITY % Shape "(rect|circle|poly|default)"> + +<!ENTITY % Coords "CDATA"> + <!-- comma separated list of lengths --> + +<!--=================== Generic Attributes ===============================--> + +<!-- core attributes common to most elements + id document-wide unique id + class space separated list of classes + style associated style info + title advisory title/amplification +--> +<!ENTITY % coreattrs + "id ID #IMPLIED + class CDATA #IMPLIED + style %StyleSheet; #IMPLIED + title %Text; #IMPLIED" + > + +<!-- internationalization attributes + lang language code (backwards compatible) + xml:lang language code (as per XML 1.0 spec) + dir direction for weak/neutral text +--> +<!ENTITY % i18n + "lang %LanguageCode; #IMPLIED + xml:lang %LanguageCode; #IMPLIED + dir (ltr|rtl) #IMPLIED" + > + +<!-- attributes for common UI events + onclick a pointer button was clicked + ondblclick a pointer button was double clicked + onmousedown a pointer button was pressed down + onmouseup a pointer button was released + onmousemove a pointer was moved onto the element + onmouseout a pointer was moved away from the element + onkeypress a key was pressed and released + onkeydown a key was pressed down + onkeyup a key was released +--> +<!ENTITY % events + "onclick %Script; #IMPLIED + ondblclick %Script; #IMPLIED + onmousedown %Script; #IMPLIED + onmouseup %Script; #IMPLIED + onmouseover %Script; #IMPLIED + onmousemove %Script; #IMPLIED + onmouseout %Script; #IMPLIED + onkeypress %Script; #IMPLIED + onkeydown %Script; #IMPLIED + onkeyup %Script; #IMPLIED" + > + +<!-- attributes for elements that can get the focus + accesskey accessibility key character + tabindex position in tabbing order + onfocus the element got the focus + onblur the element lost the focus +--> +<!ENTITY % focus + "accesskey %Character; #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED" + > + +<!ENTITY % attrs "%coreattrs; %i18n; %events;"> + +<!--=================== Text Elements ====================================--> + +<!ENTITY % special + "br | span | bdo | object | img | map"> + +<!ENTITY % fontstyle "tt | i | b | big | small"> + +<!ENTITY % phrase "em | strong | dfn | code | q | sub | sup | + samp | kbd | var | cite | abbr | acronym"> + +<!ENTITY % inline.forms "input | select | textarea | label | button"> + +<!-- these can occur at block or inline level --> +<!ENTITY % misc "ins | del | script | noscript"> + +<!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;"> + +<!-- %Inline; covers inline or "text-level" elements --> +<!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*"> + +<!--================== Block level elements ==============================--> + +<!ENTITY % heading "h1|h2|h3|h4|h5|h6"> +<!ENTITY % lists "ul | ol | dl"> +<!ENTITY % blocktext "pre | hr | blockquote | address"> + +<!ENTITY % block + "p | %heading; | div | %lists; | %blocktext; | fieldset | table"> + +<!ENTITY % Block "(%block; | form | %misc;)*"> + +<!-- %Flow; mixes Block and Inline and is used for list items etc. --> +<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*"> + +<!--================== Content models for exclusions =====================--> + +<!-- a elements use %Inline; excluding a --> + +<!ENTITY % a.content + "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc;)*"> + +<!-- pre uses %Inline excluding img, object, big, small, sup or sup --> + +<!ENTITY % pre.content + "(#PCDATA | a | br | span | bdo | map | tt | i | b | + %phrase; | %inline.forms;)*"> + +<!-- form uses %Block; excluding form --> + +<!ENTITY % form.content "(%block; | %misc;)*"> + +<!-- button uses %Flow; but excludes a, form and form controls --> + +<!ENTITY % button.content + "(#PCDATA | p | %heading; | div | %lists; | %blocktext; | + table | %special; | %fontstyle; | %phrase; | %misc;)*"> + +<!--================ Document Structure ==================================--> + +<!-- the namespace URI designates the document profile --> + +<!ELEMENT html (head, body)> +<!ATTLIST html + %i18n; + xmlns %URI; #FIXED 'http://www.w3.org/1999/xhtml' + > + +<!--================ Document Head =======================================--> + +<!ENTITY % head.misc "(script|style|meta|link|object)*"> + +<!-- content model is %head.misc; combined with a single + title and an optional base element in any order --> + +<!ELEMENT head (%head.misc;, + ((title, %head.misc;, (base, %head.misc;)?) | + (base, %head.misc;, (title, %head.misc;))))> + +<!ATTLIST head + %i18n; + profile %URI; #IMPLIED + > + +<!-- The title element is not considered part of the flow of text. + It should be displayed, for example as the page header or + window title. Exactly one title is required per document. + --> +<!ELEMENT title (#PCDATA)> +<!ATTLIST title %i18n;> + +<!-- document base URI --> + +<!ELEMENT base EMPTY> +<!ATTLIST base + href %URI; #IMPLIED + > + +<!-- generic metainformation --> +<!ELEMENT meta EMPTY> +<!ATTLIST meta + %i18n; + http-equiv CDATA #IMPLIED + name CDATA #IMPLIED + content CDATA #REQUIRED + scheme CDATA #IMPLIED + > + +<!-- + Relationship values can be used in principle: + + a) for document specific toolbars/menus when used + with the link element in document head e.g. + start, contents, previous, next, index, end, help + b) to link to a separate style sheet (rel="stylesheet") + c) to make a link to a script (rel="script") + d) by stylesheets to control how collections of + html nodes are rendered into printed documents + e) to make a link to a printable version of this document + e.g. a PostScript or PDF version (rel="alternate" media="print") +--> + +<!ELEMENT link EMPTY> +<!ATTLIST link + %attrs; + charset %Charset; #IMPLIED + href %URI; #IMPLIED + hreflang %LanguageCode; #IMPLIED + type %ContentType; #IMPLIED + rel %LinkTypes; #IMPLIED + rev %LinkTypes; #IMPLIED + media %MediaDesc; #IMPLIED + > + +<!-- style info, which may include CDATA sections --> +<!ELEMENT style (#PCDATA)> +<!ATTLIST style + %i18n; + type %ContentType; #REQUIRED + media %MediaDesc; #IMPLIED + title %Text; #IMPLIED + xml:space (preserve) #FIXED 'preserve' + > + +<!-- script statements, which may include CDATA sections --> +<!ELEMENT script (#PCDATA)> +<!ATTLIST script + charset %Charset; #IMPLIED + type %ContentType; #REQUIRED + src %URI; #IMPLIED + defer (defer) #IMPLIED + xml:space (preserve) #FIXED 'preserve' + > + +<!-- alternate content container for non script-based rendering --> + +<!ELEMENT noscript %Block;> +<!ATTLIST noscript + %attrs; + > + +<!--=================== Document Body ====================================--> + +<!ELEMENT body %Block;> +<!ATTLIST body + %attrs; + onload %Script; #IMPLIED + onunload %Script; #IMPLIED + > + +<!ELEMENT div %Flow;> <!-- generic language/style container --> +<!ATTLIST div + %attrs; + > + +<!--=================== Paragraphs =======================================--> + +<!ELEMENT p %Inline;> +<!ATTLIST p + %attrs; + > + +<!--=================== Headings =========================================--> + +<!-- + There are six levels of headings from h1 (the most important) + to h6 (the least important). +--> + +<!ELEMENT h1 %Inline;> +<!ATTLIST h1 + %attrs; + > + +<!ELEMENT h2 %Inline;> +<!ATTLIST h2 + %attrs; + > + +<!ELEMENT h3 %Inline;> +<!ATTLIST h3 + %attrs; + > + +<!ELEMENT h4 %Inline;> +<!ATTLIST h4 + %attrs; + > + +<!ELEMENT h5 %Inline;> +<!ATTLIST h5 + %attrs; + > + +<!ELEMENT h6 %Inline;> +<!ATTLIST h6 + %attrs; + > + +<!--=================== Lists ============================================--> + +<!-- Unordered list --> + +<!ELEMENT ul (li)+> +<!ATTLIST ul + %attrs; + > + +<!-- Ordered (numbered) list --> + +<!ELEMENT ol (li)+> +<!ATTLIST ol + %attrs; + > + +<!-- list item --> + +<!ELEMENT li %Flow;> +<!ATTLIST li + %attrs; + > + +<!-- definition lists - dt for term, dd for its definition --> + +<!ELEMENT dl (dt|dd)+> +<!ATTLIST dl + %attrs; + > + +<!ELEMENT dt %Inline;> +<!ATTLIST dt + %attrs; + > + +<!ELEMENT dd %Flow;> +<!ATTLIST dd + %attrs; + > + +<!--=================== Address ==========================================--> + +<!-- information on author --> + +<!ELEMENT address %Inline;> +<!ATTLIST address + %attrs; + > + +<!--=================== Horizontal Rule ==================================--> + +<!ELEMENT hr EMPTY> +<!ATTLIST hr + %attrs; + > + +<!--=================== Preformatted Text ================================--> + +<!-- content is %Inline; excluding "img|object|big|small|sub|sup" --> + +<!ELEMENT pre %pre.content;> +<!ATTLIST pre + %attrs; + xml:space (preserve) #FIXED 'preserve' + > + +<!--=================== Block-like Quotes ================================--> + +<!ELEMENT blockquote %Block;> +<!ATTLIST blockquote + %attrs; + cite %URI; #IMPLIED + > + +<!--=================== Inserted/Deleted Text ============================--> + +<!-- + ins/del are allowed in block and inline content, but its + inappropriate to include block content within an ins element + occurring in inline content. +--> +<!ELEMENT ins %Flow;> +<!ATTLIST ins + %attrs; + cite %URI; #IMPLIED + datetime %Datetime; #IMPLIED + > + +<!ELEMENT del %Flow;> +<!ATTLIST del + %attrs; + cite %URI; #IMPLIED + datetime %Datetime; #IMPLIED + > + +<!--================== The Anchor Element ================================--> + +<!-- content is %Inline; except that anchors shouldn't be nested --> + +<!ELEMENT a %a.content;> +<!ATTLIST a + %attrs; + charset %Charset; #IMPLIED + type %ContentType; #IMPLIED + name NMTOKEN #IMPLIED + href %URI; #IMPLIED + hreflang %LanguageCode; #IMPLIED + rel %LinkTypes; #IMPLIED + rev %LinkTypes; #IMPLIED + accesskey %Character; #IMPLIED + shape %Shape; "rect" + coords %Coords; #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + > + +<!--===================== Inline Elements ================================--> + +<!ELEMENT span %Inline;> <!-- generic language/style container --> +<!ATTLIST span + %attrs; + > + +<!ELEMENT bdo %Inline;> <!-- I18N BiDi over-ride --> +<!ATTLIST bdo + %coreattrs; + %events; + lang %LanguageCode; #IMPLIED + xml:lang %LanguageCode; #IMPLIED + dir (ltr|rtl) #REQUIRED + > + +<!ELEMENT br EMPTY> <!-- forced line break --> +<!ATTLIST br + %coreattrs; + > + +<!ELEMENT em %Inline;> <!-- emphasis --> +<!ATTLIST em %attrs;> + +<!ELEMENT strong %Inline;> <!-- strong emphasis --> +<!ATTLIST strong %attrs;> + +<!ELEMENT dfn %Inline;> <!-- definitional --> +<!ATTLIST dfn %attrs;> + +<!ELEMENT code %Inline;> <!-- program code --> +<!ATTLIST code %attrs;> + +<!ELEMENT samp %Inline;> <!-- sample --> +<!ATTLIST samp %attrs;> + +<!ELEMENT kbd %Inline;> <!-- something user would type --> +<!ATTLIST kbd %attrs;> + +<!ELEMENT var %Inline;> <!-- variable --> +<!ATTLIST var %attrs;> + +<!ELEMENT cite %Inline;> <!-- citation --> +<!ATTLIST cite %attrs;> + +<!ELEMENT abbr %Inline;> <!-- abbreviation --> +<!ATTLIST abbr %attrs;> + +<!ELEMENT acronym %Inline;> <!-- acronym --> +<!ATTLIST acronym %attrs;> + +<!ELEMENT q %Inline;> <!-- inlined quote --> +<!ATTLIST q + %attrs; + cite %URI; #IMPLIED + > + +<!ELEMENT sub %Inline;> <!-- subscript --> +<!ATTLIST sub %attrs;> + +<!ELEMENT sup %Inline;> <!-- superscript --> +<!ATTLIST sup %attrs;> + +<!ELEMENT tt %Inline;> <!-- fixed pitch font --> +<!ATTLIST tt %attrs;> + +<!ELEMENT i %Inline;> <!-- italic font --> +<!ATTLIST i %attrs;> + +<!ELEMENT b %Inline;> <!-- bold font --> +<!ATTLIST b %attrs;> + +<!ELEMENT big %Inline;> <!-- bigger font --> +<!ATTLIST big %attrs;> + +<!ELEMENT small %Inline;> <!-- smaller font --> +<!ATTLIST small %attrs;> + +<!--==================== Object ======================================--> +<!-- + object is used to embed objects as part of HTML pages. + param elements should precede other content. Parameters + can also be expressed as attribute/value pairs on the + object element itself when brevity is desired. +--> + +<!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*> +<!ATTLIST object + %attrs; + declare (declare) #IMPLIED + classid %URI; #IMPLIED + codebase %URI; #IMPLIED + data %URI; #IMPLIED + type %ContentType; #IMPLIED + codetype %ContentType; #IMPLIED + archive %UriList; #IMPLIED + standby %Text; #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + usemap %URI; #IMPLIED + name NMTOKEN #IMPLIED + tabindex %Number; #IMPLIED + > + +<!-- + param is used to supply a named property value. + In XML it would seem natural to follow RDF and support an + abbreviated syntax where the param elements are replaced + by attribute value pairs on the object start tag. +--> +<!ELEMENT param EMPTY> +<!ATTLIST param + id ID #IMPLIED + name CDATA #IMPLIED + value CDATA #IMPLIED + valuetype (data|ref|object) "data" + type %ContentType; #IMPLIED + > + +<!--=================== Images ===========================================--> + +<!-- + To avoid accessibility problems for people who aren't + able to see the image, you should provide a text + description using the alt and longdesc attributes. + In addition, avoid the use of server-side image maps. + Note that in this DTD there is no name attribute. That + is only available in the transitional and frameset DTD. +--> + +<!ELEMENT img EMPTY> +<!ATTLIST img + %attrs; + src %URI; #REQUIRED + alt %Text; #REQUIRED + longdesc %URI; #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + usemap %URI; #IMPLIED + ismap (ismap) #IMPLIED + > + +<!-- usemap points to a map element which may be in this document + or an external document, although the latter is not widely supported --> + +<!--================== Client-side image maps ============================--> + +<!-- These can be placed in the same document or grouped in a + separate document although this isn't yet widely supported --> + +<!ELEMENT map ((%block; | form | %misc;)+ | area+)> +<!ATTLIST map + %i18n; + %events; + id ID #REQUIRED + class CDATA #IMPLIED + style %StyleSheet; #IMPLIED + title %Text; #IMPLIED + name NMTOKEN #IMPLIED + > + +<!ELEMENT area EMPTY> +<!ATTLIST area + %attrs; + shape %Shape; "rect" + coords %Coords; #IMPLIED + href %URI; #IMPLIED + nohref (nohref) #IMPLIED + alt %Text; #REQUIRED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + > + +<!--================ Forms ===============================================--> +<!ELEMENT form %form.content;> <!-- forms shouldn't be nested --> + +<!ATTLIST form + %attrs; + action %URI; #REQUIRED + method (get|post) "get" + enctype %ContentType; "application/x-www-form-urlencoded" + onsubmit %Script; #IMPLIED + onreset %Script; #IMPLIED + accept %ContentTypes; #IMPLIED + accept-charset %Charsets; #IMPLIED + > + +<!-- + Each label must not contain more than ONE field + Label elements shouldn't be nested. +--> +<!ELEMENT label %Inline;> +<!ATTLIST label + %attrs; + for IDREF #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + > + +<!ENTITY % InputType + "(text | password | checkbox | + radio | submit | reset | + file | hidden | image | button)" + > + +<!-- the name attribute is required for all but submit & reset --> + +<!ELEMENT input EMPTY> <!-- form control --> +<!ATTLIST input + %attrs; + type %InputType; "text" + name CDATA #IMPLIED + value CDATA #IMPLIED + checked (checked) #IMPLIED + disabled (disabled) #IMPLIED + readonly (readonly) #IMPLIED + size CDATA #IMPLIED + maxlength %Number; #IMPLIED + src %URI; #IMPLIED + alt CDATA #IMPLIED + usemap %URI; #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onselect %Script; #IMPLIED + onchange %Script; #IMPLIED + accept %ContentTypes; #IMPLIED + > + +<!ELEMENT select (optgroup|option)+> <!-- option selector --> +<!ATTLIST select + %attrs; + name CDATA #IMPLIED + size %Number; #IMPLIED + multiple (multiple) #IMPLIED + disabled (disabled) #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onchange %Script; #IMPLIED + > + +<!ELEMENT optgroup (option)+> <!-- option group --> +<!ATTLIST optgroup + %attrs; + disabled (disabled) #IMPLIED + label %Text; #REQUIRED + > + +<!ELEMENT option (#PCDATA)> <!-- selectable choice --> +<!ATTLIST option + %attrs; + selected (selected) #IMPLIED + disabled (disabled) #IMPLIED + label %Text; #IMPLIED + value CDATA #IMPLIED + > + +<!ELEMENT textarea (#PCDATA)> <!-- multi-line text field --> +<!ATTLIST textarea + %attrs; + name CDATA #IMPLIED + rows %Number; #REQUIRED + cols %Number; #REQUIRED + disabled (disabled) #IMPLIED + readonly (readonly) #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onselect %Script; #IMPLIED + onchange %Script; #IMPLIED + > + +<!-- + The fieldset element is used to group form fields. + Only one legend element should occur in the content + and if present should only be preceded by whitespace. +--> +<!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*> +<!ATTLIST fieldset + %attrs; + > + +<!ELEMENT legend %Inline;> <!-- fieldset label --> +<!ATTLIST legend + %attrs; + accesskey %Character; #IMPLIED + > + +<!-- + Content is %Flow; excluding a, form and form controls +--> +<!ELEMENT button %button.content;> <!-- push button --> +<!ATTLIST button + %attrs; + name CDATA #IMPLIED + value CDATA #IMPLIED + type (button|submit|reset) "submit" + disabled (disabled) #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + > + +<!--======================= Tables =======================================--> + +<!-- Derived from IETF HTML table standard, see [RFC1942] --> + +<!-- + The border attribute sets the thickness of the frame around the + table. The default units are screen pixels. + + The frame attribute specifies which parts of the frame around + the table should be rendered. The values are not the same as + CALS to avoid a name clash with the valign attribute. +--> +<!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)"> + +<!-- + The rules attribute defines which rules to draw between cells: + + If rules is absent then assume: + "none" if border is absent or border="0" otherwise "all" +--> + +<!ENTITY % TRules "(none | groups | rows | cols | all)"> + +<!-- horizontal placement of table relative to document --> +<!ENTITY % TAlign "(left|center|right)"> + +<!-- horizontal alignment attributes for cell contents + + char alignment char, e.g. char=':' + charoff offset for alignment char +--> +<!ENTITY % cellhalign + "align (left|center|right|justify|char) #IMPLIED + char %Character; #IMPLIED + charoff %Length; #IMPLIED" + > + +<!-- vertical alignment attributes for cell contents --> +<!ENTITY % cellvalign + "valign (top|middle|bottom|baseline) #IMPLIED" + > + +<!ELEMENT table + (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))> +<!ELEMENT caption %Inline;> +<!ELEMENT thead (tr)+> +<!ELEMENT tfoot (tr)+> +<!ELEMENT tbody (tr)+> +<!ELEMENT colgroup (col)*> +<!ELEMENT col EMPTY> +<!ELEMENT tr (th|td)+> +<!ELEMENT th %Flow;> +<!ELEMENT td %Flow;> + +<!ATTLIST table + %attrs; + summary %Text; #IMPLIED + width %Length; #IMPLIED + border %Pixels; #IMPLIED + frame %TFrame; #IMPLIED + rules %TRules; #IMPLIED + cellspacing %Length; #IMPLIED + cellpadding %Length; #IMPLIED + > + +<!ENTITY % CAlign "(top|bottom|left|right)"> + +<!ATTLIST caption + %attrs; + > + +<!-- +colgroup groups a set of col elements. It allows you to group +several semantically related columns together. +--> +<!ATTLIST colgroup + %attrs; + span %Number; "1" + width %MultiLength; #IMPLIED + %cellhalign; + %cellvalign; + > + +<!-- + col elements define the alignment properties for cells in + one or more columns. + + The width attribute specifies the width of the columns, e.g. + + width=64 width in screen pixels + width=0.5* relative width of 0.5 + + The span attribute causes the attributes of one + col element to apply to more than one column. +--> +<!ATTLIST col + %attrs; + span %Number; "1" + width %MultiLength; #IMPLIED + %cellhalign; + %cellvalign; + > + +<!-- + Use thead to duplicate headers when breaking table + across page boundaries, or for static headers when + tbody sections are rendered in scrolling panel. + + Use tfoot to duplicate footers when breaking table + across page boundaries, or for static footers when + tbody sections are rendered in scrolling panel. + + Use multiple tbody sections when rules are needed + between groups of table rows. +--> +<!ATTLIST thead + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tfoot + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tbody + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tr + %attrs; + %cellhalign; + %cellvalign; + > + + +<!-- Scope is simpler than headers attribute for common tables --> +<!ENTITY % Scope "(row|col|rowgroup|colgroup)"> + +<!-- th is for headers, td for data and for cells acting as both --> + +<!ATTLIST th + %attrs; + abbr %Text; #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope %Scope; #IMPLIED + rowspan %Number; "1" + colspan %Number; "1" + %cellhalign; + %cellvalign; + > + +<!ATTLIST td + %attrs; + abbr %Text; #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope %Scope; #IMPLIED + rowspan %Number; "1" + colspan %Number; "1" + %cellhalign; + %cellvalign; + > + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-transitional.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-transitional.dtd new file mode 100644 index 0000000000000000000000000000000000000000..def8d6643499a0a6dcb5e5a4a35aa8676eca5c86 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1-transitional.dtd @@ -0,0 +1,1194 @@ +<!-- + Extensible HTML version 1.0 Transitional DTD + + This is the same as HTML 4.0 Transitional except for + changes due to the differences between XML and SGML. + + Namespace = http://www.w3.org/1999/xhtml + + For further information, see: http://www.w3.org/TR/xhtml1 + + Copyright (c) 1998-1999 W3C (MIT, INRIA, Keio), + All Rights Reserved. + + This DTD module is identified by the PUBLIC and SYSTEM identifiers: + + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" + + +--> + +<!--================ Character mnemonic entities =========================--> + +<!ENTITY % HTMLlat1 PUBLIC + "-//W3C//ENTITIES Latin 1 for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent"> +%HTMLlat1; + +<!ENTITY % HTMLsymbol PUBLIC + "-//W3C//ENTITIES Symbols for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent"> +%HTMLsymbol; + +<!ENTITY % HTMLspecial PUBLIC + "-//W3C//ENTITIES Special for XHTML//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent"> +%HTMLspecial; + +<!--================== Imported Names ====================================--> + +<!ENTITY % ContentType "CDATA"> + <!-- media type, as per [RFC2045] --> + +<!ENTITY % ContentTypes "CDATA"> + <!-- comma-separated list of media types, as per [RFC2045] --> + +<!ENTITY % Charset "CDATA"> + <!-- a character encoding, as per [RFC2045] --> + +<!ENTITY % Charsets "CDATA"> + <!-- a space separated list of character encodings, as per [RFC2045] --> + +<!ENTITY % LanguageCode "NMTOKEN"> + <!-- a language code, as per [RFC1766] --> + +<!ENTITY % Character "CDATA"> + <!-- a single character from [ISO10646] --> + +<!ENTITY % Number "CDATA"> + <!-- one or more digits --> + +<!ENTITY % LinkTypes "CDATA"> + <!-- space-separated list of link types --> + +<!ENTITY % MediaDesc "CDATA"> + <!-- single or comma-separated list of media descriptors --> + +<!ENTITY % URI "CDATA"> + <!-- a Uniform Resource Identifier, see [RFC2396] --> + +<!ENTITY % UriList "CDATA"> + <!-- a space separated list of Uniform Resource Identifiers --> + +<!ENTITY % Datetime "CDATA"> + <!-- date and time information. ISO date format --> + +<!ENTITY % Script "CDATA"> + <!-- script expression --> + +<!ENTITY % StyleSheet "CDATA"> + <!-- style sheet data --> + +<!ENTITY % Text "CDATA"> + <!-- used for titles etc. --> + +<!ENTITY % FrameTarget "NMTOKEN"> + <!-- render in this frame --> + +<!ENTITY % Length "CDATA"> + <!-- nn for pixels or nn% for percentage length --> + +<!ENTITY % MultiLength "CDATA"> + <!-- pixel, percentage, or relative --> + +<!ENTITY % MultiLengths "CDATA"> + <!-- comma-separated list of MultiLength --> + +<!ENTITY % Pixels "CDATA"> + <!-- integer representing length in pixels --> + +<!-- these are used for image maps --> + +<!ENTITY % Shape "(rect|circle|poly|default)"> + +<!ENTITY % Coords "CDATA"> + <!-- comma separated list of lengths --> + +<!-- used for object, applet, img, input and iframe --> +<!ENTITY % ImgAlign "(top|middle|bottom|left|right)"> + +<!-- a color using sRGB: #RRGGBB as Hex values --> +<!ENTITY % Color "CDATA"> + +<!-- There are also 16 widely known color names with their sRGB values: + + Black = #000000 Green = #008000 + Silver = #C0C0C0 Lime = #00FF00 + Gray = #808080 Olive = #808000 + White = #FFFFFF Yellow = #FFFF00 + Maroon = #800000 Navy = #000080 + Red = #FF0000 Blue = #0000FF + Purple = #800080 Teal = #008080 + Fuchsia= #FF00FF Aqua = #00FFFF +--> + +<!--=================== Generic Attributes ===============================--> + +<!-- core attributes common to most elements + id document-wide unique id + class space separated list of classes + style associated style info + title advisory title/amplification +--> +<!ENTITY % coreattrs + "id ID #IMPLIED + class CDATA #IMPLIED + style %StyleSheet; #IMPLIED + title %Text; #IMPLIED" + > + +<!-- internationalization attributes + lang language code (backwards compatible) + xml:lang language code (as per XML 1.0 spec) + dir direction for weak/neutral text +--> +<!ENTITY % i18n + "lang %LanguageCode; #IMPLIED + xml:lang %LanguageCode; #IMPLIED + dir (ltr|rtl) #IMPLIED" + > + +<!-- attributes for common UI events + onclick a pointer button was clicked + ondblclick a pointer button was double clicked + onmousedown a pointer button was pressed down + onmouseup a pointer button was released + onmousemove a pointer was moved onto the element + onmouseout a pointer was moved away from the element + onkeypress a key was pressed and released + onkeydown a key was pressed down + onkeyup a key was released +--> +<!ENTITY % events + "onclick %Script; #IMPLIED + ondblclick %Script; #IMPLIED + onmousedown %Script; #IMPLIED + onmouseup %Script; #IMPLIED + onmouseover %Script; #IMPLIED + onmousemove %Script; #IMPLIED + onmouseout %Script; #IMPLIED + onkeypress %Script; #IMPLIED + onkeydown %Script; #IMPLIED + onkeyup %Script; #IMPLIED" + > + +<!-- attributes for elements that can get the focus + accesskey accessibility key character + tabindex position in tabbing order + onfocus the element got the focus + onblur the element lost the focus +--> +<!ENTITY % focus + "accesskey %Character; #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED" + > + +<!ENTITY % attrs "%coreattrs; %i18n; %events;"> + +<!-- text alignment for p, div, h1-h6. The default is + align="left" for ltr headings, "right" for rtl --> + +<!ENTITY % TextAlign "align (left|center|right) #IMPLIED"> + +<!--=================== Text Elements ====================================--> + +<!ENTITY % special + "br | span | bdo | object | applet | img | map | iframe"> + +<!ENTITY % fontstyle "tt | i | b | big | small | u + | s | strike |font | basefont"> + +<!ENTITY % phrase "em | strong | dfn | code | q | sub | sup | + samp | kbd | var | cite | abbr | acronym"> + +<!ENTITY % inline.forms "input | select | textarea | label | button"> + +<!-- these can occur at block or inline level --> +<!ENTITY % misc "ins | del | script | noscript"> + +<!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;"> + +<!-- %Inline; covers inline or "text-level" elements --> +<!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*"> + +<!--================== Block level elements ==============================--> + +<!ENTITY % heading "h1|h2|h3|h4|h5|h6"> +<!ENTITY % lists "ul | ol | dl | menu | dir"> +<!ENTITY % blocktext "pre | hr | blockquote | address | center | noframes"> + +<!ENTITY % block + "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table"> + +<!ENTITY % Block "(%block; | form | %misc;)*"> + +<!-- %Flow; mixes Block and Inline and is used for list items etc. --> +<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*"> + +<!--================== Content models for exclusions =====================--> + +<!-- a elements use %Inline; excluding a --> + +<!ENTITY % a.content + "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc;)*"> + +<!-- pre uses %Inline excluding img, object, applet, big, small, + sub, sup, font, or basefont --> + +<!ENTITY % pre.content + "(#PCDATA | a | br | span | bdo | map | tt | i | b | u | s | + %phrase; | %inline.forms;)*"> + +<!-- form uses %Flow; excluding form --> + +<!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*"> + +<!-- button uses %Flow; but excludes a, form, form controls, iframe --> + +<!ENTITY % button.content + "(#PCDATA | p | %heading; | div | %lists; | %blocktext; | + table | br | span | bdo | object | applet | img | map | + %fontstyle; | %phrase; | %misc;)*"> + +<!--================ Document Structure ==================================--> + +<!-- the namespace URI designates the document profile --> + +<!ELEMENT html (head, body)> +<!ATTLIST html + %i18n; + xmlns %URI; #FIXED 'http://www.w3.org/1999/xhtml' + > + +<!--================ Document Head =======================================--> + +<!ENTITY % head.misc "(script|style|meta|link|object|isindex)*"> + +<!-- content model is %head.misc; combined with a single + title and an optional base element in any order --> + +<!ELEMENT head (%head.misc;, + ((title, %head.misc;, (base, %head.misc;)?) | + (base, %head.misc;, (title, %head.misc;))))> + +<!ATTLIST head + %i18n; + profile %URI; #IMPLIED + > + +<!-- The title element is not considered part of the flow of text. + It should be displayed, for example as the page header or + window title. Exactly one title is required per document. + --> +<!ELEMENT title (#PCDATA)> +<!ATTLIST title %i18n;> + +<!-- document base URI --> + +<!ELEMENT base EMPTY> +<!ATTLIST base + href %URI; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!-- generic metainformation --> +<!ELEMENT meta EMPTY> +<!ATTLIST meta + %i18n; + http-equiv CDATA #IMPLIED + name CDATA #IMPLIED + content CDATA #REQUIRED + scheme CDATA #IMPLIED + > + +<!-- + Relationship values can be used in principle: + + a) for document specific toolbars/menus when used + with the link element in document head e.g. + start, contents, previous, next, index, end, help + b) to link to a separate style sheet (rel="stylesheet") + c) to make a link to a script (rel="script") + d) by stylesheets to control how collections of + html nodes are rendered into printed documents + e) to make a link to a printable version of this document + e.g. a PostScript or PDF version (rel="alternate" media="print") +--> + +<!ELEMENT link EMPTY> +<!ATTLIST link + %attrs; + charset %Charset; #IMPLIED + href %URI; #IMPLIED + hreflang %LanguageCode; #IMPLIED + type %ContentType; #IMPLIED + rel %LinkTypes; #IMPLIED + rev %LinkTypes; #IMPLIED + media %MediaDesc; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!-- style info, which may include CDATA sections --> +<!ELEMENT style (#PCDATA)> +<!ATTLIST style + %i18n; + type %ContentType; #REQUIRED + media %MediaDesc; #IMPLIED + title %Text; #IMPLIED + xml:space (preserve) #FIXED 'preserve' + > + +<!-- script statements, which may include CDATA sections --> +<!ELEMENT script (#PCDATA)> +<!ATTLIST script + charset %Charset; #IMPLIED + type %ContentType; #REQUIRED + language CDATA #IMPLIED + src %URI; #IMPLIED + defer (defer) #IMPLIED + xml:space (preserve) #FIXED 'preserve' + > + +<!-- alternate content container for non script-based rendering --> + +<!ELEMENT noscript %Flow;> +<!ATTLIST noscript + %attrs; + > + +<!--======================= Frames =======================================--> + +<!-- inline subwindow --> + +<!ELEMENT iframe %Flow;> +<!ATTLIST iframe + %coreattrs; + longdesc %URI; #IMPLIED + name NMTOKEN #IMPLIED + src %URI; #IMPLIED + frameborder (1|0) "1" + marginwidth %Pixels; #IMPLIED + marginheight %Pixels; #IMPLIED + scrolling (yes|no|auto) "auto" + align %ImgAlign; #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + > + +<!-- alternate content container for non frame-based rendering --> + +<!ELEMENT noframes %Flow;> +<!ATTLIST noframes + %attrs; + > + +<!--=================== Document Body ====================================--> + +<!ELEMENT body %Flow;> +<!ATTLIST body + %attrs; + onload %Script; #IMPLIED + onunload %Script; #IMPLIED + background %URI; #IMPLIED + bgcolor %Color; #IMPLIED + text %Color; #IMPLIED + link %Color; #IMPLIED + vlink %Color; #IMPLIED + alink %Color; #IMPLIED + > + +<!ELEMENT div %Flow;> <!-- generic language/style container --> +<!ATTLIST div + %attrs; + %TextAlign; + > + +<!--=================== Paragraphs =======================================--> + +<!ELEMENT p %Inline;> +<!ATTLIST p + %attrs; + %TextAlign; + > + +<!--=================== Headings =========================================--> + +<!-- + There are six levels of headings from h1 (the most important) + to h6 (the least important). +--> + +<!ELEMENT h1 %Inline;> +<!ATTLIST h1 + %attrs; + %TextAlign; + > + +<!ELEMENT h2 %Inline;> +<!ATTLIST h2 + %attrs; + %TextAlign; + > + +<!ELEMENT h3 %Inline;> +<!ATTLIST h3 + %attrs; + %TextAlign; + > + +<!ELEMENT h4 %Inline;> +<!ATTLIST h4 + %attrs; + %TextAlign; + > + +<!ELEMENT h5 %Inline;> +<!ATTLIST h5 + %attrs; + %TextAlign; + > + +<!ELEMENT h6 %Inline;> +<!ATTLIST h6 + %attrs; + %TextAlign; + > + +<!--=================== Lists ============================================--> + +<!-- Unordered list bullet styles --> + +<!ENTITY % ULStyle "(disc|square|circle)"> + +<!-- Unordered list --> + +<!ELEMENT ul (li)+> +<!ATTLIST ul + %attrs; + type %ULStyle; #IMPLIED + compact (compact) #IMPLIED + > + +<!-- Ordered list numbering style + + 1 arabic numbers 1, 2, 3, ... + a lower alpha a, b, c, ... + A upper alpha A, B, C, ... + i lower roman i, ii, iii, ... + I upper roman I, II, III, ... + + The style is applied to the sequence number which by default + is reset to 1 for the first list item in an ordered list. +--> +<!ENTITY % OLStyle "CDATA"> + +<!-- Ordered (numbered) list --> + +<!ELEMENT ol (li)+> +<!ATTLIST ol + %attrs; + type %OLStyle; #IMPLIED + compact (compact) #IMPLIED + start %Number; #IMPLIED + > + +<!-- single column list (DEPRECATED) --> +<!ELEMENT menu (li)+> +<!ATTLIST menu + %attrs; + compact (compact) #IMPLIED + > + +<!-- multiple column list (DEPRECATED) --> +<!ELEMENT dir (li)+> +<!ATTLIST dir + %attrs; + compact (compact) #IMPLIED + > + +<!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" --> +<!ENTITY % LIStyle "CDATA"> + +<!-- list item --> + +<!ELEMENT li %Flow;> +<!ATTLIST li + %attrs; + type %LIStyle; #IMPLIED + value %Number; #IMPLIED + > + +<!-- definition lists - dt for term, dd for its definition --> + +<!ELEMENT dl (dt|dd)+> +<!ATTLIST dl + %attrs; + compact (compact) #IMPLIED + > + +<!ELEMENT dt %Inline;> +<!ATTLIST dt + %attrs; + > + +<!ELEMENT dd %Flow;> +<!ATTLIST dd + %attrs; + > + +<!--=================== Address ==========================================--> + +<!-- information on author --> + +<!ELEMENT address %Inline;> +<!ATTLIST address + %attrs; + > + +<!--=================== Horizontal Rule ==================================--> + +<!ELEMENT hr EMPTY> +<!ATTLIST hr + %attrs; + align (left|center|right) #IMPLIED + noshade (noshade) #IMPLIED + size %Pixels; #IMPLIED + width %Length; #IMPLIED + > + +<!--=================== Preformatted Text ================================--> + +<!-- content is %Inline; excluding + "img|object|applet|big|small|sub|sup|font|basefont" --> + +<!ELEMENT pre %pre.content;> +<!ATTLIST pre + %attrs; + width %Number; #IMPLIED + xml:space (preserve) #FIXED 'preserve' + > + +<!--=================== Block-like Quotes ================================--> + +<!ELEMENT blockquote %Flow;> +<!ATTLIST blockquote + %attrs; + cite %URI; #IMPLIED + > + +<!--=================== Text alignment ===================================--> + +<!-- center content --> +<!ELEMENT center %Flow;> +<!ATTLIST center + %attrs; + > + +<!--=================== Inserted/Deleted Text ============================--> + +<!-- + ins/del are allowed in block and inline content, but its + inappropriate to include block content within an ins element + occurring in inline content. +--> +<!ELEMENT ins %Flow;> +<!ATTLIST ins + %attrs; + cite %URI; #IMPLIED + datetime %Datetime; #IMPLIED + > + +<!ELEMENT del %Flow;> +<!ATTLIST del + %attrs; + cite %URI; #IMPLIED + datetime %Datetime; #IMPLIED + > + +<!--================== The Anchor Element ================================--> + +<!-- content is %Inline; except that anchors shouldn't be nested --> + +<!ELEMENT a %a.content;> +<!ATTLIST a + %attrs; + charset %Charset; #IMPLIED + type %ContentType; #IMPLIED + name NMTOKEN #IMPLIED + href %URI; #IMPLIED + hreflang %LanguageCode; #IMPLIED + rel %LinkTypes; #IMPLIED + rev %LinkTypes; #IMPLIED + accesskey %Character; #IMPLIED + shape %Shape; "rect" + coords %Coords; #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!--===================== Inline Elements ================================--> + +<!ELEMENT span %Inline;> <!-- generic language/style container --> +<!ATTLIST span + %attrs; + > + +<!ELEMENT bdo %Inline;> <!-- I18N BiDi over-ride --> +<!ATTLIST bdo + %coreattrs; + %events; + lang %LanguageCode; #IMPLIED + xml:lang %LanguageCode; #IMPLIED + dir (ltr|rtl) #REQUIRED + > + +<!ELEMENT br EMPTY> <!-- forced line break --> +<!ATTLIST br + %coreattrs; + clear (left|all|right|none) "none" + > + +<!ELEMENT em %Inline;> <!-- emphasis --> +<!ATTLIST em %attrs;> + +<!ELEMENT strong %Inline;> <!-- strong emphasis --> +<!ATTLIST strong %attrs;> + +<!ELEMENT dfn %Inline;> <!-- definitional --> +<!ATTLIST dfn %attrs;> + +<!ELEMENT code %Inline;> <!-- program code --> +<!ATTLIST code %attrs;> + +<!ELEMENT samp %Inline;> <!-- sample --> +<!ATTLIST samp %attrs;> + +<!ELEMENT kbd %Inline;> <!-- something user would type --> +<!ATTLIST kbd %attrs;> + +<!ELEMENT var %Inline;> <!-- variable --> +<!ATTLIST var %attrs;> + +<!ELEMENT cite %Inline;> <!-- citation --> +<!ATTLIST cite %attrs;> + +<!ELEMENT abbr %Inline;> <!-- abbreviation --> +<!ATTLIST abbr %attrs;> + +<!ELEMENT acronym %Inline;> <!-- acronym --> +<!ATTLIST acronym %attrs;> + +<!ELEMENT q %Inline;> <!-- inlined quote --> +<!ATTLIST q + %attrs; + cite %URI; #IMPLIED + > + +<!ELEMENT sub %Inline;> <!-- subscript --> +<!ATTLIST sub %attrs;> + +<!ELEMENT sup %Inline;> <!-- superscript --> +<!ATTLIST sup %attrs;> + +<!ELEMENT tt %Inline;> <!-- fixed pitch font --> +<!ATTLIST tt %attrs;> + +<!ELEMENT i %Inline;> <!-- italic font --> +<!ATTLIST i %attrs;> + +<!ELEMENT b %Inline;> <!-- bold font --> +<!ATTLIST b %attrs;> + +<!ELEMENT big %Inline;> <!-- bigger font --> +<!ATTLIST big %attrs;> + +<!ELEMENT small %Inline;> <!-- smaller font --> +<!ATTLIST small %attrs;> + +<!ELEMENT u %Inline;> <!-- underline --> +<!ATTLIST u %attrs;> + +<!ELEMENT s %Inline;> <!-- strike-through --> +<!ATTLIST s %attrs;> + +<!ELEMENT strike %Inline;> <!-- strike-through --> +<!ATTLIST strike %attrs;> + +<!ELEMENT basefont EMPTY> <!-- base font size --> +<!ATTLIST basefont + id ID #IMPLIED + size CDATA #REQUIRED + color %Color; #IMPLIED + face CDATA #IMPLIED + > + +<!ELEMENT font %Inline;> <!-- local change to font --> +<!ATTLIST font + %coreattrs; + %i18n; + size CDATA #IMPLIED + color %Color; #IMPLIED + face CDATA #IMPLIED + > + +<!--==================== Object ======================================--> +<!-- + object is used to embed objects as part of HTML pages. + param elements should precede other content. Parameters + can also be expressed as attribute/value pairs on the + object element itself when brevity is desired. +--> + +<!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*> +<!ATTLIST object + %attrs; + declare (declare) #IMPLIED + classid %URI; #IMPLIED + codebase %URI; #IMPLIED + data %URI; #IMPLIED + type %ContentType; #IMPLIED + codetype %ContentType; #IMPLIED + archive %UriList; #IMPLIED + standby %Text; #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + usemap %URI; #IMPLIED + name NMTOKEN #IMPLIED + tabindex %Number; #IMPLIED + align %ImgAlign; #IMPLIED + border %Pixels; #IMPLIED + hspace %Pixels; #IMPLIED + vspace %Pixels; #IMPLIED + > + +<!-- + param is used to supply a named property value. + In XML it would seem natural to follow RDF and support an + abbreviated syntax where the param elements are replaced + by attribute value pairs on the object start tag. +--> +<!ELEMENT param EMPTY> +<!ATTLIST param + id ID #IMPLIED + name CDATA #REQUIRED + value CDATA #IMPLIED + valuetype (data|ref|object) "data" + type %ContentType; #IMPLIED + > + +<!--=================== Java applet ==================================--> +<!-- + One of code or object attributes must be present. + Place param elements before other content. +--> +<!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*> +<!ATTLIST applet + %coreattrs; + codebase %URI; #IMPLIED + archive CDATA #IMPLIED + code CDATA #IMPLIED + object CDATA #IMPLIED + alt %Text; #IMPLIED + name NMTOKEN #IMPLIED + width %Length; #REQUIRED + height %Length; #REQUIRED + align %ImgAlign; #IMPLIED + hspace %Pixels; #IMPLIED + vspace %Pixels; #IMPLIED + > + +<!--=================== Images ===========================================--> + +<!-- + To avoid accessibility problems for people who aren't + able to see the image, you should provide a text + description using the alt and longdesc attributes. + In addition, avoid the use of server-side image maps. +--> + +<!ELEMENT img EMPTY> +<!ATTLIST img + %attrs; + src %URI; #REQUIRED + alt %Text; #REQUIRED + name NMTOKEN #IMPLIED + longdesc %URI; #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + usemap %URI; #IMPLIED + ismap (ismap) #IMPLIED + align %ImgAlign; #IMPLIED + border %Length; #IMPLIED + hspace %Pixels; #IMPLIED + vspace %Pixels; #IMPLIED + > + +<!-- usemap points to a map element which may be in this document + or an external document, although the latter is not widely supported --> + +<!--================== Client-side image maps ============================--> + +<!-- These can be placed in the same document or grouped in a + separate document although this isn't yet widely supported --> + +<!ELEMENT map ((%block; | form | %misc;)+ | area+)> +<!ATTLIST map + %i18n; + %events; + id ID #REQUIRED + class CDATA #IMPLIED + style %StyleSheet; #IMPLIED + title %Text; #IMPLIED + name CDATA #IMPLIED + > + +<!ELEMENT area EMPTY> +<!ATTLIST area + %attrs; + shape %Shape; "rect" + coords %Coords; #IMPLIED + href %URI; #IMPLIED + nohref (nohref) #IMPLIED + alt %Text; #REQUIRED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!--================ Forms ===============================================--> + +<!ELEMENT form %form.content;> <!-- forms shouldn't be nested --> + +<!ATTLIST form + %attrs; + action %URI; #REQUIRED + method (get|post) "get" + name NMTOKEN #IMPLIED + enctype %ContentType; "application/x-www-form-urlencoded" + onsubmit %Script; #IMPLIED + onreset %Script; #IMPLIED + accept %ContentTypes; #IMPLIED + accept-charset %Charsets; #IMPLIED + target %FrameTarget; #IMPLIED + > + +<!-- + Each label must not contain more than ONE field + Label elements shouldn't be nested. +--> +<!ELEMENT label %Inline;> +<!ATTLIST label + %attrs; + for IDREF #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + > + +<!ENTITY % InputType + "(text | password | checkbox | + radio | submit | reset | + file | hidden | image | button)" + > + +<!-- the name attribute is required for all but submit & reset --> + +<!ELEMENT input EMPTY> <!-- form control --> +<!ATTLIST input + %attrs; + type %InputType; "text" + name CDATA #IMPLIED + value CDATA #IMPLIED + checked (checked) #IMPLIED + disabled (disabled) #IMPLIED + readonly (readonly) #IMPLIED + size CDATA #IMPLIED + maxlength %Number; #IMPLIED + src %URI; #IMPLIED + alt CDATA #IMPLIED + usemap %URI; #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onselect %Script; #IMPLIED + onchange %Script; #IMPLIED + accept %ContentTypes; #IMPLIED + align %ImgAlign; #IMPLIED + > + +<!ELEMENT select (optgroup|option)+> <!-- option selector --> +<!ATTLIST select + %attrs; + name CDATA #IMPLIED + size %Number; #IMPLIED + multiple (multiple) #IMPLIED + disabled (disabled) #IMPLIED + tabindex %Number; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onchange %Script; #IMPLIED + > + +<!ELEMENT optgroup (option)+> <!-- option group --> +<!ATTLIST optgroup + %attrs; + disabled (disabled) #IMPLIED + label %Text; #REQUIRED + > + +<!ELEMENT option (#PCDATA)> <!-- selectable choice --> +<!ATTLIST option + %attrs; + selected (selected) #IMPLIED + disabled (disabled) #IMPLIED + label %Text; #IMPLIED + value CDATA #IMPLIED + > + +<!ELEMENT textarea (#PCDATA)> <!-- multi-line text field --> +<!ATTLIST textarea + %attrs; + name CDATA #IMPLIED + rows %Number; #REQUIRED + cols %Number; #REQUIRED + disabled (disabled) #IMPLIED + readonly (readonly) #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + onselect %Script; #IMPLIED + onchange %Script; #IMPLIED + > + +<!-- + The fieldset element is used to group form fields. + Only one legend element should occur in the content + and if present should only be preceded by whitespace. +--> +<!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*> +<!ATTLIST fieldset + %attrs; + > + +<!ENTITY % LAlign "(top|bottom|left|right)"> + +<!ELEMENT legend %Inline;> <!-- fieldset label --> +<!ATTLIST legend + %attrs; + accesskey %Character; #IMPLIED + align %LAlign; #IMPLIED + > + +<!-- + Content is %Flow; excluding a, form, form controls, iframe +--> +<!ELEMENT button %button.content;> <!-- push button --> +<!ATTLIST button + %attrs; + name CDATA #IMPLIED + value CDATA #IMPLIED + type (button|submit|reset) "submit" + disabled (disabled) #IMPLIED + tabindex %Number; #IMPLIED + accesskey %Character; #IMPLIED + onfocus %Script; #IMPLIED + onblur %Script; #IMPLIED + > + +<!-- single-line text input control (DEPRECATED) --> +<!ELEMENT isindex EMPTY> +<!ATTLIST isindex + %coreattrs; + %i18n; + prompt %Text; #IMPLIED + > + +<!--======================= Tables =======================================--> + +<!-- Derived from IETF HTML table standard, see [RFC1942] --> + +<!-- + The border attribute sets the thickness of the frame around the + table. The default units are screen pixels. + + The frame attribute specifies which parts of the frame around + the table should be rendered. The values are not the same as + CALS to avoid a name clash with the valign attribute. +--> +<!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)"> + +<!-- + The rules attribute defines which rules to draw between cells: + + If rules is absent then assume: + "none" if border is absent or border="0" otherwise "all" +--> + +<!ENTITY % TRules "(none | groups | rows | cols | all)"> + +<!-- horizontal placement of table relative to document --> +<!ENTITY % TAlign "(left|center|right)"> + +<!-- horizontal alignment attributes for cell contents + + char alignment char, e.g. char=':' + charoff offset for alignment char +--> +<!ENTITY % cellhalign + "align (left|center|right|justify|char) #IMPLIED + char %Character; #IMPLIED + charoff %Length; #IMPLIED" + > + +<!-- vertical alignment attributes for cell contents --> +<!ENTITY % cellvalign + "valign (top|middle|bottom|baseline) #IMPLIED" + > + +<!ELEMENT table + (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))> +<!ELEMENT caption %Inline;> +<!ELEMENT thead (tr)+> +<!ELEMENT tfoot (tr)+> +<!ELEMENT tbody (tr)+> +<!ELEMENT colgroup (col)*> +<!ELEMENT col EMPTY> +<!ELEMENT tr (th|td)+> +<!ELEMENT th %Flow;> +<!ELEMENT td %Flow;> + +<!ATTLIST table + %attrs; + summary %Text; #IMPLIED + width %Length; #IMPLIED + border %Pixels; #IMPLIED + frame %TFrame; #IMPLIED + rules %TRules; #IMPLIED + cellspacing %Length; #IMPLIED + cellpadding %Length; #IMPLIED + align %TAlign; #IMPLIED + bgcolor %Color; #IMPLIED + > + +<!ENTITY % CAlign "(top|bottom|left|right)"> + +<!ATTLIST caption + %attrs; + align %CAlign; #IMPLIED + > + +<!-- +colgroup groups a set of col elements. It allows you to group +several semantically related columns together. +--> +<!ATTLIST colgroup + %attrs; + span %Number; "1" + width %MultiLength; #IMPLIED + %cellhalign; + %cellvalign; + > + +<!-- + col elements define the alignment properties for cells in + one or more columns. + + The width attribute specifies the width of the columns, e.g. + + width=64 width in screen pixels + width=0.5* relative width of 0.5 + + The span attribute causes the attributes of one + col element to apply to more than one column. +--> +<!ATTLIST col + %attrs; + span %Number; "1" + width %MultiLength; #IMPLIED + %cellhalign; + %cellvalign; + > + +<!-- + Use thead to duplicate headers when breaking table + across page boundaries, or for static headers when + tbody sections are rendered in scrolling panel. + + Use tfoot to duplicate footers when breaking table + across page boundaries, or for static footers when + tbody sections are rendered in scrolling panel. + + Use multiple tbody sections when rules are needed + between groups of table rows. +--> +<!ATTLIST thead + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tfoot + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tbody + %attrs; + %cellhalign; + %cellvalign; + > + +<!ATTLIST tr + %attrs; + %cellhalign; + %cellvalign; + bgcolor %Color; #IMPLIED + > + +<!-- Scope is simpler than headers attribute for common tables --> +<!ENTITY % Scope "(row|col|rowgroup|colgroup)"> + +<!-- th is for headers, td for data and for cells acting as both --> + +<!ATTLIST th + %attrs; + abbr %Text; #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope %Scope; #IMPLIED + rowspan %Number; "1" + colspan %Number; "1" + %cellhalign; + %cellvalign; + nowrap (nowrap) #IMPLIED + bgcolor %Color; #IMPLIED + width %Pixels; #IMPLIED + height %Pixels; #IMPLIED + > + +<!ATTLIST td + %attrs; + abbr %Text; #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope %Scope; #IMPLIED + rowspan %Number; "1" + colspan %Number; "1" + %cellhalign; + %cellvalign; + nowrap (nowrap) #IMPLIED + bgcolor %Color; #IMPLIED + width %Pixels; #IMPLIED + height %Pixels; #IMPLIED + > + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1.dcl b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1.dcl new file mode 100644 index 0000000000000000000000000000000000000000..fed210309215a3c7a8f447d85bdd9bca12ba5916 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xhtml1.dcl @@ -0,0 +1,179 @@ +<!SGML -- SGML Declaration for valid XML documents -- + "ISO 8879:1986 (WWW)" + + CHARSET + BASESET + "ISO Registration Number 176//CHARSET + ISO/IEC 10646-1:1993 UCS-4 with implementation + level 3//ESC 2/5 2/15 4/6" + DESCSET + 0 9 UNUSED + 9 2 9 + 11 2 UNUSED + 13 1 13 + 14 18 UNUSED + 32 95 32 + 127 1 UNUSED + 128 32 UNUSED + -- use this instead of the official declaration because SP only + supports 16-bit characters -- + 160 65374 160 + 65534 2 UNUSED + -- 55296 2048 UNUSED + 57344 8190 57344 + 65534 2 UNUSED + 65536 1048576 65536 -- + CAPACITY NONE + + SCOPE DOCUMENT + + SYNTAX + SHUNCHAR NONE + BASESET "ISO Registration Number 176//CHARSET + ISO/IEC 10646-1:1993 UCS-4 with implementation + level 3//ESC 2/5 2/15 4/6" + DESCSET + 0 1114112 0 + FUNCTION + RE 13 + RS 10 + SPACE 32 + TAB SEPCHAR 9 + + NAMING + LCNMSTRT "" + UCNMSTRT "" + NAMESTRT + 58 95 192-214 216-246 248-305 308-318 321-328 + 330-382 384-451 461-496 500-501 506-535 592-680 + 699-705 902 904-906 908 910-929 931-974 976-982 + 986 988 990 992 994-1011 1025-1036 1038-1103 + 1105-1116 1118-1153 1168-1220 1223-1224 + 1227-1228 1232-1259 1262-1269 1272-1273 + 1329-1366 1369 1377-1414 1488-1514 1520-1522 + 1569-1594 1601-1610 1649-1719 1722-1726 + 1728-1742 1744-1747 1749 1765-1766 2309-2361 + 2365 2392-2401 2437-2444 2447-2448 2451-2472 + 2474-2480 2482 2486-2489 2524-2525 2527-2529 + 2544-2545 2565-2570 2575-2576 2579-2600 + 2602-2608 2610-2611 2613-2614 2616-2617 + 2649-2652 2654 2674-2676 2693-2699 2701 + 2703-2705 2707-2728 2730-2736 2738-2739 + 2741-2745 2749 2784 2821-2828 2831-2832 + 2835-2856 2858-2864 2866-2867 2870-2873 2877 + 2908-2909 2911-2913 2949-2954 2958-2960 + 2962-2965 2969-2970 2972 2974-2975 2979-2980 + 2984-2986 2990-2997 2999-3001 3077-3084 + 3086-3088 3090-3112 3114-3123 3125-3129 + 3168-3169 3205-3212 3214-3216 3218-3240 + 3242-3251 3253-3257 3294 3296-3297 3333-3340 + 3342-3344 3346-3368 3370-3385 3424-3425 + 3585-3630 3632 3634-3635 3648-3653 3713-3714 + 3716 3719-3720 3722 3725 3732-3735 3737-3743 + 3745-3747 3749 3751 3754-3755 3757-3758 3760 + 3762-3763 3773 3776-3780 3904-3911 3913-3945 + 4256-4293 4304-4342 4352 4354-4355 4357-4359 + 4361 4363-4364 4366-4370 4412 4414 4416 4428 + 4430 4432 4436-4437 4441 4447-4449 4451 4453 + 4455 4457 4461-4462 4466-4467 4469 4510 4520 + 4523 4526-4527 4535-4536 4538 4540-4546 4587 + 4592 4601 7680-7835 7840-7929 7936-7957 + 7960-7965 7968-8005 8008-8013 8016-8023 8025 + 8027 8029 8031-8061 8064-8116 8118-8124 8126 + 8130-8132 8134-8140 8144-8147 8150-8155 + 8160-8172 8178-8180 8182-8188 8486 8490-8491 + 8494 8576-8578 12295 12321-12329 12353-12436 + 12449-12538 12549-12588 19968-40869 44032-55203 + + LCNMCHAR "" + UCNMCHAR "" + NAMECHAR + 45-46 183 720-721 768-837 864-865 903 1155-1158 + 1425-1441 1443-1465 1467-1469 1471 1473-1474 + 1476 1600 1611-1618 1632-1641 1648 1750-1764 + 1767-1768 1770-1773 1776-1785 2305-2307 2364 + 2366-2381 2385-2388 2402-2403 2406-2415 + 2433-2435 2492 2494-2500 2503-2504 2507-2509 + 2519 2530-2531 2534-2543 2562 2620 2622-2626 + 2631-2632 2635-2637 2662-2673 2689-2691 2748 + 2750-2757 2759-2761 2763-2765 2790-2799 + 2817-2819 2876 2878-2883 2887-2888 2891-2893 + 2902-2903 2918-2927 2946-2947 3006-3010 + 3014-3016 3018-3021 3031 3047-3055 3073-3075 + 3134-3140 3142-3144 3146-3149 3157-3158 + 3174-3183 3202-3203 3262-3268 3270-3272 + 3274-3277 3285-3286 3302-3311 3330-3331 + 3390-3395 3398-3400 3402-3405 3415 3430-3439 + 3633 3636-3642 3654-3662 3664-3673 3761 + 3764-3769 3771-3772 3782 3784-3789 3792-3801 + 3864-3865 3872-3881 3893 3895 3897 3902-3903 + 3953-3972 3974-3979 3984-3989 3991 3993-4013 + 4017-4023 4025 8400-8412 8417 12293 12330-12335 + 12337-12341 12441-12442 12445-12446 12540-12542 + + NAMECASE + GENERAL NO + ENTITY NO + + DELIM + GENERAL SGMLREF + HCRO "&#38;#x" -- 38 is the number for ampersand -- + NESTC "/" + NET ">" + PIC "?>" + SHORTREF NONE + + NAMES + SGMLREF + + QUANTITY NONE + + ENTITIES + "amp" 38 + "lt" 60 + "gt" 62 + "quot" 34 + "apos" 39 + + FEATURES + MINIMIZE + DATATAG NO + OMITTAG NO + RANK NO + SHORTTAG + STARTTAG + EMPTY NO + UNCLOSED NO + NETENABL IMMEDNET + ENDTAG + EMPTY NO + UNCLOSED NO + ATTRIB + DEFAULT YES + OMITNAME NO + VALUE NO + EMPTYNRM YES + IMPLYDEF + ATTLIST NO + DOCTYPE NO + ELEMENT NO + ENTITY NO + NOTATION NO + LINK + SIMPLE NO + IMPLICIT NO + EXPLICIT NO + OTHER + CONCUR NO + SUBDOC NO + FORMAL NO + URN NO + KEEPRSRE YES + VALIDITY TYPE + ENTITIES + REF ANY + INTEGRAL YES + APPINFO NONE + SEEALSO "ISO 8879:1986//NOTATION + Extensible Markup Language (XML) 1.0//EN" +> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xmlspec.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xmlspec.dtd new file mode 100644 index 0000000000000000000000000000000000000000..55cfba6dccfe5ee4a66c7a28655804192100f6c0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/dtds/xmlspec.dtd @@ -0,0 +1,1102 @@ +<!-- ............................................................... --> +<!-- XML specification DTD ......................................... --> +<!-- ............................................................... --> + +<!-- +TYPICAL INVOCATION: +# <!DOCTYPE spec PUBLIC +# "-//W3C//DTD Specification::19980521//EN" +# "http://www.w3.org/XML/1998/06/xmlspec-19980521.dtd"> + +PURPOSE: + This DTD was developed for use with the XML family of W3C + specifications. It is an XML-compliant DTD based in part on + the TEI Lite and Sweb DTDs. + +DEPENDENCIES: + None. + +CHANGE HISTORY: + The list of changes is at the end of the DTD. + + For all details, see the design report at: + +# <http://www.w3.org/XML/1998/06/xmlspec-report-19980521.htm> + + The "typical invocation" FPI always gets updated to reflect the + date of the most recent changes. + + Search this file for "#" in the first column to see change history + comments. + +MAINTAINER: + Eve Maler + ArborText Inc. + elm@arbortext.com + voice: +1 781 270 5750 + fax: +1 781 273 3760 +--> + +<!-- ............................................................... --> +<!-- Entities for characters and symbols ........................... --> + +<!-- +#1998-03-10: maler: Added &ldquo; and &rdquo;. +# Used 8879:1986-compatible decimal character +# references. +# Merged charent.mod file back into main file. +#1998-05-14: maler: Fixed ldquo and rdquo. Gave mdash a real number. +--> + +<!ENTITY lt "&#38;#60;"> +<!ENTITY gt "&#62;"> +<!ENTITY amp "&#38;#38;"> +<!ENTITY apos "&#39;"> +<!ENTITY quot "&#34;"> +<!ENTITY nbsp "&#160;"> +<!-- +<!ENTITY mdash "&#x2014;"> +<!ENTITY ldquo "&#x201C;"> +<!ENTITY rdquo "&#x201D;"> +--> + +<!-- ............................................................... --> +<!-- Entities for classes of standalone elements ................... --> + +<!-- +#1997-10-16: maler: Added table to %illus.class;. +#1997-11-28: maler: Added htable to %illus.class;. +#1997-12-29: maler: IGNOREd table. +#1998-03-10: maler: Removed SGML Open-specific %illus.class;. +# Added "local" entities for customization. +#1998-05-14: maler: Added issue to %note.class;. +# Removed %[local.]statusp.class;. +#1998-05-21: maler: Added constraintnote to %note.class;. +--> + +<!ENTITY % local.p.class ""> +<!ENTITY % p.class "p + %local.p.class;"> + +<!ENTITY % local.list.class ""> +<!ENTITY % list.class "ulist|olist|slist|glist + %local.list.class;"> + +<!ENTITY % local.speclist.class ""> +<!ENTITY % speclist.class "orglist|blist + %local.speclist.class;"> + +<!ENTITY % local.note.class ""> +<!ENTITY % note.class "note|issue|wfcnote|vcnote + |constraintnote %local.note.class;"> + +<!ENTITY % local.illus.class ""> +<!ENTITY % illus.class "eg|graphic|scrap|htable + %local.illus.class;"> + +<!-- ............................................................... --> +<!-- Entities for classes of phrase-level elements ................. --> + +<!-- +#1997-12-29: maler: Added xspecref to %ref.class;. +#1998-03-10: maler: Added %ednote.class;. +# Added "local" entities for customization. +--> + +<!ENTITY % local.annot.class ""> +<!ENTITY % annot.class "footnote + %local.annot.class;"> + +<!ENTITY % local.termdef.class ""> +<!ENTITY % termdef.class "termdef|term + %local.termdef.class;"> + +<!ENTITY % local.emph.class ""> +<!ENTITY % emph.class "emph|quote + %local.emph.class;"> + +<!ENTITY % local.ref.class ""> +<!ENTITY % ref.class "bibref|specref|termref|titleref + |xspecref|xtermref + %local.ref.class;"> + +<!ENTITY % local.loc.class ""> +<!ENTITY % loc.class "loc + %local.loc.class;"> + +<!ENTITY % local.tech.class ""> +<!ENTITY % tech.class "kw|nt|xnt|code + %local.tech.class;"> + +<!ENTITY % local.ednote.class ""> +<!ENTITY % ednote.class "ednote + %local.ednote.class;"> + +<!-- ............................................................... --> +<!-- Entities for mixtures of standalone elements .................. --> + +<!-- +#1997-09-30: maler: Created %p.mix; to eliminate p from self. +#1997-09-30: maler: Added %speclist.class; to %obj.mix; and %p.mix;. +#1997-09-30: maler: Added %note.class; to %obj.mix; and %p.mix;. +#1997-10-16: maler: Created %entry.mix;. Note that some elements +# left out here are still allowed in termdef, +# which entry can contain through %p.pcd.mix;. +#1997-11-28: maler: Added %p.class; to %statusobj.mix;. +#1998-03-10: maler: Added %ednote.class; to all mixtures, except +# %p.mix; and %statusobj.mix;, because paragraphs +# and status paragraphs will contain ednote +# through %p.pcd.mix;. +#1998-03-23: maler: Added %termdef.mix; (broken out from +# %termdef.pcd.mix;). +#1998-05-14: maler: Removed %statusobj.mix; and all mentions of +# %statusp.mix;. +--> + +<!ENTITY % div.mix + "%p.class;|%list.class;|%speclist.class;|%note.class; + |%illus.class;|%ednote.class;"> +<!ENTITY % obj.mix + "%p.class;|%list.class;|%speclist.class;|%note.class; + |%illus.class;|%ednote.class;"> +<!ENTITY % p.mix + "%list.class;|%speclist.class;|%note.class;|%illus.class;"> +<!ENTITY % entry.mix + "%list.class;|note|eg|graphic|%ednote.class;"> +<!ENTITY % hdr.mix + "%p.class;|%list.class;|%ednote.class;"> +<!ENTITY % termdef.mix + "%note.class;|%illus.class;"> + +<!-- ............................................................... --> +<!-- Entities for mixtures of #PCDATA and phrase-level elements .... --> + +<!-- Note that %termdef.pcd.mix contains %note.class; + and %illus.class;, considered standalone elements. --> + +<!-- +#1997-09-30: maler: Added scrap and %note.class; to %termdef.pcd.mix;. +#1997-11-28: maler: Added %loc.class; to %p.pcd.mix;. +#1998-03-10: maler: Added %ednote.class; to all mixtures. +#1998-03-23: maler: Moved some %termdef.pcd.mix; stuff out to +# %termdef.mix;. +#1998-05-14: maler: Removed %statusp.pcd.mix;. +#1998-05-21: maler: Added constraint element to %eg.pcd.mix;. +--> + +<!ENTITY % p.pcd.mix + "#PCDATA|%annot.class;|%termdef.class;|%emph.class; + |%ref.class;|%tech.class;|%loc.class;|%ednote.class;"> +<!ENTITY % head.pcd.mix + "#PCDATA|%annot.class;|%emph.class;|%tech.class;|%ednote.class;"> +<!ENTITY % label.pcd.mix + "#PCDATA|%annot.class;|%termdef.class;|%emph.class;|%tech.class; + |%ednote.class;"> +<!ENTITY % eg.pcd.mix + "#PCDATA|%annot.class;|%emph.class;|%ednote.class;|constraint"> +<!ENTITY % termdef.pcd.mix + "#PCDATA|term|%emph.class;|%ref.class;|%tech.class; + |%ednote.class;"> +<!ENTITY % bibl.pcd.mix + "#PCDATA|%emph.class;|%ref.class;|%loc.class;|%ednote.class;"> +<!ENTITY % tech.pcd.mix + "#PCDATA|%ednote.class;"> +<!ENTITY % loc.pcd.mix + "#PCDATA|%loc.class;|%ednote.class;"> + +<!-- ............................................................... --> +<!-- Entities for customizable content models ...................... --> + +<!-- +#1998-03-10: maler: Added customization entities. +#1998-05-14: maler: Allowed prevlocs and latestloc in either order. +--> + +<!ENTITY % spec.mdl + "header, front?, body, back?"> + +<!ENTITY % header.mdl + "title, subtitle?, version, w3c-designation, w3c-doctype, + pubdate, notice*, publoc, ((prevlocs, latestloc?) | + (latestloc, prevlocs?))?, authlist, status, abstract, + pubstmt?, sourcedesc?, langusage, revisiondesc"> + +<!ENTITY % pubdate.mdl + "day?, month, year"> + +<!-- ............................................................... --> +<!-- Entities for common attributes ................................ --> + +<!-- key attribute: + Optionally provides a sorting or indexing key, for cases when + the element content is inappropriate for this purpose. --> +<!ENTITY % key.att + 'key CDATA #IMPLIED'> + +<!-- def attribute: + Points to the element where the relevant definition can be + found, using the IDREF mechanism. %def.att; is for optional + def attributes, and %def-req.att; is for required def + attributes. --> +<!ENTITY % def.att + 'def IDREF #IMPLIED'> +<!ENTITY % def-req.att + 'def IDREF #REQUIRED'> + +<!-- ref attribute: + Points to the element where more information can be found, + using the IDREF mechanism. %ref.att; is for optional + ref attributes, and %ref-req.att; is for required ref + attributes. --> +<!ENTITY % ref.att + 'ref IDREF #IMPLIED'> +<!ENTITY % ref-req.att + 'ref IDREF #REQUIRED'> + +<!-- +#1998-03-23: maler: Added show and actuate attributes to href. +# Added semi-common xml:space attribute. +--> + +<!-- HREF and source attributes: + Points to the element where more information or source data + can be found, using the URL (XLL simple link) mechanism. + For some purposes, is associated with additional XLL + attributes. %href.att; is for optional HREF attributes, + and %href-req.att; is for required HREF attributes. + %source-req.att; is for the source attribute, which + is always required. --> +<!ENTITY % href.att + 'xml:link CDATA #FIXED "simple" + href CDATA #IMPLIED + show CDATA #FIXED "embed" + actuate CDATA #FIXED "auto"'> + +<!ENTITY % href-req.att + 'xml:link CDATA #FIXED "simple" + href CDATA #REQUIRED + show CDATA #FIXED "embed" + actuate CDATA #FIXED "auto"'> + +<!ENTITY % source-req.att + 'xml:link CDATA #FIXED "simple" + xml:attributes NMTOKENS #FIXED "href source" + source CDATA #REQUIRED + show CDATA #FIXED "embed" + actuate CDATA #FIXED "auto"'> + +<!-- xml:space attribute: + Indicates that the element contains white space + that the formatter or other application should retain, + as appropriate to its function. --> +<!ENTITY % xmlspace.att + 'xml:space (default + |preserve) #FIXED "preserve"'> + +<!-- Common attributes: + Every element has an ID attribute (sometimes required, + but usually optional) for links, and a Role attribute + for extending the useful life of the DTD by allowing + authors to make subclasses for any element. %common.att; + is for common attributes where the ID is optional, and + %common-idreq.att; is for common attributes where the + ID is required. --> +<!ENTITY % common.att + 'id ID #IMPLIED + role NMTOKEN #IMPLIED'> +<!ENTITY % common-idreq.att + 'id ID #REQUIRED + role NMTOKEN #IMPLIED'> + +<!-- ............................................................... --> +<!-- Common elements ............................................... --> + +<!-- head: Title on divisions, productions, and the like --> +<!ELEMENT head (%head.pcd.mix;)*> +<!ATTLIST head %common.att;> + +<!-- ............................................................... --> +<!-- Major specification structure ................................. --> + +<!-- +#1998-03-10: maler: Made spec content model easily customizable. +--> + +<!ELEMENT spec (%spec.mdl;)> +<!ATTLIST spec %common.att;> + +<!ELEMENT front (div1+)> +<!ATTLIST front %common.att;> + +<!ELEMENT body (div1+)> +<!ATTLIST body %common.att;> + +<!-- +#1997-09-30: maler: Added inform-div1 to back content. +--> + +<!ELEMENT back ((div1+, inform-div1*) | inform-div1+)> +<!ATTLIST back %common.att;> + +<!ELEMENT div1 (head, (%div.mix;)*, div2*)> +<!ATTLIST div1 %common.att;> + +<!-- +#1997-09-30: maler: Added inform-div1 declarations. +--> + +<!-- inform-div1: Non-normative division in back matter --> +<!ELEMENT inform-div1 (head, (%div.mix;)*, div2*)> +<!ATTLIST inform-div1 %common.att;> + +<!ELEMENT div2 (head, (%div.mix;)*, div3*)> +<!ATTLIST div2 %common.att;> + +<!ELEMENT div3 (head, (%div.mix;)*, div4*)> +<!ATTLIST div3 %common.att;> + +<!ELEMENT div4 (head, (%div.mix;)*)> +<!ATTLIST div4 %common.att;> + +<!-- Specification header .......... --> + +<!-- +#1998-03-10: maler: Made header content model easily customizable. +--> + +<!ELEMENT header (%header.mdl;)> +<!ATTLIST header %common.att;> + +<!-- Example of title: "Extensible Cheese Language (XCL)" --> +<!ELEMENT title (#PCDATA)> +<!ATTLIST title %common.att;> + +<!-- Example of subtitle: "A Cheesy Specification" --> +<!ELEMENT subtitle (#PCDATA)> +<!ATTLIST subtitle %common.att;> + +<!-- Example of version: "Version 666.0" --> +<!ELEMENT version (#PCDATA)> +<!ATTLIST version %common.att;> + +<!-- Example of w3c-designation: "WD-xcl-19991231" --> +<!ELEMENT w3c-designation (#PCDATA)> +<!ATTLIST w3c-designation %common.att;> + +<!-- Example of w3c-doctype: "World Wide Web Consortium Working + Draft" --> +<!ELEMENT w3c-doctype (#PCDATA)> +<!ATTLIST w3c-doctype %common.att;> + +<!-- +#1998-03-10: maler: Made pubdate content model easily customizable. +--> + +<!ELEMENT pubdate (%pubdate.mdl;)> +<!ATTLIST pubdate %common.att;> + +<!ELEMENT day (#PCDATA)> +<!ATTLIST day %common.att;> + +<!ELEMENT month (#PCDATA)> +<!ATTLIST month %common.att;> + +<!ELEMENT year (#PCDATA)> +<!ATTLIST year %common.att;> + +<!-- Example of notice: "This draft is for public comment..." --> +<!ELEMENT notice (%hdr.mix;)+> +<!ATTLIST notice %common.att;> + +<!ELEMENT publoc (loc+)> +<!ATTLIST publoc %common.att;> + +<!ELEMENT prevlocs (loc+)> +<!ATTLIST prevlocs %common.att;> + +<!ELEMENT latestloc (loc+)> +<!ATTLIST latestloc %common.att;> + +<!-- loc (defined in "Phrase-level elements" below) --> + +<!ELEMENT authlist (author+)> +<!ATTLIST authlist %common.att;> + +<!-- +#1997-09-30: maler: Made affiliation optional. +#1998-03-10: maler: Made email optional. +--> + +<!ELEMENT author (name, affiliation?, email?)> +<!ATTLIST author %common.att;> + +<!ELEMENT name (#PCDATA)> +<!ATTLIST name + %common.att; + %key.att;> + +<!ELEMENT affiliation (#PCDATA)> +<!ATTLIST affiliation %common.att;> + +<!ELEMENT email (#PCDATA)> +<!-- HREF attribute: + email functions as a hypertext reference through this + required attribute. Typically the reference would use + the mailto: scheme. --> +<!ATTLIST email + %common.att; + %href-req.att;> + +<!-- +#1998-05-15: maler: Changed status content from %statusobj.mix; +# to plain %obj.mix;. statusp is obsolete. +--> + +<!ELEMENT status (%obj.mix;)+> +<!ATTLIST status %common.att;> + +<!ELEMENT abstract (%hdr.mix;)*> +<!ATTLIST abstract %common.att;> + +<!ELEMENT pubstmt (%hdr.mix;)+> +<!ATTLIST pubstmt %common.att;> + +<!ELEMENT sourcedesc (%hdr.mix;)+> +<!ATTLIST sourcedesc %common.att;> + +<!ELEMENT langusage (language+)> +<!ATTLIST langusage %common.att;> + +<!ELEMENT language (#PCDATA)> +<!ATTLIST language %common.att;> + +<!ELEMENT revisiondesc (%hdr.mix;)+> +<!ATTLIST revisiondesc %common.att;> + +<!-- ............................................................... --> +<!-- Standalone elements ........................................... --> + +<!-- Paragraphs .................... --> + +<!-- +#1997-09-30: maler: Changed from %obj.mix; to %p.mix;. +#1997-12-29: maler: Changed order of %p.mix; and %p.pcd.mix; +# references. +#1997-12-29: maler: Changed order of %statusobj.mix; and +# %statusp.pcd.mix; references. +#1998-05-14: maler: Removed statusp declarations. +--> + +<!ELEMENT p (%p.pcd.mix;|%p.mix;)*> +<!ATTLIST p %common.att;> + +<!-- Lists ......................... --> + +<!ELEMENT ulist (item+)> +<!-- spacing attribute: + Use "normal" to get normal vertical spacing for items; + use "compact" to get less spacing. The default is dependent + on the stylesheet. --> +<!ATTLIST ulist + %common.att; + spacing (normal|compact) #IMPLIED> + +<!ELEMENT olist (item+)> +<!-- spacing attribute: + Use "normal" to get normal vertical spacing for items; + use "compact" to get less spacing. The default is dependent + on the stylesheet. --> +<!ATTLIST olist + %common.att; + spacing (normal|compact) #IMPLIED> + +<!ELEMENT item (%obj.mix;)+> +<!ATTLIST item %common.att;> + +<!ELEMENT slist (sitem+)> +<!ATTLIST slist %common.att;> + +<!ELEMENT sitem (%p.pcd.mix;)*> +<!ATTLIST sitem %common.att;> + +<!ELEMENT glist (gitem+)> +<!ATTLIST glist %common.att;> + +<!ELEMENT gitem (label, def)> +<!ATTLIST gitem %common.att;> + +<!ELEMENT label (%label.pcd.mix;)*> +<!ATTLIST label %common.att;> + +<!ELEMENT def (%obj.mix;)*> +<!ATTLIST def %common.att;> + +<!-- Special lists ................. --> + +<!ELEMENT blist (bibl+)> +<!ATTLIST blist %common.att;> + +<!ELEMENT bibl (%bibl.pcd.mix;)*> +<!-- HREF attribute: + bibl optionally functions as a hypertext reference to the + referred-to resource through this attribute. --> +<!ATTLIST bibl + %common.att; + %href.att; + %key.att;> + +<!ELEMENT orglist (member+)> +<!ATTLIST orglist %common.att;> + +<!-- +#1997-09-30: maler: Added optional affiliation. +--> + +<!ELEMENT member (name, affiliation?, role?)> +<!ATTLIST member %common.att;> + +<!-- name (defined in "Specification header" above) --> +<!-- affiliation (defined in "Specification header" above) --> + +<!ELEMENT role (#PCDATA)> +<!ATTLIST role %common.att;> + +<!-- Notes ......................... --> + +<!ELEMENT note (%obj.mix;)+> +<!ATTLIST note %common.att;> + +<!-- +#1998-05-14: maler: Declared issue element. +--> + +<!ELEMENT issue (%obj.mix;)+> +<!ATTLIST issue %common-idreq.att;> + +<!ELEMENT wfcnote (head, (%obj.mix;)+)> +<!-- ID attribute: + wfcnote must have an ID so that it can be pointed to + from a wfc element in a production. --> +<!ATTLIST wfcnote + %common-idreq.att;> + +<!ELEMENT vcnote (head, (%obj.mix;)+)> +<!-- ID attribute: + vcnote must have an ID so that it can be pointed to + from a vc element in a production. --> +<!ATTLIST vcnote + %common-idreq.att;> + +<!-- +#1998-05-21: maler: Declared generic constraintnote element. +--> + +<!ELEMENT constraintnote (head, (%obj.mix;)+)> +<!-- ID attribute: + cnote must have an ID so that it can be pointed to + from a constraint element in a production. --> +<!-- type attribute: + cnote must have a type value keyword so that it can be + correctly characterized in the specification. --> +<!ATTLIST constraintnote + %common-idreq.att; + type NMTOKEN #REQUIRED> + +<!-- Illustrations ................. --> + +<!-- +#1998-03-23: maler: Added xml:space attribute. +--> + +<!ELEMENT eg (%eg.pcd.mix;)*> +<!ATTLIST eg + %common.att; + %xmlspace.att;> + +<!ELEMENT graphic EMPTY> +<!-- source attribute: + The graphic data must reside at the location pointed to. + This is a hypertext reference, but for practical purposes, + for now it should just be a pathname. --> +<!ATTLIST graphic + %common.att; + %source-req.att; + alt CDATA #IMPLIED> + +<!-- +#1997-11-28: maler: Added prodgroup to scrap and defined it. +#1998-05-21: maler: Added constraint to prod. +--> + +<!ELEMENT scrap (head, (prodgroup+ | prod+ | bnf))> +<!-- lang attribute: + The scrap can link to a description of the language used, + found in a language element in the header. --> +<!ATTLIST scrap + %common.att; + lang IDREF #IMPLIED> + +<!ELEMENT prodgroup (prod+)> +<!-- pcw<n> attributes: + Presentational attributes to control the width + of the "pseudo-table" columns used to output + groups of productions. --> +<!ATTLIST prodgroup + %common.att; + pcw1 CDATA #IMPLIED + pcw2 CDATA #IMPLIED + pcw3 CDATA #IMPLIED + pcw4 CDATA #IMPLIED + pcw5 CDATA #IMPLIED +> + +<!ELEMENT prod (lhs, (rhs, (com|wfc|vc|constraint)*)+)> +<!-- ID attribute: + The production must have an ID so that cross-references + (specref) and mentions of nonterminals (nt) can link to + it. --> +<!ATTLIST prod + %common-idreq.att;> + +<!ELEMENT lhs (#PCDATA)> +<!ATTLIST lhs %common.att;> + +<!ELEMENT rhs (#PCDATA|nt|xnt|com)*> +<!ATTLIST rhs %common.att;> + +<!-- nt and xnt (defined in "Phrase-level elements" below) --> + +<!-- +#1997-11-28: maler: Added loc and bibref to com content. +--> + +<!ELEMENT com (#PCDATA|loc|bibref)*> +<!ATTLIST com %common.att;> + +<!-- wfc: Should generate the head of the wfcnote pointed to --> +<!ELEMENT wfc EMPTY> +<!-- def attribute: + Each well formedness tagline in a production must link to the + wfcnote that defines it. --> +<!ATTLIST wfc + %def-req.att; + %common.att;> + +<!-- vc: Should generate the head of the vcnote pointed to --> +<!ELEMENT vc EMPTY> +<!-- def attribute: + Each validity tagline in a production must link to the vcnote + that defines it. --> +<!ATTLIST vc + %def-req.att; + %common.att;> + +<!-- +#1998-05-21: maler: Declared generic constraint element. +--> + +<!-- constraint: Should generate the head of the constraintnote + pointed to --> +<!ELEMENT constraint EMPTY> +<!-- def attribute: + Each constraint tagline in a production must link to the + constraint note that defines it. --> +<!ATTLIST constraint + %def-req.att; + %common.att;> + +<!-- +#1998-03-23: maler: Added xml:space attribute. +--> + +<!-- bnf: Un-marked-up production --> +<!ELEMENT bnf (%eg.pcd.mix;)*> +<!ATTLIST bnf + %common.att; + %xmlspace.att;> + +<!-- +#1997-10-16: maler: Added table mechanism. +#1997-11-28: maler: Added non-null system ID to entity declaration. +# Added HTML table module. +#1997-12-29: maler: IGNOREd SGML Open table model. +#1998-03-10: maler: Removed SGML Open table model. +# Merged html-tbl.mod file into main file. +# Added %common.att; to all HTML table elements. +#1998-05-14: maler: Replaced table model with full HTML 4.0 model. +# Removed htable in favor of table. +# Removed htbody in favor of tbody. +--> + +<!ENTITY % cellhalign.att + 'align (left|center + |right|justify + |char) #IMPLIED + char CDATA #IMPLIED + charoff CDATA #IMPLIED'> + +<!ENTITY % cellvalign.att + 'valign (top|middle + |bottom + |baseline) #IMPLIED'> + +<!ENTITY % thtd.att + 'abbr CDATA #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope (row + |col + |rowgroup + |colgroup) #IMPLIED + rowspan NMTOKEN "1" + colspan NMTOKEN "1"'> + +<!ENTITY % width.att + 'width CDATA #IMPLIED'> + +<!ENTITY % span.att + 'span NMTOKEN "1"'> + +<!ELEMENT table + (caption?, (col*|colgroup*), thead?, tfoot?, tbody+)> +<!ATTLIST table + %common.att; + %width.att; + summary CDATA #IMPLIED + border CDATA #IMPLIED + frame (void|above + |below|hsides + |lhs|rhs + |vsides|box + |border) #IMPLIED + rules (none|groups + |rows|cols + |all) #IMPLIED + cellspacing CDATA #IMPLIED + cellpadding CDATA #IMPLIED> + +<!ELEMENT caption (%p.pcd.mix;)*> +<!ATTLIST caption %common.att;> + +<!ELEMENT col EMPTY> +<!ATTLIST col + %common.att; + %span.att; + %width.att; + %cellhalign.att; + %cellvalign.att;> + +<!ELEMENT colgroup (col)*> +<!ATTLIST colgroup + %common.att; + %span.att; + %width.att; + %cellhalign.att; + %cellvalign.att;> + +<!ELEMENT thead (tr)+> +<!ATTLIST thead + %common.att; + %cellhalign.att; + %cellvalign.att;> + +<!ELEMENT tfoot (tr)+> +<!ATTLIST tfoot + %common.att; + %cellhalign.att; + %cellvalign.att;> + +<!ELEMENT tbody (tr)+> +<!ATTLIST tbody + %common.att; + %cellhalign.att; + %cellvalign.att;> + +<!ELEMENT tr (th|td)+> +<!ATTLIST tr + %common.att; + %cellhalign.att; + %cellvalign.att;> + +<!ELEMENT th (%p.pcd.mix;|%p.mix;)*> +<!ATTLIST th + %common.att; + %thtd.att; + %cellhalign.att; + %cellvalign.att;> + +<!ELEMENT td (%p.pcd.mix;|%p.mix;)*> +<!ATTLIST td + %common.att; + %thtd.att; + %cellhalign.att; + %cellvalign.att;> + +<!-- ............................................................... --> +<!-- Phrase-level elements ......................................... --> + +<!-- bibref: Should generate, in square brackets, "key" on bibl --> +<!ELEMENT bibref EMPTY> +<!-- ref attribute: + A bibliography reference must link to the bibl element that + describes the resource. --> +<!ATTLIST bibref + %common.att; + %ref-req.att;> + +<!ELEMENT code (%tech.pcd.mix;)*> +<!ATTLIST code %common.att;> + +<!-- +#1998-03-10: maler: Declared ednote and related elements. +--> + +<!ELEMENT ednote (name?, date?, edtext)> +<!ATTLIST ednote %common.att;> + +<!ELEMENT date (#PCDATA)> +<!ATTLIST date %common.att;> + +<!ELEMENT edtext (#PCDATA)> +<!ATTLIST edtext %common.att;> + +<!ELEMENT emph (#PCDATA)> +<!ATTLIST emph %common.att;> + +<!-- footnote: Both footnote content and call to footnote --> +<!ELEMENT footnote (%obj.mix;)+> +<!ATTLIST footnote %common.att;> + +<!ELEMENT kw (%tech.pcd.mix;)*> +<!ATTLIST kw %common.att;> + +<!ELEMENT loc (#PCDATA)> +<!-- HREF attribute: + The purpose of a loc element is to function as a hypertext + link to a resource. (Ideally, the content of loc will also + mention the URI of the resource, so that readers of the + printed version will be able to locate the resource.) --> +<!ATTLIST loc + %common.att; + %href-req.att;> + +<!ELEMENT nt (#PCDATA)> +<!-- def attribute: + The nonterminal must link to the production that defines + it. --> +<!ATTLIST nt + %common.att; + %def-req.att;> + +<!-- +#1998-03-10: maler: Declared quote. +--> + +<!-- quote: Scare quotes and other purely presentational quotes --> +<!ELEMENT quote (%p.pcd.mix;)*> +<!ATTLIST quote %common.att;> + +<!-- specref: Should generate italic "[n.n], Section Title" for + div, "n" for numbered item, "[n]" for production, or + "Issue n" for issue --> +<!ELEMENT specref EMPTY> +<!-- ref attribute: + The purpose of a specref element is to link to a div, item + in an olist, or production in the current spec. --> +<!ATTLIST specref + %common.att; + %ref-req.att;> + +<!ELEMENT term (#PCDATA)> +<!ATTLIST term %common.att;> + +<!ELEMENT termdef (%termdef.pcd.mix;|%termdef.mix;)*> +<!-- ID attribute: + A term definition must have an ID so that it can be linked + to from termref elements. --> +<!-- term attribute: + The canonical form of the term or phrase being defined must + appear in this attribute, even if the term or phrase also + appears in the element content in identical form (e.g., in + the term element). --> +<!ATTLIST termdef + %common-idreq.att; + term CDATA #REQUIRED> + +<!ELEMENT termref (#PCDATA)> +<!-- ref attribute: + A term reference must link to the termdef element that + defines the term. --> +<!ATTLIST termref + %common.att; + %def-req.att;> + +<!ELEMENT titleref (#PCDATA)> +<!-- HREF attribute: + A title reference can optionally function as a hypertext + link to the resource with this title. --> +<!ATTLIST titleref + %common.att; + %href.att;> + +<!ELEMENT xnt (#PCDATA)> +<!-- HREF attribute: + The nonterminal must hyperlink to a resource that serves + to define it (e.g., a production in a related XML + specification). --> +<!ATTLIST xnt + %common.att; + %href-req.att;> + +<!-- +#1997-12-29: maler: Declared xspecref. +--> + +<!ELEMENT xspecref (#PCDATA)> +<!-- HREF attribute: + The spec reference must hyperlink to the resource to + cross-refer to (e.g., a section in a related XML + specification). --> +<!ATTLIST xspecref + %common.att; + %href-req.att;> + +<!ELEMENT xtermref (#PCDATA)> +<!-- HREF attribute: + The term reference must hyperlink to the resource that + serves to define the term (e.g., a term definition in + a related XML specification). --> +<!ATTLIST xtermref + %common.att; + %href-req.att;> + +<!-- ............................................................... --> +<!-- Unused elements for ADEPT ..................................... --> + +<!-- +#1997-09-30: maler: Added unusued elements. +#1997-10-14: maler: Fixed div to move nested div to the mixture. +#1998-05-14: maler: Added key-term, htable, and htbody. +--> + +<!-- The following elements are purposely declared but never + referenced. Declaring them allows them to be pasted from + an HTML document or an earlier version of an XML spec document + into a document using this DTD in ADEPT. The ATD Context + Transformation mechanism will try to convert them to the + appropriate element for this DTD. While this conversion + will not work for all fragments, it does allow many cases + to work reasonably well. --> + +<!ELEMENT div + (head?, (%div.mix;|ul|ol|h1|h2|h3|h4|h5|h6|div)*)> +<!ELEMENT h1 (%head.pcd.mix;|em|a)*> +<!ELEMENT h2 (%head.pcd.mix;|em|a)*> +<!ELEMENT h3 (%head.pcd.mix;|em|a)*> +<!ELEMENT h4 (%head.pcd.mix;|em|a)*> +<!ELEMENT h5 (%head.pcd.mix;|em|a)*> +<!ELEMENT h6 (%head.pcd.mix;|em|a)*> +<!ELEMENT pre (%eg.pcd.mix;|em)*> +<!ELEMENT ul (item|li)*> +<!ELEMENT ol (item|li)*> +<!ELEMENT li (#PCDATA|%obj.mix;)*> +<!ELEMENT em (#PCDATA)> +<!ELEMENT a (#PCDATA)> + +<!ELEMENT key-term (#PCDATA)> +<!ELEMENT htable + (caption?, (col*|colgroup*), thead?, tfoot?, tbody+)> +<!ELEMENT htbody (tr)+> +<!ELEMENT statusp (%p.pcd.mix;|%p.mix;)*> + +<!-- ............................................................... --> +<!-- Change history ................................................ --> + +<!-- +#1997-08-18: maler +#- Did a major revision. +#1997-09-10: maler +#- Updated FPI. +#- Removed namekey element and put key attribute on name element. +#- Made statusp element and supporting entities. +#- Added slist element with sitem+ content. +#- Required head on scrap and added new bnf subelement. +#- Added an xnt element and allowed it and nt in regular text and rhs. +#- Removed the ntref element. +#- Added back the com element to the content of rhs. +#- Added a key attribute to bibl. +#- Removed the ident element. +#- Added a term element to be used inside termdef. +#- Added an xtermref element parallel to termref. +#- Beefed up DTD comments. +#1997-09-12: maler +#- Allowed term element in general text. +#- Changed bibref to EMPTY. +#- Added ref.class to termdef.pcd.mix. +#1997-09-14: maler +#- Changed main attribute of xtermref from def to href. +#- Added termdef.class to label contents. +#1997-09-30: maler +#- Added character entity module and added new entities. +#- Removed p from appearing directly in self; created %p.mix;. +#- Added inform-div (non-normative division) element. +#- Fixed xtermref comment to mention HREF, not ref. +#- Extended orglist model to allow optional affiliation. +#- Modified author to make affiliation optional. +#- Added %speclist.class; and %note.class; to %obj.mix; and %p.mix;. +#- Added %note.class; and %illus.class; to %termdef.pcd.mix;. +#- Added unused HTML elements. +#- Put empty system ID next to public ID in entity declarations. +#1997-10-14: maler +#- Fixed "unused" div content model to move nested div to mixture. +#1997-10-16: maler +#- Added SGML Open Exchange tables. +#1997-11-28: maler +#- Added support for prodgroup and its attributes. +#- Added support for HTML tables. +#- Added loc and bibref to content of com. +#- Added loc to general p content models. +#- Allowed p as alternative to statusp in status. +#- Added non-null system IDs to external parameter entity declarations. +#- (Modified the SGML Open table module to make it XML-compliant.) +#- (Modified the character entity module.) +#1997-12-29: maler +#- Moved #PCDATA occurrences to come before GIs in content models. +#- Removed use of the SGML Open table module. +#- Added xspecref element. +#- Ensured that all FPIs contain 4-digit year. +#- (Modified the character entity module.) +#1998-03-10: maler +#- Merged the character entity and table modules into the main file. +#- Added ldquo and rdquo entities. +#- Added common attributes to prodgroup. +#- Made the email element in header optional. +#- Removed reference to the SGML Open table model. +#- Added ednote element. +#- Added quote element. +#- Updated XLink usage to reflect 3 March 1998 WD. +#- Added "local" entities to the class entities for customization. +#- Parameterized several content models to allow for customization. +#1998-03-23: maler +#- Cleaned up some comments and removed some others. +#- Added xml:space semi-common attribute to eg and bnf elements. +#- Added show and embed attributes on all the uses of href. +#- Added %common.att; to all HTML table elements. +#- Added a real URI to the "typical invocation" comment. +#1998-05-14: maler +#- Fixed mdash, ldquo, and rdquo character entities. +#- Switched to the full HTML 4.0 table model. +#- Removed htable/htbody elements and replaced them with table/tbody. +#- Added issue element to %note.class; and declared it. +#- Allowed prevlocs and latestloc in either order. +#- Added key-term, htable, htbody, and statusp as unused elements. +#- Removed real statusp element in favor of plain p. +#1998-05-21: maler +#- Declared generic constraint and constraintnote elements. +#- Added constraintnote to %note.class;. +#- Added constraint to %eg.pcd.mix; and prod content model. +--> + +<!-- ............................................................... --> +<!-- End of XML specification DTD .................................. --> +<!-- ............................................................... --> \ No newline at end of file diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/huge.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/huge.xml new file mode 100644 index 0000000000000000000000000000000000000000..7aed38c49a5153f0cc294ec8b010833ee57da048 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/huge.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [ +<!ENTITY % pe SYSTEM "dtds/huge.ent"> +%pe; +]> +<doc>test</doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/id1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/id1.xml new file mode 100644 index 0000000000000000000000000000000000000000..7390f5ea1e232ae5915edc8f053dc448bfc79dcb --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/id1.xml @@ -0,0 +1,13 @@ +<!DOCTYPE doc [ +<!ELEMENT doc (src | dest)*> +<!ELEMENT src EMPTY> +<!ELEMENT dest EMPTY> +<!ATTLIST src ref IDREF #IMPLIED> +<!ATTLIST dest id ID #IMPLIED> +]> +<doc> + <src ref="foo"/> + <dest id="foo"/> + <src ref="foo"/> +</doc> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/id2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/id2.xml new file mode 100644 index 0000000000000000000000000000000000000000..5b4a77a4019dff39e40960b350160b5b4bb8e317 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/id2.xml @@ -0,0 +1,14 @@ +<!DOCTYPE doc [ +<!ELEMENT doc (src | dest)*> +<!ELEMENT src EMPTY> +<!ELEMENT dest EMPTY> +<!ATTLIST src ref IDREF #IMPLIED> +<!ATTLIST dest id ID #IMPLIED> +<!ENTITY dest "<dest id='foo'/>"> +]> +<doc> + <src ref="foo"/> + &dest; + <src ref="foo"/> +</doc> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/id3.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/id3.xml new file mode 100644 index 0000000000000000000000000000000000000000..933d06d6597be41d472f5a13b59d30d5089b7a32 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/id3.xml @@ -0,0 +1,14 @@ +<!DOCTYPE doc [ +<!ELEMENT doc (src | dest)*> +<!ELEMENT src EMPTY> +<!ELEMENT dest EMPTY> +<!ATTLIST src ref IDREF #IMPLIED> +<!ATTLIST dest id ID #IMPLIED> +<!ENTITY dest SYSTEM "dtds/destfoo.ent"> +]> +<doc> + <src ref="foo"/> + &dest; + <src ref="foo"/> +</doc> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/index.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/index.xml new file mode 100644 index 0000000000000000000000000000000000000000..113d31afc018e5f8581e8769967341873e6b0b3a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/index.xml @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE NewsML SYSTEM "dtds/NewsMLv1.2.dtd" [ + <!ENTITY % nitf SYSTEM "dtds/nitf-2-5.dtd"> + %nitf; +]> +<NewsML> + <Catalog Href="http://www.afp.com/dtd/AFPCatalog.xml"/> + <NewsEnvelope> + <DateAndTime>20011022T154508Z</DateAndTime> + </NewsEnvelope> + <NewsItem> + <Identification> + <NewsIdentifier> + <ProviderId>afp.com</ProviderId> + <DateId>20011022</DateId> + <NewsItemId>mmd--deutsch--journal--spo</NewsItemId> + <RevisionId PreviousRevision="0" Update="N">1</RevisionId> + <PublicIdentifier>urn:NewsML:afp.com:20011022:mmd--deutsch--journal--spo:1</PublicIdentifier> + </NewsIdentifier> + <NameLabel>HINTERGRUND</NameLabel> + </Identification> + <NewsManagement> + <NewsItemType FormalName="News"/> + <FirstCreated>20011022T154508Z</FirstCreated> + <ThisRevisionCreated>20011022T154508Z</ThisRevisionCreated> + <Status FormalName="Usable"/> + </NewsManagement> + <NewsComponent> + <AdministrativeMetadata> + <Provider> + <Party FormalName="AFP"/> + </Provider> + </AdministrativeMetadata> + <DescriptiveMetadata> + <Language FormalName="de"/> + </DescriptiveMetadata> + <NewsComponent> + <NewsLines> + <HeadLine>Berliner SPD führt Gespräche mit FDP und Grünen</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011022154450.sq80bp9h.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>INFOGRAFIK: Das Berliner Wahlergebnis</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011022113032.remo00m7.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>Schwierige Koalitionsverhandlungen in Berlin</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011022124314.9hv2kozk.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>Die Lieblingsfarben des Kanzlers sind Rot Gelb Grün</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011022134541.cmmaoim7.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>INFOGRAFIK: Wen wählt Wowereit?</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011022122545.hl3z2as6.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>CDU ist auch in kommunalen Rathäusern der Verlierer</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011022120205.b8sykfvu.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>Gutes Abschneiden der PDS hat verschiedene Gründe</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011022134159.agvne048.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>Ans Regieren hat sich Klaus Wowereit gewöhnt</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011021161031.1oq7qyub.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>Steffel brachte CDU nicht auf Erfolgskurs</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011021165007.kt9qog9m.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>Sibyll Klotz: Vollblutpolitikerin mit "Berliner Schnauze"</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011021184658.lctevest.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>Mit Gysi muss weiter gerechnet werden</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011021180441.6tpvgx0y.xml"/> + </NewsComponent> + <NewsComponent> + <NewsLines> + <HeadLine>Rexrodt - das Stehaufmännchen der Berliner FDP</HeadLine> + </NewsLines> + <NewsItemRef NewsItem="011021165558.gujrz59m.xml"/> + </NewsComponent> + </NewsComponent> + </NewsItem> +</NewsML> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/mixed_ns.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/mixed_ns.xml new file mode 100644 index 0000000000000000000000000000000000000000..22d8ed88e852931bd65a1409b9e4bd72b18dc71b --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/mixed_ns.xml @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<!DOCTYPE a [ +<!ELEMENT a (#PCDATA|b|s:b)*> +<!ATTLIST a xmlns:s CDATA #IMPLIED> +<!ELEMENT b EMPTY> +<!ATTLIST b xmlns:s CDATA #IMPLIED> +<!ELEMENT s:b EMPTY> +<!ATTLIST s:b xmlns:s CDATA #IMPLIED> +]> +<a xmlns:s="http://some.test.ns/a"> + Some text. + <b/> + Some text. + <s:b/> + Some text. +</a> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/notes.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/notes.xml new file mode 100644 index 0000000000000000000000000000000000000000..157d178645f50e0dcca09db9930235d655a78b9d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/notes.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE notes SYSTEM "dtds/notes.dtd"> +<pfx:notes +xmlns:pfx="http://namespace/uri/here" +><note/><pfx:note/></pfx:notes> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/ns.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/ns.xml new file mode 100644 index 0000000000000000000000000000000000000000..117c30f5cee6fbb61b8968b5490a0c21ce20fe2a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/ns.xml @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<!DOCTYPE a:outer [ + +<!ELEMENT a:outer EMPTY> +<!ATTLIST a:outer xmlns:a CDATA #FIXED 'urn:namespace'> +<!ATTLIST a:outer xmlns:b CDATA #FIXED 'urn:namespaceb'> +]> + +<a:outer /> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/ns2.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/ns2.xml new file mode 100644 index 0000000000000000000000000000000000000000..bfab69a77c2ec796ef345c10294f4a86de8df774 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/ns2.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<!DOCTYPE a:outer [ + +<!ELEMENT a:outer (a:inner)> +<!ATTLIST a:outer xmlns:a CDATA #FIXED 'urn:namespace'> + +<!ELEMENT a:inner EMPTY> +<!ATTLIST a:inner xmlns:a CDATA #FIXED 'urn:namespace'> +<!ATTLIST a:inner attr CDATA #FIXED 'yes'> +]> + +<a:outer xmlns:a="urn:namespace"> + <a:inner /> +</a:outer> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/objednavka.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/objednavka.xml new file mode 100644 index 0000000000000000000000000000000000000000..c785b1a62b29f87d7cc332107b5b16007995f847 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/objednavka.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE objednavka SYSTEM "dtds/objednavka.dtd"> +<objednavka> + <AdDoruÄeni> + <Jméno>Jan Novák</Jméno> + <Ulice>BÄ›lehradská 147</Ulice> + <MÄ›sto>Praha 2</MÄ›sto> + <PSÄŒ>12000</PSÄŒ> + </AdDoruÄeni> + <AdÚÄtovací> + <Jméno>Petra Nováková</Jméno> + <Ulice>Anglická 15</Ulice> + <MÄ›sto>Praha 2</MÄ›sto> + <PSÄŒ>12000</PSÄŒ> + </AdÚÄtovací> + <ZpůsobDopravy>DPD</ZpůsobDopravy> + <ZpůsobPlatby>dobírka</ZpůsobPlatby> + <DatumPÅ™ijetí>2004-11-14</DatumPÅ™ijetí> + <DatumDoruÄení>2004-11-19</DatumDoruÄení> + <ObsahObjednávky> + <Zboží> + <Kód>2N7-516</Kód> + <Název>SekaÄka na trávu</Název> + <PoÄet jednotka="ks">1</PoÄet> + <Cena>2999</Cena> + <Popis>http://example.org/sekacka.html</Popis> + </Zboží> + <Zboží> + <Kód>Q3Y-116</Kód> + <Název>Travní semeno</Název> + <PoÄet jednotka="kg">2.5</PoÄet> + <Cena>127.50</Cena> + </Zboží> + </ObsahObjednávky> + <Komentář> + <Řádka>O dodávku mám zájem pouze v případÄ›, že se jedná o trávu v odrůdÄ› konopí.</Řádka> + <Řádka>Dále jsem se chtÄ›l zeptat, zda je doprava zdarma.</Řádka> + </Komentář> +</objednavka> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-in-text-decl.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-in-text-decl.xml new file mode 100644 index 0000000000000000000000000000000000000000..39da8556b0d301c284dfcb8a943e1561c3ce27be --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-in-text-decl.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc SYSTEM "dtds/pe-in-text-decl.dtd" [ + <!ENTITY % ent "foo"> +]> +<doc/> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-latin1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-latin1.xml new file mode 100644 index 0000000000000000000000000000000000000000..33bd91029c1165d9769c1675294adf1276abb105 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-latin1.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [ +<!ELEMENT doc (#PCDATA)> +<!ENTITY % pe SYSTEM "dtds/pe-latin1.ent"> +%pe; +]> +<doc>&latin1;</doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-test.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-test.xml new file mode 100644 index 0000000000000000000000000000000000000000..14946667ebd4a0b2967ebed042a23d4066eec5b3 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-test.xml @@ -0,0 +1,2 @@ +<!DOCTYPE doc SYSTEM "dtds/pe-test.dtd"> +<doc>&ent;</doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-val-latin1.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-val-latin1.xml new file mode 100644 index 0000000000000000000000000000000000000000..97664a8cca5e61a227ac4ee0b3cd0ef6fd6aebd0 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/pe-val-latin1.xml @@ -0,0 +1,2 @@ +<!DOCTYPE doc SYSTEM "dtds/pe-val-latin1.dtd"> +<doc>&latin1;</doc> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/rss.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/rss.xml new file mode 100644 index 0000000000000000000000000000000000000000..5d6102d8d77419f6790a3c22b9ce29415887dc92 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/rss.xml @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE rss [ +<!-- + + Rich Site Summary (RSS) 0.91 official DTD, proposed. + + RSS is an XML vocabulary for describing + metadata about websites, and enabling the display of + "channels" on the "My Netscape" website. + + RSS Info can be found at http://my.netscape.com/publish/ + XML Info can be found at http://www.w3.org/XML/ + + copyright Netscape Communications, 1999 + + Dan Libby - danda@netscape.com + + Based on RSS DTD originally created by + Lars Marius Garshol - larsga@ifi.uio.no. + +--> +<!ELEMENT rss (channel)> +<!ATTLIST rss version CDATA #REQUIRED> +<!-- must be "0.91"> --><!ELEMENT channel (title | description | link +| language | item+ | rating? | image? | textinput? | copyright? | +pubDate? | lastBuildDate? | docs? | managingEditor? | webMaster? | +skipHours? | skipDays?)*> +<!ELEMENT title (#PCDATA)> +<!ELEMENT description (#PCDATA)> +<!ELEMENT link (#PCDATA)> +<!ELEMENT image (title | url | link | width? | height? | description?)*> +<!ELEMENT url (#PCDATA)> +<!ELEMENT item (title | link | description)*> +<!ELEMENT textinput (title | description | name | link)*> +<!ELEMENT name (#PCDATA)> +<!ELEMENT rating (#PCDATA)> +<!ELEMENT language (#PCDATA)> +<!ELEMENT width (#PCDATA)> +<!ELEMENT height (#PCDATA)> +<!ELEMENT copyright (#PCDATA)> +<!ELEMENT pubDate (#PCDATA)> +<!ELEMENT lastBuildDate (#PCDATA)> +<!ELEMENT docs (#PCDATA)> +<!ELEMENT managingEditor (#PCDATA)> +<!ELEMENT webMaster (#PCDATA)> +<!ELEMENT hour (#PCDATA)> +<!ELEMENT day (#PCDATA)> +<!ELEMENT skipHours (hour)+> +<!ELEMENT skipDays (day)+> +<!-- + Copied from HTML 3.2 DTD, with modifications (removed CDATA) + http://www.w3.org/TR/REC-html32.html#dtd + =============== BEGIN =================== +--> +<!-- + Character Entities for ISO Latin-1 + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + This has been extended for use with HTML to cover the full + set of codes in the range 160-255 decimal. +--> +<!-- Character entity set. Typical invocation: + <!ENTITY % ISOlat1 PUBLIC + "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"> + %ISOlat1; +--> +<!ENTITY nbsp "&#160;"> <!-- no-break space --> +<!ENTITY iexcl "&#161;"> +<!-- inverted exclamation mark --><!ENTITY cent "&#162;"> +<!-- cent sign --><!ENTITY pound "&#163;"> +<!-- pound sterling sign --><!ENTITY curren "&#164;"> +<!-- general currency sign --><!ENTITY yen "&#165;"> +<!-- yen sign --><!ENTITY brvbar "&#166;"> +<!-- broken (vertical) bar --><!ENTITY sect "&#167;"> +<!-- section sign --><!ENTITY uml "&#168;"> +<!-- umlaut (dieresis) --><!ENTITY copy "&#169;"> +<!-- copyright sign --><!ENTITY ordf "&#170;"> +<!-- ordinal indicator, feminine --><!ENTITY laquo "&#171;"> +<!-- angle quotation mark, left --><!ENTITY not "&#172;"> +<!-- not sign --><!ENTITY shy "&#173;"> +<!-- soft hyphen --><!ENTITY reg "&#174;"> +<!-- registered sign --><!ENTITY macr "&#175;"> +<!-- macron --><!ENTITY deg "&#176;"> +<!-- degree sign --><!ENTITY plusmn "&#177;"> +<!-- plus-or-minus sign --><!ENTITY sup2 "&#178;"> +<!-- superscript two --><!ENTITY sup3 "&#179;"> +<!-- superscript three --><!ENTITY acute "&#180;"> +<!-- acute accent --><!ENTITY micro "&#181;"> +<!-- micro sign --><!ENTITY para "&#182;"> +<!-- pilcrow (paragraph sign) --><!ENTITY middot "&#183;"> +<!-- middle dot --><!ENTITY cedil "&#184;"> +<!-- cedilla --><!ENTITY sup1 "&#185;"> +<!-- superscript one --><!ENTITY ordm "&#186;"> +<!-- ordinal indicator, masculine --><!ENTITY raquo "&#187;"> +<!-- angle quotation mark, right --><!ENTITY frac14 "&#188;"> +<!-- fraction one-quarter --><!ENTITY frac12 "&#189;"> +<!-- fraction one-half --><!ENTITY frac34 "&#190;"> +<!-- fraction three-quarters --><!ENTITY iquest "&#191;"> +<!-- inverted question mark --><!ENTITY Agrave "&#192;"> +<!-- capital A, grave accent --><!ENTITY Aacute "&#193;"> +<!-- capital A, acute accent --><!ENTITY Acirc "&#194;"> +<!-- capital A, circumflex accent --><!ENTITY Atilde "&#195;"> +<!-- capital A, tilde --><!ENTITY Auml "&#196;"> +<!-- capital A, dieresis or umlaut mark --><!ENTITY Aring "&#197;"> +<!-- capital A, ring --><!ENTITY AElig "&#198;"> +<!-- capital AE diphthong (ligature) --><!ENTITY Ccedil "&#199;"> +<!-- capital C, cedilla --><!ENTITY Egrave "&#200;"> +<!-- capital E, grave accent --><!ENTITY Eacute "&#201;"> +<!-- capital E, acute accent --><!ENTITY Ecirc "&#202;"> +<!-- capital E, circumflex accent --><!ENTITY Euml "&#203;"> +<!-- capital E, dieresis or umlaut mark --><!ENTITY Igrave "&#204;"> +<!-- capital I, grave accent --><!ENTITY Iacute "&#205;"> +<!-- capital I, acute accent --><!ENTITY Icirc "&#206;"> +<!-- capital I, circumflex accent --><!ENTITY Iuml "&#207;"> +<!-- capital I, dieresis or umlaut mark --><!ENTITY ETH "&#208;"> +<!-- capital Eth, Icelandic --><!ENTITY Ntilde "&#209;"> +<!-- capital N, tilde --><!ENTITY Ograve "&#210;"> +<!-- capital O, grave accent --><!ENTITY Oacute "&#211;"> +<!-- capital O, acute accent --><!ENTITY Ocirc "&#212;"> +<!-- capital O, circumflex accent --><!ENTITY Otilde "&#213;"> +<!-- capital O, tilde --><!ENTITY Ouml "&#214;"> +<!-- capital O, dieresis or umlaut mark --><!ENTITY times "&#215;"> +<!-- multiply sign --><!ENTITY Oslash "&#216;"> +<!-- capital O, slash --><!ENTITY Ugrave "&#217;"> +<!-- capital U, grave accent --><!ENTITY Uacute "&#218;"> +<!-- capital U, acute accent --><!ENTITY Ucirc "&#219;"> +<!-- capital U, circumflex accent --><!ENTITY Uuml "&#220;"> +<!-- capital U, dieresis or umlaut mark --><!ENTITY Yacute "&#221;"> +<!-- capital Y, acute accent --><!ENTITY THORN "&#222;"> +<!-- capital THORN, Icelandic --><!ENTITY szlig "&#223;"> +<!-- small sharp s, German (sz ligature) --><!ENTITY agrave "&#224;"> +<!-- small a, grave accent --><!ENTITY aacute "&#225;"> +<!-- small a, acute accent --><!ENTITY acirc "&#226;"> +<!-- small a, circumflex accent --><!ENTITY atilde "&#227;"> +<!-- small a, tilde --><!ENTITY auml "&#228;"> +<!-- small a, dieresis or umlaut mark --><!ENTITY aring "&#229;"> +<!-- small a, ring --><!ENTITY aelig "&#230;"> +<!-- small ae diphthong (ligature) --><!ENTITY ccedil "&#231;"> +<!-- small c, cedilla --><!ENTITY egrave "&#232;"> +<!-- small e, grave accent --><!ENTITY eacute "&#233;"> +<!-- small e, acute accent --><!ENTITY ecirc "&#234;"> +<!-- small e, circumflex accent --><!ENTITY euml "&#235;"> +<!-- small e, dieresis or umlaut mark --><!ENTITY igrave "&#236;"> +<!-- small i, grave accent --><!ENTITY iacute "&#237;"> +<!-- small i, acute accent --><!ENTITY icirc "&#238;"> +<!-- small i, circumflex accent --><!ENTITY iuml "&#239;"> +<!-- small i, dieresis or umlaut mark --><!ENTITY eth "&#240;"> +<!-- small eth, Icelandic --><!ENTITY ntilde "&#241;"> +<!-- small n, tilde --><!ENTITY ograve "&#242;"> +<!-- small o, grave accent --><!ENTITY oacute "&#243;"> +<!-- small o, acute accent --><!ENTITY ocirc "&#244;"> +<!-- small o, circumflex accent --><!ENTITY otilde "&#245;"> +<!-- small o, tilde --><!ENTITY ouml "&#246;"> +<!-- small o, dieresis or umlaut mark --><!ENTITY divide "&#247;"> +<!-- divide sign --><!ENTITY oslash "&#248;"> +<!-- small o, slash --><!ENTITY ugrave "&#249;"> +<!-- small u, grave accent --><!ENTITY uacute "&#250;"> +<!-- small u, acute accent --><!ENTITY ucirc "&#251;"> +<!-- small u, circumflex accent --><!ENTITY uuml "&#252;"> +<!-- small u, dieresis or umlaut mark --><!ENTITY yacute "&#253;"> +<!-- small y, acute accent --><!ENTITY thorn "&#254;"> +<!-- small thorn, Icelandic --><!ENTITY yuml "&#255;"> +<!-- small y, dieresis or umlaut mark --><!-- + Copied from HTML 3.2 DTD, with modifications (removed CDATA) + http://www.w3.org/TR/REC-html32.html#dtd + ================= END =================== +--> +]> +<rss> +<channel> +<image/> +<title>PP</title> +</channel> +</rss> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t10.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t10.xml new file mode 100644 index 0000000000000000000000000000000000000000..de066f9d2385e4c6a8365a4065ea89e81676b84d --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t10.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" standalone="yes"?> +<!DOCTYPE root [ +<!ELEMENT root (cont1, (cont1, cont2?)+)> + <!ELEMENT cont1 EMPTY> + <!ELEMENT cont2 EMPTY> +]> +<root> + <cont1/> + <cont1/> + <cont1/> + <cont1/> +</root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t11.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t11.xml new file mode 100644 index 0000000000000000000000000000000000000000..cc3fb31510c9ef4321071f0554e1ea4d112599ea --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t11.xml @@ -0,0 +1,2 @@ +<!DOCTYPE root SYSTEM "dtds/external.ent"> +<root>&peInCdata;</root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4.dtd new file mode 100644 index 0000000000000000000000000000000000000000..27292bc808e02fe58ff718367c587e45fd080cd8 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4.dtd @@ -0,0 +1,4 @@ +<!ENTITY % percent "&#x25;"> +<!ENTITY %percent; def "ghi"> +<!ENTITY abc "%def;"> +<!ELEMENT root (#PCDATA)> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4.xml new file mode 100644 index 0000000000000000000000000000000000000000..baeb9d01b20fb2736c9ef3dec6b7bd8f814b453c --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4.xml @@ -0,0 +1,3 @@ +<?xml version='1.0'?> +<!DOCTYPE root SYSTEM 't4.dtd'> +<root>&abc;</root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4a.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4a.dtd new file mode 100644 index 0000000000000000000000000000000000000000..b7cdc7c54765590035ad598c85d46735719b6ce2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4a.dtd @@ -0,0 +1,5 @@ +<!ENTITY % percent "&#x25;"> +<!ENTITY%percent;def "ghi"> +<!ENTITY abc "%def;"> +<!ELEMENT root (#PCDATA)> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4a.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4a.xml new file mode 100644 index 0000000000000000000000000000000000000000..27fa60384282d164654956b81ad349bc77b970a5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t4a.xml @@ -0,0 +1,3 @@ +<?xml version='1.0'?> +<!DOCTYPE root SYSTEM 't4a.dtd'> +<root>&abc;</root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t6.dtd b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t6.dtd new file mode 100644 index 0000000000000000000000000000000000000000..7497c281187fc4b4b6fbc79485a8dfc9b5c7dfa2 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t6.dtd @@ -0,0 +1,5 @@ +<!ENTITY % xdef "def"> +<!ENTITY % %xdef; "ghi"> +<!ENTITY abc "%def;"> +<!ELEMENT root (#PCDATA)> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t6.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t6.xml new file mode 100644 index 0000000000000000000000000000000000000000..b9f62ca5f1b3f292f8a629579c27ba326dc73136 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t6.xml @@ -0,0 +1,3 @@ +<?xml version='1.0'?> +<!DOCTYPE root SYSTEM 't6.dtd'> +<root>&abc;</root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t8.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t8.xml new file mode 100644 index 0000000000000000000000000000000000000000..c7c2b0a7d50b620d1b214f35cf3801b56d49d6bd --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t8.xml @@ -0,0 +1,8 @@ +<?xml version='1.0'?> +<!DOCTYPE root [ +<!ENTITY % deftest '&lt;!ELEMENT test (#PCDATA) >' > +<!ENTITY % defmiddle '&lt;!ELEMENT middle (test) >' > +<!ENTITY % defroot '&lt;!ELEMENT root (middle) >' > +%defroot; %defmiddle; %deftest; +]> +<root><middle><test>sample</test></middle></root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t8a.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t8a.xml new file mode 100644 index 0000000000000000000000000000000000000000..13470ebefc7f8f36819160c82e430cc373da3316 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t8a.xml @@ -0,0 +1,8 @@ +<?xml version='1.0'?> +<!DOCTYPE root [ +<!ENTITY % deftest '&lt;!ELEMENT test (#PCDATA) >' > +<!ENTITY % defmiddle '&lt;!ELEMENT middle (test) >' > +<!ENTITY % defroot '&lt;!ELEMENT root (middle) >' > +%defroot;%defmiddle;%deftest; +]> +<root><middle><test>sample</test></middle></root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t9.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t9.xml new file mode 100644 index 0000000000000000000000000000000000000000..645d35af56ab02e9210b6a1d1509217a96b2fb60 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t9.xml @@ -0,0 +1,8 @@ +<?xml version='1.0'?> +<!DOCTYPE root [ +<!ENTITY % deftest '&#60;!ELEMENT test (#PCDATA) >' > +<!ENTITY % defmiddle '&#60;!ELEMENT middle (test) >' > +<!ENTITY % defroot '&#60;!ELEMENT root (middle) >' > +%defroot; %defmiddle; %deftest; +]> +<root><middle><test>sample</test></middle></root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/t9a.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t9a.xml new file mode 100644 index 0000000000000000000000000000000000000000..23d3c0646e3032493b6f918dd322e5d4659638a5 --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/t9a.xml @@ -0,0 +1,8 @@ +<?xml version='1.0'?> +<!DOCTYPE root [ +<!ENTITY % deftest '&#60;!ELEMENT test (#PCDATA) >' > +<!ENTITY % defmiddle '&#60;!ELEMENT middle (test) >' > +<!ENTITY % defroot '&#60;!ELEMENT root (middle) >' > +%defroot;%defmiddle;%deftest; +]> +<root><middle><test>sample</test></middle></root> diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/xhtml1.xhtml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/xhtml1.xhtml new file mode 100644 index 0000000000000000000000000000000000000000..e47f9bb1b08d7c0eef7fbe2fe8f25df55d76b9ad --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/xhtml1.xhtml @@ -0,0 +1,1505 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "dtds/xhtml1-strict.dtd"> +<?xml-stylesheet href="W3C-PR.css" type="text/css"?> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> +<head> +<title>XHTML 1.0: The Extensible HyperText Markup +Language</title> +<link rel="stylesheet" +href="W3C-PR.css" type="text/css" /> +<style type="text/css"> +span.term { font-style: italic; color: rgb(0, 0, 192) } +code { + color: green; + font-family: monospace; + font-weight: bold; +} + +code.greenmono { + color: green; + font-family: monospace; + font-weight: bold; +} +.good { + border: solid green; + border-width: 2px; + color: green; + font-weight: bold; + margin-right: 5%; + margin-left: 0; +} +.bad { + border: solid red; + border-width: 2px; + margin-left: 0; + margin-right: 5%; + color: rgb(192, 101, 101); +} + +img { + color: white; + border: none; +} + +div.navbar { text-align: center; } +div.contents { + background-color: rgb(204,204,255); + padding: 0.5em; + border: none; + margin-right: 5%; +} +.tocline { list-style: none; } +table.exceptions { background-color: rgb(255,255,153); } +</style> +</head> +<body> +<div class="navbar"> + <a href="#toc">table of contents</a> + <hr /> +</div> +<div class="head"><p><a href="http://www.w3.org/"><img class="head" +src="w3c_home.gif" alt="W3C" /></a></p> + +<h1 class="head"><a name="title" id="title">XHTML</a><sup>&#8482;</sup> 1.0: +The Extensible HyperText Markup Language</h1> + +<h2>A Reformulation of HTML 4.0 in XML 1.0</h2> + +<h3>W3C Proposed Recommendation 10 December 1999</h3> + +<dl> +<dt>This version:</dt> + +<dd><a href= +"http://www.w3.org/TR/1999/PR-xhtml1-19991210"> +http://www.w3.org/TR/1999/PR-xhtml1-19991210</a> <br /> +(<a href="xhtml1.ps">Postscript version</a>, +<a href="xhtml1.pdf">PDF version</a>, +<a href="xhtml1.zip">ZIP archive</a>, or +<a href="xhtml1.tgz">Gzip'd TAR archive</a>) +</dd> + +<dt>Latest version:</dt> + +<dd><a href="http://www.w3.org/TR/xhtml1"> +http://www.w3.org/TR/xhtml1</a></dd> + +<dt>Previous versions:</dt> + +<dd><a href= +"http://www.w3.org/TR/1999/WD-xhtml1-19991124"> +http://www.w3.org/TR/1999/WD-xhtml1-19991124</a></dd> +<dd><a href= +"http://www.w3.org/TR/1999/PR-xhtml1-19990824"> +http://www.w3.org/TR/1999/PR-xhtml1-19990824</a></dd> + +<dt>Authors:</dt> + +<dd>See <a href="#acks">acknowledgements</a>.</dd> +</dl> + +<p class="copyright"><a href= +"http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"> +Copyright</a> &copy; 1999 <a href="http://www.w3.org/">W3C</a><sup>&reg;</sup> +(<a href="http://www.lcs.mit.edu/">MIT</a>, <a href= +"http://www.inria.fr/">INRIA</a>, <a href= +"http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. <abbr +title="World Wide Web Consortium">W3C</abbr> <a +href= +"http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer"> +liability</a>, <a href= +"http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks"> +trademark</a>, <a href= +"http://www.w3.org/Consortium/Legal/copyright-documents">document +use</a> and <a href= +"http://www.w3.org/Consortium/Legal/copyright-software">software +licensing</a> rules apply.</p> +<hr /> +</div> + +<h2 class="notoc">Abstract</h2> + +<p>This specification defines <abbr title="Extensible Hypertext Markup +Language">XHTML</abbr> 1.0, a reformulation of HTML +4.0 as an XML 1.0 application, and three <abbr title="Document Type +Definition">DTDs</abbr> corresponding to +the ones defined by HTML 4.0. The semantics of the elements and +their attributes are defined in the W3C Recommendation for HTML +4.0. These semantics provide the foundation for future +extensibility of XHTML. Compatibility with existing HTML user +agents is possible by following a small set of guidelines.</p> + +<h2>Status of this document</h2> + +<p><em>This section describes the status of this document at the time +of its publication. Other documents may supersede this document. The +latest status of this document series is maintained at the W3C.</em></p> + +<p>This specification is a Proposed Recommendation of the HTML Working Group. It is +a revision of the Proposed Recommendation dated <a +href= "http://www.w3.org/TR/1999/PR-xhtml1-19990824/">24 August +1999</a> incorporating changes as a result of comments from the Proposed +Recommendation review, and +comments and further deliberations of the W3C HTML Working Group. A +<a href="xhtml1-diff-19991210.html">diff-marked version</a> from the previous +proposed recommendation is available for comparison purposes.</p> + +<p>On 10 December 1999, this document enters a +<a href="http://www.w3.org/Consortium/Process/#RecsPR"> +Proposed Recommendation</a> review period. From that date until 8 January +2000, +W3C Advisory Committee representatives are encouraged +to review this specification and return comments in their completed +ballots to w3c-html-review@w3.org. Please send any comments of a +confidential nature in separate email to w3t-html@w3.org, which is +visible to the Team only.</p> + +<p>No sooner than 14 days after the end of the review period, the +Director will announce the document's disposition: it may become a W3C +Recommendation (possibly with minor changes), it may revert to Working +Draft status, or it may be dropped as a W3C work item.</p> + +<p>Publication as a Proposed Recommendation does not imply endorsement +by the W3C membership. This is still a draft document and may be +updated, replaced or obsoleted by other documents at any time. It is +inappropriate to cite W3C Proposed Recommendation as other than "work +in progress."</p> + +<p>This document has been produced as part of the <a href= +"http://www.w3.org/MarkUp/">W3C HTML Activity</a>. The goals of +the <a href="http://www.w3.org/MarkUp/Group/">HTML Working +Group</a> <i>(<a href="http://cgi.w3.org/MemberAccess/">members +only</a>)</i> are discussed in the <a href= +"http://www.w3.org/MarkUp/Group/HTMLcharter">HTML Working Group +charter</a> <i>(<a href="http://cgi.w3.org/MemberAccess/">members +only</a>)</i>.</p> + +<p>A list of current W3C Recommendations and other technical documents +can be found at <a +href="http://www.w3.org/TR">http://www.w3.org/TR</a>.</p> + +<p>Public discussion on <abbr title="HyperText Markup +Language">HTML</abbr> features takes place on the mailing list <a +href="mailto:www-html@w3.org"> www-html@w3.org</a> (<a href= +"http://lists.w3.org/Archives/Public/www-html/">archive</a>). The W3C +staff contact for work on HTML is <a href= "mailto:dsr@w3.org">Dave +Raggett</a>.</p> + +<p>Please report errors in this document to <a +href="mailto:www-html-editor@w3.org">www-html-editor@w3.org</a>.</p> + +<p>The list of known errors in this specification is available at <a +href="http://www.w3.org/1999/12/PR-xhtml1-19991210-errata">http://www.w3.org/1999/12/PR-xhtml1-19991210-errata</a>.</p> + +<h2 class="notoc"><a id="toc" name="toc">Contents</a></h2> + +<div class="contents"> +<ul class="toc"> +<li class="tocline">1. <a href="#xhtml">What is XHTML?</a> + +<ul class="toc"> +<li class="tocline">1.1 <a href="#html4">What is HTML 4.0?</a></li> + +<li class="tocline">1.2 <a href="#xml">What is XML?</a></li> + +<li class="tocline">1.3 <a href="#why">Why the need for XHTML?</a></li> +</ul> +</li> + +<li class="tocline">2. <a href="#defs">Definitions</a> + +<ul class="toc"> +<li class="tocline">2.1 <a href="#terms">Terminology</a></li> + +<li class="tocline">2.2 <a href="#general">General Terms</a></li> +</ul> +</li> + +<li class="tocline">3. <a href="#normative">Normative Definition of XHTML 1.0</a> + + +<ul class="toc"> +<li class="tocline">3.1 <a href="#docconf">Document Conformance</a></li> + +<li class="tocline">3.2 <a href="#uaconf">User Agent Conformance</a></li> +</ul> +</li> + +<li class="tocline">4. <a href="#diffs">Differences with HTML 4.0</a> + +</li> + +<li class="tocline">5. <a href="#issues">Compatibility Issues</a> + +<ul class="toc"> +<li class="tocline">5.1 <a href="#media">Internet Media Types</a></li> +</ul> +</li> + +<li class="tocline">6. <a href="#future">Future Directions</a> + +<ul class="toc"> +<li class="tocline">6.1 <a href="#mods">Modularizing HTML</a></li> + +<li class="tocline">6.2 <a href="#extensions">Subsets and Extensibility</a></li> + +<li class="tocline">6.3 <a href="#profiles">Document Profiles</a></li> +</ul> +</li> + +<li class="tocline"><a href="#dtds">Appendix A. DTDs</a></li> + +<li class="tocline"><a href="#prohibitions">Appendix B. Element +Prohibitions</a></li> + +<li class="tocline"><a href="#guidelines">Appendix C. HTML Compatibility Guidelines</a></li> + +<li class="tocline"><a href="#acks">Appendix D. Acknowledgements</a></li> + +<li class="tocline"><a href="#refs">Appendix E. References</a></li> +</ul> +</div> + +<!--OddPage--> +<h1><a name="xhtml" id="xhtml">1. What is XHTML?</a></h1> + +<p>XHTML is a family of current and future document types and modules that +reproduce, subset, and extend HTML 4.0 <a href="#ref-html4">[HTML]</a>. XHTML family document types are <abbr title="Extensible Markup Language">XML</abbr> based, +and ultimately are designed to work in conjunction with XML-based user agents. +The details of this family and its evolution are +discussed in more detail in the section on <a href="#future">Future +Directions</a>. </p> + +<p>XHTML 1.0 (this specification) is the first document type in the XHTML +family. It is a reformulation of the three HTML 4.0 document types as +applications of XML 1.0 <a href="#ref-xml"> [XML]</a>. It is intended +to be used as a language for content that is both XML-conforming and, if some +simple <a href="#guidelines">guidelines</a> are followed, +operates in HTML 4.0 conforming user agents. Developers who migrate +their content to XHTML 1.0 will realize the following benefits:</p> + +<ul> +<li>XHTML documents are XML conforming. As such, they are readily viewed, +edited, and validated with standard XML tools.</li> +<li>XHTML documents can be written to +to operate as well or better than they did before in existing +HTML 4.0-conforming user agents as well as in new, XHTML 1.0 conforming user +agents.</li> +<li>XHTML documents can utilize applications (e.g. scripts and applets) that rely +upon either the HTML Document Object Model or the XML Document Object Model <a +href="#ref-dom">[DOM]</a>.</li> +<li>As the XHTML family evolves, documents conforming to XHTML 1.0 will be more +likely to interoperate within and among various XHTML environments.</li> +</ul> + +<p>The XHTML family is the next step in the evolution of the Internet. By +migrating to XHTML today, content developers can enter the XML world with all +of its attendant benefits, while still remaining confident in their +content's backward and future compatibility.</p> + +<h2><a name="html4" id="html4">1.1 What is HTML 4.0?</a></h2> + +<p>HTML 4.0 <a href="#ref-html4">[HTML]</a> is an <abbr title="Standard +Generalized Markup Language">SGML</abbr> (Standard +Generalized Markup Language) application conforming to +International Standard <abbr title="Organization for International +Standardization">ISO</abbr> 8879, and is widely regarded as the +standard publishing language of the World Wide Web.</p> + +<p>SGML is a language for describing markup languages, +particularly those used in electronic document exchange, document +management, and document publishing. HTML is an example of a +language defined in SGML.</p> + +<p>SGML has been around since the middle 1980's and has remained +quite stable. Much of this stability stems from the fact that the +language is both feature-rich and flexible. This flexibility, +however, comes at a price, and that price is a level of +complexity that has inhibited its adoption in a diversity of +environments, including the World Wide Web.</p> + +<p>HTML, as originally conceived, was to be a language for the +exchange of scientific and other technical documents, suitable +for use by non-document specialists. HTML addressed the problem +of SGML complexity by specifying a small set of structural and +semantic tags suitable for authoring relatively simple documents. +In addition to simplifying the document structure, HTML added +support for hypertext. Multimedia capabilities were added +later.</p> + +<p>In a remarkably short space of time, HTML became wildly +popular and rapidly outgrew its original purpose. Since HTML's +inception, there has been rapid invention of new elements for use +within HTML (as a standard) and for adapting HTML to vertical, +highly specialized, markets. This plethora of new elements has +led to compatibility problems for documents across different +platforms.</p> + +<p>As the heterogeneity of both software and platforms rapidly +proliferate, it is clear that the suitability of 'classic' HTML +4.0 for use on these platforms is somewhat limited.</p> + +<h2><a name="xml" id="xml">1.2 What is XML?</a></h2> + +<p>XML<sup>&#8482;</sup> is the shorthand for Extensible Markup +Language, and is an acronym of Extensible Markup Language <a +href="#ref-xml">[XML]</a>.</p> + +<p>XML was conceived as a means of regaining the power and +flexibility of SGML without most of its complexity. Although a +restricted form of SGML, XML nonetheless preserves most of SGML's +power and richness, and yet still retains all of SGML's commonly +used features.</p> + +<p>While retaining these beneficial features, XML removes many of +the more complex features of SGML that make the authoring and +design of suitable software both difficult and costly.</p> + +<h2><a name="why" id="why">1.3 Why the need for XHTML?</a></h2> + +<p>The benefits of migrating to XHTML 1.0 are described above. Some of the +benefits of migrating to XHTML in general are:</p> + +<ul> +<li>Document developers and user agent designers are constantly +discovering new ways to express their ideas through new markup. In XML, it is +relatively easy to introduce new elements or additional element +attributes. The XHTML family is designed to accommodate these extensions +through XHTML modules and techniques for developing new XHTML-conforming +modules (described in the forthcoming XHTML Modularization specification). +These modules will permit the combination of existing and +new feature sets when developing content and when designing new user +agents.</li> + +<li>Alternate ways of accessing the Internet are constantly being +introduced. Some estimates indicate that by the year 2002, 75% of +Internet document viewing will be carried out on these alternate +platforms. The XHTML family is designed with general user agent +interoperability in mind. Through a new user agent and document profiling +mechanism, servers, proxies, and user agents will be able to perform +best effort content transformation. Ultimately, it will be possible to +develop XHTML-conforming content that is usable by any XHTML-conforming +user agent.</li> + +</ul> +<!--OddPage--> +<h1><a name="defs" id="defs">2. Definitions</a></h1> + +<h2><a name="terms" id="terms">2.1 Terminology</a></h2> + +<p>The following terms are used in this specification. These +terms extend the definitions in <a href="#ref-rfc2119"> +[RFC2119]</a> in ways based upon similar definitions in ISO/<abbr +title="International Electro-technical Commission">IEC</abbr> +9945-1:1990 <a href="#ref-posix">[POSIX.1]</a>:</p> + +<dl> +<dt>Implementation-defined</dt> + +<dd>A value or behavior is implementation-defined when it is left +to the implementation to define [and document] the corresponding +requirements for correct document construction.</dd> + +<dt>May</dt> + +<dd>With respect to implementations, the word "may" is to be +interpreted as an optional feature that is not required in this +specification but can be provided. With respect to <a href= +"#docconf">Document Conformance</a>, the word "may" means that +the optional feature must not be used. The term "optional" has +the same definition as "may".</dd> + +<dt>Must</dt> + +<dd>In this specification, the word "must" is to be interpreted +as a mandatory requirement on the implementation or on Strictly +Conforming XHTML Documents, depending upon the context. The term +"shall" has the same definition as "must".</dd> + +<dt>Reserved</dt> + +<dd>A value or behavior is unspecified, but it is not allowed to +be used by Conforming Documents nor to be supported by a +Conforming User Agents.</dd> + +<dt>Should</dt> + +<dd>With respect to implementations, the word "should" is to be +interpreted as an implementation recommendation, but not a +requirement. With respect to documents, the word "should" is to +be interpreted as recommended programming practice for documents +and a requirement for Strictly Conforming XHTML Documents.</dd> + +<dt>Supported</dt> + +<dd>Certain facilities in this specification are optional. If a +facility is supported, it behaves as specified by this +specification.</dd> + +<dt>Unspecified</dt> + +<dd>When a value or behavior is unspecified, the specification +defines no portability requirements for a facility on an +implementation even when faced with a document that uses the +facility. A document that requires specific behavior in such an +instance, rather than tolerating any behavior when using that +facility, is not a Strictly Conforming XHTML Document.</dd> +</dl> + +<h2><a name="general" id="general">2.2 General Terms</a></h2> + +<dl> +<dt>Attribute</dt> + +<dd>An attribute is a parameter to an element declared in the +DTD. An attribute's type and value range, including a possible +default value, are defined in the DTD.</dd> + +<dt>DTD</dt> + +<dd>A DTD, or document type definition, is a collection of XML +declarations that, as a collection, defines the legal structure, +<span class="term">elements</span>, and <span class="term"> +attributes</span> that are available for use in a document that +complies to the DTD.</dd> + +<dt>Document</dt> + +<dd>A document is a stream of data that, after being combined +with any other streams it references, is structured such that it +holds information contained within <span class="term"> +elements</span> that are organized as defined in the associated +<span class="term">DTD</span>. See <a href="#docconf">Document +Conformance</a> for more information.</dd> + +<dt>Element</dt> + +<dd>An element is a document structuring unit declared in the +<span class="term">DTD</span>. The element's content model is +defined in the <span class="term">DTD</span>, and additional +semantics may be defined in the prose description of the +element.</dd> + +<dt><a name="facilities" id="facilities">Facilities</a></dt> + +<dd>Functionality includes <span class="term">elements</span>, +<span class="term">attributes</span>, and the semantics +associated with those <span class="term">elements</span> and +<span class="term">attributes</span>. An implementation +supporting that functionality is said to provide the necessary +facilities.</dd> + +<dt>Implementation</dt> + +<dd>An implementation is a system that provides collection of +<span class="term">facilities</span> and services that supports +this specification. See <a href="#uaconf">User Agent +Conformance</a> for more information.</dd> + +<dt>Parsing</dt> + +<dd>Parsing is the act whereby a <span class="term"> +document</span> is scanned, and the information contained within +the <span class="term">document</span> is filtered into the +context of the <span class="term">elements</span> in which the +information is structured.</dd> + +<dt>Rendering</dt> + +<dd>Rendering is the act whereby the information in a <span +class="term">document</span> is presented. This presentation is +done in the form most appropriate to the environment (e.g. +aurally, visually, in print).</dd> + +<dt>User Agent</dt> + +<dd>A user agent is an <span class="term">implementation</span> +that retrieves and processes XHTML documents. See <a href= +"#uaconf">User Agent Conformance</a> for more information.</dd> + +<dt>Validation</dt> + +<dd>Validation is a process whereby <span class="term"> +documents</span> are verified against the associated <span class= +"term">DTD</span>, ensuring that the structure, use of <span +class="term">elements</span>, and use of <span class="term"> +attributes</span> are consistent with the definitions in the +<span class="term">DTD</span>.</dd> + +<dt><a name="wellformed" id="wellformed">Well-formed</a></dt> + +<dd>A <span class="term">document</span> is well-formed when it +is structured according to the rules defined in <a href= +"http://www.w3.org/TR/REC-xml#sec-well-formed">Section 2.1</a> of +the XML 1.0 Recommendation <a href="#ref-xml">[XML]</a>. +Basically, this definition states that elements, delimited by +their start and end tags, are nested properly within one +another.</dd> +</dl> + +<!--OddPage--> +<h1><a name="normative" id="normative">3. Normative Definition of +XHTML 1.0</a></h1> + +<h2><a name="docconf" id="docconf">3.1 Document +Conformance</a></h2> + +<p>This version of XHTML provides a definition of strictly +conforming XHTML documents, which are restricted to tags and +attributes from the XHTML namespace. See <a href= +"#well-formed">Section 3.1.2</a> for information on using XHTML +with other namespaces, for instance, to include metadata +expressed in <abbr title="Resource Description Format">RDF</abbr> within XHTML documents.</p> + +<h3><a name="strict" id="strict">3.1.1 Strictly Conforming +Documents</a></h3> + +<p>A Strictly Conforming XHTML Document is a document that +requires only the facilities described as mandatory in this +specification. Such a document must meet all of the following +criteria:</p> + +<ol> +<li> +<p>It must validate against one of the three DTDs found in <a +href="#dtds">Appendix&#160;A</a>.</p> +</li> + +<li> +<p>The root element of the document must be <code> +&lt;html&gt;</code>.</p> +</li> + +<li> +<p>The root element of the document must designate the XHTML +namespace using the <code>xmlns</code> attribute <a href= +"#ref-xmlns">[XMLNAMES]</a>. The namespace for XHTML is +defined to be +<code>http://www.w3.org/1999/xhtml</code>.</p> +</li> + +<li> +<p>There must be a DOCTYPE declaration in the document prior to +the root element. The public identifier included in +the DOCTYPE declaration must reference one of the three DTDs +found in <a href="#dtds">Appendix&#160;A</a> using the respective +Formal Public Identifier. The system identifier may be changed to reflect +local system conventions.</p> + +<pre> +&lt;!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-strict.dtd&gt; + +&lt;!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-transitional.dtd&gt; + +&lt;!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-frameset.dtd&gt; +</pre> +</li> +</ol> + +<p>Here is an example of a minimal XHTML document.</p> + +<div class="good"> +<pre> +&lt;?xml version="1.0" encoding="UTF-8"?&gt; +&lt;!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-strict.dtd"&gt; +&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt; + &lt;head&gt; + &lt;title&gt;Virtual Library&lt;/title&gt; + &lt;/head&gt; + &lt;body&gt; + &lt;p&gt;Moved to &lt;a href="http://vlib.org/"&gt;vlib.org&lt;/a&gt;.&lt;/p&gt; + &lt;/body&gt; +&lt;/html&gt;</pre> +</div> + +<p>Note that in this example, the XML declaration is included. An XML +declaration like the one above is +not required in all XML documents. XHTML document authors are strongly encouraged to use XML declarations in all their documents. Such a declaration is required +when the character encoding of the document is other than the default UTF-8 or +UTF-16.</p> + +<h3><a name="well-formed" id="well-formed">3.1.2 Using XHTML with +other namespaces</a></h3> + +<p>The XHTML namespace may be used with other XML namespaces +as per <a href="#ref-xmlns">[XMLNAMES]</a>, although such +documents are not strictly conforming XHTML 1.0 documents as +defined above. Future work by W3C will address ways to specify +conformance for documents involving multiple namespaces.</p> + +<p>The following example shows the way in which XHTML 1.0 could +be used in conjunction with the MathML Recommendation:</p> + +<div class="good"> +<pre> +&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt; + &lt;head&gt; + &lt;title&gt;A Math Example&lt;/title&gt; + &lt;/head&gt; + &lt;body&gt; + &lt;p&gt;The following is MathML markup:&lt;/p&gt; + &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt; + &lt;apply&gt; &lt;log/&gt; + &lt;logbase&gt; + &lt;cn&gt; 3 &lt;/cn&gt; + &lt;/logbase&gt; + &lt;ci&gt; x &lt;/ci&gt; + &lt;/apply&gt; + &lt;/math&gt; + &lt;/body&gt; +&lt;/html&gt; +</pre> +</div> + +<p>The following example shows the way in which XHTML 1.0 markup +could be incorporated into another XML namespace:</p> + +<div class="good"> +<pre> +&lt;?xml version="1.0" encoding="UTF-8"?&gt; +&lt;!-- initially, the default namespace is "books" --&gt; +&lt;book xmlns='urn:loc.gov:books' + xmlns:isbn='urn:ISBN:0-395-36341-6' xml:lang="en" lang="en"&gt; + &lt;title&gt;Cheaper by the Dozen&lt;/title&gt; + &lt;isbn:number&gt;1568491379&lt;/isbn:number&gt; + &lt;notes&gt; + &lt;!-- make HTML the default namespace for a hypertext commentary --&gt; + &lt;p xmlns='http://www.w3.org/1999/xhtml'&gt; + This is also available &lt;a href="http://www.w3.org/"&gt;online&lt;/a&gt;. + &lt;/p&gt; + &lt;/notes&gt; +&lt;/book&gt; +</pre> +</div> + +<h2><a name="uaconf" id="uaconf">3.2 User Agent +Conformance</a></h2> + +<p>A conforming user agent must meet all of the following +criteria:</p> + +<ol> +<li>In order to be consistent with the XML 1.0 Recommendation <a +href="#ref-xml">[XML]</a>, the user agent must parse and evaluate +an XHTML document for well-formedness. If the user agent claims +to be a validating user agent, it must also validate documents +against their referenced DTDs according to <a href="#ref-xml"> +[XML]</a>.</li> + +<li>When the user agent claims to support <a href="#facilities"> +facilities</a> defined within this specification or required by +this specification through normative reference, it must do so in +ways consistent with the facilities' definition.</li> + +<li>When a user agent processes an XHTML document as generic XML, +it shall only recognize attributes of type +<code>ID</code> (e.g. the <code>id</code> attribute on most XHTML elements) +as fragment identifiers.</li> + +<li>If a user agent encounters an element it does not recognize, +it must render the element's content.</li> + +<li>If a user agent encounters an attribute it does not +recognize, it must ignore the entire attribute specification +(i.e., the attribute and its value).</li> + +<li>If a user agent encounters an attribute value it doesn't +recognize, it must use the default attribute value.</li> + +<li>If it encounters an entity reference (other than one +of the predefined entities) for which the User Agent has +processed no declaration (which could happen if the declaration +is in the external subset which the User Agent hasn't read), the entity +reference should be rendered as the characters (starting +with the ampersand and ending with the semi-colon) that +make up the entity reference.</li> + +<li>When rendering content, User Agents that encounter +characters or character entity references that are recognized but not renderable should display the document in such a way that it is obvious to the user that normal rendering has not taken place.</li> + +<li> +The following characters are defined in [XML] as whitespace characters: + +<ul> +<li>Space (&amp;#x0020;)</li> +<li>Tab (&amp;#x0009;)</li> +<li>Carriage return (&amp;#x000D;)</li> +<li>Line feed (&amp;#x000A;)</li> +</ul> + +<p> +The XML processor normalizes different system's line end codes into one +single line-feed character, that is passed up to the application. The XHTML +user agent in addition, must treat the following characters as whitespace: +</p> + +<ul> +<li>Form feed (&amp;#x000C;)</li> +<li>Zero-width space (&amp;#x200B;)</li> +</ul> + +<p> +In elements where the 'xml:space' attribute is set to 'preserve', the user +agent must leave all whitespace characters intact (with the exception of +leading and trailing whitespace characters, which should be removed). +Otherwise, whitespace +is handled according to the following rules: +</p> + +<ul> +<li> +All whitespace surrounding block elements should be removed. +</li> +<li> +Comments are removed entirely and do not affect whitespace handling. One +whitespace character on either side of a comment is treated as two white +space characters. +</li> +<li> +Leading and trailing whitespace inside a block element must be removed. +</li> +<li>Line feed characters within a block element must be converted into a +space (except when the 'xml:space' attribute is set to 'preserve'). +</li> +<li> +A sequence of white space characters must be reduced to a single space +character (except when the 'xml:space' attribute is set to 'preserve'). +</li> +<li> +With regard to rendition, +the User Agent should render the content in a +manner appropriate to the language in which the content is written. +In languages whose primary script is Latinate, the ASCII space +character is typically used to encode both grammatical word boundaries and +typographic whitespace; in languages whose script is related to Nagari +(e.g., Sanskrit, Thai, etc.), grammatical boundaries may be encoded using +the ZW 'space' character, but will not typically be represented by +typographic whitespace in rendered output; languages using Arabiform scripts +may encode typographic whitespace using a space character, but may also use +the ZW space character to delimit 'internal' grammatical boundaries (what +look like words in Arabic to an English eye frequently encode several words, +e.g. 'kitAbuhum' = 'kitAbu-hum' = 'book them' == their book); and languages +in the Chinese script tradition typically neither encode such delimiters nor +use typographic whitespace in this way. +</li> +</ul> + +<p>Whitespace in attribute values is processed according to <a +href="#ref-xml">[XML]</a>.</p> +</li> +</ol> + +<!--OddPage--> +<h1><a name="diffs" id="diffs">4. Differences with HTML +4.0</a></h1> + +<p>Due to the fact that XHTML is an XML application, certain +practices that were perfectly legal in SGML-based HTML 4.0 <a +href="#ref-html4">[HTML]</a> must be changed.</p> + +<h2><a name="h-4.1" id="h-4.1">4.1 Documents must be +well-formed</a></h2> + +<p><a href="#wellformed">Well-formedness</a> is a new concept +introduced by <a href="#ref-xml">[XML]</a>. Essentially this +means that all elements must either have closing tags or be +written in a special form (as described below), and that all the +elements must nest.</p> + +<p>Although overlapping is illegal in SGML, it was widely +tolerated in existing browsers.</p> + +<div class="good"> +<p><strong><em>CORRECT: nested elements.</em></strong></p> + +<p>&lt;p&gt;here is an emphasized +&lt;em&gt;paragraph&lt;/em&gt;.&lt;/p&gt;</p> +</div> + +<div class="bad"> +<p><strong><em>INCORRECT: overlapping elements</em></strong></p> + +<p>&lt;p&gt;here is an emphasized +&lt;em&gt;paragraph.&lt;/p&gt;&lt;/em&gt;</p> +</div> + +<h2><a name="h-4.2" id="h-4.2">4.2 Element and attribute +names must be in lower case</a></h2> + +<p>XHTML documents must use lower case for all HTML element and +attribute names. This difference is necessary because XML is +case-sensitive e.g. &lt;li&gt; and &lt;LI&gt; are different +tags.</p> + +<h2><a name="h-4.3" id="h-4.3">4.3 For non-empty elements, +end tags are required</a></h2> + +<p>In SGML-based HTML 4.0 certain elements were permitted to omit +the end tag; with the elements that followed implying closure. +This omission is not permitted in XML-based XHTML. All elements +other than those declared in the DTD as <code>EMPTY</code> must +have an end tag.</p> + +<div class="good"> +<p><strong><em>CORRECT: terminated elements</em></strong></p> + +<p>&lt;p&gt;here is a paragraph.&lt;/p&gt;&lt;p&gt;here is +another paragraph.&lt;/p&gt;</p> +</div> + +<div class="bad"> +<p><strong><em>INCORRECT: unterminated elements</em></strong></p> + +<p>&lt;p&gt;here is a paragraph.&lt;p&gt;here is another +paragraph.</p> +</div> + +<h2><a name="h-4.4" id="h-4.4">4.4 Attribute values must +always be quoted</a></h2> + +<p>All attribute values must be quoted, even those which appear +to be numeric.</p> + +<div class="good"> +<p><strong><em>CORRECT: quoted attribute values</em></strong></p> + +<p>&lt;table rows="3"&gt;</p> +</div> + +<div class="bad"> +<p><strong><em>INCORRECT: unquoted attribute values</em></strong></p> + +<p>&lt;table rows=3&gt;</p> +</div> + +<h2><a name="h-4.5" id="h-4.5">4.5 Attribute +Minimization</a></h2> + +<p>XML does not support attribute minimization. Attribute-value +pairs must be written in full. Attribute names such as <code> +compact</code> and <code>checked</code> cannot occur in elements +without their value being specified.</p> + +<div class="good"> +<p><strong><em>CORRECT: unminimized attributes</em></strong></p> + +<p>&lt;dl compact="compact"&gt;</p> +</div> + +<div class="bad"> +<p><strong><em>INCORRECT: minimized attributes</em></strong></p> + +<p>&lt;dl compact&gt;</p> +</div> + +<h2><a name="h-4.6" id="h-4.6">4.6 Empty Elements</a></h2> + +<p>Empty elements must either have an end tag or the start tag must end with <code>/&gt;</code>. For instance, +<code>&lt;br/&gt;</code> or <code>&lt;hr&gt;&lt;/hr&gt;</code>. See <a +href="#guidelines">HTML Compatibility Guidelines</a> for information on ways to +ensure this is backward compatible with HTML 4.0 user agents.</p> + +<div class="good"> +<p><strong><em>CORRECT: terminated empty tags</em></strong></p> + +<p>&lt;br/&gt;&lt;hr/&gt;</p> +</div> + +<div class="bad"> +<p><strong><em>INCORRECT: unterminated empty tags</em></strong></p> + +<p>&lt;br&gt;&lt;hr&gt;</p> +</div> + +<h2><a name="h-4.7" id="h-4.7">4.7 Whitespace handling in +attribute values</a></h2> + +<p>In attribute values, user agents will strip leading and +trailing whitespace from attribute values and map sequences +of one or more whitespace characters (including line breaks) to +a single inter-word space (an ASCII space character for western +scripts). See <a href="http://www.w3.org/TR/REC-xml#AVNormalize"> +Section 3.3.3</a> of <a href="#ref-xml">[XML]</a>.</p> + +<h2><a name="h-4.8" id="h-4.8">4.8 Script and Style +elements</a></h2> + +<p>In XHTML, the script and style elements are declared as having +<code>#PCDATA</code> content. As a result, <code>&lt;</code> and +<code>&amp;</code> will be treated as the start of markup, and +entities such as <code>&amp;lt;</code> and <code>&amp;amp;</code> +will be recognized as entity references by the XML processor to +<code>&lt;</code> and <code>&amp;</code> respectively. Wrapping +the content of the script or style element within a <code> +CDATA</code> marked section avoids the expansion of these +entities.</p> + +<div class="good"> +<pre> +&lt;script&gt; + &lt;![CDATA[ + ... unescaped script content ... + ]]&gt; + &lt;/script&gt; +</pre> +</div> + +<p><code>CDATA</code> sections are recognized by the XML +processor and appear as nodes in the Document Object Model, see +<a href= +"http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-E067D597"> +Section 1.3</a> of the DOM Level 1 Recommendation <a href= +"#ref-dom">[DOM]</a>.</p> + +<p>An alternative is to use external script and style +documents.</p> + +<h2><a name="h-4.9" id="h-4.9">4.9 SGML exclusions</a></h2> + +<p>SGML gives the writer of a DTD the ability to exclude specific +elements from being contained within an element. Such +prohibitions (called "exclusions") are not possible in XML.</p> + +<p>For example, the HTML 4.0 Strict DTD forbids the nesting of an +'<code>a</code>' element within another '<code>a</code>' element +to any descendant depth. It is not possible to spell out such +prohibitions in XML. Even though these prohibitions cannot be +defined in the DTD, certain elements should not be nested. A +summary of such elements and the elements that should not be +nested in them is found in the normative <a href="#prohibitions"> +Appendix&#160;B</a>.</p> + +<h2><a name="h-4.10" id="h-4.10">4.10 The elements with 'id' and 'name' +attributes</a></h2> + +<p>HTML 4.0 defined the <code>name</code> attribute for the elements +<code>a</code>, +<code>applet</code>, <code>frame</code>, +<code>iframe</code>, <code>img</code>, and <code>map</code>. +HTML 4.0 also introduced +the <code>id</code> attribute. Both of these attributes are designed to be +used as fragment identifiers.</p> +<p>In XML, fragment identifiers are of type <code>ID</code>, and +there can only be a single attribute of type <code>ID</code> per element. +Therefore, in XHTML 1.0 the <code>id</code> +attribute is defined to be of type <code>ID</code>. In order to +ensure that XHTML 1.0 documents are well-structured XML documents, XHTML 1.0 +documents MUST use the <code>id</code> attribute when defining fragment +identifiers, even on elements that historically have also had a +<code>name</code> attribute. +See the <a href="#guidelines">HTML Compatibility +Guidelines</a> for information on ensuring such anchors are backwards +compatible when serving XHTML documents as media type <code>text/html</code>. +</p> +<p>Note that in XHTML 1.0, the <code>name</code> attribute of these +elements is formally deprecated, and will be removed in a +subsequent version of XHTML.</p> + +<!--OddPage--> +<h1><a name="issues" id="issues">5. Compatibility Issues</a></h1> + +<p>Although there is no requirement for XHTML 1.0 documents to be +compatible with existing user agents, in practice this is easy to +accomplish. Guidelines for creating compatible documents can be +found in <a href="#guidelines">Appendix&#160;C</a>.</p> + +<h2><a name="media" id="media">5.1 Internet Media Type</a></h2> +<p>As of the publication of this recommendation, the general +recommended MIME labeling for XML-based applications +has yet to be resolved.</p> + +<p>However, XHTML Documents which follow the guidelines set forth +in <a href="#guidelines">Appendix C</a>, "HTML Compatibility Guidelines" may be +labeled with the Internet Media Type "text/html", as they +are compatible with most HTML browsers. This document +makes no recommendation about MIME labeling of other +XHTML documents.</p> + +<!--OddPage--> +<h1><a name="future" id="future">6. Future Directions</a></h1> + +<p>XHTML 1.0 provides the basis for a family of document types +that will extend and subset XHTML, in order to support a wide +range of new devices and applications, by defining modules and +specifying a mechanism for combining these modules. This +mechanism will enable the extension and sub-setting of XHTML 1.0 +in a uniform way through the definition of new modules.</p> + +<h2><a name="mods" id="mods">6.1 Modularizing HTML</a></h2> + +<p>As the use of XHTML moves from the traditional desktop user +agents to other platforms, it is clear that not all of the XHTML +elements will be required on all platforms. For example a hand +held device or a cell-phone may only support a subset of XHTML +elements.</p> + +<p>The process of modularization breaks XHTML up into a series of +smaller element sets. These elements can then be recombined to +meet the needs of different communities.</p> + +<p>These modules will be defined in a later W3C document.</p> + +<h2><a name="extensions" id="extensions">6.2 Subsets and +Extensibility</a></h2> + +<p>Modularization brings with it several advantages:</p> + +<ul> +<li> +<p>It provides a formal mechanism for sub-setting XHTML.</p> +</li> + +<li> +<p>It provides a formal mechanism for extending XHTML.</p> +</li> + +<li> +<p>It simplifies the transformation between document types.</p> +</li> + +<li> +<p>It promotes the reuse of modules in new document types.</p> +</li> +</ul> + +<h2><a name="profiles" id="profiles">6.3 Document +Profiles</a></h2> + +<p>A document profile specifies the syntax and semantics of a set +of documents. Conformance to a document profile provides a basis +for interoperability guarantees. The document profile specifies +the facilities required to process documents of that type, e.g. +which image formats can be used, levels of scripting, style sheet +support, and so on.</p> + +<p>For product designers this enables various groups to define +their own standard profile.</p> + +<p>For authors this will obviate the need to write several +different versions of documents for different clients.</p> + +<p>For special groups such as chemists, medical doctors, or +mathematicians this allows a special profile to be built using +standard HTML elements plus a group of elements geared to the +specialist's needs.</p> + +<!--OddPage--> +<h1><a name="appendices" id="appendices"></a> +<a name="dtds" id="dtds">Appendix A. DTDs</a></h1> + +<p><b>This appendix is normative.</b></p> + +<p>These DTDs and entity sets form a normative part of this +specification. The complete set of DTD files together with an XML +declaration and SGML Open Catalog is included in the <a href= +"xhtml1.zip">zip file</a> for this specification.</p> + +<h2><a name="h-A1" id="h-A1">A.1 Document Type +Definitions</a></h2> + +<p>These DTDs approximate the HTML 4.0 DTDs. It is likely that +when the DTDs are modularized, a method of DTD construction will +be employed that corresponds more closely to HTML 4.0.</p> + +<ul> +<li> +<p><a href="DTD/xhtml1-strict.dtd" type="text/plain"> +XHTML-1.0-Strict</a></p> +</li> + +<li> +<p><a href="DTD/xhtml1-transitional.dtd" type="text/plain"> +XHTML-1.0-Transitional</a></p> +</li> + +<li> +<p><a href="DTD/xhtml1-frameset.dtd" type="text/plain"> +XHTML-1.0-Frameset</a></p> +</li> +</ul> + +<h2><a name="h-A2" id="h-A2">A.2 Entity Sets</a></h2> + +<p>The XHTML entity sets are the same as for HTML 4.0, but have +been modified to be valid XML 1.0 entity declarations. Note the +entity for the Euro currency sign (<code>&amp;euro;</code> or +<code>&amp;#8364;</code> or <code>&amp;#x20AC;</code>) is defined +as part of the special characters.</p> + +<ul> +<li> +<p><a href="DTD/xhtml-lat1.ent">Latin-1 characters</a></p> +</li> + +<li> +<p><a href="DTD/xhtml-special.ent">Special characters</a></p> +</li> + +<li> +<p><a href="DTD/xhtml-symbol.ent">Symbols</a></p> +</li> +</ul> + +<!--OddPage--> +<h1><a name="prohibitions" id="prohibitions">Appendix B. Element +Prohibitions</a></h1> + +<p><b>This appendix is normative.</b></p> + +<p>The following elements have prohibitions on which elements +they can contain (see <a href="#h-4.9">Section 4.9</a>). This +prohibition applies to all depths of nesting, i.e. it contains +all the descendant elements.</p> + +<dl><dt><code class="tag">a</code></dt> +<dd> +cannot contain other <code>a</code> elements.</dd> +<dt><code class="tag">pre</code></dt> +<dd>cannot contain the <code>img</code>, <code>object</code>, +<code>big</code>, <code>small</code>, <code>sub</code>, or <code> +sup</code> elements.</dd> + +<dt><code class="tag">button</code></dt> +<dd>cannot contain the <code>input</code>, <code>select</code>, +<code>textarea</code>, <code>label</code>, <code>button</code>, +<code>form</code>, <code>fieldset</code>, <code>iframe</code> or +<code>isindex</code> elements.</dd> +<dt><code class="tag">label</code></dt> +<dd>cannot contain other <code class="tag">label</code> elements.</dd> +<dt><code class="tag">form</code></dt> +<dd>cannot contain other <code>form</code> elements.</dd> +</dl> + +<!--OddPage--> +<h1><a name="guidelines" id="guidelines">Appendix C. +HTML Compatibility Guidelines</a></h1> + +<p><b>This appendix is informative.</b></p> + +<p>This appendix summarizes design guidelines for authors who +wish their XHTML documents to render on existing HTML user +agents.</p> + +<h2>C.1 Processing Instructions</h2> +<p>Be aware that processing instructions are rendered on some +user agents. However, also note that when the XML declaration is not included +in a document, the document can only use the default character encodings UTF-8 +or UTF-16.</p> + +<h2>C.2 Empty Elements</h2> +<p>Include a space before the trailing <code>/</code> and <code> +&gt;</code> of empty elements, e.g. <code class="greenmono"> +&lt;br&#160;/&gt;</code>, <code class="greenmono"> +&lt;hr&#160;/&gt;</code> and <code class="greenmono">&lt;img +src="karen.jpg" alt="Karen"&#160;/&gt;</code>. Also, use the +minimized tag syntax for empty elements, e.g. <code class= +"greenmono">&lt;br /&gt;</code>, as the alternative syntax <code +class="greenmono">&lt;br&gt;&lt;/br&gt;</code> allowed by XML +gives uncertain results in many existing user agents.</p> + +<h2>C.3 Element Minimization and Empty Element Content</h2> +<p>Given an empty instance of an element whose content model is +not <code>EMPTY</code> (for example, an empty title or paragraph) +do not use the minimized form (e.g. use <code class="greenmono"> +&lt;p&gt; &lt;/p&gt;</code> and not <code class="greenmono"> +&lt;p&#160;/&gt;</code>).</p> + +<h2>C.4 Embedded Style Sheets and Scripts</h2> +<p>Use external style sheets if your style sheet uses <code> +&lt;</code> or <code>&amp;</code> or <code>]]&gt;</code> or <code>--</code>. Use +external scripts if your script uses <code>&lt;</code> or <code> +&amp;</code> or <code>]]&gt;</code> or <code>--</code>. Note that XML parsers +are permitted to silently remove the contents of comments. Therefore, the historical +practice of "hiding" scripts and style sheets within comments to make the +documents backward compatible is likely to not work as expected in XML-based +implementations.</p> + +<h2>C.5 Line Breaks within Attribute Values</h2> +<p>Avoid line breaks and multiple whitespace characters within +attribute values. These are handled inconsistently by user +agents.</p> + +<h2>C.6 Isindex</h2> +<p>Don't include more than one <code>isindex</code> element in +the document <code>head</code>. The <code>isindex</code> element +is deprecated in favor of the <code>input</code> element.</p> + +<h2>C.7 The <code>lang</code> and <code>xml:lang</code> Attributes</h2> +<p>Use both the <code>lang</code> and <code>xml:lang</code> +attributes when specifying the language of an element. The value +of the <code>xml:lang</code> attribute takes precedence.</p> + +<h2>C.8 Fragment Identifiers</h2> +<p>In XML, <abbr title="Uniform Resource Identifiers">URIs</abbr> [<a href="#ref-rfc2396">RFC2396</a>] that end with fragment identifiers of the form +<code>"#foo"</code> do not refer to elements with an attribute +<code>name="foo"</code>; rather, they refer to elements with an +attribute defined to be of type <code>ID</code>, e.g., the <code> +id</code> attribute in HTML 4.0. Many existing HTML clients don't +support the use of <code>ID</code>-type attributes in this way, +so identical values may be supplied for both of these attributes to ensure +maximum forward and backward compatibility (e.g., <code class= +"greenmono">&lt;a id="foo" name="foo"&gt;...&lt;/a&gt;</code>).</p> + +<p>Further, since the set of +legal values for attributes of type <code>ID</code> is much smaller than +for those of type <code>CDATA</code>, the type of the <code>name</code> +attribute has been changed to <code>NMTOKEN</code>. This attribute is +constrained such that it can only have the same values as type +<code>ID</code>, or as the <code>Name</code> production in XML 1.0 Section +2.5, production 5. Unfortunately, this constraint cannot be expressed in the +XHTML 1.0 DTDs. Because of this change, care must be taken when +converting existing HTML documents. The values of these attributes +must be unique within the document, valid, and any references to these +fragment identifiers (both +internal and external) must be updated should the values be changed during +conversion.</p> +<p>Finally, note that XHTML 1.0 has deprecated the +<code>name</code> attribute of the <code>a</code>, <code>applet</code>, <code>frame</code>, <code>iframe</code>, <code>img</code>, and <code>map</code> +elements, and it will be +removed from XHTML in subsequent versions.</p> + +<h2>C.9 Character Encoding</h2> +<p>To specify a character encoding in the document, use both the +encoding attribute specification on the xml declaration (e.g. +<code class="greenmono">&lt;?xml version="1.0" +encoding="EUC-JP"?&gt;</code>) and a meta http-equiv statement +(e.g. <code class="greenmono">&lt;meta http-equiv="Content-type" +content='text/html; charset="EUC-JP"'&#160;/&gt;</code>). The +value of the encoding attribute of the xml processing instruction +takes precedence.</p> + +<h2>C.10 Boolean Attributes</h2> +<p>Some HTML user agents are unable to interpret boolean +attributes when these appear in their full (non-minimized) form, +as required by XML 1.0. Note this problem doesn't effect user +agents compliant with HTML 4.0. The following attributes are +involved: <code>compact</code>, <code>nowrap</code>, <code> +ismap</code>, <code>declare</code>, <code>noshade</code>, <code> +checked</code>, <code>disabled</code>, <code>readonly</code>, +<code>multiple</code>, <code>selected</code>, <code> +noresize</code>, <code>defer</code>.</p> + +<h2>C.11 Document Object Model and XHTML</h2> +<p> +The Document Object Model level 1 Recommendation [<a href="#ref-dom">DOM</a>] +defines document object model interfaces for XML and HTML 4.0. The HTML 4.0 +document object model specifies that HTML element and attribute names are +returned in upper-case. The XML document object model specifies that +element and attribute names are returned in the case they are specified. In +XHTML 1.0, elements and attributes are specified in lower-case. This apparent difference can be +addressed in two ways: +</p> +<ol> +<li>Applications that access XHTML documents served as Internet media type +<code>text/html</code> +via the <abbr title="Document Object Model">DOM</abbr> can use the HTML DOM, +and can rely upon element and attribute names being returned in +upper-case from those interfaces.</li> +<li>Applications that access XHTML documents served as Internet media types +<code>text/xml</code> or <code>application/xml</code> +can also use the XML DOM. Elements and attributes will be returned in lower-case. +Also, some XHTML elements may or may +not appear +in the object tree because they are optional in the content model +(e.g. the <code>tbody</code> element within +<code>table</code>). This occurs because in HTML 4.0 some elements were +permitted to be minimized such that their start and end tags are both omitted +(an SGML feature). +This is not possible in XML. Rather than require document authors to insert +extraneous elements, XHTML has made the elements optional. +Applications need to adapt to this +accordingly.</li> +</ol> + +<h2>C.12 Using Ampersands in Attribute Values</h2> +<p> +When an attribute value contains an ampersand, it must be expressed as a character +entity reference +(e.g. "<code>&amp;amp;</code>"). For example, when the +<code>href</code> attribute +of the <code>a</code> element refers to a +CGI script that takes parameters, it must be expressed as +<code>http://my.site.dom/cgi-bin/myscript.pl?class=guest&amp;amp;name=user</code> +rather than as +<code>http://my.site.dom/cgi-bin/myscript.pl?class=guest&amp;name=user</code>. +</p> + +<h2>C.13 Cascading Style Sheets (CSS) and XHTML</h2> + +<p>The Cascading Style Sheets level 2 Recommendation [<a href="#ref-css2">CSS2</a>] defines style +properties which are applied to the parse tree of the HTML or XML +document. Differences in parsing will produce different visual or +aural results, depending on the selectors used. The following hints +will reduce this effect for documents which are served without +modification as both media types:</p> + +<ol> +<li> +CSS style sheets for XHTML should use lower case element and +attribute names.</li> + + +<li>In tables, the tbody element will be inferred by the parser of an +HTML user agent, but not by the parser of an XML user agent. Therefore +you should always explicitly add a tbody element if it is referred to +in a CSS selector.</li> + +<li>Within the XHTML name space, user agents are expected to +recognize the "id" attribute as an attribute of type ID. +Therefore, style sheets should be able to continue using the +shorthand "#" selector syntax even if the user agent does not read +the DTD.</li> + +<li>Within the XHTML name space, user agents are expected to +recognize the "class" attribute. Therefore, style sheets should be +able to continue using the shorthand "." selector syntax.</li> + +<li> +CSS defines different conformance rules for HTML and XML documents; +be aware that the HTML rules apply to XHTML documents delivered as +HTML and the XML rules apply to XHTML documents delivered as XML.</li> +</ol> +<!--OddPage--> +<h1><a name="acks" id="acks">Appendix D. +Acknowledgements</a></h1> + +<p><b>This appendix is informative.</b></p> + +<p>This specification was written with the participation of the +members of the W3C HTML working group:</p> + +<dl> +<dd>Steven Pemberton, CWI (HTML Working Group Chair)<br /> +Murray Altheim, Sun Microsystems<br /> +Daniel Austin, CNET: The Computer Network<br /> +Frank Boumphrey, HTML Writers Guild<br /> +John Burger, Mitre<br /> +Andrew W. Donoho, IBM<br /> +Sam Dooley, IBM<br /> +Klaus Hofrichter, GMD<br /> +Philipp Hoschka, W3C<br /> +Masayasu Ishikawa, W3C<br /> +Warner ten Kate, Philips Electronics<br /> +Peter King, Phone.com<br /> +Paula Klante, JetForm<br /> +Shin'ichi Matsui, W3C/Panasonic<br /> +Shane McCarron, Applied Testing and Technology (The Open Group through August +1999)<br /> +Ann Navarro, HTML Writers Guild<br /> +Zach Nies, Quark<br /> +Dave Raggett, W3C/HP (W3C lead for HTML)<br /> +Patrick Schmitz, Microsoft<br /> +Sebastian Schnitzenbaumer, Stack Overflow<br /> +Chris Wilson, Microsoft<br /> +Ted Wugofski, Gateway 2000<br /> +Dan Zigmond, WebTV Networks</dd> +</dl> + +<!--OddPage--> +<h1><a name="refs" id="refs">Appendix E. References</a></h1> + +<p><b>This appendix is informative.</b></p> + +<dl> + +<dt><a name="ref-css2" id="ref-css2"><b>[CSS2]</b></a></dt> + +<dd><a href="http://www.w3.org/TR/REC-CSS2">"Cascading Style Sheets, level 2 (CSS2) Specification"</a>, B. +Bos, H. W. Lie, C. Lilley, I. Jacobs, 12 May 1998.<br /> +Available at: <a href="http://www.w3.org/TR/REC-CSS2"> +http://www.w3.org/TR/REC-CSS2</a></dd> + +<dt><a name="ref-dom" id="ref-dom"><b>[DOM]</b></a></dt> + +<dd><a href="http://www.w3.org/TR/REC-DOM-Level-1">"Document Object Model (DOM) Level 1 Specification"</a>, Lauren +Wood <i>et al.</i>, 1 October 1998.<br /> +Available at: <a href="http://www.w3.org/TR/REC-DOM-Level-1"> +http://www.w3.org/TR/REC-DOM-Level-1</a></dd> + +<dt><a name="ref-html4" id="ref-html4"><b>[HTML]</b></a></dt> + +<dd><a href="http://www.w3.org/TR/1999/PR-html40-19990824">"HTML 4.01 Specification"</a>, D. Raggett, A. Le&#160;Hors, I. +Jacobs, 24 August 1999.<br /> +Available at: <a href="http://www.w3.org/TR/1999/PR-html40-19990824"> +http://www.w3.org/TR/1999/PR-html40-19990824</a></dd> + +<dt><a name="ref-posix" id="ref-posix"><b>[POSIX.1]</b></a></dt> + +<dd>"ISO/IEC 9945-1:1990 Information Technology - Portable +Operating System Interface (POSIX) - Part 1: System Application +Program Interface (API) [C Language]", Institute of Electrical +and Electronics Engineers, Inc, 1990.</dd> + +<dt><a name="ref-rfc2046" id="ref-rfc2046"><b> +[RFC2046]</b></a></dt> + +<dd><a href="http://www.ietf.org/rfc/rfc2046.txt">"RFC2046: Multipurpose Internet Mail Extensions (MIME) Part +Two: Media Types"</a>, N. Freed and N. Borenstein, November +1996.<br /> +Available at <a href="http://www.ietf.org/rfc/rfc2046.txt"> +http://www.ietf.org/rfc/rfc2046.txt</a>. Note that this RFC +obsoletes RFC1521, RFC1522, and RFC1590.</dd> + +<dt><a name="ref-rfc2119" id="ref-rfc2119"><b> +[RFC2119]</b></a></dt> + +<dd><a href="http://www.ietf.org/rfc/rfc2119.txt">"RFC2119: Key words for use in RFCs to Indicate Requirement +Levels"</a>, S. Bradner, March 1997.<br /> +Available at: <a href="http://www.ietf.org/rfc/rfc2119.txt"> +http://www.ietf.org/rfc/rfc2119.txt</a></dd> + +<dt><a name="ref-rfc2376" id="ref-rfc2376"><b> +[RFC2376]</b></a></dt> + +<dd><a href="http://www.ietf.org/rfc/rfc2376.txt">"RFC2376: XML Media Types"</a>, E. Whitehead, M. Murata, July +1998.<br /> +Available at: <a href="http://www.ietf.org/rfc/rfc2376.txt"> +http://www.ietf.org/rfc/rfc2376.txt</a></dd> + +<dt><a name="ref-rfc2396" id="ref-rfc2396"><b> +[RFC2396]</b></a></dt> + +<dd><a href="http://www.ietf.org/rfc/rfc2396.txt">"RFC2396: Uniform Resource Identifiers (URI): Generic +Syntax"</a>, T. Berners-Lee, R. Fielding, L. Masinter, August +1998.<br /> +This document updates RFC1738 and RFC1808.<br /> +Available at: <a href="http://www.ietf.org/rfc/rfc2396.txt"> +http://www.ietf.org/rfc/rfc2396.txt</a></dd> + +<dt><a name="ref-xml" id="ref-xml"><b>[XML]</b></a></dt> + +<dd><a href="http://www.w3.org/TR/REC-xml">"Extensible Markup Language (XML) 1.0 Specification"</a>, T. +Bray, J. Paoli, C. M. Sperberg-McQueen, 10 February 1998.<br /> +Available at: <a href="http://www.w3.org/TR/REC-xml"> +http://www.w3.org/TR/REC-xml</a></dd> + +<dt><a name="ref-xmlns" id="ref-xmlns"><b>[XMLNAMES]</b></a></dt> + +<dd><a href="http://www.w3.org/TR/REC-xml-names">"Namespaces in XML"</a>, T. Bray, D. Hollander, A. Layman, 14 +January 1999.<br /> +XML namespaces provide a simple method for qualifying names used +in XML documents by associating them with namespaces identified +by URI.<br /> +Available at: <a href="http://www.w3.org/TR/REC-xml-names"> +http://www.w3.org/TR/REC-xml-names</a></dd> + +</dl> +<p><a href="http://www.w3.org/WAI/WCAG1AAA-Conformance" +title="Explanation of Level Triple-A Conformance"> +<img height="32" width="88" +src="wcag1AAA.gif" +alt="Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0" /></a></p> +<div class="navbar"> + <hr /> + <a href="#toc">table of contents</a> +</div> +</body> +</html> + diff --git a/local-test-libxml2-delta-02/afc-libxml2/test/valid/xlink.xml b/local-test-libxml2-delta-02/afc-libxml2/test/valid/xlink.xml new file mode 100644 index 0000000000000000000000000000000000000000..19194aaa3c51095c3a3a154fdc42a01c0920bc1a --- /dev/null +++ b/local-test-libxml2-delta-02/afc-libxml2/test/valid/xlink.xml @@ -0,0 +1,529 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification::19990205//EN" "dtds/xmlspec.dtd" [ +<!ENTITY doc-type "WD"> +<!ENTITY iso6.doc.date '29-May-1999'> +]> +<!--ArborText, Inc., 1988-1998, v.4002--> +<?Pub UDT _bookmark _target?> +<?Pub Inc?> +<?xml-stylesheet +href="file:///C|/Program%20Files/SoftQuad/XMetaL%201/display/xmlspec.css" +type="text/css"?> +<spec> + +<!-- Last edited: 27 May 1999 by bent --> +<header><?Pub Dtl?> + <title>XML Linking Language (XLink)</title> + <version>Version 1.0</version> + <w3c-designation><!-- &doc-type;-&iso6.doc.date; --> WD-xlink-19990527</w3c-designation> + <w3c-doctype>World Wide Web Consortium Working Draft</w3c-doctype> + <pubdate><day>29</day><month>May</month><year>1999</year></pubdate> + <notice> + <p>This draft is for public discussion.</p> + </notice> + <publoc><loc href="http://www.w3.org/XML/Group/1999/05/WD-xlink-current">http://www.w3.org/XML/Group/1999/05/WD-xlink-current</loc></publoc> + <prevlocs> + <!--Check: was it actually August?--> + <loc href="http://www.w3.org/XML/Group/1999/05/WD-xlink-19990527">http://www.w3.org/XML/Group/1999/05/WD-xlink-19990527</loc> + <loc href="http://www.w3.org/XML/Group/1999/05/WD-xlink-19990505">http://www.w3.org/XML/Group/1999/05/WD-xlink-19990505</loc> + <loc href="http://www.w3.org/TR/1998/WD-xlink-19980303">http://www.w3.org/TR/1998/WD-xlink-19980303</loc> + <loc href="http://www.w3.org/TR/WD-xml-link-970630">http://www.w3.org/TR/WD-xml-link-970630</loc></prevlocs> + + <authlist> + <!--Updated author hrefs dorchard--> + <!-- Update Steve's email - bent --> + <author> + <name>Steve DeRose</name> + <affiliation>Inso Corp. and Brown University</affiliation> + <email href="mailto:Steven_DeRose@Brown.edu">Steven_DeRose@Brown.edu</email> + </author> + <author> + <name>David Orchard</name> + <affiliation>IBM Corp.</affiliation> + <email href="mailto:dorchard@ca.ibm.com">dorchard@ca.ibm.com</email> + </author> + <author> + <name>Ben Trafford</name> + <affiliation>Invited Expert</affiliation> + <email href="mailto:bent@exemplary.net">bent@exemplary.net</email> + </author> + <!-- I suggest we move Eve and Tim down to the Acknowledgements section. We + also ought to add Gabe Beged-Dov there, as well. bent + how shall we cite Tim? sjd What about with an Acknowledgments section? + -elm <AUTHOR> <NAME>Tim Bray</NAME> <AFFILIATION>Textuality</AFFILIATION> + <EMAIL>tbray@textuality.com</EMAIL> </AUTHOR>--> + </authlist> + + <status> + <p>This is a W3C Working Draft for review by W3C members and other interested parties. It is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use W3C Working Drafts as reference material or to cite them as other than "work in progress". A list of current W3C working drafts can be found at <loc href="http://www.w3.org/TR">http://www.w3.org/TR</loc>.</p> + <p><emph>Note:</emph> Since working drafts are subject to frequent change, you are advised to reference the above URI, rather than the URIs for working drafts themselves. Some of the work remaining is described in <specref ref="unfinished"/>. </p> + <p>This work is part of the W3C XML Activity (for current status, see <loc href="http://www.w3.org/MarkUp/SGML/Activity">http://www.w3.org/XML/Activity </loc>). For information about the XPointer language which is expected to be used with XLink, see <loc href="http://www.w3.org/MarkUp/SGML/Activity">http://www.w3.org/TR/WD-xptr</loc>. + </p> + <p>See <loc href="http://www.w3.org/TR/NOTE-xlink-principles">http://www.w3.org/TR/NOTE-xlink-principles </loc> for additional background on the design principles informing XLink.</p> + <p>Also see <loc href="http://www.w3.org/TR/NOTE-xlink-req/">http://www.w3.org/TR/NOTE-xlink-req/</loc> for the XLink requirements that this document attempts to satisfy.</p> + </status> + + <abstract> + <!-- edited the abstract for further clarity - bent --> + <p>This specification defines constructs that may be inserted into XML DTDs, schemas and document instances to describe links between objects. It uses XML syntax to create structures that can describe the simple unidirectional hyperlinks of today's HTML as well as more sophisticated links.</p> + </abstract> + + <pubstmt> + <p>Burlington, Seekonk, et al.: World-Wide Web Consortium, XML Working Group, 1998.</p> + </pubstmt> + + <sourcedesc> + <p>Created in electronic form.</p> + </sourcedesc> + + <langusage> + <language id="en">English</language> + <language id="ebnf">Extended Backus-Naur Form (formal grammar)</language> + </langusage> + + <revisiondesc> + <slist> + <sitem>1997-01-15 : Skeleton draft by TB</sitem> + <sitem>1997-01-24 : Fleshed out by sjd</sitem> + <sitem>1997-04-08 : Substantive draft</sitem> + <sitem>1997-06-30 : Public draft</sitem> + <sitem>1997-08-01 : Public draft</sitem> + <sitem>1997-08-05 : Prose/organization work by sjd</sitem> + <sitem>1997-10-14: Conformance and design principles; a bit of cleanup by elm</sitem> + <sitem>1997-11-07: Update for editorial issues per issues doc, by sjd.</sitem> + <sitem>1997-12-01: Update for editorial issues per issues doc in preparation for F2F meeting, by sjd.</sitem> + <sitem>1998-01-13: Editorial cleanup, addition of new design principles, by elm.</sitem> + <sitem>1998-02-27: Splitting out of XLink and XPointer, by elm.</sitem> + <sitem>1998-03-03: Moved most of the XPointer locator stuff here. elm</sitem> + <sitem>1999-04-24: Editorial rewrites to represent new ideas on XLink, especially the inclusion of arcs. bent</sitem> + <sitem>1999-05-05: Prose/organization work by dorchard. Moved much of the semantics section around, from: locators, link semantics, remote resource semantics, local resource semantics; to: resource semantics, locators, behavior semantics, link semantics, arc semantics</sitem> + <sitem>1999-05-12: Prose/organization work. Re-organized some of the sections, removed XML constructs from the document, added descriptive prose, edited document text for clarity. Rewrote the link recognition section. bent</sitem> + <sitem>1999-05-17: Further prose work. Added non-normative examples. Clarified arcs. bent</sitem> + <sitem>1999-05-23: Edited for grammar and clarity. bent</sitem> + <sitem>1999-05-27: Final once-over before sending to group. Fixed sjd's email address. bent</sitem> + </slist> + </revisiondesc> +</header> + +<body> + <div1><?Pub Dtl?> + <head>Introduction</head> + <p>This specification defines constructs that may be inserted into XML DTDs, schemas, and document instances to describe links between objects. A <termref def="dt-link">link</termref>, as the term is used here, is an explicit relationship between two or more data objects or portions of data objects. This specification is concerned with the syntax used to assert link existence and describe link characteristics. Implicit (unasserted) relationships, for example that of one word to the next or that of a word in a text to its entry in an on-line dictionary are obviously important, but outside its scope.</p> + <p>Links are asserted by <xtermref href="WD-xml-lang.html#dt-element">elements </xtermref> contained in <xtermref href="WD-xml-lang.html#dt-xml-doc">XML document instances</xtermref>. The simplest case is very like an HTML <code>A</code> link, and has these characteristics: + <ulist> + <item><p>The link is expressed at one of its ends (similar to the <code>A</code> element in some document)</p></item> + <item><p>Users can only initiate travel from that end to the other</p></item> + <item><p>The link's effect on windows, frames, go-back lists, stylesheets in use, and so on is mainly determined by browsers, not by the link itself. For example, traveral of <code>A</code> links normally replaces the current view, perhaps with a user option to open a new window.</p></item> + <item><p>The link goes to only one destination (although a server may have great freedom in finding or dynamically creating that destination).</p></item> + </ulist> + </p> + <p>While this set of characteristics is already very powerful and obviously has proven itself highly useful and effective, each of these assumptions also limits the range of hypertext functionality. The linking model defined here provides ways to create links that go beyond each of these specific characteristics, thus providing features previously available mostly in dedicated hypermedia systems. + </p> + +<div2> + <head>Origin and Goals</head> + <p>Following is a summary of the design principles governing XLink: + <olist> + <item><p>XLink must be straightforwardly usable over the Internet. </p></item> + <item><p>XLink must be usable by a wide variety of link usage domains and classes of linking application software.</p></item> + <item><p>XLink must support HTML 4.0 linking constructs.</p></item> + <item><p>The XLink expression language must be XML.</p></item> + <item><p>The XLink design must be formal, concise, and illustrative.</p></item> + <item><p>XLinks must be human-readable and human-writable.</p></item> + <item><p>XLinks may reside within or outside the documents in which the + participating resources reside. </p></item> + <item><p>XLink must represent the abstract structure and significance of links.</p></item> + <item><p>XLink must be feasible to implement.</p></item> + <item><p>XLink must be informed by knowledge of established hypermedia systems and standards.</p></item> + </olist> + </p> +</div2> +<!--Changed the list of requirements to reflect current XLink requirements +document. bent--> + +<div2> + <head>Relationship to Existing Standards</head> + <p>Three standards have been especially influential: + <ulist> + <item><p><emph>HTML:</emph> Defines several SGML element types that represent links.</p></item> + <item><p><emph>HyTime:</emph> Defines inline and out-of-line link structures and some semantic features, including traversal control and presentation of objects. <!--Changed from "placement of objects into a display or other space" -elm--> + </p></item> + <item><p><emph>Text Encoding Initiative Guidelines (TEI P3):</emph> Provides structures for creating links, aggregate objects, and link collections out of them.</p></item> + </ulist> + </p> + <p>Many other linking systems have also informed this design, especially Dexter, FRESS, MicroCosm, and InterMedia.</p> +</div2> + +<div2> + <head>Terminology</head> + <p>The following basic terms apply in this document. <!--<IMG + SRC="local://./linkdiag.gif">(figure to be inserted)--> + <glist> + <gitem> + <label><termdef id="dt-arc" term="Arc">arc</termdef></label> + <def><p>A symbolic representation of traversal behavior in links, especially the direction, context and timing of traversal.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-eltree" term="Element Tree">element tree</termdef></label> + <def><p>A representation of the relevant structure specified by the tags and attributes in an XML document, based on "groves" as defined in the ISO DSSSL standard. </p></def> + </gitem> + <gitem> + <label><termdef id="dt-inline" term="In-Line Link">inline link</termdef></label> + <def><p>Abstractly, a <termref def="dt-link">link</termref> which serves as one of its own <termref def="dt-resource">resources</termref>. Concretely, a link where the content of the <termref def="dt-linkel">linking element</termref> serves as a <termref def="dt-particip-resource">participating resource</termref>. + HTML <code>A</code>, HyTime <code>clink</code>, and TEI <code>XREF</code> + are all inline links.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-link" term="Link">link</termdef></label> + <def><p>An explicit relationship between two or more data objects or portions of data objects.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-linkel" term="Linking Element">linking element </termdef></label> + <def><p>An <xtermref href="WD-xml-lang.html#dt-element">element</xtermref> that asserts the existence and describes the characteristics of a <termref def="dt-link"> link</termref>.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-local-resource" term="Local Resource">local resource</termdef></label> + <def><p>The content of an <termref def="dt-inline">inline</termref>linking element. Note that the content of the linking element could be explicitly pointed to by means of a regular <termref def="dt-locator">locator</termref> in the same linking element, in which case the resource is considered <termref def="dt-remote-resource"> remote</termref>, not local.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-locator" term="Locator">locator</termdef> </label> + <def><p>Data, provided as part of a link, which identifies a + <termref def="dt-resource">resource</termref>.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-multidir" term="Multi-Directional Link">multidirectional link</termdef></label> + <def><p>A <termref def="dt-link">link</termref> whose <termref def="dt-traversal"> traversal</termref> can be initiated from more than one of its <termref def="dt-particip-resource"> participating resources</termref>. Note that being able to "go back" after following a one-directional link does not make the link multidirectional.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-outofline" term="Out-of-line Link">out-of-line link</termdef></label> + <def><p>A <termref def="dt-link">link</termref> whose content does not serve as one of the link's <termref def="dt-particip-resource">participating resources </termref>. Such links presuppose a notion like <termref def="dt-xlg">extended link groups</termref>, which instruct application software where to look for links. Out-of-line links are generally required for supporting multidirectional <termref def="dt-traversal">traversal</termref> and for allowing read-only resources to have outgoing links.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-parsedq" term="Parsed">parsed</termdef></label> <def><p>In the context of link behavior, a parsed link is any link whose content is transcluded into the document where the link originated. The use of the term "parsed" directly refers to the concept in XML of a + parsed entity.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-particip-resource" term="Participating Resource"> participating resource</termdef></label> + <def><p>A <termref def="dt-resource">resource</termref> that belongs to a link. All resources are potential contributors to a link; participating resources are the actual contributors to a particular link.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-remote-resource" term="Remote Resource">remote resource</termdef></label> + <def><p>Any participating resource of a link that is pointed to with a locator. </p></def> + </gitem> + <gitem> + <label><termdef id="dt-resource" term="Resource">resource</termdef></label> + <def><p>In the abstract sense, an addressable unit of information or service that is participating in a <termref def="dt-link">link</termref>. Examples include files, images, documents, programs, and query results. Concretely, anything reachable by the use of a <termref def="dt-locator">locator</termref> in some <termref def="dt-linkel">linking element</termref>. Note that this term and its definition are taken from the basic specifications governing the World Wide Web. <!--Joel notes: need link here. bent asks: A link?--> + </p></def> + </gitem> + <gitem> + <label><termdef id="dt-subresource" term="sub-Resource">sub-resource</termdef></label> + <def><p>A portion of a resource, pointed to as the precise destination of a link. As one example, a link might specify that an entire document be retrieved and displayed, but that some specific part(s) of it is the specific linked data, to be treated in an application-appropriate manner such as indication by highlighting, scrolling, etc.</p></def> + </gitem> + <gitem> + <label><termdef id="dt-traversal" term="Traversal">traversal</termdef></label> + <def><p>The action of using a <termref def="dt-link">link</termref>; that is, of accessing a <termref def="dt-resource">resource</termref>. Traversal may be initiated by a user action (for example, clicking on the displayed content of a <termref def="dt-linkel">linking element</termref>) or occur under program control.</p></def> + </gitem> + </glist> + </p> +</div2> + +<div2> + <head>Notation</head> + <p>The formal grammar for <termref def="dt-locator">locators</termref> is given using a simple Extended Backus-Naur Form (EBNF) location, as described in <xspecref href="http://www.w3.org/TR/REC-xml#sec-notation">the XML specification</xspecref>.</p> + <!-- fixed link to XML spec - bent --> +</div2> +</div1> + +<div1 id="addressing"><?Pub Dtl?> + <head>Locator Syntax</head> + <p>The locator for a <termref def="dt-resource">resource</termref> is typically provided by means of a Uniform Resource Identifier, or URI. XPointers can be used in conjunction with the URI structure, as fragment identifiers, to specify a more precise sub-resource. </p> + <!-- Removed the discussion of queries from the previous paragraph, due to contention within the WG. bent --> + <p>A locator generally contains a URI, as described in IETF RFCs <bibref ref="rfc1738"/> and <bibref ref="rfc1808"/>. As these RFCs state, the URI may include a trailing <emph>query</emph> (marked by a leading "<code>?</code>"), and be followed by a "<code>#</code>" and a <emph>fragment identifier</emph>, with the query interpreted by the host providing the indicated resource, and the interpretation of the fragment identifier dependent on the data type of the indicated resource.</p> + <!--Is there some restriction on URNs having queries and/or fragment identifiers? Since these RFCs don't mention URIs explicitly, should the wording here lead from URLs to URIs more explicitly? -elm--> + <p>In order to locate XML documents and portions of documents, a locator value may contain either a <xtermref href="http://www.w3.org/Addressing/rfc1738.txt"> URI</xtermref> or a fragment identifier, or both. Any fragment identifier for pointing into XML must be an <xtermref href="http://www.w3.org/TR/WD-xptr#dt-xpointer"> XPointer</xtermref>.</p> + <p>Special syntax may be used to request the use of particular processing models in accessing the locator's resource. This is designed to reflect the realities of network operation, where it may or may not be desirable to exercise fine control over the distribution of work between local and remote processors. + <scrap id="locator" lang="ebnf"> + <head>Locator</head> + <prod id="nt-locator"> + <lhs>Locator</lhs> + <rhs><nt def="nt-uri">URI</nt></rhs> + <rhs>| <nt def="nt-connector">Connector</nt> (<xnt href="http://www.w3.org/TR/WD-xptr">XPointer</xnt> | <xnt href="WD-xml-lang.html#NT-Name">Name</xnt>)</rhs> + <rhs>| <nt def="nt-uri">URI</nt> <nt def="nt-connector">Connector</nt> (<xnt href="http://www.w3.org/TR/WD-xptr">XPointer</xnt> | <xnt href="WD-xml-lang.html#NT-Name">Name</xnt>)</rhs> + </prod> + <prod id="nt-connector"> + <lhs>Connector</lhs><rhs>'#' | '|'</rhs> + </prod> + <prod id="nt-uri"> + <lhs>URI</lhs><rhs><xnt href="WD-xml-lang.html#NT-URLchar">URIchar*</xnt></rhs> + </prod> + </scrap> + </p> + <p><termdef id="dt-designated" term="Designated Resource">In this discussion, the term <term>designated resource</term> refers to the resource which an entire locator serves to locate.</termdef> The following rules apply: + <ulist> + <item> + <p><termdef id="dt-containing-resource" term="Containing Resource"> The URI, if provided, locates a resource called the <term>containing resource</term>.</termdef></p> + </item> + <item> + <p>If the URI is not provided, the containing resource is considered to be the document in which the linking element is contained. + </p></item> + <item> + <p><termdef id="dt-sub-resource" term="Sub-Resource">If an XPointer is provided, the designated resource is a <term>sub-resource</term> + of the containing resource; otherwise the designated resource is the + containing resource.</termdef></p> + </item> + <!--Is this now incorrect, given the nature of the switch from here() to origin()? -elm + Oy, yes, i think so. it will require some fun wording, though, so i haven't fixed it yet here -sjd--> + <item> + <p>If the <nt def="nt-connector">Connector</nt> is followed directly by a <xnt href="http://www.w3.org/TR/REC-xml#NT-Name">Name</xnt>, the <xnt href="http://www.w3.org/TR/REC-xml#NT-Name">Name</xnt> is shorthand for the XPointer"<code>id(Name)</code>"; that is, the sub-resource is the element in the containing resource that has an XML <xtermref href="http://www.w3.org/TR/REC-xml#sec-attrtypes">ID attribute</xtermref> whose value <xtermref href="http://www.w3.org/TR/REC-xml#dt-match">matches</xtermref> the <xnt href="http://www.w3.org/TR/REC-xml#NT-Name">Name</xnt>. This shorthand is to encourage use of the robust <code>id</code> addressing mode.</p> + </item> + <!-- fixed links to the XML recommendation - bent --> + <item> + <p>If the connector is "<code>#</code>", this signals an intent that the containing resource is to be fetched as a whole from the host that provides it, and that the XPointer processing to extract the sub-resource + is to be performed on the client, that is to say on the same system where the linking element is recognized and processed.</p> + </item> + <item> + <p>If the connector is "<code>|</code>", no intent is signaled as to what processing model is to be used to go about accessing the designated resource.</p> + </item> + </ulist> + </p> + <p>Note that the definition of a URI includes an optional query component. </p> + <p>In the case where the URI contains a query (to be interpreted by the server), information providers and authors of server software are urged to use queries as follows: + <scrap id="querysyntax" lang="ebnf"> + <head>Query</head> + <prod id="nt-query"> + <lhs>Query</lhs><rhs>'XML-XPTR=' (<xnt href="http://www.w3.org/TR/WD-xptr"> XPointer</xnt> | <xnt href="http://www.w3.org/TR/REC-xml#NT-Name">Name</xnt>)</rhs> + </prod> + </scrap> + </p> + <!-- fixed link to XML recommendation - bent --> +</div1> + +<div1><?Pub Dtl?> + <head>Link Recognition</head> + <p>The existence of a <termref def="dt-link">link</termref> is asserted by a <termref def="dt-linkel">linking element</termref>. Linking elements must be recognized reliably by application software in order to provide appropriate display and behavior. There are several ways link recognition could be accomplished: for example, reserving element type names, reserving attributes names, leaving the matter of recognition entirely up to stylesheets and application software, or using the XLink <xtermref href="http://www.w3.org/TR/REC-xml-names/">namespace</xtermref> to specify element names and attribute names that would be recognized by namespace and XLink-aware processors. Using element and attribute names within the XLink namespace provides a balance between giving users control of their own markup language design and keeping the identification of linking elements simple and unambiguous.</p> + <p>The two approaches to identifying linking elements are relatively simple to implement. For example, here's how the HTML <code>A</code> element would be declared using attributes within the XLink namespace, and then how an element within the XLink namespace might do the same: + <eg>&lt;A xlink:type="simple" xlink:href="http://www.w3.org/TR/wd-xlink/" +xlink:title="The Xlink Working Draft"&gt;The XLink Working Draft.&lt;/A&gt;</eg> + <eg>&lt;xlink:simple href="http://www.w3.org/TR/wd-xlink/" +title="The XLink Working Draft"&gt;The XLink Working Draft&lt;/xlink:simple&gt;</eg> + Any arbitrary element can be made into an XLink by using the <code>xlink:type</code> attribute. And, of course, the explicit XLink elements may be used, as well. This document will go on to describe the linking attributes that are associated with linking elements. It may be assumed by the reader that these attributes would require the <code>xlink</code> namespace prefix if they existed within an arbitrary element, or that they may be used directly if they exist within an explicit Xlink element.</p> + <!-- heavily modified this section to accomodate namespace-aware link recognition - bent --> +</div1> + +<!-- Rewrote this entire section. - bent --> +<div1> + <head>Linking Attributes</head> + <p>XLink has several attributes associated with the variety of links it may represent. These attributes define four main concepts: locators, arcs, behaviors, and semantics. <emph>Locators</emph> define where the actual resource is located. <emph>Arcs</emph> define the traversal of links. Where does the link come from? Where does it go to? All this information can be stored in the arc attributes. <emph>Behaviors</emph> define how the link is activated, and what the application should do with the resource being linked to. <emph>Semantics</emph> define useful information that the application may use, and enables the link for such specalized targets as constricted devices and accessibility software.</p> + + <div2 id="link-locators"> + <head>Locator Attributes</head> + <p>The only locator attribute at this time is <code>href</code>. This attribute must contain either a string in the form of a URI that defines the remote resource being linked to, a string containing a fragment identifier that links to a local resource, or a string containing a URI with a fragment identifier concacenated onto it.</p> + </div2> + + <div2 id="link-arcs"> + <head>Arc Attributes</head> + <p>Arcs contain two attributes, <code>from</code> and <code>to</code>. The <code>from</code> attribute may contain a string containing the content of a <code>role</code> attribute from the resource being linked from. The purpose of the <code>from</code> attribute is to define where this link is being actuated from.</p> + <p>The <code>to</code> attribute may contain a string containing the content of a <code>role</code> attribute from the resource being linked to. The purpose of the <code>to</code> attribute is to define where this link traverses to.</p> + <p>The application may use this information in a number of ways, especially in a complex hypertext system, but it is mainly useful in providing context for application behavior.</p> + <!-- I'm at a loss as to how to describe arcs more clearly than this. I don't want to devolve into discussions of directed graphs and n-ary links. -bent --> + </div2> + + <div2 id="link-behaviors"> + <head>Behavior Attributes</head> + <p>There are two attributes associated with behavior: <code>show</code> and <code>actuate</code>. The <code>show</code> attribute defines how the remote resource is to be revealed to the user. It has three options: <code>new</code>, <code>parsed</code>, and <code>replace</code>. The <code>new</code> option indicates that the remote resource should be shown in a new window (or other device context) without replacing the previous content. The <code>parsed</code> option, relating directly to the XML concept of a parsed entity, indicates that the content should be integrated into the document from which the link was actuated. The <code>replace</code> option is the one most commonly seen on the World Wide Web, where the document being linked from is entirely replaced by the object being linked to.</p> + <p>The <code>actuate</code> attribute defines how the link is initiated. It has two options: <code>user</code> and <code>auto</code>. The <code>user</code> option indicates that the link must be initiated by some sort of human-initiated selection, such as clicking on an HTML anchor. The <code>auto</code> option indicates that the link is automatically initiated when the application deems that the user has reached the link. It then follows the behavior set out in the <code>show</code> option.</p> + <!-- Something should be put here in terms of an example. Idea: "A" link versus automatically updating encyclopedia. -bent --> + </div2> + + <div2 id="link-semantics"> + <head>Semantic Attributes</head> + <p>There are two attributes associated with semantics, <code>role</code> and <code>title</code>. The <code>role</code> attribute is a generic string used to describe the function of the link's content. For example, a poem might have a link with a <code>role="stanza"</code>. The <code>role</code> is also used as an identifier for the <code>from</code> and <code>to</code> attributes of arcs.</p> + <p>The <code>title</code> attribute is designed to provide human-readable text describing the link. It is very useful for those who have text-based applications, whether that be due to a constricted device that cannot display the link's content, or if it's being read by an application to a visually-impaired user, or if it's being used to create a table of links. The <code>title</code> attribute contains a simple, descriptive string.</p> + </div2> +</div1> + +<div1 id="linking-elements"> + <head>Linking Elements</head> + <p>There are several kinds of linking elements in XLink: <code>simple</code> links, <code>locators</code>, <code>arcs</code>, and <code>extended</code> links. These elements may be instantiated via element declarations from the XLink namespace, or they may be instantiated via attribute declarations from the XLink namespace. Both kinds of instantiation are described in the definition of each linking element.</p> + <p>The <code>simple</code> link is used to declare a link that approximates the functionality of the HTML <code>A</code> element. It has, however, a few added features to increase its value, including the potential declaration of semantics and behavior. The <code>locator</code> elements are used to define the resource being linked to. Some links may contain multiple locators, representing a choice of potential links to be traversed. The <code>arcs</code> are used to define the traversal semantics of the link. Finally, an <code>extended</code> linking element differs from a simple link in that it can connect any number of resources, not just one local resource (optionally) and one remote resource, and in that extended links are more often out-of-line than simple links.</p> + +<div2 id="simple-links"> + <head>Simple Links</head> + <p id="dt-simplelink"><termdef id="dt-simpleline" term="Simple Link"><term>Simple links</term> can be used for purposes that approximate the functionality of a basic HTML <code>A</code> link, but they can also support a limited amount of additional functionality. Simple links have only one locator and thus, for convenience, combine the functions of a linking element and a locator into a single element.</termdef> As a result of this combination, the simple linking element offers both a locator attribute and all the behavior and semantic attributes.</p> + <p>The following are two examples of linking elements, each showing all the possible attributes that can be associated with a simple link. Here is the explicit XLink simple linking element. + <eg>&lt;!ELEMENT xlink:simple ANY&gt; +&lt;!ATTLIST xlink:slink + href CDATA #REQUIRED + role CDATA #IMPLIED + title CDATA #IMPLIED + show (new|parsed|replace) "replace" + actuate (user|auto) "user" +&gt;</eg> + And here is how to make an arbitrary element into a simple link. + <eg>&lt;!ELEMENT xlink:simple ANY&gt; +&lt;!ATTLIST foo + xlink:type (simple|extended|locator|arc) #FIXED "simple" + xlink:href CDATA #REQUIRED + xlink:role CDATA #IMPLIED + xlink:title CDATA #IMPLIED + xlink:show (new|parsed|replace) "replace" + xlink:actuate (user|auto) "user" +&gt;</eg> + Here is how the first example might look in a document: +<eg>&lt;xlink:simple href="http://www.w3.org/TR/wd-xlink" role="working draft" + title="The XLink Working Draft" show="replace" actuate="user"&gt; +The XLink Working Draft.&lt;/xlink:simple&gt;</eg> +<eg>&lt;foo xlink:href="http://www.w3.org/TR/wd-xlink" xlink:role="working draft" + xlink:title="The XLink Working Draft" xlink:show="new" xlink:actuate="user"&gt; +The XLink Working Draft.&lt;/foo&gt;</eg> + Alternately, a simple link could be as terse as this: +<eg>&lt;foo xlink:href="#stanza1"&gt;The First Stanza.&lt;/foo&gt;</eg> + </p> + <p> + There are no constraints on the contents of a simple linking element. In + the sample declaration above, it is given a content model of <code>ANY</code> + to illustrate that any content model or declared content is acceptable. In + a valid document, every element that is significant to XLink must still conform + to the constraints expressed in its governing DTD.</p> + <p>Note that it is meaningful to have an out-of-line simple link, although + such links are uncommon. They are called "one-ended" and are typically used + to associate discrete semantic properties with locations. The properties might + be expressed by attributes on the link, the link's element type name, or in + some other way, and are not considered full-fledged resources of the link. + Most out-of-line links are extended links, as these have a far wider range + of uses.</p> +</div2> + +<div2 id="extended-link"> +<head>Extended Links</head> + <p><termdef id="dt-extendedlink" term="Extended Link">An <term>extended link</term> differs from a simple link in that it can connect any number of resources, not just one local resource (optionally) and one remote resource, and in that extended links are more often out-of-line than simple links.</termdef></p> + <p>These additional capabilities of extended links are required for: + <ulist> + <item> + <p>Enabling outgoing links in documents that cannot be modified to add an inline link</p> + </item> + <item> + <p>Creating links to and from resources in formats with no native support for embedded links (such as most multimedia formats)</p> + </item> + <item> + <p>Applying and filtering sets of relevant links on demand</p> + </item> + <item><p>Enabling other advanced hypermedia capabilities</p></item> + </ulist> + </p> + <p>Application software might be expected to provide traversal among all of a link's participating resources (subject to semantic constraints outside the scope of this specification) and to signal the fact that a given resource or sub-resource participates in one or more links when it is displayed (even though there is no markup at exactly that point to signal it).</p> + <p>A linking element for an extended link contains a series of <xtermref href="http://www.w3.org/TR/REC-xml/#dt-parentchild">child elements</xtermref> that serve as locators and arcs. Because an extended link can have more than one remote resource, it separates out linking itself from the mechanisms used to locate each resource (whereas a simple link combines the two).</p> + <p>The <code>xlink:type</code> attribute value for an extended link must be <code> extended</code>, if the link is being instantiated on an arbitrary element. Note that extended links introduce variants of the <code>show</code> and <code>actuate</code> behavior attributes. These attributes, the <code>showdefault</code> and <code>actuatedefault</code> define the same behavior as their counterparts. However, in this case, they are considered to define the default behavior for all the linking elements that they contain.</p> + <p>However, when a linking element within an extended link has a <code>show</code> or <code>actuate</code> attribute of its own, that attribute overrides the defaults set on the extended linking element.</p> + <p>The extended linking element itself retains those attributes relevant to the link as a whole, and to its local resource if any. Following are two sample declaration for an extended link. The first is an example of the explicit XLink extended link: + +<eg>&lt;!ELEMENT xlink:extended ((xlink:arc | xlink:locator)*)> +&lt;!ATTLIST xlink:extended + role CDATA #IMPLIED + title CDATA #IMPLIED + showdefault (new|parsed|replace) #IMPLIED + actuatedefault (user|auto) #IMPLIED &gt;</eg> + + The second is an example of an arbitrary element being used an extended link: + +<eg>&lt;!ELEMENT foo ((xlink:arc | xlink:locator)*)> +&lt;!ATTLIST foo + xlink:type (simple|extended|locator|arc) #FIXED "extended" + xlink:role CDATA #IMPLIED + xlink:title CDATA #IMPLIED + xlink:showdefault (new|parsed|replace) #IMPLIED + xlink:actuatedefault (user|auto) #IMPLIED &gt;</eg> + + The following two examples demonstrate how each of the above might appear within a document instance. Note that the content of these examples would be other elements. For brevity's sake, they've been left blank. The first example shows how the link might appear, using an explicit XLink extended link: + +<eg>&lt;xlink:extended role="address book" title="Ben's Address Book" showdefault="replace" actuatedefault="user"&gt; ... &lt;/xlink:extended&gt;</eg> + + And the second shows how the link might appear, using an arbitrary element: + +<eg>&lt;foo xlink:type="extended" xlink:role="address book" xlink:title="Ben's Address Book" xlink:showdefault="replace" xlink:actuatedefault="user"&gt; ... &lt;/foo&gt;</eg> + </p> + +</div2> + +<div2 id="xlink-arcs"> + <head>Arc Elements</head> + <p><termdef id="dt-arc" term="Arc">An <term>arc</term> is contained within an extended link for the purpose of defining traversal behavior.</termdef> More than one arc may be associated with a link. Otherwise, arc elements function exactly as the arc attributes might lead on to expect.</p> + <!-- More here? -bent --> +</div2> + +</div1> +<div1> +<head>Conformance</head> +<p>An element conforms to XLink if: <olist> +<item><p>The element has an <code>xml:link</code> attribute whose value is +one of the attribute values prescribed by this specification, and</p></item> +<item><p>the element and all of its attributes and content adhere to the +syntactic +requirements imposed by the chosen <code>xml:link</code> attribute value, +as prescribed in this specification.</p></item> +</olist></p> +<p>Note that conformance is assessed at the level of individual elements, +rather than whole XML documents, because XLink and non-XLink linking mechanisms +may be used side by side in any one document.</p> +<p>An application conforms to XLink if it interprets XLink-conforming elements +according to all required semantics prescribed by this specification and, +for any optional semantics it chooses to support, supports them in the way +prescribed. <!--If/when we split out the XLinkfunctionality +(e.g. inline links and out-of-line links), the +conformance language will have to address the different +levels of support. -elm--> </p> +</div1> +</body><back> +<div1 id="unfinished"> +<head>Unfinished Work</head> +<div2> +<head>Structured Titles</head> +<p>The simple title mechanism described in this draft is insufficient to cope +with internationalization or the use of multimedia in link titles. A future +version will provide a mechanism for the use of structured link titles.</p> +</div2> +</div1> +<div1> +<head>References</head> +<blist> +<bibl id="xptr" key="XPTR">Eve Maler and Steve DeRose, editors. <titleref> +XML Pointer Language (XPointer) V1.0</titleref>. ArborText, Inso, and Brown +University. Burlington, Seekonk, et al.: World Wide Web Consortium, 1998. +(See <loc href="http://www.w3.org/TR/WD-xptr">http://www.w3.org/TR/WD-xptr + </loc>.)</bibl> +<bibl id="iso10744" key="ISO/IEC 10744">ISO (International Organization for +Standardization). <titleref>ISO/IEC 10744-1992 (E). Information technology +- Hypermedia/Time-based Structuring Language (HyTime).</titleref> [Geneva]: +International Organization for Standardization, 1992. <titleref>Extended +Facilities +Annex.</titleref> [Geneva]: International Organization for Standardization, +1996. (See <loc +href="http://www.ornl.gov/sgml/wg8/hytime/html/is10744r.html">http://www.ornl.go +v/sgml/wg8/hytime/html/is10744r.html </loc> <!--p m-r says this link is +broken. elm --> ).</bibl> +<bibl id="rfc1738" key="IETF RFC 1738">IETF (Internet Engineering Task +Force). <titleref> +RFC 1738: Uniform Resource Locators</titleref>. 1991. (See <loc +href="http://www.w3.org/Addressing/rfc1738.txt"> +http://www.w3.org/Addressing/rfc1738.txt</loc>).</bibl> +<bibl id="rfc1808" key="IETF RFC 1808">IETF (Internet Engineering Task +Force). <titleref> +RFC 1808: Relative Uniform Resource Locators</titleref>. 1995. (See <loc +href="http://www.w3.org/Addressing/rfc1808.txt">http://www.w3.org/Addressing/rfc +1808.txt </loc>).</bibl> +<bibl id="tei" key="TEI">C. M. Sperberg-McQueen and Lou Burnard, editors. +<titleref> +Guidelines for Electronic Text Encoding and Interchange</titleref>. Association +for Computers and the Humanities (ACH), Association for Computational +Linguistics +(ACL), and Association for Literary and Linguistic Computing (ALLC). Chicago, +Oxford: Text Encoding Initiative, 1994. <!-- add cite to DOM work --> </bibl> +<bibl id="chum" key="CHUM">]Steven J. DeRose and David G. Durand. 1995. "The +TEI Hypertext Guidelines." In <titleref>Computing and the Humanities +</titleref>29(3). +Reprinted in <titleref>Text Encoding Initiative: Background and +Context</titleref>, +ed. Nancy Ide and Jean ronis <!-- fix this name -->, ISBN 0-7923-3704-2. </bibl> +</blist></div1> +</back></spec> +<?Pub *0000052575?>