mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
s/xmlns_uri/xml_uri/
add xmlns_uri this is the start of work to support Namespaces 1.1 (which I may not actually finish)
This commit is contained in:
parent
a895d6617f
commit
da1c63ea28
1 changed files with 4 additions and 2 deletions
|
@ -21,13 +21,15 @@ struct NamespaceConstants
|
|||
|
||||
const stringT xml;
|
||||
const stringT xmlns;
|
||||
const stringT xml_uri;
|
||||
const stringT xmlns_uri;
|
||||
const stringT colon;
|
||||
|
||||
NamespaceConstants() :
|
||||
xml(string_adaptorT().makeStringT("xml")),
|
||||
xmlns(string_adaptorT().makeStringT("xmlns")),
|
||||
xmlns_uri(string_adaptorT().makeStringT("http://www.w3.org/XML/1998/namespace")),
|
||||
xml_uri(string_adaptorT().makeStringT("http://www.w3.org/XML/1998/namespace")),
|
||||
xmlns_uri(string_adaptorT().makeStringT("http://www.w3.org/2000/xmlns/"))
|
||||
colon(string_adaptorT().makeStringT(":"))
|
||||
{
|
||||
} // NamespaceConstants
|
||||
|
@ -107,7 +109,7 @@ class basic_NamespaceSupport
|
|||
{
|
||||
contexts_.clear();
|
||||
contexts_.push_back(Context());
|
||||
contexts_.back().insert(std::make_pair(nsc_.xml, nsc_.xmlns_uri));
|
||||
contexts_.back().insert(std::make_pair(nsc_.xml, nsc_.xml_uri));
|
||||
} // reset
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue