emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#13859: closed (24.3.50; Non-interactive, single sh


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#13859: closed (24.3.50; Non-interactive, single shot validation of XML against rnc files)
Date: Fri, 15 Nov 2013 04:47:03 +0000

Your message dated Fri, 15 Nov 2013 10:16:24 +0530
with message-id <address@hidden>
and subject line Re: bug#13859: 24.3.50; Non-interactive, single shot 
validation of XML against rnc files
has caused the debbugs.gnu.org bug report #13859,
regarding 24.3.50; Non-interactive, single shot validation of XML against rnc 
files
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
13859: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13859
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; Non-interactive, single shot validation of XML against rnc files Date: Sun, 03 Mar 2013 10:51:01 +0530
Is there an API I can call for Non-interactive, single shot validation
of XML against rnc files.

nxml-mode has commands for *interactively* validating XML files against
rnc spec.  It seems that C-c C-n with `rng-validate-mode' on is more
geared toward interactive use - i.e., I see references to timer,
validating only a fraction/chunk of the XML at a time, use of overlays
etc.

Is there a way to validate against a rnc file in a *non-interactive* and
*single-shot* way?  A simple defun that visits an XML file and reports
"file is well-formed" or "file is malformed with first error at this
position" would be good.  (Desirable: Provide "grep-like" compilation
errors for XML files.)

Context: Org mode has HTML and ODT exporters.  It will be nice to
passthrough the exported files to a validator for automatic catching of
errors.

In GNU Emacs 24.3.50.10 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2013-03-03 on debian-6.05
Bzr revision: 111916 address@hidden
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:     Debian GNU/Linux 6.0.5 (squeeze)

Important settings:
  value of $LANG: en_IN
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t




--- End Message ---
--- Begin Message --- Subject: Re: bug#13859: 24.3.50; Non-interactive, single shot validation of XML against rnc files Date: Fri, 15 Nov 2013 10:16:24 +0530 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
OP here. Closed.


--- End Message ---

reply via email to

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