mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
*** empty log message ***
This commit is contained in:
parent
615a83cc37
commit
29778b3345
5 changed files with 14 additions and 6 deletions
|
@ -3,6 +3,7 @@
|
||||||
ProjectType="Visual C++"
|
ProjectType="Visual C++"
|
||||||
Version="7.10"
|
Version="7.10"
|
||||||
Name="ArabicaLib"
|
Name="ArabicaLib"
|
||||||
|
RootNamespace="ArabicaLib"
|
||||||
SccProjectName=""
|
SccProjectName=""
|
||||||
SccLocalPath="">
|
SccLocalPath="">
|
||||||
<Platforms>
|
<Platforms>
|
||||||
|
|
|
@ -170,6 +170,12 @@ static xmlSAXHandler saxHandler = {
|
||||||
0, // getParameterEntitySAXFunc getParameterEntity;
|
0, // getParameterEntitySAXFunc getParameterEntity;
|
||||||
lwit_characters, // cdataBlockSAXFunc cdataBlock;
|
lwit_characters, // cdataBlockSAXFunc cdataBlock;
|
||||||
0, // externalSubsetSAXFunc externalSubset;
|
0, // externalSubsetSAXFunc externalSubset;
|
||||||
|
0, // initialized;
|
||||||
|
/* The following fields are extensions available only on version 2 */
|
||||||
|
0, // _private
|
||||||
|
0, // startElementNs
|
||||||
|
0, // endElementNs;
|
||||||
|
0 // serror;
|
||||||
};
|
};
|
||||||
|
|
||||||
xmlSAXHandler* lwit_SaxHandler() { return &saxHandler; }
|
xmlSAXHandler* lwit_SaxHandler() { return &saxHandler; }
|
||||||
|
|
|
@ -222,7 +222,12 @@ libxml2_wrapper<stringT, string_adaptorT>::libxml2_wrapper() :
|
||||||
namespaces_(true),
|
namespaces_(true),
|
||||||
prefixes_(true)
|
prefixes_(true)
|
||||||
{
|
{
|
||||||
context_ = xmlCreatePushParserCtxt(libxml2_wrapper_impl_tiddle::lwit_SaxHandler(), reinterpret_cast<void*>(static_cast<libxml2_wrapper_impl_tiddle::libxml2_base*>(this)), 0, 0, 0);
|
context_ = xmlCreatePushParserCtxt(libxml2_wrapper_impl_tiddle::lwit_SaxHandler(),
|
||||||
|
reinterpret_cast<void*>(static_cast<libxml2_wrapper_impl_tiddle::libxml2_base*>(this)),
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0);
|
||||||
|
xmlCtxtUseOptions(context_, XML_PARSE_DTDLOAD + XML_PARSE_DTDVALID + XML_PARSE_NOBLANKS);
|
||||||
} // libxml2_wrapper
|
} // libxml2_wrapper
|
||||||
|
|
||||||
template<class stringT, class string_adaptorT>
|
template<class stringT, class string_adaptorT>
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
<pm:line>Violets are blue.</pm:line>
|
<pm:line>Violets are blue.</pm:line>
|
||||||
<pm:line>Sugar is sweet,</pm:line>
|
<pm:line>Sugar is sweet,</pm:line>
|
||||||
<pm:line>and I love you with a pm:line much longer than 15 characters long.</pm:line>
|
<pm:line>and I love you with a pm:line much longer than 15 characters long.</pm:line>
|
||||||
<pm:line>I am a line with an undefined &entity; entity.</pm:line>
|
<pm:line>I am a line with an undefined :w entity.</pm:line>
|
||||||
<pm:line><![CDATA[ And I am CDATA ]]></pm:line>
|
<pm:line><![CDATA[ And I am CDATA ]]></pm:line>
|
||||||
</pm:poem>
|
</pm:poem>
|
||||||
|
|
|
@ -35,7 +35,6 @@
|
||||||
Name="VCCustomBuildTool"/>
|
Name="VCCustomBuildTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="wsock32.lib"
|
|
||||||
OutputFile="$(OutDir)/DOMWriter.exe"
|
OutputFile="$(OutDir)/DOMWriter.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
|
@ -139,9 +138,6 @@
|
||||||
<Filter
|
<Filter
|
||||||
Name="Libs"
|
Name="Libs"
|
||||||
Filter="">
|
Filter="">
|
||||||
<File
|
|
||||||
RelativePath="..\..\lib\Arabica.lib">
|
|
||||||
</File>
|
|
||||||
</Filter>
|
</Filter>
|
||||||
</Files>
|
</Files>
|
||||||
<Globals>
|
<Globals>
|
||||||
|
|
Loading…
Add table
Reference in a new issue