![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: What is wrong with this .XSD? [Thread Next] Re: What is wrong with this .XSD?To: NULL Date: 3/2/2005 5:13:00 PM Casper B wrote: > When I correct the schemaLocation indeed things start to clear up, > however it would appear my parser (Oracle DOM v2) is unable to load the > schema: > > --- > <Line 7, Column 59>: XML-24500: (Error) Can not build schema > 'http://www.qqsoft.dk' located at 'FormatSpec.xsd' > com.xyz.dex.xml.flat2xml.ParseException: I/O error: no protocol: > --- > > However, if I write the full location of the schema > (http://www.qqsoft.dk/FormatSpec.xsd" instead of just "FormatSpec.xsd") > parsing with validation functions just as I wanted it. > > I realize this is probably an internal parser issue, but I was just > wondering if you have suggestion as to why this is? FormatSpec.xsd is a relative URL perhaps your parser is expecting an absolute URL and trying to treat FormatSpec.xsd as an absolute URL then fails with the message "no protocol" as the protocol part of a URL (e.g. http: or file: or ftp:) is missing. But as said, questions about a particular parser are often better answered on mailing lists or forums dedicated to the parser. -- Martin Honnen http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
