Dave Pawson | 7 Sep 2010 11:15
Picon
Gravatar

html5 schema

Henri has worked on a schema for nxml-mode with html5.
I've compiled the datatype library into a jar...
http://github.com/hober/html5-el

Now I'm stumped.
How to integrate a jar file with ... .el files?

Any suggestions please?

regarsd

--

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)
(Continue reading)

James Clark | 7 Sep 2010 11:55

Re: html5 schema

I don't see any jar file there.  There's a bunch of .el files and an explanation of how to use it with nxml-mode.

On Tue, Sep 7, 2010 at 4:15 PM, Dave Pawson <dave.pawson <at> gmail.com> wrote:
 

Henri has worked on a schema for nxml-mode with html5.
I've compiled the datatype library into a jar...
http://github.com/hober/html5-el

Now I'm stumped.
How to integrate a jar file with ... .el files?

Any suggestions please?

regarsd

--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Dave Pawson | 7 Sep 2010 12:12
Picon
Gravatar

Re: html5 schema

On 7 September 2010 10:55, James Clark <jjc <at> jclark.com> wrote:
>
>
> I don't see any jar file there.  There's a bunch of .el files and an explanation of how to use it with nxml-mode.

Agreed. I was too hasty.
http://github.com/hober/html5-el/archives/master
downloads a directory which includes a readme, an addition
to the schemas.xml file (if you want all .html files to be html5).
And a couple of .el files

I put them in my site-lisp directory,
added that to my load-path
added (require 'whattf-dt)
to the nxml-mode-hook

and hey presto it works!
[except I thought html5 wasn't namespaced?]
-------------

Having compiled the java though James,
can I now use it with jing for cmd line validation?
Using http://syntax.whattf.org/  ?
Just add the jar file (that I built from the java sources in
the 'datatype' directory) to the classpath?

regards

--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    emacs-nxml-mode-digest <at> yahoogroups.com 
    emacs-nxml-mode-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    emacs-nxml-mode-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane