Status/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): / ext-user (Suchika Singh)
Created: 10/07/2015
Components: Document Management, PDF manipulation
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: cf12 /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win XP All
Vote Count: 1
Problem:
ISDDX() & cfpdf action="processddx" should accept XML objects.
Method:
<cfdocument format="pdf" filename="#expandPath('./pdfIn.pdf')#" overwrite="true"><cfoutput>#now()#</cfoutput></cfdocument>
<cfxml variable="myDDX3">
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
<PDF result="pdfOut">
<PageSize width="2in" height="2in" scaleUp="true" />
<PDF source="pdfIn" />
</PDF>
</DDX>
</cfxml>
<cfpdf action="processddx" ddxfile="#myDDX3#" inputfiles="#{pdfIn=expandPath('./pdfIn.pdf')}#" outputfiles="#{pdfOut=expandPath('./myPDF3.pdf')}#" name="myDDXResult3">
<cfset fileWrite(expandPath('./myDDX3.ddx'), myDDX3)>
<cfoutput>#isDDX(myDDX3)# #isDDX(expandPath('./myDDX3.ddx'))#</cfoutput>
Result:
isDDX(myDDX3) returns NO,should return YES since myDDX3 is valid DDX
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4069951
Reason: NewBug
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: