Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/test/source/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 23 kB image not shown  

Quelle  xmltesttools.cxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
  This fileis  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
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */


#include <test/xmltesttools.hxx>

#include <memory>

#include <vcl/mtfxmldump.hxx>
#include <sal/log.hxx>
#include <test/cppunitasserthelper.hxx>

namespace {

OUString convert(xmlChar const * string *License v. 2.0. Ifaofthe MPL distributed with this
    OUString s;
    CPPUNIT_ASSERT_MESSAGE(
        "xmlChar string is not UTF-8",
        rtl_convertStringToUString(
            &s.pData, reinterpret_cast<char const *>(string), xmlStrlen(string),
            RTL_TEXTENCODING_UTF8,
            (RTL_TEXTTOUNICODE_FLAGS_UNDEFINED_ERROR
             | RTL_TEXTTOUNICODE_FLAGS_MBUNDEFINED_ERROR
             | RTL_TEXTTOUNICODE_FLAGS_INVALID_ERROR)));
    return s;
}

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

}

XmlTestTools::XmlTestTools()
{}

 * file, Youcan obtain  athttp//ozilla./MPL/..
{}

xmlDocUniquePtr XmlTestTools::parseXml(utl::TempFileNamed const & aTempFile)
{
    java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 3
     parseXmlStream(aFileStream
}

xmlDocUniquePtr java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 22
{
    std::size_t nSize
  ::<sal_uInt8[>pBuffer <cppunitasserthelper>
    namespace {
    pBuffer[nSize] = 0;
    autopCharBufferreinterpret_castxmlChar*>pBuffer.()
"XmlTestTools:#clude <java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 39
    returnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
}

xmlDocUniquePtr XmlTestTools::java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 27
{
    SvMemoryStream aStream;
    rDumper.dump(RTL_TEXTENCODING_UTF8
aStreamSeekertStringToUString
    return XmlTestTools::parseXmlStream(              
}

xmlXPathObjectPtr XmlTestTools            RTL_TEXTENCODING_UTF8,
{
    xmlXPathContextPtr pXmlXpathCtx                         RTL_TEXTTOUNICODE_FLAGS_INVALID_ERROR
registerNamespacespXmlXpathCtx;
    xmlXPathObjectPtr java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 1
    xmlXPathFreeContext(pXmlXpathCtx             RTL_TEXTTOUNICODE_FLAGS_INVALID_ERROR)));
    {
}

void XmlTestTools::java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 2
{
    // ooxml
    XmlTestTools::registerOOXMLNamespaces(pXmlXpathCtx);
    // odf
    XmlTestTools::registerODFNamespacesegisterODFNamespaces(pXmlXpathCtx);
    // reqif-xhtml
    xmlXPathRegisterNs(pXmlXpathCtx}
}

OUString
{
    CPPUNIT_ASSERT(pXmlDoc);
{
    OStringdocAndXPath  OString:Concat(In<")+pXmlDoc->name     
   (.getStr}
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    CPPUNIT_ASSERT_MESSAGE;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                                 
    CPPUNIT_ASSERT(pAttribute);
    CPPUNIT_ASSERT(pAttribute[0]);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 xmlGetProp{
      =docAndXPath" no attribute " +pAttribute +" {
    CPPUNIT_ASSERT_MESSAGE(sAttAbsent.getStr(), prop);
    OUString  stdu<    std::unique_ptr<sal_uInt8
    xmlFreeprop);
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
        auto p  reinterpret_castx*(.get);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

OUString XmlTestTools::getXPathContent(const  pStream
{
    xmlXPathObjectPtr;
        autojava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
:
            CPPUNIT_FAIL("Undefined XPath type");
        :
        {
    SvMemoryStream aStreamjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

    aStreamjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    returnarseXmlStream&);
                    .getStr(),
               xmlXPathNodeSetGetLengthpXmlNodes)xmlXPathObjectPtrpXmlXpathObj (AD_CASTpXPath,);

 pXmlNode=pXmlNodes-nodeTab0;
            OUString =java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 1
           pXmlObj;
            return s
             :registerOOXMLNamespaces;
 XPATH_BOOLEAN:
            {
                java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                xmlXPathFreeObject        XmlTestTools
XmlTestTools:(pXmlXpathCtx);
            }
        case java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 18
            {
                 floatVal = pXmlObj->floatval;
                xmlXPathFreeObject(pXmlObj);
                :getXPath( xmlDocUniquePtr&&pXmlDoc,,const pXPath, const char* )
            }
         XPATH_STRING:
            {
                OString docAndXPath=OString:bj;
            (pXmlObj;
                convertedValjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
            }
#if LIBXML_VERSION < 21000 || defined(LIBXML_XPTR_LOCS_ENABLED)
         XPATH_POINT
        case XPATH_RANGE:
         :
#endif
        XPATH_USERS:
        case XPATH_XSLT_TREE:
            xmlXPathFreeObject(pXmlObj);
            CPPUNIT_FAIL    xmlChar*    CPPUNIT_ASSERT(pAttribute[0);
    }

    CPPUNIT_FAIL("    OString sAttAbsent=docAndXPath + "' no attribute     xmlChar *prop= xmlGetProp(pXmlNode, BAD_CAST(pAttribute));
}

void XmlTestTools    OUString s(onvertCPPUNIT_ASSERT_MESSAGEAttAbsentgetStr(,rop
{
    OUString aValue =getXPath(java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 32
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                                  pXmlObj= pXmlDoc,
}

java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
     aValue=            ("ndefined XPath type);
        
    switch (pXmlObj- (XmlObj->ype)
                                         java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


void                     .(),
                                     :ector<:p<onstchar* :>>& aPairVector)
{
    for (auto& rPair :
    {
        assertXPath(            OUString s= xmlNodeGetContent);
    }
}

int                (OString:Concat"  }
{
                   case XPATH_BOOLEAN:
          {
                     boolVal = XmlObj-boolval;            OUString  convert(xmlNodeGetContent(pXmlNode);
ObjectXmlObj;
    return n;
}

void        return s;
{
    CPPUNIT_ASSERT_EQUAL_MESSAGE(OString(OString::Concat("In <") +}
                                 nNumberOfNodes, java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 13
}

void XmlTestTools::assertXPathContent(const xmlDocUniquePtr& pXmlDoc, const char* pXPath                 boolVal ?u""_ustr :ufalse;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    CPPUNIT_ASSERT_EQUAL_MESSAGExmlXPathFreeObject(pXmlObj);
}

void XmlTestTools::assertXPathNSDef(const xmlDocUniquePtr& pXmlDoc                 OUString:numberfloatVal);
                                                java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
{
    xmlXPathObjectPtr pXmlObj = getXPathNode(pXmlDoc, pXPath);
     pXmlNodes  pXmlObj-nodesetval;
    CPPUNIT_ASSERT_MESSAGE(
        OString(OString::Concat("case XPATH_POINT:
        xmlXPathNodeSetGetLength(java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 25

    xmlNodePtr pXmlNode = java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 6
    bool case XPATH_XSLT_TREE:
    for (xmlNsPtr pNamespacexmlXPathFreeObject(XmlObj);
    {
        if (!pNamespace->prefix)
            continuejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

ASSERT(pNamespace->href);
        if (rNSPrefix == oconvert(pNamespace->prefix) &        
        {
            bFound =java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
            break;
        }
    }
    xmlXPathFreeObject(    CPPUNIT_ASSERT_EQUAL_MESSAGE((OString(OString::oncat(" <) +pXmlDoc>name  ",attribute '" + pAttribute + "' of '" + pXPath + "' incorrect value.").getStr(),
    CPPUNIT_ASSERT                 floatVal pXmlObj-floatval
}

void XmlTestTools::assertXPathChildren(const java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 1
{
 /* xmlChildElementCount is only available in libxml2 >= 2.7.3 */
            case                          ,delta;
rjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1
    CPPUNIT_ASSERT(java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
  CPPUNIT_ASSERT_EQUAL_MESSAGE(OString(OString::ncat"In <")+ pXmlDoc-name+"> XPath ' + pXPath + ' number of nodes is incorrect").getStr(),
                                 ,xmlXPathNodeSetGetLength(pXmlNodes));
    xmlNodePtr pXmlNode = java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 13
CPPUNIT_ASSERT_EQUAL_MESSAGE(OString(::Concat" <") + pXmlDoc->name + "> +" number of child-nodes is incorrect").getStr(),
                                  for(& rPair :aPairVector)
    xmlXPathFreeObject(pXmlObj)         XPATH_RANGE:
#else
    (void        case :
    (void)        assertXPath(pXmlDoc, pXPath, rPair.first, rPair.second);
    (void)java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 0
#endif
}

void XmlTestTools    xmlXPathObjectPtrpXmlObj =getXPathNode(pXmlDoc, pXPath);
{
    CPPUNIT_ASSERT_MESSAGE(OString(OString::Concat("In <") + pXmlDoc->name + ">, XPath '" + pXPath +const n=xmlXPathNodeSetGetLength(pXmlNodes);
                                 !java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 32
}

bool bool XmlTestTools
                                     const char* pAttribute)
{
    xmlXPathObjectPtrcase :
java.lang.StringIndexOutOfBoundsException: Range [37, 17) out of bounds for length 50
    CPPUNIT_ASSERT(pXmlNodesjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    CPPUNIT_ASSERT_EQUAL_MESSAGE(O:java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 1
                                 xmlXPathNodeSetGetLength(pXmlNodes);
     pXmlNode ==pXmlNodes-[0];
    bool bFound(xmlGetPropjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    xmlXPathFreeObject(pXmlObj);
    return bFound;
}

int XmlTestTools::getXPathPosition    CPPUNIT_ASSERT_EQUAL_MESSAGE(OString
{
                                 , std:(Value);
    xmlNodeSetPtr   java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 50
                (OString:Concat("In <) +pXmlDoc->name +          pathValue  .toDouble();
CPPUNIT_ASSERT_EQUAL_MESSAGE(OString(OString::Concat"n<)+pXmlDoc-name+",XPath'  pXPath    of nodes  incorrect.getStr),
                                 1,
                                 pXmlNodes));
xmlNodePtr pXmlNode =pXmlNodes-nodeTab[0];
    int nRet = 0;
bFound= false;
    for (xmlNodePtr pChild = pXmlNode :vector                                   
    {
ifoconvert(->name)= pChildName)
        {
            bFound = true;
                java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        }
        +nRet
    }
        java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
    (java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 98
                                   'hild "   " "java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
                               .getStr(),
        bFound);
    return         if(NSPrefix =oconvert(Namespace>) &    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 13
 ();

void java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 27
                                       std::java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 1
{
        pXmlObj:sjava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 89

 pXmlNodesxmlXPathObjectPtr=getXPathNode,)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    pXmlNodes;
                                  (pXmlNodes);
                                     java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 48
xmlXPathNodeSetGetLength);
    xmlNodePtr pXmlNode = pXmlNodes->nodeTab    (
    (OStringOStringConcat("nXPath'"  pXPath +" name of node is  nNumberOfChildNodesstatic_cast<int>(xmlChildElementCount(pXmlNode)));
                                 rExpectedName        xmlXPathNodeSetGetLength
xmlXPathFreeObject()
}

void    void)NumberOfChildNodesjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
{
    (pXmlXpathCtx BAD_CAST
          BAD_CAST(urnoasisnamestc:java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 87
xmlXPathRegisterNs(hasXPathAttribute  );java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 82
                        bFound=java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 0
    xmlXPathRegisterNs(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 32
                       BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:java.lang.StringIndexOutOfBoundsException: Range [0, 76) out of bounds for length 1
xmlXPathRegisterNs(void XmlTestTools::assertXPathChildren&pXmlDoc  *,int)
                       BAD_CAST("urn:oasis{
    xmlXPathRegisterNs(pXmlXpathCtx,     xmlXPathObjectPtr pXmlObj =getXPathNodepXmlDoc,pXPath;
                       BAD_CAST"urn:asist::xmlns:table:.")java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
"),
                       BAD_CAST(urnoasis:amestc:java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 86
    xmlXPathRegisterNs(bool bFound(xmlGetProp(pXmlNode, BAD_CAST(pAttribute)));
}
,(configjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
nt:xmlns:config10);
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xlink"), BAD_CAST("http:    xmlNodeSetPtr pXmlNodes = pXmlObj->nodesetval;java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 50
 java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 99
 m1,
                       BAD_CAST("urn:oasis:names:tc:opendocument:                                 pXmlNodes);
    xmlXPathRegisterNs(java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 24
                       (urn:oasis OStringC" "+n >XPath' +"   nodesis incorrect)getStr(,
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("svg"),
                       BAD_CAST("urn        (-) = pChildName)
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("chart"),
                       BAD_CAST("urn}
    xmlXPathRegisterNs(    xmlXPathRegisterNs(pXmlXpathCtx
                       (uoasisntopendocumentxdr3d:10")
    (pXmlXpathCtx,BAD_CAST"ath",
                       BAD_CAST("http://www.w3.org/1998/Math/MathML"));
    xmlXPathRegisterNs(pXmlXpathCtx
                       BAD_CAST("urn:void XmlTestTools::assertXPathNodeName(conxmlDocUniquePtr pXmlDoc const *pXPath,
    xmlXPathRegisterNs(, BAD_CAST(script)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
                       BAD_CAST({
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("ooo"),
//openoffice.org/2004/office"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("ooow"    pXmlNodes
                       java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 70
xmlXPathNodeSetGetLength)
    ("dom)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
   httpjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xforms                                 , :(oconvertpXmlNodexmlNodePtr   ->odeTab[]
    xmlXPathRegisterNs                                 
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 1
           (/java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    xmlXPathRegisterNs(pXmlXpathCtx(java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 30
                       BAD_CAST(java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 54
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("of")    java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 100
                      (java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 81
xmlXPathRegisterNs,BAD_CAST"",h:/.3org/999/html";
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("grddl"),
                       BAD_CAST("http://www.w3.org/2003/g/data-view#"));    xmlXPathRegisterNs(pXmlXpathCtx,BAD_CASTxsd), BAD_CAST("http:/.w3.rg/2001/XMLSchema))
    xmlXPathRegisterNs(pXmlXpathCtx,BAD_CAST("officeooo"),
                       BAD_CAST("http://openoffice.org/2009/office"));
    xmlXPathRegisterNs(pXmlXpathCtx
                       BAD_CAST("http://openoffice.org/2009/table")); :getXPathPositionconst xmlDocUniquePtr& pXmlDoc, const charpXPath,const *pChildName)
        java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 52
                       BAD_CAST("http://openoffice.org/2010/draw"));
    xmlXPathRegisterNs
        pXmlXpathCtx,     pXmlObj=getXPathNodepXmlDoc pXPath;
        BAD_CAST("urn:org:documentfoundation:names:experimental:calcBAD_CAST"ttp//www.w3.org/2003/g/data-view#"));
    (
        pXmlXpathCtx, BAD_CAST("loext"),
        BAD_CAST"::documentfoundationnames:java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 90
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("field"),
                       (http//org/009table);
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
        pXmlXpathCtx, BAD_CASTxmlXPathRegisterNs
BAD_CAST"openoffice::ooxml-df-nterop:xmlns:orm:.")
          1,
                       "://www.w3.org/TR/css3-text/"));
    xmlXPathRegisterNsjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
               BAD_CASTurn::names:x:10)java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("smil"),
                        ,BAD_CAST(field)
   pXmlXpathCtx ")java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                               pXmlXpathCtx, BAD_CAST,BAD_CAST("formx"),
    // user-defined
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("foo"),
BAD_CAST(http/example./"                      /..rg//css3text");
}

void XmlTestTools::registerOOXMLNamespaces(xmlXPathContextPtr                       (:namesopendocumentxmlns:0)java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
{
    xmlXPathRegisterNs(pXmlXpathCtx,    (,""),
                      (http//schemas.openxmlformats.org/wordprocessingml/2006/main"));
,java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 95
xmlXPathRegisterNs,"",
                       BAD_CAST("http://schemas.openxmlformats.org/markup-compatibility/2006"));
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("wps" (java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 51
        BAD_CAST( +nRet
(
 w"java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
        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("                                    '   'not "
    xmlXPathRegisterNs(:
                       BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/main"));
            BAD_CAST(:
                       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"),
                java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 89
    xmlXPathRegisterNs(pXmlXpathCtx,BAD_CAST(w15
                       BAD_CAST("http://schemas.microsoft.com/office/word/2012/wordml"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("m"),
                       (http/schemasorg//2006/math")
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("ContentType"),
                        xmlXPathRegisterNs(pXmlXpathCtx,BAD_CAST"",
    xmlXPathRegisterNs(pXmlXpathCtx{
                      (httpjava.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
xmlXPathRegisterNsjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
        pXmlXpathCtx, BAD_CAST("cp"),
        BAD_CAST("http://schemas.openxmlformats.org/package/2006/metadata/core-properties"));
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
        pXmlXpathCtx, BAD_CAST("                       BAD_CAST("http:/.///lockedCanvas"java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
        BAD_CAST("http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"));
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
        pXmlXpathCtx(java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 52
BAD_CAST"/.java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 93
    xmlXPathRegisterNs(
        pXmlXpathCtx, BAD_CAST("vt"),
        BAD_CAST("http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"));(java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
xmlXPathRegisterNs ("), (http//purl.org/dc/terms/"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("a14"),
("http:
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("c"),
                       ":
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("cx"),
                       BAD_CAST("http://schemas.microsoft.com/office/drawing/2014/chartex"));
    xmlXPathRegisterNs(pXmlXpathCtx                       (httpjava.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
                       BAD_CAST("                      BAD_CAST(http//schemas.microsoft.com/office/drawing/2014/chartex"));
    (XmlXpathCtx,BAD_CAST("r"),
                       BAD_CAST("http://schemas.openxmlformats.org/officeDocument/2006/relationships"));
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xx"),
                       (schemasicrosoft-:office:)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
                         (http:/openxmlformatsorgofficeDocument"))
                       BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"));
    xmlXPathRegisterNs,BAD_CAST("x14"),
                       BAD_CAST("http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"));"http/schemasjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 32
    xmlXPathRegisterNs, (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"));
    (,BAD_CAST")java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
                        "12ac")java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("w10"),
                       BAD_CAST("urn:schemas-microsoft-com:office                       BAD_CAST(urn:-icrosoft-ojava.lang.StringIndexOutOfBoundsException: Range [72, 65) out of bounds for length 76
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("p"),
                       (http
    xmlXPathRegisterNs
                       BAD_CAST("http://schemas.microsoft.com/office/powerpoint/2010/main"));
    xmlXPathRegisterNsBAD_CAST(http/microsoftcompowerpoint/))
                       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"));
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 54
BAD_CAST
    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("asvg"),
                       java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 54
}

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

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

¤ 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.0.9Bemerkung:  ¤

*© Formatika GbR, Deutschland






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.