473,322 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Valid an XML document with XSD schema

Hi,

I'm looking for tools which can valid an XML document with and XSD
schema.
I'm using Eclipse and I don't know how to do that and if I can ?

Thanks,

Laurent Duretz

Nov 23 '05 #1
5 1500


me****@duretz.net wrote:
I'm looking for tools which can valid an XML document with and XSD
schema.
I'm using Eclipse and I don't know how to do that and if I can ?


Eclipse is written in Java (as far as I know) so chances are someone has
written some plugin using one of the schema aware validating parsers
implemented in Java (like Xerces Java from xml.apache.org).
Java 1.5 even integrates some version of Xerces as the standard parser
so all you need to do is write some Java code against the Java 1.5 API
<http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/validation/package-summary.html>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Nov 23 '05 #2
Hi -

Stylus Studio can validate an XML document against an XML schema:
http://www.stylusstudio.com/open_xsd_validation.html
Unfortunately, it doesn't work with Eclipse - sorry about that.

Sincerely,
The Stylus Studio Team.
http://www.stylusstudio.com
me****@duretz.net wrote:
Hi,

I'm looking for tools which can valid an XML document with and XSD
schema.
I'm using Eclipse and I don't know how to do that and if I can ?

Thanks,

Laurent Duretz


Nov 23 '05 #3
me****@duretz.net wrote:
Hi,

I'm looking for tools which can valid an XML document with and XSD
schema.
I'm using Eclipse and I don't know how to do that and if I can ?

Thanks,

Laurent Duretz


xsltproc is a fast xslt-processor (and free). You can use it by binding it
as external tool.

Maik
Nov 23 '05 #4
See the W3C XML Schema public home page:

http://www.w3.org/XML/Schema.html

ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Nov 23 '05 #5
Maik Seyring said the following on 11/22/2005 09:03 +0200:
me****@duretz.net wrote:
I'm looking for tools which can valid an XML document with and XSD
schema.


xsltproc is a fast xslt-processor (and free). You can use it by binding it
as external tool.


I'm using xsltproc myself, but only as an XSLT processor. I can't find
anything about validation in the man page, other than that "-novalid"
which doesn't load the DTD, but I've never had a validation error with
or without a DTD. How do you use it as a validator?

--
Regards
Harrie
Nov 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Greg | last post by:
Hi everybody, so, I would like to use XML files for some parts of my website. I would like to respect W3C XHTML 1.1 recommendation. Then, I have these two docs : o My XML file: <?xml...
4
by: Jari Kujansuu | last post by:
I can successfully parse XML document using SAX or DOM and I can also validate XML document against schema. Problem is that my program should deal with user-defined schemas which means that when...
2
by: Stanimir Stamenkov | last post by:
I'm trying to find out if it is permissible to include a schema document with absent target namespace to a schema with specified target namespace, and if it is, what are the rules to resolve the...
0
by: CJJ | last post by:
Hi, I have an xml schema that defines a number of complex structures where the elements are in sequence, though not all elements are required. <ComplexXmlSchema> <Node A>value</Node A> <Node...
0
by: DotDidIt | last post by:
Hi Everybody! I developed a Web service with IBM RAD v 6.0.1. After creating the WSDL file i have tried to develop a .Net client. But by using wsdl.exe (1.1.4322) to create a .net c# proxy i...
1
by: GU | last post by:
How can one get a list of enumeration values for a given element in an XML schema? I have been looking at the Schema Object Model, but I'm making very little headway. Can anyone give me a nudge...
1
by: Chris Lieb | last post by:
I have an XML Schema file that I know is correct becuase I currently use it in a VB6 program to validate XML documents. Also, if I load an XML file into VS2005 that is not valid against this...
2
by: Arpan | last post by:
I came across the following statement at http://windowssdk.msdn.microsoft.com/en-us/library/hdf992b8.aspx: Although an XML document is considered to be well formed if it meets all the...
1
by: Thomas | last post by:
Does anyone have a best practices recommendation on writing a valid XML document based on a 3rd party XML schema? I have a working solution but I would like to know if anyone has a better...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.