[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Invisible XML 1.0 spec has been published

  • From: Kurt Cagle <kurt.cagle@gmail.com>
  • To: John Cowan <johnwcowan@gmail.com>
  • Date: Sat, 11 Jun 2022 22:24:22 -0700

Re:  Invisible XML 1.0 spec has been published
I actually see a lot of utility for ixml in rdf, especially if you use custom simple types such as "rgba(64,128,64,0.5)"^^Functions:_ColorFunctions as atomic values. This could be mapped to an ixml parser that would generate:

<map>
    <number key="red">64</number>
    <number key="green">128</number>
    <number key="blue">64</number>
    <number key="alpha">0.5</number>
    <string key="function">rgba</string>
</map>

Which then can be translated with any xslt processor to {"red":64,"green":128,"blue":64,"alpha":0.5:"function":"rgba"} as JSON or [:red 64; :green:128; :blue:54; :alpha 0.5; :function Function:_rgba] as Turtle. 

What's the value in this? In a knowledge graph such functional attributes are difficult to parse, especially on ingest. An ixml parser could reduce re this complexity, especially across heterogeneous requirements.

On Sat, Jun 11, 2022, 16:04 John Cowan <johnwcowan@gmail.com> wrote:


On Fri, Jun 10, 2022 at 4:12 PM C. M. Sperberg-McQueen <cmsmcq@b...> wrote:
 
If by "create a parser" you mean write a program, in some programming
language, which can parse sentences of a particular language, then
nothing could be further from the truth. 

It depends on whether you think of an ixml grammar as a program or not, I suppose.  Admittedly it would be a very high-level program.
 
TL;DR Why, you ask, is the Invisible XML group trying to re-invent the
wheel?  Because we think things will work better with the axle in the
center of the wheel.

Well said. 

 As to binary data, however, ixml seems to be defined in terms of Unicode codepoints/characters, so it would need a preprocessor to convert bytes to characters according to some convention such as Latin-1 or ASCII-with-escapes, such as mapping 2B 5C 81 77 to "+\\\x81w" or alternatively "+\x5c\x81w" or even "2b5c8177".  Ixml grammars could handle any of these.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.