Re: Unable to get XInclude to work on any examples

Hi,

 

 For some reason, the body of the message never made it through.  Here it is.

 

I have been trying to get XInclude to work on several examples, including the
C.1 Basic Inclusion Example (see below).  On ALL examples tested, the
Validator for XML Schema REC (20010502) version reports:

 

 

Low-level XML well-formedness and/or validity processing output

Error: Expected whitespace after public id

 in unnamed entity at line 1 char 62 of http://www.w3.org/2001/XInclude

http://www.w3.org/2001/XInclude has no elements???

 

 

Does anyone know the solution to this problem?

 

Thanks in advance,

 

Ken

 

 

 

C.1 Basic Inclusion Example

 

The following XML document contains an xi:include element which points to an
external document. Assume the base URI of this document is
http://www.example.org/document.xml.

 

<?xml version='1.0'?>

<document xmlns:xi="http://www.w3.org/2001/XInclude">

  <p>120 Mz is adequate for an average home user.</p>

  <xi:include href="disclaimer.xml"/>

</document>

 

disclaimer.xml contains:

 

<?xml version='1.0'?>

<disclaimer>

  <p>The opinions represented herein represent those of the individual

  and should not be interpreted as official policy endorsed by this

  organization.</p>

</disclaimer>

 


==============================================================================
NOTICE - This communication may contain confidential and privileged 
information that is for the sole use of the intended recipient. Any viewing,
copying or distribution of, or reliance on this message by unintended
recipients is strictly prohibited. If you have received this message in
error, please notify us immediately by replying to the message and deleting
it from your computer.

==============================================================================

Received on Tuesday, 14 September 2004 12:51:54 UTC