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
Posttop
Roger PowellSubject: xml:base and schema creation
Author: Roger Powell
Date: 25 Apr 2005 12:33 PM
I have noticed that it is quite possible for Stylus to create a Schema
from XML content against which the XML source is invalid. Added to
which you can get a crash to occur. Try this:

Create a Schema for the following and validate it.

<?xml version="1.0"?>
<bookShop>
<purchaseOrders xml:base="file:///D:/DOCUMENTS/XML/Examples/">
<bookLink title="Enterprise Service Bus" link="booksOnXML.xml"/>
</purchaseOrders>
</bookShop>

NB With build 287L, if you already have a Schema called xml.xsd and you
don't allow Stylus to overwrite this file, Stylus will crash when asked to validate the document.

If you do allow the creation/overwriting of xml.xsd then the original
will be invalid against the created Schema.

Or am I doing something idiotic?

Senior Lecturer, Brunel University

 
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.