Re: Mismatched end tag but it seems perfectly regular
"Greg Peterson [email protected] [emacs-nxml-mode]" <[email protected]> Mon, 14 Mar 2016 12:34:09 +0900
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <[email protected]> |
--------------040505040000080603080701 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 2016年03月12日 17:09, Renzo Orsini [email protected] [emacs-nxml-mode] wrote: > > [Attachment(s) <#TopText> from Renzo Orsini included below] > > Here is the folder with 6 files. When I open them with emacs > (Emacs.app, version 24.5 (9.0) on Mac Os X 10.11.3 (15D21), > are randomly marked as invalid, even if they should be all valid. For > instance, the last time that I opened them by dragging all of them on > the Emacs.app icon, ALL of them were marked invalid. Instead, if I > open them individually, not all of them are marked invalid. Note that > they do not any DTD or schema. > I downloaded your ZIP file ) to my computer running Fedora 23 (GNU/Linux), unzipped it without any options ("unzip xml-txt.zip"), and opened each with emacs (GNU Emacs 24.5.1). According to nXML-mode on my computer, all are shown as "Valid" (well-formed XML) with no schema ("Using vacuous schema"). The only "abnormality" that I can see is MS-DOS file format. The mode line begins, "U (DOS):" and output from "M-x describe-current-coding-system" says that your files are DOS files (utf-8-dos). If they are DOS files on your system, and if you will process them only on a Mac or Linux, FreeBSD, etc. (not on a Microsoft Windows PC), you might try saving them as Unix files: "M-x set-buffer-file-coding-system" or "C-X RET f": "utf-8-unix". It might not help at all, but it cannot hurt to try since MacOS X uses Unix file format. Otherwise your data looks fine to me. --------------040505040000080603080701 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <head> <style type="text/css"> <!-- /* start of attachment style */ .ygrp-photo-title{ clear: both; font-size: smaller; height: 15px; overflow: hidden; text-align: center; width: 75px; } div.ygrp-photo{ background-position: center; background-repeat: no-repeat; background-color: white; border: 1px solid black; height: 62px; width: 62px; } div.photo-title a, div.photo-title a:active, div.photo-title a:hover, div.photo-title a:visited { text-decoration: none; } div.attach-table div.attach-row { clear: both; } div.attach-table div.attach-row div { float: left; /* margin: 2px;*/ } p { clear: both; padding: 15px 0 3px 0; overflow: hidden; } div.ygrp-file { width: 30px; valign: middle; } div.attach-table div.attach-row div div a { text-decoration: none; } div.attach-table div.attach-row div div span { font-weight: normal; } div.ygrp-file-title { font-weight: bold; } /* end of attachment style */ --> </style> </head> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <!-- |**|begin egp html banner|**| --> <br><br> <!-- |**|end egp html banner|**| --> <div class="moz-cite-prefix">On 2016年03月12日 17:09, Renzo Orsini <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> [emacs-nxml-mode] wrote:<br> </div> <blockquote cite="mid:[email protected]" type="cite"> <span style="display:none"> </span> <div id="ygrp-text"> <p>Here is the folder with 6 files. When I open them with emacs (Emacs.app, version 24.5 (9.0) on Mac Os X 10.11.3 (15D21), <br> are randomly marked as invalid, even if they should be all valid. For instance, the last time that I opened them by dragging all of them on the Emacs.app icon, ALL of them were marked invalid. Instead, if I open them individually, not all of them are marked invalid. Note that they do not any DTD or schema.<br> </p> </div> </div> </div> </blockquote> <br> I downloaded your ZIP file ) to my computer running Fedora 23 (GNU/Linux), unzipped it without any options ("unzip xml-txt.zip"), and opened each with emacs (GNU Emacs 24.5.1). According to nXML-mode on my computer, all are shown as "Valid" (well-formed XML) with no schema ("Using vacuous schema").<br> <br> The only "abnormality" that I can see is MS-DOS file format. The mode line begins, "U (DOS):" and output from "M-x describe-current-coding-system" says that your files are DOS files (utf-8-dos). If they are DOS files on your system, and if you will process them only on a Mac or Linux, FreeBSD, etc. (not on a Microsoft Windows PC), you might try saving them as Unix files: "M-x set-buffer-file-coding-system" or "C-X RET f": "utf-8-unix". It might not help at all, but it cannot hurt to try since MacOS X uses Unix file format. Otherwise your data looks fine to me.<br> <!-- |**|begin egp html banner|**| --> <br> <br> <!-- |**|end egp html banner|**| --> <div width="1" style="color: white; clear: both;"/>__._,_.___</div> <div id="fromDMARC" style="clear:both; margin-top: 10px;"> <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;"> Posted by: Greg Peterson <[email protected]> <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;"> </div> <!-- Start Recommendations --> <!-- End Recommendations --> <!-- |**|begin egp html banner|**| --> <img src="http://geo.yahoo.com/serv?s=97476590/grpId=10952198/grpspId=1706030390/msgId=2192/stime=1457926453" width="1" height="1"> <br> <!-- |**|end egp html banner|**| --> <!-- |**|begin egp html banner|**| --> <br> <!-- |**|begin egp html banner|**| --> <div id="ygrp-vital" style="background-color: #f2f2f2; font-family: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;"> <span id="vithd" style="font-weight: bold; color: #333; text-transform: uppercase; "><a href="https://groups.yahoo.com/neo/groups/emacs-nxml-mode/info;_ylc=X3oDMTJmMmdtcDRxBF9TAzk3MzU5NzE0BGdycElkAzEwOTUyMTk4BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzE0NTc5MjY0NTM-" style="text-decoration: none;">Visit Your Group</a></span> <ul style="list-style-type: none; margin: 0; padding: 0; display: inline;"> <li style="border-right: 1px solid #000; font-weight: 700; display: inline; padding: 0 5px; margin-left: 0;"> <span class="cat"><a href="https://groups.yahoo.com/neo/groups/emacs-nxml-mode/members/all;_ylc=X3oDMTJnaDhoamNuBF9TAzk3MzU5NzE0BGdycElkAzEwOTUyMTk4BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxNDU3OTI2NDUz" style="text-decoration: none;">New Members</a></span> <span class="ct" style="color: #ff7900;">1</span> </li> </ul> </div> <div id="ft" style="font-family: Arial; font-size: 11px; margin-top: 5px; padding: 0 2px 0 0; clear: both;"> <a href="https://groups.yahoo.com/neo;_ylc=X3oDMTJlN3BiN2UyBF9TAzk3NDc2NTkwBGdycElkAzEwOTUyMTk4BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTQ1NzkyNjQ1Mw--" style="float: left;"><img src="http://l.yimg.com/ru/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height="15" width="137" alt="Yahoo! Groups" style="border: 0;"/></a> <div style="color: #747575; float: right;"> • <a href="https://info.yahoo.com/privacy/us/yahoo/groups/details.html" style="text-decoration: none;">Privacy</a> • <a href="mailto:[email protected]?subject=Unsubscribe" style="text-decoration: none;">Unsubscribe</a> • <a href="https://info.yahoo.com/legal/us/yahoo/utos/terms/" style="text-decoration: none;">Terms of Use</a> </div> </div> <!-- |**|end egp html banner|**| --> </div> <!-- ygrp-msg --> <br> <!-- |**|end egp html banner|**| --> <div style="color: white; clear: both;"/>__,_._,___</div> </body> </html> --------------040505040000080603080701--