#65 Proc instr'n name can't contain a colon

closed
5
2012-10-08
2002-02-22
Michael Kay
No

According to the Namespaces REC, a processing
instruction target name must not contain a colon.

AElfred is not rejecting a name that contains a colon,
but such a name is never matched by a Saxon stylesheet.

I am fixing this problem by rejecting source documents
that contain a colon in a PI name. But they will not
be rejected if this occurs in the DTD, because (a) an
XSLT processor is supposed to ignore PIs in the DTD,
and (b) the XHTML specification uses PIs containing
colons in its DTD.

Present in 6.5.1 and 7.0.

Source code fixed in both branches (module
ContentEmitter, method processingInstruction).

Discussion

  • Michael Kay

    Michael Kay - 2002-04-12

    Logged In: YES
    user_id=251681

    Fixed in 6.5.2

     
  • Michael Kay

    Michael Kay - 2002-04-30

    Logged In: YES
    user_id=251681

    Fixed in 7.1

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks