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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: RE: DOCBOOK-APPS: Two small questions (I hope)


On Qui, 2003-03-13 at 14:13, Jeff Beal wrote:
> I'm not sure about the thumbnails, but your second problem is more curious.
> XSLTProc should have no problems resolving the entities in the same manner
> as your DSSSL processor.  XML is XML and the stylesheet language you choose
> doesn't require any differences in your XML source.  What errors does
> XSLTProc return when trying to parse your file?  What's the output when you
> run xmllint on the file (xmllint --valid --noout yourfile.xml)?

capitulo1.xml:2: error: Input is not proper UTF-8, indicate encoding !
  <title>Gestão e Monitorização de redes</title>
             ^
capitulo1.xml:2: error: Bytes: 0xE3 0x6F 0x20 0x65
  <title>Gestão e Monitorização de redes</title>
             ^
dissertacao.xml:114: error: Entity value required
&chap1;
      ^
capitulo1.xml:2: error: Input is not proper UTF-8, indicate encoding !
  <title>Gestão e Monitorização de redes</title>
             ^
capitulo1.xml:2: error: Bytes: 0xE3 0x6F 0x20 0x65
  <title>Gestão e Monitorização de redes</title>
             ^
dissertacao.xml:1183: error: xmlParseEntityRef: no name
	<publishername>O'Reilly & Associates</publishername>
                          ^
unable to parse dissertacao.xml


This is my previous document that works with dsssl (jadetex, et all)

When I had previously tried this, I was on a tight schedule (this
document is my master's thesis and I was already late), so I tried, oops
there are errors, I'll use dsssl et all because it works.

With your hint of xmllint, and having the time to look at the messages i
figured what was missing. I just added to every included file the
following line:

<?xml version='1.0' encoding="iso-8859-1"?>

and it works!

Thanks for the "enlightening" tip, now I'm just missing the bookmarks...

-- 
        Mario Filipe 
        mjnf@uevora.pt
        http://neptuno.sc.uevora.pt/~mjnf 

This is a digitally signed message part



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