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
Pep ManelSubject: Bug in DTD and Schema automatic generation
Author: Pep Manel
Date: 29 Apr 2003 10:34 AM
I'm using Stylus v4.6 and I found a bug in the DTD and Schema generation process from the following xml file. The XML with the DTD or Schema generated are invalid.

<?xml version="1.0" encoding="UTF-8"?>

<list>

<op name="Supply">

<item precio="123456" unidades="60">mesa comedor haya</item>

<item precio="13456" unidades="100">mesa cocina nogal</item>

<item precio="13457" unidades="200">silla cocina nogal</item>

</op>

<res name="Supply"/>

<op name="Order" u="juan" pass="nauj">

<item unidades="1">mesa comedor haya</item>

<item unidades="4">silla cocina nogal</item>

</op>

<res name="Order">

<order>

<id>345</id>

<item unidades="1" precio="123456">mesa comedor haya</item>

<item unidades="4" precio="13457">silla cocina nogal</item>

<total>177284</total>

</order>

</res>

<op name="List" u="juan" pass="nauj"/>

<res>

<order>

<id>345</id>

<item unidades="1" precio="123456">mesa comedor haya</item>

<item unidades="4" precio="13457">silla cocina nogal</item>

<total>177284</total>

</order>

<order>

<item unidades="0" precio="123456">mesa comedor haya</item>

</order>

<total>1234567</total>

</res>

</list>


Bye

Posttop
(Deleted User) Subject: Re: Bug in DTD and Schema automatic generation
Author: (Deleted User)
Date: 29 Apr 2003 11:46 AM
Hi Pep,
thanks for reporting this; the fix for this bug will be available in the
next update.

Alberto

 
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.