summaryrefslogtreecommitdiff
path: root/os400/libxmlrpg/c14n.rpgle
diff options
context:
space:
mode:
Diffstat (limited to 'os400/libxmlrpg/c14n.rpgle')
-rw-r--r--os400/libxmlrpg/c14n.rpgle119
1 files changed, 0 insertions, 119 deletions
diff --git a/os400/libxmlrpg/c14n.rpgle b/os400/libxmlrpg/c14n.rpgle
deleted file mode 100644
index b64efb2..0000000
--- a/os400/libxmlrpg/c14n.rpgle
+++ /dev/null
@@ -1,119 +0,0 @@
- * 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 <pm@datasphere.ch>, 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/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 10i 0 based(######typedef######) enum
- 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 10i 0 extproc('xmlC14NDocSaveTo')
- d doc value like(xmlDocPtr)
- d nodes value like(xmlNodeSetPtr)
- d mode 10i 0 value
- d inclusive_ns_prefixes...
- d * xmlChar *(*)
- d with_comments 10i 0 value
- d buf value like(xmlOutputBufferPtr)
-
- d xmlC14NDocDumpMemory...
- d pr 10i 0 extproc('xmlC14NDocDumpMemory')
- d doc value like(xmlDocPtr)
- d nodes value like(xmlNodeSetPtr)
- d mode 10i 0 value
- d inclusive_ns_prefixes...
- d * xmlChar *(*)
- d with_comments 10i 0 value
- d doc_txt_ptr * xmlChar *(*)
-
- d xmlC14NDocSave pr 10i 0 extproc('xmlC14NDocSave')
- d doc value like(xmlDocPtr)
- d nodes value like(xmlNodeSetPtr)
- d mode 10i 0 value
- d inclusive_ns_prefixes...
- d * xmlChar *(*)
- d with_comments 10i 0 value
- d filename * value options(*string) const char *
- d compression 10i 0 value
-
- * 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 10i 0 extproc('xmlC14NExecute')
- d doc value like(xmlDocPtr)
- d is_visible_callback...
- d value like(xmlC14NIsVisibleCallback)
- d user_data * value void *
- d mode 10i 0 value
- d inclusive_ns_prefixes...
- d * xmlChar *(*)
- d with_comments 10i 0 value
- d buf value like(xmlOutputBufferPtr)
-
- /endif LIBXML_OUTPUT_ENABLD
- /endif LIBXML_C14N_ENABLED
- /endif XML_C14N_H__