brand-zz / jing-trang

Automatically exported from code.google.com/p/jing-trang
Other
0 stars 0 forks source link

fatal: unrecognized input type "xsd" #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I downloaded a xsd schema from http://www.w3.org/1999/xhtml.xsd
2. Then I tried to convert xsd schema to rnc format
3. Error message said that unrecognized input type "xsd"

What is the expected output? What do you see instead?

dove@ ~/Shell/config/emacs.el/trang-20091111
$ java -jar trang.jar xhtml.xsd xhtml..rnc
fatal: unrecognized input type "xsd"

What version of the product are you using? On what operating system?

Trang version is 20091111, OS is WinXP SP3 and Cygwin

$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode, sharing)

Please provide any additional information below.

Original issue reported on code.google.com by dove.yo...@gmail.com on 22 Feb 2010 at 2:28

GoogleCodeExporter commented 9 years ago
Trang does not support XML Schema as input, see also
http://www.thaiopensource.com/relaxng/trang-manual.html#introduction
***
Trang takes as input a schema written in any of the following formats:

    * RELAX NG (XML syntax)
    * RELAX NG (compact syntax)
    * XML 1.0 DTD
***
As you see, there is no mention of XML Schema.

Original comment by georgebina76 on 25 Feb 2010 at 3:13