Subscribe to the XML-Dev Blog in XML format
RSS 2.0
Atom 0.3

The XML-DEV Blog

The XML-DEV email discussion forum was started nearly 10 years ago by Dr. Peter Murray-Rust and Dr. Henry Rzepa of Imperial College (UK), covering XML development topics including XML standards, XML specifications, and technical questions related to the eXtensible Markup Language. The XML-DEV Blog brings the XML-DEV community into the blogging era, enabling XML developers to easily follow the hottest threads in the blogosphere.


Have you used AI, machine learning, and/or data analytics toautomaticall

Posted 4/19/2019 11:29:06 AM

Hi Folks, I am seeking guidance and lessons learned from people who have used Artificial Intelligence (AI), machine learning, and/or data analytics to determine how to map/convert XML instance documents that conform to XML Schema 1 to XML instance documents that conform to XML Schema 2. I imagine . . . Read full entry »


Re: How to avoid data duplication in schematron files?

Posted 4/17/2019 4:38:05 PM

Hi Andrew, Thanks for the pointer. Jirka Kosek was so kind to give me offline support, so I figured it out by his guidance. The final solution if anybody ever stumbles into a similar problem: File A with distinct XML contexts, e.g. CII: <pattern xmlns="http://purl.oclc.org/dsdl/schematr . . . Read full entry »


[ANN] BaseX 9.2: The Spring Edition

Posted 4/16/2019 4:12:25 PM

Dear all, We are more than pleased to announce version 9.2 of BaseX, our XML framework, database system and XQuery 3.1 processor: http://basex.org/ This time, we have put a special focus on performance improvements: XQUERY PERFORMANCE - comparisons will more often be rewritten to hash joins - . . . Read full entry »


Re: How to avoid data duplication in schematron files?

Posted 4/15/2019 12:13:55 PM

Hi Svante, just to mention - there is also a Schematron mailing list now:http://schematronist.org/mailman/listinfo/schematron_schematronist.org Regards,Andrew On Mon, 15 Apr 2019 at 09:00, Svante Schubert <svante.schubert@gma . . . Read full entry »


How to avoid data duplication in schematron files?

Posted 4/15/2019 10:00:00 AM

I have recently started to take a closer look at the EU e-invoice schematron validator and need some tip how data duplication could be avoided in this project (find some basic background in the end of the email).In this project some schematron files are quite identical for different formats, as the . . . Read full entry »


Announcement: XOM 1.3.2

Posted 4/15/2019 5:58:27 AM

I've posted XOM 1.3.2 in the usual location: https://xom.nu/ The biggest change since 1.2.11 is that the Nodes and Elements classes are iterable so you can use the enhanced for loop syntax on instances of these classes. Also, the copy() method is now covariant. Otherwise, it should be backwards . . . Read full entry »


Re: JADN

Posted 4/12/2019 7:54:01 AM

This sounds exciting! If one just considers this passage from the draft:"Numerous data definition languages are in use. JADN is not intended to replace any of them, but serves as a Rosetta stone to facilitate translation among them."And, related to this, if one considers that the draft s . . . Read full entry »


Declarative is greater than imperative

Posted 4/11/2019 8:27:15 PM

Eric Raymond:   Declarative is greater than imperative. Simple code plus smart data is better than enough smart code to do the same job.   http://esr.ibiblio.org/?p=8270 . . . Read full entry »


JADN

Posted 4/9/2019 3:08:06 PM

Within the OpenC2 community (OASIS) , there is a yearning for a schema language for JSON users. They are writing JSON Abstract Data Notation (JADN). JADN is an information modeling language based on the CBOR data model. It has several purposes, including definition of data structures, validati . . . Read full entry »


Transforming large XML documents with XSLT 1.0

Posted 4/8/2019 6:19:49 PM

Hi all,   I thought that, this topic could be of interest worth sharing the details.I've done some work, finding a method to transform with XSLT 1.0 very large XML documents. The implementation language for this project is java, and the XSLT 1.0 processor used is which is provided within the ja . . . Read full entry »


How to map XML vocabulary 1 to XML vocabulary 2 and vice versa?

Posted 4/5/2019 11:18:38 AM

Hi Folks, How do you map one XML vocabulary to another? Do you hand-code a bunch of XSLT template rules? Do you create a few million instances of each XML vocabulary and then let machine learning figure out the mapping? Do you write regular expression descriptions of each vocabulary's data and the . . . Read full entry »


Re: How to map XML vocabulary 1 to XML vocabulary 2 andvice ve

Posted 4/5/2019 8:10:37 AM

Back in the day, I would have written a Perl script. So these days, Ruby or Python I guess.On Fri., Apr. 5, 2019, 4:18 a.m. Costello, Roger L., <costello@mitre.org> wrote:Hi Folks, How do you map one XML vocabulary to another? Do you hand-code a bunch of . . . Read full entry »


Re: Call yourself a geek?

Posted 4/3/2019 9:13:18 AM

On 03/04/2019 04:40, Liam R. E. Quin wrote: On Tue, 2019-04-02 at 19:55 +0100, Peter Flynn wrote: "Tory" was originally a term of abuse (Irish = "brigand"). You say that as if it’s no longer derogatory! Surely you jest, sir! It has recently come back into fashion :-) P . . . Read full entry »


Re: Call yourself a geek?

Posted 4/3/2019 9:12:32 AM

On 03/04/2019 04:28, Frank Richards wrote: And BTW, I behead my chickens with a cleaver. Call yourself a geek? I bite the heads off chickens. P . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 11:40:06 PM

On Tue, 2019-04-02 at 19:55 +0100, Peter Flynn wrote: > "Tory" was originally a term of abuse (Irish = "brigand"). You say that as if it’s no longer derogatory! Surely you jest, sir! Liam -- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/I . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 10:28:24 PM

And BTW, I behead my chickens with a cleaver.On Tue, Apr 2, 2019 at 10:24 PM Frank Richards <frank@therichards.org> wrote:Dammit John, you were just getting going. Why stop there?On Tue, Apr 2, 2019 at 4:57 PM John Cowan <johnw . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 10:24:11 PM

Dammit John, you were just getting going. Why stop there?On Tue, Apr 2, 2019 at 4:57 PM John Cowan <johnwcowan@gmail.com> wrote:On Tue, Apr 2, 2019 at 2:55 PM Peter Flynn <peter@s...> wrote: "Tory" was originally a term of abuse (Irish = . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 7:55:14 PM

On 030 Nov 20192/04/2019 17:23, Stephen D Green wrote: Surprising you don’t tend to hear politicians called geeks. Very rare. "I have always found Roosevelt an amusing fellow, but I would not employ him, except for reasons of personal friendship, as a geek in a common carnival.& . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 5:57:12 PM

On Tue, Apr 2, 2019 at 2:55 PM Peter Flynn <peter@silmaril.ie> wrote: "Tory" was originally a term of abuse (Irish = "brigand").True, but then again "Whig" is short for "whiggamore", Scots for "horse drover&quo . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 5:23:52 PM

Surprising you don’t tend to hear politicians called geeksOn Tuesday, 2 April 2019, Uche Ogbuji <uche@ogbuji.net> wrote:Well yes "geek" and "nerd" were originally uncomplimentary terms. Anyone who was actually called th . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 2:54:32 PM

On Tue, 2019-04-02 at 17:23 +0100, Stephen D Green wrote: > Surprising you don’t tend to hear politicians called geeks Justin Trudeau here in Canada gets called a geek or nerd. The famous example was after “explaining” quantum computing in a live QA session, https://www.youtube.com/watch?v=Eak_ . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 2:42:49 PM

Googling for "geek politician" turns up Al Gore, but I suspect most geey politicians are called wonks instead.On Tue, Apr 2, 2019 at 12:23 PM Stephen D Green <stephengreenubl@gmail.com> wrote:Surprising you don’ . . . Read full entry »


Call yourself a geek?

Posted 4/2/2019 10:29:53 AM

Origin Late 19th century: from the related English dialect word geck ‘fool’, of Germanic origin; related to Dutch gek ‘mad, silly’. Live and learn. -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. . . . Read full entry »


[ANN] Release of XMLmind Word To XML v1.7

Posted 4/2/2019 9:47:03 AM

Release of XMLmind Word To XML v1.7. XMLmind Word To XML now supports plugins. A plugin is a very simple framework letting you extend w2x in order to convert DOCX to XML conforming to your own custom schema. More information in http://www.xmlmind.com/w2x/changes.html ------------------------ . . . Read full entry »


Re: Call yourself a geek?

Posted 4/2/2019 6:52:04 AM

Well yes "geek" and "nerd" were originally uncomplimentary terms. Anyone who was actually called those words in their school playgrounds knows that. The former was a comparison to circus geeks, a common term for performers whose acts included seemingly gross or foolish stunts su . . . Read full entry »


Porter Stemmer for XML content

Posted 3/17/2019 1:58:57 PM

Anybody aware of any ready made solutions for stemming the content of an XML document or of any HTML solutions that will also work on XML? . . . Read full entry »


Re: On history

Posted 3/9/2019 9:20:02 PM

On 09/03/2019 08:29, Dave Pawson wrote: http://barefootliam.blogspot.com/2019/03/hapy-birthday-world-wide-web.html There was a predictable roar from the crowd. Any birds foolish enough to be watching had long fled or were roasted in the excitement. The roar said one word: “GLOD!” And Obrfyna . . . Read full entry »


Re: On history

Posted 3/9/2019 6:24:21 PM

On Sat, 2019-03-09 at 21:20 +0000, Peter Flynn wrote: > And Obrfynar said, "What? You must be kidding! We need verifiable > structural markup; anything else is just wishful thinking." Hahaha indeed! -- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/In . . . Read full entry »


On history

Posted 3/9/2019 8:29:47 AM

http://barefootliam.blogspot.com/2019/03/hapy-birthday-world-wide-web.html regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. . . . Read full entry »


[ANN] Markup UK 2019 - Call for Papers

Posted 3/4/2019 2:21:55 PM

Hello, We are pleased to announce that the call for papers for Markup UK 2019 is now open.Markup UK will include two full days of single track sessions, and also this year a pre-conference day.The conference will be held from Friday 7th to Sunday 9th June 2019 at Bush House, King's College, Lo . . . Read full entry »


[ANN] Sparksoniq 0.9.5 "Larch"

Posted 3/4/2019 10:56:24 AM

Dear all, We are happy to announce the latest alpha release of Sparksoniq. Sparksoniq runs JSONiq queries on top of Spark, taking as input JSON data sets stored on distributed file systems such as (but not only) HDFS. Its goal is to increase productivity when querying heterogeneous, nested datase . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 9:35:16 PM

Hi Ken, Coincidentally, today Norm released version 1.0 of xmlresolver, the catalog resolver that he has been working on for a couple of years (not permanently, of course...) and that we have gotten to rely on. https://github.com/ndw/xmlresolver/releases/tag/1.0.0 As early as in 2007, he wrote . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 5:45:01 PM

On 02.03.2019 17:29, G. Ken Holman wrote: Thank you! Your thinking of alternatives also leads me to consider including an NVDL schema in the distribution. Then users can use that one schema to validate any XML document. A quick search, though, doesn't help me find any examples of command-li . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 5:20:59 PM

Hi Ken, You might also want to try this pure XSLT solution (using Saxon EE and the same catalog): <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:saxon="http://saxon.sf.net/" xmlns:xsi=" . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 4:13:18 PM

On 02.03.2019 15:53, Imsieke, Gerrit, le-tex wrote: This is an input document: <Invoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 ../maindoc/UBL-Invoice-2.2.xsd"   xmlns="urn:oa . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 3:53:28 PM

On 02.03.2019 14:38, G. Ken Holman wrote: I wonder if Norm could be convinced to consider broadening the scope in a new XML Catalog 1.2? But even if he conceived such a namespace URI to schema location mapping, validating parsers still need to be instructed to use the mapping. But since you . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 11:57:21 AM

I actually pulled the RNG schemas out of the UBL 2.2 release as we had no evidence that they were ever used in UBL 2.1: http://docs.oasis-open.org/ubl/os-UBL-2.1/UBL-2.1.html#S-UBL-2.1-RELAX-NG-SCHEMAS This was consistent with the concept of publishing multiple alternative non-normative represe . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 11:29:27 AM

Thank you! Your thinking of alternatives also leads me to consider including an NVDL schema in the distribution. Then users can use that one schema to validate any XML document. A quick search, though, doesn't help me find any examples of command-line NVDL processors that I could include as a . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 11:18:55 AM

Thank you, very kindly, Gerrit, for this detailed example! . . . . . Ken At 2019-03-02 15:53 +0100, Imsieke, Gerrit, le-tex wrote: Content-Transfer-Encoding: 8bit On 02.03.2019 14:38, G. Ken Holman wrote: I wonder if Norm could be convinced to consider broadening the scope in a new XML Cata . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 8:38:36 AM

Thank you, Gerrit and John, for the prompt responses. At 2019-03-02 04:46 +0100, Imsieke, Gerrit, le-tex wrote: The namespace URI is just an identifier and does not associate a schema with the instance. Yes, indeed. As I have taught before. A namespace name is just a string. oXygen provides a . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/2/2019 4:46:02 AM

Hi Ken, The namespace URI is just an identifier and does not associate a schema with the instance. You probably need to provide an xsi:schemaLocation URI to tell the parser/reader where the schema is, and a catalog-resolving validating parser should in fact respect a catalog entry in which you . . . Read full entry »


Re: Understanding the scope of XML catalog

Posted 3/1/2019 11:24:50 PM

There's no guarantee that a particular XML parser will respect "uri" elements, in particular not for namespaces, which are normally treated as literal strings in the shape of a URI.On Fri, Mar 1, 2019 at 9:07 PM G. Ken Holman <gkholman@craneso . . . Read full entry »


Understanding the scope of XML catalog

Posted 3/1/2019 9:06:37 PM

Fellow XML-Dev'ers, I'm trying to better understand the use of an XML catalog to find a schema for validation. In addition to PUBLIC and SYSTEM identifier resolution, I understand that the <uri> element will map namespace names to locations per: Introduction https://www.oasis-open.org/co . . . Read full entry »


Re: When is it appropriate/good to format data as XML?

Posted 2/25/2019 4:44:50 PM

I wonder if Randall Monroe follows XML-Dev and saw the humour in Friday's XML-Dev post when he wrote today's xkcd webcomic ... the quote that follows the link below is the alternative text one sees when hovering over the comic image: https://www.xkcd.com/2116/ "At some point, compressi . . . Read full entry »


Re: When is it appropriate/good to format data as XML?

Posted 2/23/2019 12:32:44 PM

On Fri, 22 Feb 2019 at 18:06, Costello, Roger L. <costello@mitre.org> wrote: > > Hi Folks, > > Clearly the marketplace does not believe that XML is appropriate/good for every type of data. > > Consider: > > - Although t . . . Read full entry »


When is it appropriate/good to format data as XML?

Posted 2/22/2019 6:06:26 PM

Hi Folks, Clearly the marketplace does not believe that XML is appropriate/good for every type of data. Consider: - Although there is an XML format for image data (SVG), most images in use today are not formatted as XML/SVG. Most images are formatted as binary JPEG, GIF, PNG, etc. files. Why i . . . Read full entry »


Use of ID/IDREF in XSD

Posted 2/22/2019 12:08:54 PM

I have a schema with a lot of xsd:ID and xsd:IDREF. I’m trying to add some assertions to a redefined schema that require dereferencing the id. Here is an assert: <xs:assert test="id(PersonId)/Profession/@label != ''" xpathDefaultNamespace="##defaultNamespace"/> How . . . Read full entry »


[ANN] Release of SchXslt, a new XSLT-based Schematron processor v1.0

Posted 2/22/2019 9:41:52 AM

I am happy to announce that I released version 1.0 of SchXslt. SchXslt is a conforming open-source Schematron processor implemented entirely in XSLT. It operates as a three-stage transformation process that translates a Schematron to an XSLT validation stylesheet. This stylesheet outputs a validat . . . Read full entry »


[ANN] Release of XMLmind XML Editor, DITA Editor, DocBook Editor andXHTM

Posted 2/21/2019 10:06:34 AM

Release of XMLmind XML Editor, DITA Editor, DocBook Editor and XHTML Editor v8.3 - New TEI Lite[1] configuration. This configuration is available in the form of an add-on called "TEI Lite configuration". This add-on is not installed by default in XMLmind XML Editor. If you are inte . . . Read full entry »


[ANN] Release of XMLmind DITA Converter v3.4

Posted 2/12/2019 11:22:33 AM

Release of free, open source, XMLmind DITA Converter v3.4. Changes: - Two important bug fixes related to "flagging" contents using a ".ditaval" conditional processing file. More information in: http://www.xmlmind.com/ditac/changes.shtml XMLmind DITA Converter v3.4 will be in . . . Read full entry »


[ANN] Revival of Schematron mailing list

Posted 2/12/2019 10:44:43 AM

As announced at the users meetup at XML Prague, a new Schematron mailing list is now live at http://schematronist.org/mailman/listinfo/schematron_schematronist.org.Please do sign up if you are interested in all things Schematron-related!Kind regards,Andrew------Andrew SalesProject Editor, ISO/IEC 1 . . . Read full entry »


Surveillance Capitalism

Posted 2/4/2019 5:51:50 PM

https://theintercept.com/2019/02/02/shoshana-zuboff-age-of-surveillance-capitalism/ Makes for interesting reading, whilst being watched. Tim BL didn't forsee this one. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. . . . Read full entry »


Re: Regularity: a fundamental property of declarative

Posted 1/31/2019 2:20:26 PM

I think the first (and probably second) assertion is incorrect.You can only recognize some features "at a glance": if the structure is over a few screens away, you are not glancing. And in those cases, if you need to understand the structure at a glance you are better off with long elemen . . . Read full entry »


Re: Regularity: a fundamental property of declarative

Posted 1/30/2019 9:21:40 PM

On Wed, 30 Jan 2019 at 18:52, Costello, Roger L. <costello@mitre.org> wrote: > > Hi Folks, > > What are the properties of “declarative”? > > Here’s one. > > Assertion #1: A key feature of declarat . . . Read full entry »


Regularity: a fundamental property of declarative

Posted 1/30/2019 6:52:05 PM

Hi Folks, What are the properties of “declarative”? Here’s one. Assertion #1: A key feature of declarative data is the ability of readers (both human readers and machine readers) to recognize, at a glance, the shape/topology of the data. Assertion #2: Regularity gives data . . . Read full entry »


Re: Regularity: a fundamental property of declarative

Posted 1/30/2019 3:33:30 PM

On Wed, 2019-01-30 at 18:52 +0000, Costello, Roger L. wrote: > Hi Folks, > What are the properties of "declarative"? > Here's one. > Assertion #1: A key feature of declarative data is the ability of > readers (both human readers and machine readers) to recognize, at a > . . . Read full entry »


Re: Regularity: a fundamental property of declarative

Posted 1/30/2019 11:23:10 AM

For example, here is a declarative (compact and elegant) XSLT solution to the problem "Find the biggest prime factor of a natural number N": https://stackoverflow.com/a/445858/36305 If we have a declarative solution to a problem, does it mean the problem's data is regular? In this case . . . Read full entry »


Re: Regularity: a fundamental property of declarative

Posted 1/30/2019 11:00:07 AM

Hi Roger, It would not be correct to reason about this without a definition of "regular" and "irregular" Cheers, Dimitre On Wed, Jan 30, 2019 at 10:52 AM Costello, Roger L. <costello@mitre.org> wrote: > > Hi Folks, . . . Read full entry »


Re: XML mantra

Posted 1/28/2019 7:10:36 PM

On 27/01/2019 23:26, Rick Jelliffe wrote: > Hmmm.  s/data/document/g I think Sean called it the "XML Pipeliners' Mantra". > I don't see that it has ever been shown that XML is generally great > for non-document data, such as relational data. And the rise of > JSON suggests . . . Read full entry »


Re: XML mantra

Posted 1/28/2019 10:26:48 AM

Hmmm.  s/data/document/gI don't see that it has ever been shown that XML is generally great for non-document data, such as relational data.  And the rise of JSON suggests it is not so congenial for non-pipeline uses too, doesn't it?  Non document data tends to be XML only when there are oth . . . Read full entry »


Re: XML mantra

Posted 1/28/2019 6:34:53 AM

For many the affinity is for the affordabilities  of the ecosystem not the suitability format, so the point of 1 and 2 is so that you can use 3 to do stuff instead of trying to reinvent the same ecosystem for JSON. The approach is becoming more difficult to apply because environments like AWS prete . . . Read full entry »


XML mantra

Posted 1/26/2019 12:23:32 PM

Still worth repeating …..   XML mantra:             1. Get data into XML as quickly as possible           2. Keep it in XML until the last possible minute      &nbs . . . Read full entry »


Re: Change the declarative markup story

Posted 1/22/2019 12:58:19 PM

Isn't this just the old W3C stance that universal addressability is the important thing (e.g. URLs)? If information is so important, why include PDF in the list, which kinda is the opposite of information organized by a schema: it is a program organized as arbitrary functions?RickOn Tue, Jan 22 . . . Read full entry »


Re: Change the declarative markup story

Posted 1/21/2019 11:38:03 PM

On Tue, 2019-01-22 at 12:58 +1100, Rick Jelliffe wrote: (thank for replying!) > Isn't this just the old W3C stance that universal addressability is > the important thing (e.g. URLs)? Well, i don’t _think_ so, or, i don’t mean it that way. > If information is so important, why include . . . Read full entry »


Re: Change the declarative markup story

Posted 1/21/2019 6:58:43 PM

On Sun, 2019-01-20 at 12:19 +0000, Costello, Roger L. wrote: > What do you mean when you say that we need to "change around the > markup story"? Well, i said thinking has to change... > What do you mean by "cross representational boundaries"? We should not think in t . . . Read full entry »


Change the declarative markup story

Posted 1/20/2019 12:19:41 PM

Liam Quin wrote: > Thinking has to change around the > declarative markup story and around > data and knowledge representation. > In particular, we need to build systems > that help information to cross > representational boundaries. That is fascinating Liam. Would . . . Read full entry »


Re: XQuery 2019 IMap

Posted 1/19/2019 9:17:23 PM

Hans, sorry for a late reply. On Tue, 2019-01-08 at 04:25 +0000, Hans-Juergen Rennau wrote: > XQuery has the potential to change our thinking about structured > information, Or rather, we collectively have the potential to change our thinking, and XQuery could be part of that. In fact, thi . . . Read full entry »


Re: XQuery 2019 IMap

Posted 1/8/2019 4:25:41 AM

Liam, I thank you for your thoughtful comments, and for not being upset by my polemics.In the beginning was the Word, and I believe the root cause of the problem is not committees and politics, but language. This is revealed by the difficulty to answer the crucial point you made:"But i . . . Read full entry »


Re: XQuery 2019 IMap

Posted 1/7/2019 10:51:46 AM

Two of the items in the list (concurrency and mixed streaming) might be better handled using pragmas, to the extent possible, avoiding standards problems.Standards do migrate between organizations:  the ISO SGML standard public entity sets  were handed over to the W3C MathML group.  But I think it . . . Read full entry »


Re: XQuery 2019 IMap

Posted 1/6/2019 7:55:43 PM

On Sat, 2019-01-05 at 19:21 -0800, Dimitre Novatchev wrote: > Reflecting on the work on XSLT, the XSLT 3.0 Specification stopped > short "in the middle of the road" and there are a number of > unfinished > or new language features that would follow naturally, hadn't the WG > . . . Read full entry »


Re: XQuery 2019 IMap

Posted 1/5/2019 7:21:32 PM

> On Sat, Jan 5, 2019 at 2:23 PM Liam R. E. Quin <liam@fromoldbooks.org> wrote: > Possible ways forward include a W3C community group, if you want to be > able to reawaken the XQuery Working Group (and presumably the XSLT > Working Group); an externa . . . Read full entry »


Re: XQuery 2019 IMap

Posted 1/5/2019 5:23:05 PM

On Sat, 2019-01-05 at 10:23 +0000, Hans-Juergen Rennau wrote: > Hello, hello, has anybody the postal address of Sir Tim Berners-Lee? > I want to write him a letter, expressing my disappointment. I shall > not mince words, trusting that truly great minds are not touchy. I > want to ask - . . . Read full entry »


XQuery 2019 IMap

Posted 1/5/2019 10:23:32 AM

Hello, hello, has anybody the postal address of Sir Tim Berners-Lee? I want to write him a letter, expressing my disappointment. I shall not mince words, trusting that truly great minds are not touchy. I want to ask - how can the closing of the XQuery Working Group be explained, if not by a headstr . . . Read full entry »


Paper with an order of magnitude speed increase for parsing JSON!

Posted 1/2/2019 10:00:17 PM

Happy New Year everyone!Readers of this list may be amused by the paper at https://blog.acolyer.org/2018/08/20/filter-before-you-parse-faster-analytics-on-raw-data-with-sparser/  which promises to "deliver an order-of-magnitude speed-up" on JSON parsing! Gosh!  Now JSON parsing speed is s . . . Read full entry »


Re: Paper with an order of magnitude speed increase forparsing

Posted 1/2/2019 12:29:33 PM

On Wed, 2019-01-02 at 22:00 +1100, Rick Jelliffe wrote: > [...] > has the old answer of preprocessing files through grep (etc) to find > candidates now respectable again? The tradeoff for XML is generally that reading the file twice (once to work out whether you want to parse it, and onc . . . Read full entry »


[ANN] New version of Sirix, a temporal storage system

Posted 12/27/2018 2:40:12 PM

Key features of Sirix[1] in general are - different versioning strategies (as for instance a novel versioning algorithm developed by Marc Kramis and Sebastian Graf) - XPath axis extensions to navigate not only in space, but also in time. - A diff-algorithm (FMSE) to import revisions of XML-document . . . Read full entry »


Re: Compile a transformation description into a largenumber of

Posted 12/21/2018 1:52:05 PM

On Thu, Dec 20, 2018 at 9:20 PM Costello, Roger L. <costello@mitre.org> wrote: Is there a small subset of very simple XSLT operations that can perform any transformation?I think, obviously no. I think, we need the whole XSLT lan . . . Read full entry »


[ANN] Release of XMLmind Word To XML v1.6

Posted 12/21/2018 10:33:44 AM

Release of XMLmind Word To XML v1.6: - Index entries marking a page range in the DOCX document (e.g. field XE "XML" \r "OpenXMLPageRange") are now supported when generating DITA and DocBook documents. - Now officially supported on Java™ 11 platforms and on macOS Mojave (10. . . . Read full entry »


Re: Compile a transformation description into a largenumber of

Posted 12/21/2018 4:12:59 AM

Map Reduce?Rather than  a chain of Transform, you can go one step more detailed and have a chain of Map-Reduce pairs.  It didn't seem to do Google any harm. But I associate the attempts to define typical operations with ETL and spreadsheets, where it comes a cropper when you don't have unif . . . Read full entry »


Compile a transformation description into a large number of verysimple t

Posted 12/20/2018 3:50:26 PM

Hi Folks, This is a brainstorm, research kind of question … As you know, every action that a user takes on a computer follows the same paradigm: Code gets compiled into a large number of very simple machine instructions (add, subtract, compare, load, store, etc.) which are then executed . . . Read full entry »


Re: Compile a transformation description into a largenumber of

Posted 12/20/2018 3:09:53 PM

On Thu, 2018-12-20 at 15:50 +0000, Costello, Roger L. wrote: > Is there some small set of very simple operations that, when > combined, can translate any XML vocabulary to another? What you describe is very similar in principle to the bytecode that Michael Kay has described as being used in . . . Read full entry »


Re: Compile a transformation description into a largenumber of

Posted 12/20/2018 11:24:08 AM

See this thread from the xsl-list (2014):|https://www.oxygenxml.com/archives/xsl-list/201403/msg00370.htmlNow, more than 4 years later, one could say (in kidding-mode):  1. Remove all XSLT 3 directives and instructions  2. Remove all XSLT 2 directives and instructions  3. Do the removals suggested . . . Read full entry »


Does anyone know of JAXP/TRaX wrapper for MSXML or LIBSXLT?

Posted 12/18/2018 12:21:09 PM

Does anyone know of any Java wrapper code that presents the TRaX/JAXP  Transformer or TransformerFactory  and, under the hood, runs some C-based XSLT transformer, in particular MS' .NET or LIBXSLT, please?(I know about the Apache XSLTC wrapper already. Seems a little complex.)ThanksRick . . . Read full entry »


[ANN] Release of XMLmind XML Editor v8.2.1

Posted 12/7/2018 10:33:01 AM

Release of XMLmind XML Editor v8.2.1: - Several minor enhancements and bug fixes. - Updated most software components. - Now officially supported on Java™ 11 platforms and on macOS Mojave (10.14). More information in http://www.xmlmind.com/xmleditor/changes.html --------------------------- W . . . Read full entry »


Re: Parameter entities in internal subset

Posted 12/2/2018 7:53:45 PM

Ron, I happened to be searching for some info and stumbled across your email… almost a year late! Thought I’d chime in since I saw no other responses. The only way I’ve been able to make heads-or-tails of this is to interpret that the entity value as not quite IN an entity declaration (or, rathe . . . Read full entry »


[ANN] XML Prague 2019 - Call for Proposals - deadline coming soon

Posted 12/1/2018 11:46:09 AM

Hi, this is gentle reminder that you have this weekend to submit your proposals for XML Prague. The XML Prague conference will include two full days of single track sessions as well as a multitrack unconference day. The conference is held on the Thursday, Friday and Saturday (February 7-9, 2019) . . . Read full entry »


Declarative language for reversible transformations?

Posted 11/30/2018 12:48:38 PM

Hi Folks, I am seeking a powerful, declarative XML language for expressing reversible transformations. Here is an example to illustrate what I mean by reversible transformation. Input files contain an integer denoting a machine: 0 denotes Intel 386, 1 denotes x86, 2 denotes ARMv7. Here is an . . . Read full entry »


Re: XML Programming Language, specification to write

Posted 11/30/2018 11:20:19 AM

> A slightly off-subject remark: > I think all XML-based programming languages (like XSLT) are seriously handicapped by the verbosity of XML. > This seriously limits their acceptance by non-XML-specialists.Isn't this too simplistic?  XSLT is not a general purpose design, it is optimize . . . Read full entry »


Re: XML Programming Language, specification to write

Posted 11/29/2018 6:21:22 PM

Hello Victor, A slightly off-subject remark: I think all XML-based programming languages (like XSLT) are seriously handicapped by the verbosity of XML. This seriously limits their acceptance by non-XML-specialists. If usability is one of yours goals, you can make your language look like more trad . . . Read full entry »


Re: JSON DDL suggestions?

Posted 11/29/2018 12:03:06 PM

I had a contract with HMRC last year where they were using JSON Schema.  It wasn't the worst thing about working with JSON, and I believe both XML Spy and OxygenXML support it now. HTH, Tom On 29 Nov 2018, 11:59 +0000, Timothy Cook <timothywayn . . . Read full entry »


Re: JSON DDL suggestions?

Posted 11/29/2018 9:58:13 AM

I am working on a project that demands JSON and whose target is multi-party interoperability. In the XML world, defining the message exchanges in XSD would be the easy win, and there is nothing in this project that would not be handled by any of the versions of XSD. But this project demands JSON, a . . . Read full entry »


Re: JSON DDL suggestions?

Posted 11/28/2018 4:32:49 PM

I've been working with Andy Newton on his JSON Content Rules described in the https://www.ietfjournal.org/the-benefits-of-a-json-data-definition-language/ page you mention. You can see more details at: http://json-content-rules.org CDDL is an official IETF effort primarily focused on defining . . . Read full entry »


Re: JSON DDL suggestions?

Posted 11/28/2018 4:16:06 PM

On 28/11/2018 15:42, Toby Considine wrote: But this project demands JSON, and the community around the project demands JSON. This list has had frequent discussions of XML vs JSON, some technical, some tending toward flame, so I am bringing this question here. You brought it here because of our t . . . Read full entry »


RE: JSON DDL suggestions?

Posted 11/28/2018 12:53:39 PM

Well, flames do imply passion, which might suggest knowledge and/or experience.... And absolutely, Words as well. The DDL is a data structure and variable enforcer only. The other replies have been useful, but I have no reply, and no strong answer, yet. Keep those replies coming. Thanks tc --- . . . Read full entry »


RE: JSON DDL suggestions?

Posted 11/28/2018 12:18:04 PM

> -----Original Message----- > From: Toby Considine [mailto:tobyconsidine@gmail.com] On Behalf Of Toby > Considine > Sent: Wednesday, November 28, 2018 10:43 > To: xml-dev@lists.xml . . . Read full entry »


JSON DDL suggestions?

Posted 11/28/2018 10:42:53 AM

I am working on a project that demands JSON and whose target is multi-party interoperability.  In the XML world, defining the message exchanges in XSD would be the easy win, and there is nothing in this project that would not be handled by any of the versions of XSD.  But this project dem . . . Read full entry »


[Schematron] Question about let-Element and multiply defined variables

Posted 11/26/2018 1:22:43 PM

Hi all, Section 5.4.5 of Schematron 2016 reads: ,---- | 5.4.5 let element | | ... | | It is an error to reference a variable that has not been defined in | the current schema, phase, pattern, or rule, if the query language | binding allows this to be determined reliably. It is an error for a | va . . . Read full entry »


Re: [ANN] SchXslt, another XSLT-based Schematron processor

Posted 11/16/2018 10:47:14 AM

Great, David ! Would you make it available as a Maven Artifact ? It'll be great to embed it in other applications. I'm gonna run some tests with XSpec for Schematron implementation. Thanks a lot, David ! Christophe Le 16/11/2018 à 08:19, David Maus a écrit : Hello all, I just published SchXs . . . Read full entry »


[ANN] SchXslt, another XSLT-based Schematron processor

Posted 11/16/2018 8:19:02 AM

Hello all, I just published SchXslt, another XSLT-based Schematron processor. https://github.com/dmj/schxslt It follows the same idea as Rick's Skeleton implementation, but implements it differently. Most notably it only supports the xslt2 query language. Feedback is welcome. Best, -- David . . . Read full entry »


Re: XSD error cvc-elt is plain misleading

Posted 11/15/2018 10:55:26 AM

On Wed, Nov 14, 2018 at 6:43 AM Rick Jelliffe <rjelliffe@allette.com.au> wrote:For example, the most basic error, cvc-elt-1: you can see the typical kinds of description for it here.  It will give you an error like:cvc-elt.1: Cannot f . . . Read full entry »


Re: I think XML tools should handle XML files up to 2^64bytes

Posted 11/14/2018 1:14:39 PM

On Tue, 2018-11-13 at 13:32 +0000, Costello, Roger L. wrote: > Hi Folks, > > I think XML tools (e.g., XML parsers, schema validators, XSLT > processors) should handle XML files up to 2^64 bytes in size. Hmm. My own text retrieval system [1] limited files to 2^23 blocks of 64 bytes eac . . . Read full entry »


XSD error cvc-elt is plain misleading

Posted 11/14/2018 12:13:39 PM

One of the nice things of XSD is that it enumerates the errors. This then allows the potential causes to be listed, and a tool can then give very specific information. And the developer or user of the schema will then think "Hurray, this is all so easy, I feel so empowered."So where does . . . Read full entry »


Re: XSD error cvc-elt is plain misleading

Posted 11/13/2018 10:40:03 PM

On Wed, 2018-11-14 at 12:13 +1100, Rick Jelliffe wrote: > Systems that pretend to report diagnostics (efficient or triggering > causes) > when they just present more symptoms (proximate cause) are the bane > of the > computing industry. They are. Years ago i wrote an error-reportin . . . Read full entry »


Re: I think XML tools should handle XML files up to 2^64bytes

Posted 11/13/2018 4:47:59 PM

On 13/11/2018 14:07, Rhodri James wrote: > On 13/11/2018 13:32, Costello, Roger L. wrote: >> Hi Folks, >> >> I think XML tools (e.g., XML parsers, schema validators, XSLT >> processors) should handle XML files up to 2^64 bytes in size. Can you explain why you believe thi . . . Read full entry »


Re: I think XML tools should handle XML files up to 2^64bytes

Posted 11/13/2018 4:43:14 PM

On Tue, 13 Nov 2018 at 13:32, Costello, Roger L. <costello@mitre.org> wrote: > > Hi Folks, > > I think XML tools (e.g., XML parsers, schema validators, XSLT processors) should handle XML files up to 2^64 bytes in size. > > 2^6 . . . Read full entry »


Re: I think XML tools should handle XML files up to 2^64bytes

Posted 11/13/2018 2:07:13 PM

On 13/11/2018 13:32, Costello, Roger L. wrote: Hi Folks, I think XML tools (e.g., XML parsers, schema validators, XSLT processors) should handle XML files up to 2^64 bytes in size. 2^64 = 18,446,744,073,709,551,616 (20 digits) That's well over a petabyte. Good luck finding that much storage. . . . Read full entry »


I think XML tools should handle XML files up to 2^64 bytes in size

Posted 11/13/2018 1:32:18 PM

Hi Folks, I think XML tools (e.g., XML parsers, schema validators, XSLT processors) should handle XML files up to 2^64 bytes in size. 2^64 = 18,446,744,073,709,551,616 (20 digits) Why that number? Here's why: The number 2^64 is: The number of distinct values representable in a single word on a . . . Read full entry »


Re: I think XML tools should handle XML files up to 2^64bytes

Posted 11/13/2018 10:56:13 AM

It's really not April 1, is it? Jim On 2018-11-13 06:32, Costello, Roger L. wrote: Hi Folks, I think XML tools (e.g., XML parsers, schema validators, XSLT processors) should handle XML files up to 2^64 bytes in size. 2^64 = 18,446,744,073,709,551 . . . Read full entry »


Re: Schematron: Is @documents of an abstract patternsubject to

Posted 11/2/2018 8:56:12 AM

On Mon, 29 Oct 2018 15:29:41 +0100, David Maus wrote: > > Hi Rick, > > On Mon, 29 Oct 2018 15:16:40 +0100, > Rick Jelliffe wrote: > > > > Because you can provide @document on the sch:pattern[@is-a='XXXX'] > > is there a need to provide @document on the > > . . . Read full entry »


Re: Was there a technical issue for the demise of XML 1.1?

Posted 10/8/2018 10:00:02 PM

On Mon, 8 Oct 2018 at 21:01, Costello, Roger L. <costello@mitre.org> wrote: > > Hi Folks, > > It is my understanding that the reason for the demise of XML 1.1 was simply that it was never adopted by the community - people were already using 1.0 a . . . Read full entry »


Was there a technical issue for the demise of XML 1.1?

Posted 10/8/2018 8:01:02 PM

Hi Folks, It is my understanding that the reason for the demise of XML 1.1 was simply that it was never adopted by the community - people were already using 1.0 and there was no compelling reason for moving to 1.1. Was there also a technical issue for its demise? /Roger . . . Read full entry »


Re: Was there a technical issue for the demise of XML 1.1?

Posted 10/8/2018 6:56:04 PM

It was a collection of fixes to XML 1.0 none of which was in itself sufficiently compelling to justify a new and incompatible version.  The feature I considered the most important, ditching Unicode 2.0 in favor of an evolving set of characters for element and attribute names (as well as the values . . . Read full entry »


RE: Solid -- a fascinating new technology from Tim Berners-Lee

Posted 10/5/2018 1:51:12 PM

It’s a NodeJS app, thereby making it an oxymoron.   From: Costello, Roger L. <costello@mitre.org> Sent: Monday, October 01, 2018 9:52 AM To: xml-dev@lists.xml.org Subject: Solid -- a . . . Read full entry »


Nice definition of "string"

Posted 10/4/2018 9:35:58 AM

From the Julia language web page:Conceptually, a string is a partial function from indices to characters: for some index values, no character value is returned, and instead an exception is thrown. Nice!*RegardsRick* Julia uses UTF-8, which would kinda force this approach. . . . Read full entry »


=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Don=E2=80=99t_create_elements_with_simpl

Posted 10/3/2018 10:24:03 AM

1. Element name (lifting)<CostInEuro>234</CostInEuro>2. Attribute<Cost currency="Euro">234</Cost>3. Attribute reference  <Cost currency="xyz">234</Cost>...<Currency id="xyz">Euro</Currency>4. Container<Cost<Amount&g . . . Read full entry »


=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Don=E2=80=99t_create_elements_with_simpl

Posted 10/2/2018 1:00:54 PM

There has been a substantial international effort in exactly this issue which has resulted in widely adopted boutique standards for financial reporting: XBRL.In XBRL, you have "facts" like a number. But every number must have units, in particular currency, otherwise it is meaningless; and . . . Read full entry »


Solid -- a fascinating new technology from Tim Berners-Lee

Posted 10/1/2018 1:52:08 PM

Hi Folks,   Tim Berners-Lee has started a new technology called Solid (https://solid.mit.edu/). It’s basic tenet is that my data should be owned/controlled by me, instead of Facebook, Google, etc. An excerpt from the web site:   Users should have the freedom to choose where the . . . Read full entry »


=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Don=E2=80=99t_create_elements_with_simpl

Posted 10/1/2018 10:02:57 AM

//The need for external knowledge completely contradicts the fundamental axiom of XMLI think that this is the fundamentally false statement.  Unless your data uses some sort of RDF like semantic association, the 'meaning' of your tagging is always external to your mark-up, and even in that . . . Read full entry »


Re: How to represent a "cost" in XML?

Posted 9/27/2018 11:30:53 AM

Dear Roger,   I find both of following ok.<Cost currency="USD">8.95</Cost>or <Cost>   <Currency>USD</Currency>   <Value>8.95</Value></Cost>(these are my personal preferences)I also need to look at Ken's suggestions!On Thu, Sep 27, 2018 a . . . Read full entry »


Re: How to represent a "cost" in XML?

Posted 9/27/2018 8:19:45 AM

And just to add - the Amount might not have the same name subject as currency - it could be that two amounts called XyzAmount and ZyxAmount both have the same currency code AbcCurrencyCode where Xyz and Zyx are subclasses of Abc.<SomeSortOfDataSet>...<XyzAmount>123.45</XyzAmount>. . . . Read full entry »


Re: How to represent a "cost" in XML?

Posted 9/27/2018 8:02:46 AM

Another XML representation based on typical data designs in financial systems is<SomeSortOfDataSet>...<XyzAmount>123.45</XyzAmount>...<XyzCurrencyCode>USD</XyzCurrencyCode>...</SomeSortOfDataSet>This has the advantage that the amount and currency can be positione . . . Read full entry »


Re: How to represent a "cost" in XML?

Posted 9/26/2018 9:47:59 PM

Would you accept using the term Price? UBL has both a structured price and an unstructured price: http://docs.oasis-open.org/ubl/os-UBL-2.2/mod/summary/reports/All-UBL-2.2-Documents.html#Table-Price.Details http://docs.oasis-open.org/ubl/os-UBL-2.2/mod/summary/reports/All-UBL-2.2-Documents.html# . . . Read full entry »


How to represent a "cost" in XML?

Posted 9/26/2018 9:44:26 PM

Hi Folks,   I would like to represent in XML the cost of something.   Here’s one way to represent it:   <Cost currency="USD">8.95</Cost>   If you didn’t want to use attributes (or mixed content), how would you represent it?   Would y . . . Read full entry »


Re: How to estimate the time needed to create an XML schema?

Posted 9/19/2018 4:26:52 PM

To which we may add, * Testing with users * Feedback + changes * Testing etc. How long was that piece of string? On Wed, 19 Sep 2018 at 15:54, Tony Graham <tgraham@antenna.co.jp> wrote: > > On 19/09/2018 14:13, . . . Read full entry »


Re: How to estimate the time needed to create an XMLschema?

Posted 9/19/2018 3:53:57 PM

On 19/09/2018 14:13, G. Ken Holman wrote: Whatever you come up with, multiply it by pi before submitting the estimate. A long-ago colleague advised me of that and it has worked well for me. I tend to use the kg-lb conversion factor, but pi may be better. ... At 2018-09-19 12:56 +0000, Costello . . . Read full entry »


How to estimate the time needed to create an XML schema?

Posted 9/19/2018 12:56:36 PM

Hi Folks, Is there an "industry standard" for estimating the time needed to create an XML schema? For example, the estimated time needed to create an XML schema containing 200 elements, each element having 1-3 attributes, is ____ hours. /Roger . . . Read full entry »


Re: How to estimate the time needed to create an XML schema?

Posted 9/19/2018 9:13:43 AM

Whatever you come up with, multiply it by pi before submitting the estimate. A long-ago colleague advised me of that and it has worked well for me. As for the base value, I think there are far too many variables to establish any kind of "industry standard". You are devising a seriali . . . Read full entry »


Re: Schema-aware spell checker?

Posted 9/13/2018 1:49:52 PM

I’d be surprised if there were such a specialized tool. What if you processed the schemas with XSLT so that you have a plain text output that you can spellcheck in an editor or word processing application? The rules which attributes to process and where to split their contents (dashes, undersco . . . Read full entry »


Schema-aware spell checker?

Posted 9/13/2018 11:00:07 AM

Hi Folks, I was given a bunch of XML schema files. A cursory examination revealed spelling errors, as illustrated by this element declaration: <xs:element name="repititionRate" type="t:RepetitionRate" /> Notice that the element name is misspelled (should be repetitionRa . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/7/2018 3:26:11 AM

I was told MS did not want to upgrade, because they have a 20 year support policy, and they were not sure it would have enough users to justify the expense. They were trying to correct their old image of not fixing bugs; one way was to keep versions stable. (30 years ago or so, I rang up Microsoft . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/6/2018 6:40:45 PM

Another story I heard (which of course I cannot verify) was that MS at the time had 4 main product divisions: Windows, IE, Office, and SQL Server, who all had an interest in XML technologies and all wanted the investment to come from a different division's budget... They couldn't agree with each ot . . . Read full entry »


Re: looking for an xml standard for hardware configuration

Posted 9/3/2018 2:21:20 PM

Thanks a lot! Looking around, following from what you sent I guess there's ISO 10303-239 - reading some here http://www.plcs.org/plcslib/plcslib/ ?On Mon, Sep 3, 2018 at 1:09 PM Gareth Oakes <goakes@gpsl.co> wrote: Hi Bryan,   . . . Read full entry »


Re: looking for an xml standard for hardware configuration

Posted 9/3/2018 12:53:51 PM

On Mon, 2018-09-03 at 10:51 +0200, bryan rasmussen wrote: > > The purpose of the project is basically to make generators for > configurations/assemblage information for widely different hardware > products. The nearest in this space i know of is the service modeling language, SML, htt . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/3/2018 11:21:00 AM

On Sun, Sep 2, 2018 at 8:38 PM John Dziurlaj <john@hiltonroscoe.com> wrote:In using XML and related standards over the years, XML Schema, XSLT, XPath, and SQL/XML, a single number stands out to me: “1.0”.  This is no surprise, as I’ve spent most . . . Read full entry »


Re: looking for an xml standard for hardware configuration

Posted 9/3/2018 11:09:55 AM

Hi Bryan,   What you’re describing sounds like PLM to me (Product Lifecycle Management). We have used PTC Windchill for these use cases before as it allows very detailed and configurable modelling of product configurations. It is great for parts management: options, variants, super . . . Read full entry »


looking for an xml standard for hardware configuration

Posted 9/3/2018 10:51:55 AM

Hey, I've just started on a new project that has been going on for a year and a half and which one part of the project is just crying out for XML but instead is managed by an online 'editor' with lots of little forms that business specialists need to go in and click and enter values in . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/2/2018 10:32:11 PM

> Yup. Do you think there's a clear contender for that rôle as a language [for anything XML-related] today? In theory, that would be JavaScript. It was invented for DOM manipulation, and is derived from awk syntax, a language for pattern-/rule-based manipulation of text. M. Reichardt sgmljs.ne . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/2/2018 8:49:51 PM

Since you mention XProc: The almost-finished XProc 3.0 specification will initially have two implementations. One of them (XML Calabash 2) is written in Scala, the other one (Morgana XProc, probably also version 2) is written in Java. Both run on a JVM, but they are not all implemented in the s . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/2/2018 8:02:52 PM

> > The other question is, why has Java been the dominant platform? There's perhaps another point that I should have included here: back in 1998 Java was the only game in town. It's easily forgotten that back then, Microsoft was backing Java. I forget the exact chronology of Microsoft's br . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/2/2018 7:18:21 PM

There are a number of points raised here which ought to be separated.For XML itself, as a data interchange standard, the only serious attempt to improve on 1.0 was the 1.1 standard, which proved unsuccessful despite the fact that there were a number of implementations. Essentially what we learnt fr . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/2/2018 3:36:32 PM

On Sun, 2018-09-02 at 20:02 +0100, Michael Kay wrote: > It's easily forgotten that > back then, Microsoft was backing Java. I forget the exact chronology > of Microsoft's break with Java, but in 1998 Java was the obvious > choice for any developer who wanted their software to run anywh . . . Read full entry »


Re: Is XML a programming language monoculture?

Posted 9/2/2018 3:26:35 PM

On Sun, 2018-09-02 at 11:08 -0400, John Dziurlaj wrote: > [...] > This is no surprise, as I’ve spent most of my time in the .NET space, > where Microsoft has not seen fit to update its support of XML > standards after its initial enthusiasm in the early 2000s. They actually tried and . . . Read full entry »


Is XML a programming language monoculture?

Posted 9/2/2018 11:08:43 AM

In using XML and related standards over the years, XML Schema, XSLT, XPath, and SQL/XML, a single number stands out to me: “1.0”.  This is no surprise, as I’ve spent most of my time in the .NET space, where Microsoft has not seen fit to update its support of XML standards after its initial enthusia . . . Read full entry »


[ANN] Release of XMLmind Word To XML v1.5.1

Posted 8/31/2018 10:04:17 AM

Release of XMLmind Word To XML v1.5.1. Some minor enhancements and bug fixes. More information in http://www.xmlmind.com/w2x/changes.html ---------------------------- What is XMLmind Word To XML? ---------------------------- XMLmind Word To XML can automatically convert DOCX files to: - Clean, . . . Read full entry »


[ANN] Release of XMLmind XML Editor v8.2

Posted 8/27/2018 11:01:49 AM

Release of XMLmind XML Editor v8.2. Highlights: - Enhanced DITA, DocBook and XHTML toolbars. - New Lightweight DITA[1] (AKA LwDITA) configuration, installed by default, may be used to create XDITA (very small subset of DITA XML, plus new audio and video elements) maps and topics. - Upgraded XM . . . Read full entry »


Announce: Automatic transformations between XML namespaces

Posted 8/22/2018 12:18:07 AM

Next big thing: Automatic transformations between XML namespaces. I wrote a (draft) specification: https://en.wikiversity.org/wiki/Automatic_transformation_of_XML_namespaces I also have written an alpha release of a software which implements this specification: http . . . Read full entry »


[ANN] Release of free, open source, XMLmind Ebook Compiler v1.3

Posted 8/21/2018 4:49:43 PM

Release of free, open source, XMLmind Ebook Compiler v1.3. Highlights: - In addition to HTML, an ebook page may now be written in Markdown (https://daringfireball.net/projects/markdown/), with many “Markdown dialects” and many Markdown syntax extensions being supported (this is configurable). . . . Read full entry »


From voltages to XML

Posted 8/21/2018 8:44:02 AM

Hi Folks, Once upon a time there was a device containing a continuous stream of voltages. Along came a clever fellow who decided to: Discretize the continuous stream of voltages into parts, which he called “bits”. Bits with a voltage at or above a certain level, he represented wi . . . Read full entry »


Re: Constraining a Schema

Posted 8/18/2018 10:44:03 AM

On Thu, Aug 16, 2018 at 2:55 AM John Dziurlaj <john@hiltonroscoe.com> wrote:Use XML Assertions[mukul] do you mean XSD 1.1 assertions by this?-- Regards,Mukul Gandhi . . . Read full entry »


Re: Constraining a Schema

Posted 8/17/2018 10:17:18 PM

On Fri, 2018-08-17 at 10:18 +0300, George Bina wrote: > [...] > allowing a > configuration file to control what elements, attributes and values > are > presented to the user: People going down this route might want to consider generating the Oxygen config file from the Schema, e. . . . Read full entry »


Re: Constraining a Schema

Posted 8/17/2018 5:40:12 PM

One method that might be easier to sell to people from a database background is to not talk in terms of schemas at all, even though you utilize them.So you have 1) a Data Dictionary  (or vocabulary) and 2) Business Rules for the server and for each client (if they need it).For the Data Dictionary, . . . Read full entry »


Re: Constraining a Schema

Posted 8/17/2018 10:18:16 AM

Hi, Another approach is to implement the restriction not by restricting the schema but by restricting the user access to the schema information, if the tool that the users are using allow for that. We implemented such an approach in oXygen XML Editor - the tool we develop - allowing a configur . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/17/2018 9:48:54 AM

On Thu, Aug 16, 2018 at 5:55 PM Peter Flynn <peter@silmaril.ie> wrote: Berkeleyian question: if there are no VMS systems left executing, does their time still elapse? :-)Fortunately, we don't have to decide. There are still many Vaxen runningin U.S. military insta . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/16/2018 10:55:52 PM

On 16/08/18 16:40, John Cowan wrote: > [...] The Modified Julian Date, otherwise known as the VAX/VMS epoch, > is the JD - 2,400,000.5, which eliminates the half-day, therefore > starting at midnight GMT on November 17, 1858 Gregorian. Good grief. I'd forgotten about that. Berkeleyian qu . . . Read full entry »


Re: Constraining a Schema

Posted 8/16/2018 2:31:01 PM

In my experience deriving complex types by restriction is hopelessly unwieldy. For example, if the original schema allows a set of 20 currencies and you want to restrict this to just 3, then it's easy enough to define a simple type that restricts the set of currencies; but you then need a restricte . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/16/2018 11:40:51 AM

On Wed, Aug 15, 2018 at 11:04 AM Toby Considine <Toby.Considine@gmail.com> wrote:Well noted, Peter & Norman.  I was not aware that GMT bumped the day at noon...It mostly mattered to astronomers, who didn't want to divvy up a night' . . . Read full entry »


RE: Constraining a Schema

Posted 8/16/2018 8:50:37 AM

Not quite. The customer wants to constraint the schema in order to produce documentation to their downstream consumers, so those consumers know what data to provide. This is all good information, I will share my chosen approach in the coming weeks. John -----Original Message----- From: Imsieke, G . . . Read full entry »


Re: Constraining a Schema

Posted 8/16/2018 8:30:12 AM

I was tacitly assuming that your customer needs /context-dependent/ constraints, for example different div/@type attribute values at different locations of a TEI document. If you simply want to throw out elements or attributes wholesale, your base schema probably provides hooks for defining the . . . Read full entry »


Re: Constraining a Schema

Posted 8/16/2018 8:20:26 AM

Hi John, As Eric van der Vlist writes, restricting existing schemas that lack fine-grained hooks for everything that possibly needs to be constrained in the future is harder than extending existing schemas: http://books.xmlschemata.org/relaxng/relax-CHP-12-SECT-1.html#relax-CHP-12-SECT-1.3 If y . . . Read full entry »


Unsound abstractions

Posted 8/15/2018 8:47:58 PM

Hi Folks, When you create an XML Schema, you are creating an abstraction. Is your abstraction sound? Read on! Recently I read an article about creating models of continuous things, by breaking the things up into pieces [discretizing them]. The article used the phrase “unsound abstraction . . . Read full entry »


Constraining a Schema

Posted 8/15/2018 5:25:18 PM

I am working with a schema that is purposely lax (i.e. it may allow too many occurrences, may contain irrelevant elements, etc.) so that it can handle a broad range of customer scenarios. I now have a customer that wants to constrain the schema such that only a subset of the functionality is availa . . . Read full entry »


Expat 2.2.6 released

Posted 8/15/2018 4:42:50 PM

Hi everyone! I would like to let you know that Expat 2.2.6 has just been released. Besides improvements to the build system, 2.2.6 is a bugfix release. For more details please check the change log at [1]. If you maintain Expat packaging or a bundled version of Expat somewhere, please update to 2 . . . Read full entry »


RE: Here's the regex for the xs:dateTime datatype

Posted 8/15/2018 11:05:16 AM

And I should have included this recent gem... https://www.theguardian.com/technology/2018/jul/25/big-tech-warns-japan-mill ennium-bug-y2k-emperor-akihito-abdication -----Original Message----- From: Toby Considine [mailto:tobyconsidine@gm . . . Read full entry »


RE: Here's the regex for the xs:dateTime datatype

Posted 8/15/2018 11:04:40 AM

Well noted, Peter & Norman. I was not aware that GMT bumped the day at noon... This does not even touch on the problems of time zones, and that the machine readable registry of time zones and DST rules is a server that as of three years ago was a hobby. I remember because folks were worries a . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/14/2018 10:21:18 PM

On 14 Aug 2018, at 21:44, Peter Flynn wrote: On 14/08/18 17:39, Toby Considine wrote: And as we wander down the road toward the one true solution, be sure to consider the non-Gregorian issues that can be quite engrossing. Indeed they can. In the CELT project, we have old Irish annals of var . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/14/2018 9:44:03 PM

On 14/08/18 17:39, Toby Considine wrote: > And as we wander down the road toward the one true solution, be sure > to consider the non-Gregorian issues that can be quite engrossing. Indeed they can. In the CELT project, we have old Irish annals of varying sorts, using Anno Mundi which sets ye . . . Read full entry »


Re: Mandatory <sch:properties> element in Schematron 2016?

Posted 8/14/2018 4:28:36 PM

Hi David,You're quite right: I amended it in the latest draft that was put to a ballot earlier this year.It will be optional in the forthcoming edition.Regards,AndrewOn 14 August 2018 at 15:23, David Maus <lists@dmaus.name> wrote:Hello all, The RELA . . . Read full entry »


Mandatory <sch:properties> element in Schematron 2016?

Posted 8/14/2018 4:23:55 PM

Hello all, The RELAX NG schema for Schematron in Annex A of Schematron 2016 makes the sch:properties element mandatory. ,---- | schema = element schema { | attribute id { xsd:ID }?, | rich, | attribute schemaVersion { non-empty-string }?, | attribute defaultPhase { xsd:IDREF }?, | attri . . . Read full entry »


RE: Here's the regex for the xs:dateTime datatype

Posted 8/14/2018 12:39:57 PM

And as we wander down the road toward the one true solution, be sure to consider the non-Gregorian issues that can be quite engrossing. A start is the Hijira calendar for the Islamic world Shamsi & Jalaali (Persian) Calendar for Iran The calendars based on blends of Solar and Lunar, includi . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/14/2018 11:02:00 AM

On 14/08/18 10:35, David Carlisle wrote: > On Mon, 13 Aug 2018 at 22:59, Liam R. E. Quin <liam@fromoldbooks.org> wrote: >> >> On Mon, 2018-03-31 at 29:75 +0100, Michael Kay wrote: >>> Both of these regular expressio . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/14/2018 10:38:27 AM

On Tue, 2018-08-14 at 10:35 +0100, David Carlisle wrote: > I don't fancy > trying to encode the leap year rules as a regex:-) There's a 4KByte regexp for time and date given in the O'Reilly Mastering Regular Expressions book. You could write it much more simply with Perl 6 regular expressio . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/14/2018 10:35:58 AM

On Mon, 13 Aug 2018 at 22:59, Liam R. E. Quin <liam@fromoldbooks.org> wrote: > > On Mon, 2018-03-31 at 29:75 +0100, Michael Kay wrote: > > > > [...] > > > > Both of these regular expressions allow any month to have . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/13/2018 9:45:12 PM

I'm not sure why you've modified this from the regex given in the XSD 1.1 spec which is (ignoring whitespace):-?([1-9][0-9]{3,}|0[0-9]{3}) -(0[1-9]|1[0-2]) -(0[1-9]|[12][0-9]|3[01]) T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?)) (Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)) . . . Read full entry »


Here's the regex for the xs:dateTime datatype

Posted 8/13/2018 6:44:17 PM

(\-?[0-9]{4}\-(0[1-9]|1[0-2])\-(0[1-9]|[1-2][0-9]|3[0-1])T(0[1-9]|1[0-2]):(0[0-9]|[1-4][0-9]|5[0-9]):(0[0-9]|[1-4][0-9]|5[0-9])(\.[0-9]+)?(([\+\-]1[0-2]:(0[0-9]|[1-4][0-9]|5[0-9]))|Z)?) . . . Read full entry »


Re: Here's the regex for the xs:dateTime datatype

Posted 8/13/2018 5:58:36 PM

On Mon, 2018-03-31 at 29:75 +0100, Michael Kay wrote: > > [...] > > Both of these regular expressions allow any month to have 31 days. > For that reason, I'm not sure either of them is particularly useful. Sometimes it's useful to have a _plausible_ date value to pass back to an a . . . Read full entry »


Re: Advantages/disadvantages of extremely simple XML designs

Posted 8/13/2018 10:57:47 AM

Hi Roger,On Sat, Aug 11, 2018 at 8:05 PM, Costello, Roger L. <costello@mitre.org> wrote: Disadvantages: There is likely to be a constraint (relation) between an <entry>’s @key value and the <entry>’s content: Nice diagram :) If you int . . . Read full entry »


Re: Advantages/disadvantages of extremely simple XML designs

Posted 8/12/2018 11:02:35 AM

Nice thoughts, Dimitre.--Regards,Mukul GandhiSent from gmail for AndroidOn Sun 12 Aug, 2018, 9:56 AM Dimitre Novatchev, <dnovatchev@gmail.com> wrote: Hi Roger, > <properties> >     <entry key="A">A cont . . . Read full entry »


RE: Advantages/disadvantages of extremely simple XML designs

Posted 8/12/2018 10:34:10 AM

Outstanding! Thank you John, Liam, and Dimitre. Awesome information.   I’d like to keep the information together, so I collected all the responses below. --------------------------------------- John Cowan I think that for such a document design, you should skip the XML Schema (or a . . . Read full entry »


Re: Advantages/disadvantages of extremely simple XMLdesigns

Posted 8/11/2018 11:20:06 PM

On Sat, 2018-08-11 at 14:35 +0000, Costello, Roger L. wrote: > [...] > <properties> > <entry key="A">A content</entry> > <entry key="B">B content</entry> This was for years a common XML (and SGML) half-anti-pattern. If you know . . . Read full entry »


Re: Advantages/disadvantages of extremely simple XML designs

Posted 8/11/2018 9:25:29 PM

Hi Roger, > <properties> > <entry key="A">A content</entry> > <entry key="B">B content</entry> > <entry key="C">C content</entry> > <entry key="D">D content</entry> > . . . Read full entry »


Re: Advantages/disadvantages of extremely simple XML designs

Posted 8/11/2018 7:55:51 PM

I think tthat for such a document design, you should skip the XML Schema (or any other grammar schema) altogether, and just stick with Schematron.On Sat, Aug 11, 2018 at 10:35 AM Costello, Roger L. <costello@mitre.org> wrote: Hi Folks, There i . . . Read full entry »


Advantages/disadvantages of extremely simple XML designs

Posted 8/11/2018 2:35:24 PM

Hi Folks, There is an Apache technology called NiFi. It is used to distribute data. [1] A feature of NiFi is that a NiFi application will automatically generate metadata about the data it ingests. The metadata is formatted as XML, which has this form: <properties>     < . . . Read full entry »


Re: Comparing xml fragments

Posted 8/10/2018 4:39:06 PM

I guess (without self promotion) my Open Source project would help: https://github.com/sirixdb/sirix Currently I'm working on a simple RESTful Interface which should be Am Fr., 3. Aug. 2018 um 17:13 Uhr schrieb John Dziurlaj <john@hiltonrosco&#x . . . Read full entry »


RE: Comparing xml fragments

Posted 8/10/2018 10:11:35 AM

You should assume that the fragments will be re-ordered. As this is time-series data, each fragment should have either a beginning and ending time-stamp, and perhaps a duration. Fragment order can then be recreated as needed.   The OASIS WS-Calendar technical committee spent several years disc . . . Read full entry »


Re: Comparing xml fragments

Posted 8/3/2018 5:30:31 PM

John, hello. On 3 Aug 2018, at 16:12, John Dziurlaj wrote: These fragments have repeating elements, and I worry that parsers / writers may rewrite the fragments such that the order of their sub elements may change, making comparison difficult. Is this a valid concern, and what can I do about . . . Read full entry »


Re: Comparing xml fragments

Posted 8/3/2018 4:49:42 PM

> These fragments have repeating elements, and I worry that parsers / writers may rewrite the fragments such that the order of their sub elements may change, making comparison difficult. Is this a valid concern, and what can I do about it? in general any software can do anything but an xml pars . . . Read full entry »


Comparing xml fragments

Posted 8/3/2018 11:12:40 AM

Hello, I’m working on a schema where you can have N number of XML fragments of the same record R. Each fragment represents an instance of the same record R at different periods in time. The thought is that people could compare the fragments to see what has changed in the record.  These fragments ha . . . Read full entry »


Re: text input to XML

Posted 8/2/2018 4:07:21 PM

I'm unable to build it. Way out of date, code, docs, python versions. A good idea though. If it can be hacked for elisp, I'm sure elements + attribute markup will be easy. Settled for an xml outline, Dragon input, then tidy up with emacs macros and xslt to finish. Thanks for the pointer John. . . . Read full entry »


Re: Is JSON Schema simpler than XML Schema?

Posted 8/2/2018 2:51:27 PM

Hi Roger, ... On 02/08/2018 11:29, Costello, Roger L. wrote: Neat! How is the following XML Schema complexType expressed using JCR? Note that the complexType specifies mixed content. <xs:complexType name="InternationalString" mixed="true"> <xs:choice minOccurs . . . Read full entry »


RE: Is JSON Schema simpler than XML Schema?

Posted 8/2/2018 10:29:15 AM

Hi Pete, > a colleague and I are working on an alternative > to JSON Schema called JSON Content Rules (JCR) Neat! How is the following XML Schema complexType expressed using JCR? Note that the complexType specifies mixed content. <xs:complexType name="InternationalString" mix . . . Read full entry »


Re: Is JSON Schema simpler than XML Schema?

Posted 8/1/2018 6:07:10 PM

I've gotten frustrated with JSON Schema. I haven't been able to use JSON Schema to implement any kind of useful type system, to model data as objects that maps to RDFS, or to XML Schema, or to programming language constructs. I haven't been able to use JSON Schema to model any kind of reuse of dat . . . Read full entry »


Is JSON Schema simpler than XML Schema?

Posted 8/1/2018 1:36:59 PM

Hi Folks, One of the purported advantages of JSON Schema is that it is simpler than XML Schema. After converting an XML Schema to JSON Schema, I am skeptical of such claims. In a previous post, I invited suggestions for converting an xs:complexType with mixed content to an equivalent JSON Sc . . . Read full entry »


Re: Balisage / json

Posted 8/1/2018 12:31:43 PM

On 2018-08-01 09:03, Dave Pawson wrote: http://seriot.ch/parsing_json.php A lot to be said for XML. regards FWIW, RFC 8259 is the way it is because making further restrictions was simply out of scope for this document. Best regards, Julian . . . Read full entry »


Re: Balisage / json

Posted 8/1/2018 11:07:06 AM

Thanks for sharing this. I have incorporated the GitHub JSON tests referenced in this article into the QT3 (XQuery/XPath) test suite at https://github.com/w3c/qt3tests Saxon was failing three of the "invalid" tests (by crashing rather than reporting a clean error message): see https://sa . . . Read full entry »


Re: Is JSON Schema simpler than XML Schema?

Posted 8/1/2018 10:57:06 AM

On Wed, Aug 1, 2018 at 9:36 AM, Costello, Roger L. <costello@mitre.org> wrote: Hi Folks, One of the purported advantages of JSON Schema is that it is simpler than XML Schema.CSV is also simpler than XML. Whether or not that is  advantage . . . Read full entry »


Re: Is JSON Schema simpler than XML Schema?

Posted 8/1/2018 9:18:07 AM

Maybe RELAX NG would be a better fit for JSON validation?  I haven’t looked inside any RNG validators, but I would be surprised if it was not relatively easy to bind the RNG pattern matching logic to JSON structures instead of XML structures.  Or maybe a JSON-specific version of RELAX NG . . . Read full entry »


Balisage / json

Posted 8/1/2018 8:03:40 AM

http://seriot.ch/parsing_json.php A lot to be said for XML. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. . . . Read full entry »


Re: Is JSON Schema simpler than XML Schema?

Posted 8/1/2018 7:09:35 AM

I've found JSON Schema fairly inadequate every time I've tried to put it to serious use. The design makes it difficult for implementations to produce human-comprehensible error messages, among other things.On Wed, Aug 1, 2018, 6:37 AM Costello, Roger L., <costello@mitre.or . . . Read full entry »


=?UTF-8?B?UmU6IFt4bWwtZGV2XSBSZTog44CQZnJlZW1s44CR44Oh44O844Or44Gu5oqV56

Posted 7/31/2018 6:56:28 PM

Thanks John. Nice to know there is still a postmaster! regards Dave P On 31 July 2018 at 16:49, John Cowan <johnwcowan@gmail.com> wrote: > It's basically a classic bounce-o-gram, but written in Japanese, and it says > that posts to . . . Read full entry »


Re: text input to XML

Posted 7/31/2018 4:48:31 PM

Thanks John. From the video, it would seem the same stack might produce xml without too much difficulty. https://pythonhosted.org/dragonfly/ as the starter. Nothing found on https://github.com/tavisrudd 5 years old? I guess Dragon has moved on. regards Dave On 31 July 2018 at 16:10, John Dziur . . . Read full entry »



PURCHASE STYLUS STUDIO ONLINE TODAY!!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Learn Stylus Studio in 6 Minutes

Can six minutes change your life? A new action-packed online video demonstration covers how to use Stylus Studio in just six minutes! Watch this video and change the way you develop XML applications forever!

Ask Someone You Know

Does your company use Stylus Studio? Do your competitors? Engineers from over 100,000 leading companies use Stylus Studio, and now you can ask someone from your own organization about their experiences using Stylus Studio.

 
Free Stylus Studio XML Training:
W3C Member