[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Possible transformiix bug with defaulted attributes.

Subject: RE: Possible transformiix bug with defaulted attributes.
From: MarkH@xxxxxxxx
Date: Thu, 4 May 2000 14:29:31 +0100
RE: Possible transformiix bug with defaulted attributes.
Forgive any misguided newbieness here but...

| -----Original Message-----
| From:	David Carlisle [SMTP:davidc@xxxxxxxxx]
| > The problem arises out of conditional match against a missing attribute
| > where the XML schema provides a default value.
| 
| there is nothing in either the XML or XSL specs that suggests that
| any XML application should default attributes from anything other than a
| DTD. 
Transformiix appears to accept the use of defauls in my schema when
validating XML, so I'm confused by the apparent distinction being drawn
between my schema and an equivalent DTD? Please clarify this for a newbie.

| And certainly you wouldn't expect anything other than MSXSL to
| understand this microsoft specific format of schema:
| 
| <Schema name="DefaultTestObject"
xmlns="urn:schemas-microsoft-com:xml-data"
Again I don't understand why this should confuse any parser. The form
appears consistent with the XML namespace specs and is irrelevant to the
processing I'm doing. I might just as well put
xmlns="http://www.agilic.com/default" or to slightly misquote Tim Bray
xmlns="AnyOldBollocks" (he was acually using for a named (html) namespace.
My understanding is that the URN is merely used to partition the name spaces
and it is identity or otherwise of these URN's that can affect processing,
not their actual form. Hence the validity of something like
"AnyOldBollocks".
| 
|                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
| > but where the attribute is missing only MSXML v3 appears to perform
| > correctly, 
| 
| transformiix is quite correct here.
Anyone else have an opinion on this (Keith V?) or do I have to produce a
sample without the dreaded word "microsoft" in it!

tia
mark



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.