Re: A few questions

Florent Georges <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
stephen_langer wrote:

  Hi,

> 1. Why does nxml mark tags like this <chapter
> id="chapter:intro"> as illegal?  If I remove the ':' in the id
> it's ok.

  An ID must be an NCName.

> 2. Is there an nxml-mode equivalent of psgml's
> sgml-parent-document setting?  I have several entities defined
> in a parent document which are then flagged as invalid by nxml
> when editing a chapter which is included in the parent.

  I don't know, sorry, maybe someone else.  As nXML is now part
of GNU Emacs, you can ask over there too...

> 3. I've followed the instructions for setting up nxml-mode
> at http://infohost.nmt.edu/tcc/help/pubs/nxml/config.html,
> but still when I open an existing *.xml file, it's opened in
> xml mode, not nxml mode (although emacs does report that
> it's using the correct schema).  If I open a new xml
> file, it opens in nxml.  What could be causing
> this?  It doesn't seem to depend on whether or not the
> file has "-*- xml-mode -*-" in the first line.

  What's within your magic-mode-alist variable?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/





















      



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.