Bug 66179
| Summary: | Command nsgmls/onsgmls returns errors for valid xhtml1 multibyte document | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sam Steingold <sds> |
| Component: | opensp | Assignee: | Ondrej Vasik <ovasik> |
| Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | CC: | dtardon, mattdm, notting |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-01-06 12:32:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sam Steingold
2002-06-05 21:16:00 UTC
it appears that the problem is in a different area: when I install the files from <http://www.htmlhelp.org/tools/validator/offline/sgml-lib.tar.gz> (which should all be in the sgml-common package!) everything works just fine. Where exactly do you install them? /usr/share/sgml with (possibly) appropriate modifications of catalogs in /etc/sgml (just like all the stuff in sgml-common) Red Hat apologizes that these issues have not been resolved yet. We do want to make sure that no important bugs slip through the cracks. Red Hat Linux 7.3 and Red Hat Linux 9 are no longer supported by Red Hat, Inc. They are maintained by the Fedora Legacy project (http://www.fedoralegacy.org/) for security updates only. If this is a security issue, please reassign to the 'Fedora Legacy' product in bugzilla. Please note that Legacy security update support for these products will stop on December 31st, 2006. If this is not a security issue, please check if this issue is still present in a current Fedora Core release. If so, please change the product and version to match, and check the box indicating that the requested information has been provided. If you are currently still running Red Hat Linux 7.3 or 9, please note that Fedora Legacy security update support for these products will stop on December 31st, 2006. You are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Any bug still open against Red Hat Linux 7.3 or 9 at the end of 2006 will be closed 'CANTFIX'. Again, if this bug still exists in a current release, or is a security issue, please change the product as necessary. We thank you for your help, and apologize again that we haven't handled these issues to this point. here is what I see for a file with non-ASCII characters (utf-8) onsgmls -s -e -g -c/usr/share/sgml/xml.soc index.html onsgmls:index.html:184:33:E: non SGML character number 159 onsgmls:index.html:184:33: open elements: html body[1] (p[1]) onsgmls:index.html:184:39:E: non SGML character number 129 onsgmls:index.html:184:39: open elements: html body[1] (p[1]) onsgmls:index.html:184:47:E: non SGML character number 129 onsgmls:index.html:184:47: open elements: html body[1] (p[1]) onsgmls:index.html:184:49:E: non SGML character number 130 onsgmls:index.html:184:49: open elements: html body[1] (p[1]) onsgmls:index.html:184:56:E: non SGML character number 159 onsgmls:index.html:184:56: open elements: html body[1] (p[1]) onsgmls:index.html:184:58:E: non SGML character number 128 onsgmls:index.html:184:58: open elements: html body[1] (p[1]) onsgmls:index.html:184:62:E: non SGML character number 130 onsgmls:index.html:184:62: open elements: html body[1] (p[1]) onsgmls:index.html:184:64:E: non SGML character number 143 onsgmls:index.html:184:64: open elements: html body[1] (p[1]) onsgmls:index.html:184:68:E: non SGML character number 131 onsgmls:index.html:184:68: open elements: html body[1] (p[1]) onsgmls:index.html:184:70:E: non SGML character number 130 onsgmls:index.html:184:70: open elements: html body[1] (p[1]) onsgmls:index.html:184:74:E: non SGML character number 143 onsgmls:index.html:184:74: open elements: html body[1] (p[1]) onsgmls:index.html:184:77:E: non SGML character number 159 onsgmls:index.html:184:77: open elements: html body[1] (p[1]) onsgmls:index.html:184:81:E: non SGML character number 131 onsgmls:index.html:184:81: open elements: html body[1] (p[1]) onsgmls:index.html:184:83:E: non SGML character number 130 onsgmls:index.html:184:83: open elements: html body[1] (p[1]) Changing product version to rawhide as it is still broken in devel branch and FC-5 is EOL. Changing summary text as OpenSP/OpenJade IS compiled with multibyte support- so summary is wrong. Problem is most probably in missing or not registered xhtml DTD's/stylesheets catalogs - so most probably wrong component as well - but I will check it. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping There must be some environments variables set before one can process XML files in non-ASCII encodings: export SP_CHARSET_FIXED=yes SP_ENCODING=xml should fix the problem. It's described in /usr/share/doc/opensp-1.5.2/xml.htm , with more details about character sets, encodings and such stuff in /usr/share/doc/opensp-1.5.2/charset.htm . Additionally - you are validating xml with html.soc - you should use xml.soc for validating. Command "nsgmls -E10 -s -wxml -c /usr/share/sgml/xml.soc foo.html" will proceed correctly (if you finish the xhtml file correctly). Closing NOTABUG - feel free to clarify add comments, if you are not satisfied with the resolution. |