467,886 Members | 1,773 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,886 developers. It's quick & easy.

Schema Object Model (SOM) for Java instead of CSharp/VisualBasic??

As far as I know the Schema Object Model (SOM) is only working for the MSXML Parser together with CSharp
or VisualBasic but not Java.

Is there a similar Tool/Spec/Api for the Java World?

Ken

Jul 20 '05 #1
  • viewed: 2678
Share:
2 Replies


Ken Philips wrote:
As far as I know the Schema Object Model (SOM) is only working for
the MSXML Parser together with CSharp or VisualBasic but not Java.
I think MS has implemented a schema object model in both MSXML (which is
COM based so it can be used with anything on Windows from C++, VB,
J(ava)Script, VBScript, active state Perl) and in .NET (where you can
use it with any .NET language, one of which is J#, the .NET dialect of
Java).
Is there a similar Tool/Spec/Api for the Java World?


The W3C in DOM Level 3 initially did some work on integrating such stuff
into the DOM however as for schemas only a W3C note
http://www.w3.org/TR/2002/NOTE-DOM-Level-3-AS-20020725/
resulted from that work but no W3C recommendation (standard).
There is also a recommendation of a validation module
http://www.w3.org/TR/2004/REC-DOM-Level-3-Val-20040127/
which might be interesting for you.

Besides that you have to look at the different parsers around, Xerces
Java implements an XML schema API as documented at
http://xml.apache.org/xerces2-j/faq-grammars.html#faq-5
though I am not familiar enough with it and the MS SOM to tell you
whether they offer the same features.

I think checking the Oracle XML parser for such APIs is also worth a try.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2
ke****@arcor.com (Ken Philips) wrote in message news:<cd*************@news.t-online.com>...
As far as I know the Schema Object Model (SOM) is only working for the MSXML Parser together with CSharp
or VisualBasic but not Java.

Is there a similar Tool/Spec/Api for the Java World?

Ken


Of course. Microsoft has a tendency to imply that they invented
everything (e.g. WinSock = Berkely sockets).

Take a look at Xalan at http://www.apache.org.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Cy Huckaba | last post: by
reply views Thread by Phani | last post: by
4 posts views Thread by Ganesh Muthuvelu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.