Community
Participate
Working Groups
Currently DTD approximations are shown for the following schema objects: * Elements * Element References * Choice Compositors * Sequence Compositors Each one of the corresponding details sections has an "DTD approximation" field. Since, this field is a not a detail that can be edited, it deserves its own section to reduce clutter. A section called "DTD approximation" should be created under the details section of each schema object and the existing field should be moved under it. The section description should be a brief version of the following: "Use the read-only DTD approximation field to view an approximate one-to-one mapping of the element schema grammar to the equivalent element DTD grammar." See the Simple Cheat Sheet Editor to see how to create multiple sections in the same details pane of the master / details block.
Created attachment 73938 [details] patch This patch adds a class, SchemaDtdDetailsSection, which extends AbstractFormPart. When the dtd approximation section is requested in the constructor of AbstractSchemaDetails the section is created on the page's parent constructor. This results in the section appearing below the details section at the same level of the hierarchy.
Comment on attachment 73938 [details] patch Tested well. Added null guards in various places. Thanks Adam.
Patch released to HEAD. Target: 3.4 M1