Re: XML output and entity undefined

2016-02-09 Thread Patrice Dumas
On Sat, Feb 06, 2016 at 11:58:29PM +, Karl Berry wrote: > Evidently most web browsers aren't intended to be used as viewers for > XML files following arbitrary DTD's. > > Evidently. So I think the manual should say this, that the XML output > cannot be viewed directly in a browser,

Re: XML output and entity undefined

2016-02-09 Thread Patrice Dumas
On Fri, Feb 05, 2016 at 05:30:38PM -0800, Per Bothner wrote: > > I'd drop it in favor of --xhtml, > where --xhtml is the same as --html except strictly XML compatible - with > no required DTDs or entity definitions. Isn't the html generated already XHTML compatible? I remember vaguely this

Re: XML output and entity undefined

2016-02-09 Thread Per Bothner
On 02/09/2016 02:28 AM, Patrice Dumas wrote: On Fri, Feb 05, 2016 at 05:30:38PM -0800, Per Bothner wrote: I'd drop it in favor of --xhtml, where --xhtml is the same as --html except strictly XML compatible - with no required DTDs or entity definitions. Isn't the html generated already

Re: XML output and entity undefined

2016-02-08 Thread Gavin Smith
On 6 February 2016 at 01:30, Per Bothner wrote: > What is the use case for --xml format? I'd drop it in favor of --xhtml, > where --xhtml is the same as --html except strictly XML compatible - with > no required DTDs or entity definitions. I wondered the same myself; here is a

Re: XML output and entity undefined

2016-02-06 Thread Karl Berry
Evidently most web browsers aren't intended to be used as viewers for XML files following arbitrary DTD's. Evidently. So I think the manual should say this, that the XML output cannot be viewed directly in a browser, and is thus only intended for further processing by other software.

Re: XML output and entity undefined

2016-02-05 Thread Gavin Smith
On 6 February 2016 at 00:50, Karl Berry wrote: > I believe that it does not follow the uri in the document DOCTYPE > definition > > Well, evidently not, since > http://www.gnu.org/software/texinfo/dtd/6.0/texinfo.dtd is found just > fine when visited directly.

Re: XML output and entity undefined

2016-02-05 Thread Karl Berry
I believe that it does not follow the uri in the document DOCTYPE definition Well, evidently not, since http://www.gnu.org/software/texinfo/dtd/6.0/texinfo.dtd is found just fine when visited directly. Unless there is an error in the dtd preventing it from being applied, which is

Re: XML output and entity undefined

2016-02-05 Thread Per Bothner
On 02/05/2016 04:50 PM, Karl Berry wrote: I believe that it does not follow the uri in the document DOCTYPE definition Well, evidently not, since http://www.gnu.org/software/texinfo/dtd/6.0/texinfo.dtd is found just fine when visited directly. Unless there is an error in the dtd

Re: XML output and entity undefined

2016-02-04 Thread Patrice Dumas
On Thu, Feb 04, 2016 at 02:01:12PM +, Karl Berry wrote: > Hi Gavin - another long-pending thing I haven't had a chance to get to the > bottom of. The TexinfoXML file generated here, > http://svn.gna.org/viewcvs/*checkout*/latexrefman/trunk/latex2e.xml > visited in a browser, gives the

XML output and entity undefined

2016-02-04 Thread Karl Berry
Hi Gavin - another long-pending thing I haven't had a chance to get to the bottom of. The TexinfoXML file generated here, http://svn.gna.org/viewcvs/*checkout*/latexrefman/trunk/latex2e.xml visited in a browser, gives the error: XML Parsing Error: undefined entity Location: