I am going to convert relaxng compact file to xsd. So the command to user here would be:
java -jar tang.jar test.rng newtest.xsd
My question here is as follow: I have several rnc file in which some of them have the reference to another rnc file. For example I have test1.rnc as follow:
start= test
test =
element test {
(element ref {xsd:anyURL}?,
element links {
element link {
attribute handle {text},
attribute id {text}
}*
}?,
element name { text }?,
external "util/phone.rnc"?
}
and in the util folder I have phone.rnc which is like this:
start = phone
phone =
element phone {
element number {
element phonenumber {text }'
element type { text }?
},
}
So my question is that how can I convert them to xsd in a correct way?
I tried trang but got test.rnc:29:6: error: sorry, externalRef is not yet supported