XML file size increases GREATLY with ![CDATA[

I have several .xml files that provide info for a website of
mine and was quite surprised to discover, while I was uploading
them, that some of them were around 60-70kb, while others were 4kb
or less. Knowing that the amount of content in all of them doesn't
vary that much, I noticed that the biggest file sizes corresponded
to the files using <![CDATA[ ]]>.
I included a sample file code below. It's in Portuguese, but
I think it's still obvious that this file could not be more than a
few kb, and Dreamweaver (CS3) saves it with a whopping 62kb!
I tried saving the exact same file in Text Edit and it
resulted in a normal file size.
Has anyone encountered similar situations? I'm guessing this
is some sort of bug, that Dreamweaver puts some extra content -
somewhere - because of the CDATA. Is there any sort of reason or
fix for this?
Thanks in advance.

Ok... embarassing moment. Just realized that DW CS3 is not
guilty. In Leopard, in the file's Get Info panel, I changed the
preferred application to open it, and the file's size changed
according to different applications. Reverting back to DW CS3, it
still resulted in the 60-70kb size, but deleting the file and
saving a new one it the same name solved the problem.
Sorry guys.

Similar Messages

  • Folio article file size increases massively with more buttons

    Hello,
    we are about to finish up a DPS project and now have some serious problems with the folio sizes.
    We did all the usual things to make folios smaller (cropped every image to the trimmed size, pdf articles, vektor overlays etc.)
    So we made some tests and discovered a really strange behavior:
    We have one single article with a fullscreen MSO containing 7 picture status, and seven buttons (with the same pictures as thumbnails) that lead to the appropriate statuses.
    First we tried to experiment deleting images from the MSO but this had no effect on the file size. But as we deleted the seven buttons the file size changed from 10MB to 52MB!
    The size of all the assets (images and ID file) from this article is only 12 MB.
    Is this a known bug? Is there a way around it? It is some kind of crazy when an uploaded folio has 4 times the size as all his assets?!?!
    Thanks in advance,
    nils

    Hi Bob,
    sorry for my late reply.
    I have done some additional testing and came to the conclusion that no button is responsible for the big file sizes.
    It was the overlay setting after all (sorry for pointing in the wrong direction). As I switched the slideshow from "Raster" to "Vector" the file size decreased plenty. (I thougt I checked this but actually I did it only in vertical articles.)
    However I did not know that the export format has such an impact on file size. This one article decreased from 52 MB to 17 MB. And it was only one slideshow with 7 (retina) images inside.
    Changing all the slideshows in our 50 article folio (about 35) decreased the file size from 576 MB to 243 MB!
    Thanks,
    nils

  • File sizes increase in StarOffice 8

    I've got a letter I send out about once a month, just changing dates in the contents for each edition. It has a linked .jpg file as background.
    In StarOffice 7 the .sxw file size is 8 Kb.
    In StarOffice 8 the size has leapt to 44 Kb, whether I save it in .sxw or .odt format.
    Why?

    I find that file sizes increase both with text documents and with spreadsheets, sometimes by a great deal. One of the reasons I switched from 5.2 to 7 was the much smaller file sizes, since I keep my weekly back-ups on floppies (and am a stingy sort of fellow generally). But I had to run 7 and 5.2 together, since 7 does not handle Sanskrit/Hindi founts (the SO "help" team just asked a whole lot of questions and then disappeared). So now I have (on Windows) 5.2, 7 and 8. I have still not checked if 8 handles these founts. If it does, I can remove 5.2. For the rest, 8 does not seem to offer any advantage over 7 -- not counting the data base, which I have still to look into. File size, in my view, goes against it.

  • File size increases dramatically after digital signature with Acrobat X

    I signed a PDF file using Acrobat X.
    File size of unsigned document: 200 k
    File size of signed document: 3200 k (more than ten times bigger)
    Any idea?
    BR
    Harald

    Finally I found the solution.
    The file size increase is a result of the embedded information used for long-term signature validation.
    If you do not need this feature, you can turn it off:
    Preferences > Security > Advanced Preferences > Creation tab
    disable "Include Signature’s Revocation"
    Help page: http://help.adobe.com/en_US/acrobat/X/pro/using/WS934c23d7cc8877da1172e0811fde233c98-8000. html
    BR
    Harald

  • Sun-ejb-jar.xml file is increased after deploying

    When I deploy my application the size of sun-ejb-jar.xml file is increased from 140K to 6.5M!!! When I review a new file I have found that all finder methods from all beans were included into the each entity beans. Is it correct?
    Thank you,
    Sergey

    up

  • Why does PDF file size increase each time I "save" tagging tasks?

    Why does PDF file size increase each time I "save" tagging tasks?
    Given:
    1) I'm running Acrobat Pro 11.0.07 (this is most current version)
    2) My file size starts at 750mb and ends up 15mb when finished tagging.
    3) Only certain documents experience this increase, i.e., no visible pattern of document characteristics
    4) PDF's are not full of images...in fact, mostly <H1> <H2> <H3> <P> <Figure> alt text, ect.
    5) Occurs with text PDF's and/or fillable forms (again, does not happen to all documents...only some)
    6) File increase occurs incrementally as tagging tasks are performed; i.e., each new save increases file size a few megabytes.
    7) Occurs whether I "save" or "save as"
    8) Difficult to optimize these files without corruption
    9) I'm running Mac OS 10.9.4 (this is most current version)

    Thank you so much for responding! I've been experimenting with the SAVE AS vs. SAVE for the past few days...and you are correct. It's funny because I've been tagging files for 2 years and never noticed this. Probably b/c I use both methods depending on the tagging tasks...some are more complicated than others and should not be overwritten. In those cases I SAVE AS new file.
    I love this forum...thank you again!

  • Load and Read XML file size more than 4GB

    Hi All
    My environment is Oracle 10.2.0.4 on Solaris and I have processes to work with XML file as below detail by PL/SQL
    1. I read XML file over HTTP port into XMLTYPE column in table.
    2. I read value no.1 from table and extract to insert into another table
    On test db, everything is work but I got below error when I use production XML file
         ORA-31186: Document contains too many nodes
    Current XML size about 100MB but the procedure must support XML file size more than 4GB in the future.
    Belows are some part of my code for your info.
    1. Read XML by line into variable and insert into table
    LOOP
    UTL_HTTP.read_text(http_resp, v_resptext, 32767);
    DBMS_LOB.writeappend (v_clob, LENGTH(v_resptext), v_resptext);
        END LOOP;
        INSERT INTO XMLTAB VALUES (XMLTYPE(v_clob));
    2. Read cell value from XML column and extract to insert into another table
    DECLARE
    CURSOR c_xml IS
    (SELECT  trim(y.cvalue)
    FROM XMLTAB xt,
    XMLTable('/Table/Rows/Cells/Cell' PASSING xt.XMLDoc
    COLUMNS
    cvalue
    VARCHAR(50)
    PATH '/') y;
        BEGIN
    OPEN c_xml;
    FETCH c_xml INTO v_TempValue;
    <Generate insert statement into another table>
    EXIT WHEN c_xml%NOTFOUND;
    CLOSE c_xml;
        END
    And one more problem is performance issue when XML file is big, first step to load XML content to XMLTYPE column slowly.
    Could you please suggest any solution to read large XML file and improve performance?
    Thank you in advance.
    Hiko      

    See Mark Drake's (Product Manager Oracle XMLDB, Oracle US) response in this old post: ORA-31167: 64k size limit for XML node
    The "in a future release" reference, means that this boundary 64K / node issue, was lifted in 11g and onwards...
    So first of all, if not only due to performance improvements, I would strongly suggest to upgrade to a database version which is supported by Oracle, see My Oracle Support... In short Oracle 10.2.x was in extended support up to summer 2013, if I am not mistaken and is currently not supported anymore...
    If you are able to able to upgrade, please use the much, much more performing XMLType Securefile Binary XML storage option, instead of the XMLType (Basicfile) CLOB storage option.
    HTH

  • Out of Memory Error bcoz of xml file size

    Hi,
    Help me to solve this out of memory error, if xml file size
    is increased means
    it is not displaying anything and displaying this out of
    memory error.
    Thanking you
    Regards
    Nirmalatha.N

    You should avoid loading large sized XML files in your Flash
    Lite application. There is a limit on incoming data, and anything
    beyond that will give an error. My experience has been around 1000
    characters in a single stream of incoming text.
    A possible solution your memory problem is to use a middle
    language like PHP, ASP etc, to stream a single XML data file in
    parts to your Flash Lite application. This means you avoid loading
    XML directly in Flash.
    Mariam

  • XML file to Proxy Scenario with BPM - ID Steps

    Hi Guys,
    Any one can help me to find  about the scenario XML file to ABAP Proxy with BPM, ID steps please. Any link or logical routing, receiver determination and interface determination idea. Please correct me,
    I have created Business Service as sender to send one xml file to BPM, BPM is sending a message to SNC system. I have created 2 receiver determinations, but I am confusing in interface determination, where to declare OM?
    Please can any one respond bit quicker.
    Thanks  in advance
    Regards
    San

    ES Repository
                         *Service Interfaces*
    Create one outbound service interface for XML file.
    Create one Inbound synchronous Interface for SNC system.
    Create one Abstract Asynchronous interface ,same message type as you used for outbound service interface .This is for Integration process receive step.
    Create one Abstract async interface for receiving the response from SNC system in Integration process.
    Create one Abstract synchronous interface to be used in the Integration process for Send sync step.
    Create on inbound asyn service interface for sending the response from integration process (received from SNC system) to the Receiver System.
                  Operation Mapping.
    Create an Operation Mapping using Abstract sync interface and inbound syn interfaces.
                  Integration Process
    start--->receive Step---->send Synchronous step----->send step.
    Create two container elements
    first with abstrat async interface for the XML request.
    second for abstract asyn interface with the XML response structure (asyn receiver system structure)
    In the send sync step select your abstract syn interface from the F4 help.and select the corresponding request and response message from the container element you defined earlier.
    Integration Directory.
    Create one sender File adapter Communication channel for XML file reading.
    Create two receiver communication channel for sync system(receiver XI adapte for ABAP PROXY) and other for asyn receiver system .
    Create 3 receiver determination
    1.from sender to Integration process.
    2.from Integration process to SNC system.
    3. from Integration process to Asyn Receiver System.
    Create 3 Interface determination.
    Specify Operation mapping while you are creating interface determination from Integration Process to Syn BS.
    Create one sender agreement
    Create two Receiver agreement.
    Regards
    Kubra Fatima.

  • XML File size changed

    Hi, All:
    I wondering why the XML file size changed after go through DB using CLOB. The original size is 1KB, but after I use the PUT and GET method, the size changed to 8KB. There is a lot of space appened to the content.
    Thanks a lot!

    Can you provide an example of the code you are using for the put / get method. In SQL*PLUS I do not see what you are talking about
    SQL> create or replace directory xmltemp as 'c:\temp'
      2  /
    SQL> drop table xmltest
      2  /
    SQL> host dir c:\temp\testcase.xml
    Volume in drive C has no label.
    Volume Serial Number is 8CC2-E429
    Directory of c:\temp
    02/01/2006  04:48 AM             1,174 testcase.xml
                   1 File(s)          1,174 bytes
                   0 Dir(s)  23,780,163,584 bytes free
    SQL> --
    SQL> host type c:\temp\testcase.xml
    <PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xfiles:8080/home/SCOTT/poSource/x
    sd/purchaseOrder.xsd">
            <Reference>EABEL-20030409123336251PDT</Reference>
            <Actions>
                    <Action>
                            <User>EZLOTKEY</User>
                    </Action>
            </Actions>
            <Reject/>
            <Requestor>Ellen S. Abel</Requestor>
            <User>EABEL</User>
            <CostCenter>R20</CostCenter>
            <ShippingInstructions>
                    <name>Ellen S. Abel</name>
                    <address>300 Oracle Parkway
    Redwood Shores
    CA
    94065
    USA</address>
                    <telephone>650 506 7300</telephone>
            </ShippingInstructions>
            <SpecialInstructions>Counter to Counter</SpecialInstructions>
            <LineItems>
                    <LineItem ItemNumber="1">
                            <Description>Samurai 2: Duel at Ichijoji Temple</Description>
                            <Part Id="37429125526" UnitPrice="29.95" Quantity="3"/>
                    </LineItem>
                    <LineItem ItemNumber="2">
                            <Description>The Red Shoes</Description>
                            <Part Id="37429128220" UnitPrice="39.95" Quantity="4"/>
                    </LineItem>
                    <LineItem ItemNumber="3">
                            <Description>A Night to Remember</Description>
                            <Part Id="715515009058" UnitPrice="39.95" Quantity="1"/>
                    </LineItem>
            </LineItems>
    </PurchaseOrder>
    SQL> --
    SQL> create table xmltest of xmltype
      2  /
    SQL> insert into xmltest values (xmltype(bfilename('XMLTEMP','testcase.xml'),nls_charset_id('AL32UTF8'),null,1,1))
      2  /
    SQL> commit
      2  /
    SQL> select dbms_lob.getLength(value(x).getClobVal())
      2    from xmltest x
      3  /
                                         1193
    SQL> set long 100000
    SQL> set echo off
    SQL> set pages 0
    SQL> set lines 150
    SQL> set heading off
    SQL> set feedback off
    SQL> set trimspool on
    SQL> spool c:\temp\testcase.xml.out
    SQL> --
    SQL> select object_value
      2    from xmltest
      3  /
    <PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xfiles:8080/home/SCOTT/poSource/x
    sd/purchas
    eOrder.xsd">
      <Reference>EABEL-20030409123336251PDT</Reference>
      <Actions>
        <Action>
          <User>EZLOTKEY</User>
        </Action>
      </Actions>
      <Reject/>
      <Requestor>Ellen S. Abel</Requestor>
      <User>EABEL</User>
      <CostCenter>R20</CostCenter>
      <ShippingInstructions>
        <name>Ellen S. Abel</name>
        <address>300 Oracle Parkway
    Redwood Shores
    CA
    94065
    USA</address>
        <telephone>650 506 7300</telephone>
      </ShippingInstructions>
      <SpecialInstructions>Counter to Counter</SpecialInstructions>
      <LineItems>
        <LineItem ItemNumber="1">
          <Description>Samurai 2: Duel at Ichijoji Temple</Description>
          <Part Id="37429125526" UnitPrice="29.95" Quantity="3"/>
        </LineItem>
        <LineItem ItemNumber="2">
          <Description>The Red Shoes</Description>
          <Part Id="37429128220" UnitPrice="39.95" Quantity="4"/>
        </LineItem>
        <LineItem ItemNumber="3">
          <Description>A Night to Remember</Description>
          <Part Id="715515009058" UnitPrice="39.95" Quantity="1"/>
        </LineItem>
      </LineItems>
    </PurchaseOrder>
    SQL> spool off
    SQL> --
    SQL> set echo on
    SQL> host dir c:\temp\testcase.xml.out
    Volume in drive C has no label.
    Volume Serial Number is 8CC2-E429
    Directory of c:\temp
    06/11/2006  01:53 PM             1,313 testcase.xml.out
                   1 File(s)          1,313 bytes
                   0 Dir(s)  23,780,163,584 bytes free
    SQL> --
    SQL> host type c:\temp\testcase.xml.out
    SQL> --
    SQL> select object_value
      2    from xmltest
      3  /
    <PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xfiles:8080/home/SCOTT/poSource/x
    sd/purchas
    eOrder.xsd">
      <Reference>EABEL-20030409123336251PDT</Reference>
      <Actions>
        <Action>
          <User>EZLOTKEY</User>
        </Action>
      </Actions>
      <Reject/>
      <Requestor>Ellen S. Abel</Requestor>
      <User>EABEL</User>
      <CostCenter>R20</CostCenter>
      <ShippingInstructions>
        <name>Ellen S. Abel</name>
        <address>300 Oracle Parkway
    Redwood Shores
    CA
    94065
    USA</address>
        <telephone>650 506 7300</telephone>
      </ShippingInstructions>
      <SpecialInstructions>Counter to Counter</SpecialInstructions>
      <LineItems>
        <LineItem ItemNumber="1">
          <Description>Samurai 2: Duel at Ichijoji Temple</Description>
          <Part Id="37429125526" UnitPrice="29.95" Quantity="3"/>
        </LineItem>
        <LineItem ItemNumber="2">
          <Description>The Red Shoes</Description>
          <Part Id="37429128220" UnitPrice="39.95" Quantity="4"/>
        </LineItem>
        <LineItem ItemNumber="3">
          <Description>A Night to Remember</Description>
          <Part Id="715515009058" UnitPrice="39.95" Quantity="1"/>
        </LineItem>
      </LineItems>
    </PurchaseOrder>
    SQL> spool off
    SQL> --
    SQL>
    SQL>Also, if I do a WebDav or FTP put/get I do not see a problem either.
    C:\TEMP>ftp
    ftp> open localhost 2100
    Connected to mdrake-lap.
    220- mdrake-lap
    Unauthorised use of this FTP server is prohibited and may be subject to civil and criminal prosecution
    220 mdrake-lap FTP Server (Oracle XML DB/Oracle Database) ready.
    User (mdrake-lap:(none)): scott
    331 pass required for SCOTT
    Password:
    230 SCOTT logged in
    ftp> cd /public/testdir
    250 CWD Command successful
    ftp> rm testcase.xml
    550 /public/testdir/testcase.xml : Not a directory.
    ftp> del testcase.xml
    250 DELE Command successful
    ftp> put testcase.xml
    200 PORT Command successful
    150 ASCII Data Connection
    226 ASCII Transfer Complete
    ftp: 1174 bytes sent in 0.02Seconds 73.38Kbytes/sec.
    ftp> ls -l
    200 PORT Command successful
    150 ASCII Data Connection
    -rw-r--r--   1 SCOTT    oracle      1174 JUN 11 11:01 testcase.xml
    226 ASCII Transfer Complete
    ftp: 68 bytes received in 0.01Seconds 4.53Kbytes/sec.
    ftp> get testcase.xml testcase.xml.out
    200 PORT Command successful
    150 ASCII Data Connection
    226 ASCII Transfer Complete
    ftp: 1174 bytes received in 0.00Seconds 1174000.00Kbytes/sec.
    ftp> !dir testcase.xml
    Volume in drive C has no label.
    Volume Serial Number is 8CC2-E429
    Directory of C:\TEMP
    02/01/2006  04:48 AM             1,174 testcase.xml
                   1 File(s)          1,174 bytes
                   0 Dir(s)  23,780,032,512 bytes free
    ftp> !dir testcase.xml.out
    Volume in drive C has no label.
    Volume Serial Number is 8CC2-E429
    Directory of C:\TEMP
    06/11/2006  02:01 PM             1,174 testcase.xml.out
                   1 File(s)          1,174 bytes
                   0 Dir(s)  23,780,032,512 bytes free
    ftp> quit
    221 QUIT Goodbye.
    C:\TEMP>

  • How to find the XML file size in the scenarios?

    Hi All,
    Recently i have attended an interview at a MNC.
    They asked some realtime questions like
    1.how to find the XML document size in a File-File scenario?
    2.What is mass-assignment replication etc.....
    Can anybody tell me the solution for these.
    Best regards
    Hari prasad

    If the input is a flat file, there is no exact way to calculate the size of the generated XML file, since it depends on many factors (number of fields in the recordsets, size of the name of the fields, number of records, etc).
    As a rule of thumb, generally ppl use XML file size = 2 x Flat file size, in order to do sizing calculations etc. But again, that is just an estimation, not a precise calculation.
    Regards,
    Henrique.

  • Maximum XML file size that can parsed with c++ XML parser

    Hi!
    what is the maximum file size that can be parsed using the xml parser(version 1) for c++ on linux .
    i'm getting an error(error no 231) when i try to parse an XML file of 3MB on Red Hat Linux 6.1
    Regards
    anjana

    moving to xml db forum

  • File size increase with Camera Raw

    I have a bunch of scanned .tif files. If I open them in Photoshop (cs5) then resave them the file size stays the same. If I open them in Camera Raw then "Open Image" to enter Photoshop, the file size doubles (both the size reported by Photoshop and the  file size if I "save as").
    Any idea why this happens?
    The .tif files are not compressed. The same thing happens if I go through Lightroom.
    Thanks
    Diane

    It's likely you have ACR/LR set to open images as 16 bit rather than 8 bit...

  • Why Such a Huge Photoshop File Size Increase When Saving In CC from other versions?

    Hello,
    I have limited experience in Photoshop, and am working with a file with two other people.  We are creating web comic pages.  The line artist and colorist are both using CS 6.  I have CC.  The file I receive from them is around 238MB.  If I open it and make even the slightest edit, Photoshop will not save it as it warns that the file size is too large (greater than 2GB!).  How does this happen?  Is it something in my preferences that causes 10x increase in file size?
    Any help is appreciated.
    Thanks!

    Thanks for replying. First I didn't have this problem in the beginning. I do the same in CS5 and I can do it with no problem.

  • File size increase after installing LCD ES v8.2.1 (CS3.3)

    Hi,<br /><br />Problem:<br />The file size of a LCD v8.0 form increases significantly when opened + saved in LiveCycle Designer ES v8.2.1.<br /><br />A Dynamic XML form, targeted at Reader 7 & up, build in LiveCycle Designer 8.0.?, has a file size of 75 kB.<br /><br />Our company has upgraded to Creative Suite 3.3, which is shipped with Acrobat Pro 9.0, and, apparently, LiveCycle Designer ES v8.2.1.<br />The installation removes the previous version of LCD.<br /><br />If I just open and save the form in this new LCD, the file size becomes 473 kB.<br />The XML-tab shows some additional rows, in the <config> part, but not enough for 400kB of extra code.<br /><br />Further specs:<br />- Windows XP Pro SP3, fully patched;<br />- Creative Suite 3.3, updated.<br /><br />Anyone a solution, work-around, some info?

    SOLVED!
    Don't embed fonts...
    I was too hasty.
    (did'nt even know you could embed the fonts in LCD)

Maybe you are looking for

  • How do i  change print size?

    when printing a pdf i try to save paper by printing two sheets to a page . the result is large margins on both sides and in the middle and top and bottom with the print area reduced in size and the print so small it is very difficult to read. i can't

  • How do I add to a Captivate 8 Video Demo

    I recently upgraded from Captivate 7 to 8. I have created a number of Video Demos in Captivate 7. I tried creating my 1st one in version 8 and am struggling with how to add to the end of the Video Demo. I usually create in segments, break, plan the n

  • Help With Broken screen

    Ya so i just got my iPod and it has a messed up screen. It has vertical lines where the pixels don't work. What should i, i just got it do you think they can reimburse me

  • File read write

    Hi guys: its an easy question so i will explain as simply and as elborately as possible: i am reading from a file public void appendFile() {     try {       BufferedReader in = new BufferedReader(new FileReader("temp\\text.txt"));       BufferedWrite

  • IDOC Inbound and Outbound

    Please let me know How to handle IDOC inbound and Outbound preferably with example. I am new to it.