← Prev in month
← Prev in thread
RE: [wsrp-wsia] [I#165] The Consumer should not strip the namespa ceprefix from f orm parameters
Another point to note is that HTML/XHTML does not require uniqueness of form control names across the HTML. This is because the deciding attribute for form controls is "name", which does not have to be unique, and not "id", which does (see http://www.w3.org/TR/html401/interact/forms.html#h-17.2). Thus, Producers doesn't need to prefix anything to form names, and thus it is pointless for the Consumer to strip namespaces. We should also stress this fact in the spec. Gil -----Original Message----- From: Gil Tayar [mailto:] Sent: Sun, December 01, 2002 13:13 To: Subject: [wsrp-wsia] [I#165] The Consumer should not strip the namespace prefix from f orm parameters Issue: 165 Status: Active Topic: interface Class: Technical Raised by: Gil Tayar Title: The Consumer should not strip the namespace prefix from form parameters Date Added: 1-Dec-2002 Document Section: v0.85/9.3 Description: "Quoting from the spec: ""If namespace encoding is used for form parameters or other data the entity receives as in markupParams, then the Consumer MUST strip the namespace prefix from the parameter names before passing them to the Producer"". believe the Consumer should not do this for two reasons: 1. It now means that the Consumer has to understand the uploadData and recognize one of the mime types, specifically application/x-www-form-urlencoded. This is definitely not generic. 2. The Producer will anyway have to understand namespace prefixing, including using it in JavaScript client code, so its not that big of a chore for the Producer to do this (for example, by adding another form parameter which includes the prefix code)." Resolution: Gil Tayar WebCollage
← Prev in month
← Prev in thread