Expected behaviour? - No Schematron validation with XHTML?
Posted: Mon Mar 23, 2015 7:54 pm
Hi,
I have an XHTML document beginning
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
...
Schematron validation seems not to work with this document, unless I delete the xmlns attribute from the html element. Is this behaviour to be expected? (By doesn't work, I mean that with the xmlns attribute present, no matter what I specify in the Schematron rules, when I choose 'Validate with...' oXygen reports 'Validation successful'.)
Thanks in anticipation!
I have an XHTML document beginning
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
...
Schematron validation seems not to work with this document, unless I delete the xmlns attribute from the html element. Is this behaviour to be expected? (By doesn't work, I mean that with the xmlns attribute present, no matter what I specify in the Schematron rules, when I choose 'Validate with...' oXygen reports 'Validation successful'.)
Thanks in anticipation!