Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8904037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:01:14+00:00 2026-06-15T02:01:14+00:00

I searched google for fixed format file (FFF) and got these to results: pcsupport.about.com/od/fileextensions/f/fixed-file.htm

  • 0

I searched google for fixed format file (FFF) and got these to results:

  • pcsupport.about.com/od/fileextensions/f/fixed-file.htm
  • http://www.softinterface.com/Convert-XLS%5CFeatures%5CFixed-Width-Text-File-Definition.htm

I am not sure which one is a fixed format file. Is the second one FFF or its something else ?

What problems did FFF solve and how does XML solve them better than FFF ?
Are there any disadvantages of XML format when compared to FFF ?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:01:15+00:00Added an answer on June 15, 2026 at 2:01 am

    The biggest advantage of a FFF over XML is built-in capability of index-based random-access. The contra-positive is obvious, the biggest disadvantage of XML compared to FFF is the linear fashion in which it must be parsed.

    Suppose you have a data file holding person records. The records can hold an id, name, address, and telephone number.

    Fixed Format

    ID          : 8 chars
    Surname     : 36 chars
    Firstname   : 36 chars
    Address     : 100 chars
    Phone       : 20 chars
    -----------------------
    Total Space: 200 chars
    

    XML Format (contrived, could be a number of formats)

    <Person id="...">
       <Surname>...</>
       <Firstname>...</>
       <Address>...</>
       <Phone>...</>
    </Person>
    
    Total Space : Variant
    

    Now, suppose this has 1000 “records” Lets see how difficult it is to get to the 600th person record with both forms.

    Fixed Format

    Offset = (600-1)*200 = 119800 bytes
    fseek() + fread() = done
    

    XML Format

    Um..... 
    

    XML’s biggest forte is extensibility (that X didn’t come from nothing). XML makes a fantastic data-snippet, RSS feed, configuration file, etc. It is easy to emit without special libraries and only basic knowhow, and can be reasonable in storage space (so long as you don’t go <LoveThoseSuperDuperLongElementNames> nuts). It is easy to understand, backed by boatloads of standards, and just about everyone that’s anyone has an XML parser in their toolkit. Universal “understanding” is just a schema document (DTD for the old-schoolers) away, as is validation, etc.

    But XML’s biggest downside has been, is now, and until quantum computing leaps a long way, always will be: speed. XML is a terrible throughput-mandated storage system.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've searched Google about this specific exception and multiple results have surfaced but I
I have searched on google about how to get started with the dependency property
I searched Google on how to do this, and I got the following link:
I searched Google search APIs and didn't find a way to get a website
I've searched Google for awhile now, doesn't seem like I am correctly searching it
I've searched google and SO for a solution to this problem but have not
I have searched google and exhausted a fair bit of my time trying to
I searched in Google to find the differences between a case class and a
I've searched on google and haven't been able to come up with a solution.
I have searched around Google and StackOverflow trying to find a solution to this,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.