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

Re: Could you take a look at my XMLSchema and/or XMLSpy proble


xmlspy sax
From: "JPhil Sam" <dexgrohl@h...>


> Hi, i'm a new user of this list!
> 
> I have some problem with my schema.  It make two days that i'm searching for
> the problem. I would like to know if this schema is well written. Could you 
> please tell me ?

The schema at http://www.imsglobal.org/xsd/imsmd_rootv1p2p1.xsd
attempts to define a namespace for the xml prefix.  This is asking
for trouble: attempting to define the XML namespace or declare
the xml prefix (even if you are defining it to the correct namespace)
is an edge case which is prudent to avoid.  

So if no-one else on XML-DEV has a better suggestion, you might try
making a local copy of the IMS schema, but using some other namespace
prefix instead of XML on line 4, e.g.
            xmlns:myxml="http://www.w3.org/XML/1998/namespace" 

Cheers
Rick Jelliffe



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.