Bug 8159 - Enum: does maxChars include the wsen:Items element?
: Enum: does maxChars include the wsen:Items element?
Status: CLOSED REMIND
Product: WS-Resource Access
Enumeration
: FPWD
: PC Windows XP
: P2 minor
: ---
Assigned To: Doug Davis
: notifications mailing list for WS Resource Access
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-11-03 20:09 UTC by Doug Davis
Modified: 2010-03-17 11:35 UTC (History)
0 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Davis 2009-11-03 20:09:06 UTC
Enum says this about maxChars:

Implementations MUST NOT return a Pull response message whose wsen:Items
element is larger than MaxCharacters.

its not clear if this includes the wsen:Items element or just its children.

Proposals:

change the above sentence to either:

1) Implementations MUST NOT return a Pull response message whose wsen:Items
element, and all of its children, is larger than MaxCharacters.

or

2) Implementations MUST NOT return a Pull response message whose total child
elements under the wsen:Items element is larger than MaxCharacters.

Either works for me but we should let the people who have implemented this
sway our decision.
Comment 1 Doug Davis 2009-12-08 13:41:19 UTC
Thinking more about this....
I think option 1 is probably the better choice.
If we're worried about the size of the msg (for a small processor) then
we should take into account that the processor might be forced to put
the entire "application data" part of the message into memory at once
and that would be the <Items> element and its children - option 1.
Comment 2 Robert Freund 2009-12-08 21:21:49 UTC
Resolved with proposal 1.


  翻译: