... I've rewritten the Xinclude grammar in nXhtml to conform to the official Xinclude XSD. If this is useful for you can you double check it and maybe add the...
1943
wyuenho
Aug 7, 2009 2:52 am
The grammar in xhtml-basic-form.rnc for the <textarea> element is this: textarea = element textarea { textarea.attlist } textarea.attlist = Common.attrib, ...
1944
Dave Pawson
dpawso
Aug 7, 2009 5:07 am
... You should be using the docbook v5 schema. nxml-mode has that as valid. ... Already done by the docbook group at Oasis. regards -- Dave Pawson XSLT XSL-FO...
1945
Lennart Borgman
nlborgman
Aug 7, 2009 10:42 am
... But that is only included in Emacs 23, not the standalone nxml-mode that Emacs 22 users download....
1946
Dave Pawson
dpawso
Aug 7, 2009 10:49 am
... The question was about docbook? I don't think even your nxml-mode includes that (nor should it?) docbook is available from sourceforge. With the schema for...
1947
Lennart Borgman
nlborgman
Aug 7, 2009 11:02 am
... It is included in the nxml-mode that comes with Emacs 23....
1948
Dave Pawson
dpawso
Aug 7, 2009 11:27 am
... Then either pick up both versions, 4.5 and 5.0 (and keep them up to date I guess) or link to where the schemas can be picked up. -- Dave Pawson XSLT XSL-FO...
1949
Lennart Borgman
nlborgman
Aug 7, 2009 11:31 am
... Could you please explain how we should handle this in Emacs? (I have added Emacs Devel to the discussion.)...
1950
Dave Pawson
dpawso
Aug 7, 2009 11:35 am
... Just my point. I don't think this should be an emacs issue If you want docbook schema, html or any other schema the end user should pick up that schema...
1951
Lennart Borgman
nlborgman
Aug 7, 2009 11:39 am
... Thanks. I see. I really think they should be part of Emacs distribution (as they are now) and wondered whether you have some suggestion regarding Docbook ...
1952
Dave Pawson
dpawso
Aug 7, 2009 11:52 am
... 4.5 is the current Oasis standard. As I said, either keep up or simply tell people where docbook is. How many schemas are you going to try and manage? ...
1953
Lennart Borgman
nlborgman
Aug 7, 2009 11:59 am
... It is a very good point to show them where to get the newest version since Emacs and docbook schemas might not always be in sync. I think that should be in...
1954
Dave Pawson
dpawso
Aug 7, 2009 12:18 pm
... http://www.dpawson.co.uk/relaxng/nxml/schemaloc.html#d574e168 Full explanation in the documentation provided with the original nxml-mode from JC -- Dave...
1955
Lennart Borgman
nlborgman
Aug 7, 2009 12:42 pm
... Thanks. So a doctypePublicId could be used to distinguish different Docbook versions? On the OASIS site I see that they do not distinguish rng files for ...
1956
wyuenho
Aug 7, 2009 5:17 pm
... It seems that the xinclude grammar is directly merged into the docbook grammar. But xinclude is meant to be general purpose, how do people validate other...
1957
wyuenho
Aug 7, 2009 5:25 pm
Hi, I'm in the process of updating the grammar files for Genshi and Xinclude in nXhtml and I need some help. I've just finished rewriting the Xinclude grammar...
1958
wyuenho
Aug 7, 2009 6:14 pm
I'm trying to add to the Genshi grammar from nXhtml a Genshi-specific Python expression datatype. I have this: python.expression = xsd:string { pattern =...
1959
Dave Pawson
dpawso
Aug 7, 2009 6:15 pm
... It is. It is also an xml namespaced element like any other? Hence it needs to be declared in the schema for the instance you're generating using nxml-mode....
After a lot of experimentation, I have to suspect that either I'm doing something really stupid or there's something really wrong with nxml's xsd datatype...
1964
Steinar Bang
sb@...
Aug 23, 2009 6:22 pm
... As expressed in a DOCTYPE declaration of a document? Yes, it can. I've used that a lot for legacy formats. You can also match on the document element...
1965
Lennart Borgman
nlborgman
Aug 23, 2009 10:48 pm
Thanks Steinar, I will look at this more later....
1966
Dave Pawson
dpawso
Aug 24, 2009 4:46 am
... This might be more appropriate on the docbook-apps mailing list? Certainly for the schema related questions. regards -- Dave Pawson XSLT XSL-FO FAQ. ...
1967
lucas_gonze
Sep 23, 2009 8:49 pm
Subject: HTML helper mode on existing files 1) Open a file that doesn't exist, which creates a file. Name the file foo.html. 2) Now in nXhtml mode, which is...
1968
Lucas Gonze
lucas_gonze
Sep 23, 2009 11:16 pm
Is this bug clearly written? Is it going to the right place?...
1969
Lennart Borgman
nlborgman
Sep 23, 2009 11:23 pm
Hi Lucas, Thanks for the bug report. Didn't you enter this to nXhtml bug database on Launchpad? I answered it there, I think it is the same problem as in...
1970
Lucas Gonze
lucas_gonze
Sep 23, 2009 11:54 pm
Hi Lennart, There's no menu item nXhtml - Tools - Major Mode Pripriorities. Are you sure that's what you intended to say? Thanks. -Lucas On Wed, Sep 23, 2009...
1971
Lennart Borgman
nlborgman
Sep 23, 2009 11:58 pm
Hi Lucas, Yes. This menu item is however only available when nxhtml-minor-mode is enabled in the current buffer....
1972
Lucas Gonze
lucas_gonze
Sep 24, 2009 12:08 am
Right. Let's have the conversation there, in the bug database: https://bugs.launchpad.net/nxhtml/+bug/382082 On Wed, Sep 23, 2009 at 4:57 PM, Lennart Borgman...
1973
Dave Pawson
dpawso
Sep 26, 2009 8:06 am
Loading a new schema, which uses datatypes w = "http://whattf.org/datatype-draft" How does nxml-mode translate that into an elisp file to pick up for...