Re: Mismatched end tag but it seems perfectly regular
"Dave Pawson [email protected] [emacs-nxml-mode]" <[email protected]> Sat, 12 Mar 2016 09:23:51 +0000
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <CAEncD4e_TtQcvuMLiTmbVLZSMwpF6BHMKOoQkqoEPM9sS70p_A@mail.gmail.com> |
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? Is this a case of mixed terminology? regards 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 ins= tance, the last time that I opened them by dragging all of them on the Emac= s.app icon, ALL of them were marked invalid. Instead, if I open them indivi= dually, not all of them are marked invalid. Note that they do not any DTD o= r schema. > > > > > ------------------------------------ > Posted by: Renzo Orsini <[email protected]> > ------------------------------------ > > > ------------------------------------ > > Yahoo Groups Links > > > > > > > Renzo Orsini > > > > >> On 12 Mar 2016, at 08:56 , Dave Pawson [email protected] [emacs-nxml= -mode] <[email protected]> wrote: >> >> 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 nXM= L has some problem. >> >> I think that unlikely? Henry and James are quite reliable coders? >> >> Can you post the entire XML file? >> >> regards >> >> >>> >>> Renzo Orsini >>> >>> >>> >>> >>> >>>> On 11 Mar 2016, at 22:00 , Peter Flynn [email protected] [emacs-nxml-m= ode] <[email protected]> wrote: >>>> >>>> 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 single= end tag is marked as =E2=80=9CMismatched end tag" (it is the second </word= > in this three-iine fragment: >>>>> >>>>> <word id=3D"w1065">tibi</word> >>>>> <word id=3D"w1066">saecula</word> >>>>> <word id=3D"w1067">finem</word> >>>> >>>> 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 remov= es >>>> the possibility that some other environmental factor is contributing t= o >>>> the "error". >>>> >>>> ///Peter >>>> >>>> >>>> >>>> ------------------------------------ >>>> Posted by: Peter Flynn <[email protected]> >>>> ------------------------------------ >>>> >>>> >>>> ------------------------------------ >>>> >>>> Yahoo Groups Links >>>> >>>> >>>> >>> >>> >>> >>> ------------------------------------ >>> Posted by: Renzo Orsini <[email protected]> >>> ------------------------------------ >>> >>> >>> ------------------------------------ >>> >>> Yahoo Groups Links >>> >>> >>> >> >> >> >> -- >> Dave Pawson >> XSLT XSL-FO FAQ. >> Docbook FAQ. >> http://www.dpawson.co.uk >> >> >> ------------------------------------ >> Posted by: Dave Pawson <[email protected]> >> ------------------------------------ >> >> >> ------------------------------------ >> >> Yahoo Groups Links >> >> >> > --=20 Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk ------------------------------------ Posted by: Dave Pawson <[email protected]> ------------------------------------