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: Re: exit XML suing .xsd schema Date: Mon, 19 May 2014 22:00:57 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1400537939 334 80.91.229.3 (19 May 2014 22:18:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2014 22:18:59 +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:18:52 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 1WmVtO-0008Sl-4f for geh-help-gnu-emacs@m.gmane.org; Tue, 20 May 2014 00:18:46 +0200 Original-Received: from localhost ([::1]:50471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmVtK-0006cv-U9 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 May 2014 18:18:42 -0400 Original-Path: usenet.stanford.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: dsl.comtrol.com Original-X-Trace: reader1.panix.com 1400536857 6995 64.122.56.22 (19 May 2014 22:00:57 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 19 May 2014 22:00:57 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:205495 X-Mailman-Approved-At: Mon, 19 May 2014 18:18:33 -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:97764 Archived-At: On 2014-05-19, Grant Edwards 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??