Re: xml error
"Daniel E. Macks" <[email protected]>
| Newsgroups | gmane.os.apple.fink.i18n |
|---|---|
| Message-ID | <[email protected]> |
demented blitz <[email protected]> said: > Well, I am only following what my team leader asked me > to do. I am just the worker ant. > Here is the xml file, at least the beginign parts. > btw, MIT??? ::bows to Hansen:: > [code] ><?xml version="1.0" encoding="utf-8"?> ><!DOCTYPE article SYSTEM "../finkdoc.dtd"> ><article filename="usage" lang="es"> > <title>Uso de Fink</title> > <shorttitle>Uso</shorttitle> > <cvsid>$Id: usage.xml,v 1.14 2004/03/05 15:40:26 fingolfin Exp $</cvsid> > <section> > <title>Configurando PATH</title> > <p>Para usar el software que esta instalado en [...] > .chrc:</p> > <codeblock>source /sw/bin/init.csh</codeblock> > <p>Revisando su .cshrc solo afectara sus nuevas [...] > internamente.</p> > <p>si usa Bourne shell (ejemplo: sh, bash, zsh), use:</p> > <codeblock>source /sw/bin/init.sh</codeblock> > <p>FÃjese en que los scripts también agregan [...] > variable.</p> > </section> [from original message in this thread] > xmllint --noout --valid usage.es.xml > usage.es.xml:36: element section: validity error : > Element section content does not follow the DTD, > expecting (title? , (codeblock | ol | p | ul | > itemtable)*), got (title p CDATA p ) > </section> > ^ > make: *** [check] Error 4 What do you have *after* the </section>? Maybe there is a <p> next? The only things you are allowed to have there are a new opening <section> or the closing </article>. Text blocks have to be within <section>...</section> blocks. dan -- Daniel Macks [email protected] http://www.netspace.org/~dmacks ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click