mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-18 22:26:32 +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++"
|
||||
Version="7.10"
|
||||
Name="ArabicaLib"
|
||||
RootNamespace="ArabicaLib"
|
||||
SccProjectName=""
|
||||
SccLocalPath="">
|
||||
<Platforms>
|
||||
|
|
|
@ -170,6 +170,12 @@ static xmlSAXHandler saxHandler = {
|
|||
0, // getParameterEntitySAXFunc getParameterEntity;
|
||||
lwit_characters, // cdataBlockSAXFunc cdataBlock;
|
||||
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; }
|
||||
|
|
|
@ -222,7 +222,12 @@ libxml2_wrapper<stringT, string_adaptorT>::libxml2_wrapper() :
|
|||
namespaces_(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
|
||||
|
||||
template<class stringT, class string_adaptorT>
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
<pm:line>Violets are blue.</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>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:poem>
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="wsock32.lib"
|
||||
OutputFile="$(OutDir)/DOMWriter.exe"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="TRUE"
|
||||
|
@ -139,9 +138,6 @@
|
|||
<Filter
|
||||
Name="Libs"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\..\lib\Arabica.lib">
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
|
|
Loading…
Reference in a new issue