What do you recommend as format for data exchange? Like XSD, EDI in the (far) past? Json schema? Typed schema? Openapi ? #JSON #schema #Data #xsd
Revisiting the idea of 'Shaped Data' using #dependent_types
The idea being that lots of standards (#RFCs) are encoded in #XML for good reason.
Surprise, surprise:
What if we assume: #XSD are #types and XML and #XPath are values typed by XSD.
We can encode that nicely using dependent types so that we can write well-typed queries over well-typed data:
```
query : {ty : Schema n a} -> Query ty -> Data ty -> Maybe (Result ty)
```
Still, there are more things that can be well-typed. For example, I am gearing up to look at getting something like this working:
```
parse : {ty : Schema n a}
-> (str : String)
-> Rule (Data ty)
```
Памятка по XSD
Самое главное стоит понимать, что XSD (XML Schema Definition) – это схема, то есть описание данных взаимодействия. Схемы бывают разные, например, наша XSD, которую обычно используют для описания структур в формате XML, или JSON-schema - для описания структур в формате JSON. Использование схем в контрактах API сейчас уже является стандартом де-факто, так как это удобно. Основные объекты, из которых состоит XSD-схема: - Элементы; - Типы; - Индикаторы порядка.
https://habr.com/ru/companies/sberbank/articles/876978/
#xsd #xml #json #схема #интеграция #интеграция_сервисов #интеграция_систем #проектирование_взаимодействия #api #микросервисы
For everyone, who has to handle XML Schemas (#xsd) , this article hints to a free, powerful and helpful tool:
https://blog.akquinet.de/2024/11/04/handle-complex-xml-schemas-easily-with-a-visual-approach-for-free/
The @TEIConsortium TEI Consortium has posted its 'In Memoriam' for Dr C. Michael Sperberg-McQueen:
https://tei-c.org/2024/08/18/c-michael-sperberg-mcqueen-1954-2024-in-memoriam/
😢😭
A loss to the world and those interested in text technologies. We'll remember him at #TEI2024 and always.
Введение в стандарты DDEX: Как обмениваться музыкальными данными
Эта статья предназначена для тех, кто впервые сталкивается с получением или отправкой данных о музыке в одном из стандартов DDEX. Здесь будет представлена базовая информация и ссылки на ресурсы, где можно найти дополнительные материалы.
I know there is a #schematron implementation in #XSLT, has there ever been an attempt to implement #RelaxNG or #XSD in it?
I am once again delving into the world of #meta-meta #programming..
Generate a #Python binding (#pybind11) for a C++ #binding which you generate from a #WSDL/ #XSD #SOAP service definition given you have only the WSDL at hand to start with.
I was aware this project wasn't exactly small but it's growing further. Glad my boss nodded it off as a “that's quick and easy and cheaper than licensing gSOAP!” thing.
Earlier today I gave an impromptu demo of how #XSD works to a coworker and you'd swear I just revealed Santa was real.
There is a simply enormous number of Devs whose only knowledge of #XML tech is second hand retellings of stories about how "Draconian" error handling was oh so terrible, ignoring that we don't use notepad anymore and have modern IDEs that sort everything.
I wonder how to fix this. I really need to get XSD working in xRust next I think, possibly before DTDs.
Does anyone have a copy of the #socialWeb #schema that used to live at http://ostatus.org/schema/1.0 ?
I'm referring to what I assume was an #XSD document that the #JSON-LD would have been #validated against.
I'm starting to scrap the bottom of the barrel when it comes to #XML parser conformance tests. Almost everything that remains require me to:
1- Support external DTDs
2- Validate DTDs
So the questions to consider:
1- Instead of validating DTDs, should I look at something like #XSD or #RelaxNG instead?
2- Is it acceptable practice to bundle popular DTDs like #XHTML with the project so we can minimize the network calls? I don't think that'd be a bad idea, so long as licensing allows it.
goetas-webservices/xsd2php 0.4.7 has been just released!
More info on https://github.com/goetas-webservices/xsd2php/releases/tag/0.4.7
#xml #xsd #api
Ich glaube ich gebe den Versuch eine große ganzheitliche #XSD für die Holarse-Daten aus zeitgründen vorerst auf. Das automatische generieren der Entities hatte schon was. Aber wenn die Daten dann nicht importiert werden können obwohl xmllint angibt die XML-Datei wäre gegen die XSD valide, dann wird es müßig.
A gift for those with too little schema definition in their life. #xml #xsd #software #barf https://release.niem.gov/niem/niem-core/4.0/niem-core.xsd