Title:
Bug 77423:Extracttext option of CFPDF seems to result in XML that cannot be searched via XmlSearch using XPath notation
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Pankaj Sarin / Pankaj Sarin (Pankaj Sarin)
Created: 05/23/2009
Components: Document Management, PDF manipulation
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 239790
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem:
Extracttext option of CFPDF seems to result in XML that cannot be searched via XmlSearch using XPath notation. For example, try the code below. It should result in an array of text of each page of PDF but instead comes back empty, even though you can see it found and created a XML document from the PDF file.
<cfpdf name="objCurrentPDF" source="#strFileName#" action="extractText" >
<cfset objCurrentPDF = XMLParse(objCurrentPDF)>
<cfdump var="#objCurrentPDF#">
<cfset arrblah = XmlSearch(objCurrentPDF, "//Page") />
<cfdump var="#arrblah#">
Method:
See code above.
Result:
No error message.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3038681
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: Pankaj Sarin
External Customer Email: 063D658D4494B35199201549
External Test Config: 05/23/2009
Attachments:
Comments: