help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

exit XML suing .xsd schema


From: Grant Edwards
Subject: exit XML suing .xsd schema
Date: Mon, 19 May 2014 21:24:14 +0000 (UTC)
User-agent: slrn/1.0.1 (Linux)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]