mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
fix typename problem
This commit is contained in:
parent
90739325f9
commit
48124bd5ab
3 changed files with 10 additions and 8 deletions
|
@ -36,7 +36,7 @@ class basic_Writer : public basic_XMLFilterImpl<string_type>
|
||||||
virtual void endDocument();
|
virtual void endDocument();
|
||||||
|
|
||||||
virtual void startElement(const stringT& namespaceURI, const stringT& localName,
|
virtual void startElement(const stringT& namespaceURI, const stringT& localName,
|
||||||
const stringT& qName, const AttributesT& atts);
|
const stringT& qName, const typename XMLFilterT::AttributesT& atts);
|
||||||
virtual void endElement(const stringT& namespaceURI, const stringT& localName,
|
virtual void endElement(const stringT& namespaceURI, const stringT& localName,
|
||||||
const stringT& qName);
|
const stringT& qName);
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ void basic_Writer<string_type>::endDocument()
|
||||||
template<class string_type>
|
template<class string_type>
|
||||||
void basic_Writer<string_type>::startElement(
|
void basic_Writer<string_type>::startElement(
|
||||||
const stringT& namespaceURI, const stringT& localName,
|
const stringT& namespaceURI, const stringT& localName,
|
||||||
const stringT& qName, const AttributesT& atts)
|
const stringT& qName, const typename XMLFilterT::AttributesT& atts)
|
||||||
{
|
{
|
||||||
doIndent();
|
doIndent();
|
||||||
*stream_ << UnicodeT::LESS_THAN_SIGN << qName;
|
*stream_ << UnicodeT::LESS_THAN_SIGN << qName;
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
#pragma warning(disable: 4786)
|
#pragma warning(disable: 4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <SAX/helpers/InputSourceResolver.h>
|
#include <SAX/helpers/InputSourceResolver.h>
|
||||||
#include <istream>
|
#include <istream>
|
||||||
|
|
|
@ -200,7 +200,7 @@ public:
|
||||||
parent_->parse(input);
|
parent_->parse(input);
|
||||||
} // parse
|
} // parse
|
||||||
|
|
||||||
virtual std::auto_ptr<PropertyBase> doGetProperty(const stringT& name)
|
virtual std::auto_ptr<typename XMLReaderT::PropertyBase> doGetProperty(const stringT& name)
|
||||||
{
|
{
|
||||||
if(parent_)
|
if(parent_)
|
||||||
return parent_->doGetProperty(name);
|
return parent_->doGetProperty(name);
|
||||||
|
@ -208,7 +208,7 @@ public:
|
||||||
throw new SAXNotRecognizedException("Property: " + name);
|
throw new SAXNotRecognizedException("Property: " + name);
|
||||||
} // doGetProperty
|
} // doGetProperty
|
||||||
|
|
||||||
virtual void doSetProperty(const stringT& name, std::auto_ptr<PropertyBase> value)
|
virtual void doSetProperty(const stringT& name, typename std::auto_ptr<typename XMLReaderT::PropertyBase> value)
|
||||||
{
|
{
|
||||||
if(parent_)
|
if(parent_)
|
||||||
{
|
{
|
||||||
|
@ -347,7 +347,7 @@ public:
|
||||||
* @see basic_ContentHandler#startElement
|
* @see basic_ContentHandler#startElement
|
||||||
*/
|
*/
|
||||||
virtual void startElement(const stringT& namespaceURI, const stringT& localName,
|
virtual void startElement(const stringT& namespaceURI, const stringT& localName,
|
||||||
const stringT& qName, const AttributesT& atts)
|
const stringT& qName, const typename ContentHandlerT::AttributesT& atts)
|
||||||
{
|
{
|
||||||
if(contentHandler_)
|
if(contentHandler_)
|
||||||
contentHandler_->startElement(namespaceURI, localName, qName, atts);
|
contentHandler_->startElement(namespaceURI, localName, qName, atts);
|
||||||
|
@ -426,7 +426,7 @@ public:
|
||||||
* @param exception The warning as an exception.
|
* @param exception The warning as an exception.
|
||||||
* @see basic_ErrorHandler#warning
|
* @see basic_ErrorHandler#warning
|
||||||
*/
|
*/
|
||||||
virtual void warning(const SAXException& exception)
|
virtual void warning(const SAXParseException& exception)
|
||||||
{
|
{
|
||||||
if(errorHandler_)
|
if(errorHandler_)
|
||||||
errorHandler_->warning(exception);
|
errorHandler_->warning(exception);
|
||||||
|
@ -438,7 +438,7 @@ public:
|
||||||
* @param exception The error as an exception.
|
* @param exception The error as an exception.
|
||||||
* @see basic_ErrorHandler#error
|
* @see basic_ErrorHandler#error
|
||||||
*/
|
*/
|
||||||
virtual void error(const SAXException& exception)
|
virtual void error(const SAXParseException& exception)
|
||||||
{
|
{
|
||||||
if(errorHandler_)
|
if(errorHandler_)
|
||||||
errorHandler_->error(exception);
|
errorHandler_->error(exception);
|
||||||
|
@ -450,7 +450,7 @@ public:
|
||||||
* @param exception The error as an exception.
|
* @param exception The error as an exception.
|
||||||
* @see basic_ErrorHandler#fatalError
|
* @see basic_ErrorHandler#fatalError
|
||||||
*/
|
*/
|
||||||
virtual void fatalError(const SAXException& exception)
|
virtual void fatalError(const SAXParseException& exception)
|
||||||
{
|
{
|
||||||
if(errorHandler_)
|
if(errorHandler_)
|
||||||
errorHandler_->fatalError(exception);
|
errorHandler_->fatalError(exception);
|
||||||
|
|
Loading…
Add table
Reference in a new issue