Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  xmltesttools.cxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */* part.
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
  one :/org//0/.
 */


#include <test/xmltesttools.hxx>

#include <memory>

#include <vcl/mtfxmldump.hxx>    return&);
 *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
include<est/.hxx>

java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

OUString pCharBuffer =<>pBufferget);
    OUString s;
        SAL_INFO("test", :#</cppunitasserthelper.hxx>
        "xmlChar     return java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
    CPPUNIT_ASSERT_MESSAGE
&spData,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 1
            ,
                .        rtl_conv(
| RTL_TEXTTOUNICODE_FLAGS_MBUNDEFINED_ERRORs., reinterpret_cast<char const java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
| )));
    return s;
}

OString oconvert(xmlChar const     ();
{
    return reinterpret_cast<char const *>(string);
}

}

XmlTestTools::XmlTestTools()
{}

java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
{}

xmlDocUniquePtr XmlTestTools::parseXml(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

    SvFileStream aFileStream(aTempFile.GetURL(CPPUNIT_ASSERT_MESSAGEdocAndXPath(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
&aFileStream)
}

xmlDocUniquePtr XmlTestTools:                                                                  
{
    OStringsAttAbsent  + 'no attribute '+  "exist";java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
   ::nique_ptr ileStream);
    pStream->ReadBytes    ();
    pBuffer    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
CharBuffer =reinterpret_cast<mlChar>pBuffer()
    ("test,"XmlTestTools
        std::unique_ptrsjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0


xmlDocUniquePtr java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
    SvMemoryStream aStream;
    rDumper.dump    SAL_INFO(test,"XmlTestTools:parseXmlStream:    {
    aStream.Seek(return xmlDocUniquePtr(xmlParseDoc));        caseXPATH_UNDEFINEDjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    return java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
}

xmlXPathObjectPtr XmlTestTools::getXPathNode(const
{
    xmlXPathContextPtr pXmlXpathCtx = xmlXPathNewContext(pXmlDoc    return XmlTestTools::(&Stream
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
     =xmlXPathEvalExpressionB(pXPath) pXmlXpathCtx;
    (pXmlXpathCtx);
    return  xmlNodePtr  = pXmlNodes>odeTab[];
}

void XmlTestTools::registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx xmlXPathFreeObject()
{
    // ooxml
XmlTestTools:(pXmlXpathCtx);
    // odf
            casejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    // reqif-xhtml
    xmlXPathRegisterNs// ooxml
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1

OUString    ::egisterODFNamespacesjava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 54
{
    java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
    xmlXPathObjectPtrOUString XmlTestToolscjava.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 107
    CPPUNIT_ASSERTpXmlDoc;
        casejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
-nodesetval
CPPUNIT_ASSERT_MESSAGE    java.lang.StringIndexOutOfBoundsException: Range [42, 34) out of bounds for length 44
    return;
                   java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 73
    CPPUNIT_ASSERT1,case:
    CPPUNIT_ASSERT(caseXPATH_LOCATIONSET
    case java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
 )java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 83
    CPPUNIT_ASSERT_MESSAGE(    OString sAttAbsent = docAndXPath
OUString(    CPPUNIT_ASSERT_MESSAGEs.),;
    OUStrings(convert(rop)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    xmlXPathFreeObject(pXmlObj);
    return s;
}

returns;
{
    xmlXPathObjectPtr = getXPathNode(java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 1
    switch (pXmlObj
    {
        case XPATH_UNDEFINED:
CPPUNIT_FAIL"XPath type";
        case XPATH_NODESET:
        {
             switch (XmlObj>)

                {
ng::Concat(In<)  pXmlDoc-name +" XPath '"+pXPath 
                    getStr),
                            CPPUNIT_FAIL("Undefinedconststd:ectorstd:air< *,std::u16string_viewaPairVectorjava.lang.StringIndexOutOfBoundsException: Index 112 out of bounds for length 112

            java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
 convert((pXmlNode)
            CPPUNIT_ASSERT_MESSAGE(
            return
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 27
      
auto p-java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
                xmlXPathFreeObject(pXmlObj);
                return(mlObjjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
            
        case XPATH_NUMBER:
            }
auto = >java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 0
                    OUString aValue = getXPath(pXm,pAttribute;
                return #if LIBXML_VERSION >= 20703
    }
         XPATH_STRINGexpectedValuepathValue );
            {
                auto convertedVal = convert(pXmlObj                 }
                xmlXPathFreeObject(pXmlObj);OStringo(" pXmlDoc>  , " " java.lang.StringIndexOutOfBoundsException: Range [119, 116) out of bounds for length 150
                return convertedVal;
            }
#if LIBXML_VERSION < 21000     OString:(In,XPath '" + pXPath +'java.lang.StringIndexOutOfBoundsException: Range [117, 116) out of bounds for length 156
        case XPATH_POINT:
case XPATH_RANGEjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
        XPATH_LOCATIONSET
#endif
        case XPATH_USERS
        XPATH_XSLT_TREE
xmlXPathFreeObject(            ->nodesetval
            CPPUNIT_FAIL
    }

    CPPUNIT_FAIL("InvalidCPPUNIT_ASSERT_EQUAL_MESSAGEOString(String:java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 1
}

void XmlTestTools:xmlNodePtr  -nodeTab0java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
{
    java.lang.StringIndexOutOfBoundsException: Range [30, 22) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 166
rExpectedValue:u16string_view())java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
}

pXmlNodes =pXmlObj->    xmlNodeSetPtr pXmlNodes = pXmlObj->nodesetval
{
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 106
le=aValuetoDoublejava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    (::string" <)    OString(" "  >  >  "++"'number is ")(java.lang.StringIndexOutOfBoundsException: Index 150 out of bounds for length 150
                                         expectedValue, pathValue, deltaxmlXPathNodeSetGetLength(java.lang.StringIndexOutOfBoundsException: Range [69, 67) out of bounds for length 70
}

voidforbool  false;
onststd::vector<
{
    for (auto& rPair : aPairVector)
    {
        assertXPath(pXmlDoc,          ((pChild>name =pChildNamejava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
}
}

int XmlTestTools::countXPathNodes(const java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 9
{
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
    xmlNodeSetPtr =pXmlObjnodesetvalCPPUNIT_ASSERT_MESSAGE(:Concat<) +pXmlDoc>ame+"> '"  pXPath                                    "   +"found)
    const int n = xmlXPathNodeSetGetLength(pXmlNodes);
    java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
    returnn;
}

void java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
{
breakjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
                                 (XmlObjjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}

 XmlTestTools:assertXPathContentxmlDocUniquePtr&pXmlDoc  char*pXPath, std:u16string_view)
{
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

void XmlTestTools::java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 1
                                     rNSPrefix,std:string_view)
{
   pXmlObj (java.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 62
                                  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 48
    CPPUNIT_ASSERT_MESSAGE
        OStringCPPUNIT_ASSERT_EQUAL_MESSAGE(::"  )++"java.lang.StringIndexOutOfBoundsException: Range [93, 92) out of bounds for length 122
    xmlXPathFreeObject(pXmlObj);

    (void)pXmlDoc
        void;)
    for (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    {
        if (!pNamespace
;

        xmlXPathRegisterNs,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 1
        if (rNSPrefix ==    pXmlXpathCtx!(pXmlDoc,,pAttribute);
        {
                         
            ;
        }
    }
    xmlXPathFreeObject(                                constchar )
    (bFound);
}

java.lang.StringIndexOutOfBoundsException: Index 115 out of bounds for length 115
{
ifLIBXML_VERSION=20703/
    pXmlObj =getXPathNode( )java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    xmlNodeSetPtr pXmlNodes                       ":n:opendocument:xmlns:drawing:1.0"));
        xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("eta                                 
CPPUNIT_ASSERT_EQUAL_MESSAGE:oncat" )pXmlDoc> +>  "+pXPath  java.lang.StringIndexOutOfBoundsException: Range [128, 125) out of bounds for length 150
                                 1,     xmlXPathRegisterNs(pXmlXpathCtx, BAD_CASTdom",
     pXmlNodejava.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 48
    xmlXPathFreeObject(pXmlObj
                                 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    xmlXPathFreeObjectpXmlObj)
#else
    (void)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    (void)rXPath;
   ;
#endif
}

 :assertXPathNoAttributeconstxmlDocUniquePtr& ,  java.lang.StringIndexOutOfBoundsException: Range [92, 84) out of bounds for length 117
{
CPPUNIT_ASSERT_MESSAGE(OString(OString::Concat("In <") + pXmlDoc->name + ">, XPath '" + pXPath + "'java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
!hasXPathAttributepXmlDoc, pXPath pAttribute);
}

    xmlXPathRegisterNspXmlXpathCtx, BAD_CAST("chart"),
                                     const char* pAttribute)
{
xmlXPathObjectPtr=getXPathNode( ;
                BAD_CAST"http:/www.w3.org/2001/XMLSchema-instance"));
(pXmlNodes)
    CPPUNIT_ASSERT_EQUAL_MESSAGE(BAD_CAST"",
                                 1, BAD_CAST"")
 java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 48
    bool bFound(xmlGetProp)java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
    pXmlObj)xmlXPathRegisterNs xhtml) (/3999)java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
    return bFound;


intXmlTestTools:( const*  char pChildNamejava.lang.StringIndexOutOfBoundsException: Index 110 out of bounds for length 110
{
xmlXPathObjectPtr  getXPathNode(XmlDoc, pXPath)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    xmlNodeSetPtr pXmlNodes = pXmlObj->nodesetval;
    CPPUNIT_ASSERT(pXmlNodes);
    CPPUNIT_ASSERT_EQUAL_MESSAGE(OString BAD_CAST(http/java.lang.StringIndexOutOfBoundsException: Range [55, 50) out of bounds for length 68
                                 
                                 xmlXPathNodeSetGetLength(pXmlNodes));
    xmlNodePtr pXmlNode = pXmlNodes->nodeTab[0];
    int nRet = 0;
    bool bFound = false;
    for                        ":/.om "http/w3.-/);
    {
if(xmlXPathRegisterNsjava.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 52
        {
            bFound = true;
            break;
        }
       +nRet;
    }
    xmlXPathFreeObject(pXmlObj);
    CPPUNIT_ASSERT_MESSAGE(OString(OString::Concat("In <") + 
+ "'child "+ pChildName+ " found"
                               .getStrjava.lang.StringIndexOutOfBoundsException: Range [17, 7) out of bounds for length 89
bFoundjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    return nRet;
}

void XmlTestTools::BAD_CAST(:schemas.org//2006picture);
                                       : )
{
    xmlXPathObjectPtr pXmlObj  BAD_CAST"://schemas.openxmlformats.org/drawingml/2006/lockedCanvas"));xmlXPathRegisterNsjava.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 51
    (pXmlObj;
    xmlNodeSetPtr pXmlNodes (java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    CPPUNIT_ASSERT(pXmlNodes)java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 37
            pXmlXpathCtx, BAD_CASTpropertiesjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
                                 1,
                                 (schemas.openxmlformats.org/officeDocument/2006/custom-properties"));java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 93
    xmlNodePtr pXmlNode = pXmlNodes->nodeTab[0]xmlXPathRegisterNspXmlXpathCtx ()BAD_CAST//purl.org/dc/terms/"));pXmlXpathCtx,BAD_CASTdcterms,BAD_CAST(:java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
OStringInBAD_CASTurn--:excel)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
                                 BAD_CAST("urn:schemasjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 75
    xmlXPathFreeObject(pXmlObj);
}

void XmlTestTools::registerODFNamespaces(/
{
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("manifest"),BAD_CAST(http:/.com/2006/"java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
BAD_CAST:oasist::                       (h//schemas.microsoft.com/office/spreadsheetml/2017/revision16"));
    xmlXPathRegisterNs(pXmlXpathCtxjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:office:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("style"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:style:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("text"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:text:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("table"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:table:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("draw"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("fo"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("config"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:config:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xlink"), BAD_CAST("http://www.w3.org/1999/xlink"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("dc"), BAD_CAST("http://purl.org/dc/elements/1.1/"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("meta"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:meta:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("number"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("svg"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("chart"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:chart:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("dr3d"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("math"),
                       BAD_CAST("http://www.w3.org/1998/Math/MathML"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("form"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:form:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("script"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:script:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("ooo"),
                       BAD_CAST("http://openoffice.org/2004/office"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("ooow"),
                       BAD_CAST("http://openoffice.org/2004/writer"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("oooc"), BAD_CAST("http://openoffice.org/2004/calc"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("dom"),
                       BAD_CAST("http://www.w3.org/2001/xml-events"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xforms"), BAD_CAST("http://www.w3.org/2002/xforms"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xsd"), BAD_CAST("http://www.w3.org/2001/XMLSchema"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xsi"),
                       BAD_CAST("http://www.w3.org/2001/XMLSchema-instance"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("rpt"),
                       BAD_CAST("http://openoffice.org/2005/report"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("of"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:of:1.2"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xhtml"), BAD_CAST("http://www.w3.org/1999/xhtml"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("grddl"),
                       BAD_CAST("http://www.w3.org/2003/g/data-view#"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("officeooo"),
                       BAD_CAST("http://openoffice.org/2009/office"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("tableooo"),
                       BAD_CAST("http://openoffice.org/2009/table"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("drawooo"),
                       BAD_CAST("http://openoffice.org/2010/draw"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("calcext"),
        BAD_CAST("urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("loext"),
        BAD_CAST("urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("field"),
        BAD_CAST("urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("formx"),
        BAD_CAST("urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("css3t"),
                       BAD_CAST("http://www.w3.org/TR/css3-text/"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("anim"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:animation:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("smil"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("presentation"),
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"));
    // user-defined
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("foo"),
                       BAD_CAST("http://example.com/"));
}

void XmlTestTools::registerOOXMLNamespaces(xmlXPathContextPtr& pXmlXpathCtx)
{
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("w"),
                       BAD_CAST("http://schemas.openxmlformats.org/wordprocessingml/2006/main"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("v"), BAD_CAST("urn:schemas-microsoft-com:vml"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("mc"),
                       BAD_CAST("http://schemas.openxmlformats.org/markup-compatibility/2006"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("wps"),
        BAD_CAST("http://schemas.microsoft.com/office/word/2010/wordprocessingShape"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("wpg"),
        BAD_CAST("http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("wp"),
        BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("wp14"),
        BAD_CAST("http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("a"),
                       BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/main"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("pic"),
                       BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/picture"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("rels"),
                       BAD_CAST("http://schemas.openxmlformats.org/package/2006/relationships"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("w14"),
                       BAD_CAST("http://schemas.microsoft.com/office/word/2010/wordml"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("w15"),
                       BAD_CAST("http://schemas.microsoft.com/office/word/2012/wordml"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("m"),
                       BAD_CAST("http://schemas.openxmlformats.org/officeDocument/2006/math"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("ContentType"),
                       BAD_CAST("http://schemas.openxmlformats.org/package/2006/content-types"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("lc"),
                       BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("cp"),
        BAD_CAST("http://schemas.openxmlformats.org/package/2006/metadata/core-properties"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("extended-properties"),
        BAD_CAST("http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("custom-properties"),
        BAD_CAST("http://schemas.openxmlformats.org/officeDocument/2006/custom-properties"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("vt"),
        BAD_CAST("http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("dcterms"), BAD_CAST("http://purl.org/dc/terms/"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("a14"),
                       BAD_CAST("http://schemas.microsoft.com/office/drawing/2010/main"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("c"),
                       BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/chart"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("cx"),
                       BAD_CAST("http://schemas.microsoft.com/office/drawing/2014/chartex"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("x"),
                       BAD_CAST("http://schemas.openxmlformats.org/spreadsheetml/2006/main"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("r"),
                       BAD_CAST("http://schemas.openxmlformats.org/officeDocument/2006/relationships"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xx"),
                       BAD_CAST("urn:schemas-microsoft-com:office:excel"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xdr"),
                       BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("x14"),
                       BAD_CAST("http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xm"),
                       BAD_CAST("http://schemas.microsoft.com/office/excel/2006/main"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("x12ac"),
                       BAD_CAST("http://schemas.microsoft.com/office/spreadsheetml/2011/1/ac"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("o"),
                       BAD_CAST("urn:schemas-microsoft-com:office:office"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("w10"),
                       BAD_CAST("urn:schemas-microsoft-com:office:word"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("p"),
                       BAD_CAST("http://schemas.openxmlformats.org/presentationml/2006/main"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("p14"),
                       BAD_CAST("http://schemas.microsoft.com/office/powerpoint/2010/main"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("dgm"),
                       BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/diagram"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("c15"),
                       BAD_CAST("http://schemas.microsoft.com/office/drawing/2012/chart"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xr2"),
                       BAD_CAST("http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xr16"),
                       BAD_CAST("http://schemas.microsoft.com/office/spreadsheetml/2017/revision16"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("asvg"),
                       BAD_CAST("http://schemas.microsoft.com/office/drawing/2016/SVG/main"));
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


Messung V0.5 in Prozent
C=95 H=92 G=93

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.19Angebot  ¤

*Eine klare Vorstellung vom Zielzustand






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723