[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: I think XML tools should handle XML files up to 2^64bytes

  • From: David Carlisle <d.p.carlisle@gmail.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Tue, 13 Nov 2018 16:43:14 +0000

Re:  I think XML tools should handle XML files up to 2^64bytes
On Tue, 13 Nov 2018 at 13:32, Costello, Roger L. <costello@mitre.org> wrote:
>
> Hi Folks,
>
> I think XML tools (e.g., XML parsers, schema validators, XSLT processors) should handle XML files up to 2^64 bytes in size.
>
> 2^64 = 18,446,744,073,709,551,616 (20 digits)
>
> Why that number? Here's why:

None of the reasons given below appear to apply to XML though.

Firstly why count the size in bytes? The file size in bytes is rather
secondary to almost all the Unicode based processing
secondly what internal structures have you in mind that mean that you
ever need to reference a byte count as a
"single word on a 64-bit processor"?
You might internally index elements or attributes or nodes or
something and so the total number of such nodes might
need to be below some type-specific value, but why the file size?

Once files get above a certain size then you would hopefully be able
to process them in a streaming fashion and have no upper limit
on the total size of the document.


David

>
> The number 2^64 is:
>
> The number of distinct values representable in a single word on a 64-bit processor. Or, the number of values representable in a doubleword on a 32-bit processor. Or, the number of values representable in a quadword on a 16-bit processor, such as the original x86 processors.
>
> The range of a long variable in the Java and C# programming languages.
>
> The range of a Int64 or QWord variable in the Pascal programming language.
>
> The total number of IPv6 addresses generally given to a single LAN or subnet.
>
> Thoughts?
>
> https://www.quora.com/How-big-is-2-power-64
>
> /Roger
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.