Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Help with RelaxNG and Trang (and Emacs)

Thread Tools

Help with RelaxNG and Trang (and Emacs)

David Abrahams
Posts: n/a


I recently translated the DTD at (a refinement of docbook)
to RelaxNG using Trang, using no special command-line options. Now if
I try to auto-complete the following in emacs' nXML-mode:

foo </repl-!-

Where the cursor is sitting where "-!-" appears, it works fine in
DocBook (using the schema supplied with nXML-mode) but fails in BoostBook.

The dbpoolx.mod.rnc generated by trang differs in some significant ways
from the dbpool.rnc supplied with nXML-mode, but I don't know enough
about RelaxNG (or DTDs, for that matter) to understand what the
differences mean.

Any help would be most appreciated. I've asked on the nxml-mode
mailing list, and got no reply. The Googlable world hasn't heard from
the nxml-mode/trang author, James Clark, since 2003, as far as I can
tell. I hope he's all right; these are great tools!

Thanks in advance,

Dave Abrahams
Boost Consulting
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RelaxNG or W3C schema declaration for xml:space FIXED attribute Manuel Collado XML 6 10-20-2011 04:35 PM
XSD vs RelaxNG Frank Greco XML 7 02-03-2011 10:45 PM
Help Help Help Pentax S5i Help needed (Please) The Martian Digital Photography 14 06-20-2008 07:56 AM
HELP! HELP! HELP! Opening Web Application Project Error =?Utf-8?B?dHJlbGxvdzQyMg==?= ASP .Net 0 02-20-2004 05:16 PM
Can Trang handle <mixed>? Paul A. Hoadley XML 2 11-23-2003 11:12 PM