diff --git a/ChangeLog b/ChangeLog index d9171974..05bfe8fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Aug 28 22:58:38 PDT 2003 William Brack + + * doc/apibuild.py, doc/libxml2-api.xml: enhanced code + to compensate for pollution from Igor's header taint + (quick before Daniel notices) + Thu Aug 28 23:01:36 CEST 2003 Daniel Veillard * SAX2.c: fixed a namespace error on attribute reporting bug diff --git a/doc/apibuild.py b/doc/apibuild.py index 4e56f536..4b12d09a 100755 --- a/doc/apibuild.py +++ b/doc/apibuild.py @@ -30,6 +30,9 @@ ignored_files = { ignored_words = { "WINAPI": (0, "Windows keyword"), "LIBXML_DLL_IMPORT": (0, "Special macro to flag external keywords"), + "XMLPUBVAR": (0, "Special macro for extern vars for win32"), + "XMLPUBFUN": (0, "Special macro for extern funcs for win32"), + "XMLCALL": (0, "Special macro for win32 calls"), "__declspec": (3, "Windows keyword"), "ATTRIBUTE_UNUSED": (0, "macro keyword"), "LIBEXSLT_PUBLIC": (0, "macro keyword"), diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 5fab2599..f87b6d33 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -1,108 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -222,6 +120,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -429,6 +563,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -501,19 +670,6 @@ - - - - - - - - - - - - - @@ -642,6 +798,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -673,6 +863,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -705,40 +944,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -838,7 +1083,6 @@ - @@ -1012,6 +1256,7 @@ + @@ -1020,12 +1265,14 @@ + + @@ -1044,6 +1291,7 @@ + @@ -1298,134 +1546,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1510,6 +1630,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1950,156 +2123,76 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2118,66 +2211,20 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -2309,9 +2356,6 @@ Whether iconv support is available - - Whether ISO-8859-* support is made available in case iconv is not - @@ -2356,6 +2400,12 @@ + + + + + + The namespace for the XML Catalogs elements. @@ -2383,6 +2433,9 @@ Identifiers can be longer, but this will be more costly at runtime. + + Special constant found in SAX2 blocks initialized fields + @@ -3352,6 +3405,8 @@ actually an xmlCharEncoding'/> + + @@ -3453,7 +3508,11 @@ actually an xmlCharEncoding'/> - + + + + + @@ -3776,14 +3835,14 @@ actually an xmlCharEncoding'/> - 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. + 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() - An attribute definition has been parsed + An attribute definition has been parsed DEPRECATED: use xmlSAX2AttributeDecl() @@ -3804,6 +3863,16 @@ actually an xmlCharEncoding'/> + + SAX2 callback when an attribute has been detected by the parser. It provides the namespace informations for the attribute, as well as the value of the attribute (note that @value may not be zero terminated and use of the @valuelen is needed to find the value end). + + + + + + + + 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. @@ -3812,7 +3881,7 @@ actually an xmlCharEncoding'/> - called when a pcdata block has been parsed + called when a pcdata block has been parsed DEPRECATED: use xmlSAX2CDataBlock() @@ -3826,7 +3895,7 @@ actually an xmlCharEncoding'/> - receiving some chars from the parser. + receiving some chars from the parser. DEPRECATED: use xmlSAX2Characters() @@ -3840,13 +3909,13 @@ actually an xmlCharEncoding'/> - Check that the current element namespace is the same as the one read upon parsing. + Check that the current element namespace is the same as the one read upon parsing. DEPRECATED - A comment has been parsed. + A comment has been parsed. DEPRECATED: use xmlSAX2Comment() @@ -3873,7 +3942,7 @@ actually an xmlCharEncoding'/> - + Initialize the default SAX handler @@ -3933,7 +4002,7 @@ actually an xmlCharEncoding'/> - An element definition has been parsed + An element definition has been parsed DEPRECATED: use xmlSAX2ElementDecl() @@ -3949,7 +4018,7 @@ actually an xmlCharEncoding'/> - called when the document end has been detected. + called when the document end has been detected. DEPRECATED: use xmlSAX2EndDocument() @@ -3959,11 +4028,19 @@ actually an xmlCharEncoding'/> - called when the end of an element has been detected. + called when the end of an element has been detected. DEPRECATED: use xmlSAX2EndElement() + + SAX2 callback when an element end has been detected by the parser. It provides the namespace informations for the element. + + + + + + Called when the end of an element has been detected. @@ -3971,7 +4048,7 @@ actually an xmlCharEncoding'/> - An entity definition has been parsed + An entity definition has been parsed DEPRECATED: use xmlSAX2EntityDecl() @@ -3998,7 +4075,7 @@ actually an xmlCharEncoding'/> - Callback on external subset declaration. + Callback on external subset declaration. DEPRECATED: use xmlSAX2ExternalSubset() @@ -4044,12 +4121,12 @@ actually an xmlCharEncoding'/> - Provide the column number of the current parsing point. + Provide the column number of the current parsing point. DEPRECATED: use xmlSAX2GetColumnNumber() - Get an entity by name + Get an entity by name DEPRECATED: use xmlSAX2GetEntity() @@ -4061,17 +4138,17 @@ actually an xmlCharEncoding'/> - Provide the line number of the current parsing point. + Provide the line number of the current parsing point. DEPRECATED: use xmlSAX2GetLineNumber() - Get the current element namespace. + Get the current element namespace. DEPRECATED - Get a parameter entity by name + Get a parameter entity by name DEPRECATED: use xmlSAX2GetParameterEntity() @@ -4083,24 +4160,24 @@ actually an xmlCharEncoding'/> - Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" + Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" DEPRECATED: use xmlSAX2GetPublicId() - Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd + Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd DEPRECATED: use xmlSAX2GetSystemId() - An old global namespace has been parsed. + An old global namespace has been parsed. DEPRECATED - Does this document has an external subset + Does this document has an external subset DEPRECATED: use xmlSAX2HasExternalSubset() @@ -4110,7 +4187,7 @@ actually an xmlCharEncoding'/> - Does this document has an internal subset + Does this document has an internal subset DEPRECATED: use xmlSAX2HasInternalSubset() @@ -4155,7 +4232,7 @@ actually an xmlCharEncoding'/> - + Initialize the default SAX handler @@ -4401,7 +4478,7 @@ actually an xmlCharEncoding'/> - receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters + receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters DEPRECATED: use xmlSAX2IgnorableWhitespace() @@ -4420,17 +4497,17 @@ actually an xmlCharEncoding'/> - Initialize the default DocBook SAX handler + Initialize the default DocBook SAX version 1 handler DEPRECATED: use xmlSAX2InitDocbDefaultSAXHandler() for the new SAX2 blocks - Initialize the default HTML SAX handler + Initialize the default HTML SAX version 1 handler DEPRECATED: use xmlSAX2InitHtmlDefaultSAXHandler() for the new SAX2 blocks - Initialize the default XML SAX handler + Initialize the default XML SAX version 1 handler DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks @@ -4447,7 +4524,7 @@ actually an xmlCharEncoding'/> - Callback on internal subset declaration. + Callback on internal subset declaration. DEPRECATED: use xmlSAX2InternalSubset() @@ -4463,7 +4540,7 @@ actually an xmlCharEncoding'/> - Is this document tagged standalone ? + Is this document tagged standalone ? DEPRECATED: use xmlSAX2IsStandalone() @@ -4492,7 +4569,7 @@ actually an xmlCharEncoding'/> - A namespace has been parsed. + A namespace has been parsed. DEPRECATED @@ -4510,7 +4587,7 @@ actually an xmlCharEncoding'/> - What to do when a notation declaration has been parsed. + What to do when a notation declaration has been parsed. DEPRECATED: use xmlSAX2NotationDecl() @@ -4526,7 +4603,7 @@ actually an xmlCharEncoding'/> - A processing instruction has been parsed. + A processing instruction has been parsed. DEPRECATED: use xmlSAX2ProcessingInstruction() @@ -4540,7 +4617,7 @@ actually an xmlCharEncoding'/> - called when an entity reference is detected. + called when an entity reference is detected. DEPRECATED: use xmlSAX2Reference() @@ -4552,7 +4629,7 @@ actually an xmlCharEncoding'/> - 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 + 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() @@ -4566,7 +4643,7 @@ actually an xmlCharEncoding'/> - Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case. + Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case. DEPRECATED @@ -4578,13 +4655,13 @@ actually an xmlCharEncoding'/> - Set the current element namespace. + Set the current element namespace. DEPRECATED - called when the document start being processed. + called when the document start being processed. DEPRECATED: use xmlSAX2StartDocument() @@ -4594,12 +4671,23 @@ actually an xmlCharEncoding'/> - called when an opening tag has been processed. + called when an opening tag has been processed. DEPRECATED: use xmlSAX2StartElement() + + SAX2 callback when an element start has been detected by the parser. It provides the namespace informations for the element, as well as the new namespace declarations on the element. The number of attributes is given in this callback but the attributes themselves will be provided as separate callbacks. + + + + + + + + + Called when an opening tag has been processed. @@ -4608,7 +4696,7 @@ actually an xmlCharEncoding'/> - What to do when an unparsed entity declaration is parsed + What to do when an unparsed entity declaration is parsed DEPRECATED: use xmlSAX2UnparsedEntityDecl() @@ -5605,8 +5693,8 @@ actually an xmlCharEncoding'/> - - Initialize the default SAX handler + + Initialize the default SAX2 handler @@ -8376,6 +8464,238 @@ actually an xmlCharEncoding'/> + + An attribute definition has been parsed + + + + + + + + + + + called when a pcdata block has been parsed + + + + + + + receiving some chars from the parser. + + + + + + + + + + + + + A xmlSAX2Comment has been parsed. + + + + + + An element definition has been parsed + + + + + + + + called when the document end has been detected. + + + + + called when the end of an element has been detected. + + + + + + An entity definition has been parsed + + + + + + + + + + Callback on external subset declaration. + + + + + + + + Provide the column number of the current parsing point. + + + + + Get an entity by name + + + + + + Provide the line number of the current parsing point. + + + + + + + + + + Get a parameter entity by name + + + + + + Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" + + + + + Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd + + + + + + + + + + + + Does this document has an external subset + + + + + Does this document has an internal subset + + + + + receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use xmlSAX2Characters + + + + + + + Initialize the default XML SAX2 handler + + + + + + Initialize the default DocBook SAX2 handler + + + + + Initialize the default HTML SAX2 handler + + + + + Callback on internal subset declaration. + + + + + + + + Is this document tagged standalone ? + + + + + + + + + + + + What to do when a notation declaration has been parsed. + + + + + + + + A processing instruction has been parsed. + + + + + + + called when an entity xmlSAX2Reference is detected. + + + + + + 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 + + + + + + + Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case. + + + + + + + + + + + + called when the document start being processed. + + + + + called when an opening tag has been processed. + + + + + + + What to do when an unparsed entity declaration is parsed + + + + + + + Load and parse an external subset.