unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* online conversion support from xsd to rng?
@ 2010-11-30  9:37 joakim
  2010-12-01  9:57 ` joakim
  2010-12-07 17:18 ` Chong Yidong
  0 siblings, 2 replies; 16+ messages in thread
From: joakim @ 2010-11-30  9:37 UTC (permalink / raw)
  To: Emacs developers

It occurred to me that the Nxml mode in Emacs isn't as useful as it could
be. Nxml supports rng schema descriptors(relax ng). Xml files are usually
described by xsd files such as this one:
http://maven.apache.org/xsd/maven-4.0.0.xsd.

So, if I could convert a xsd to a rng on the fly, I could immediately
have function completion and validation on a number of xml documents. 

James Clark(the original author of the nxml mode) wrote a utility called
Trang: http://www.relaxng.org/#conversion

This could presumably be run online somewhere and provide the needed
service for Emacs, more conveniently than having to install the program
locally. (Trang is a free software Java program compilable with GCJ)

This raises a number of questions:

- do we want Emacs to have this type of facility at all? (I would say
yes, provided we solve a number of problems)

- how do we ensure this backend(and future other backends) are free
software?

- what would the backend interface look like? Maybe we could generate
ELPA packages on the fly?


-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-12-11  2:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30  9:37 online conversion support from xsd to rng? joakim
2010-12-01  9:57 ` joakim
2010-12-07 17:18 ` Chong Yidong
2010-12-07 22:42   ` joakim
2010-12-08  1:31     ` Thien-Thi Nguyen
2010-12-08  8:19       ` joakim
2010-12-08 15:58         ` Thien-Thi Nguyen
2010-12-08 10:45       ` Andrew W. Nosenko
2010-12-08 15:54         ` Thien-Thi Nguyen
2010-12-09 16:19           ` Drew Adams
2010-12-10  0:06             ` Štěpán Němec
2010-12-10  1:10               ` Lennart Borgman
2010-12-10  1:47               ` Drew Adams
2010-12-10  1:52               ` Stephen J. Turnbull
2010-12-10  6:49                 ` Štěpán Němec
2010-12-11  2:17                   ` Stephen J. Turnbull

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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