mbeckerle commented on pull request #421:
URL: 
https://github.com/apache/incubator-daffodil/pull/421#issuecomment-700235890


   This XSD for DFDL is used by Daffodil when it takes in a schema, to validate 
that it does not use any of the XSD features that are not in the DFDL subset of 
XSD. 
   
   This was done by just commenting out specific lines of the original schema 
which is the w3c's XML Schema for XML Schema. 
   That is, we didn't write this schema ultimately, we just adapted it. 
   
   XML Schema is itself an XML-embedded language (for better or worse), so it's 
possible to write an XML Schema for it, but that's a meta-circular exercise 
that was tripping up XML validation in IDEs working with DFDL schemas. 
   
   There is no-doubt other "dead code" in this schema. I think the goal is to 
continue to be able to diff this XML Schema for DFDL against the XML Schema for 
XML Schema so that if XML Schema evolves, we can identify and isolate the 
differences.
   
   I think this schema does not enforce everything about the subset. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to