A brief search shows that all available (uUnix command line) tools that convert from xsd (XML Schema) to rng (RelaxNG) or rnc (compact RelaxNG) have problems of some sort.>
Again, regarding editors: I see that there's no way to do this with Oxygen which seems to be a popular tool.