diff options
Diffstat (limited to 'textproc/xmltooling/patches/patch-xmltooling_util_XMLHelper.h')
-rw-r--r-- | textproc/xmltooling/patches/patch-xmltooling_util_XMLHelper.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/textproc/xmltooling/patches/patch-xmltooling_util_XMLHelper.h b/textproc/xmltooling/patches/patch-xmltooling_util_XMLHelper.h new file mode 100644 index 00000000000..19cfdf2868b --- /dev/null +++ b/textproc/xmltooling/patches/patch-xmltooling_util_XMLHelper.h @@ -0,0 +1,38 @@ +$NetBSD: patch-xmltooling_util_XMLHelper.h,v 1.1 2012/11/18 01:53:07 joerg Exp $ + +--- xmltooling/util/XMLHelper.h.orig 2012-11-18 00:23:44.000000000 +0000 ++++ xmltooling/util/XMLHelper.h +@@ -352,16 +352,6 @@ namespace xmltooling { + }; + + /** +- * Serializes the DOM node provided to a stream using UTF-8 encoding and +- * the default XML serializer available. No manipulation or formatting is applied. +- * +- * @param n node to serialize +- * @param ostr stream to serialize element into +- * @return reference to output stream +- */ +- extern XMLTOOL_API std::ostream& operator<<(std::ostream& ostr, const xercesc::DOMNode& n); +- +- /** + * Marshalls and serializes the XMLObject provided to a stream using UTF-8 encoding and + * the default XML serializer available. No manipulation or formatting is applied. + * +@@ -374,4 +364,16 @@ namespace xmltooling { + extern XMLTOOL_API std::ostream& operator<<(std::ostream& ostr, const XMLObject& obj); + }; + ++namespace xercesc_3_1 { ++ /** ++ * Serializes the DOM node provided to a stream using UTF-8 encoding and ++ * the default XML serializer available. No manipulation or formatting is applied. ++ * ++ * @param n node to serialize ++ * @param ostr stream to serialize element into ++ * @return reference to output stream ++ */ ++ extern XMLTOOL_API std::ostream& operator<<(std::ostream& ostr, const xercesc::DOMNode& n); ++}; ++ + #endif /* __xmltooling_xmlhelper_h__ */ |