Hi Kasun,

Kasun Gajasinghe <[email protected]> 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
> [2] http://blog.kasunbg.org/search/label/gsoc
>
> Thanks,
> --Kasun
>
> ~~~*******'''''''''''''*******~~~
> Kasun Gajasinghe,
> University of Moratuwa,
> Sri Lanka.
> Blog: http://kasunbg.blogspot.com
> Twitter: http://twitter.com/kasunbg

Thanks.

[3] http://xerces.apache.org/xerces2-j/javadocs/xs/index.html
[4] http://xerces.apache.org/xerces2-j/samples-xni.html#PSVIWriter
[5] http://xerces.apache.org/xerces2-j/samples-xni.html#PSVIParser

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]

Reply via email to