Hello,
I am trying to validate XML with Xerces 1.7.0.
The server(IBM AIX) where Xerces is located does not have an Internet access
due to the security issue. The validation using Xerces SAX parser failed
with net access error so I tried to get rid of the name space
"http://www.w3.org/2001/XMLParser" from the <schema> tag and
substitue with
something else (local URI). Then, I have a bunch of errors with untyped
element string
XML schema:
<?xml version="1.0"?>
<schema xmlns="file:///c:/usr/apark"
targetNamespace="file:///c:/usr/apark"
elementFormDefault="qualified">
XML file:
<?xml version="1.0" ?><APARK
noNamespaceSchemaLocation="file:///c:/usr/apark/apark.xsd>
Errors are:
Error at (file prodInfo, line 1, char 101): Type not found in
file:///c:/usr/apark:string
My question is how to validate the XML against schema if there is no internet
access that I cannot process
http://www.w3.org/2001/XMLSchema.
Any idea?
You can send me an email(
[email protected]) or reply to this message.
Austin