You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Umesh <Um...@Sun.COM> on 2008/07/14 13:40:20 UTC

DOM Level 3 validation implementation?

Hi

I am working on a product and use JDK 1.5 api to parse and modify XML 
objects. Recently a requirement came up where I have to modify XML which 
should always comply with schema. After doing some investigation, I 
found out that w3c dom level 3 validation specs talks about the same 
(http://www.w3.org/TR/DOM-Level-3-Val/validation.html). But I am unable 
to find any implementation for the above spec. Even Xerces latest 
version (2.9.1) doesn't seem to implement this spec. I would like to 
know if any one has come across similar situation and found a solution. 
Also why has Xerces not provided any implementation till date given the 
fact that this is pretty old specification (2004 I suppose). I came 
across Oracle XDK which seems to have implemented this validation spec, 
but I don't think it would be correct way to go.

Thanks
Umesh

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: DOM Level 3 validation implementation?

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hi Umesh,

Umesh.Wankhede@Sun.COM wrote on 07/14/2008 07:40:20 AM:

> Hi
>
> I am working on a product and use JDK 1.5 api to parse and modify XML
> objects. Recently a requirement came up where I have to modify XML which
> should always comply with schema. After doing some investigation, I
> found out that w3c dom level 3 validation specs talks about the same
> (http://www.w3.org/TR/DOM-Level-3-Val/validation.html). But I am unable
> to find any implementation for the above spec. Even Xerces latest
> version (2.9.1) doesn't seem to implement this spec. I would like to
> know if any one has come across similar situation and found a solution.
> Also why has Xerces not provided any implementation till date given the
> fact that this is pretty old specification (2004 I suppose).

Users have not expressed much interest (at least not in the Apache forums)
and no one has ever volunteered to do the work in Xerces. At least a few
folks [1][2] in the community have made attempts at an implementation for
themselves but didn't get very far.

As I said the last time someone asked about an implementation of this spec,
I only see this getting done if those who are most interested in an
implementation in Xerces volunteer to do the work. I'm one of the few
active developers around here these days and don't have the kind of time I
used to for tackling new features and already have other things (e.g. JAXP
1.4, StAX, XML Schema 1.1) which I'm helping to push forward (albeit
slowly) when I do find some time. We really need more help from the
community.

> I came across Oracle XDK which seems to have implemented this validation
> spec, but I don't think it would be correct way to go.
>
> Thanks
> Umesh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org

Thanks.

[1]
http://mail-archives.apache.org/mod_mbox/xerces-j-users/200510.mbox/%3c4343A89F.1010006@embracemobile.com%3e
[2]
http://mail-archives.apache.org/mod_mbox/xerces-j-dev/200704.mbox/%3cOFC1626CA1.24B5CDED-ON852572C7.004A1845-852572C7.004FDB93@ca.ibm.com%3e

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org