…confirmed. I’ve added a GitHub issue [1].
…and I’ve now fixed the bug.
On Sun, Jan 12, 2014 at 5:29 PM, Andy Bunce bunce.andy@gmail.com wrote:
declare option output:method "html"; declare option output:html-version "5.0"; <select><option value="a" selected="selected">a</option>
<option value="b" bad="bad">b</option></select>
Result
<!DOCTYPE html>
<select> <option value="a">a</option> <option value="b" bad="bad">b</option> </select>
Note bizzare vanishing of selected="selected". Seems to only happen only for option with selected="selected" for all html versions.
/Andy
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk