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

Unable to get XInclude to work on any examples

From: Black, Ken <Ken.Black@jacobs.com>
Date: Mon, 13 Sep 2004 17:42:54 +0000
Message-ID: <82C9240F571D0D47A2DDCE91A1735F180465A9CC@oaknccw2k06.jacobs.com>
To: www-xml-xinclude-comments@w3.org
>
>
>Hi,
>
> 
>
>I have been trying to get XInclude to work on several examples, including the
>C.1 Basic Inclusion Example (see below or click here to see the web example
><http://www.w3.org/TR/xinclude> .)  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 09:07:04 GMT

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