Validating HTML5 non-XML syntax
Oxygen general issues.
-
- Posts: 75
- Joined: Mon Sep 28, 2009 8:10 am
Validating HTML5 non-XML syntax
Using Oxygen 18.0.
I work with a lot of HTML5 documents these days and I want to be able to validate them in oxygen, or at least pretty-print them. But pretty-print fails because it does not like the non-XML HTML5 syntax. I don't want to have to XML-ize all the HTML5 I work with. Is there some way to do this? I found several topics on this from past years, and they all seem to say "use XML syntax."
I believe the W3C has a validator for HTML5, I know the guy who wrote it, and I think it's in Java.
Thanks,
Mark
I work with a lot of HTML5 documents these days and I want to be able to validate them in oxygen, or at least pretty-print them. But pretty-print fails because it does not like the non-XML HTML5 syntax. I don't want to have to XML-ize all the HTML5 I work with. Is there some way to do this? I found several topics on this from past years, and they all seem to say "use XML syntax."
I believe the W3C has a validator for HTML5, I know the guy who wrote it, and I think it's in Java.
Thanks,
Mark
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Validating HTML5 non-XML syntax
Hi,
There is no way to pretty print or validate HTML5 (non-XML) in Oxygen as of v18.1, if that's what you are asking.
If you have a third party validator, you can configure it in Oxygen, either as an external tool or as a custom validation engine.
I've submitted a request on our issue tracking tool for HTML5 validation.
Regards,
Adrian
There is no way to pretty print or validate HTML5 (non-XML) in Oxygen as of v18.1, if that's what you are asking.
If you have a third party validator, you can configure it in Oxygen, either as an external tool or as a custom validation engine.
I've submitted a request on our issue tracking tool for HTML5 validation.
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
-
- Posts: 75
- Joined: Mon Sep 28, 2009 8:10 am
Re: Validating HTML5 non-XML syntax
Thanks for the information, Adrian. I might try setting up the W3C validator with Oxygen. For reference, the code for this validator is here:
https://validator.w3.org/source/
https://github.com/w3c/markup-validator
Regards,
Mark
https://validator.w3.org/source/
https://github.com/w3c/markup-validator
Regards,
Mark
-
- Posts: 84
- Joined: Wed Jul 19, 2017 6:04 pm
- Location: Austria
- Contact:
Re: Validating HTML5 non-XML syntax
Hi, have been added a validation option in the meantime?
(oXygen version 20.1)
(oXygen version 20.1)
Kind regards,
Oleksii Sapov-Erlinger
Oleksii Sapov-Erlinger
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Validating HTML5 non-XML syntax
Hi,
HTML 5 validation based on the W3C HTML Validator has been implemented since v21.1.
What's New in Oxygen XML Editor 21.1
Adrian
HTML 5 validation based on the W3C HTML Validator has been implemented since v21.1.
What's New in Oxygen XML Editor 21.1
Regards,Oxygen includes a built-in validator used for validating HTML documents. It is based upon the W3C HTML Validator and the HTML documents are validated against the W3C HTML5 specification.
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)
- ↳ 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