On Tue, 2008-07-22 at 15:15 -0500, Byron Campen wrote:
> Hey Dale! I bet it wants a <http://www.w3.org/2001/XMLSchema:import>
> elem; is this what you've given it?
I think I am. The source file is as follows. (It goes through a
substitution process to replace "@SIPX_DATADIR@" with a directory that
exists on the computer in question.)
<?xml version='1.0' encoding='iso-8859-1' standalone='yes'?>
<!--
- XML Schema for sipX caller-alias definitions
-->
<schema
xmlns:a='http://www.sipfoundry.org/sipX/schema/xml/caller-alias-00-00'
xmlns:sip='http://www.sipfoundry.org/sipX/schema/xml/sip-00-01'
targetNamespace='http://www.sipfoundry.org/sipX/schema/xml/caller-alias-00-00'
xmlns='http://www.w3.org/2001/XMLSchema'
>
<import
namespace="http://www.sipfoundry.org/sipX/schema/xml/sip-00-01"
schemaLocation="/home/dworley/sandbox-151/sipX/../dir-local/share/sipxecs/schema/sip_types.xsd"
/>
[...]
As long as the schemaLocation attribute points to a file containing the
schema for sip-00-01, Xerces will use that schema. But I can't omit the
schemaLocation or the <import>.
Dale