Hi Sandy, Thank you very much for your descriptive response. It's very useful. I'll come up with an analysis with further findings/questions of mine, hope you all will help me to fill the gaps on it such that I can get up-to speed.
Regards, --Kasun PS: We are having exams at university until coming Tuesday, 22nd. So I wasn't able to focus much on this these days. I'll fully concentrate on this during vacation (after 22nd). On Wed, Mar 9, 2011 at 4:14 AM, Sandy Gao <sandy...@ca.ibm.com> wrote: > Kasun, > > Michael has provided some useful thoughts for this topic. I'll add a couple > more. > > As you may have already noticed, PSVI is discussed in the 3.x.5 sections in > the spec. Xerces implemented the full PSVI for schema 1.0, so the Schema 1.1 > work only need to worry about PSVI properties that changed between 1.0 and > 1.1. There is a "diffed" version of the spec [1]. If you look at sections > 3.2.5, 3.3.5, and 3.4.5, you should see most of the PSVI changes. You may > want to take a look there and compare against the PSVI interfaces (ItemPSVI, > ElementPSVI, and AttributePSVI) to see what's missing. > > Some of the properties will be quite interesting to implement, e.g. > [subsequence-valid], [local element validity], [local type validity], and > [descendent validity]. It may very well take 2 months to have a well-tested > implementation for all these, especially since you'll likely spend some time > coming up to speed with the specification and the current implementation. > > I would not recommend including the other half of PSVI (the XSModel API > Michael mentioned [2]) in the project, both because it may make the work too > big to fit in 2 months, and also it's more interface design than coding, > which can easily span much longer than 2 months. > > [1] > http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.diff-1.0.html > [2] http://xerces.apache.org/xerces2-j/javadocs/xs/index.html > > Thanks, > Sandy Gao > XML Technologies, IBM Canada > Editor, *W3C XML Schema WG* <http://www.w3.org/XML/Schema> > (1-905) 413-3255 T/L 313-3255* > **sandy...@ca.ibm.com* <sandy...@ca.ibm.com> > > [image: Inactive hide details for Kasun Gajasinghe ---10/02/2011 02:58:18 > PM---Hi, Arthur, thanks for letting me pick it. Further, I'd]Kasun > Gajasinghe ---10/02/2011 02:58:18 PM---Hi, Arthur, thanks for letting me > pick it. Further, I'd very much appreciate if > > > From: > Kasun Gajasinghe <kasu...@gmail.com> > To: > j-dev@xerces.apache.org, Michael Glavassevich/Toronto/IBM@IBMCA > Cc: > Arthur De Magalhaes/Toronto/IBM@IBMCA, Sandy Gao/Toronto/IBM@IBMCA > Date: > 10/02/2011 02:58 PM > Subject: > Re: [XERCESJ-1362] [GSoC] Implement "Schema 1.1 PSVI Changes" feature as a > GSoC project > ------------------------------ > > > > Hi, > > Arthur, thanks for letting me pick it. Further, I'd very much appreciate if > you can help me to get to know about changes needed to be implemented in the > due course. > > Thanks Michael, I'm going through the code-base thoroughly starting from > the given samples. I see that the code is well-commented, so it's fairly > easier to go through it. I'll ask if I have further questions from the list > if there's any questions related to it. I hope all the devs give a good > corporation. > > Sandy, I see that you are a member of the XML Schema Working Group. So, you > must be having a good understanding about the questions I asked previously > in this thread. So, can you please spend some of your valuable time to > answer the questions I asked before? It'll be really helpful. > > I'm going through the XML Schema 1.1 recommendation to get familiar with > the schema. Frankly, lot of things are not understandable by the first > reading because I'm new to it. But, I'm hoping to constantly go through it > and grab the core concepts of the schema and then the concepts related > to PSVI. I'm glad that there's lot of time ahead until the Google Summer of > Code coding period begins to cover these things. > > Thanks, > --Kasun > > > On Wed, Feb 9, 2011 at 10:18 AM, Michael Glavassevich <* > mrgla...@ca.ibm.com* <mrgla...@ca.ibm.com>> wrote: > > Hi Kasun, > > Kasun Gajasinghe <*kasu...@gmail.com* <kasu...@gmail.com>> wrote on > 02/07/2011 04:55:11 PM: > > > Hi devs, > > > > I'm a final year undergraduate from University of Moratuwa, and am > > interested in applying to Google Summer of Code 2011 with a Xerces2- > > > > > J project. I have some experience in using Xerces, though I'm new to > > the Xerces development. I'm very interested to contribute to Xerces > > as a developer. > > > > I've talked with Michael for a possible GSoC idea, and he suggested > > on implementing features still lack in the XML Schema 1.1 Xerces > > implementation. He pointed towards XERCESJ-1362, "Implementing the > > changes to post-schema-validation-infoset in XML Schema 1.1" > > feature [1] filed at JIRA, assuring it hasn't yet implemented. I'm > > interested in doing this project because it'll probably achieve my > > purpose of getting familiarized with the code-base better. But, I > > see that currently, it's reporter Arthur (De Magalhaes) has assigned > > it to himself. > > > > So, first of all, Arthur, I'd like to know whether you are OK with > > me picking this. Hoping that Arthur wouldn't mind if I pick this, > > I'd like to focus on this idea further. Currently, I'm reading XML > > Schema 1.1 recommendation, and the PSVI changes in Schema 1.1 [1] to > > get a clear idea about what is needed to be implemented. For that, I > > have to understand the current recommendation in XML Schema along > > with implementation of PSVI in Xerces. So, I'd appreciate if someone > > can answer these questions. > > > > 1. Any recommended links/suggestions to get to know about the > > existing PSVI implementation in Xerces, as well as for the XML > > Schema (if any, apart from [1]) > > Xerces has an XML Schema API for accessing and querying the PSVI. The > most recent version of the API is documented on-line here [3]. The > PSVIWriter/PSVIParser [4][5], the xs.QueryXS and xs.XSSerializer samples > demonstrate how to use it. > > > > 2. Where does the PSVI implementation reside in the code so that I > > can begin poking around? It'll help me to get familiar with the > > code-base as well. > > The interfaces are located under org.apache.xerces.xs.*. You'll find > the implementation under org.apache.xerces.impl.xs.* and > org.apache.xerces.impl.dv.xs.* (XSSimpleTypeDecl in particular in the > impl.dv.xs package). > > > > 3. Does the scope of this idea is sufficient/not much/go beyond that > > of the GSoC in your opinion? (in terms of time constraint, > > difficulty level etc. ) > > It's been some time since I've looked at the details for XML Schema > 1.1. Hoping Sandy will answer here. > > > > Any answers regarding any of these questions are very much > appreciated. > > Giving some information about myself and some background; I've > > started studying about Xerces development. These days I'm reading > > the Xerces Native Interface, along with few other references. > > Further, I got the Xerces samples working and now I'm debugging them > > to gain an understanding about the internals. I have already > > participated in GSoC 2010 under DocBook Open Repository, where I > > developed the WebHelp XSL Customization for DocBook documents [2]. I > > have contributed to Apache Axiom's DOM module a little as well. > > > > [1] > *http://www.w3.org/TR/xmlschema11-1/#ch_psvi*<http://www.w3.org/TR/xmlschema11-1/#ch_psvi> > > > [2] > *http://blog.kasunbg.org/search/label/gsoc*<http://blog.kasunbg.org/search/label/gsoc> > > > > Thanks, > > --Kasun > > > > ~~~*******'''''''''''''*******~~~ > > Kasun Gajasinghe, > > University of Moratuwa, > > Sri Lanka. > > Blog: *http://kasunbg.blogspot.com* <http://kasunbg.blogspot.com/> > > Twitter: *http://twitter.com/kasunbg* <http://twitter.com/kasunbg> > > Thanks. > > [3] > *http://xerces.apache.org/xerces2-j/javadocs/xs/index.html*<http://xerces.apache.org/xerces2-j/javadocs/xs/index.html> > [4] > *http://xerces.apache.org/xerces2-j/samples-xni.html#PSVIWriter*<http://xerces.apache.org/xerces2-j/samples-xni.html#PSVIWriter> > [5] > *http://xerces.apache.org/xerces2-j/samples-xni.html#PSVIParser*<http://xerces.apache.org/xerces2-j/samples-xni.html#PSVIParser> > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: *mrgla...@ca.ibm.com* <mrgla...@ca.ibm.com> > E-mail: *mrgla...@apache.org* <mrgla...@apache.org> > > > -- ~~~*******'''''''''''''*******~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://kasunbg.blogspot.com Twitter: http://twitter.com/kasunbg
<<ecblank.gif>>
<<graycol.gif>>