I've found to get content assist in Eclipse to "mostly really" work I have to rename my DFDL schemas to use extension ".dfdl.xml" because just unchecking all the Eclipse config boxes about XML Schema validation doesn't seem to be enough. Just having the extension ".xsd" seems to hard-wire some behaviors in Eclipse.
Putting the XML Schema for DFDL into the Eclipse XML Catalog as the schema to be used for the XML Schema namespace seems to "mostly" work. Our TDML test language has DFDL schema embedded inside it via the tdml:defineSchema element. This works quite well. When writing a schema inside a TDML document all the nice Eclipse content-assist stuff for XML works well for the DFDL schema part of it. ________________________________ From: Steve Lawrence <[email protected]> Sent: Friday, September 6, 2019 7:16 AM To: [email protected] <[email protected]> Subject: Re: Is there an XML Schema for DFDL schemas? Yep. In fact, Daffodil uses it to validate DFDL schemas before parsing/compiling them. The schema is split into multiple files across a couple different directories in the Daffodil code but the the Eclipse Configuration page [1] has a list of the schemes needed and links to them in our github code. - Steve [1] https://daffodil.apache.org/eclipse-configuration/ On 9/6/19 6:53 AM, Costello, Roger L. wrote: > Hello DFDL community, > > Is there an XML Schema for DFDL schemas? > > /Roger >
