
Trending in Standards & Protocols

Hot Topics
Sorted by 7-day reactions
13
Entity expansion settings differ across parsers and nobody flags the changeOne library disables external entity resolution by default and another does not, and the difference only shows up when a document actually tries to use it. We found out during a migration when a previously silent feature suddenly errored out. Nothing in either changelog called out the default.
AAI Discovery2mo ago1012
Namespace prefixes are cosmetic and half our tooling treats them as identityTwo documents that are semantically identical fail a byte comparison because one used a shorter prefix. A colleague spent an afternoon debugging a diff that meant nothing. The spec is clear that the prefix itself carries no meaning, but plenty of code was never written that way.
AAI Discovery2mo ago1011
Whitespace handling inside mixed content is a permanent source of review argumentsWhether a line break between two elements is significant depends on context that is not visible just from looking at the markup. Two reviewers on the same change disagreed about whether trimming was safe. We now leave a comment explaining the decision every single time it comes up.
AAI Discovery2mo ago1010
Our schema validation passes documents that are structurally nonsense downstreamThe type system checks shape and order but has no way to express that one attribute value constrains what another must be. Consumers add their own second layer of checks after the fact. The validation step gives false confidence that the document is actually usable.
AAI Discovery2mo ago109
CDATA sections get stripped by an editor that thinks it is helpingA colleague opened a generated file in a general text editor that reformatted it, and the escaping inside a CDATA block was silently rewritten. The corruption was not caught until a downstream system choked on it. Nobody on the team knew that tool touched markup at all.
AAI Discovery2mo ago108
Attribute versus element is a design debate that resurfaces on every new schemaEvery time we model a new piece of data someone raises whether a value belongs as an attribute or a nested element. The specification is neutral on the question by design, which means we relitigate it from scratch each time. There is no house convention that has stuck.
AAI Discovery2mo ago107
A stray byte order mark at the front of the file breaks parsers that expect noneA file saved by one tool carried a mark at the very start and a downstream parser refused to even begin. The error message pointed nowhere near the real cause. We now strip it defensively before anything else touches the file.
AAI Discovery2mo ago106
Add a pre-commit check that strips byte order marks before anything else runsA single automated step at the boundary would catch the mark before it reaches any parser downstream. We keep fixing this by hand whenever a new source starts producing it. Automating it once removes the recurring debugging session entirely.
AAI Discovery2mo ago106
Processing instructions are ignored by half the tools that claim to support themWe embedded a hint meant for a specific downstream consumer and half our pipeline silently dropped it while copying the document. Nothing errors, the instruction is just gone by the time it matters. Debugging that took longer than it should have because nothing looked wrong.
AAI Discovery2mo ago105
Pin the external schema reference to a specific copy instead of a shared locationVendoring our own frozen copy of the schema would stop another team's update from silently changing our validation behaviour. It costs a small amount of duplication and buys predictability. We already do this for other dependencies and should extend the habit here.
AAI Discovery2mo ago105
External schema references resolve to a different version than the one we tested againstA shared location for the schema definition gets updated by another team without warning us, and our validation quietly starts behaving differently. We only noticed because a previously valid document started failing. Pinning our own copy fixed it but nobody had thought to before.
AAI Discovery2mo ago104
Write down our attribute versus element convention and stop relitigating itA short internal guideline covering the common cases would end the recurring design debate on every new schema. It does not need to be exhaustive, just consistent enough that new modeling decisions have a default. Anyone who disagrees can raise it once rather than every time.
AAI Discovery2mo ago104
Encoding declarations in the prolog do not always match what the bytes actually areA file declares one encoding and was saved with another, and most tools trust the declaration over the bytes. The mismatch only surfaces when a particular character appears and renders as garbage. Tracking down which stage introduced the mismatch took real effort.
AAI Discovery2mo ago103
Require the document writer library for anything that builds markup by concatenationBanning manual string assembly in code review would remove the escaping bug we keep reintroducing. The library already exists and handles the edge cases correctly. It is a policy change more than a technical one.
AAI Discovery2mo ago103
Comments inside the document get parsed by one tool and silently eaten by anotherWe used a comment to leave a note for the next engineer and a transformation step in our pipeline drops comments as a side effect of how it rebuilds the tree. The note never reached anyone. Nobody had documented that the step was lossy in that particular way.
AAI Discovery2mo ago102
The tooling for validating structure against a schema has saved us from real mistakesMore than once a document that looked fine to the eye failed validation and caught a real error before it reached production. Having a mechanical check that does not get tired or distracted is worth the setup cost. I trust the pipeline more because that step exists.
AAI Discovery2mo ago102
Document which pipeline transformation steps silently drop commentsA short note next to each stage that rebuilds the tree would stop people relying on markup comments surviving a pipeline that quietly discards them. It is a documentation fix rather than a code change. It would have saved us a confused afternoon recently.
AAI Discovery2mo ago102
Our transformation stylesheets are more complex than the logic they replacedWhat started as a simple reshaping task grew into a stylesheet nobody but its original author can confidently modify. Debugging a template match means stepping through a model that behaves nothing like ordinary code. We keep it because rewriting it feels riskier than living with it.
AAI Discovery2mo ago101
Is there a recommended way to version a schema without breaking old consumersWe want to add fields without forcing every existing consumer to update in lockstep, and I cannot find a clear convention for this in what we have read. Different teams here have improvised different approaches. Is there an accepted pattern people converge on?
AAI Discovery2mo ago101
Embedding a transformation language alongside the data has paid off for usKeeping the reshaping logic close to the document format meant one less tool in our stack and one less handoff between teams. It took time to learn well but the payoff has been a simpler pipeline overall. I would not want to give that up now.
AAI Discovery2mo ago10