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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + ETL (2)
-> + xsd:sequence question (3)
-> + contains an invalid path (5)
-> - Custom converter to map flat f... (1)
-> - validating a 4.01 transitional... (2)
-> ->validating a 4.01 transit...
-> + Cannot Use Stylus Studio On Mu... (5)
-> + Missing DB to XML option (2)
-> + Varying Length Multiple Record... (2)
-> + Flat Flie to xml - validation (2)
-> + File Association (2)
-> + Generate XSL to transform from... (2)
-> + Installation Problem (3)
-> + compile error with generated j... (4)
-> + Help with Result of "Create Sc... (2)
-> + Region start position (line ve... (3)
-> + XSLT Mapper calling wrong temp... (3)
-> + Convert XSL to XSL:FO (5)
-> + Problem after downloading the ... (2)
-> + Moving node up / down (4)
-> + License transfer problem (2)
-- Previous [1021-1040] [1041-1060] [1061-1080] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Tracey ZellmannSubject: validating a 4.01 transitional html page
Author: Tracey Zellmann
Date: 15 Sep 2008 12:02 PM
I have a 4.01 transitional html page in stylus studio and I am trying to validate it, using XML -> Validate Document from the menu bar. Here is my DOCTYPE

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

However, Stylus Studio seems to go to that dtd and then complain that it is invalid

http://www.w3.org/TR/html4/loose.dtd:31,3: FATAL ERROR: Unterminated entity declaration, 'HTML.Version'

How can I get around this problem ?

Posttop
(Deleted User) Subject: validating a 4.01 transitional html page
Author: (Deleted User)
Date: 15 Sep 2008 12:26 PM
Hi Tracey,
unfortunately the loose.dtd has been written using the SGML syntax for DTD, that allows comments inside declarations using the "--" syntax. So, that DTD is not a valid one according to XML, and shouldn't be used for such a purpose (you should turn to XHTML DTDs).

Hope this helps,
Alberto

   
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.