472,951 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 software developers and data experts.

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
2 2847


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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: tgtt | last post by:
the schema is: http://www.web3d.org/specifications/x3d-3.0.xsd when use SOM to load as: .... SchemaCache = new ActiveXObject("Msxml2.XMLSchemaCache.4.0"); SchemaCache.add("","x3d-3.0.xsd");...
3
by: Cy Huckaba | last post by:
I have been looking around for a sample on how to read an XSD schema and iterate through the elements to display them. I am working in VB.Net and I have looked at all of the docs on msdn and can...
3
by: Rohit Sharma | last post by:
Hi all.. ..NET + MSXML platform....VB Need to build a list of all the entities and attributes to allow the user to do search...how can i do that from the schema ?? Cheers Rohit
2
by: JMonnin | last post by:
I'm using an XmlValidatingReader to read an XML document and parse it against my schema. While I'm reading each node, I need to determine if the schema allows an ID attribute for the node. The ID...
2
by: comic_rage | last post by:
how do you add a comment line/section to an xml schema xsd file? like this <!-- =============================================================== --> <!-- =================== My comment line ...
0
by: Sven Mayer | last post by:
I am searching for a sample source code which shows how to traverse a XML/XSD schema with SOM (Schema object model) and MSXML Sven
0
by: Phani | last post by:
Hi All, I have 3 questions here: 1) Problem creating a SPFolder object: I am trying to create a SPFolder object for a document/picture library using the following code with SOM
4
by: Ganesh Muthuvelu | last post by:
Hello, Let us say that I have a schema or complex type like this one below: Is there a way programtically or a tool to create sample XML file/data for the schema?. I have number of such complex...
5
by: Sek | last post by:
Hi Folks, I would like to create a XML file that adhere to the Schema definition files. My schema definition files import/include further XSD files and internal references can be to a depth...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.