VirtualBox

Changeset 58169 in vbox


Ignore:
Timestamp:
Oct 12, 2015 8:50:55 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103280
Message:

Runtime: fixed another XML version check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Runtime/r3/xml.cpp

    r58168 r58169  
    18761876    ReadContext context(pcszFilename);
    18771877    doc.m->reset();
     1878    const int options = XML_PARSE_NOBLANKS /* remove blank nodes */
     1879                      | XML_PARSE_NONET    /* forbit any network access */
     1880#if LIBXML_VERSION >= 20700
     1881                      | XML_PARSE_HUGE     /* don't restrict the node depth
     1882                                              to 256 (bad for snapshots!) */
     1883#endif
     1884                ;
    18781885    if (!(doc.m->plibDocument = xmlCtxtReadIO(m_ctxt,
    18791886                                              ReadCallback,
     
    18821889                                              pcszFilename,
    18831890                                              NULL,       // encoding = auto
    1884                                               XML_PARSE_NOBLANKS | XML_PARSE_NONET)))
     1891                                              options)))
    18851892        throw XmlError(xmlCtxtGetLastError(m_ctxt));
    18861893
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette