Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7003081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:00:54+00:00 2026-05-27T21:00:54+00:00

When designing a specialized structured-data document format (perhaps upon XML): part of the requirements

  • 0

When designing a specialized structured-data document format (perhaps upon XML): part of the requirements for this document format are that it accommodates, in a metadata section, a history of meaningful (app-level) changes to the structured data at a field level.

At minimum, useful tracked information would be:

  • an author identifier
  • time stamp
  • type of change
  • what it was changed from

Both data items and any lists of such data items are to be tracked meaningfully, efficiently. The data schema should be separable/unaware of the metadata tracking it – although facilitating annotations such as node identifiers could be required. A trusted application could be required to enforce the tracking; however, it would be a benefit to be able to calculate the “deltas” at intervals by comparing data-sections between versions rather than requiring the editor to track each change live.

“Meaningful” tracking may involve the metadata schema treating higher-level data changes atomically – such as an update to a group of fields which is treated at the application level as one data-point.

For character-by-character or byte-by-byte data, diff/patch type algorithms work. Structured data (to be treated as structured) seems to me to require more complex solutions.

I realize that I don’t have very well-defined requirements – the purpose of my question here is to find out where these problems have been considered with more elegance.

What strategies exist for embedding change tracking in a structured data document format?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:00:54+00:00Added an answer on May 27, 2026 at 9:00 pm

    You might be interested in XML patch formats (e.g. as described by rfc 5261).
    You could for example, build a list of such patches embedded at the top of your structured XML file and annotating each patch with its author, potential feature request/bug number and so on, potentially annotating it with semantic level patch information (such as “added such object”, “removed such rule”…). Using such a format could help you obtain old versions from your document rather easily as tools exist to treat it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm designing a hosted software-as-a-service application that's like a highly specialized version of 37Signal's
I am currently re-designing an application and stumbled upon a problem serializing some data.
While designing a table my colleague here says that I should avoid identity column
When designing a web service that will allow the consumer of the service to
I work for a boutique specialized in finance. We thought about designing a language
Designing my stratified sample library(survey) design <- svydesign(id=~1,strata=~Category, data=billa, fpc=~fpc) So far so good,
Branching off from this link it seems that Request.ServerVariables(SCRIPT_NAME) doesn't return anything. I've just
Designing a simple HTML table that I am going to implement alternate-row coloring on...
I've got a system I'm designing where we're using 4 specialized PCs we manufacture
Designing code to handle transfers of objects called contractBundles. Have this in the models.py

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.