diff --git a/include/XSLT/impl/handler/xslt_create_handler.hpp b/include/XSLT/impl/handler/xslt_create_handler.hpp index a31f7c79..fea206cf 100644 --- a/include/XSLT/impl/handler/xslt_create_handler.hpp +++ b/include/XSLT/impl/handler/xslt_create_handler.hpp @@ -20,15 +20,16 @@ SAX::DefaultHandler* CreateHandler(CompilationContext +template +class NotImplementedYetHandler : public SAX::DefaultHandler { public: - NotImplementedYetHandler(CompilationContext >& /* context */) { } + NotImplementedYetHandler(CompilationContext& /* context */) { } - virtual void startElement(const std::string& /* namespaceURI */, - const std::string& /* localName */, - const std::string& qName, - const SAX::Attributes& /* atts */) + virtual void startElement(const string_type& /* namespaceURI */, + const string_type& /* localName */, + const string_type& qName, + const SAX::Attributes& /* atts */) { throw SAX::SAXException("Haven't implemented " + qName + " yet"); } // startElement diff --git a/include/XSLT/impl/handler/xslt_item_container_handler.hpp b/include/XSLT/impl/handler/xslt_item_container_handler.hpp index d90587d5..242a0b4a 100644 --- a/include/XSLT/impl/handler/xslt_item_container_handler.hpp +++ b/include/XSLT/impl/handler/xslt_item_container_handler.hpp @@ -147,11 +147,11 @@ const ChildElement* AllowedChildren() { "copy", CreateHandler }, { "copy-of", CreateHandler }, { "element", CreateHandler > > }, - { "fallback", CreateHandler}, + { "fallback", CreateHandler > >}, { "for-each", CreateHandler > > }, { "if", CreateHandler > > }, { "message", CreateHandler}, - { "number", CreateHandler}, + { "number", CreateHandler > >}, { "processing-instruction", CreateHandler }, { "text", CreateHandler > > }, { "value-of", CreateHandler > > }, diff --git a/include/XSLT/impl/xslt_stylesheet_compiler.hpp b/include/XSLT/impl/xslt_stylesheet_compiler.hpp index c53840f2..76646e39 100644 --- a/include/XSLT/impl/xslt_stylesheet_compiler.hpp +++ b/include/XSLT/impl/xslt_stylesheet_compiler.hpp @@ -196,16 +196,16 @@ private: template const ChildElement StylesheetHandler::allowedChildren[] = { - { "attribute-set", CreateHandler}, - { "decimal-format", CreateHandler}, + { "attribute-set", CreateHandler > >}, + { "decimal-format", CreateHandler > >}, //"import" //"include" { "key", CreateHandler}, { "namespace-alias", CreateHandler}, { "output", CreateHandler}, { "param", CreateHandler >}, - { "preserve-space", CreateHandler}, - { "strip-space", CreateHandler}, + { "preserve-space", CreateHandler > >}, + { "strip-space", CreateHandler > >}, { "template", CreateHandler }, { "variable", CreateHandler > }, { 0, 0 }