As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am running a p- flow inside a channel,which takes a xml file with a DTD reference in it .
This DTD reference is causing the problem.
The iWay components like transforms are failing to parse the XML file and is giving the error as Unexpected exception: XD[FAIL] cause: 2 subcause: 0 message: IO exception while parsing document java.net.UnknownHostException: xml.cxml.org. The xml file has a DTD reference in it and contains this xml.cxml.org. As of now i have removed the dtd reference manually and have built a transform. But when I deploy all the components in a channel and when listener(File listener and accepts flat files) picks up message, the same error is still thrown when the message enters the transform object. Even after accepting the file as flat and if i try to remove the DTD with a service object(XDConstantAgent) with a _flatof() function to is not working and still results in the same error. Even having a XLST file to remove the DTD reference is too not working, as the XLST still try to parse the file first before accepting.
Is there any way to remove/switch off the DTD from the file? Please help..
Have you tried to run the pflow in Run Test Tool inside Designer or iIT? Did it work? Could you send us the file with the XML you are using for the tests?
Cheers,
TK
DS 7.6.11 iSM 5.5, 5.6, 6.0.X WXP, Ubuntu 10.04 LTS
The DTD part of the xml,causing the problem. Also as mentioned earlier, I am using a file listener to accept this XML as a flat file and then apply the functions to remove the DTD reference. What ever function I use, iWay still tries to parse the XML and results in a error.
Is there any way to bypass the XML parsing and remove the DTD content from the original XML.
I tried test run in Run Test Tool--inside Designer with no success.. <?xml version="1.0" encoding="ISO-8859-1"?> < !DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.017/cXML.dtd"> <cXML> . . . . </cXML>
The DTD part of the xml,causing the problem. Also as mentioned earlier, I am using a file listener to accept this XML as a flat file and then apply the functions to remove the DTD reference. What ever function I use, iWay still tries to parse the XML and results in a error.
Is there any way to bypass the XML parsing and remove the DTD content from the original XML.
I tried a PFLOW with a similar XML document and maybe the problem is the whitespace at the start of the < !DOCTYPE sentence; try to remove that and test again.
Cheers,
DS 7.6.11 iSM 5.5, 5.6, 6.0.X WXP, Ubuntu 10.04 LTS
OK, I suppose that in the transform you have configured the validation against a DTD in the input or output properties. Could you try to select "None" option and try again? But instead testing inside a channel try the test transform tool.