DocBook: upgrade media_api DocBook version to 4.2

Message ID 1372412060-6989-1-git-send-email-a.hajda@samsung.com (mailing list archive)
State Accepted, archived
Delegated to: Hans Verkuil
Headers

Commit Message

Andrzej Hajda June 28, 2013, 9:34 a.m. UTC
  Fixes the last three errors of media_api DocBook validatation:
# make DOCBOOKS=media_api.xml XMLTOFLAGS='-m Documentation/DocBook/stylesheet.xsl' htmldocs
(...)
media_api.xml:414: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
media_api.xml:432: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
media_api.xml:452: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
(...)

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
Hi,

The patch upgrades DocBook to version supporting SVG attribute.
Version 4.2 is already used by uio-howto.tmpl so I suppose it should be safe.
After this patch it will be possible to build media_api DocBook with validation
turned on.

Regards
Andrzej
---
 Documentation/DocBook/media_api.tmpl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Rob Landley July 2, 2013, 6:55 p.m. UTC | #1
On 06/28/2013 04:34:20 AM, Andrzej Hajda wrote:
> Fixes the last three errors of media_api DocBook validatation:
> # make DOCBOOKS=media_api.xml XMLTOFLAGS='-m  
> Documentation/DocBook/stylesheet.xsl' htmldocs
> (...)
> media_api.xml:414: element imagedata: validity error : Value "SVG"  
> for attribute format of imagedata is not among the enumerated set
> media_api.xml:432: element imagedata: validity error : Value "SVG"  
> for attribute format of imagedata is not among the enumerated set
> media_api.xml:452: element imagedata: validity error : Value "SVG"  
> for attribute format of imagedata is not among the enumerated set
> (...)
> 
> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>

Acked-by: Rob Landley <rob@landley.net>

Please send through trivial@kernel.org

Rob--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/Documentation/DocBook/media_api.tmpl b/Documentation/DocBook/media_api.tmpl
index 6a8b715..9c92bb8 100644
--- a/Documentation/DocBook/media_api.tmpl
+++ b/Documentation/DocBook/media_api.tmpl
@@ -1,6 +1,6 @@ 
 <?xml version="1.0"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
-	"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+	"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
 <!ENTITY % media-entities SYSTEM "./media-entities.tmpl"> %media-entities;
 <!ENTITY media-indices SYSTEM "./media-indices.tmpl">