Docs warning & indention

Started by Magnus Haganderabout 19 years ago5 messagesdocs
Jump to latest
#1Magnus Hagander
magnus@hagander.net

Hi!

First, I get the following warning when building docs on win32:
d:\prog\pgsql\docbook\openjade-1.3.1\bin\openjade:bookindex.sgml:1:21:E:
an attribute value literal can occur in an attribute specification list only
after a vi delimiter

Is this something known to happen, or is something broken in my setup?

Second, is there any tool that does indentation cleanup on our sgml
source files that someone can recommend? (doesn't have to be win32)

//Magnus

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Magnus Hagander (#1)
Re: Docs warning & indention

Magnus Hagander wrote:

First, I get the following warning when building docs on win32:
d:\prog\pgsql\docbook\openjade-1.3.1\bin\openjade:bookindex.sgml:1:21
:E: an attribute value literal can occur in an attribute specification
list only after a vi delimiter

Is this something known to happen, or is something broken in my
setup?

It would be useful to see what the file contains at the indicated
position.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

#3Magnus Hagander
magnus@hagander.net
In reply to: Peter Eisentraut (#2)
Re: Docs warning & indention

On Tue, Mar 13, 2007 at 04:36:28PM +0100, Peter Eisentraut wrote:

Magnus Hagander wrote:

First, I get the following warning when building docs on win32:
d:\prog\pgsql\docbook\openjade-1.3.1\bin\openjade:bookindex.sgml:1:21
:E: an attribute value literal can occur in an attribute specification
list only after a vi delimiter

Is this something known to happen, or is something broken in my
setup?

It would be useful to see what the file contains at the indicated
position.

It's in the message. bookindex.sgml, line 1, position 21. That line is:
<index id=''bookindex''>

which certainly has some funky quotes, but I don't know if that's
normal? IIRC, bookindex.sgml is auto-generated?

//Magnus

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Magnus Hagander (#3)
Re: Docs warning & indention

Magnus Hagander wrote:

It's in the message. bookindex.sgml, line 1, position 21. That line
is: <index id=''bookindex''>

That's certainly broken.

which certainly has some funky quotes, but I don't know if that's
normal? IIRC, bookindex.sgml is auto-generated?

Correct.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

#5Magnus Hagander
magnus@hagander.net
In reply to: Peter Eisentraut (#4)
Re: Docs warning & indention

On Tue, Mar 13, 2007 at 05:21:16PM +0100, Peter Eisentraut wrote:

Magnus Hagander wrote:

It's in the message. bookindex.sgml, line 1, position 21. That line
is: <index id=''bookindex''>

That's certainly broken.

Good to have that confirmed. I found the bug - win32 doesn't strip
single quotes from the commandline, and I had copied a command that used
single quotes for bookindex (the collateindex.pl call). Removed that and
it worked.

//Magnus