[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML:lang, clarification demanded
Hi Rick, I think it IS a specific XML:lang-problem. I created a Xschema with only the following namespace in it: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified"> I pulled out the networkcable, tried to validate and received the message "the xml-document is valid against the Xschema". In the mean time, I checked out some literature and there I read that <quote>The XML-processor isn't required to do anything with the URL [..]. There doesn't even have to be a document at the location it points to. Specifuing the URL is a formality to provide additional information about the namespace, [..] </quote>. This makes perfect sense, because the difference between the XML:lang and other namespaces is the <xs:import> element. Could it be that import actually imports (sort of copies) the xml.xsd on your harddisk? Grtz Kris -----Original Message----- From: Rick Jelliffe [mailto:ricko@a...] Sent: woensdag 14 mei 2003 16:45 To: xml-dev@l... Subject: Re: XML:lang, clarification demanded This is not a specific problem for that namespace, but a general problem that when you disconnect your computer the WWW no longer is available. The easiest approach should be to download http://www.w3.org/2001/03/xml.xsd to the same directory as your schema and then change the schemaLocation for that namespace to reflect its new location. Cheers Rick Jelliffe ----- Original Message ----- From: "Kris Vanhoutte" <kris.vanhoutte@c...> To: <xml-dev@l...> Sent: Thursday, May 15, 2003 12:23 AM Subject: XML:lang, clarification demanded Hi there, I created an xml-document and the validating Xschema. After processing the xml-document, a xhtml-report was created and placed on the intranet. The application has to be executable local too however, and that is were my problem is situated. The xml-document uses xml:lang and for some reason, the validation against the Xschema doesn't work when there is no internet-connection. I checked the w3c recommandation, but they don't mention any problems of this kind. The code I use in my Xschema to define the xml-namespace is the following: <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> In my opion, it is the xs:import that causes the problem, but I don't know how I can solve it. Is there anyone that can help me with this problem, or that has experienced this problem too? last remark: I use the msxml4.0 engine (it is not possible to use another one) Thanks Kris ----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager: <http://lists.xml.org/ob/adm.pl> ----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager: <http://lists.xml.org/ob/adm.pl>
|
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
|