iptc news exchange working group 2013 autumn meeting

13
News Exchange Formats WP IPTC Autumn Meeting 2013 Washington, DC Stuart Myles, The Associated Press

Upload: stuart-myles

Post on 03-Nov-2014

355 views

Category:

Technology


1 download

DESCRIPTION

The IPTC's News Exchange Formats including NewsML-G2 and QCodes. Updating the documentation and fixing the problem of the XML Schema normalizedString type

TRANSCRIPT

Page 1: IPTC News Exchange Working Group 2013 Autumn Meeting

News Exchange Formats WPIPTC Autumn Meeting 2013

Washington, DCStuart Myles, The Associated Press

Page 2: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013 IPTC (www.iptc.org) All rights reserved 2

Agenda

• Minutes of the previous Meeting (Paris)

• Matters arising from the minutes

• Report by the Chair

• Substantial matters to be voted on

• Synchronizing the Use of NewsML-G2

• G2 Guidelines

• News-in-JSON Working Group

• Date & place of the next meeting

Page 3: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013 IPTC (www.iptc.org) All rights reserved 3

Previous NEF WP Meeting

• Held 24 June 2013, Paris• Minutes

– urn:iptc:workdoc:NEF:1304:1 / NEF1304.1-SpMminutes.pdf– Actions arising from the minutes

Action Due date Status

If approved by the STA: publish NewsML-G2 2.15 as annual Public Release

November 2013

Communicate the conclusions from the Synchronize the Use of NewsML-G2 project (see end item 5 below)

October 2013

Define final conclusion for running an Catalog of G2 Catalogs October 2013

Present a ninjs 1.0 draft recommendation October 2013

Page 4: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013 IPTC (www.iptc.org) All rights reserved 4

Changes: NewsML-G2 2.16

• CR00169: Replace xs:normalizedString

• CR00170: Change data type of altId

Updating and improving documentation

Fixing practical problems encountered with altId values

• CR00168: G2 documentation changes 2013

• CR00171: Add How-To section to G2 Guidelines

http://dev.iptc.org/G2-Change-Requests-HP

http://tech.groups.yahoo.com/group/iptc-news-architecture-dev/messages

Page 5: IPTC News Exchange Working Group 2013 Autumn Meeting

altId in NewsML-G2

• Alternative identifiers may be useful to client systems• Hence the altId element, e.g.

<altId type=“gyiid:masterID”>105864332</altId>

• In NewsML-G2 2.15, altId is of type xs:normalizedString

<xsd:simpleType name="normalizedString" id="normalizedString">

<xsd:restriction base="xsd:string">

<xsd:whiteSpace value="replace"/>

</xsd:restriction> </xsd:simpleType>

• It turns out that type doesn’t do what we wanted

© 2013 IPTC (www.iptc.org) All rights reserved 5

Page 6: IPTC News Exchange Working Group 2013 Autumn Meeting

XML Schema normalizedStringxs:normalizedString is a whitespace-replaced string

– Replace whitespace characters with spaces (#x20)• #x9 (tab)• #xA (linefeed)• #xD (carriage return)

– Do not collapse whitespaces

For example the value of<altId type=“ex:eg">

Being an Identifier Is

a Full-Time Job

</altId>

Is interpreted as this" Being an Identifier Is a Full-Time Job  "

But there are no validation errors!

© 2013 IPTC (www.iptc.org) All rights reserved 6

Page 7: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013IPTC (www.iptc.org) All rights reserved 7

CR00169Replace xs:normalizedString

• Create nar:g2normalizedString to replace NewsML-G2’s use of xs:normalizedString

• xs:string with the restriction pattern [\S ]*• \S matches anything but a whitespace• short for [^\f\n\r\t\v\u00A0\u2028\u2029]

• So [\S ]* means– zero or more (non-whitespace or space characters)

http://dev.iptc.org/G2-CR00169-replacing-xsnormalizedString

Page 8: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013 IPTC (www.iptc.org) All rights reserved 8

CR00170Change the data type of altId

In 2.15 altId is defined as xs:normalizedString

In 2.16 we are relaxing all restrictions on altIds

CR00170 alters the data type to be xs:string

http://dev.iptc.org/G2-CR00170-change-data-type-of-altId

Alternative identifiers used to be restricted to certain strings

An altId had to conform to xs:normalizedString

If not, it is altered by conforming implementations!

Now, any string may be used as an altId

Page 9: IPTC News Exchange Working Group 2013 Autumn Meeting

Synchronization and Documentation

• CR00168: Update documentation to match G2 2013• http://dev.iptc.org/G2-CR00168-G2-documentation-

changes-2013• CR00171: Add How-To section to G2 Guidelines• http://dev.iptc.org/G2-CR00171-Add-How-To-section-to-

Guidelines

© 2013 IPTC (www.iptc.org) All rights reserved 9

Page 10: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013 IPTC (www.iptc.org) All rights reserved 10

NewsML-G2

MOTION – Standards Committee

MOTION (to the Standards Committee): To approve NewsML-G2 version 2.16

as specified by the documents in20130930-DRAFT-NewsML-G2_2.16.zip

as a Developer Release.

Page 11: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013 IPTC (www.iptc.org) All rights reserved 11

Progress Reports

Synchronizing NewsML-G2Documentation

ninjs

Page 12: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013 IPTC (www.iptc.org) All rights reserved 12

Any other business?

Page 13: IPTC News Exchange Working Group 2013 Autumn Meeting

© 2013 IPTC (www.iptc.org) All rights reserved 13

Date and Place of Next Meeting

March 2014

Istanbul, Turkey

http://www.flickr.com/photos/oberazzi/430961285/