[libxml2] os400: use like() for enum types.
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] os400: use like() for enum types.
- Date: Sun, 1 May 2016 10:44:05 +0000 (UTC)
commit 91e2e698fd137f821b20dad9300f149816644c30
Author: Patrick Monnerat <pm datasphere ch>
Date: Wed Apr 1 15:23:57 2015 +0200
os400: use like() for enum types.
os400/libxmlrpg/HTMLparser.rpgle | 11 +++++++----
os400/libxmlrpg/c14n.rpgle | 4 +++-
os400/libxmlrpg/catalog.rpgle | 12 ++++++++----
os400/libxmlrpg/encoding.rpgle | 4 +++-
os400/libxmlrpg/entities.rpgle | 4 +++-
os400/libxmlrpg/parser.rpgle | 12 ++++++++----
os400/libxmlrpg/pattern.rpgle | 9 ++++++---
os400/libxmlrpg/relaxng.rpgle | 12 ++++++++----
os400/libxmlrpg/schemasInternals.rpgle | 11 ++++++++---
os400/libxmlrpg/schematron.rpgle | 4 +++-
os400/libxmlrpg/tree.rpgle | 24 ++++++++++++++++--------
os400/libxmlrpg/xlink.rpgle | 13 +++++++++----
os400/libxmlrpg/xmlerror.rpgle | 14 +++++++++-----
os400/libxmlrpg/xmlmodule.rpgle | 5 ++++-
os400/libxmlrpg/xmlreader.rpgle | 12 ++++++++----
os400/libxmlrpg/xmlregexp.rpgle | 5 ++++-
os400/libxmlrpg/xmlsave.rpgle | 8 +++++---
os400/libxmlrpg/xmlschemas.rpgle | 7 +++++--
os400/libxmlrpg/xmlschemastypes.rpgle | 5 +++--
os400/libxmlrpg/xpath.rpgle | 8 +++++---
20 files changed, 125 insertions(+), 59 deletions(-)
---
diff --git a/os400/libxmlrpg/HTMLparser.rpgle b/os400/libxmlrpg/HTMLparser.rpgle
index d4c5f8d..b359135 100644
--- a/os400/libxmlrpg/HTMLparser.rpgle
+++ b/os400/libxmlrpg/HTMLparser.rpgle
@@ -12,11 +12,12 @@
/define HTML_PARSER_H__
/include "libxmlrpg/xmlversion"
- /include "libxmlrpg/xmlTypesC"
- /include "libxmlrpg/parser"
/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...
@@ -236,7 +237,8 @@
* to the xmlReadDoc() and similar calls.
d htmlParserOption...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d HTML_PARSE_RECOVER... Relaxed parsing
d c X'00000001'
d HTML_PARSE_NODEFDTD... No default doctype
@@ -350,7 +352,8 @@
* Further knowledge of HTML structure
- d htmlStatus s 10i 0 based(######typedef######) enum
+ 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...
diff --git a/os400/libxmlrpg/c14n.rpgle b/os400/libxmlrpg/c14n.rpgle
index b64efb2..de50950 100644
--- a/os400/libxmlrpg/c14n.rpgle
+++ b/os400/libxmlrpg/c14n.rpgle
@@ -21,6 +21,7 @@
/if defined(LIBXML_C14N_ENABLED)
/if defined(LIBXML_OUTPUT_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/tree"
/include "libxmlrpg/xpath"
@@ -52,7 +53,8 @@
* Predefined values for C14N modes
d xmlBufferAllocationScheme...
- d xmlC14NMode s 10i 0 based(######typedef######) enum
+ 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
diff --git a/os400/libxmlrpg/catalog.rpgle b/os400/libxmlrpg/catalog.rpgle
index 52baf4e..adfeb78 100644
--- a/os400/libxmlrpg/catalog.rpgle
+++ b/os400/libxmlrpg/catalog.rpgle
@@ -16,11 +16,13 @@
/define XML_CATALOG_H__
/include "libxmlrpg/xmlversion"
- /include "libxmlrpg/xmlstring"
- /include "libxmlrpg/tree"
/if defined(LIBXML_CATALOG_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
+ /include "libxmlrpg/xmlstring"
+ /include "libxmlrpg/tree"
+
* XML_CATALOGS_NAMESPACE:
*
* The namespace for the XML Catalogs elements.
@@ -38,7 +40,8 @@
* The API is voluntarily limited to general cataloging.
d xmlCatalogPrefer...
- d s 10u 0 based(######typedef######) enum type
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_CATA_PREFER_NONE...
d c 0
d XML_CATA_PREFER_PUBLIC...
@@ -47,7 +50,8 @@
d c 2
d xmlCatalogAllow...
- d s 10u 0 based(######typedef######) enum type
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_CATA_ALLOW_NONE...
d c 0
d XML_CATA_ALLOW_GLOBAL...
diff --git a/os400/libxmlrpg/encoding.rpgle b/os400/libxmlrpg/encoding.rpgle
index c0ed7e6..499afdd 100644
--- a/os400/libxmlrpg/encoding.rpgle
+++ b/os400/libxmlrpg/encoding.rpgle
@@ -21,6 +21,7 @@
/define XML_CHAR_ENCODING_H__
/include "libxmlrpg/xmlversion"
+ /include "libxmlrpg/xmlTypesC"
* xmlCharEncoding:
*
@@ -43,7 +44,8 @@
* the specific UTF-16LE and UTF-16BE are present.
d xmlCharEncoding...
- d s 10i 0 based(######typedef######) enum
+ 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
diff --git a/os400/libxmlrpg/entities.rpgle b/os400/libxmlrpg/entities.rpgle
index 8d97915..2ae981c 100644
--- a/os400/libxmlrpg/entities.rpgle
+++ b/os400/libxmlrpg/entities.rpgle
@@ -10,11 +10,13 @@
/define XML_ENTITIES_H__
/include "libxmlrpg/xmlversion"
+ /include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/tree"
* The different valid entity types.
- d xmlEntityType s 10i 0 based(######typedef######) enum
+ d xmlEntityType s based(######typedef######)
+ d like(xmlCenum)
d XML_INTERNAL_GENERAL_ENTITY...
d c 1
d XML_EXTERNAL_GENERAL_PARSED_ENTITY...
diff --git a/os400/libxmlrpg/parser.rpgle b/os400/libxmlrpg/parser.rpgle
index f04aa2e..e41f5ef 100644
--- a/os400/libxmlrpg/parser.rpgle
+++ b/os400/libxmlrpg/parser.rpgle
@@ -103,7 +103,8 @@
* The recursive one use the state info for entities processing.
d xmlParserInputState...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_PARSER_EOF... Nothing to parse
d c -1
d XML_PARSER_START... Nothing parsed
@@ -168,7 +169,8 @@
*
* A parser can operate in various modes
- d xmlParserMode s 10i 0 based(######typedef######) enum
+ d xmlParserMode s based(######typedef######)
+ d like(xmlCenum)
d XML_PARSE_UNKNOWN...
d c 0
d XML_PARSE_DOM...
@@ -1194,7 +1196,8 @@
* to the xmlReadDoc() and similar calls.
d xmlParserOption...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_PARSE_RECOVER... Recover on errors
d c X'00000001'
d XML_PARSE_NOENT... Substitute entities
@@ -1347,7 +1350,8 @@
* or disabled at compile-time.
* They used to be called XML_FEATURE_xxx but this clashed with Expat
- d xmlFeature s 10i 0 based(######typedef######) enum
+ d xmlFeature s based(######typedef######)
+ d like(xmlCenum)
d XML_WITH_THREAD...
d c 1
d XML_WITH_TREE c 2
diff --git a/os400/libxmlrpg/pattern.rpgle b/os400/libxmlrpg/pattern.rpgle
index 2e881e5..7cbecdc 100644
--- a/os400/libxmlrpg/pattern.rpgle
+++ b/os400/libxmlrpg/pattern.rpgle
@@ -10,11 +10,13 @@
/define XML_PATTERN_H__
/include "libxmlrpg/xmlversion"
- /include "libxmlrpg/tree"
- /include "libxmlrpg/dict"
/if defined(LIBXML_PATTERN_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
+ /include "libxmlrpg/tree"
+ /include "libxmlrpg/dict"
+
* xmlPattern:
*
* A compiled (XPath based) pattern to select nodes
@@ -28,7 +30,8 @@
* matching with this module
d xmlPatternFlags...
- d s 10i 0 based(######typedef######) enum
+ 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
diff --git a/os400/libxmlrpg/relaxng.rpgle b/os400/libxmlrpg/relaxng.rpgle
index af662aa..45b122a 100644
--- a/os400/libxmlrpg/relaxng.rpgle
+++ b/os400/libxmlrpg/relaxng.rpgle
@@ -9,11 +9,13 @@
/define XML_RELAX_NG__
/include "libxmlrpg/xmlversion"
- /include "libxmlrpg/hash"
- /include "libxmlrpg/xmlstring"
/if defined(LIBXML_SCHEMAS_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
+ /include "libxmlrpg/hash"
+ /include "libxmlrpg/xmlstring"
+
d xmlRelaxNGPtr s * based(######typedef######)
* xmlRelaxNGValidityErrorFunc:
@@ -51,7 +53,8 @@
* List of possible Relax NG validation errors
d xmlRelaxNGValidErr...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_RELAXNG_OK...
d c 0
d XML_RELAXNG_ERR_MEMORY...
@@ -138,7 +141,8 @@
* List of possible Relax NG Parser flags
d xmlRelaxNGParserFlag...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_RELAXNGP_NONE...
d c 0
d XML_RELAXNGP_FREE_DOC...
diff --git a/os400/libxmlrpg/schemasInternals.rpgle b/os400/libxmlrpg/schemasInternals.rpgle
index edeea5b..910d688 100644
--- a/os400/libxmlrpg/schemasInternals.rpgle
+++ b/os400/libxmlrpg/schemasInternals.rpgle
@@ -15,12 +15,15 @@
/include "libxmlrpg/xmlversion"
/if defined(LIBXML_SCHEMAS_ENABLED)
+
+ /include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/xmlregexp"
/include "libxmlrpg/hash"
/include "libxmlrpg/dict"
d xmlSchemaValType...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_SCHEMAS_UNKNOWN...
d c 0
d XML_SCHEMAS_STRING...
@@ -119,7 +122,8 @@
* XML Schemas defines multiple type of types.
d xmlSchemaTypeType...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_SCHEMA_TYPE_BASIC... A builtin datatype
d c 1
d XML_SCHEMA_TYPE_ANY...
@@ -202,7 +206,8 @@
d c 2001
d xmlSchemaContentType...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_SCHEMA_CONTENT_UNKNOWN...
d c 0
d XML_SCHEMA_CONTENT_EMPTY...
diff --git a/os400/libxmlrpg/schematron.rpgle b/os400/libxmlrpg/schematron.rpgle
index c987cd5..3bc1857 100644
--- a/os400/libxmlrpg/schematron.rpgle
+++ b/os400/libxmlrpg/schematron.rpgle
@@ -12,10 +12,12 @@
/if defined(LIBXML_SCHEMATRON_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/tree"
d xmlSchematronValidOptions...
- d s 10i 0 based(######typedef######) enum
+ 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
diff --git a/os400/libxmlrpg/tree.rpgle b/os400/libxmlrpg/tree.rpgle
index 5c67f4f..cff035b 100644
--- a/os400/libxmlrpg/tree.rpgle
+++ b/os400/libxmlrpg/tree.rpgle
@@ -67,7 +67,8 @@
* need or double it's allocated size each time it is found too small.
d xmlBufferAllocationScheme...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_BUFFER_ALLOC_DOUBLEIT...
d c 0
d XML_BUFFER_ALLOC_EXACT...
@@ -150,7 +151,8 @@
* Actually this had diverged a bit, and now XML_DOCUMENT_TYPE_NODE should
* be deprecated to use an XML_DTD_NODE.
- d xmlElementType s 10i 0 based(######typedef######) enum
+ d xmlElementType s based(######typedef######)
+ d like(xmlCenum)
d XML_ELEMENT_NODE...
d c 1
d XML_ATTRIBUTE_NODE...
@@ -212,7 +214,8 @@
* A DTD Attribute type definition.
d xmlAttributeType...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_ATTRIBUTE_CDATA...
d c 1
d XML_ATTRIBUTE_ID...
@@ -239,7 +242,8 @@
* A DTD Attribute default definition.
d xmlAttributeDefault...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_ATTRIBUTE_NONE...
d c 1
d XML_ATTRIBUTE_REQUIRED...
@@ -298,7 +302,8 @@
* Possible definitions of element content types.
d xmlElementContentType...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_ELEMENT_CONTENT_PCDATA...
d c 1
d XML_ELEMENT_CONTENT_ELEMENT...
@@ -313,7 +318,8 @@
* Possible definitions of element content occurrences.
d xmlElementContentOccur...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_ELEMENT_CONTENT_ONCE...
d c 1
d XML_ELEMENT_CONTENT_OPT...
@@ -347,7 +353,8 @@
* The different possibilities for an element content type.
d xmlElementTypeVal...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_ELEMENT_TYPE_UNDEFINED...
d c 0
d XML_ELEMENT_TYPE_EMPTY...
@@ -515,7 +522,8 @@
* Some of them are linked to similary named xmlParserOption
d xmlDocProperties...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_DOC_WELLFORMED...
d c X'00000001'
d XML_DOC_NSVALID...
diff --git a/os400/libxmlrpg/xlink.rpgle b/os400/libxmlrpg/xlink.rpgle
index 964e605..e6ebdc6 100644
--- a/os400/libxmlrpg/xlink.rpgle
+++ b/os400/libxmlrpg/xlink.rpgle
@@ -9,10 +9,12 @@
/define XML_XLINK_H__
/include "libxmlrpg/xmlversion"
- /include "libxmlrpg/tree"
/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
@@ -26,7 +28,8 @@
d xlinkRole s * based(######typedef######) xmlChar *
d xlinkTitle s * based(######typedef######) xmlChar *
- d xlinkType s 10i 0 based(######typedef######) enum
+ d xlinkType s based(######typedef######)
+ d like(xmlCenum)
d XLINK_TYPE_NONE...
d c 0
d XLINK_TYPE_SIMPLE...
@@ -36,7 +39,8 @@
d XLINK_TYPE_EXTENDED_SET...
d c 3
- d xlinkShow s 10i 0 based(######typedef######) enum
+ d xlinkShow s based(######typedef######)
+ d like(xmlCenum)
d XLINK_SHOW_NONE...
d c 0
d XLINK_SHOW_NEW...
@@ -46,7 +50,8 @@
d XLINK_SHOW_REPLACE...
d c 3
- d xlinkActuate s 10i 0 based(######typedef######) enum
+ d xlinkActuate s based(######typedef######)
+ d like(xmlCenum)
d XLINK_ACTUATE_NONE...
d c 0
d XLINK_ACTUATE_AUTO...
diff --git a/os400/libxmlrpg/xmlerror.rpgle b/os400/libxmlrpg/xmlerror.rpgle
index b77caad..d60fe52 100644
--- a/os400/libxmlrpg/xmlerror.rpgle
+++ b/os400/libxmlrpg/xmlerror.rpgle
@@ -5,16 +5,18 @@
*
* Author: Patrick Monnerat <pm datasphere ch>, DATASPHERE S.A.
- /include "libxmlrpg/parser"
-
/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 10i 0 based(######typedef######) enum
+ d xmlErrorLevel s based(######typedef######)
+ d like(xmlCenum)
d XML_ERR_NONE c 0
d XML_ERR_WARNING... A simple warning
d c 1
@@ -25,7 +27,8 @@
*
* Indicates where an error may have come from
- d xmlErrorDomain s 10i 0 based(######typedef######) enum
+ d xmlErrorDomain s based(######typedef######)
+ d like(xmlCenum)
d XML_FROM_NONE c 0
d XML_FROM_PARSER... XML parser
d c 1
@@ -105,7 +108,8 @@
* This is an error that the XML (or HTML) parser can generate
d xmlParserErrors...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_ERR_OK c 0
d XML_ERR_INTERNAL_ERROR...
d c 1
diff --git a/os400/libxmlrpg/xmlmodule.rpgle b/os400/libxmlrpg/xmlmodule.rpgle
index 09592a6..2216eb4 100644
--- a/os400/libxmlrpg/xmlmodule.rpgle
+++ b/os400/libxmlrpg/xmlmodule.rpgle
@@ -13,6 +13,8 @@
/if defined(LIBXML_MODULES_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
+
* xmlModulePtr:
*
* A handle to a dynamically loaded module
@@ -24,7 +26,8 @@
* enumeration of options that can be passed down to xmlModuleOpen()
d xmlModuleOption...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_MODULE_LAZY... Lazy binding
d c 1
d XML_MODULE_LOCAL... Local binding
diff --git a/os400/libxmlrpg/xmlreader.rpgle b/os400/libxmlrpg/xmlreader.rpgle
index 5084fc8..37e19a7 100644
--- a/os400/libxmlrpg/xmlreader.rpgle
+++ b/os400/libxmlrpg/xmlreader.rpgle
@@ -24,7 +24,8 @@
* is used.
d xmlParserSeverities...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_PARSER_SEVERITY_VALIDITY_WARNING...
d c 1
d XML_PARSER_SEVERITY_VALIDITY_ERROR...
@@ -41,7 +42,8 @@
* Internal state values for the reader.
d xmlTextReaderMode...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_TEXTREADER_MODE_INITIAL...
d c 0
d XML_TEXTREADER_MODE_INTERACTIVE...
@@ -62,7 +64,8 @@
* xmlReaderForxxx APIs now.
d xmlParserProperties...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_PARSER_LOADDTD...
d c 1
d XML_PARSER_DEFAULTATTRS...
@@ -76,7 +79,8 @@
*
* Predefined constants for the different types of nodes.
- d xmlReaderTypes s 10i 0 based(######typedef######) enum
+ d xmlReaderTypes s based(######typedef######)
+ d like(xmlCenum)
d XML_READER_TYPE_NONE...
d c 0
d XML_READER_TYPE_ELEMENT...
diff --git a/os400/libxmlrpg/xmlregexp.rpgle b/os400/libxmlrpg/xmlregexp.rpgle
index 65c2d07..b87d178 100644
--- a/os400/libxmlrpg/xmlregexp.rpgle
+++ b/os400/libxmlrpg/xmlregexp.rpgle
@@ -13,6 +13,8 @@
/if defined(LIBXML_REGEXP_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
+
* xmlRegexpPtr:
*
* A libxml regular expression, they can actually be far more complex
@@ -137,7 +139,8 @@
d xmlExpNodePtr s * based(######typedef######)
- d xmlExpNodeType s 10i 0 based(######typedef######) enum
+ d xmlExpNodeType s based(######typedef######)
+ d like(xmlCenum)
d XML_EXP_EMPTY c 0
d XML_EXP_FORBID...
d c 1
diff --git a/os400/libxmlrpg/xmlsave.rpgle b/os400/libxmlrpg/xmlsave.rpgle
index 764dceb..d006f7d 100644
--- a/os400/libxmlrpg/xmlsave.rpgle
+++ b/os400/libxmlrpg/xmlsave.rpgle
@@ -9,19 +9,21 @@
/define XML_XMLSAVE_H__
/include "libxmlrpg/xmlversion"
+
+ /if defined(LIBXML_OUTPUT_ENABLED)
+
/include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/tree"
/include "libxmlrpg/encoding"
/include "libxmlrpg/xmlIO"
- /if defined(LIBXML_OUTPUT_ENABLED)
-
* xmlSaveOption:
*
* This is the set of XML save options that can be passed down
* to the xmlSaveToFd() and similar calls.
- d xmlSaveOption s 10i 0 based(######typedef######) enum
+ 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
diff --git a/os400/libxmlrpg/xmlschemas.rpgle b/os400/libxmlrpg/xmlschemas.rpgle
index 865dd26..fe29b4f 100644
--- a/os400/libxmlrpg/xmlschemas.rpgle
+++ b/os400/libxmlrpg/xmlschemas.rpgle
@@ -13,12 +13,14 @@
/if defined(LIBXML_SCHEMAS_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/tree"
* This error codes are obsolete; not used any more.
d xmlSchemaValidError...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_SCHEMAS_ERR_OK...
d c 0
d XML_SCHEMAS_ERR_NOROOT...
@@ -81,7 +83,8 @@
* This is the set of XML Schema validation options.
d xmlSchemaValidOption...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
*
* Default/fixed: create an attribute node
* or an element's text node on the instance.
diff --git a/os400/libxmlrpg/xmlschemastypes.rpgle b/os400/libxmlrpg/xmlschemastypes.rpgle
index 0bf0f70..caa9b40 100644
--- a/os400/libxmlrpg/xmlschemastypes.rpgle
+++ b/os400/libxmlrpg/xmlschemastypes.rpgle
@@ -10,15 +10,16 @@
/define XML_SCHEMA_TYPES_H__
/include "libxmlrpg/xmlversion"
- /include "libxmlrpg/xmlTypesC"
/if defined(LIBXML_SCHEMAS_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/schemasInternals"
/include "libxmlrpg/xmlschemas"
d xmlSchemaWhitespaceValueType...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XML_SCHEMA_WHITESPACE_UNKNOWN...
d c 0
d XML_SCHEMA_WHITESPACE_PRESERVE...
diff --git a/os400/libxmlrpg/xpath.rpgle b/os400/libxmlrpg/xpath.rpgle
index 1784fad..d76f9cc 100644
--- a/os400/libxmlrpg/xpath.rpgle
+++ b/os400/libxmlrpg/xpath.rpgle
@@ -18,10 +18,10 @@
/define XML_XPATH_H__
/include "libxmlrpg/xmlversion"
- /include "libxmlrpg/xmlTypesC"
/if defined(LIBXML_XPATH_ENABLED)
+ /include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/xmlerror"
/include "libxmlrpg/tree"
/include "libxmlrpg/hash"
@@ -37,7 +37,8 @@
* The set of XPath error codes.
- d xmlXPathError s 10i 0 based(######typedef######) enum
+ d xmlXPathError s based(######typedef######)
+ d like(xmlCenum)
d XPATH_EXPRESSION_OK...
d c 0
d XPATH_NUMBER_ERROR...
@@ -109,7 +110,8 @@
* @@ XPointer will add more types !
d xmlXPathObjectType...
- d s 10i 0 based(######typedef######) enum
+ d s based(######typedef######)
+ d like(xmlCenum)
d XPATH_UNDEFINED...
d c 0
d XPATH_NODESET c 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]