473,466 Members | 1,360 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Conversion from DTD and W3C to Relax NG

We have a small (~50 line) DTD and a slightly larger (~300 line) W3C
schema that we need to convert to Relax NG. (And I have a larger W3C
schema that I may some day convert.) I was hoping that there would be
some tools to get us started, but the list at http://relaxng.org/#conversion
is not too promising. The one tool that looks like it would actually
do such a conversion, the Sun RELAX NG Converter, appears to have
disappeared from the world (all the web links are dead). (It
admittedly seems to have been buggy, from what I've read.)

But maybe I'm being lazy; maybe it would be better to do the
conversion by hand, since we need to familiarize ourselves with Relax
NG anyway. And these aren't such large files anyway... So: are there
guides to how to convert? (Nothing obvious showed up in Google.) Or
do we have to just get the two kinds of schemas in our heads, at least
for as long as it takes us to do the conversion?

Mike Maxwell
CASL/ U MD
Jun 27 '08 #1
2 1720
* McSwell wrote in comp.text.xml:
>We have a small (~50 line) DTD and a slightly larger (~300 line) W3C
schema that we need to convert to Relax NG. (And I have a larger W3C
schema that I may some day convert.) I was hoping that there would be
some tools to get us started, but the list at http://relaxng.org/#conversion
is not too promising. The one tool that looks like it would actually
do such a conversion, the Sun RELAX NG Converter, appears to have
disappeared from the world (all the web links are dead). (It
admittedly seems to have been buggy, from what I've read.)
Try <https://msv.dev.java.net/>.
--
Björn Höhrmann · mailto:bj****@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Jun 27 '08 #2
On May 22, 5:22 pm, Bjoern Hoehrmann <bjo...@hoehrmann.dewrote:
Try <https://msv.dev.java.net/>.
The Sun Multi-Schema Validator? Oh, I see--there are four other
projects in the downloads not described there, including
'mgconv.zip'. That looks like what I want--thanks!

Mike Maxwell
Jun 27 '08 #3

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

Similar topics

1
by: Olivier Hoarau | last post by:
Hello, I have to validate a xml file, for that I use libxml and its function xmllint which needs the RELAX NG "full" schema of the file. I have only its RelaxNG compact schema, I have to...
6
by: Pieter | last post by:
I've read a lot of posts on "why relax ng is so very good" and on "why w3c xml schema should be the only schema language". I'm, however, still not clear on why I should prefer one over the other. ...
0
by: Henri Sivonen | last post by:
I have written a servlet wrapper and a custom entity resolver for Jing. My code needs to decide whether to instantiate a compact syntax schema reader or an XML syntax schema reader. I would very...
2
by: bauer_markus81 | last post by:
hallo, I have been looking at profound information about the strengths and weaknesses/limitations of Relax NG. I'd be grateful for comments. regards markus b.
5
by: mhuhn.de | last post by:
I am using XML Schema for quite a while but haven't written a single line of Relax NG yet. For what I know, I cannot define static content within an XML Schema. For example, I have the following...
7
by: slitvinov | last post by:
I am learning Relax NG. The problem is that I cannot figure out how to make a schema for a table. In my case I would like to make a table with any name of child elements (columns) but columns...
4
by: withtape | last post by:
Somebody please, please help me. I'm getting started using Relax NG to describe document schemas. After reading the grammar summarized by http://www.relaxng.org/spec-20011203.html (Section 5), I...
1
by: Torsten Munkelt | last post by:
Hi, I want to validate an XML document applying a combination of RELAX NG and Schematron. I have not found an appropriate validator. Would you please send me links to such validators. I would...
15
by: bcpkh | last post by:
Hello All I have a simple task that is driving me crazy. A string representing a duration in the following format is passed to my application, a function is dedicated to convert this duration to...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.