[Openstack-docs] Checking imagedata attributes?

Nermina Miller nerminamiller at gmail.com
Fri Sep 20 19:54:49 UTC 2013


+1


On Fri, Sep 20, 2013 at 3:38 PM, Steve Gordon <sgordon at redhat.com> wrote:

> ----- Original Message -----
> > From: "Andreas Jaeger" <aj at suse.com>
> > To: openstack-docs at lists.openstack.org
> > Sent: Friday, September 20, 2013 2:44:39 PM
> > Subject: [Openstack-docs] Checking imagedata attributes?
> >
> >
> > During the review of my patch for checking imagedata in our tools, Anne
> > asked the following question:
> > "One possible addition is to ensure that format="PNG" contentwidth="6in"
> > width="6in" are included as attributes on the imagedata element. Not a
> > requirement but is it possible to check for attributes?"
> >
> > I've done a quick implementation of this - and now need some help for
> > what exactly to check:
> > 1) existence of format attribute?
> > 2) existence of contentwidth attribute?
> > 3) existence of width attribute?
> > 4) existence and value (which?) of format attribute?
> > 5) existence and value (which?) of contentwidth attribute?
> > 6) existence and value (which?) of width attribute?
> >
> > Just a random example from our tree:
> > <imagedata fileref="figures/demo_multiple_dhcp_agents.png"
> > contentwidth="6in"/>
> > is the above fine - or not? Why?
> >
> > My current patch is at:
> > https://review.openstack.org/47619
>
> I've actually been wondering if these shouldn't just be injected/enforced
> by the XSL rather than authors having to enter them each time they add an
> image.
>
> Thanks,
>
> Steve
>
> _______________________________________________
> Openstack-docs mailing list
> Openstack-docs at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>



-- 
Thank you!

Nermina Miller
Tech Writer and Editor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20130920/a8878d05/attachment-0001.html>


More information about the Openstack-docs mailing list