Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Re:overriding the schema at runtime..

From: Michael Glavassevich <mrglavas@--.---.--->
To: "Pete Cordell" <petexmldev@---------.--->
Date: 4/8/2008 3:30:00 AM
"Pete Cordell" <petexmldev@c...> wrote on 04/07/2008 02:45:37 PM:

> There's no real way to override processContents="strict".  I think you
just
> have to accept that the schema contains a bug in it.  As it happens using

> processContents = 'skip' is also the right way to go for including
elements
> with namespaces.
>
> One other thing, I've seen some reports of processors having problems
with
> schemas that specify specific, but high values for maxOccurs (e.g. 50 as
> opposed to unbounded).  This is because they try to build a state machine

> with as many states as maxOccurs dictates.

Worth noting that some of these processors have since changed the way that
they check maxOccurs. For instance Xerces-J used to always build up a state
machine proportional to the size of maxOccurs. Now it represents these with
a single state for simple cases (e.g. maxOccurs > 1 on
xs:element/xs:wildcard) which loops with a counter to track how many
instances there are.

> I'm not sure at the point where the problems start arising, so maybe 50
> is OK.  Just thought I'd mention it as something to bear in mind!
>
> HTH,
>
> Pete Cordell
> Codalogic
> For XML C++ data binding visit http://www.codalogic.com/lmx/

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@c...
E-mail: mrglavas@a...


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