[Expat-bugs] [ expat-Bugs-607704 ] expat v1.9.5+ error on <?pi-target ?>

noreply@sourceforge.net noreply@sourceforge.net
Wed, 11 Sep 2002 01:27:18 -0700


Bugs item #607704, was opened at 2002-09-11 08:26
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=607704&group_id=10127

Category: www.libexpat.org
>Group: Third-party Bug
Status: Open
Resolution: None
>Priority: 9
Submitted By: Shamim Islam (kellin)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: expat v1.9.5+ error on <?pi-target ?>

Initial Comment:
PHP 4.2.2 - direct relay into expat 1.9.5
Apache 1.3.x
Windows NT
Linux-Mandrake

Processing instructions according to the W3C workgroup 
do not form part of the character stream, but are 
supposed to be passed directly to the application. As 
such, they should be allowed to appear anywhere.
xml and Xml as targets are reserved. The targets can 
make use of a Notation in the dtd to clarify the 
application to receive the processing instruction.

Expat as constructed does not allow for processing 
instructions to appear anywhere arbitrarily but requires 
that they appear outside tags. However, the W3C 
mandate clearly indicates that <TAG attribute="<?target 
something?>"/> is a valid construct.

In attempting to make use of this construct, expat 
repeatedly stopped with an invalid response.

Also, it was not clear whether the processing instruction 
was expected to return a value that would instead be 
substituted.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=607704&group_id=10127