- * this makro is for XML::LibXML development and debugging.
+ * this makro is for XML::LibXML development and debugging.
* this makro takes only a single string(!) and passes it to perls
* warn function if the XS_WARNRINGS pragma is used at compile time
* otherwise any xs_warn call is ignored.
* pay attention, that xs_warn does not implement a complete wrapper
-#define xs_warn(string) warn("%s",string)
+#define xs_warn(string) warn("%s",string)
pointer and node->psvi. If these are equal, the validation of the
node's subtree is skipped and the node is assumed to match the
This causes problems when the tree is modified and then
re-validated or when the schema is freed and the document is
revalidated using a different schema and by bad chance a rule
PmmFixProxyEncoding( ProxyNodePtr dfProxy );
* @perlnode: the perl reference that holds the scalar.
- * The function recognizes XML::LibXML and XML::GDOME
+ * The function recognizes XML::LibXML and XML::GDOME
* nodes as valid input data. The second parameter 'copy'
* indicates if in case of GDOME nodes the libxml2 node
- * should be copied. In some cases, where the node is
+ * should be copied. In some cases, where the node is
* cloned anyways, this flag has to be set to '0', while
- * the default value should be allways '1'.
+ * the default value should be allways '1'.
PmmSvNodeExt( SV * perlnode, int copy );
* This function implements a nodetype independent node cloning.
* Note that this function has to stay in this module, since
* XML::LibXSLT reuses it.
* the function will only work, if XML::LibXML is compiled with
PmmNodeToGdomeSv( xmlNodePtr node );
* returns the perl class name for the given node
* SV *my_sv = c_string_to_sv( "my string", encoding );
* this function converts a libxml2 string to a SV*. although the
* string is copied, the func does not free the c-string for you!
* SV *my_sv = sv_to_c_string( my_sv, encoding );
* this function converts a SV* to a libxml string. the SV-value will
* be copied into a *newly* allocated string. (don't forget to free it!)