unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Grant Edwards <invalid@invalid.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: exit XML suing .xsd schema
Date: Mon, 19 May 2014 22:00:57 +0000 (UTC)	[thread overview]
Message-ID: <llduup$6qj$1@reader1.panix.com> (raw)
In-Reply-To: lldspt$1vc$1@reader1.panix.com

On 2014-05-19, Grant Edwards <invalid@invalid.invalid> wrote:

> 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.

Yow, did I butcher the subject line in my OP.

>   $ 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

I went through the .rng file and changed those names like this:
  "any(lax:##other)6" -> "any_other_6"

That seems to have made trang happy and nxml seems to be verify files
(mostly) using the resulting .rnc.

-- 
Grant Edwards               grant.b.edwards        Yow! Why are these athletic
                                  at               shoe salesmen following
                              gmail.com            me??


      reply	other threads:[~2014-05-19 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19 21:24 exit XML suing .xsd schema Grant Edwards
2014-05-19 22:00 ` Grant Edwards [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='llduup$6qj$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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).