Hi I just had the following message from nXML: Internal error in rng-validate-mode triggered at buffer position 148. Invalid regexp: "Range striding over...
... Here too. But I didn't explain the whole thing, sorry. After pasting the text above in a fresh buffer, you have to be in validation mode ('C-c C-v' if...
Hi, I have a schema locating file schemas.xml. I am getting the following error when that file is being loaded. 'File mode specification error: (error "XML ...
... No, comments should not be ignored, but processed as comments. It is an error to have a comment before the XML declaration: the XML declaration must always...
... We have our own xml document format. And we use Perl CPAN's XML::Parser module with a wrapper around it to parse files. That module parses even if we have...
Hi all, Is there a way to have our own custom key combinations for nxml-mode. I want to have TAB for completion instead of C-<RET>. Is there any hook which...
... This should help (in your ~/.emacs.el): (add-hook 'nxml-mode-hook (lambda () (interactive) (local-set-key (kbd "<TAB>") 'nxml-complete))) You can see (info...
... Then you can't call it XML, since it's no longer XML. ... If the comments are followed by an XML declaration, then this module is buggy. For instance,...
... I've not tried, but the standard way to do is to add a hook and change the bindings: (defun my-nxml-mode-keys () (local-set-key [tab] 'nxml-complete) ...
... Yes. Comments or even white spaces. If you have an XML declaration (BTW it's NOT a processing instruction), the five first characters of the document...
... There's no need for 'interactive': (add-hook 'nxml-mode-hook (lambda () (local-set-key (kbd "<TAB>") 'nxml-complete))) Sorry for the misinformation, --drkm...
... Eh, rule of thumb: test everything before mailing. This seems to work at least with the CVS version of Emacs: (add-hook 'nxml-mode-hook (lambda () ...
Hi all, Thanks for the help. This one is working. Our files are source controlled too. This may be the reason why other methods are not working. ... Also just...
... May be so. Thanks for the clarification on comments. ... Actually, we don't have any problem with our xml format in nxml-mode. I was talking about...
... I see. Parsing conditions are different, and since it is incorrect, an error is reported anyway. BTW, if nxml-mode doesn't report an error when there are...
From: drkm <darkman_spam@...> ... Thanks, I see what you mean now. I read the docstring about `local-set-key' (C-h f local-set-key) and it says: "The...
... But our format is different. Our format does'nt require <?xml version= line. As as discussed earlier, it may not be proper to call it xml. So I don't think...
... Technically, it is part of the entity, but "not part of either the markup or the character data of the XML document", i.e. only the parser will see it. -- ...
... The point is XML documents don't require XML declaration (if the default values, for example for 'encoding', are right). So you have the choice. Put your...