nxhtml team mailing list archive
-
nxhtml team
-
Mailing list archive
-
Message #00331
Re: [Question #160099]: nXhtml says inline styles and js are invalid
Question #160099 on nXhtml changed:
https://answers.launchpad.net/nxhtml/+question/160099
Status: Answered => Solved
fargred confirmed that the question is solved:
Solved!
With nxhtml-2.09 beta M-: (emacs-Q "index.php") opened buffer in a new window, I copypasted there http://pastie.org/2059767 and it points now to
<tr {HIGHLIGHT}>
as an invalid code (and no other code!). It's a template in a bad place, i know, but it wasn't production file, just for work. No complaints to nxml or nXhtml.
So i deleted ‘{HIGHLIGHT}’ in both files, and pasted header above to old file table.xtpl.xhtml, which is on screenshots in op-post. Strange thing is that in nxhtml-mode (which was above {HIGHLIGHT} in the code) was matched as invalid.
But there is one more bug: some properties of mumamo and nxhtml in emacs
customizer disappear when pointing on them. So, my settings done in
customizer were dropped some times, and in the last test described here
default html header in built in nXhtml ‘body-utf-8’, which is not XHTML
1.0 Transitional i placed myself.
The problem was in:
1. XHTML header, which doesn't allow html entities or something (?) (or is it nxml-mode?)
1.a so don't you want to use header in pastie in header list? It's well-balanced between the conditions and allowed things, version 1.0 is fully compliant even with IE.
2. Invalid code itself. There was one more snippet
</table>
<br/>
</body>
Where <br/> caused error, but after removing it, code become valid.
--
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.