Re: Mismatched end tag but it seems perfectly regular
"Renzo Orsini [email protected] [emacs-nxml-mode]" <[email protected]> Sat, 12 Mar 2016 10:54:12 +0100
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <[email protected]> |
I am not using jing, but nXML-mode in Emacs. When I open them, randomly, n= XML marks some of them as invalid and other as valid, but none of them as a= schema or DTD. I don=E2=80=99t now which is the normal behaviour of nXML i= n such cases. It is perhaps undefined, so I should do not consider the vali= dity flag from nXML? or I have a problem in my installation of emacs+nXML?= or there is some error in nXML? Thanks, Renzo Orsini > On 12 Mar 2016, at 10:23 , Dave Pawson [email protected] [emacs-nxml-= mode] <[email protected]> wrote: >=20 > They all appear 'well formed' (validity relates to a schema). > rxp likes them. How are you using jing that shows them invalid, > and which schema are you using to validate them? >=20 > Is this a case of mixed terminology? >=20 > regards >=20 >=20 > On 12 March 2016 at 08:09, Renzo Orsini [email protected] > [emacs-nxml-mode] <[email protected]> wrote: >> 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 in= stance, the last time that I opened them by dragging all of them on the Ema= cs.app icon, ALL of them were marked invalid. Instead, if I open them indiv= idually, not all of them are marked invalid. Note that they do not any DTD = or schema. >>=20 >>=20 >>=20 >>=20 >> ------------------------------------ >> Posted by: Renzo Orsini <[email protected]> >> ------------------------------------ >>=20 >>=20 >> ------------------------------------ >>=20 >> Yahoo Groups Links >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> Renzo Orsini >>=20 >>=20 >>=20 >>=20 >>> On 12 Mar 2016, at 08:56 , Dave Pawson [email protected] [emacs-nxm= l-mode] <[email protected]> wrote: >>>=20 >>> On 12 March 2016 at 07:25, Renzo Orsini [email protected] >>> [emacs-nxml-mode] <[email protected]> wrote: >>>> Thanks very much, actually rxp shows that the document is valid, so nX= ML has some problem. >>>=20 >>> I think that unlikely? Henry and James are quite reliable coders? >>>=20 >>> Can you post the entire XML file? >>>=20 >>> regards >>>=20 >>>=20 >>>>=20 >>>> Renzo Orsini >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>> On 11 Mar 2016, at 22:00 , Peter Flynn [email protected] [emacs-nxml-= mode] <[email protected]> wrote: >>>>>=20 >>>>> On 03/11/2016 07:50 AM, Renzo Orsini [email protected] [emacs-nxml-mode= ] >>>>> wrote: >>>>>> I have an xml file with ~3500 lines, without a DTD, in which a singl= e end tag is marked as =E2=80=9CMismatched end tag" (it is the second </wor= d> in this three-iine fragment: >>>>>>=20 >>>>>> <word id=3D"w1065">tibi</word> >>>>>> <word id=3D"w1066">saecula</word> >>>>>> <word id=3D"w1067">finem</word> >>>>>=20 >>>>> Whenever I hit a problem like this, I always use a standalone parser >>>>> from the command line, eg onsgmls or rxp or something like. This remo= ves >>>>> the possibility that some other environmental factor is contributing = to >>>>> the "error". >>>>>=20 >>>>> ///Peter >>>>>=20 >>>>>=20 >>>>>=20 >>>>> ------------------------------------ >>>>> Posted by: Peter Flynn <[email protected]> >>>>> ------------------------------------ >>>>>=20 >>>>>=20 >>>>> ------------------------------------ >>>>>=20 >>>>> Yahoo Groups Links >>>>>=20 >>>>>=20 >>>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>> ------------------------------------ >>>> Posted by: Renzo Orsini <[email protected]> >>>> ------------------------------------ >>>>=20 >>>>=20 >>>> ------------------------------------ >>>>=20 >>>> Yahoo Groups Links >>>>=20 >>>>=20 >>>>=20 >>>=20 >>>=20 >>>=20 >>> -- >>> Dave Pawson >>> XSLT XSL-FO FAQ. >>> Docbook FAQ. >>> http://www.dpawson.co.uk >>>=20 >>>=20 >>> ------------------------------------ >>> Posted by: Dave Pawson <[email protected]> >>> ------------------------------------ >>>=20 >>>=20 >>> ------------------------------------ >>>=20 >>> Yahoo Groups Links >>>=20 >>>=20 >>>=20 >>=20 >=20 >=20 >=20 > --=20 > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. > http://www.dpawson.co.uk >=20 >=20 > ------------------------------------ > Posted by: Dave Pawson <[email protected]> > ------------------------------------ >=20 >=20 > ------------------------------------ >=20 > Yahoo Groups Links >=20 >=20 >=20 ------------------------------------ Posted by: Renzo Orsini <[email protected]> ------------------------------------