An XML Patch Operations Framework Utilizing XPath Selectors Jari - - PowerPoint PPT Presentation

an xml patch operations framework utilizing xpath
SMART_READER_LITE
LIVE PREVIEW

An XML Patch Operations Framework Utilizing XPath Selectors Jari - - PowerPoint PPT Presentation

An XML Patch Operations Framework Utilizing XPath Selectors Jari Urpalainen IETF63 Paris Changes I-D name change: XCAP -> XML Supports a full set of XPath 1.0 datamodel nodes (except the root node) Deterministic model to handle


slide-1
SLIDE 1

An XML Patch Operations Framework Utilizing XPath Selectors

Jari Urpalainen IETF63 Paris

slide-2
SLIDE 2

Changes

  • I-D name change: XCAP -> XML
  • Supports a full set of XPath 1.0

datamodel nodes (except the root node)

  • Deterministic model to handle whitespace

text nodes in <add> and <remove>

  • ABNF replaced with the W3C Schema

patterns (regular expressions)

  • Selection of elements with attached

default namespace simplified

slide-3
SLIDE 3

Issues

  • Clarify namespace prefix selections
  • Add id(“xxx”) as an allowable location

path

  • Clarify CDATA handling
  • Will be discussed on the mailing list
slide-4
SLIDE 4

Conclusions

  • Proof-of-concept implementation will be

available in Sourceforge (libxmlpatch)

– LGPL license – built on top of libxml2 library – ~500 lines of C code – CDATA not yet handled correctly; index

numbers may be wrong or CDATA content format may change

  • Ready for a WG item?