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)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
- Stylus Studio Code Samples & Utilities (364)
-> - DTD to schema conversion (2)
-> ->Re: DTD to schema convers...
-> + Simple XSLFO Example (3)
-> - Post your favorite Stylesheet ... (1)
-- Previous [121-123]
+ Stylus Studio Announcements (113)
Topic  
Postnext
Tony NathanSubject: DTD to schema conversion
Author: Tony Nathan
Date: 30 Oct 2001 06:53 PM
I have the following DTD:-

(!-- ProActive Test Harness.dtd -->

WindowTitle CDATA "Test Harness"
AutoStart CDATA "No">



name CDATA #REQUIRED
loop CDATA "1">



name CDATA #REQUIRED
loop CDATA "1">













timeout CDATA #IMPLIED
hidden (Yes|No) "No">






























timeout CDATA #IMPLIED
loadFrom (cache|file) #IMPLIED>



timeout CDATA #IMPLIED
saveTo (cache|file) #IMPLIED>






(!-- The first CheckExpected is for the response and the second is for the Async Notify-->

WaitForResponse (Yes|No) "Yes"
timeout CDATA #IMPLIED>



AsyncLHS CDATA "/NASTxn/RefID"
AsyncRHS CDATA "//OrderRefID">



type (Response|Notifies|All) "All"
timeout CDATA #IMPLIED>


and when I use the DTD to xsd document wizard I get:-




could somebody please explane why what is going on????

Posttop
Minollo I.Subject: Re: DTD to schema conversion
Author: Minollo I.
Date: 30 Oct 2001 08:15 PM
The problem is the DTD encoding. The DTD to XML Schema converter doesn't
support Unicode; try saving the DTD as utf-8, and things should work fine.

Minollo

   
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.