Diff for /embedaddon/libxml2/legacy.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:37:58 version 1.1.1.2, 2014/06/15 19:53:29
Line 393  xmlSetFeature(xmlParserCtxtPtr ctxt, const char *name, Line 393  xmlSetFeature(xmlParserCtxtPtr ctxt, const char *name,
  * @end:  an end marker xmlChar, 0 if none   * @end:  an end marker xmlChar, 0 if none
  * @end2:  an end marker xmlChar, 0 if none   * @end2:  an end marker xmlChar, 0 if none
  * @end3:  an end marker xmlChar, 0 if none   * @end3:  an end marker xmlChar, 0 if none
 *  *
  * This function is deprecated, we now always process entities content   * This function is deprecated, we now always process entities content
  * through xmlStringDecodeEntities   * through xmlStringDecodeEntities
  *   *
Line 456  xmlNamespaceParseNCName(xmlParserCtxtPtr ctxt ATTRIBUT Line 456  xmlNamespaceParseNCName(xmlParserCtxtPtr ctxt ATTRIBUT
 /**  /**
  * xmlNamespaceParseQName:   * xmlNamespaceParseQName:
  * @ctxt:  an XML parser context   * @ctxt:  an XML parser context
 * @prefix:  a xmlChar **  * @prefix:  a xmlChar **
  *   *
  * TODO: this seems not in use anymore, the namespace handling is done on   * TODO: this seems not in use anymore, the namespace handling is done on
  *       top of the SAX interfaces, i.e. not on raw input.   *       top of the SAX interfaces, i.e. not on raw input.
Line 603  xmlScanName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) Line 603  xmlScanName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED)
 /**  /**
  * xmlParserHandleReference:   * xmlParserHandleReference:
  * @ctxt:  the parser context   * @ctxt:  the parser context
 *  *
  * TODO: Remove, now deprecated ... the test is done directly in the   * TODO: Remove, now deprecated ... the test is done directly in the
  *       content parsing   *       content parsing
  * routines.   * routines.
Line 615  xmlScanName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) Line 615  xmlScanName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED)
  * [ WFC: Entity Declared ]   * [ WFC: Entity Declared ]
  * the Name given in the entity reference must match that in an entity   * the Name given in the entity reference must match that in an entity
  * declaration, except that well-formed documents need not declare any   * declaration, except that well-formed documents need not declare any
 * of the following entities: amp, lt, gt, apos, quot.  * of the following entities: amp, lt, gt, apos, quot.
  *   *
  * [ WFC: Parsed Entity ]   * [ WFC: Parsed Entity ]
  * An entity reference must not contain the name of an unparsed entity   * An entity reference must not contain the name of an unparsed entity
Line 624  xmlScanName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) Line 624  xmlScanName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED)
  *                  '&#x' [0-9a-fA-F]+ ';'   *                  '&#x' [0-9a-fA-F]+ ';'
  *   *
  * A PEReference may have been detected in the current input stream   * A PEReference may have been detected in the current input stream
 * the handling is done accordingly to  * the handling is done accordingly to
  *      http://www.w3.org/TR/REC-xml#entproc   *      http://www.w3.org/TR/REC-xml#entproc
  */   */
 void  void
Line 693  xmlNewGlobalNs(xmlDocPtr doc ATTRIBUTE_UNUSED, Line 693  xmlNewGlobalNs(xmlDocPtr doc ATTRIBUTE_UNUSED,
 /**  /**
  * xmlUpgradeOldNs:   * xmlUpgradeOldNs:
  * @doc:  a document pointer   * @doc:  a document pointer
 *  *
  * Upgrade old style Namespaces (PI) and move them to the root of the document.   * Upgrade old style Namespaces (PI) and move them to the root of the document.
  * DEPRECATED   * DEPRECATED
  */   */
Line 719  xmlUpgradeOldNs(xmlDocPtr doc ATTRIBUTE_UNUSED) Line 719  xmlUpgradeOldNs(xmlDocPtr doc ATTRIBUTE_UNUSED)
  *   *
  * People must migrate their code to xmlEncodeEntitiesReentrant !   * People must migrate their code to xmlEncodeEntitiesReentrant !
  * This routine will issue a warning when encountered.   * This routine will issue a warning when encountered.
 *  *
  * Returns NULL   * Returns NULL
  */   */
 const xmlChar *  const xmlChar *
Line 740  xmlEncodeEntities(xmlDocPtr doc ATTRIBUTE_UNUSED, Line 740  xmlEncodeEntities(xmlDocPtr doc ATTRIBUTE_UNUSED,
   
 /************************************************************************  /************************************************************************
  *                                                                      *   *                                                                      *
 *              Old set of SAXv1 functions                              * *              Old set of SAXv1 functions                              *
  *                                                                      *   *                                                                      *
  ************************************************************************/   ************************************************************************/
 static int deprecated_v1_msg = 0;  static int deprecated_v1_msg = 0;
Line 961  getParameterEntity(void *ctx, const xmlChar * name) Line 961  getParameterEntity(void *ctx, const xmlChar * name)
 /**  /**
  * entityDecl:   * entityDecl:
  * @ctx: the user data (XML parser context)   * @ctx: the user data (XML parser context)
 * @name:  the entity name  * @name:  the entity name
 * @type:  the entity type  * @type:  the entity type
  * @publicId: The public ID of the entity   * @publicId: The public ID of the entity
  * @systemId: The system ID of the entity   * @systemId: The system ID of the entity
  * @content: the entity value (without processing).   * @content: the entity value (without processing).
Line 983  entityDecl(void *ctx, const xmlChar * name, int type, Line 983  entityDecl(void *ctx, const xmlChar * name, int type,
  * attributeDecl:   * attributeDecl:
  * @ctx: the user data (XML parser context)   * @ctx: the user data (XML parser context)
  * @elem:  the name of the element   * @elem:  the name of the element
 * @fullname:  the attribute name  * @fullname:  the attribute name
 * @type:  the attribute type  * @type:  the attribute type
  * @def:  the type of default value   * @def:  the type of default value
  * @defaultValue: the attribute default value   * @defaultValue: the attribute default value
  * @tree:  the tree of enumerated value set   * @tree:  the tree of enumerated value set
Line 1005  attributeDecl(void *ctx, const xmlChar * elem, const x Line 1005  attributeDecl(void *ctx, const xmlChar * elem, const x
 /**  /**
  * elementDecl:   * elementDecl:
  * @ctx: the user data (XML parser context)   * @ctx: the user data (XML parser context)
 * @name:  the element name  * @name:  the element name
 * @type:  the element type  * @type:  the element type
  * @content: the element value tree   * @content: the element value tree
  *   *
  * An element definition has been parsed   * An element definition has been parsed
Line 1159  endElement(void *ctx, const xmlChar * name ATTRIBUTE_U Line 1159  endElement(void *ctx, const xmlChar * name ATTRIBUTE_U
  * @ctx: the user data (XML parser context)   * @ctx: the user data (XML parser context)
  * @name:  The entity name   * @name:  The entity name
  *   *
 * called when an entity reference is detected.  * called when an entity reference is detected.
  * DEPRECATED: use xmlSAX2Reference()   * DEPRECATED: use xmlSAX2Reference()
  */   */
 void  void

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>