Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A number of improvements have been made to Document checks. These include fixes to existing checks and new rules:

New rules

  1. Identify Any manual page breaks that have been inserted in document - LDAPP-3177 the document will now show up in the document check panel to make it easier to find and delete them when no longer needed

    Jira Legacy
    serverSystem JIRA
    serverId18b81902-662f-326c-8748-cd8a7213ac3e
    keyLMS-913
     - pattern ID "page-breaks"

  2. Identify table cells that contain quoted structures or nested tables and warn of line numbering issues - pattern ID "tables" updated

  3. Identify definitions that contain two //p elements as likely occurrences of copy/paste error (user probably meant to create two definitions - pattern ID "definitions" updated

  4. Identify empty definitions - LEGDEV-6125 - pattern ID "definitions" updated. Quickfix added to delete empty element

  5. Identify <inline name="placeholder"> and <ref class="placeholder"> elements that are non-empty. Dealing with the case identified where an SI was submitted that had a footnote inserted within a placeholder. pattern ID "placeholders". Quickfixes to remove placeholder in 1st case and remove content in 2nd case.

  6. Identify cases where there is an <intro> but no children - [LMS-1642] Invalid structure in UKPGA 2023/37 - Jira Service Management (atlassian.net) - pattern id "intros" - added quickfix to convert intro to content -

  7. Identify provisions that have 2 num elements and add quickfix to delete second one - .

  8. A warning will appear if a table cell in a Bill contains complex content such as a quoted structure or a nested table because it may affect line numbering.

  9. Definitions that contain two separate text paragraphs will be highlighted as it is likely that these were intended to be two separate definitions.

  10. Empty definition elements, where everything has been deleted other than the definition element itself, are now highlighted and a quickfix option to delete the empty element is provided (LEGDEV-6125).

  11. Placeholders that contain text when they should be empty are highlighted and quickfix options are provided to resolve the issue (by either deleting the placeholder element or deleting the text, depending on the specific issue).

  12. Provisions containing opening words but no child provisions (e.g. a subsection with no child paragraphs) are highlighted with an option to convert the opening words back to normal content. Usually Lawmaker will do this automatically but the document check provisions an additional way to pick up any cases left behind. (LMS-1642)

  13. Any provisions that contain two number elements rather than just one are highlighted and a quickfix provided to delete the second number element (

    Jira Legacy
    serverSystem JIRA
    serverId18b81902-662f-326c-8748-cd8a7213ac3e
    keyLMS-2019
     - pattern "hcontainer" updated and quickfix to remove any additional nums addedIdentify unnumbered paragraphs that begin with something that looks like a number - LEGDEV-6090 - pattern id "unnumbered-paragraphs" - quickfix to remove the number added). All provisions should have a maximum of one number element but sometimes by copying and pasting a provision can end up with more than one.

  14. Highlight cases where an unnumbered paragraph has been used to create something looking like a quoted structure (textual amendment) (LEGDEV-6090).

Fix/update existing rules

...