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
Paul HermansSubject: incorrect xml namespace related behaviour
Author: Paul Hermans
Date: 10 Jun 2002 07:07 AM
If you want to use xml:lang, xml:space and xml:base in your own schema
you need to import following namespace. 

<import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml_tva.xsd"/>

However stylus studio requires that the prefix xml is bound to this namespace by adding xmlns:xml="http://www.w3.org/XML/1998/namespace"
which is incorrect behaviour

See 
[0] http://www.w3.org/TR/xmlschema-1/#normative-schemaSchema
[1] http://www.w3.org/TR/1999/REC-xml-names-19990114/#nsc-NSDeclared

Or the discussion on xml-dev with subject
"which xml schema tools do it right concerning including attributes xml:lang and xml:space"


Posttop
Alberto MassariSubject: Re: incorrect xml namespace related behaviour
Author: Alberto Massari
Date: 10 Jun 2002 10:00 AM
Paul,
this is a bug in the schema validator of the Xerces-C parser we use
internally (for the record, it's bug 7458 -
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7458 )

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-2011 All Rights Reserved.