Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: The usage of

From: "mavis" <donghuad@-----.--->
To: NULL
Date: 6/1/2006 10:02:00 AM

I guess whether it is in order does make difference..


Joe Kesselman wrote:
> mavis wrote:
> > But I alway think that is not a good schema definition for XML files,
> > and it must influence the writing and reading performance of these set
> > of elements if there are large amounts of sub-elements.
>
> If there are many sub-elements, it takes more time to read them than if
> there are only a few. The use of maxOccurs="unbounded" (or simply not
> specifying maxOccurs at all) doesn't change that. If anything, unbounded
> might reduce parsing cost because there's no need to maintain a counter
> and check whether it has been exceeded.
>
> You're wasting time trying to micro-optimize the wrong things.
>
>
>
> --
> () ASCII Ribbon Campaign  | Joe Kesselman
> /\ Stamp out HTML e-mail! | System architexture and kinetic poetry



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent