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: 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 »


=?UTF-8?B?UmU6IOOAkGZyZWVtbOOAkeODoeODvOODq+OBruaKleeov+OBjOWHuuadpeOBvu

Posted 7/31/2018 4:06:30 PM

This address has been bouncing msgs for a while now. Anyone recognise it? How to stop it? What does it say? On 31 July 2018 at 16:03, <post-freeml@freeml.com> wrote: > あなたの以下の投稿は、受け付けられませんでした。 > >  □MLの宛先: >   pos . . . Read full entry »


text input to XML

Posted 7/31/2018 4:03:37 PM

Has anyone investigated using speech recognition within an XML aware environment? 'Dragon Naturally Speaking' is very little help. Just wondering if anyone else has tried this? My usual route, create structure with emacs, Open in an editor supported by the speech recognition, then hop between el . . . Read full entry »


Re: question about xml:base value generated by xi:include

Posted 7/31/2018 3:37:24 PM

Note that this has been discussed on the Saxon forum athttps://saxonica.plan.io/issues/3864andhttps://saxonica.plan.io/issues/3530and I previously raised questions on xml-dev in the thread at https://markmail.org/thread/ka6uzz6ppali5amnThe current status in Saxon (I believe) is that I found a . . . Read full entry »


RE: question about xml:base value generated by xi:include

Posted 7/31/2018 3:01:37 PM

Hi Micheal, Thank you for quick answer. Just to better understand: I found the same issue on Saxon and BaseX. BaseX developers told me that they are not responsible for this issue, since their application just wraps around SAX xml library (and they thus recommended me to raise the question to x . . . Read full entry »


question about xml:base value generated by xi:include

Posted 7/31/2018 12:59:52 PM

Dear all, I have a question about the value of attribute xml:base generated when processing an xi:include. Let me explain it with an example. My example employs xi:include elements to include other xml files. It is constituted by a main.xml file which includes another file (include1.xml) stored . . . Read full entry »


=?UTF-8?B?UmU6IFt4bWwtZGV2XSBSZTog44CQZnJlZW1s44CR44Oh44O844Or44Gu5oqV56

Posted 7/31/2018 11:49:48 AM

It's basically a classic bounce-o-gram, but written in Japanese, and it says that posts to <post-esuya@freeml.com> cannot be accepted because that mailing list does not exist.  So a mailing-list administrator at lists.xml.org needs to clean . . . Read full entry »


RE: text input to XML

Posted 7/31/2018 11:10:04 AM

This gentleman came up with a series of macros on top of emacs to program Python using voice. I imagine the something similar could be done for XML. https://www.youtube.com/watch?v=8SkdfdXWYaI -----Original Message----- From: Dave Pawson <dave.pawson@g&#x . . . Read full entry »


Re: "Most of the work is finished"

Posted 7/29/2018 10:39:52 AM

Hi Dave,   Thanks for letting us know, about the mentioned write up. Its a great post by Liam.On Sat, Jul 28, 2018 at 12:52 PM, Dave Pawson <dave.pawson@gmail.com> wrote:https://www.w3.org/blog/2018/07/the-world-wide-success-that-is-xml/ Good . . . Read full entry »


RE: "Most of the work is finished"

Posted 7/28/2018 7:45:46 PM

So would it be remiss to say that our work in bringing XML back into web development has only just begun? Because when I think about the work that goes into building a React application vs. a web app with XQuery in it, I think XML really deserves a second chance. Agreed re: summary. -----Or . . . Read full entry »


"Most of the work is finished"

Posted 7/28/2018 8:22:36 AM

https://www.w3.org/blog/2018/07/the-world-wide-success-that-is-xml/ Good summary of XML. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. . . . Read full entry »


RE: Is the XML Schema for XML Digital Signatures needed?

Posted 7/27/2018 9:30:10 PM

At 2018-07-27 20:03 +0000, Costello, Roger L. wrote: > if something claims that it's signed, > we should just accept that. Ah, that's an interesting point. A digsig tool might not produce a correctly formatted <ds:Signature> and therefore it would be useful to validate the <ds:Si . . . Read full entry »


RE: Is the XML Schema for XML Digital Signatures needed?

Posted 7/27/2018 8:03:36 PM

Hi Amy, > if something claims that it's signed, > we should just accept that. Ah, that's an interesting point. A digsig tool might not produce a correctly formatted <ds:Signature> and therefore it would be useful to validate the <ds:Signature> against the digsig XML Schema. Tha . . . Read full entry »


RE: Is the XML Schema for XML Digital Signatures needed?

Posted 7/27/2018 7:48:18 PM

Hi Liam, > Are you assuming that all authoring tools and XML creation > software has XML Signature knowledge built in? I am assuming that any XML digital signature tool will produce a correct: <ds:Signature> ... </ds:Signature> Hence, there is no benefit to me v . . . Read full entry »


RE: Is the XML Schema for XML Digital Signatures needed?

Posted 7/27/2018 6:36:40 PM

Hi Liam, Suppose that I have this XML instance document: <Document> <foo>abc</foo> <ds:Signature xmlns:ds="..."> ... </ds:Signature> </Document> My argument says that, an XML Schema for <Document> should simply us . . . Read full entry »


Is the XML Schema for XML Digital Signatures needed?

Posted 7/27/2018 4:58:23 PM

Hi Folks, Let me try the following argument on you. Please tell me if there are flaws in my argument. The XML Schema for XML Digital Signatures may be found at this URL: https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd I would like to argue that it (the XML Schema) . . . Read full entry »


RE: Is the XML Schema for XML Digital Signatures needed?

Posted 7/27/2018 3:55:15 PM

On Fri, 27 Jul 2018 19:48:18 +0000, Costello, Roger L. wrote: >> Are you assuming that all authoring tools and XML creation >> software has XML Signature knowledge built in? > > I am assuming that any XML digital signature tool will produce a correct: > > <ds:Signature . . . Read full entry »


Re: Is the XML Schema for XML Digital Signatures needed?

Posted 7/27/2018 3:28:30 PM

On Fri, 2018-07-27 at 18:36 +0000, Costello, Roger L. wrote: > > My argument is that the digsig tools will ensure that the signature > is correct, so don't bother validating against the XML Schema for > xmldigsig. > > Do you buy that argument? No. Are you assuming that all aut . . . Read full entry »


Re: Is the XML Schema for XML Digital Signatures needed?

Posted 7/27/2018 2:10:18 PM

On Fri, 2018-07-27 at 16:58 +0000, Costello, Roger L. wrote: > Hi Folks, > > Let me try the following argument on you. Please tell me if there are > flaws in my argument. > [...] > Because digital signature tools won't work if an XML Digital > Signature is not properly constr . . . Read full entry »


Re: Got a JSON Schema version of the XML Digsig Schema?

Posted 7/24/2018 11:28:41 AM

On 23.7.2018 17:24, Costello, Roger L. wrote: > I am hoping that someone has already converted the XML Digsig schema to JSON Schema. Have you done so? If yes, can you make it available? If your goal is to represent signed content in JSON then you should look at JWS: https://tools.ietf.org/html . . . Read full entry »


Got a JSON Schema version of the XML Digsig Schema?

Posted 7/23/2018 3:24:53 PM

Hi Folks, I am converting an XML Schema to JSON Schema. The XML Schema imports the XML Digsig schema [1]. I am hoping that someone has already converted the XML Digsig schema to JSON Schema. Have you done so? If yes, can you make it available? /Roger [1] https://www.w3.org/TR/2002/REC-xmldsig- . . . Read full entry »


Re: Mutation testing on XML?

Posted 7/23/2018 12:20:19 PM

Mutation testing is not so suited for literature, because of the recursive structures. I once counted 600,000 unique absolute Xpaths for in documents corpus. it is the problem of combinatorial explosion.but even for literature, if you have no corpus, mutation is probably Ok. But you need to make su . . . Read full entry »


Re: Mutation testing on XML?

Posted 7/21/2018 3:01:40 PM

On Fri, Jul 20, 2018 at 12:14 PM, Costello, Roger L. <costello@mitre.org> wrote: Have you done mutation testing on XML? If yes, would you describe how you did it, please? ​Yes. In testing XML Schema and example XML when building tools [1] for S3Model . . . Read full entry »


Mutation testing on XML?

Posted 7/20/2018 3:14:20 PM

Hi Folks, Mutation analysis and testing can be applied to design models, specifications, databases, tests, XML, and other types of software artifacts, although program mutation is the most common. [1] Have you done mutation testing on XML? If yes, would you describe how you did it, pleas . . . Read full entry »


Re: Difficulties with catalog

Posted 7/19/2018 12:16:18 AM

On 18.7.2018 21:45, Christophe Marchand wrote: > For next XML Prague, I promise I'll learn the whole xml-catalogs > specification ! ;-) OK, we will give you badge only if you will correctly resolve dozen of difficult test cases ;-) > But there is something strange : if I parse xml file w . . . Read full entry »


Re: Difficulties with catalog

Posted 7/18/2018 9:45:59 PM

Thanks a lot, Jirka. That solves my problem ! I knew I made a mistake, I've tried almost all catalog entries, but this one... For next XML Prague, I promise I'll learn the whole xml-catalogs specification ! ;-) But there is something strange : if I parse xml file with an InputSource where sy . . . Read full entry »


Re: Difficulties with catalog

Posted 7/18/2018 7:44:01 PM

On 18.7.2018 15:28, Christophe Marchand wrote: > I have an XML file, that starts like this : > > <!DOCTYPE imported SYSTEM "import.dtd"> In this context import.dzd is relative URI and will be expanded to something like file:/location/of/xml/file/on/your/machine/import.dtd . . . Read full entry »


Difficulties with catalog

Posted 7/18/2018 3:28:17 PM

Hello, I need a little bit of help with a catalog. I have an XML file, that starts like this : <!DOCTYPE imported SYSTEM "import.dtd"> <imported> I want to use another file for DTD. So I declare a catalog (org.xmlresolver from @ndw), like this : <?xml version=" . . . Read full entry »


Re: How to validate JSON against XSD schemas

Posted 7/17/2018 10:47:41 AM

Hi Piers,    wrt your project I think, data architect must choose either XML or JSON as a data exchange format. I'd personally not prefer, mixing JSON and XML in a particular application; that unnecessarily complicates the design.If there's a major technology re-engineering happening in the . . . Read full entry »


Re: How to validate JSON against XSD schemas

Posted 7/17/2018 8:24:52 AM

Instead of mapping XSD to JSON schema you could use a schema mechanism that has bindings to both XML and JSON. SDO (part of OASIS/OpenSOA SCA middleware spec) uses XSDs with optional annotation elements to express type info for business types that could be used for XML, JSON, and other type seriali . . . Read full entry »


Re: How to validate JSON against XSD schemas

Posted 7/17/2018 1:59:06 AM

On Mon, 2018-07-16 at 12:43 -0700, Piers MacDonald wrote: > I know the title sounds impossible, give it a second. We have XSD > schemas > created by an open-standards industry group. In our service we'd like > our > customers to be able to use JSON or XML when supplying data. What's . . . Read full entry »


Re: How to validate JSON against XSD schemas

Posted 7/16/2018 9:05:50 PM

My advice would be to take the data model underlying the XML Schema, then produce a JSON representation of that data model, then create custom transformations between the JSON and XML representations.If you try to produce any kind of mechanistic conversion of the XML Schema or instances to JSON, th . . . Read full entry »


Re: How to represent mixed content in JSON and JSON Schema?

Posted 7/16/2018 8:49:33 PM

You need to state your objectives.One of your objectives, I think, is to map XML to JSON in such a way that every XML document has a JSON representation, and two "distinct" XML documents (in some sense of the term) have distinct JSON representations.I assume you don't care about the DTD, but you di . . . Read full entry »


Re: RE: How to represent mixed content in JSON and JSON Schema

Posted 7/16/2018 8:11:12 PM

On 16 July 2018 at 19:56, Costello, Roger L. <costello@mitre.org> wrote: > Hi Folks, > > > > I have examined several approaches that people have developed to represent > mixed content in JSON. I have identified their best features. . . . Read full entry »


RE: How to represent mixed content in JSON and JSON Schema?

Posted 7/16/2018 6:56:19 PM

Hi Folks,   I have examined several approaches that people have developed to represent mixed content in JSON. I have identified their best features.   I created an approach that incorporates all their best features.   Below is my recommended approach for representing mixed cont . . . Read full entry »


Re: How to validate JSON against XSD schemas

Posted 7/16/2018 4:03:10 PM

wouldn't you at least have to reimplement a namespace solution.On Mon, Jul 16, 2018 at 3:57 PM, Piers MacDonald <piers@piersmacdonald.com> wrote:True. We're fortunate at the current point that the UBL schemas we're using don't h . . . Read full entry »


Re: How to validate JSON against XSD schemas

Posted 7/16/2018 3:50:30 PM

1.Several XSD concepts do not have a JSON Schema equivalent so definitely not 2.On Mon, Jul 16, 2018 at 3:43 PM, Piers MacDonald <piers@piersmacdonald.com> wrote: I know the title sounds impossible, give it a second. We have XSD sch . . . Read full entry »


[ANN] Balisage 2018 Program updated with Late-breaking News

Posted 7/16/2018 3:43:49 PM

The Balisage 2018 program has been enhanced with late-breaking presentations. Take a look at the program: https://www.balisage.net/2018/Program.html The 2018 program includes papers that reflect and look forward, and that discuss the use of markup to: manage documentation, visualize large XML dat . . . Read full entry »


Re: RE: How to represent mixed content in JSON and JSON Schema

Posted 7/16/2018 3:08:18 PM

Shouldn't the "recommended approach" since you used that phrase be not to do it at all.On Mon, Jul 16, 2018 at 2:56 PM, Costello, Roger L. <costello@mitre.org> wrote: Hi Folks,   I have examined several approaches that people have de . . . Read full entry »


Re: How to validate JSON against XSD schemas

Posted 7/16/2018 12:57:36 PM

True. We're fortunate at the current point that the UBL schemas we're using don't have any validation features not possible in JSON schema but it's definitely a riskOn Mon, Jul 16, 2018 at 12:50 PM, Ihe Onwuka <ihe.onwuka@gmail.co . . . Read full entry »


How to validate JSON against XSD schemas

Posted 7/16/2018 12:43:59 PM

I know the title sounds impossible, give it a second. We have XSD schemas created by an open-standards industry group. In our service we'd like our customers to be able to use JSON or XML when supplying data. What's the best practice in a situation like this? Convert JSON payloads t . . . Read full entry »


Re: leaving w3c - change of address

Posted 7/15/2018 1:30:38 PM

And a big three cheers from all of us, I am sure, for your years of hard work and friendship with so many. Best wishes for whatever is next, and thanks!RegardsRickOn Sat, 14 Jul. 2018, 05:09 Liam R. E. Quin, <liam@fromoldbooks.org> wrote:Enough people o . . . Read full entry »


Re: leaving w3c - change of address

Posted 7/15/2018 12:20:54 PM

On Fri, 13 Jul 2018 13:08:59 -0400 "Liam R. E. Quin" <liam@fromoldbooks.org> wrote: > Enough people on this list contact me that i hope you'll forgive this > message... > > After almost 17 years, i’m leaving W3C. The . . . Read full entry »


Re: leaving w3c - change of address

Posted 7/15/2018 11:16:47 AM

Same thoughts from me, Liam.Thank you.On Sun, Jul 15, 2018 at 7:00 AM, Rick Jelliffe <rjelliffe@allette.com.au> wrote:And a big three cheers from all of us, I am sure, for your years of hard work and friendship with so many. Best wishes for what . . . Read full entry »


Re: RE: How to represent mixed content in JSON and JSONSchema?

Posted 7/14/2018 11:28:35 PM

On 13/07/18 19:41, Costello, Roger L. wrote: > Here is a web site with an XSLT program that converts XML to JSON, and > it handles mixed content: > > https://github.com/bramstein/xsltjson/ Is this on live availability anywhere? That URI is just a git page. > The XSLT program is par . . . Read full entry »


Re: How to represent mixed content in JSON and JSON Schema?

Posted 7/14/2018 11:22:07 PM

On 14/07/18 02:15, Liam R. E. Quin wrote: [snip] > So, XML leaves out a lot, and some of it is supplied by other specs > (such as infoset) and some of it is deliberately omitted, and some of > it was omitted by oversight. I don't think XML::Twig was wrong to > offer unordered sequence . . . Read full entry »


Re: How to represent mixed content in JSON and JSON Schema?

Posted 7/14/2018 12:29:04 AM

Amy, hello! On 13 Jul 2018, at 2:29, Amelia A Lewis wrote: Hmmmm. On Fri, 13 Jul 2018 01:01:17 +0100, Norman Gray wrote: On 12 Jul 2018, at 15:58, Liam R. E. Quin wrote: Yes. We saw this also back in Perl days, with some XML libraries using a mix of an array for contents and a hash for attr . . . Read full entry »


Re: How to represent mixed content in JSON and JSONSchema?

Posted 7/13/2018 9:15:27 PM

On Sat, 2018-07-14 at 00:29 +0100, Norman Gray wrote: > Ah no, you're not getting away that easily. That specifies that > order is constrained _in the source document_, but it is > magisterially silent > on the order in which those elements are presented to the processing > applic . . . Read full entry »


RE: How to represent mixed content in JSON and JSON Schema?

Posted 7/13/2018 6:41:25 PM

Hi Folks,   Thanks to the pointers to web sites showing work with converting XML to JSON. Below is a summary of what I found.   Here is a web site with an XSLT program that converts XML to JSON, and it handles mixed content:   https://github.com/bramstein/xsltjson/   The . . . Read full entry »


Re: XML -> SGML serialization. Any ideas ?

Posted 7/13/2018 4:04:21 PM

Thanks Tony, for this ! I'm able to produce a XML file, with all exotic-characters escaped, with a reference to a DTD, that's perfect. Now, I have to try to see if it's valid as a SGML file... Thanks again, Christophe Le 13/07/2018 à 12:07, Tony Graham a écrit : On 13/07/2018 11:00, Christoph . . . Read full entry »


Re: XML -> SGML serialization. Any ideas ?

Posted 7/13/2018 3:10:39 PM

On 13 July 2018 at 15:04, Christophe Marchand <cmarchand@oxiane.com> wrote: > Thanks Tony, for this ! > > I'm able to produce a XML file, with all exotic-characters escaped, with a > reference to a DTD, that's perfect. > > N . . . Read full entry »


leaving w3c - change of address

Posted 7/13/2018 1:08:59 PM

Enough people on this list contact me that i hope you'll forgive this message... After almost 17 years, i’m leaving W3C. The XML work at W3C has ended (or almost ended; there's still maybe work in EXI) and i'm leaving. Although i don't know where i'll end up yet, you can reach me at fromoldbooks. . . . Read full entry »


XML -> SGML serialization. Any ideas ?

Posted 7/13/2018 12:00:03 PM

Hello, I have to give data to a very old application, which can only read SGML. My data structure is really simple (records of filename, title), but contains characters that are not ASCII. So I have to translate them to use entities (I think SGML has a set of declared entities for characters . . . Read full entry »


Re: XML -> SGML serialization. Any ideas ?

Posted 7/13/2018 11:07:38 AM

On 13/07/2018 11:00, Christophe Marchand wrote: I have to give data to a very old application, which can only read SGML. My data structure is really simple (records of filename, title), but I hope that you don't have any empty elements. contains characters that are not ASCII. So I have to tra . . . Read full entry »


Re: How to represent mixed content in JSON and JSON Schema?

Posted 7/13/2018 8:52:13 AM

On 13/07/2018 02:29, Amelia A Lewis wrote: I can't imagine how the Perl code you describe handled mixed content, though. Did it just not support it? Concatenate all the text nodes (or better: throw away all the text nodes after the first, or replace the m_text members value with each new text nod . . . Read full entry »


Re: How to represent mixed content in JSON and JSON Schema?

Posted 7/13/2018 1:01:17 AM

Greetings. On 12 Jul 2018, at 15:58, Liam R. E. Quin wrote: Yes. We saw this also back in Perl days, with some XML libraries using a mix of an array for contents and a hash for attributes, A tangent: I remember having a fairly noisy row with a colleague a few years ago, who asserted that th . . . Read full entry »


Re: How to represent mixed content in JSON and JSON Schema?

Posted 7/12/2018 11:18:58 PM

On Thu 12/7/18 10:58 PM, Liam R. E. Quin wrote: If you're going to do extend JSON, why not allow { sku: "123456789", name: "argyle socks", item.fabric: "organic fair-traded happily-grown thistle", item.colour: "orange", <descri . . . Read full entry »


Re: How to represent mixed content in JSON and JSONSchema?

Posted 7/12/2018 9:29:18 PM

Hmmmm. On Fri, 13 Jul 2018 01:01:17 +0100, Norman Gray wrote: > On 12 Jul 2018, at 15:58, Liam R. E. Quin wrote: >> Yes. We saw this also back in Perl days, with some XML libraries using >> a mix of an array for contents and a hash for attributes, > [snip] > > Entertainin . . . Read full entry »


Re: How to represent mixed content in JSON and JSON Schema?

Posted 7/12/2018 2:17:48 PM

I recently used pandoc to do a Latex to DocBook conversion. http://pandoc.org/ Turns out, IIUC, that they use a JSON representation of the document (mixed) content as the intermediate format for conversion between all of the target specifications. I see there is a proto schema here: http . . . Read full entry »


Re: How to represent mixed content in JSON and JSONSchema?

Posted 7/12/2018 10:58:56 AM

On Thu, 2018-07-12 at 18:23 +0800, Henry Luo wrote: > JSON does not have a standard way of representing mixed content. > Different applications come up with different conventions to encode > that. Yes. We saw this also back in Perl days, with some XML libraries using a mix of an array for . . . Read full entry »


How to represent mixed content in JSON and JSON Schema?

Posted 7/11/2018 3:57:22 PM

Hi Folks,   I am converting an XML Schema to a JSON Schema.   The XML Schema declares an <example> element that has bidirectional-override (BDO) elements intermingled with text, e.g.,   <example>Some text <bdo dir="rtl">reverse this text <bdo di . . . Read full entry »


Re: Duality of quantifiers

Posted 7/11/2018 12:03:51 AM

A decent optimizer will convert count(XXX)=0 to empty(XXX), but you run the risk that without a decent optimizer, the processor will carefully count how many items satisfy the predicate rather than returning a result as soon as it finds the first. Michael Kay Saxonica > On 10 Jul 2018, at 23:0 . . . Read full entry »


Re: Duality of quantifiers

Posted 7/10/2018 11:06:48 PM

On 10/07/18 22:42, Costello, Roger L. wrote: > Hi Folks, > > So, you’ve got an XML document containing a bunch of integers: > > <Test> >     <x>2</x> >     <x>4</x> >     <x>5</x> >     <x>7</x> >     <x>10& . . . Read full entry »


Duality of quantifiers

Posted 7/10/2018 9:42:03 PM

Hi Folks, So, you’ve got an XML document containing a bunch of integers: <Test>     <x>2</x>     <x>4</x>     <x>5</x>     <x>7</x>     <x>10</x> & . . . Read full entry »


Re: Duality of quantifiers

Posted 7/10/2018 8:54:52 PM

Test/x[. mod 2 gt 0][1]   ?On Tue, 10 Jul. 2018, 20:04 Michael Kay, <mike@saxonica.com> wrote:A decent optimizer will convert count(XXX)=0 to empty(XXX), but you run the risk that without a decent optimizer, the processor will carefully count . . . Read full entry »


Re: offtopic: looking for Apache Web server binaries for windo

Posted 7/10/2018 1:44:58 PM

Thanks, Eldrid.On Tue, Jul 10, 2018 at 1:27 PM, Eldrid Rensburg <eldrid.rensburg@gmail.com> wrote:Not bad binaries: https://www.apachehaus.comOn Tue, 10 Jul 2018, 08:21 Mukul Gandhi, <gandhi.mukul@g...> wrote:Hi all,   I apologize for an offtop . . . Read full entry »


offtopic: looking for Apache Web server binaries for windows

Posted 7/10/2018 11:51:10 AM

Hi all,   I apologize for an offtopic question.I'm unable to locate Windows 10 compatible binaries, of latest Apache Web Server. I want to install Apache Web Server, on my Windows 10 workstation.Can anyone please help with this?-- Regards,Mukul Gandhi . . . Read full entry »


Re: offtopic: looking for Apache Web server binaries for windo

Posted 7/10/2018 9:57:45 AM

Not bad binaries: https://www.apachehaus.comOn Tue, 10 Jul 2018, 08:21 Mukul Gandhi, <gandhi.mukul@gmail.com> wrote:Hi all,   I apologize for an offtopic question.I'm unable to locate Windows 10 compatible binaries, of latest . . . Read full entry »


(1) Oxygen now supports JSON Schema (2) Can auto-convert XML Schemato JS

Posted 7/6/2018 1:55:54 PM

Hi Folks, I just noticed that the latest version of Oxygen (version 20.1) supports JSON Schema. And it can validate a JSON instance against a JSON Schema. https://www.oxygenxml.com/forum/topic14254.html#p47927 I also just discovered an XQuery library module that transforms an XML Schema to a JS . . . Read full entry »


Re: (1) Oxygen now supports JSON Schema (2) Canauto-convert XM

Posted 7/6/2018 1:06:31 PM

On Fri, 2018-07-06 at 12:52 -0400, Ihe Onwuka wrote: > > > > I also just discovered an XQuery library module that transforms > > > an XML > > > Schema to a JSON Schema equivalent: [...] > > Here we go again with the false equivalence fallacy. What does it > . . . Read full entry »


Re: (1) Oxygen now supports JSON Schema (2) Canauto-convert XM

Posted 7/6/2018 12:52:31 PM

On Fri, Jul 6, 2018 at 10:33 AM, Ihe Onwuka <ihe.onwuka@gmail.com> wrote:On Fri, Jul 6, 2018 at 9:55 AM, Costello, Roger L. <costello@m...> wrote:Hi Folks, I just noticed that the latest version of Oxygen (version 20.1) supports JSON . . . Read full entry »


Re: (1) Oxygen now supports JSON Schema (2) Canauto-convert XM

Posted 7/6/2018 10:33:38 AM

On Fri, Jul 6, 2018 at 9:55 AM, Costello, Roger L. <costello@mitre.org> wrote:Hi Folks, I just noticed that the latest version of Oxygen (version 20.1) supports JSON Schema. And it can validate a JSON instance against a JSON Schema. https://www.oxygenxml.co . . . Read full entry »


Re: Why does iso_svrl_for_xslt2.xsl specify version="1.0"?

Posted 7/5/2018 8:54:01 PM

IIRC it means it generates an XSLT 2 meta-stylesheet. Which means you can use Xpath 2.0.  But it only requires XSLT 1 to generate that stylesheet. (Which is a pain, since some XSLT 2 engines will generate a message that they are running XSLT 1 stylesheet on an XSLT engine. The only purpose of this . . . Read full entry »


Why does iso_svrl_for_xslt2.xsl specify version="1.0"?

Posted 7/5/2018 10:54:09 AM

Hi Folks, Schematron question ... There is a file whose name is iso_svrl_for_xslt2.xsl That filename seems to suggest it is an XSLT 2.0 stylesheet. But when I open the file, I see this: <xsl:stylesheet version="1.0" ... Why? /Roger . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/30/2018 11:46:04 AM

Nice thoughts, Ihe.--Regards,Mukul GandhiOn Sat, 30 Jun 2018, 02:00 Ihe Onwuka, <ihe.onwuka@gmail.com> wroteNo they can't and no they can't. Most of the propaganda about XML's relative complexity and bloat is generate . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/29/2018 4:30:19 PM

On Wed, Jun 27, 2018 at 1:20 AM, Mukul Gandhi <gandhi.mukul@gmail.com> wrote:. The XML folks can learn from the simplicity of JSON format, and can design simple XML formats for specific requirements, and JSON folks can learn from XML . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/29/2018 11:07:32 AM

On 28-Jun-18 12:12 PM, Ihe Onwuka wrote: On Tue, Jun 26, 2018 at 5:58 PM, Peter Flynn <peter@silmaril.ie> wrote: On 26/06/18 17:16, Ian Graham wro . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/28/2018 11:48:46 PM

I think a version of Conway's Law applies. A technology succeeds if it mirrors the organization of the programming team/institution.So an organization where there is a high-value managed data set and related guru/guardian class will use schemas: for example SQL relational databases. Or Document . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/28/2018 12:12:11 PM

On Tue, Jun 26, 2018 at 5:58 PM, Peter Flynn <peter@silmaril.ie> wrote:On 26/06/18 17:16, Ian Graham wrote: > This has been fun! Best we've had in weeks :-) > But development teams aren't stupid: they think hard and pick the tools . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/27/2018 9:09:40 PM

On 27/06/18 06:20, Mukul Gandhi wrote: > Hi Dimitre, >    Nice thoughts in your mail below. > > I think, its good to discuss pros and cons of XML vs JSON on an XML list > like this It's probably also an opportunity to ask again if anyone would like to volunteer to write a couple of . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/27/2018 10:50:27 AM

Hi Dimitre,   Nice thoughts in your mail below.I think, its good to discuss pros and cons of XML vs JSON on an XML list like this, since both XML and JSON share a common theme; i.e a data representation format. The XML folks can learn from the simplicity of JSON format, and can design simple XML fo . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 10:58:46 PM

On 26/06/18 17:16, Ian Graham wrote: > This has been fun! Best we've had in weeks :-) > But development teams aren't stupid: they think hard and pick the tools > they believe will make them and their business successful. Right. I just think they were initially misled into believing that . . . Read full entry »


JSon walks the same way than XML

Posted 6/26/2018 10:19:43 PM

Just want to separate threads, but it seems there are common questions with "use of JSON instead..." thread. I've just found a paper on JSLT, a langage for querying and transforming JSon. It seems JSon community walks the same ways than XML community... http://bytes.schibsted.com/jslt . . . Read full entry »


Re: JSon walks the same way than XML

Posted 6/26/2018 4:38:50 PM

On Tue, Jun 26, 2018 at 4:19 PM, Christophe Marchand <cmarchand@oxiane.com> wrote:Just want to separate threads, but it seems there are common questions with "use of JSON instead..." thread. I've just found a paper on JSLT, a lang . . . Read full entry »


Re: JSon walks the same way than XML

Posted 6/26/2018 4:29:32 PM

To be fair, a random tool I've never heard of that one random company has made doesn't necessarily define the entire community. On June 26, 2018 3:20:01 PM Christophe Marchand <cmarchand@oxiane.com> wrote: Just want to separate threads, but . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 3:15:29 PM

On 26 June 2018 at 14:57, Michael Kay <mike@saxonica.com> wrote: > On 26 Jun 2018, at 13:39, Peter Flynn <peter@silmaril.ie> wrote: > > ...I am > now starting to hear people sa . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 2:57:43 PM

> On 26 Jun 2018, at 13:39, Peter Flynn <peter@silmaril.ie> wrote: > > ...I am > now starting to hear people saying that XML should never have been used > for rectangular data in the first place — except that it was new and > sexy at the time, and . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 2:31:59 PM

As a regular programmer I can work with both JSON and XML, but as a team member I have to respect the team's choices and preferences as well those of the company/organisation. Please, don't laugh at me, but the main use case for both XML and JSON that I have seen in my work is to be used as serial . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 2:07:08 PM

On 26/06/18 13:12, Simon St.Laurent wrote: [...] > Unfortunately, XML blew its chance for broadening that conversation. I'm not entirely sure that's true. Programmers certainly blew their chances — XML was being pushed for circumstances unsuited to its position in life, and programmers were dis . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 1:58:20 PM

On 26/06/18 13:04, Ihe Onwuka wrote: [...] > Because they are not just saying we want to use JSON for the stuff > we need to do, they want everybody to use it and they implement this > by deliberately not supporting alternative formats on the way in and > on the way out. Yes, imposing i . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 1:54:50 PM

On 26/06/18 12:46, Simon St.Laurent wrote: > On 6/25/2018 9:02 PM, Patrick Durusau wrote: >> Right track? Not having explicit semantics? > > Explicit semantics are usually lies anyway.  The XML core community > tends to come from industries that believe deeply in semantics, and & . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 1:39:49 PM

On 26/06/18 01:26, Simon St.Laurent wrote: > On 6/25/2018 5:59 PM, Peter Flynn wrote: >>> My personal feeling is, that people would choose XML when they're >>> developing a big software instead of a tiny one. And when good >>> software engineering is important. >> . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 12:39:59 PM

Possible exception of the OP I don't know that anybody contributing to this discussion is seeking answers or for that matter asking questions. What I see is commentary on a state of affairs. Development teams thinking long and hard before making the choice? Pull the other one. If it were so the . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 12:16:36 PM

This has been fun! This list semi-regularly  gets worked up over why more people don't use XML for things we think they should use if for (e.g. why JSON not XML)? This inevitably leads to a theme blaming development teams for not thinking hard or long enough to make the "right" choice . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 12:01:36 PM

On Tue, Jun 26, 2018 at 8:58 AM, Peter Flynn <peter@silmaril.ie> wrote:On 26/06/18 13:04, Ihe Onwuka wrote: [...] > Because they are not just saying we want to use JSON for the stuff > we need to do, they want everybody to use it and they implement thi . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 11:08:00 AM

Thanks, Peter.I agree with most of the points you wrote below.On Tue, Jun 26, 2018 at 3:29 AM, Peter Flynn <peter@silmaril.ie> wrote:This is a popular fallacy, exposed many times, most recently by Debbie Lapeyre in her closing keynote at the MarkupUK Conf . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 10:53:10 AM

On Monday, June 25, 2018 11:35:35 AM EDT Michael Kay wrote: > > That fallacy is about to be exposed. JSON is "simpler" to use because up > > till now it has been used for simpler things. > JSON *is* simpler to use for simple things, no doubt about it. Mainly > because it . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 8:58:40 AM

> On 26 Jun 2018, at 07:06, Kurt Cagle <kurt.cagle@gmail.com> wrote: > > XML "failed" on several fronts, from the perspective of developers: Agree with this absolutely: though one must never forget . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 8:12:34 AM

On 6/26/2018 8:04 AM, Ihe Onwuka wrote: On Tue, Jun 26, 2018 at 7:46 AM, Simon St.Laurent <simonstl@simonstl.com> wrote: On 6/25/2018 9:02 PM, Patrick Duru . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 8:04:58 AM

On Tue, Jun 26, 2018 at 7:46 AM, Simon St.Laurent <simonstl@simonstl.com> wrote:On 6/25/2018 9:02 PM, Patrick Durusau wrote: The popularity with programmers can't be denied but is that the measure for "right track?" It's not the . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/26/2018 7:46:06 AM

On 6/25/2018 9:02 PM, Patrick Durusau wrote: Right track? Not having explicit semantics? Explicit semantics are usually lies anyway.  The XML core community tends to come from industries that believe deeply in semantics, and haven't figured out that most of the rest of the world isn't so fasci . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 11:55:54 PM

On 25/06/18 23:41, Gareth Oakes wrote: > I'm normally quite good at holding back from JSON vs XML discussions, Probably wise :-) > but a recent project has made one point quite clear to me. JSON is > often selected pragmatically, my reasoning is presented below.> >> On 25/06/1 . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 11:06:09 PM

XML "failed" on several fronts, from the perspective of developers:1) The XML DOM model was too complex. It had originally been designed as a way to create a low level library from which higher level libraries could be written, but those higher level libraries never materialized. 2) Names . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 10:59:15 PM

On 25/06/18 06:17, Mukul Gandhi wrote:[...] > 2) Architects have been choosing JSON in general, instead of XML as a > data exchange syntax. Perhaps this is because, JSON is simple to use > instead of XML. This is a popular fallacy, exposed many times, most recently by Debbie Lapeyre in he . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 10:41:10 PM

I'm normally quite good at holding back from JSON vs XML discussions, but a recent project has made one point quite clear to me. JSON is often selected pragmatically, my reasoning is presented below. > On 25/06/18 06:17, Mukul Gandhi wrote:[...] > > 2) Architects have been choosing J . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 9:02:46 PM

Simon, Right track? Not having explicit semantics? The popularity with programmers can't be denied but is that the measure for "right track?" Like spaghetti COBOL code, a lack of explicit semantics is a key to long term employment, but I don't see that as a good thing. (Not to single o . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 8:26:52 PM

On 6/25/2018 5:59 PM, Peter Flynn wrote: My personal feeling is, that people would choose XML when they're developing a big software instead of a tiny one. And when good software engineering is important. If this is true, then the software industry is in a worse state than we imagined :-) I don . . . Read full entry »


[ANN] Call for Late-Breaking News - Balisage 2018

Posted 6/25/2018 1:52:12 PM

Call for Late-breaking News: Balisage 2018! The peer-reviewed part of the Balisage 2018 program has been scheduled (https://www.balisage.net/2018/Program.html). The committee left a few spaces for late-breaking news. If you want to speak at Balisage 2018 NOW IS THE TIME to write up your idea; pro . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 12:40:28 PM

Thanks, Ken for pointing to the earlier discussion. Sorry just forgot that.This topic has emerged twice in this time frame from me; looks like it is still relevant.On Mon, Jun 25, 2018 at 12:05 PM, G. Ken Holman <gkholman@cranesoftwri&#x . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 11:35:35 AM

> > That fallacy is about to be exposed. JSON is "simpler" to use because up till now it has been used for simpler things. > > JSON *is* simpler to use for simple things, no doubt about it. Mainly because it is a much closer fit to the data models of conventional program . . . Read full entry »


use of JSON instead of XML

Posted 6/25/2018 10:47:03 AM

Hi all,   I've seen in few commercial projects of which I was part recently, and here's the trend I saw,1) Architects have been choosing to implement REST services instead of using Web Services (using SOAP & XML). Perhaps this is fine with a mobile app, but not always in other software . . . Read full entry »


Re: use of JSON instead of XML

Posted 6/25/2018 6:31:37 AM

On Mon, Jun 25, 2018 at 1:17 AM, Mukul Gandhi <gandhi.mukul@gmail.com> wrote:Hi all,   I've seen in few commercial projects of which I was part recently, and here's the trend I saw,1) Architects have been choosing to implement . . . Read full entry »


Re: function definitions in XPath 3.x expressions

Posted 6/24/2018 11:36:35 AM

It nice for sure, about the issues I had in this thread.Sorry, there's a typo in the line above. It should be, "Its nice for sure".  -- Regards,Mukul Gandhi . . . Read full entry »


Re: function definitions in XPath 3.x expressions

Posted 6/24/2018 11:22:17 AM

Hi Dimitre,On Fri, Jun 22, 2018 at 11:08 PM, Dimitre Novatchev <dnovatchev@gmail.com> wrote:    https://www.balisage.net/Proceedings/vol10/print/Novatchev01/BalisageVol10-Novatchev01.htmlI've read this completely. It nice for sure . . . Read full entry »


Re: Parser/Parser generator in XSLT 3

Posted 6/23/2018 11:15:07 AM

Hi Andrew,The DTD parser was (and still could be) for converting DTD to schematron, but I confess it’s mostly an exercise in honing my own XSLT skills ;)TOn Sat, 23 Jun 2018 at 11:08 am, Andrew Sales <andrew@andrewsales.com> wrote:Hi . . . Read full entry »


Re: Parser/Parser generator in XSLT 3

Posted 6/23/2018 11:08:46 AM

Hi Tom, it's an interesting idea, but what is the driver for using XSLT to do this (not against, just curious)?The SAX API callbacks provide access to DTD information, so tools such as DTDinst[1] and dtd2xml[2] produce an XML document containing that information. Entities are resolved by the pa . . . Read full entry »


Parser/Parser generator in XSLT 3

Posted 6/23/2018 9:50:39 AM

Hi Folks, I find myself in need of an XSLT parser for DTDs for a side project I'm playing with; since my background isn't really in computer science, I lack the formal education on parsers, so I hope someone here can tell me if my thoughts make sense, or point me at some resources to fill i . . . Read full entry »


Re: A tool that returns a list of the IDREF elementsdeclared i

Posted 6/23/2018 12:49:08 AM

Ouahouh ! Is it available on windows desks ? Christophe Le 22/06/2018 à 22:02, Peter Flynn a écrit : On Fri, Jun 22, 2018 at 5:16 PM, Costello, Roger L. <costello@mitre.org> wrote: I have a bunch of XML Schema documents. I need a complete list . . . Read full entry »


Re: A tool that returns a list of the IDREF elementsdeclared i

Posted 6/22/2018 9:02:41 PM

On Fri, Jun 22, 2018 at 5:16 PM, Costello, Roger L. <costello@mitre.org> wrote: > > I have a bunch of XML Schema documents. I need a complete list of > elements that are declared to be of type IDREF. > > Is there a tool that wi . . . Read full entry »


Re: A tool that returns a list of the IDREF elementsdeclared i

Posted 6/22/2018 5:31:00 PM

On Fri, Jun 22, 2018 at 5:16 PM, Costello, Roger L. <costello@mitre.org> wrote:I have a bunch of XML Schema documents. I need a complete list of elements that are declared to be of type IDREF. Is there a tool that will search through the XML Schema doc . . . Read full entry »


Re: function definitions in XPath 3.x expressions

Posted 6/22/2018 3:08:03 PM

Hi Ghislain,   Thanks for the answer.It does help me. Now its more clear to me.On Fri, Jun 22, 2018 at 2:32 PM, Ghislain Fourny <gfourny@inf.ethz.ch> wrote:Dear Mukul, Indeed, XPath 3.0 supports higher-order functions. The data mo . . . Read full entry »


Re: A tool that returns a list of the IDREF elementsdeclared i

Posted 6/22/2018 1:07:03 PM

If you use Saxon then you can generate an "SCM" file by doing java com.saxonica.Validate -xsd:schema.xsd -scmout:schema.scm and then the query /*:schema/*:element[@type="#IDREF"]/@name will list the elements declared with type xs:IDREF. If you want elements whose type is der . . . Read full entry »


A tool that returns a list of the IDREF elements declared in a bunchof X

Posted 6/22/2018 11:46:36 AM

Hi Folks, I have a bunch of XML Schema documents. I need a complete list of elements that are declared to be of type IDREF. Is there a tool that will search through the XML Schema documents and report all the elements of type IDREF? /Roger . . . Read full entry »


function definitions in XPath 3.x expressions

Posted 6/22/2018 11:24:37 AM

Hi all,   I've come to know that, XPath 3.0 has introduced defining functions in XPath expressions, and calling these functions in the expression itself.To understand this better, I'm looking for some examples of this. Can someone, please point me to some resources for this? Or may be, expl . . . Read full entry »


Re: function definitions in XPath 3.x expressions

Posted 6/22/2018 10:38:41 AM

Hi Mukul, > To understand this better, I'm looking for some examples of this. This is full of examples: https://www.balisage.net/Proceedings/vol10/print/Novatchev01/BalisageVol10-Novatchev01.html And I would especialy recommend the slides: https://www.balisage.net/Proceedings/vol10/au . . . Read full entry »


Re: function definitions in XPath 3.x expressions

Posted 6/22/2018 9:02:12 AM

Dear Mukul, Indeed, XPath 3.0 supports higher-order functions. The data model is extended with functions, meaning that items can be not only atomic items or nodes, but also functions [1]. XPath 3.0 supports a new kind of expression for defining functions [2], that looks like so (example from the . . . Read full entry »


Function point estimation tool

Posted 6/20/2018 11:40:25 AM

Hi all,   I wrote a tool few years ago for doing Function point estimation, written using XML, XSLT (2.0) and XSD (1.0). It was never available to outside viewers back then. But now, I've published it at, http://gandhimukul.tripod.com/xml/Function_Point_Estimation_Tool.zip. The usage documentat . . . Read full entry »


[ANN] Symposium on Markup Vocabulary Ecosystems

Posted 6/18/2018 4:59:15 PM

Successful shared markup vocabularies, far from being just lists of tags, are the centers of complex ecosystems that support use and users while drawing support from both user communities and vendors. The program for the Symposium on Markup Vocabulary Ecosystems is now available: https://www.balis . . . Read full entry »


Re: key and keyref issues

Posted 5/30/2018 4:41:58 PM

The elements in the source document are all in a namespace but the path expressions in your key definitions are looking for elements in no namespace.Michael KaySaxonicaOn 30 May 2018, at 16:33, John Dziurlaj <john@hiltonroscoe.com&g . . . Read full entry »


Re: key and keyref issues

Posted 5/30/2018 4:11:01 PM

Dear John, I found the original documents -- your first e-mail with them got stuck in the spam filter, apologies about the overhead. The reason why the default namespace is not considered is that, in my understanding, XML Schema uses restricted XPath, based on XPath 1.0. In XPath 1.0, you . . . Read full entry »


Re: key and keyref issues

Posted 5/30/2018 3:52:18 PM

Dear John, I agree with Mike -- however I also do see that in your document you are referring to types using no prefixes either, which may indicate that you are declaring a default namespace. Maybe if you would share your entire document, it would help narrow down the issue, or at least all t . . . Read full entry »


RE: key and keyref issues

Posted 5/30/2018 11:58:26 AM

I added an explicit namespace (n1) and updated the constraints to use it: New xsd:schema tag: <xsd:schema xmlns="NIST_V2_election_results_reporting.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:n1="NIST_V2_election_results_reporting.xsd" targetNamespace= . . . Read full entry »


key and keyref issues

Posted 5/30/2018 11:33:04 AM

I’m attempting to constrain a schema, which has a lot of xsd:ID and xsd:IDREF, so that, for example, a Person IDREF can only refer to a Person ID.  I wrote a key and keyref constraint thus: <xsd:element name="ElectionReport" type="ElectionReport">      <xsd:key name=&qu . . . Read full entry »


[ANN] Call for Late-Breaking News - Balisage 2018

Posted 5/29/2018 12:58:34 PM

Call for Late-breaking News: Balisage 2018! The peer-reviewed part of the Balisage 2018 program has been scheduled (https://www.balisage.net/2018/Program.html). The committee left a few spaces for late-breaking news. If you want to speak at Balisage 2018 NOW IS THE TIME to write up your idea; pro . . . Read full entry »


Re: How to avoid (minimize) errors due to copying, pasting,and

Posted 5/24/2018 2:07:58 AM

You problem is how to enforce the desired invariants between a source and target data set.I have used Schematron for this on several large (hundreds of thousands) of documents. For example, one invariant might be that the source and target documents have the same number of headings.  Or that every . . . Read full entry »


[ANN] Balisage 2018 Program Announced

Posted 5/23/2018 12:40:24 PM

Balisage: The Markup Conference 2018 Program Now Available http://www.balisage.net/2018/Program.html Balisage: where serious markup practitioners and theoreticians meet every summer. The 2018 program includes papers that reflect and look forward, and that discuss the use of markup to: manage do . . . Read full entry »


Re: How to avoid (minimize) errors due to copying,pasting, and

Posted 5/23/2018 7:07:38 AM

Hi Roger, dividing the problem into creating and checking resources, and focusing on the second, I think the magic word is *structured information*. Unfortunately, the awareness of structured information and their potential usefulness is very low. Or let me be more precise: the awarene . . . Read full entry »


Re: How to avoid (minimize) errors due to copying, pasting,and

Posted 5/22/2018 8:17:41 PM

On 22/05/18 10:11, yamahito wrote: > I also think that more can be done to push digital capture upstream > towards the author, reducing or eliminating the extra steps between > the original thought and semantic markup. That would benefit everyone, but the curve is steep. > This dep . . . Read full entry »


[ANN] Release of XMLmind XML Editor v8.1

Posted 5/22/2018 11:06:15 AM

Release of XMLmind XML Editor v8.1. Highlights: - XMLmind XML Editor, which passed all non-regression tests, is now officially supported on Java™ 10 platforms. - Several minor yet useful enhancements, for example, a more powerful and more flexible Edit tool. - Several bug fixes. - Updated alm . . . Read full entry »


Re: How to avoid (minimize) errors due to copying, pasting,and

Posted 5/22/2018 10:11:10 AM

What Amy said!I also think that more can be done to push digital capture upstream towards the author, reducing or eliminating the extra steps between the original thought and semantic markup.  This depends on the quality and appropriateness of your tools, as well as the willingness of the author/co . . . Read full entry »


How to avoid (minimize) errors due to copying, pasting, andtranscribing?

Posted 5/17/2018 11:59:34 AM

Hi Folks, I am working on a project that has created a large, complex data specification. There are tables in the data specification, from which I created Schematron rules. The tables specify a bunch of codes. When I created the Schematron rules, I accidentally missed some of the codes. I disc . . . Read full entry »


Re: How to avoid (minimize) errors due to copying,pasting, and

Posted 5/17/2018 8:07:16 AM

On Thu, 17 May 2018 11:59:34 +0000, Costello, Roger L. wrote: > It occurs to me that quite possibly lots of errors are due to simple > human errors from copying, pasting, transcribing. How to avoid this? Eliminate humans! ROTM! Okay, so that's not really funny (our robotic overlords have n . . . Read full entry »


Re: How to avoid (minimize) errors due to copying, pasting,and

Posted 5/17/2018 6:48:02 AM

This is the only known path of knowledge -- by trial and error and through continuous refinement. Try to avoid this and there would be no progress. Cheers, Dimitre On Thu, May 17, 2018 at 4:59 AM, Costello, Roger L. <costello@mitre.org> wrote: &g . . . Read full entry »


Re: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available

Posted 5/10/2018 2:00:40 PM

On Thu, May 10, 2018 at 12:45 PM, Peintner, Daniel <daniel.peintner.ext@siemens.com> wrote: I planned to switch to the latest version in some of my maven-based projects and noticed that Apache Xerces-J 2.12.0 is not yet push . . . Read full entry »


Re: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available

Posted 5/10/2018 10:56:05 AM

If this is not done automatically, this *must* be done manually. It is an important requirement that such important components are available in maven central. And nobody outside of Apache organization is able to publish to maven under an artifact named org.apache... . . . Read full entry »


AW: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available

Posted 5/10/2018 7:15:26 AM

All, Great news and thanks for your hard work! I planned to switch to the latest version in some of my maven-based projects and noticed that Apache Xerces-J 2.12.0 is not yet pushed to Maven. I assume this is going to happen soon also.. right? Thanks, -- Daniel ____________________ . . . Read full entry »


Re: Apache needs help

Posted 5/8/2018 7:27:39 PM

Yes, but No.  The underlying root cause was XSD 1.0 was simply not up to the job.  It keys typing off the element name, which makes it useless for the large class of documents that require generic schemas (where the type is determined by something else as well as the element name.)   Having been so . . . Read full entry »


Apache needs help

Posted 5/8/2018 3:03:06 PM

Do those of us who want to keep XML a viable technology (i.e. one that works when need it, rather than needing to be fixed when we need it) need to pay more attention to things like Apache?  Yet again I am having the experience of Apache that they really messed up their XML when they moved to . . . Read full entry »


[announcement] Markup UK conference - last day of early birdregistration

Posted 5/8/2018 10:23:29 AM

All,(apologies for cross-posting)A month from now we will have Markup UK, a conference on XML and other mark-up technologies.We are extremely happy to be able to announce an excellent set of papers and presentations on a broad set of topics, please checkhttp://markupuk.org/speakers.xhtmlIf you woul . . . Read full entry »


Re: Apache needs help

Posted 5/8/2018 9:19:15 AM

There are, I suspect, two underlying "root causes" here.The first problem is that when XML is peripheral to a project, for example when it's only used for configuration files, the people doing the XML part often make a complete mess of it, because they think they can do XML without learning about i . . . Read full entry »


Re: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available

Posted 5/4/2018 2:53:35 PM

Well done!  Good to see.Now that Java comes with a recent Xerces implementation too, instead of the old crappy one, things might be looking up for people who need XSD. (Java is still only XSD 1.0, shame on them.)RickOn Fri, May 4, 2018 at 2:36 PM, Mukul Gandhi <gandhi . . . Read full entry »


[ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available

Posted 5/4/2018 10:06:53 AM

Hi all,   The Apache Xerces project team is pleased to announce that version 2.12.0 of Apache Xerces-J is now available.Xerces-J 2.12.0 can be downloaded at: http://xerces.apache.org/mirrors.cgi.This release expands on Xerces-J's experimental support for XML Schema 1.1 by providing a fully comp . . . Read full entry »


Re: Need for more?

Posted 5/2/2018 10:01:34 PM

On 01/05/2018 16:08, Dave Pawson wrote: https://ballerina.io/res/Ballerina-Language-Specification-WD-2015-05-01.pdf https://ballerina.io/learn/faq/#why-are-you-creating-a-new-language Regards, Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tg . . . Read full entry »


Re: Need for more?

Posted 5/2/2018 9:38:45 PM

On 01/05/18 16:08, Dave Pawson wrote: > > https://ballerina.io/res/Ballerina-Language-Specification-WD-2015-05-01.pdf I don't see GOTO in there anywhere... P . . . Read full entry »


Need for more?

Posted 5/1/2018 4:08:17 PM

https://ballerina.io/res/Ballerina-Language-Specification-WD-2015-05-01.pdf JC is a contributor. -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. . . . Read full entry »


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

Posted 4/25/2018 9:27:44 AM

Release of XMLmind Word To XML v1.5. Highlights: - Several enhancements and bug fixes mostly related to the support of East Asian languages. - XMLmind Word To XML, which passed all non-regression tests, is now officially supported on Java™ 10 platforms. More information in http://www.xmlmind.c . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/25/2018 9:15:59 AM

Simon, "...we never stop thinking, and brittleness is not a virtue." True but then academics never stop building artificial (in my opinion) walls that slow down or prevent the sharing of data. There are a variety of motives for such acts and I for one am not . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/25/2018 6:42:00 AM

On 4/24/2018 2:12 AM, Rick Jelliffe wrote: Sorry about typos. Giant fingers  tiny screen. Don't worry at all.  That fit the conversation perfectly. Is part of what you are identifying a manifestation of the paradox of standards? . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/24/2018 6:12:14 AM

Sorry about typos. Giant fingers  tiny screen.Is part of what you are identifying a manifestation of the paradox of standards?   Standard processes say they are at heart an agreement. But if you come along too late, the deal is done. And the standards stop being an agreement but an imposition, even . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/23/2018 8:15:34 AM

>How many of those 6000 bespoke dmbs are because no-sql key value stores were not available, in the relationshipal monoculture that dbms vendors promote In the case of HR systems at the Pentagon, I would think it's highly likely that many are pre-relational. (I just got my monthly Fujitsu pen . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/23/2018 6:35:42 AM

I like these, though I think autocorrect has done some strange things.  I'll reply as I think it it was meant, and let me know if I'm wrong in my guesses about the questions in addition to my answers.  (Which fits the topic perfectly, actually!) On 4/23/2018 12:31 AM, Rick Jelliffe wrote: Two . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/23/2018 4:31:08 AM

Two quickies.Shared synth good, shared semantics bad. But does a schema really special syntax?Does a schema share semantics or just advertise them?RICKOn Mon, 23 Apr 2018, 10:57 Simon St.Laurent <simonstl@simonstl.com> wrote: . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/23/2018 4:15:15 AM

On the typical of roll-your-own-considered-dangerous.  I think for the situations where you dont know the problem upfront, rolling your own can be entirely reasonable. How many of those 6000 bespoke dmbs are because no-sql key value stores were not available, in the relationshipal monoculture that . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/23/2018 12:38:04 AM

On Sun, 22 Apr 2018, 14:29 Simon St.Laurent, <simonstl@simonstl.com> wrote: On 4/20/2018 12:59 PM, Costello, Roger L. wrote: Hi Folks,   The format of KML . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/22/2018 8:02:16 PM

Simon, I shudder at "...it's just an extraction problem...." Switching from one ontology to another must just be a mapping problem. ;-) If those are both "...just..." type problems, why do you think data scientists keep talking about transformation of data being 80% of what t . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/22/2018 6:04:01 PM

On 4/22/2018 5:50 PM, Patrick Durusau wrote: Well, let's say you create an extension to a popular word processing format that provides enhances the content, but only if used with your software. Isn't that a form of vendor lock-in, even if practiced by an individual contractor? No.  Eve . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/21/2018 6:42:29 AM

It depends, I think.Your schema may be defining an envelope, where you want to allow anything. Or, since a standard is an agreement, you might have finished short on agreeing everything, so you just standardize as far as you could. Or you may want to allow annotation and evolution. Or you may want . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/20/2018 6:31:22 PM

But why? If I add non-KML stuff in a KML instance, who’s going to understand my stuff? Google Earth? No. Google Maps? No. NASA WorldWind? No.If you add XSLTdoc comments to an XSLT stylesheet, who's going to understand them? Saxon? no. Xalan? no. xsltproc? no.An XSLT documentation processor? Ye . . . Read full entry »


KML is very extensible ... but why?

Posted 4/20/2018 4:59:57 PM

Hi Folks,   The format of KML 2.3 documents are specified with a W3C 1.1 XML Schema. XML Schema 1.1 has a powerful feature which KML uses. At the top of the KML schema is this:   <defaultOpenContent mode="interleave">       <any namespace=& . . . Read full entry »


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

Posted 4/20/2018 3:18:17 PM

So all that means is that Postel's law can confict with Goal 6?  Who says is should not? Just another tradeoff, surely?Still not very convinced, sorry.  If someone at the other end does not implement reading PIs, why cannot you use the same logic that they may have omitted to implement some el . . . Read full entry »


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

Posted 4/20/2018 1:55:47 PM

Three comments:* I think Postel's principle speaks about the risk of rarely-implemented things, in particular, optional things. So I don't believe that there is any danger of a lot of XML processors that don't handle > or hex characters or CDATA sections. The DPH died in around 19 . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/20/2018 1:22:20 PM

The first child element of very document element of the 81 document types in UBL 2.2 is <ext:UBLExtensions>. This element can have any number of <ext:UBLExtension> elements with metadata about an extension, as well as the extension content point. Under the content point is a single . . . Read full entry »


Re: KML is very extensible ... but why?

Posted 4/20/2018 12:19:41 PM

DITA has a similar feature, it’s “foreign” element.  The purpose is to allow embedding of non-DITA content with a clear signal that it is non-DITA. There is no expectation of interoperability for non-DITA stuff but the fact that’s non-DITA is clearly signaled. With DITA 1.3 the DITA stand . . . Read full entry »


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

Posted 4/20/2018 12:22:24 AM

On Thu, Apr 19, 2018 at 11:55 PM, Rick Jelliffe <rjelliffe@allette.com.au> wrote: * I think Postel's principle speaks about the risk of rarely-implemented things, in particular, optional things. So I don't believe that there is any danger . . . Read full entry »


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

Posted 4/19/2018 10:13:57 PM

On Thu, Apr 12, 2018 at 8:34 PM, Rick Jelliffe <rjelliffe@allette.com.au> wrote:So this only relates to optional parts of a spec. In XML there are only three optional things: version, standalone, character encoding.While I agree with this post, . . . Read full entry »


Re: Do package delivery services use data standards fortrackin

Posted 4/18/2018 6:50:01 PM

https://www.youtube.com/watch?v=ftQ6A3DKKeghttps://www.ups.com/us/en/services/technology-integration/developer-api.page?http://www.fedex.com/us/developer/https://www.usps.com/business/web-tools-apis/track-and-confirm-api.htmOn Wed, Apr 18, 2018 at 3:23 PM, Costello, Roger L. <coste . . . Read full entry »


Do package delivery services use data standards for trackingpackages?

Posted 4/18/2018 6:23:51 PM

Hi Folks, Do package delivery services such as Fedex, UPS, DHL, USPS use any data standards for tracking packages, for recording the receipt of packages, and so forth? Or, do they all have their own proprietary way of doing things? /Roger . . . Read full entry »


Re: Should XML applications follow=?UTF-8?Q?Postel=E2=80=99s?=

Posted 4/18/2018 5:46:57 PM

On Fri, 2018-04-13 at 00:34 +0000, Rick Jelliffe wrote: > > This statement is based upon a terrible misunderstand of Postel's > robustness principle. Thank you for a very clear and helpful summary. -- Liam Quin, W3C, http://www.w3.org/People/Quin/ Staff contact for Verifiable Claims W . . . Read full entry »


[ANN] Sirix (Open Source) - a time machine for your data / efficientstor

Posted 4/13/2018 5:34:14 PM

After some years I'm pleased to announce a new version of Sirix. A lot of work has gone into cleaning up internals / the APIs as well as improving the performance of the core system. Sirix is a storage system, which brings versioning (for instance a novel sliding snapshot algorithm) to a sub-file . . . Read full entry »


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

Posted 4/13/2018 12:34:25 AM

Oh, it only seems like 5 years since you asked this question last! oh, wait, it was.Lets not forget this: http://www.cookcomputing.com/blog/archives/000551.htmlThis statement is based upon a terrible misunderstand of Postel's robustness principle. I knew Jon Postel. He was quite unhappy with ho . . . Read full entry »


=?utf-8?Q?Re:_Should_XML_appl?==?utf-8?Q?ications_follow_Postel

Posted 4/12/2018 4:14:08 PM

improving data = "" datastrict on output: yesstrict on output by refusing input data and reporting: yesstrict on output by allowing a developer to change the data a business user or information owner entered: often not Van: "Roger L. Costello" <costello&#x . . . Read full entry »


Re: [ANN] Xidel 0.9.8 released

Posted 4/11/2018 9:48:15 AM

On Wed, 11 Apr 2018 00:43:08 +0200 Benito van der Zander <benito@benibela.de> wrote: > Hi Shlomi, > > > 1. One of the "0.9.6"s should be "0.9.8". > > > > 2. "Github" should be with a capital " . . . Read full entry »


Re: [ANN] Xidel 0.9.8 released

Posted 4/11/2018 12:43:08 AM

Hi Shlomi, 1. One of the "0.9.6"s should be "0.9.8". 2. "Github" should be with a capital "H". Thanks, I have fixed it recently 3. Please mention what the licence is somewhere. . . . Read full entry »


Re: [ANN] Xidel 0.9.8 released

Posted 4/5/2018 11:29:42 AM

Hi Benito, On Wed, 4 Apr 2018 18:14:27 +0200 Benito van der Zander <benito@benibela.de> wrote: > Hello, > > Xidel is a small command line XQuery interpreter to run queries on > downloaded X/HTML pages or JSON-APIs. It s . . . Read full entry »


[ANN] Xidel 0.9.8 released

Posted 4/4/2018 6:14:27 PM

Hello, Xidel is a small command line XQuery interpreter to run queries on downloaded X/HTML pages or JSON-APIs. It supports XPath 3.0, XQuery 3.0 + JSONiq expressions, compatibility modes for older XPath/XQuery versions as well as CSS 3 selecto . . . 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!

Why Pay More for XML Tools?

With Stylus Studio® X14 XML Enterprise Suite, you get the most comprehensive XML tool suite at one incredibly low price. Value: it's just one of many reasons why smart XML developers are choosing Stylus Studio!

 
Free Stylus Studio XML Training:
W3C Member