You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Dmitriy V'jukov (JIRA)" <xe...@xml.apache.org> on 2010/04/16 19:28:24 UTC

[jira] Updated: (XERCESC-1919) Access violation in AbstractDOMParser::docComment()

     [ https://issues.apache.org/jira/browse/XERCESC-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy V'jukov updated XERCESC-1919:
-------------------------------------

    Attachment: crash.xml

Input XML file

> Access violation in AbstractDOMParser::docComment()
> ---------------------------------------------------
>
>                 Key: XERCESC-1919
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1919
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Non-Validating Parser
>    Affects Versions: 3.1.0
>         Environment: Windows 7
> Visual C++ 2008
> Static manually built version of Xerces 3.1.0
>            Reporter: Dmitriy V'jukov
>         Attachments: crash.xml
>
>
> I parse an XML document with the following code:
>         XercesDOMParser parser;
>         parser.setCreateEntityReferenceNodes(false);
>         parser.setLoadExternalDTD(false);
>         parser.setLoadSchema(false);
>         parser.setSkipDTDValidation(true);
>         parser.setExitOnFirstFatalError(false);
>         MemBufInputSource source ((XMLByte const*)decoded.begin(), decoded.size(), L"");
>         parser.parse(source);
> Parser crashes in:
> void AbstractDOMParser::docComment(const XMLCh* const comment)
> {
>     if (fCreateCommentNodes) {
>         DOMComment *dcom = fDocument->createComment(comment);
>         castToParentImpl (fCurrentParent)->appendChildFast (dcom); // <-----  fCurrentParent == 0
>         fCurrentNode = dcom;
>     }
> }
> with fCurrentParent == 0.
> Current position of parser is line 233, column 17, i.e. straight after "<!-- Scripts -->"
> Here is the XML document:
> <!DOCTYPE html>
> <html id="www-netvibes.com" lang="en-US" dir="ltr">
> <head>
>   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
>   <title>Netvibes - Dashboard Everything</title>
>   <meta name="application-name" content="Netvibes" />
>   <meta name="application-url" content="http://www.netvibes.com" />
>   <meta name="robots" content="noodp,noydir" />
>   <meta name="description" content="First personalized dashboard publishing platform for the Web.  Digital life managment, Widget distribution services and brand observation rooms. For agencies, brands and media companies, Netvibes delivers secure, scalable personalized workspaces, portals and industry dashboards" />
>   <meta name="keywords" content="dashboard, dashboards, saved searches, watch, tracking, in touch with, personalized, customized, trends, rss, rss syncing, widgets, gadgets, brand monitoring, updates, e-reputation, tracking, streams, twitter client, facebook pages, free, browse, search, monitor, real time, share, multi-language, international, sort, instant update, reporting, gauge, filter, business intelligence, brand observation, benchmark, performance, evolution, real time data, social media, trending topics, conversations, mentions, live, user-generated, opml, atom, xml, mashup, uwa" />
>   <link href="http://blog.netvibes.com/rss.php" rel="alternate" type="application/rss+xml" title="Netvibes blog" />
>   <link href="http://cdn.netvibes.com/css/base/static-home.css?v=1" media="screen" rel="stylesheet" type="text/css" />
>   <link href="/en" rel="canonical" />
>   <link rel="shortcut icon" href="http://cdn.netvibes.com/favicon.ico" />
>   <link rel="icon" href="http://cdn.netvibes.com/img/netvibes-32x32.png" sizes="32x32" />
>   <link rel="icon" href="http://cdn.netvibes.com/img/netvibes-48x48.png" sizes="48x48" />
>   <link rel="search" type="application/opensearchdescription+xml" title="Netvibes" href="http://www.netvibes.com/opensearch.xml" />
> </head>
> <body>
> <div id="container" class="home">
>     <div id="header">
>         <h1><a href="/" class="logo">Netvibes</a></h1>
>         <p id="signin"><span>Already have an account?</span> <a href="/signin" rel="nofollow">Sign in</a></p>
>         <p id="language">Interface language:  <a href="javascript:void(0);">English</a></p>
>     </div>
>     <div id="content-wrapper" class="rounded">
>         <div id="content" role="main">
>         
>     <div id="top" class="autoclear">
>         <!--[if lt IE 7]>
>         <div id="ie6-disclaimer">
>             If you'd like the best Netvibes experience, we recommend that you upgrade to the most recent version of your browser.        </div>
>         <![endif]-->
>         
>         <h2>Your Personal Dashboards</h2>
>         <div class="carousel-clip">
>         <div class="carousel-list">
>         <div id="intro">
>             <div class="left">
>                 <div id="video">
>                 </div>
>             </div>
>             <div class="right">
>                 <h3>All you care about. Live.</h3>
>                 <p>Trending topics. Tweets. Feeds. Friends. Photostreams. Videos. Podcasts. Email. Widgets.</p>
>                 <p>All in one place and always up-to-date, Netvibes is the faster and easier way to enjoy the entire real-time Web. Instantly create as many different dashboards as you'd like to track all of your latest interests, live.</p>
>                 <p class="center">
>                     <a id="getStarted" class="button button-big carousel-next" href="javascript:void(0)">
>                         <span class="button-inner">Get Started В»</span>
>                     </a>
>                 </p>
>             </div>
>         </div>
>         <!-- #dashboard-wizard -->
> <div id="dashboard-wizard">
>     
>     <div id="topic-container">
>     <h3>Enter a topic</h3>
>     <div id="topic-form">
>         <form class="autoclear">
>             <input type="text" class="topic" value="" />
>             <span class="in">in</span>
>             <span id="select-category" class="select">
>                 <span class="title">News</span>
>                 <ul style="display:none">
>                   <li -data-value="news" class="selected">News</li>
>                   <li -data-value="artist">Artist</li>
>                   <li -data-value="brand">Brand</li>
>                 </ul>
>             </span>
>             <span class="button">
>                 <input type="submit" class="button-inner" value="Next" />
>             </span>
>         </form>
>         <div id="trends" title="Hot topics">
>             <ul>
>                                 <li class="trend"><a href="javascript:void(0)">Glee</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Justin Bieber</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Aries New Moon</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Adam Lambert</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Congress</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">iPhone</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">China</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Sue Sylvester</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Brandon Marshall</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">GoodNight</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Cats Love iPads</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">American Idol</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">All Time Low</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">IPL</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Red</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Lady Gaga</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Tea Party</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">GoodMorning</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Dolphins</a></li>
>                                 <li class="trend"><a href="javascript:void(0)">Wiz Khalifa</a></li>
>                             </ul>
>             <span class="fade"></span>
>         </div>
>     </div><!-- /#topic-form -->
>     </div>
>     <div class="thumbnails" style="display: none">
>         <h3>Select a photo to generate your own theme</h3>
>         <ul id="thumbs"></ul>
>         <p class="source">Source: Yahoo Image Search</p>
>         <p>
>             <a id="create-dashboard" class="button" href="javascript:void(0)">
>                 <span class="button-inner">Dashboard It!</span>
>             </a>
>             <span class="dashboarding"></span>
>         </p>
>     </div>
>     <div class="dashboard-templates">
>     <h3>Or pick-up a popular dashboard</h3>
>     <ul>
>         <li class="template" id="generic-template">
>             <img src="http://cdn.netvibes.com/img/s.gif" width="111" height="86" alt="" />
>             <span class="title">Default</span>
>         </li>
>         <li class="template" id="worldcup-template">
>             <img src="http://cdn.netvibes.com/img/s.gif" width="111" height="86" alt="" />
>             <span class="title">FIFA 2010</span>
>         </li>
>         <li class="template" id="social-network-template">
>             <img src="http://cdn.netvibes.com/img/s.gif" width="111" height="86" alt="" />
>             <span class="title">Social network</span>
>         </li>
>         <li class="template" id="breaking-news-template">
>             <img src="http://cdn.netvibes.com/img/s.gif" width="111" height="86" alt="" />
>             <span class="title">Breaking news</span>
>         </li>
>         <li class="template" id="best-productivity-template">
>             <img src="http://cdn.netvibes.com/img/s.gif" width="111" height="86" alt="" />
>             <span class="title">Best productivity</span>
>         </li>
>         <li class="template" id="finance-template">
>             <img src="http://cdn.netvibes.com/img/s.gif" width="111" height="86" alt="" />
>             <span class="title">Finance</span>
>         </li>
>     </ul>
>     </div>
>     <a class="carousel-prev back" href="javascript:void(0)" style="display:none">Back</a>
> </div><!-- /#dashboard-wizard -->
>         </div><!-- /#carousel-list -->
>         </div><!-- /#carousel-clip -->
>     </div>
>     <div id="features" class="autoclear">
>         <div class="item" id="monitor">
>             <h3>Monitor</h3>
>             <p class="description">Keep track of your favorite interests and trending topics.</p>
>             <p class="example first"><img class="thumb-1" src="http://cdn.netvibes.com/img/s.gif" width="93" height="65" alt="" />Netvibes Smart Reader: the first RSS reader that streams the latest feeds to you in real-time</p>
>             <p class="example example-2"><img class="thumb-2" src="http://cdn.netvibes.com/img/s.gif" width="93" height="65" alt="" />Follow dozens of blogs, activity streams and Twitter conversations all at a glance</p>
>         </div>
>         <div class="item" id="personalize">
>             <h3>Personalize</h3>
>             <p class="description">Create your own personal dashboard and enjoy the Web exactly the way you like it.</p>
>             <p class="example first"><img class="thumb-1" src="http://cdn.netvibes.com/img/s.gif" width="93" height="65" alt="" />100% Personalizable: choose from hundreds of themes and control every single detail imaginable</p>
>             <p class="example example-2"><img class="thumb-2" src="http://cdn.netvibes.com/img/s.gif" width="93" height="65" alt="" />Award-winning drag-and-drop design and the world's largest widget collection</p>
>         </div>
>         <div class="item" id="publish">
>             <h3>Publish</h3>
>             <p class="description">Share your dashboard with friends, coworkers, clients or even the entire world!</p>
>             <p class="example first"><img class="thumb-1" src="http://cdn.netvibes.com/img/s.gif" width="93" height="65" alt="" />Infinite Publishing: Multiple page publishing, WYSIWYG design tools, free hosting and full HTML support makes Web publishing easy</p>
>             <p class="example example-2"><img class="thumb-2" src="http://cdn.netvibes.com/img/s.gif" width="93" height="65" alt="" />Instantly publish a whole new dashboard simply by typing in a keyword or trending topic</p>
>         </div>
>     </div>
>     <div id="bottom">
>         <div id="they-trust-us-awards">
>             <div id="they-trust-us">
>                 <h3 class="dotted">Our Customers</h3>
>                 <p><img src="http://cdn.netvibes.com/img/s.gif" width="450" height="100" alt="" /></p>
>             </div>
>             <div id="awards">
>                 <h3 class="dotted">Awards</h3>
>                 <p><img src="http://cdn.netvibes.com/img/s.gif" width="450" height="90" alt="" /></p>
>             </div>
>         </div>
>         <div id="buzz">
>             <h3 class="dotted">Buzz from the web</h3>
>             <ul class="statuses">
>                                                 <li class="status dotted">
>                     <span class="thumb">
>                         <img class="photo" src="http://a3.twimg.com/profile_images/734829135/Presse-papiers-1_normal.jpg"/>
>                     </span>
>                     <span class="status-body">
>                         <span class="screen-name">JouePeanut</span>
>                         <span class="entry-content">@Netvibes c'est le bien, mangez-en !</span>
>                     </span>
>                 </li>
>                                 <li class="status dotted">
>                     <span class="thumb">
>                         <img class="photo" src="http://a3.twimg.com/profile_images/57322173/Gabino_3__normal.jpg"/>
>                     </span>
>                     <span class="status-body">
>                         <span class="screen-name">grochejr</span>
>                         <span class="entry-content">@NetVibes is a terrific tool for managing multiple social networking tools (especially multiple twitter accounts) #SocialNetworking</span>
>                     </span>
>                 </li>
>                                 <li class="status">
>                     <span class="thumb">
>                         <img class="photo" src="http://a1.twimg.com/profile_images/422754622/twitterProfilePhoto_normal.jpg"/>
>                     </span>
>                     <span class="status-body">
>                         <span class="screen-name">freddymini</span>
>                         <span class="entry-content">Thx! RT @sageerpx3: Cgrats to @netvibes A Dashboard Engine to Dashboard Everything. http://bit.ly/aKYiRV superb, amazing, we love it at Sage</span>
>                     </span>
>                 </li>
>                             </ul>
>         </div>
>     </div>
>     <div id="languages" class="box-container shadow">
>         <div class="title">Select your language</div>
>         <a class="close" href="javascript:void(0)"></a>
>         <ul>
>         <li><a href="/fa-ir"> (beta)  ЩЃШ§Ш±ШіЫЊ</a></li><li><a href="/yi-il">(beta) ЧђЧ™Ч"Ч™Ч©ЧЃ</a></li><li><a href="/he-il">(beta) ЧўЧ'ЧЁЧ™ЧЄ</a></li><li><a href="/ur-pk">(beta) Ш§Ш±ШЇЩ€</a></li><li><a href="/ar-sa">(beta) Ш§Щ„Ш№Ш±ШЁЩЉШ©</a></li><li><a href="/af-za">Afrikaans</a></li><li><a href="/an-sp">AragonГ©s</a></li><li><a href="/id">Bahasa Indonesia</a></li><li><a href="/ms-my">Bahasa Melayu</a></li><li><a href="/bs-ba">Bosanski</a></li><li><a href="/br-fr">Brezhoneg</a></li><li><a href="/ca-es">CatalГ -ValenciГ </a></li><li><a href="/co-fr">Corsu</a></li><li><a href="/cy-uk">Cymraeg</a></li><li><a href="/da-dk">Dansk</a></li><li><a href="/de">Deutsch</a></li><li><a href="/et-ee">Eesti</a></li><li class="active"><span>English</span></li><li><a href="/es-ar">EspaГ±ol (Argentina)</a></li></ul><ul><li><a href="/es-cl">EspaГ±ol (Chile)</a></li><li><a href="/es">EspaГ±ol (EspaГ±a)</a></li><li><a href="/es-mx">EspaГ±ol (MГ©xico)</a></li><li><a href="/eo">Esperanto</a></li><li><a href="/eu-es">Euskara</a></li><li><a href="/fr">FranГ§ais</a></li><li><a href="/fy-nl">Frysk</a></li><li><a href="/fo">FГёroyskt</a></li><li><a href="/ga-ie">Gaeilge</a></li><li><a href="/gl-es">Galego</a></li><li><a href="/gd-gb">GГ idhlig</a></li><li><a href="/hr">Hrvatski</a></li><li><a href="/it">Italiano</a></li><li><a href="/kh-pl">KaszГ«bsczi</a></li><li><a href="/ku">KurmancГ®</a></li><li><a href="/lv">LatvieЕЎu</a></li><li><a href="/lt">LietuviЕі</a></li><li><a href="/hu">Magyar</a></li><li><a href="/nl">Nederlands</a></li></ul><ul><li><a href="/no">Norsk (bokmГҐl)</a></li><li><a href="/nn-no">Norsk (nynorsk)</a></li><li><a href="/oc-fr">Occitan</a></li><li><a href="/pl">Polski</a></li><li><a href="/pt-br">PortuguГЄs (Brasil)</a></li><li><a href="/pt">PortuguГЄs (Portugal)</a></li><li><a href="/ro">RomГўnДѓ</a></li><li><a href="/sc-it">Sardu</a></li><li><a href="/sq-al">Shqip</a></li><li><a href="/sk">SlovenДЌina</a></li><li><a href="/sl-si">SlovenЕЎДЌina</a></li><li><a href="/sr-yu">Srpski</a></li><li><a href="/fi">Suomi</a></li><li><a href="/sv-se">Svenska</a></li><li><a href="/tl-ph">Tagalog</a></li><li><a href="/vi-vn">Tiбєїng Việt</a></li><li><a href="/tr">TГјrkГ§e</a></li><li><a href="/is">ГЌslenska</a></li><li><a href="/cs-cz">ДЊesky</a></li></ul><ul><li><a href="/el-gr">О•О»О»О- ОЅО№ОєО¬</a></li><li><a href="/be-by">Р'еларуская</a></li><li><a href="/bg">Р'ългарски</a></li><li><a href="/mk">Македонски</a></li><li><a href="/ru">Р СѓccРєРёР№</a></li><li><a href="/uk-ua">Українська</a></li><li><a href="/mn">РјРѕРЅРіРѕР» С...СЌР»</a></li><li><a href="/mr-in">मराठी</a></li><li><a href="/hi-in">हिन्दी</a></li><li><a href="/bn-bd">বাংলা</a></li><li><a href="/gu-in">аЄ—а«ЃаЄњаЄ°аЄѕаЄ¤а«Ђ</a></li><li><a href="/ta-in">தமிழ்</a></li><li><a href="/te-in">తెలుగు</a></li><li><a href="/ml-in">മലയാളം</a></li><li><a href="/th">ไทย</a></li><li><a href="/ja-jp">ж—Ґжњ¬иЄћ</a></li><li><a href="/zh-cn">з®ЂдЅ"дё­ж-‡</a></li><li><a href="/zh-tw">з№Ѓй«"дё­ж-‡</a></li><li><a href="/ko-kr">н•њкµ­м-ґ</a></li></ul><ul>        </ul>
>     </div>        </div>
>     </div>
> </div>
> <!-- Scripts -->
> <!-- #footer -->
> <div id="footer" class="footer-expanded">
>     <div class="footerLinks">
>                 
>         <div id="footer-toggle">
>             <a href="javascript:void(0);">Expand</a>
>             <span class="logo">Powered by <span class="nvlogo"><img src="http://cdn.netvibes.com/img/favicon-12.png" alt=""/>netvibes</span></span>
>         </div>
>         
>         <div id="footer-title">
>             <div class="footer-wrapper autoclear">
>                 <h3>About Netvibes</h3>
>                 <h3>Explore</h3>
>                 <h3>Business</h3>
>                 <h3>Platform</h3>
>                 <h3>Help</h3>
>             </div>
>         </div>
>         <div id="footer-sections">
>             <div class="footer-wrapper autoclear">
>                 <ul class="footer-menu">
>                     <li>
>                         <a id="footerLink_tour" href="http://tour.netvibes.com/">Take a tour</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_about" href="http://about.netvibes.com/">About us</a>
>                     </li>
>                     <li>
>                         <a  id="footerLink_tos" href="http://www.netvibes.com/static.php?show=tos" rel="nofollow">Terms of service</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_privacy" href="http://www.netvibes.com/static.php?show=privacy" rel="nofollow">Privacy Policy</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_blog" href="http://blog.netvibes.com/">Blog</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_jobs" href="http://about.netvibes.com/jobs.php">Jobs</a>
>                     </li>
>                 </ul>
>                 <ul class="footer-menu">
>                     <li>
>                         <a id="footerLink_ecowidgets" href="http://eco.netvibes.com/widgets">Widgets</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_ecouniverses" href="http://eco.netvibes.com/universes">Pages</a>
>                     </li>
>                                         <li>
>                         <a id="footerLink_inspiration" href="http://business.netvibes.com/inspiration/">Inspiration</a>
>                     </li>
>                 </ul>
>                 <ul class="footer-menu">
>                     <li>
>                         <a id="footerLink_widgetmarketing" href="http://business.netvibes.com/widget-marketing.php">Widget marketing</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_widgetdevelopment" href="http://business.netvibes.com/widget-development.php">Widget development</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_widgetdistribution" href="http://business.netvibes.com/widget-distribution.php">Widget distribution</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_nfe" href="http://business.netvibes.com/company-portal-intranet.php">Netvibes for enterprise</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_nfe" href="http://business.netvibes.com/dashboarding-guide">Dashboarding Guide</a>
>                     </li>
>                 </ul>
>                 <ul class="footer-menu">
>                     <li>
>                         <a id="footerLink_api" href="http://dev.netvibes.com/doc/">API</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_dev" href="http://dev.netvibes.com/blog/">Developers</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_labs" href="http://www.netvibes.com/labs/">Labs</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_translate" href="http://translate.netvibes.com/">Translators</a>
>                     </li>
>                 </ul>
>                 <ul class="footer-menu">
>                     <li>
>                         <a id="footerLink_faq" href="http://faq.netvibes.com/">FAQ</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_feedback" href="http://www.netvibes.com/static.php?show=feedback" rel="nofollow">Contact us</a>
>                     </li>
>                     <li>
>                         <a id="footerLink_servicestatus" href="http://faq.netvibes.com/service_status">Service status</a>
>                     </li>
>                 </ul>
>             </div>
>             <div class="footer-top-content">
>                                             </div>
>         </div>
>         <div class="footer-misc">
>             <div class="footer-wrapper autoclear">
>                 <div class="footer-line">
>                     <span class="copyright">Netvibes &#169; 2010</span>
>                     <a class="feed" href="http://blog.netvibes.com/rss.php">RSS</a>
>                     <a id="footerLink_home" href="http://faq.netvibes.com/netvibes_everywhere#how_to_set_netvibes_as_my_default_startpage">Set Netvibes as your startpage</a>
>                     <strong>Find Netvibes also on:</strong>
>                     <a href="http://m.netvibes.com/">Mobile</a>,
>                     <a href="http://iphone.netvibes.com/">iPhone</a>,
>                     <a href="http://www.facebook.com/netvibes" target="_blank">Facebook</a>,
>                     <a href="http://twitter.com/netvibes" target="_blank">Twitter</a>,
>                     <a href="http://www.flickr.com/photos/netvibes" target="_blank">Flickr</a>
>                 </div>
>             </div>
>         </div>
>             </div>
> </div>
> </body>
> </html>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org