Contenu connexe Similaire à IPTC News Exchange Working Group 2013 Autumn Meeting (20) Plus de Stuart Myles (20) IPTC News Exchange Working Group 2013 Autumn Meeting2. 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
© 2013 IPTC (www.iptc.org)
All rights reserved
2
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
© 2013 IPTC (www.iptc.org)
All rights reserved
3
4. Changes: NewsML-G2 2.16
Fixing practical problems encountered with altId values
• CR00169: Replace xs:normalizedString
• CR00170: Change data type of altId
Updating and improving documentation
• 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
© 2013 IPTC (www.iptc.org)
All rights reserved
4
5. 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
6. XML Schema normalizedString
xs: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
7. CR00169
Replace 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 [^fnrtvu00A0u2028u2029]
• So [S ]* means
– zero or more (non-whitespace or space characters)
http://dev.iptc.org/G2-CR00169-replacing-xsnormalizedString
© 2013IPTC (www.iptc.org)
All rights reserved
7
8. CR00170
Change 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
© 2013 IPTC (www.iptc.org)
All rights reserved
8
9. Synchronization and
Documentation
• CR00168: Update documentation to match G2 2013
• http://dev.iptc.org/G2-CR00168-G2-documentationchanges-2013
• CR00171: Add How-To section to G2 Guidelines
• http://dev.iptc.org/G2-CR00171-Add-How-To-section-toGuidelines
© 2013 IPTC (www.iptc.org)
All rights reserved
9
10. NewsML-G2
MOTION – Standards Committee
MOTION (to the Standards Committee):
To approve NewsML-G2 version 2.16
as specified by the documents in
20130930-DRAFT-NewsML-G2_2.16.zip
as a Developer Release.
© 2013 IPTC (www.iptc.org)
All rights reserved
10
13. Date and Place of Next Meeting
March 2014
Istanbul, Turkey
http://www.flickr.com/photos/oberazzi/430961285/
© 2013 IPTC (www.iptc.org)
All rights reserved
13