From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Grant Edwards Newsgroups: gmane.emacs.help Subject: exit XML suing .xsd schema Date: Mon, 19 May 2014 21:24:14 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1400536964 17554 80.91.229.3 (19 May 2014 22:02:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2014 22:02:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 20 00:02:36 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WmVdi-0003tT-2O for geh-help-gnu-emacs@m.gmane.org; Tue, 20 May 2014 00:02:34 +0200 Original-Received: from localhost ([::1]:50413 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmVdh-00035g-E3 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 May 2014 18:02:33 -0400 Original-Path: usenet.stanford.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Followup-To: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: dsl.comtrol.com Original-X-Trace: reader1.panix.com 1400534654 2028 64.122.56.22 (19 May 2014 21:24:14 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 19 May 2014 21:24:14 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:205494 comp.emacs:102979 X-Mailman-Approved-At: Mon, 19 May 2014 18:02:24 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97763 Archived-At: 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 --