Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


How do I re-task schemaLocation attribute?

From: Roberto <jobsqeu@-----.--->
To: xmlschema-dev@--.---, -------------@--.---
Date: 3/19/2008 7:26:00 AM
Got your attention? Good :) , Thanks for looking 
and thanks also for any assistance y'all can provide.
 
I use XMLSpy 2006 and my xml documents fail 
validation because of the schemaLocation. The xml documents previously passed 
validation when I used XMLSpy 2004. So obviously, either something was working 
and is now broke or something was broke and is now fixed in XMLSpy.
 
This is what the schemaLocation looks 
like:
 
<Return xmlns="http://www.foo.com/section" xmlns:efile="http://www.foo.com/section" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.foo.com/section \\server\dir\sub\subd\XSD_Folders\07\COR\2000v2.3\CIT\C1120S\R1120S.xsd 1120XML\2000v2.3\CIT\C1120s\R1120s.xsd" returnVersion="2000v2.3">
 
BTW, I have no formal training in XML and am brand 
new to it, in case you haven't guessed by now :) . From what I can tell, the 
schemaLocation fails because of that extra path at the end. It throws the 
"pairing(?)" off somehow which wasn't an issue in 2004 Spy. So, if I remove that 
extra path, the document passes validation in 2006 Spy. 
 
My question, is where do I modify the 
schemaLocation attribute that XMLSpy validates against so that the 
schemaLocation you see above is considered valid (or well-formed? not sure of 
the difference right now) by XMLSpy 2006. 
 
I would've thought that I could modify the locally cached copy of the XMLSchema.xsd file that comes with the installation of XMLSpy so I could validate the documents w/o having to remove that extra path every time. But unfortunately, I can't seem to make  heads or tails of the XMLSchema.xsd document as far as the schemaLocation attribute is concerned. I don't see it defined there but I'm probably blind and missing the obvious.


Unfortunately, I am not allowed to modify the xml documents further upstream to remove that extra path before it gets to me; it is used by a third party and would break stuff on their end apparently. Am I SOL??

 
thanks everyone,

R




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


From mike@s... Thu Mar 20 09:19:38 2008
Received: from lisa.w3.org ([128.30.52.4


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent