[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: [Summary] Eager and Just-in-Time loading of XML Schema doc
- From: Michael Glavassevich <mrglavas@ca.ibm.com>
- To: xml-dev@lists.xml.org
- Date: Sun, 8 Aug 2010 00:12:17 -0400
Mukul Gandhi <gandhi.mukul@gmail.com> wrote on 08/07/2010 10:00:56 PM:
> On Sat, Aug 7, 2010 at 11:11 PM, Michael Kay <mike@saxonica.com> wrote:
> > (Saxon actually creates the FSA for each complex type in the schema eagerly,
> > rather than waiting until an instance of that type needs to be validated.
>
> I'm not sure how you model the FSA for a complex type. But I think,
> Xerces-J implements an object model corresponding to [1] for a schema
> complex type.
That's part of Xerces' schema component API. This is for end users. Xerces talks directly to the implementation of XSComplexTypeDefinition which contains a deterministic FSA used for validating instances, checking UPA and possibly also XML Schema 1.1's type restriction rules in the future.
If you turn off UPA checking [2] creation of these FSAs is deferred until the complex types are actually used to validate an instance. Even with UPA checking on sometimes Xerces can build a much smaller FSA which is sufficient for checking UPA and then builds the full one later if it is required for instance validation.
> [1] : http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/
> xerces/xs/XSComplexTypeDefinition.html
>
> --
> Regards,
> Mukul Gandhi
>
> _______________________________________________________________________
>
> 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
Thanks.
[2] http://xerces.apache.org/xerces2-j/features.html#validation.schema-full-checking
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
- References:
- [Summary] Eager and Just-in-Time loading of XML Schema documents,compiled documents, enhancing performance, streaming
- From: "Costello, Roger L." <costello@mitre.org>
- Re: [Summary] Eager and Just-in-Time loading of XML Schema documents, compiled documents, enhancing performance, streaming
- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- Re: [Summary] Eager and Just-in-Time loading of XML Schema documents, compiled documents, enhancing performance, streaming
- From: Michael Glavassevich <mrglavas@ca.ibm.com>
- Re: [Summary] Eager and Just-in-Time loading of XML Schema documents, compiled documents, enhancing performance, streaming
- From: Michael Kay <mike@saxonica.com>
- Re: [Summary] Eager and Just-in-Time loading of XML Schema documents, compiled documents, enhancing performance, streaming
- From: Mukul Gandhi <gandhi.mukul@gmail.com>
[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!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
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.
|
|