purcell / emacs.d

An Emacs configuration bundle with batteries included
BSD 2-Clause "Simplified" License
6.87k stars 2.06k forks source link

nxml-mode crashed when validate xhtml file containing body tag. #41

Closed redguardtoo closed 11 years ago

redguardtoo commented 12 years ago

Got message Using schema ~/.emacs.d/site-lisp/html5-el/relaxng/xhtml5.rnc and Internal error in rng-validate-mode triggered at buffer position 317. Lisp nesting exceeds 'max-lisp-eval-depth'

See https://github.com/redguardtoo/emacs.d/issues/3 for details, I attached a sample file in my comment

purcell commented 11 years ago

Closing this; I've dropped nxml support for html5 because the relaxng schemas are outdated and the emacs support for them is flaky. Instead, sgml-mode is now the default mode for html content.

redguardtoo commented 11 years ago

what you suggest for html5 front end development? I'm actually pretty happy with nxml-mode

purcell commented 11 years ago

My configuration defaults to sgml-mode for html, and nxml-mode for xml. I like nxml-mode, but the support for html5 is unreliable. If that changes in future, I'll switch back.