XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Heiko GrussbachSubject: Stylus and DTD-inclusion
Author: Heiko Grussbach
Date: 28 Oct 1999 04:51 AM
Hi,

I have a DTD that includes another DTD (named global.dtd).



%slideshow.globals;

....

Now within globals.dtd I define a few entities like:



If a XML-document within Stylus uses this entity, Stylus reports an "Unknown Entity Error".

Is this a bug or is it impossible to use DTD-inclusion with Stylus?

If this is a bug, where should I report it (I'm using the evaluation version).

Regards

Heiko
Heiko.Grussbach@crpht.lu

Posttop
Carl SjogreenSubject: Stylus and DTD-inclusion
Author: Carl Sjogreen
Date: 08 Nov 1999 10:57 AM
> Is this a bug or is it impossible to use
> DTD-inclusion with Stylus?

Stylus does not currently parse external DTDs. If you include entity declarations in the internal DTD subset things should work fine.

A work around is to create a parameter entity in the internal subset that references the external DTD.

For example:

(!DOCTYPE page [
(!ENTITY % entitylist SYSTEM "stylus-help.ent")
%entitylist;
])

(Change all '(' and ')' symbols to angle brackets)

This is on the list of things to be looked at for the next release.

> If this is a bug, where should I report it
> (I'm using the evaluation version).

This is a good place to report bugs. Thanks!

-Carl

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.