Re: Defining non-WXS datatypes
From: "Dare Obasanjo" <dareo@m...> >I don't remember writing anything about default namespaces. What comment of mine are you referencing? My apologies. I misremembered. It wasn't you, it was Rick Jellife who wrote: > On the issue of namespaces, I think it is a mistake not to require > explicit prefixes in the XPaths. I also think it is a mistake to use > the namespace context for the queries: better to make a Chinese wall > separating namespaces used by element and attribute names, and > namespaces used by content: this is what Schematron does and I think > it has worked really well. No prefix should mean no namespace. It > isn't a favour to users for schema languages to provide too much > flexibility in this area (compare with elementFormDefault of WXS ), > because the user cannot tell immediately whether an unprefixed name > is in any namespace--one more thing to worry about when they need to > have one fewer thing. (Forcing no-prefix=no-namespace and using > separate declarations for namespaces does not reduce expresive > power.) Bob Foster
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format