First up, this is not a complaint about the disappearance of pretty-print. I understand why it had to go.
Second up, I have no idea what I'm doing, so its mostly trial and error....
Here is my issue, and as I said in the title, I THINK pretty-print used to correct this issue for me, but unfortunately, I didn't pay enough attention as to how....
If, in an english language book (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">, I have the code <span lang="fr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">Que nous étions encore ŕ Frankfort</span>, everything seems OK until I try to validate it.
I vaguely recall that (maybe?) pretty print used to change it to
http://www.w3.org/XML/1998/namespace (I found this by searching the big web), or something similar, but if I try to use this (replacing the xmlns="http://www.w3.org/1999/xhtml" with xmlns="http://www.w3.org/XML/1998/namespace") I get an error "xml namespace URI cannot be the default namespace".
FlightCrew tells me that attribute lang is not declared for element span near.....
Some questions:
1) Is something like <lang="fr"....> able to be used in Sigil?
2) How do I declare "attribute lang" for "element span"? Am I on the sorta right track with what I have done, or an I completely missing something? Is there something that needs to be declared, instead in <head> or <html>?
3) Does anyone have any idea what I'm talking about?
Phil