- From: Pratik Datta <pratik.datta@oracle.com>
- Date: Tue, 29 Jun 2010 11:18:56 -0700 (PDT)
- To: Robin Berjon <robin@berjon.com>
- Cc: Spec Prod <spec-prod@w3.org>, Frederick Hirsch <frederick.hirsch@nokia.com>, Thomas Roessler <tlr@w3.org>
Those special double quotes are not in my html, Outlook tried to be smart, and fix my regular quotes. Here is my html file http://www.w3.org/2008/xmlsec/Drafts/proposals/Streamable-XPath-subset-src.html I looked the error console and I see this error: Error: o is undefined Source File: http://dev.w3.org/2009/dap/ReSpec.js/js/sh_main.min.js Line: 4 However this one that you sent http://dev.w3.org/2006/waf/widgets-access/ works fine on my browser with syntax highlighting and all. I don't understand why my html is giving the error. Pratik -----Original Message----- From: Robin Berjon [mailto:robin@berjon.com] Sent: Tuesday, June 29, 2010 1:32 AM To: Pratik Datta Cc: Spec Prod Subject: Re: How to do xml syntax hilighting in Respec Hi, On Jun 29, 2010, at 08:39 , Pratik Datta wrote: > Can ReSpec do syntax highlighting? Yes. > I am trying to get it to syntax highlight an XML snippet, and it is not doing that. > > I tried > <pre class= "example"> > <book/> > </pre> > > I also tried with class= "example sh_xml" but that didn't work either. The latter should work. If you look at http://dev.w3.org/2006/waf/widgets-access/ you can see that the examples are highlighted. In your email you're using "" as quote characters instead of "" or '', is that in the source or only something that your email client did? -- Robin Berjon - http://berjon.com/
Received on Tuesday, 29 June 2010 18:20:42 UTC