Hi,
The file is not a well-formed XML document, because the prefix 'rdf ' is
not bound to a namespace URI. I don't know what the source of this
document is, but you should fix the source to deliver well-formed
documents, or add the necessary namespace binding, if you created this
file yourself.
This as nothing to do with validation, or whether or not the parser has
access to any URLs in the schema location hints.
Dave
Nacho Conde <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
03/28/2005 03:06 AM
Please respond to xalan-c-users
To: [email protected]
cc: (bcc: David N Bertoni/Cambridge/IBM)
Subject: problem parsing xml with namespaces...
Hi, i need parse xml files as this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rdf:RDF xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="
http://10.65.1.69:80/NASApp/wete/ServletUAProf?esquema=20041213062312.xsd
">
<rdf:Description ID="88320000000">
<prf:component>
<rdf:Description ID="BrowserUA">
<prf:BrowserName/>
<prf:BrowserVersion/>
</rdf:Description>
</prf:component>
</rdf:Description>
</rdf:RDF>
when i parse the document, the error is: "The prefix 'rdf' has not been
mapped to any URI"
i configure de parse liaison whit, setUseValidation(false) and
setDoNamespaces(false),
i not have access to the url , but i need parse the document,
someone idea?
Thanks