Expected behaviour? - No Schematron validation with XHTML?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Mon Mar 23, 2015 6:15 pm
Expected behaviour? - No Schematron validation with XHTML?
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!
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Expected behaviour? - No Schematron validation with XHTM
Hi,
Check your Schematron schema for namespaces. From what you are describing it looks like your Schematron does not account for the XHTML namespace.
Regards,
Adrian
Check your Schematron schema for namespaces. From what you are describing it looks like your Schematron does not account for the XHTML namespace.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service