-
Notifications
You must be signed in to change notification settings - Fork 9
Changed type of select #676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ndw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that covers it.
|
Except. Sigh. Doing things quickly always takes longer. What is this supposed to produce? <p:identity><p:with-input><doc/></p:with-input></p:identity>
<p:message select="."/>If So then you think, I'll do this: <p:identity><p:with-input><doc/></p:with-input></p:identity>
<p:message select="{.}"/>That produces "" (the empty string, because AVTs are always the string value). I think the expectation is more likely to be that |
|
@ndw I think the correct way to do it in this case is: |
|
Yes. I think you're right. I was going to argue that the name If we make it an expression, you can type Where you have to make sure that the variables are resolved while the string is being constructed but the resulting string is still a valid expression. Yuck. |
|
@ndw So your idea is to go back to select as xs:string and wait for better ideas to come up? |
|
No, I think |
|
Oh, now I understand what you had in mind. Haven't thought of it this way. Is this why it reads:
Should we change this? |
|
I don't know. The Does this seem like an improvement?
|
gimsieke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the result of evaluating the select option is serialized and made available
I tried to spell out @gimsieke 's idea: Is it as easy as this?