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] | [Elist Home]


Subject: RE: DOCBOOK-APPS: Using DSSSL stylesheets with XML


It looks like DSSL is returning validation errors.  It's entire possible
that your XSLT processor does not fully validate.  (I know that Saxon
doesn't catch everything.)  Get a validating XML parser, like Xerces, and
run it on your XML if you're not sure the XML is actually valid.

Jeff Beal
Ansys, Inc.
(724)514-3150
jeff.beal@ansys.com

-----Original Message-----
From: carlos@cvc.edu [mailto:carlos@cvc.edu]
Sent: Thursday, February 07, 2002 12:32 PM
To: Juan R. Migoya
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: Using DSSSL stylesheets with XML

Juan:

I'm still having problems with DSSL stylesheets and openjade.

Steps I've taken so far:

1. Downloaded, compiled and installed Openjade
2. Downloaded and unpacked the DSSL style sheets (1.74b)
3. setup my SGML Catalog files env. Variable

When I try to use openjade to parse a document to HTML that works ok with
the XSL stylesheets get the errors below

[localhost:~/docbook] carlosar% openjade -t sgml -i html -d
dsssl/html/docbook.dsl dsssl/dtds/decls/xml.dcl webct-boot-camp.xml
openjade:webct-boot-camp.xml:16:20:E: document type does not allow element
"authorinitials" here
openjade:webct-boot-camp.xml:521:50:E: document type does not allow element
"title" here
openjade:webct-boot-camp.xml:523:5:E: document type does not allow element
"para" here; assuming missing "footnote" start-tag
openjade:webct-boot-camp.xml:529:6:E: document type does not allow element
"sect3" here
openjade:webct-boot-camp.xml:563:7:E: end tag for "footnote" omitted, but
OMITTAG NO was specified
openjade:webct-boot-camp.xml:523:0: start tag was here
openjade:webct-boot-camp.xml:563:7:E: end tag for "title" omitted, but
OMITTAG NO was specified
openjade:webct-boot-camp.xml:521:44: start tag was here
openjade:webct-boot-camp.xml:563:7:E: end tag for "title" omitted, but
OMITTAG NO was specified
openjade:webct-boot-camp.xml:521:0: start tag was here
openjade:webct-boot-camp.xml:563:7:E: "sect2" not finished but containing
element ended
openjade:webct-boot-camp.xml:563:7:E: end tag for "sect2" omitted, but
OMITTAG NO was specified
openjade:webct-boot-camp.xml:520:0: start tag was here
openjade:dsssl/html/../common/../common/dbl1no.dsl:2:66:W: cannot generate
system identifier for public text "ISO 8879:1986//ENTITIES Added Latin
1//EN"
openjade:dsssl/html/../common/../common/dbl1no.dsl:3:5:E: reference to
entity "lat1" for which no system identifier could be generated
openjade:dsssl/html/../common/../common/dbl1no.dsl:2:0: entity was defined
here
openjade:dsssl/html/../common/../common/dbl1ro.dsl:2:66:W: cannot generate
system identifier for public text "ISO 8879:1986//ENTITIES Added Latin
1//EN"
openjade:dsssl/html/../common/../common/dbl1ro.dsl:3:5:E: reference to
entity "lat1" for which no system identifier could be generated
openjade:dsssl/html/../common/../common/dbl1ro.dsl:2:0: entity was defined
here
openjade:dsssl/html/../common/../common/dbl1ro.dsl:4:66:W: cannot generate
system identifier for public text "ISO 8879:1986//ENTITIES Added Latin
2//EN"
openjade:dsssl/html/../common/../common/dbl1ro.dsl:5:5:E: reference to
entity "lat2" for which no system identifier could be generated
openjade:dsssl/html/../common/../common/dbl1ro.dsl:4:0: entity was defined
here
openjade:dsssl/html/../common/../common/dbl1ru.dsl:2:69:W: cannot generate
system identifier for public text "ISO 8879:1986//ENTITIES Russian
Cyrillic//EN"
openjade:dsssl/html/../common/../common/dbl1ru.dsl:3:5:E: reference to
entity "cyr1" for which no system identifier could be generated
openjade:dsssl/html/../common/../common/dbl1ru.dsl:2:0: entity was defined
here
openjade:dsssl/html/../common/../common/dbl1sl.dsl:2:66:W: cannot generate
system identifier for public text "ISO 8879:1986//ENTITIES Added Latin
2//EN"
openjade:dsssl/html/../common/../common/dbl1sl.dsl:3:5:E: reference to
entity "lat2" for which no system identifier could be generated
openjade:dsssl/html/../common/../common/dbl1sl.dsl:2:0: entity was defined
here
openjade:dsssl/html/../common/../common/dbl1sr.dsl:2:66:W: cannot generate
system identifier for public text "ISO 8879:1986//ENTITIES Added Latin
2//EN"
openjade:dsssl/html/../common/../common/dbl1sr.dsl:3:5:E: reference to
entity "lat2" for which no system identifier could be generated
openjade:dsssl/html/../common/../common/dbl1sr.dsl:2:0: entity was defined
here


Any idea what the problem may be?

Carlos


On 02/07/02 5:35, "Juan R. Migoya" <jmigoya@ingeteam.es> wrote:

> Just fed Openjade with the file "xml.dcl" before your xml file, i.e:
>
> Openjade [options] xml.dcl foo.xml
>
> HTH
>
> Regards,
> JUAN R. Migoya
> SPAIN
>
>
> Carlos Araya wrote:
>
>> Good morning:
>>
>> I know this has been asked before but couldn't find the answer in the
>> archives.  What do I need to do in order to be able to use Open Jade and
the
>> DSSSL style sheets with XML documents?
>>
>> Carlos
>> --
>> Carlos E. Araya
>> ---+ WebCT Administrator/Trainer
>>  P | California Virtual Campus
>

--
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email               carlos@cvc.edu
web                 http://www.cvc1.org/ (work)
                    http://www.silverwolf-net.net (personal)
phone               408 257 0420 (work)
PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Paradoxically, a refusal to 'put a monetary value on life' means that life
is often undervalued.
-- Artificial Intelligence: A Modern Approach


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


Powered by eList eXpress LLC