Open Bug 164822 Opened 22 years ago Updated 2 years ago

XPath expressions .[foo] and ..[foo] shouldn't work

Categories

(Core :: XSLT, defect)

defect

Tracking

()

People

(Reporter: sicking, Assigned: peterv)

References

Details

according to the BNF productions in the spec you're not allowed to write expressions like ".[foo]" and "..[bar]". The spec says Step ::= AxisSpecifier NodeTest Predicate* | AbbreviatedStep AbbreviatedStep ::= '.' | '..' Before we tighten our parsingrules to enforce this we should check what other transformers do so that we don't break a lot of existing content. Stupid spec! (if we do fix this we also have to fix the p3p stylesheets in the netscape commersial tree)
OS: Windows 2000 → All
Hardware: PC → All
the p3p stylesheets should be fixed anyhow.nagged in bug 177822
QA Contact: keith → xslt
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.