OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: cross-document links


> * Bob Stayton <obof@fntruvyy.arg> [2004-01-26 11:45:28 -0800]:
>
>   <!ENTITY man-targets SYSTEM "file:///man.db">
>   <!ENTITY imp-targets SYSTEM "file:///imp-pile.db">

I replaced them with
  <!ENTITY man-targets SYSTEM "man.db">
  <!ENTITY imp-targets SYSTEM "imp-pile.db">
and now I get these:

time xsltproc --timing --stringparam target.database.document \
"olink-pile.xml" -o impnotes.html pile.xsl impnotes.xml
Parsing stylesheet pile.xsl took 2 ms
Parsing document impnotes.xml took 857 ms
imp-pile.db:1: parser error : StartTag: invalid element name
<!DOCTYPE div PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org
 ^
olink-pile.xml:16: error: Failure to process entity imp-targets
   &imp-targets;</document>
                ^
olink-pile.xml:16: parser error : Entity 'imp-targets' not defined
   &imp-targets;</document>
                ^
man.db:1: parser error : StartTag: invalid element name
<!DOCTYPE div PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org
 ^
olink-pile.xml:17: error: Failure to process entity man-targets
  <document targetdoc="clisp" baseuri="clisp.html">&man-targets;</document>
                                                                ^
olink-pile.xml:17: parser error : Entity 'man-targets' not defined
  <document targetdoc="clisp" baseuri="clisp.html">&man-targets;</document>
                                                                ^
Olink missing @targetptr attribute value
warning: failed to load external entity ".olink"
imp-pile.db:1: parser error : StartTag: invalid element name
<!DOCTYPE div PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org
 ^
olink-pile.xml:16: error: Failure to process entity imp-targets
   &imp-targets;</document>
                ^
......
and many more like that.

man.db & imp-pile.db are generated like this:

man.db: clisp.xml
	xsltproc --stringparam collect.xref.targets "only" \
	  --stringparam targets.filename "$@" pile.xsl $<

imp-pile.db: impnotes.xml $(IMPNOTES)
	xsltproc --stringparam collect.xref.targets "only" \
	  --stringparam targets.filename "$@" pile.xsl $<




--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Nostalgia isn't what it used to be.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]