473,503 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2866


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
1539
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
22406
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
1720
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
1619
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
17812
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
1271
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
2313
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
4516
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
2259
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
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7084
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7458
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.