Re: Error message on validation.
Dave Pawson <[email protected]> Sun, 18 Aug 2013 10:59:13 +0100
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <CAEncD4coQ3XSdi9a9A1WQ=R_z+XxYHBMy6i7Uu=nFAdKTcxsjQ@mail.gmail.com> |
--001a11c391be4697d504e435e0f3 Content-Type: text/plain; charset=UTF-8 This 'new' version seems to have lost at least one feature. ctl-< no longer offers the available elements from the schema. Dave On 17 August 2013 09:03, Dave Pawson <[email protected]> wrote: > Hi James. > I missed your message (new/silly gmail layout). > I must admit that struck me as a possibility. I move over my site-lisp > across iterations of OS. > > Comment out your library. > fails on > (load "rng-auto.el") > Is that no longer needed? > Seems not. > > > It seems that my schema locating file (now coloured!) is invalid. > 'Using locate.rnc'... which is my old one. > > <transformURI pathSuffix=".xml" replacePathSuffix=".rnc"/> > <uri pathSuffix=".xsl" typeId="XSLT"/> > <uri pathSuffix=".html" typeId="XHTML"/> > <uri pathSuffix=".rng" typeId="RELAX NG"/> > <uri pathSuffix=".rdf" typeId="RDF"/> > > Is now all invalid according to > .... /emacs/24.3/etc/schema/locate.rnc > > I doubt I wrote those lines... > > Ah well. Working again.... I just hope no bugs have been introduced > since you released it James. > > thanks. > > > > > > On 17 August 2013 01:07, James Clark <[email protected]> wrote: > >> >> >> I wonder if there is maybe an old nxml-mode somewhere on your load-path >> that is getting loaded instead of the one included in emacs 24.3. >> >> >> On Fri, Aug 16, 2013 at 2:42 PM, Dave Pawson <[email protected]>wrote: >> >>> ** >>> >>> >>> Ditto... grep fails to find it. I wonder which file he's importing >>> that does use it? >>> >>> Odd... open any .rng file and the error doesn't show? That uses nxml-mode >>> >>> Dave >>> >>> >>> On 15 August 2013 13:28, Norman Walsh <[email protected]> wrote: >>> > Dave Pawson <[email protected]> writes: >>> >> Internal error in rng-validate-mode triggered at buffer position >>> >> 180724. Symbol's function definition is void: string-to-sequence >>> > >>> > Indeed the NEWS file for 24.3 says that string-to-sequence has been >>> > removed in favor of string-to-list or string-to-vector (presumably >>> > whichever is appropriate). >>> > >>> > I thought I'd try to work out which, but I don't see >>> > string-to-sequence anywhere in the nxml-mode that ships with Emacs >>> > 24.3. Maybe it's been patched already? >>> > >>> > Be seeing you, >>> > norm >>> > >>> > -- >>> > Norman Walsh <[email protected]> | The finest amusements are the most >>> > http://nwalsh.com/ | pointless ones.--Jacques Chardonne >>> >>> -- >>> Dave Pawson >>> XSLT XSL-FO FAQ. >>> Docbook FAQ. >>> http://www.dpawson.co.uk >>> >>> >> >> >> >> > > > > -- > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. > http://www.dpawson.co.uk > -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk --001a11c391be4697d504e435e0f3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <head> <style type=3D"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=20 a, div.photo-title a:active, div.photo-title a:hover, div.photo-title a:visited { text-decoration: none;=20 } 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> <style type=3D"text/css"> <!-- #ygrp-mkp { border: 1px solid #d8d8d8; font-family: Arial; margin: 10px 0; padding: 0 10px; } #ygrp-mkp hr { border: 1px solid #d8d8d8; } #ygrp-mkp #hd { color: #628c2a; font-size: 85%; font-weight: 700; line-height: 122%; margin: 10px 0; } #ygrp-mkp #ads { margin-bottom: 10px; } #ygrp-mkp .ad { padding: 0 0; } #ygrp-mkp .ad p { margin: 0; } #ygrp-mkp .ad a { color: #0000ff; text-decoration: none; } --> </style> </head> <body> <!-- |**|begin egp html banner|**| --> <br><br> <!-- |**|end egp html banner|**| --> <div dir=3D"ltr">This 'new' version seems to have lost at least one= feature.<div>ctl-< no longer offers the available elements from the sch= ema.</div><div><br></div><div>Dave</div></div><div class=3D"gmail_extra"><b= r> <br><div class=3D"gmail_quote">On 17 August 2013 09:03, Dave Pawson <span d= ir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">d= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_qu= ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex= "> <div dir=3D"ltr">Hi James.<div>=C2=A0 I missed your =C2=A0message (new/sill= y gmail layout).=C2=A0</div><div>I must admit that struck me as a possibili= ty. I move over my site-lisp across iterations of OS.</div><div><br></div><= div>Comment out your library.</div> <div>fails on=C2=A0</div><div>(load "rng-auto.el")=C2=A0<br></div= ><div>Is that no longer needed?</div><div>=C2=A0 Seems not.=C2=A0</div><div= ><br></div><div><br></div><div>It seems that my schema locating file (now c= oloured!) is invalid.</div> <div>'Using locate.rnc'... which is =C2=A0my old one.</div><div><br= ></div><div><div>=C2=A0<transformURI pathSuffix=3D".xml" repla= cePathSuffix=3D".rnc"/></div><div>=C2=A0 <uri pathSuffix=3D= ".xsl" typeId=3D"XSLT"/><br> </div><div>=C2=A0 <uri pathSuffix=3D".html" typeId=3D"XHT= ML"/></div><div>=C2=A0 <uri pathSuffix=3D".rng" typeId= =3D"RELAX NG"/></div><div>=C2=A0 <uri pathSuffix=3D".r= df" typeId=3D"RDF"/></div> </div><div><br></div><div>Is now all invalid according to</div><div>.... /e= macs/24.3/etc/schema/locate.rnc=C2=A0</div><div><br></div><div>I doubt I wr= ote those lines...</div><div><br></div><div>Ah well. Working again.... I ju= st hope no bugs have been introduced</div> <div>since you released it James.</div><div><br></div><div>thanks.=C2=A0</d= iv><div><br></div><div><br></div><div><br></div></div><div class=3D"HOEnZb"= ><div class=3D"h5"><div class=3D"gmail_extra"><br><br><div class=3D"gmail_q= uote">On 17 August 2013 01:07, James Clark <span dir=3D"ltr"><<a href=3D= "mailto:[email protected]" target=3D"_blank">[email protected]</a>></span> wro= te:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> =20=20=20=20=20=20=20=20 <div> <br><br> <div dir=3D"ltr">I wonder if there is maybe an old nxml-mode somewhere on y= our load-path that is getting loaded instead of the one included in emacs 2= 4.3.</div><div><div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_= quote"> On Fri, Aug 16, 2013 at 2:42 PM, Dave Pawson <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</= a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <u></u> <div> <span>=C2=A0</span> <div> <div> <div> =20=20=20=20=20=20 =20=20=20=20=20=20 <p>Ditto... grep fails to find it. I wonder which file he's impor= ting<br> that does use it?<br> <br> Odd... open any .rng file and the error doesn't show? That uses nxml-mo= de<br> <br> Dave</p><div><div><br> <br> On 15 August 2013 13:28, Norman Walsh <<a href=3D"mailto:ndw%40nwalsh.co= m" target=3D"_blank">[email protected]</a>> wrote:<br> > Dave Pawson <<a href=3D"mailto:dave.pawson%40gmail.com" target=3D"_= blank">[email protected]</a>> writes:<br> >> Internal error in rng-validate-mode triggered at buffer position<b= r> >> 180724. Symbol's function definition is void: string-to-sequen= ce<br> ><br> > Indeed the NEWS file for 24.3 says that string-to-sequence has been<br= > > removed in favor of string-to-list or string-to-vector (presumably<br> > whichever is appropriate).<br> ><br> > I thought I'd try to work out which, but I don't see<br> > string-to-sequence anywhere in the nxml-mode that ships with Emacs<br> > 24.3. Maybe it's been patched already?<br> ><br> > Be seeing you,<br> > norm<br> ><br> > --<br> > Norman Walsh <<a href=3D"mailto:ndw%40nwalsh.com" target=3D"_blank"= >[email protected]</a>> | The finest amusements are the most<br> > <a href=3D"http://nwalsh.com/" target=3D"_blank">http://nwalsh.com/</a= > | pointless ones.--Jacques Chardonne<br> <br></div></div><div> -- <br> Dave Pawson<br> XSLT XSL-FO FAQ.<br> Docbook FAQ.<br> <a href=3D"http://www.dpawson.co.uk" target=3D"_blank">http://www.dpawson.c= o.uk</a><br> </div><p></p> </div> =20=20=20=20=20 =20=20=20=20 <div style=3D"color:#fff;min-height:0"></div> </div> =20=20 </div></div></blockquote></div><br></div> <br> =20=20=20=20 =20=20=20=20 <br> </div></div><div width=3D"1" style=3D"color:white;clear:both"></div> </div> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Dave Pawson<= br>XSLT XSL-FO FAQ.<br>Docbook FAQ.<br><a href=3D"http://www.dpawson.co.uk"= target=3D"_blank">http://www.dpawson.co.uk</a><br> </div> </div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>= Dave Pawson<br>XSLT XSL-FO FAQ.<br>Docbook FAQ.<br><a href=3D"http://www.dp= awson.co.uk">http://www.dpawson.co.uk</a><br> </div> <!-- |**|begin egp html banner|**| --> <br> =20=20=20=20 =20=20=20=20 <br> <!-- |**|end egp html banner|**| --> <div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div> <!-- Start Recommendations --> <!-- End Recommendations --> <!-- |**|begin egp html banner|**| --> <img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D10952198/grpsp= Id=3D1706030390/msgId=3D2155/stime=3D1376819954" width=3D"1" height=3D"1"> = <br> <!-- |**|end egp html banner|**| --> =20=20 <!-- |**|begin egp html banner|**| --> <br> <div style=3D"font-family: verdana; font-size: 77%; border-top: 1px s= olid #666; padding: 5px 0;" > Your email settings: Individual Email|Traditional <br> <a href=3D"http://groups.yahoo.com/group/emacs-nxml-mode/join;_ylc=3D= X3oDMTJnOW5raDd0BF9TAzk3NDc2NTkwBGdycElkAzEwOTUyMTk4BGdycHNwSWQDMTcwNjAzMDM= 5MARzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMzc2ODE5OTU0">Change settings via the = Web</a> (Yahoo! ID required) <br> Change settings via email: <a href=3D"mailto:emacs-nxml-mode-digest@y= ahoogroups.com?subject=3DEmail Delivery: Digest">Switch delivery to Daily D= igest</a> | <a href =3D "mailto:[email protected]= m?subject=3DChange Delivery Format: Fully Featured">Switch to Fully Feature= d</a> <br> <a href=3D"http://groups.yahoo.com/group/emacs-nxml-mode;_ylc=3D= X3oDMTJlZmR1cDNnBF9TAzk3NDc2NTkwBGdycElkAzEwOTUyMTk4BGdycHNwSWQDMTcwNjAzMDM= 5MARzZWMDZnRyBHNsawNocGYEc3RpbWUDMTM3NjgxOTk1NA--"> Visit Your Group=20 </a> | <a href=3D"http://docs.yahoo.com/info/terms/"> Yahoo! Groups Terms of Use </a> | <a href=3D"mailto:[email protected]?subject= =3DUnsubscribe"> Unsubscribe=20 </a>=20 <br> </div> <br> <!-- |**|end egp html banner|**| --> <div style=3D"color: white; clear: both;"/>__,_._,___</div> </body> </html> --001a11c391be4697d504e435e0f3--