You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/09/25 22:32:09 UTC

DO NOT REPLY [Bug 16467] - Unmapped QName in system-property('x:y') causes NPE

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16467>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16467

Unmapped QName in system-property('x:y') causes NPE





------- Additional Comments From richcao@ca.ibm.com  2003-09-25 20:32 -------
The specs [1] say that for an invalid property, we should be returning the empty
string, rather than throwing an exception. Thus, I think processorinfoerr01, 02,
and 03 should be valid conf tests (where the empty string is returned instead of
an exception raised).

For processorinfoerr06, I think the correct behaviour is to raise a "namespace
not declared" error, rather than return an empty string or throwing an invalid
property exception. The specs [1] say that the argument must be a valid QName,
so the prefix must map to a namespace, which it does not.

[1] http://www.w3.org/TR/xslt#function-system-property