1284Re: [emacs-nxml-mode] customizing a grammar and location grammar
- Mar 3, 2006Vincent Lefevre wrote:
> On 2006-03-02 13:43:38 -0600, Chris Chiasson wrote:Mmh, I think it's more complex.
> > I wanted it to be in /path/to/locatingrules and set the
> > content of /path/to/schemas.xml accordingly,
> > <documentElement localName="locatingRules"
> > uri="locatingrules/locate.rnc"/>
> > but nxml mode ignored it.
> This should work. Otherwise this is a bug.
Clearly, nXML needs information before loading the first
schemas.xml, if you want it validates the document. So the
You could argue that if at some point in a schemas.xml,
nXML sees an entry about locating rules type definition, it
can use this new one from this point. But what does mean
this? Only if 'rng-schema-locating-file-schema-file' is nil?
Only for the next schemas.xml in the same reading (included
with 'include')? Only for schemas.xml files included
directly or indirectly *from the one where the rule is
defined*? For all loading of any schemas.xml from now? Etc.
I think it's legitimate for nXML to even require that you
set 'rng-schema-locating-file-schema-file', and to prohibit
using schemas.xml rules for that. Though I'm not sure it is
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
- << Previous post in topic Next post in topic >>