[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Can schemas be in the default namespace?
At 2015-05-05 14:15 +0200, Steinar Bang wrote: Is it legal to do this? <schema xmlns="http://www.w3.org/2001/XMLSchema"> ... </schema> Yes. I'm dealing with some schemas that don't use a namspace prefix for the Not a problem. XML Validator Buddy[1] didn't complain about this, but eclipse WTP[2] That sounds like a bug as if they were expecting prefix-based properties. The XSLT-based XSD to RNG converter[3] says:I understand the wording of that message to be talking about the namespace used for xml:space= and xml:lang=, not the namespace for XSD. One isn't allowed to declare the namespace for the "xml:" prefix. "Tickle"? No ... wholesale edit removing the use of the default namespace in order to accommodate a buggy validator.Who are right? Is it possible to tickle the schemas so that WTP and/or the XSLT converter will accept them? Is the problem that both the outer schema and the imported schema uses "xmlns="?It is difficult to understand the "bug emulation mode" of a non-conformant processor. I hope this helps. . . . . . . Ken Thanks! - Steinar [1] http://www.xml-buddy.com/ValidatorBuddy.htm [2] http://www.eclipse.org/webtools/phoenix/webtools/ [3] http://debeissat.nicolas.free.fr/XSDtoRNG.php -- Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/video.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/ | G. Ken Holman mailto:gkholman@CraneSoftwrights.com | Google+ profile: http://plus.google.com/+GKenHolman-Crane/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal | --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|