tracker issue : CF-3040711

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 81407:When using the PDF() service, the "name" attribute is required but is not honored

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): marc esher / marc esher (marcesher)

Created: 12/31/2009

Components: Document Management, PDF manipulation

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 269517

Priority/Frequency: Normal / Some users will encounter

Locale/System: Japanese / Platforms All

Vote Count: 0

Problem:

When using the PDF() service, the "name" attribute is required but is not honored
Method:

Take the following code:pdf = new PDF();result = pdf.extractText(source=input,pages="3",addquads=true,honourspaces=false,type="xml",name="resultx");xml = xmlparse(resultx);I'm assigning the result of the function call to "result", but I'm required to use the "name" attribute in order for the function to not error. However, the value I use for the name attribute does not actually contain the result. In this example, if I use name="resultx", I would expect that resultX would contain the result of the extractText call. But it doesn't. This appears to be true for most if not all of the PDF() functions.To me, the "name" attribute should not be required since it's not being used. It's more natural to follow typical function semantics, i.e. the result of the function call is stored into the variable to which it is assigned.
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3040711

External Customer Info:
External Company:  
External Customer Name: marc esher
External Customer Email: 70390EBF47F01CAF992015B9
External Test Config: 12/31/2009

Attachments:

Comments: