W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > September 2004

Re: Unable to get XInclude to work on any examples

From: Black, Ken <Ken.Black@jacobs.com>
Date: Tue, 14 Sep 2004 08:50:10 -0400
Message-ID: <82C9240F571D0D47A2DDCE91A1735F18054E74EE@oaknccw2k06.jacobs.com>
To: www-xml-xinclude-comments@w3.org
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 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:10 GMT