Re: Where to store custom and dynamic properties in News Item?
- Thank you Michael, I'm getting closer to validation now !
--- In email@example.com, "Michael Steidl \(IPTC\)" <mdirector@...> wrote:
> The NewsML-G2 XML Schema includes
> l-Power.xsd) multiple Extension Points which are defined as
> <xs:any namespace="##other" processContents="lax" minOccurs="0"
> <xs:documentation>Extension point for provider-defined
> properties from other namespaces</xs:documentation>
> Which means:
> - their purpose is to hold additional provider specific properties
> - the names of these additional properties must be from another namespace =
> not the nar: namespace
> Typically these Extension Points are placed as last child of elements which
> act as wrapper of properties, e.g. rightsInfo, itemMeta, contentMeta,
> Michael Steidl
> Managing Director of the IPTC [mdirector@...]
> International Press Telecommunications Council
> Web: www.iptc.org - on Twitter @IPTC
> Business office address:
> 25 Southampton Buildings, London WC2A 1AL, United Kingdom
> Registered in England, company no 101096
> > -----Original Message-----
> > From: firstname.lastname@example.org [mailto:newsml-
> > email@example.com] On Behalf Of kopai_bate
> > Sent: Thursday, August 08, 2013 5:46 PM
> > To: firstname.lastname@example.org
> > Subject: [newsml-g2] Where to store custom and dynamic properties in
> > News Item?
> > I'm developing a news system where the users may record arbitrary
> > properties on the news items at any time. Each property has name, type
> > and a value.
> > The system is highly configurable and these properties may later be used
> > by some plugin of the system or other software as long as it knows about
> > the property, which is done through configuration.
> > I couldn't find an appropriate place within the NewsML's schema to place
> > those properties, QCCodes don't work because are too 'static'. I need to
> > be able to ship the software and let the users define new properties and
> > reconfigure the system.
> > What I ended up doing is extending the NewsML schema with a new
> > element
> > Any better ideas? I'm really not an exprert in NewsML and am probably
> > missing something.
> > Thanks
> > ------------------------------------
> > Any member of this IPTC moderated Yahoo group must comply with the
> > Intellectual Property Policy of the IPTC, available at
> > http://www.iptc.org/goto/ipp. Any posting is assumed to be submitted
> > under the conditions of this IPTC IP Policy.
> > Yahoo! Groups Links