Validation error with standard HTML entities
Oxygen general issues.
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Validation error with standard HTML entities
Post by Frank Ralf »
Hi,
When using an HTML entity like in an HTML file, Oxygen complains that the "entity was referenced but not declared". I would not expect such a message for a standard HTML entity. Is there a validation setting in Oxygen that I might have accidentally messed with?
Best regards,
Frank
When using an HTML entity like in an HTML file, Oxygen complains that the "entity was referenced but not declared". I would not expect such a message for a standard HTML entity. Is there a validation setting in Oxygen that I might have accidentally messed with?
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Validation error with standard HTML entities
Hello Frank,
Unfortunately II cannot reproduce the behavior that you describe. I tested with Oxygen XML Editor version 26.0. Probably you have an XHTML document or you validate the HTML with the XHTML schemas. If possible, could you provide us with more details or send over a sample file for further inspection?
Best Regards,
Octavian
Unfortunately II cannot reproduce the behavior that you describe. I tested with Oxygen XML Editor version 26.0. Probably you have an XHTML document or you validate the HTML with the XHTML schemas. If possible, could you provide us with more details or send over a sample file for further inspection?
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: Validation error with standard HTML entities
Post by Frank Ralf »
Hi Octavian,
Thanks for looking into this. I used an old project file and suspect that it messed with some settings. I will check again and report back.
Best regards,
Frank
Thanks for looking into this. I used an old project file and suspect that it messed with some settings. I will check again and report back.
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: Validation error with standard HTML entities
Post by Frank Ralf »
Hi,
I have stumbled again over this problem. I am using the latest version of Oxygen Editor 26.1. I tested this with the following simple document.
Depending whether the file is declared as HTML or XHMTL I get the following error messages.
HTML
Error message: “ &” did not start a character reference. (“&” probably should have been escaped as “&”.)
Engine: W3C HTML Validator
XHTML
Error message: The entity "nbps" was referenced, but not declared.
Engine: Jing
I have tested this with a new project file and have reset all preferences to their default settings.
Best regards,
Frank
I have stumbled again over this problem. I am using the latest version of Oxygen Editor 26.1. I tested this with the following simple document.
Code: Select all
<!DOCTYPE html>
<html>
<head>
<title>Entity test</title>
</head>
<body>
<p>This is a standard HTML entity: &nbps; .</p>
</body>
</html>
HTML
Error message: “ &” did not start a character reference. (“&” probably should have been escaped as “&”.)
Engine: W3C HTML Validator
XHTML
Error message: The entity "nbps" was referenced, but not declared.
Engine: Jing
I have tested this with a new project file and have reset all preferences to their default settings.
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
-
- Posts: 81
- Joined: Wed Aug 30, 2017 3:56 pm
Re: Validation error with standard HTML entities
Hi Frank,
It's just a typing error.
You intended to write of course, but you typed &nbps; instead.
Kind regards,
Teo
It's just a typing error.
You intended to write of course, but you typed &nbps; instead.
Kind regards,
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: Validation error with standard HTML entities
Post by Frank Ralf »
Hi Teo,
Thanks for spotting that. That was a typo from my side when creating the simple test file. The original HTML files from our customer contain the correct entity - so the problem persists. I will check with my colleague whether he can reproduce the error. And how our Oxygen configurations might differ. I will report back!
Frank
Thanks for spotting that. That was a typo from my side when creating the simple test file. The original HTML files from our customer contain the correct entity - so the problem persists. I will check with my colleague whether he can reproduce the error. And how our Oxygen configurations might differ. I will report back!
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.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