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
Bruce MuschlitzSubject: entities within schemaLocation attribute
Author: Bruce Muschlitz
Date: 13 Sep 2009 09:00 PM
XML instance file with schemaLocation in the form of **XXX
YYY** will not validate in Studio 2008 Pro.
XML rules specify that XXX and YYY must be separated by whitespace, but the two enties of <Carriage Return> and <Linefeed> seem to qualify as whitespace.


Unknownsample(13).xml
fails validation due to schemaLocation

Postnext
Alberto MassariSubject: entities within schemaLocation attribute
Author: Alberto Massari
Date: 14 Sep 2009 11:58 AM
Hi,
I tested your file with a copy of Stylus Studio 2008 (build 1050g) and I got the error "Cannot open file://C:\bruce\IEC\XLS_for_SCL\SCL.xsd"; hence, it looks it is correctly parsing the schemaLocation attribute.
Which build number are you using? What is the exact error you are getting?

Thanks,
Alberto

Postnext
Bruce MuschlitzSubject: entities within schemaLocation attribute
Author: Bruce Muschlitz
Date: 14 Sep 2009 07:59 PM
Alberto:
I have build 1147c, and the problem is very interesting.
If I change the location from "SCL.xsd" to "SCL1.xsd" then I get "cannot open file". But with a valid schema available, I get:
***
Validating sample.xml...
The XML document sample.xml is NOT valid (1 errors)
***
It appears that SS is partially processing the entities!

The full schema is fairly complex (from IEC 61850-6) and I have attached it.
Please keep me informed on progress of your investigation.
Thanks for looking into this ... Bruce


UnknownSCL_14.zip

Posttop
Alberto MassariSubject: entities within schemaLocation attribute
Author: Alberto Massari
Date: 16 Sep 2009 03:29 AM
Hi Bruce,
I see the same behavior; the good news is that the problem has already been fixed in the upcoming Stylus Studio 2010.

Hope this helps,
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.