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

Re: Multiple instances of an attribute Re: Towards XM

  • From: nicolas debeissat <ndebeiss@gmail.com>
  • To: stephengreenubl@gmail.com, David Carlisle <davidc@n...>, XML Developers List <xml-dev@l...>
  • Date: Sat, 11 Dec 2010 19:01:35 +0100

Re:  Multiple instances of an attribute Re: Towards XM

So what you want is to be able to plug other parsers (JSON, XPath, etc...) to a SAX parser, specifying the parser to be used in the XML, without the declaration of a schema. That is interesting.
So a structure like :
{ 'valueArray" : ["1", "2", "3"] }

would be directly accessed with an expression : 
I think that should be studied. After all, values contained in all those data languages are accessed vertically (hierarchically) or horizontally (ordered array).
I think the parser to be used for the value should be written in the syntax itself, not a xml:json attribute which mixes data and metadata.

Nicolas Debeissat

2010/12/10 Stephen Green <stephengreenubl@gmail.com>
Maybe the xml:json means the newXML parser can do evaluations immediately
rather than relying on an XSLT/XPath processor downstream? Plus it can use
the xml:json to turn the data into objects which include structure found in the
values of attributes?
Stephen D Green

On 10 December 2010 10:20, David Carlisle <davidc@nag.co.uk> wrote:
> On 10/12/2010 10:10, Stephen Green wrote:
>> The xml:json would not need a schema to distinguish an unordered list or
>> array
>> from a sequenced one so the parser would know whether to treat the order
>> as
>> significant without having to load and understand a schema or be
>> programmed
>> with being able to read different kinds of schema language, etc. That
>> seems to
>> me a crucial difference and there may be others.
> yes but that doesn't answer the question as to why it would be useful to do
> that in a general XML context, as in my xpath example, why would it be
> useful to know it's a sequence of integers if you don't know everything else
> you needed to know about evaluating xpath (or json) and if you do know how
> to evaluate xpath it's not too hard to know that it is contained in
> particular attributes.
> (x)html doesn't need a schema to tell it that what is in a script element is
> javascript/json
> David
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________


XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

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


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.
First Name
Last Name
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.