Reputation: 559
Is there any standard way to pare a DFDL file using Java. Currently we have a Java program which uses XML files. Now we also want to be able to parse DFDL files. Is there anyway to this in Java? Is there any way to do this with the DFDL and no schema? I've read some things about the difference between DFDL and XML. Is there any I can treat them the the same in Java. Thank...............................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Upvotes: 0
Views: 1253
Reputation: 96
Try IBM DFDL's Java implementation. You need to download IBM Integration Bus Developer Edition, and extract the jars (documentation explains how to do this). It comes with a SAX sample that makes IBM DFDL look like a SAXReader and you get SAX events to your docHandler callback. It's great for making non-XML data look like XML.
Upvotes: 0