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.


Re: Minimal set of rules for making HTML well-formed?

Posted 10/11/2019 5:56:00 PM

On Fri, 11 Oct 2019 at 17:22, Costello, Roger L. <costello@mitre.org> wrote: Hi Folks,   Last week there was a suggestion to use SgmlReader to convert HTML to XHTML. After some experimenting, I discovered that SgmlReader has so . . . Read full entry »


Minimal set of rules for making HTML well-formed?

Posted 10/11/2019 4:21:25 PM

Hi Folks,   Last week there was a suggestion to use SgmlReader to convert HTML to XHTML. After some experimenting, I discovered that SgmlReader has some problems. See below for one such problem.   I’ve decided to implement my own tool to convert HTML to XHTML. I want the tool to . . . Read full entry »


Re: Minimal set of rules for making HTML well-formed?

Posted 10/11/2019 1:33:00 PM

On Fri, 2019-10-11 at 16:21 +0000, Costello, Roger L. wrote: > > I've decided to implement my own tool to convert HTML to XHTML. You should probably investigate HTML Tidy first. > 1. Ensure that attribute values are delimited with either double > or single quotes. > 2. Ensur . . . Read full entry »


Re: The Declarative Way

Posted 10/8/2019 11:11:07 AM

Hi Roger,     Nice articulation.You could have mentioned XSLT as well in this post, alongside XQuery. I also think that, XSLT and XQuery languages describe 'how to do things' in a major way other than 'what to do' aspects (both of these languages have substantial programming control . . . Read full entry »


The Declarative Way

Posted 10/6/2019 12:33:52 PM

Hi Folks, [Definition] Declarative: describe what you want, not how to do it. Hand your description off to a tool; the tool figures out how to do what you want, based on your description. Below I show four XML technologies that epitomize the declarative way. Scenario #1: You want to ensure th . . . Read full entry »


Converting binary data to XML

Posted 10/4/2019 4:37:28 PM

Hi Folks, Scenario: You electronically receive book data from a supplier. The data is in binary. You want to convert the data to XML so that you can leverage the large suite of XML tools that the marketplace provides. Here is an excerpt of an input that you receive, displayed in a hex editor: . . . Read full entry »


Re: Why is the file suffix of XML Schemas .xsd and not.xsd.xml

Posted 10/4/2019 1:35:45 PM

Roger, Don't confuse the purpose and use of filename extensions with MIME types.  As a file creator and user, I have no problem understanding that a file with the extension ".xsd" means "this is a serialization of an XML Schema Definition file expressed as . . . Read full entry »


Re: Why is the file suffix of XML Schemas .xsd and not.xsd.xml

Posted 10/3/2019 4:56:51 PM

Hi Roger,    The extension of an XSD file being .xsd, and of an XML file .xml are default ones and are by convention (these are well accepted extensions, for these types of files). The XML tools don't prohibit the choice of other extensions for these files.For comparison purposes, an INI file h . . . Read full entry »


Re: Why is the file suffix of XML Schemas .xsd and not.xsd.xml

Posted 10/3/2019 1:49:05 PM

On 3.10.2019 13:07, Costello, Roger L. wrote: > It seems like that would have the advantage of showing with great clarity of type of file it is. Yes? May be, but it's legacy. Many older operating systems supported only 3 characters as a filename extension. Although this limitation is no longer . . . Read full entry »


Re: Why is the file suffix of XML Schemas .xsd and not.xsd.xml

Posted 10/3/2019 1:27:11 PM

On 03/10/2019 12:07, Costello, Roger L. wrote: Hi Folks, An XML Schema document is an XML document, so why isn't the file suffix of XML Schema documents .xsd.xml? Because file extensions are not, by convention, structured. Back in the mists of time, files weren't typed at all. They had names . . . Read full entry »


Re: Why is the file suffix of XML Schemas .xsd and not.xsd.xml

Posted 10/3/2019 1:15:17 PM

On Thu, 3 Oct 2019 at 12:08, Costello, Roger L. <costello@mitre.org> wrote:Hi Folks, An XML Schema document is an XML document, so why isn't the file suffix of XML Schema documents .xsd.xml? Example: Bookstore.xsd.xml To take it a step furthe . . . Read full entry »


Why is the file suffix of XML Schemas .xsd and not .xsd.xml or evenbette

Posted 10/3/2019 11:07:30 AM

Hi Folks, An XML Schema document is an XML document, so why isn't the file suffix of XML Schema documents .xsd.xml? Example: Bookstore.xsd.xml To take it a step further, an XML document is a text document, so why isn't the file suffix of an XML document .xml.txt? Thus an XML Schema document wou . . . Read full entry »


Re: What tool can convert the HTML from an Outlook emailmessag

Posted 10/1/2019 12:22:27 PM

Just last week I've held a comprehensive tutorial on parsing HTML using SGML, available online here: http://sgmljs.net/docs/sgml-html-tutorial.html This also includes a section on producing XHTML proper from HTML. SGML (unless using DSDL-9) will treat an XML namespace binding attribute " . . . Read full entry »


Re: What tool can convert the HTML from an Outlook emailmessag

Posted 10/1/2019 11:35:35 AM

Hi Roger,The SgmlReader by Chris Lovett -- downloaded from: https://github.com/lovettchris/SgmlReader and built with Visual Studio, gives us a handy command-line tool for tasks like this.I tried it on the html file provided by you:sgmlreader mail.html mail.xhtmlThe output file: mail.xhtml does cont . . . Read full entry »


Re: What tool can convert the HTML from an Outlookemail messag

Posted 10/1/2019 9:27:41 AM

You can do it in XSLT, but it's probably not the easiest way, at least not as a first step. Because the snippet of HTML is not XML well-formed, you'd have to treat it as text and essentially write an HTML parser; some other possible approaches might be: Use something like HTML Tidy as a firs . . . Read full entry »


Re: What tool can convert the HTML from an Outlook emailmessag

Posted 10/1/2019 12:17:08 AM

On 30.9.2019 19:39, Costello, Roger L. wrote: > Is there a tool that can convert the HTML generated by Outlook to XHTML, such that the XHTML can be reimported into Outlook? > > If no such tool exists, I will create my own tool. Would XSLT be suitable for such a task? /Roger You can use . . . Read full entry »


What tool can convert the HTML from an Outlook email message intoXHTML s

Posted 9/30/2019 5:39:52 PM

Hi Folks,   At the bottom of this message I show HTML that was produced by an Outlook email message (a “Hello, world” email message). The HTML has some interesting features. For example, it has a comment containing namespace-qualified elements and attributes:   <!--[if . . . Read full entry »


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

Posted 9/30/2019 9:41:07 AM

Release of XMLmind Word To XML v1.8. Important enhancements and bug fixes. Recommended upgrade, especially if you use w2x to convert DOCX to DITA. More information in https://www.xmlmind.com/w2x/changes.html -------------------------------------- What is XMLmind Word To XML? ----------------- . . . Read full entry »


Fwd: Parse xslt to xdm in xslt

Posted 9/25/2019 6:21:29 AM

---------- Forwarded message ---------From: Dimitre Novatchev <dnovatchev@gmail.com>Date: Tue, Sep 24, 2019 at 6:21 AMSubject: Re: Parse xslt to xdm in xsltTo: Mukul Gandhi <gandhi.mukul@g...>Hi Mukul,  > What practical . . . Read full entry »


[ANN] course, XSLT: Two to Three, Rockville MD USA, 31st Oct and1st Nov

Posted 9/24/2019 4:43:20 PM

31st October, 1st Nov, Rockville MD, USA If you're using XSLT, you need to know about XSLT 3. Find out why on this course. Learn the major new features - streaming, fn:transform, new instructions, new functions, new data structures, new types. fn:transform() changes what you can do with XSLT; str . . . Read full entry »


Re: Parse xslt to xdm in xslt

Posted 9/24/2019 9:54:31 AM

Hi  Dimitre,On Mon, Sep 23, 2019 at 9:51 PM Dimitre Novatchev <dnovatchev@gmail.com> wrote:The FXSL library (at https://sourceforge.net/projects/fxsl/files/FXSL%20for%20XSLT%202/FXSL%202.0/) contains an LR parser -- the fun . . . Read full entry »


Re: Parse xslt to xdm in xslt

Posted 9/23/2019 5:54:14 PM

On 23/09/2019 01:31, Rick Jelliffe wrote: ... Can any kind person recall the XSLT (2,3) library that allows parsing an Xpath into XDM? The REx Parser Generator at https://bottlecaps.de/rex/ has grammars for XPath 2.0, XPath 3.0, and XPath 3.1, though I haven't used them myself. Regards, Tony . . . Read full entry »


Parse xslt to xdm in xslt

Posted 9/23/2019 10:31:53 AM

I lost my reference, and Google is scatterbrained on this...Can any kind person recall the XSLT (2,3) library that allows parsing an Xpath into XDM? Thanks in advance,Rick . . . Read full entry »


Re: Parse xslt to xdm in xslt

Posted 9/23/2019 9:21:33 AM

The FXSL library (at https://sourceforge.net/projects/fxsl/files/FXSL%20for%20XSLT%202/FXSL%202.0/) contains an LR parser -- the function lr-parse() in the file func-lrParse.xslit operates on an XML document that contains the LR-1 parsing tables generated from the BNF of the language.FXSL provides . . . Read full entry »


[ANN] Release of XMLmind XML Editor v9.1

Posted 9/16/2019 9:35:55 AM

Release of XMLmind XML Editor v9.1: Highlights: * Added a "Toggle the visibility of elements belonging to certain categories" button to the Edit tool. * DITA Topic, DocBook configurations: added "Continue Numbering" and "Inherit Numbering" entries to the menu displ . . . Read full entry »


Expat 2.2.8 with security fixes has been released

Posted 9/14/2019 8:29:41 PM

Hi everyone! Expat 2.2.8 [1] has been released yesterday. This release fixes a security issue — a heap buffer over-read known as CVE-2019-15903 [2] reported by Joonun Jang resulting in Denial of Service —, starts using the rand_s function on Windows and MinGW (ending the previous LoadLibrary hac . . . Read full entry »


Enterprise integration and James

Posted 9/12/2019 1:11:35 PM

https://blog.jclark.com/2019/09/ballerina-programming-language-part-0.html May be of interest to some on this list. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. . . . Read full entry »


[Annon] - XSpec V1.4.0 is available !

Posted 9/9/2019 9:22:28 AM

XSpec, unit-test framework for XSLT, XQuery and Schematron, has been released under 1.4.0. Available at https://github.com/xspec/xspec/releases and on maven central : <dependency>   <groupId>io.xspec</groupId>   <artifactId>xspec</artifactId>   <version>1.4.0& . . . Read full entry »


Re: XSD question: Can the name of a simpleType be the nameof a

Posted 9/6/2019 6:51:28 PM

On 06/09/2019 18:13, Costello, Roger L. wrote: Hi Folks, Is this legal: <xsd:simpleType name="boolean" id="boolean"> <xsd:restriction base="xsd:boolean"> </xsd:restriction> </xsd:simpleType> Notice that the name of the simp . . . Read full entry »


RE: XSD question: Can the name of a simpleType be the name of abuilt-in

Posted 9/6/2019 5:33:09 PM

Roger, XML Spy considers it to be valid. -Nora -----Original Message----- From: Costello, Roger L. <costello@mitre.org> Sent: Friday, September 6, 2019 1:14 PM To: xml-dev@lists.xml.o& . . . Read full entry »


XSD question: Can the name of a simpleType be the name of a built-indata

Posted 9/6/2019 5:13:33 PM

Hi Folks, Is this legal: <xsd:simpleType name="boolean" id="boolean"> <xsd:restriction base="xsd:boolean"> </xsd:restriction> </xsd:simpleType> Notice that the name of the simpleType (boolean) is the name of the built-in boolea . . . Read full entry »


Re: What is syntax lifting?

Posted 9/5/2019 9:32:32 AM

There used to be terms &alpha;-lifting and &beta;-lifting around late last century.  Gavin Nicols would remember the exact meanings, I bet. (I think it comes from symbolic programming/program transformation disciplines, so maths/CS not linguistics.)IIRC they relate to  transforming between, . . . Read full entry »


Re: What is syntax lifting?

Posted 9/4/2019 10:17:30 PM

On Wed, 2019-09-04 at 16:26 +0000, Costello, Roger L. wrote: > Hi Folks, > > Recently I heard this term "syntax lifting" or sometimes just > "lifting." Syntactic lifting is usually when a language has syntax for doing the sort of lifting that Dmitry described. You . . . Read full entry »


Re: What is syntax lifting?

Posted 9/4/2019 4:52:17 PM

Thanks Dimitre. When I heard the term syntax lifting it was in the context of “lifting” a non-XML data format to XML. Have you heard the expression syntax lifting in that context?   /Roger   From: Dimitre Novatchev <dnovatchev@gmail.com> Se . . . Read full entry »


What is syntax lifting?

Posted 9/4/2019 4:26:58 PM

Hi Folks, Recently I heard this term "syntax lifting" or sometimes just "lifting." What do they mean? /Roger . . . Read full entry »


Re: What is syntax lifting?

Posted 9/4/2019 12:57:20 PM

But map and friends are *procedural* (functional) lifting.  Syntactic lifting, as far as I know, exists only in languages with syntactic abstraction (macros).  My grasp of macros beyond C, defmacro, and syntax-rules isn't particularly good, though.On Wed, Sep 4, 2019 at 12:48 PM Dimitre Novatch . . . Read full entry »


Re: What is syntax lifting?

Posted 9/4/2019 9:58:49 AM

> Thanks Dimitre. When I heard the term syntax lifting it was in the context of “lifting” a non-XML data format to XML. > Have you heard the expression syntax lifting in that context? No, Roger.Generally "lifting" is used in relation to using a function / concept in a way that mak . . . Read full entry »


Re: What is syntax lifting?

Posted 9/4/2019 9:48:17 AM

And something more understandable ..."In languages which support first-class functions, map may be partially applied to lift a function that works on only one value to an element-wise equivalent that works on an entire container; for example, map square is a Haskell function which squares each . . . Read full entry »


Re: What is syntax lifting?

Posted 9/4/2019 9:40:44 AM

https://wiki.haskell.org/Lifting  On Wed, Sep 4, 2019 at 9:27 AM Costello, Roger L. <costello@mitre.org> wrote:Hi Folks, Recently I heard this term "syntax lifting" or sometimes just "lifting." What do they mean? /R . . . Read full entry »


XML Summer School

Posted 8/24/2019 11:39:52 AM

Just a month to go until the 2019 XML Summer School, which takes place at St Edmund Hall, Oxford, the week of 15–20 September. For details see http://xmlsummerschool.com Peter -- Claimer: I'm involved in organising and teaching this event. . . . Read full entry »


Re: Humans are so clever

Posted 8/22/2019 10:37:51 AM

You can use this: <xsl:for-each select="key('books', 'hardcover')">...</xsl:for-each> But you probably *should* use this:  <xsl:apply-templates select="key(....)"/> Thanks, Tom On 9 Aug 2019, 12:23 +0100, Costello, Roger L. <costel . . . Read full entry »


Re: Is data formats a scientific area of research? Arethere da

Posted 8/19/2019 9:21:34 PM

Roger, I find your wondering interesting, and I believe there is much to be gained by thinking about data formats deeply and in an abstracting, generalizing, integrating way, akin to a scientific mindset. But I find the very term "data format" somewhat distracting, if not downright mislead . . . Read full entry »


Re: What data formats use parentheses to indicate anegative va

Posted 8/19/2019 1:48:29 PM

On Mon, Aug 19, 2019 at 8:27 AM Costello, Roger L. <costello@mitre.org> wrote: Do you know what data formats use parentheses to indicate a negative value?It's used by accountants because it's cheaper than the traditional red ink and more visible than . . . Read full entry »


What data formats use parentheses to indicate a negative value?

Posted 8/19/2019 12:26:20 PM

Hi Folks, I have heard that in some financial and/or accounting data formats negative numbers are wrapped in parenthesis instead of prefixed with a minus sign. For example, the following represents negative twelve: (12) Do you know what data formats use parentheses to indicate a negative value? . . . Read full entry »


Re: What data formats use parentheses to indicate anegative va

Posted 8/19/2019 8:01:10 AM

I commonly see this in financial reports from corporations. Thus, I bet it's available as an Excel number format.On Mon., Aug. 19, 2019, 5:27 a.m. Costello, Roger L., <costello@mitre.org> wrote:Hi Folks, I have heard that in some financial . . . Read full entry »


Re: A problem with Base URI and nested XIncludes

Posted 8/14/2019 3:05:22 PM

On 14.8.2019 13:37, Michael Kay wrote: > Would anyone argue that the Xerces output is correct? I would say that Xerces folks should finally fix 14 year old bug for which patch has been already provided: https://issues.apache.org/jira/browse/XERCESJ-1102 AFAIK oXygen is shipped with this patch . . . Read full entry »


Re: A problem with Base URI and nested XIncludes

Posted 8/14/2019 12:58:22 PM

On Wed, 2019-08-14 at 12:37 +0100, Michael Kay wrote: > > The spec for xml:base says (§4.3) The base URI for a URI reference > appearing in an xml:base attribute is the base URI of the parent > element of the element bearing the xml:base attribute, if one exists > within the documen . . . Read full entry »


Re: A problem with Base URI and nested XIncludes

Posted 8/14/2019 12:39:08 PM

Xerces seems to be in the wrong, in my somewhat uninformed opinion. Thanks, Tom On 14 Aug 2019, 12:37 +0100, Michael Kay <mike@saxonica.com>, wrote: Further details of this problem can be found here: https://saxonica.plan.io/issues/4281 We have the follow . . . Read full entry »


A problem with Base URI and nested XIncludes

Posted 8/14/2019 12:37:10 PM

Further details of this problem can be found here:https://saxonica.plan.io/issues/4281We have the following structure:root.xml:<root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="subfolder/child.xml"/> </root> subfolder/child.xml:<child xmlns:xi="http://www. . . . Read full entry »


Humans are so clever

Posted 8/9/2019 11:22:17 AM

Hi Folks, Here are two examples of human ingenuity overcoming limitations. No Block-Comment in Windows Batch (.bat) Files The Windows batch command language provides “rem” (remark) to comment out a single line. For example, here I have commented out the first two lines of a batch f . . . Read full entry »


[ANN] Rumble 1.1 -- switched to DataFrames, and 2x faster

Posted 8/8/2019 12:44:07 PM

Dear all, I am happy to announce the release of Rumble 1.1 beta, the JSONiq engine that queries heterogeneous and nested JSON data on top of Apache Spark. Until version 1.0, FLWOR expressions were mapped to Spark RDDs. But in a student project last semester, Can managed to remap FLWOR expression . . . Read full entry »


Data Format Science

Posted 8/7/2019 9:03:33 PM

Hi Folks,   I created a web page motivating the need for a new science, data format science.   http://www.xfront.com/Data-Format-Science/index.html   /Roger   . . . Read full entry »


Is data formats a scientific area of research? Are there data formatscie

Posted 8/4/2019 10:21:21 PM

Hi Folks,   Do researchers study and devise new ways to format data? Is data formats a scientific area of research? Are there data format scientists? Can one get a degree at a university in data format science? Are there professors out there devising advanced ways to format text and binar . . . Read full entry »


[ANN] CSS for XML People, 3-day training course,Amsterdam, 1st

Posted 8/2/2019 11:07:51 AM

I now have dates & location for this 3-day course - it will be in Amsterdam, the first three days of October. Do you work with complex documents, long documents, or with lots of consistent smaller documents? These might be aircraft manuals, encyclopedias and other major reference works, resea . . . Read full entry »


[ANN]: sgmljs first public release

Posted 7/24/2019 10:55:14 PM

Dear colleagues sgmljs 0.0.10-alpha for Node.js, the browser, and as Unix command-line program is out. Also my SGML DTD for W3C HTML 5.2 is released. Check out http://sgmljs.net sgmljs is a new SGML parser and template processor written in JavaScript that can be used to convert HTML into XHTML, . . . Read full entry »


Re: XML timeline

Posted 7/24/2019 10:14:41 AM

First half of 1980s - it all is too complex.Second half of 1980s - let's simplify things with SGMLFirst half of 1990s - it is all too complex Second half of the 1990s - let's simplify things with HTML or XMLFirst half of the 2000s - it is all too complex (a.k.a. XSD)Second half of the 2000s . . . Read full entry »


Re: XML timeline

Posted 7/23/2019 8:03:14 PM

Hi, Rick!I thought you'd figured it out - the average life expectancy of a programmer before they get booted upstairs to management (or out to consulting) is about a decade. Most programmers also tend, once out of college, to educate themselves primarily by taking whatever they studied as the l . . . Read full entry »


10 telltale signs of a non-data-centric design

Posted 7/20/2019 4:14:58 PM

Hi Folks, First, I hold the following three statements as axioms. (Axiom: a statement or proposition which is regarded as being established, accepted, or self-evidently true). Axiom #1: Data is the most important, most valuable part of an application or system. Axiom #2: Applications or systems . . . Read full entry »


[ANN] CSS for XML People, 3-day training course, Europe, September2019

Posted 7/18/2019 4:02:01 PM

Third or fourth week in Septmber; see below for dates & venue. Do you work with complex documents, long documents, or with lots of consistent smaller documents? These might be aircraft manuals, encyclopedias and other major reference works, research papers or trade fiction novels, mediated pu . . . Read full entry »


XML timeline

Posted 7/18/2019 11:36:28 AM

Does anyone know where there is a timeline openly published that depicts the development of all of the XML ecosystem components? Search doesn't help much since I am looking for basically a history of the XML history.Thanks,-- Timothy W. Cook . . . Read full entry »


Re: XML timeline

Posted 7/18/2019 11:25:49 AM

On Thu, 2019-07-18 at 11:36 -0300, Timothy Cook wrote: > Does anyone know where there is a timeline openly published that > depicts the development of all of the XML ecosystem components? Not i. Mayhap it’d make an interesting xml.com article. Of course, XML’s history is still continuing t . . . Read full entry »


Re: How would you represent in XML this Comma SeparatedValue (

Posted 7/16/2019 1:35:58 PM

> xsi:nil="true" seems like the ideal thing to use in this situation. What do you think? Personally I wouldn't use it if I was designing the schema for this. Given that you have to specify every other element and attribute used here, it seems far more natural to just define your ow . . . Read full entry »


Re: How would you represent in XML this Comma SeparatedValue (

Posted 7/16/2019 12:17:26 PM

The dash symbol ( - ) indicates no information available. In my example, there is no information available about the Make of the Venture Extended Edition auto. Given that, how would you represent in XML that row of the CSV?   /Roger   From: Timothy Cook <timo . . . Read full entry »


How would you represent in XML this Comma Separated Value (CSV)?

Posted 7/16/2019 11:04:45 AM

Hi Folks,   Consider this CSV:     How would you represent that in XML? In particular, how would you represent the row with a dash in the Make field:     Would you represent the row this way:     xsi:nil="true" seems like the ideal thing to use in . . . Read full entry »


Re: How would you represent in XML this Comma SeparatedValue (

Posted 7/16/2019 8:56:39 AM

You did not disclose whether you are certain that a dash character represents a null value or has some other meaning.With the information available, the '-' would be a string value as the <make>-</make>On Tue, Jul 16, 2019 at 8:04 AM Costello, Roger L. <costello . . . Read full entry »


Re: Why does XML Schema allow elements with complex type tobe

Posted 7/15/2019 11:40:00 PM

Summaries #1 and #2 are fine. #3 we did not deal with, so it looks like the case where the schema requires an element for middle even if it is empty. Happens often.However the last summary mentioning semantics I dont recognise from what I wrote. Wasn't my last post about layering? I think you h . . . Read full entry »


Re: Why does XML Schema allow elements with complex type tobe

Posted 7/15/2019 1:14:54 PM

On Mon, 15 Jul 2019 at 12:59, Costello, Roger L. <costello@mitre.org> wrote:  Uncertain about the meaning of the second XML representation.  Surely it means whatever you specify it to mean.Reasonable specifications might be any ofempty content means t . . . Read full entry »


Re: Why does XML Schema allow elements with complex type tobe

Posted 7/15/2019 11:59:39 AM

Hi Folks,   Here are three XML representations for the name John Doe:   <Name>     <First>John</First>     <Middle xsi:nil="true"></Middle>     <Last>Doe</Last> </Name> . . . Read full entry »


Re: Why does XML Schema allow elements with complex type tobe

Posted 7/15/2019 10:10:56 AM

The problem I have with nillibility is not the funtionality but that it seems to be declared at the wrong layer.  You have to put it into the schema, which means you have to write the schema with a view to what non-deltas can be elided, which moves away from information and into a particular applic . . . Read full entry »


Re: Why does XML Schema allow elements with complex type tobe

Posted 7/12/2019 11:37:34 PM

And to the question of what other  languages all nillability, the answer is none. It was supposed to correspond to nullability, but then when it was pointed out it did not match, it was named nillable. (I regret this was not nillible and nillibility. Like the Beverley Nillibillies.)I think one of t . . . Read full entry »


Re: Why does XML Schema allow elements with complex type tobe

Posted 7/12/2019 8:23:51 PM

I don't think you should use nillible for the case of someone who has no middle name. That is simple optionality.nillible is for a more esoteric purpose: where whether that person has a middle name or not has not been disclosed. This may because you don't know, the client didn't ask, or . . . Read full entry »


Re: Why does XML Schema allow elements with complextype to be

Posted 7/12/2019 2:39:58 PM

On 12 Jul 2019, 11:24 +0100, Rick Jelliffe <rjelliffe@allette.com.au>, wrote: I don't think you should use nillible for the case of someone who has no middle name. That is simple optionality. nillible is for a more . . . Read full entry »


Re: Why does XML Schema allow elements with complex type tobe

Posted 7/12/2019 6:46:58 AM

Another potential use case would be in healthcare - there's a difference between saying the patient has no allergies, and the patient has no known allergies.HL7 CDA and FHIR express this difference in other ways though. CDA and FHIR use a particular attribute with a fixed set of values to corre . . . Read full entry »


Why does XML Schema allow elements with complex type to be nillable?

Posted 7/11/2019 1:17:44 PM

Hi Folks,   XML Schema allows elements with simple type to be nillable. For example, for the real world use case of some people not having a middle name, I declare a nillable <MiddleName> element:   <xsd:element name="MiddleName" nillable="true" type=&quo . . . Read full entry »


Re: Why does XML Schema allow elements with complex typeto be

Posted 7/11/2019 10:25:23 AM

On Thu, 2019-07-11 at 13:17 +0000, Costello, Roger L. wrote: > Why did the XML Schema working group allow elements with complex type > to be nillable? Why should adding an attribute to the middlename element make it no longer nillable? Liam -- Liam Quin, https://www.delightfulcomputing . . . Read full entry »


Re: Does it make sense to have a default with a nillable eleme

Posted 7/10/2019 2:51:13 PM

https://www.w3.org/TR/xmlschema11-1/#c-evcsays something about default values and xsi:nill> E has neither element nor character [children], and E is not ·nilled·...in full it says 5 The appropriate case among the following is true:5.1 If D has a {value constraint}, an . . . Read full entry »


Does it make sense to have a default with a nillable element?

Posted 7/10/2019 12:01:17 PM

Hi Folks, The following XML Schema declares an element to be nillable and the element has a default value: <xs:element name="test" type="xs:string" nillable="true" default="Hello, world" /> That is legal but is it meaningful? What does this (schema- . . . Read full entry »


Re: Does it make sense to have a default with a nillable eleme

Posted 7/10/2019 7:13:29 AM

Think of it the other way around: if the value can't be nill then what point is there in having a default? If it is nill, then you're telling people what value is used instead...On Wed, Jul 10, 2019 at 7:01 AM Costello, Roger L. <costello@mitre.o . . . Read full entry »


[ANN] Release of XMLmind XSL-FO Converter v6.1

Posted 7/8/2019 9:20:04 AM

Release of XMLmind XSL-FO Converter v6.1. Highlights: - Several minor enhancements and bug fixes. - Updated several software components in XMLmind XSL Utility and XMLmind XSL Server, and most notably XMLmind DITA Converter v3.6, which gives even more control over the numbering of ordered lists . . . Read full entry »


=?utf-8?B?IFJlOiBbeG1sLWRldl0gUmVwcmVzZW50aW5nIGJpbmFyeSB0cmVlcyBpbiBY?=

Posted 7/4/2019 6:20:13 PM

Hi John,   A simpler XML approach is to use elements named root-node, left-node, and right-node.  That reduces the number of levels in the tree by half.   Sorry, I am not clear on what you are suggesting. Do you mean this (recursive) design:   <binary-tree> . . . Read full entry »


Re: ***SPAM*** Representing binary trees in XML=?UTF-8?Q?=E2=

Posted 7/4/2019 4:46:17 PM

On Thu, 2019-07-04 at 13:45 +0000, Costello, Roger L. wrote: > Are there other ways to represent binary trees in XML? Many. But it's mostly in the details; stand-off markup (flat) and directly nested are the two most common. Note that arbitrary graph structures can't be descried as pure trees, . . . Read full entry »


=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Representing_binary_trees_in_XML_=E2=80=

Posted 7/4/2019 2:36:12 PM

On Thu, Jul 4, 2019 at 2:20 PM Costello, Roger L. <costello@mitre.org> wrote:  Sorry, I am not clear on what you are suggesting. Do you mean this (recursive) design:Yes. that's it. You can dispense with binary-tree as well and just . . . Read full entry »


=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Representing_binary_trees_in_XML_=E2=80=

Posted 7/4/2019 1:13:27 PM

On Thu, Jul 4, 2019 at 9:45 AM Costello, Roger L. <costello@mitre.org> wrote: Recursive Implementation The root node consists of a value, an optional left subtree, and an optional right subtree. A subtree is a node. A node consists of a value, an opt . . . Read full entry »


On the nature of data forms

Posted 7/3/2019 3:23:42 PM

Hi Folks,   The XML data format employs many of the forms that humankind has deemed useful in file formats.   But there are many other forms that XML has no notion of and are employed in other file formats.   Are you interested in data forms, above and beyond the specific forms t . . . Read full entry »


[ANN] Release of free, open source, XMLmind DITA Converter v3.6

Posted 7/2/2019 3:37:15 PM

Release of XMLmind DITA Converter v3.6. Even more control over the numbering of ordered lists. Specifying "inheritnum" in the outputclass attribute of an ordered list now causes the list item numbering to inherit from outer-level ordered lists. For example, using this feature (e.g. &l . . . Read full entry »


ANN: Tutorial on parsing and unparsing data formats using DFDL (DataForm

Posted 6/28/2019 6:04:17 PM

Hi Folks,   DFDL is a standards-based XML language for parsing data formats, both text and binary formats.   Using DFDL you can parse just about anything!   The output of parsing is an XML (or JSON) document, representing the input file.     Not only can DFDL parse dat . . . Read full entry »


Expat 2.2.7 with security fixes has been released

Posted 6/27/2019 11:34:32 PM

Hi everyone! Expat 2.2.7 [1] has been released a few days ago. Besides improvements to the build system, 2.2.7 fixes security issue CVE-2018-20843 [2] that allowed use of specially crafted XML to cause Denial of Service. The issue was found during fuzzing of LibreOffice by the Chromium team and . . . Read full entry »


Is there a way to configure oXygen to visually indicate whichelements in

Posted 6/27/2019 11:12:45 AM

Hi Folks, I was given a large XML instance document that conforms to an XML Schema. I am viewing the instance document using oXygen XML. Is there a way to configure oXygen so that it visually indicates which elements in the instance document are optional -- perhaps displaying the elements in red . . . Read full entry »


[ANN] XML Summer School in Oxford, England

Posted 6/26/2019 8:42:01 AM

Hi all,The XML Summer School, held each year in September in Oxford, England, has announced more of this year's program. This is an event for people who want to learn more about XML, whether they be relative newcomers or have many years experience. The week-long school features many hands-on co . . . Read full entry »


My enlightenment on the textual representation of numbers

Posted 6/24/2019 5:28:43 PM

Hi Folks,   Today I was enlightened.   I created a few slides to document my enlightenment. See below.  /Roger           DFDL (Data Format Description Language) has a more generalized notion of textual representation of numbers.       . . . Read full entry »


[ANN] Balisage Program Adds Late-breaking News

Posted 6/18/2019 10:35:44 AM

The Balisage 2019 program has been enhanced with late-breaking presentations. Take a look: https://www.balisage.net/2019/Program.html Acronyms in the 2019 Balisage program include: AI, CSS, DITA, HTML, JATS, JATS4R, JSON ,NISO, NIST, PHP, SCAP, SGML, SVG, TEI, XDM, XForms, XHTML, XML, XPath, XP . . . Read full entry »


[ANN] Course, CSS for XML People - Rockville MD, USA, in August2019 [han

Posted 6/13/2019 11:05:36 PM

19th, 2th, 21st August 2019; Rockvillle MD, USA CSS For XML People https://www.delightfulcomputing.com/course-css-for-xml-people.html Do you work with complex documents, long documents, or with lots of consistent smaller documents, in XML? These might be aircraft manuals, encyclopedias and other . . . Read full entry »


Re: International standards versioning communities

Posted 6/6/2019 2:33:22 PM

At 2019-06-06 12:11 +0200, bryan rasmussen wrote: I'm basically thinking more like a community focused on international standardization, Then you definitely need to check out https://www.niso-sts.org/ and the parent organization https://www.niso.org/ for their efforts to convince international . . . Read full entry »


Re: International standards versioning communities

Posted 6/6/2019 12:43:13 PM

At 2019-06-06 10:57 +0200, bryan rasmussen wrote: XML-dev is probably the closest thing to what I want but I figured I would ask in case someone knew some list more appropriate. I need to be able to figure out what versioning rules particular organizations are using - for example if I want to do . . . Read full entry »


Re: Standard XML or JSON vocabulary for expressing the setof t

Posted 6/6/2019 12:28:05 PM

Xspec and Rspec seem to tied to programming language concepts. Xspec is really tied to xslt and related technologies. If I were to go for describing tests you might do on documents in the most implementation agnostic way I would go with gherkin https://cucumber.io/docs/gherkin/reference/ Cheers,Bry . . . Read full entry »


Re: International standards versioning communities

Posted 6/6/2019 12:11:39 PM

I'm basically thinking more like a community focused on international standardization, and then I ask on that community - hey I have a bunch of DNV-GL Guidelines in PDF form, I want to extract titles, version numbers, does anyone know where I can find info on doing that? and then someone might . . . Read full entry »


International standards versioning communities

Posted 6/6/2019 10:57:07 AM

Hi, XML-dev is probably the closest thing to what I want but I figured I would ask in case someone knew some list more appropriate. I need to be able to figure out what versioning rules particular organizations are using - for example if I want to do an automatic metadata extraction for documents f . . . Read full entry »


Re: Standard XML or JSON vocabulary for expressing the setof t

Posted 6/4/2019 1:49:57 PM

XSpec ? https://github.com/xspec/xspec/wiki Christophe Le 04/06/2019 à 12:58, Costello, Roger L. a écrit : Hi Folks, There are many use cases where tests are performed on a file and then the file is sent to another party along with metadata about the tests performed and the results of those te . . . Read full entry »


Standard XML or JSON vocabulary for expressing the set of testsperformed

Posted 6/4/2019 10:58:15 AM

Hi Folks, There are many use cases where tests are performed on a file and then the file is sent to another party along with metadata about the tests performed and the results of those tests. Here are a few example use cases: - Test software to see if it is missing any patches. The software, test . . . Read full entry »


Re: Re: [xquery-talk] Rumble (formerly Sparksoniq) 1.0.0 "Lind

Posted 6/3/2019 5:36:39 PM

Ihe, why such a negative tone? Isn't every effort trying to pave the road from json via xquery to full xml worth even the change of a name? I find users opting for json instead for xml such a shame. But at least someone is trying to do the great job of educating these users by mentioning xquery in . . . Read full entry »


Re: Rumble (formerly Sparksoniq) 1.0.0 "Linden Oak" beta

Posted 6/3/2019 4:40:53 PM

Dear Ghislain, congrats on your release! Looking forward to give it a try, +1 for the slim jar! :-) Best from Lake Constance Michael > Am 03.06.2019 um 14:57 schrieb Ghislain Fourny <gfourny@inf.ethz.ch>: > > Dear all, & . . . Read full entry »


Rumble (formerly Sparksoniq) 1.0.0 "Linden Oak" beta

Posted 6/3/2019 12:57:41 PM

Dear all, We are happy to announce that Rumble, formerly known as Sparksoniq, has made it to beta, as we found it stable and usable enough. Rumble is for large, heterogeneous and nested JSON datasets that do not fit in DataFrames, nevertheless with JSONiq (XQuery's little brother) providing the s . . . Read full entry »


Re: Re: [xquery-talk] Rumble (formerly Sparksoniq) 1.0.0"Linde

Posted 6/3/2019 11:36:11 AM

On Mon, Jun 3, 2019 at 11:15 AM Ihe Onwuka <ihe.onwuka@gmail.com> wrote:OK but Rumble is what I would call my dog. Indiana Jones was named after George Lucas's dog, and Zynga after a dog belonging to one of the founders.  Doesn't seem to have hurt eit . . . Read full entry »


Re: Re: [xquery-talk] Rumble (formerly Sparksoniq) 1.0.0"Linde

Posted 6/3/2019 11:15:19 AM

OK but Rumble is what I would call my dog. On Mon, Jun 3, 2019 at 11:07 AM John Cowan <johnwcowan@gmail.com> wrote:On Mon, Jun 3, 2019 at 10:18 AM Ihe Onwuka <ihe.onwuka@g...> wrote:The name change didn't work for Prince. Why you guys think . . . Read full entry »


Re: Re: [xquery-talk] Rumble (formerly Sparksoniq) 1.0.0"Linde

Posted 6/3/2019 11:07:28 AM

On Mon, Jun 3, 2019 at 10:18 AM Ihe Onwuka <ihe.onwuka@gmail.com> wrote:The name change didn't work for Prince. Why you guys think you are different.?I don't think Freax (a pun on "free" and "freaks" among other thing . . . Read full entry »


Re: [xquery-talk] Rumble (formerly Sparksoniq) 1.0.0 "Linden Oak" beta

Posted 6/3/2019 10:18:11 AM

Ghislain, The name change didn't work for Prince. Why you guys think you are different.?On Mon, Jun 3, 2019 at 9:02 AM Ghislain Fourny <gfourny@inf.ethz.ch> wrote:Dear all, We are happy to announce that Rumble, formerly known as Spar . . . Read full entry »


=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Instructions_can_be_converted_to_more_?=

Posted 5/30/2019 10:38:29 AM

On Thu, May 30, 2019 at 7:21 AM Costello, Roger L. <costello@mitre.org> wrote:                 Alan Turing What would be a more elementary form of that data?Perhaps <givenName>Alan</givenName><surname>Turing</surname>.  Ano . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/25/2019 9:00:07 AM

Hi,for the versioning aspect you could use https://sirix.io :-)Disclaimer: I'm the maintainer ;)Kind regardsJohannesbryan rasmussen <rasmussen.bryan@gmail.com> schrieb am Fr., 24. Mai 2019, 10:00:Hi, We are building a system that t . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/25/2019 1:19:14 AM

Can I suggest Jurisdiction_type_ID_date_nicknameSuch asAU_Reg_12345_20161212_VotingProcedures.pdfThen a database of correlates, where the same thing is under multiple jurisdictions. Manage the vocabularies for jurisdictions and types.Allow extensions by letting people make up jurisdictions, types a . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/24/2019 5:09:23 PM

Hi Bryan, On Friday, 24 May 2019 3:59:57 PM AWST bryan rasmussen wrote: > does > anyone have any experience on this and how usable would you think the > releasedate_correction_titleofdocument.pdf would prove to be in real life? > > Thanks, > Bryan Rasmussen just relating my own . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/24/2019 11:49:29 AM

contributors are employees, but yes if you are in a country where names change you need to give it a name or id across the changes, in Denmark IIRC we have nicknames for laws, so one law might be called retsplejeloven, and when you get a new version of retsplejeloven even though the actual law name . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/24/2019 11:45:21 AM

Talk to them (the admins)? Ask them, tell them of your concerns? See if they foresee any of their own? Build the solution together?HTHOn Fri, 24 May 2019 at 10:49, bryan rasmussen <rasmussen.bryan@gmail.com> wrote:contrib . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/24/2019 10:31:11 AM

My prime concern would be losing control of the ‘marker’ / ID? Nothing to stop a contributor changing the title - I’d guess they would believe they had total control? If that is going to mess up your system, what’s the cost to you?   (I’m ignoring the ‘trouble’ of adding your extra’s to the only bi . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/24/2019 10:22:22 AM

sure, but what I'm actually arguing for  (in this project) - as a way to keep admin work low - is to do a similarity search among documents at time of document import, then the admin can choose out of the 5 most similar documents if one is the same, and if not that they can always say no I know . . . Read full entry »


versioning legal documents from many different countries

Posted 5/24/2019 9:59:57 AM

Hi, We are building a system that takes legal documents from many nations and organizations on a particular subject matter in, and needs to be able to version them. A coworker has suggested that when an admin puts in a new document they should name it releasedate_correction_titleofdocument.pdfhowev . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 5/24/2019 9:55:43 AM

I'd have to say that conversion between formats, especially complicated technical formats is an order of magnitude more difficult than the usual Bayesian type stuff of being able to do automatic classification. In doing automatic classification, even when you have lots and lots of examples in y . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/24/2019 9:10:33 AM

Option: Give each document an id / number on entry to your system and relate that to each document title. Simpler and you have control. HTH On Fri, 24 May 2019 at 09:00, bryan rasmussen <rasmussen.bryan@gmail.com> wrote: > > Hi, . . . Read full entry »


Re: versioning legal documents from many different countries

Posted 5/24/2019 7:56:45 AM

I think I would start with a content management system. I am sure there are some already on the market for this issue.  In any case, something like a customized Plone install would address your concerns. Plone has several plugins that can be customized. Of course, there are many other options. I ju . . . Read full entry »


Deprecating XML is vandalism

Posted 5/23/2019 9:06:37 AM

Deprecating XML is not cool and not smart. It's vandalism.https://www.linkedin.com/feed/update/urn:li:activity:6537310207784083456 . . . Read full entry »


[ANN] Release of XMLmind XML Editor v9.0

Posted 5/17/2019 11:44:07 AM

Release of XMLmind XML Editor v9.0: - Due to the recent changes in Oracle Java™ licensing, * Java™ 8+ is now required to compile and run XXE. Both Oracle Java and OpenJDK are now officially supported. * The setup.exe and ".dmg" distributions of XXE are now bundled with the lat . . . Read full entry »


[ANN] Balisage 2019 Program Now Available

Posted 5/16/2019 11:37:46 AM

Balisage: The Markup Conference 2019 Program Now Available https://www.balisage.net/2019/Program.html Balisage: where serious markup practitioners and theoreticians meet every summer. The 2019 program includes languages for markup and text processing, multitasking in XForms, loose-leaf publishing . . . Read full entry »


Re: Jaxen 2 underway

Posted 5/14/2019 6:39:30 AM

On 5/13/2019 8:09 PM, Elliotte Rusty Harold wrote: Work on Jaxen 2 has commenced. The primary focus of this release is cleaning up the massive dependency cycle hell that Jaxen 1.x created throughout the Java ecosystem. To that end, the core project will now only include a navigator for DOM. Since . . . Read full entry »


Jaxen 2 underway

Posted 5/13/2019 8:09:07 PM

Anyone depending on or interested in the Jaxen library may want to poke their heads into the repo at: https://github.com/jaxen-xpath/jaxen Work on Jaxen 2 has commenced. The primary focus of this release is cleaning up the massive dependency cycle hell that Jaxen 1.x created throughout the Java e . . . Read full entry »


[ANN] Markup UK 2019 - Programme Announced

Posted 5/10/2019 1:01:28 PM

Hello, We are pleased to announce the conference programme for Markup UK 2019, now available here: https://markupuk.org/schedule.xhtml.Markup UK returns with two full days of single track sessions, and this year a pre-conference day of hands-on tutorials led by experts.The conference will be held . . . Read full entry »


Re: Namespace declaration - good practise

Posted 4/27/2019 9:24:35 AM

Thanks a lot to all of you. Best regards, Christophe Le 26/04/2019 à 21:16, Liam R. E. Quin a écrit : On Fri, 2019-04-26 at 16:17 +0200, Christophe Marchand wrote: [...] So, I'd like to declare namespaces strings as constants, and use these constants in XSL. The only way I've found is to decla . . . Read full entry »


Re: Namespace declaration - good practise

Posted 4/26/2019 4:29:09 PM

 I regard DTD as an anachronism - unrelated to modern XML technology (XSD, XPath, XQuery, XSLT) and without future - which I would avoid.DTDs still have their uses, and this one is reasonable enough: here it's more about conveniently declaring entities than it is about validation, wher . . . Read full entry »


Namespace declaration - good practise

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

Hello ! I have a lot of XSL that process many business documents. Each XSL declares at least 15 different business namespaces, excluding technical namespaces (http://www.w3.org/1999/XSL/Transform, http://www.w3.org/2001/XMLSchema and so on). We have problems when creating a new XSL, in copy/pa . . . Read full entry »


Re: Namespace declaration - good practise

Posted 4/26/2019 3:16:24 PM

On Fri, 2019-04-26 at 16:17 +0200, Christophe Marchand wrote: > [...] > So, I'd like to declare namespaces strings as constants, and use > these constants in XSL. > > The only way I've found is to declare a DTD with entities, one > entity per namespace : > Then, use this DTD . . . Read full entry »


Re: Namespace declaration - good practise

Posted 4/26/2019 2:55:18 PM

Hi Christophe, I regard DTD as an anachronism - unrelated to modern XML technology (XSD, XPath, XQuery, XSLT) and without future - which I would avoid.How about writing a tool with the following functionality:* input: one or more XML files (e.g. XSLTs)* optional parameter: $ignore - a whit . . . Read full entry »


Re: Namespace declaration - good practise

Posted 4/26/2019 12:37:36 PM

Absolutely I've done this and I continue to do so. It is very convenient. I had one stylesheet tree with over two dozen fragments (meaningfully separated by semantics and context, I wasn't doing it for the sake of doing it) and each fragment incorporated a set of namespace URI string general en . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/22/2019 8:49:25 PM

There is that old joke:  the speaker at a software engineeting conference asked for a show of hands: which developer would be willing to ride in a plane whose automatic pilot they had programmed. Only one put their hand up: "I would be completely confident, because it wouldnt even make it to t . . . Read full entry »


Re: Grand Challenge: XML-aware program that dynamicallylearns

Posted 4/22/2019 11:05:12 AM

If you really insist on this. Try creating a challenge on Kaggle or one of the other AI challenge platforms.It might be an interesting academic exercise but I wouldn't use this in implementation.On Sun, Apr 21, 2019 at 9:20 AM Costello, Roger L. <costello@mitre&# . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/22/2019 11:00:12 AM

On Sat, Apr 20, 2019 at 5:01 PM Ihe Onwuka <ihe.onwuka@gmail.com> wrote:No, for reasons similar to why I don't think about trying out a fork when presented with a bowl of soup. My job is to solve problems, not to do AI/machine learn . . . Read full entry »


Grand Challenge: XML-aware program that dynamically learns how tomap/tra

Posted 4/21/2019 12:20:35 PM

Hi Folks, Grand Challenge: Write a program that is XML-aware [1]. The XML-aware program is able to dynamically discover the mapping/transformation between XML instances that represent the same thing but in different ways. Specifically, the input to the program is a pair of XML instances representi . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/20/2019 7:01:36 PM

No. I cannot think of a situation where it would be viable, actually.  I suppose if you went the path of using AI to figure out some domain for an element in one schema based on the values (ie city), then did the same for the other, and matched them, that might work. And by comparing names by some . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/20/2019 4:01:04 PM

No, for reasons similar to why I don't think about trying out a fork when presented with a bowl of soup. My job is to solve problems, not to do AI/machine learning/analytics. On Sat, Apr 20, 2019 at 11:58 AM Costello, Roger L. <costello@mitre. . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/20/2019 3:58:42 PM

Thank you Tim, Rick, Andreas, and Stephen for your excellent replies!   Tim asked about my use case. I have two different XML vocabularies for aeronautical navigation data. I want to convert XML instances of one to equivalent XML instances of the other. Here is a tiny example of the . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/20/2019 2:30:50 PM

No. I didn't.As for the use-case: Would that be something like mapping a table format from XHTML to DocBook, DITA or TEI and having the AI figure out, which element from n1 needs to be mapped to which element in ns2? The AI then would create the templates for such a transform?On Sat, Apr 20, 20 . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/20/2019 2:23:22 PM

Aren’t you just asking whether AI will ever ‘understand’ XML documents? Well clearly it doesn’t yet or you would not still be asking.This must be a source of sadness to the spying and monitoring world as their main hope for XML adoption worldwide might have been to facilitate electronic data transp . . . Read full entry »


Re: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/20/2019 1:39:33 PM

Hi Roger, > Tim asked about my use case. > I have two different XML vocabularies for aeronautical navigation data. > I want to convert XML instances of one to equivalent XML instances of the other. Which airline do these belong to? Please, let me know so that I will never fly these anymo . . . Read full entry »


[ANN] Release of free, open source, XMLmind DITA Converter v3.5

Posted 4/20/2019 9:52:26 AM

Release of XMLmind DITA Converter v3.5 - Support of ALL the features of subject scheme maps related to controlled attribute values. - Updated some software components. - Now officially supported on Java™ 12 platforms. More information in http://www.xmlmind.com/ditac/changes.shtml -------------- . . . Read full entry »


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

Posted 4/20/2019 9:38:26 AM

Release of XMLmind Ebook Compiler v1.3.2 - Some minor enhancements. - Updated some software components. - Now officially supported on Java™ 12 platforms. More information in http://www.xmlmind.com/ebookc/changes.html ------------------------------- What is XMLmind Ebook Compiler? --------------- . . . Read full entry »


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: Have you used AI, machine learning, and/or dataanalytics t

Posted 4/19/2019 10:19:35 AM

Do you have an actual use case for this?Seems to me that doing this sort of mapping you are changing the original context of the captured data. Consider this. When you migrate/transform an XML document (schema constrained) into another XML document (different schema constraints), then you are poten . . . 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 »



PURCHASE STYLUS STUDIO ONLINE TODAY!!

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

Buy Stylus Studio Now

What's New for X14?

New XQuery & Web Services Tools, Support for MySQL, PostgreSQL, HL7 EDI, Microsoft .NET Code Generation and much more!

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