XML Elves

XML Elves

<community>of XML and SVG Developers</community>


limits SVG files smaller than 512K

This is a discussion on limits SVG files smaller than 512K within the SVG Questions forums, part of the SVG Forums category; I got a problem with size could someone help! // ParseXML approach // this is the working version, but limits ...


Go Back   XML Elves > SVG Forums > SVG Questions

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices


Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2004, 03:04 PM
Junior Member
 
Join Date: Oct 2004
Posts: 1
Default limits SVG files smaller than 512K

I got a problem with size could someone help!

// ParseXML approach
// this is the working version, but limits us to SVG files smaller than 512K
// m_svgDoc is a CSVGDocument
// m_spSVGControl is an ATL smart pointer to the Adobe SVG Control's COM interface
// the Adobe SVG Control has already been created

m_svgDoc = m_spSVGControl->getSVGDocument(); CSVGWindow svgwnd = m_spSVGControl->Getwindow();

// szFile Buf is a pointer to a string contatining the contents read from an SVG file

CDOMNode node = svgwnd.parseXML( szFileBuf, m_svgDoc );

//
// ParseXML() causes a stack overflow when the SVG file is larger than about 512K
//

m_svgDoc.appendChild( node );

// m_RootElem is a CSVGSVGElement
// it is used to access and manipulate the top level element in the SVG document

m_RootElem = m_svgDoc.getRootElement();
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
512k, files, limits, smaller, svg


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 02:28 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

Printer Inks
Here you can purchase printer inks online.

compatible ink cartridge
Get a compatible ink cartridge from us. Benefit from better value, longer print life, top quality and a complete guarantee with support!

Hard Disk Drive Data Recovery Cheshire
Do you need data recovery done? We will collect your hard disk drive in Cheshire and our success rate is unequalled.

ink cartridges Free UK Delivery on ink cartridges such as Canon, Dell, Epson, hp & Lexmark.

1 2 3 4 5 6 7 8 9 10