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 5 1517 me****@duretz.n et 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/ me****@duretz.n et 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
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]
Maik Seyring said the following on 11/22/2005 09:03 +0200: me****@duretz.n et 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?>
|
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 I parse some element from XML document I don't know until
runtime the
type of the element (it depends on the type used in user-defined
schema). XML
parser obviously validates that the value of the element is correct type but
still I receive that...
|
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
target namespace of the components from the included schema document.
I'm confused because of the rules I read in the XML Schema spec
<http://www.w3.org/TR/xmlschema-1/#element-element>:
> If the <element> element information item has <schema>...
|
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 B>value</Node B>
<Node C>value</Node C>
</ComplexXmlSchema>
I am looking for a way to populate this xml document in random order,
|
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 get the
following error message:
Schema parsing error Namespace 'http://session.ejbs.cac.commerce.com'
is not available to be referenced in this schema.
Schema parsing error Namespace 'http://session.ejbs.cac.commerce.com'
| |
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 in the right
direction?
Specifically, I am using Actions Pane to assist in creating a WordML
document. For elements with enumerated values, I want to provide the
user with the list of valid values from the schema. For example, if I
have an...
|
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 schema, I get XML
errors (blue squigglies) in a few places, which indicates to me that I
should get validation errors while validating through code.
When I try to validate an invalid document, I never get any validation
errors. I have tried many...
|
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 syntactical requirements defined by the World Wide Web
Consortium (W3C) Extensible Markup Language (XML) 1.0 Recommendation,
it is not considered valid unless it is well formed and also conforms
to the constraints defined by its DTD or schema. Therefore,...
|
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 approach.
My solution:
1) Pull the data from the database into datatables (in my case, this
is DB2).
2) Validate all required data columns (I've written a method that
iterates through all the datatables rows and throws an exception if
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |