From: Grant Edwards <invalid@invalid.invalid>
To: help-gnu-emacs@gnu.org
Subject: exit XML suing .xsd schema
Date: Mon, 19 May 2014 21:24:14 +0000 (UTC) [thread overview]
Message-ID: <lldspt$1vc$1@reader1.panix.com> (raw)
I need to create/edit some XML files for which I have .xsd schema
files. nxml-mode seems to the preferred way to edit XML in emacs, but
nxml-mode only understands the .rnc schema language.
The general advice seems to be to use rngconv for .xsd->.rng and then
trang for .rng->.rnc.
I was able to convert from .xsd -> .rng using rngconv-20060319, but
the convertion from .rng->.rnc fails:
$ java -jar /home/grant/rngconv-20060319/rngconv.jar asdf.xsd > asdf.rng
$ trang asdf.rng asdf.rnc
/home/nextgen/profinetio/schema/asdf.rng:1112:65: error: "any(lax:##any)" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:1213:60: error: "any(lax:##other)6" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:1220:37: error: "any(lax:##other)" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:1237:59: error: "any(lax:##other)" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:1255:35: error: "any(lax:##any)" is not a valid local name
[...]
/home/nextgen/profinetio/schema/asdf.rng:2661:55: error: "any(lax:##other)" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:2844:56: error: "any(lax:##other)3" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:2874:38: error: "any(lax:##other)8" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:2891:60: error: "any(lax:##other)8" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:2952:38: error: "any(lax:##other)9" is not a valid local name
/home/nextgen/profinetio/schema/asdf.rng:2969:60: error: "any(lax:##other)9" is not a valid local name
So am I just plain SOL?
If nxml isn't going to be useful, what other XML editor is
recommended for an emacs user?
[Have I mentioned yet how much I hate and despise XML and anything
associated with it?]
--
Grant Edwards grant.b.edwards Yow! Thousands of days of
at civilians ... have produced
gmail.com a ... feeling for the
aesthetic modules --
next reply other threads:[~2014-05-19 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-19 21:24 Grant Edwards [this message]
2014-05-19 22:00 ` exit XML suing .xsd schema Grant Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lldspt$1vc$1@reader1.panix.com' \
--to=invalid@invalid.invalid \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.