XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xquery-talk] Re: [xml-dev] Serialization of XDM - Use cases /Proposal


Good start.

The next section before you go into specification should perhaps be
"Requirements", including assumptions and constraints. This might include
statements such as:

* Serialized XDM will retain information about the descendants of nodes in
the sequence being serialized, but it will not retain information about
their ancestors.

* Serialized XDM will not retain information about node identity: that is,
the recipient of the serialized XDM will not be able to determine whether
two serialized elements originated from the same node or merely from two
nodes that were deep-equal to each other.

* The consumer of the serialized XDM is assumed to have access to the same
schema as the producer of the serialized XDM: that is, a QName identifying a
type is assumed to have the same meaning to both the producer and consumer.

* If A and B are two XDM sequences, then xml-canonicalize(xdm-serialize(A)))
is codepoint-equal to xml-canonicalize(xdm-serialize(B))) if and only if
fn:deep-equal(A, B). [Actually, that's probably not a good requirement,
because fn:deep-equal() discards comments and PIs and you probably don't
want to do that].

These are just example statements, you might want to substitute different
ones: they are just intended to illustrate the kind of thing that needs to
be said.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

> -----Original Message-----
> From: talk-bounces@x-query.com 
> [mailto:talk-bounces@x-query.com] On Behalf Of David A. Lee
> Sent: 18 September 2009 22:07
> Cc: talk@x-query.com; xml-dev@lists.xml.org; XProc Dev
> Subject: [xquery-talk] Re: [xml-dev] Serialization of XDM - 
> Use cases /Proposal
> 
> I have created a first pass at documenting the problem of XDM 
> Serialization and created some use cases.
> I would love any feedback or comments.  This is on a new wiki 
> I created for this purpose.  If you would like to comment 
> directly on the wiki please reply to me and I will give you 
> the invite code (due to the sad state of affairs anonymous 
> comments and editing are disabled due to wiki-spam-bots.  
> I've found spam within 5 minutes of opening a public wiki ... <sigh> )
> 
> 
> http://xml.calldei.com/XDMSerialize
> 
> I have NOT included a proposal for a format yet, I'd like to 
> discuss the intent and use cases first before putting up a 
> straw-man proposal.
> 
> Thank you for any contribution !
> 
> I've CC'd this to xproc-dev because one of the use cases if 
> for developers and integrators with XML Pipeline processors 
> such as XProc
> 
> 
> David A. Lee
> dlee@calldei.com  
> http://www.calldei.com
> http://www.xmlsh.org
> 812-482-5224
> 
> 
> 
> _______________________________________________
> talk@x-query.com
> http://x-query.com/mailman/listinfo/talk



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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS