[ http://issues.apache.org/jira/browse/XALANC-613?page=comments#action_12370721 ]
David Bertoni commented on XALANC-613: -------------------------------------- I think we just need to add an overload that accepts a XalanQName. I'm not sure how we could handle a lexical representation of a QName with a prefix, because you would need to provide a stylesheet for prefix resolution. > Cannot pass value to stylesheet parameter if parameter name is > namespace-qualified > ---------------------------------------------------------------------------------- > > Key: XALANC-613 > URL: http://issues.apache.org/jira/browse/XALANC-613 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.10 > Environment: winxp/ix86 > Reporter: Alain Le Guennec > Priority: Minor > > Passing a value to a top-level parameter of a stylesheet works only if the > parameter name is non-qualified. > Otherwise, xalan fails with an "invalid qname" exception. > Using the example in the binary distribution, try the following: > > UseStylesheetParam.exe prefix:name 'value' > UseStylesheetParam Error: > InvalidQNameException: The name '{0}' is not a valid QName. (, line -1, > column -1) > I did not find any API to set a parameter that takes the namespace URI of the > parameter name as an input in addition to the local name. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]