From e45a9a7e4bab9801b2ed97e4e94efae4b5ee06c3 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Fri, 30 Jan 2009 10:19:42 +0000 Subject: [PATCH] Updated XML Schema for the new intermediate format. Fixed the ID prefix for the URIAction to conform to the "ID" XML Schema datatype. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739227 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop-intermediate-format-ng-content.xsd | 87 +++++++++++-------- .../fop-intermediate-format-ng-datatypes.xsd | 30 ++++++- .../fop-intermediate-format-ng-nav.xsd | 65 ++++++++++++++ .../fop-intermediate-format-ng.xsd | 43 +++++---- .../intermediate/extensions/URIAction.java | 2 +- 5 files changed, 170 insertions(+), 57 deletions(-) create mode 100644 src/documentation/intermediate-format-ng/fop-intermediate-format-ng-nav.xsd diff --git a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd index e377d35cb..daedf9272 100644 --- a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd +++ b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd @@ -20,15 +20,26 @@ targetNamespace="http://xmlgraphics.apache.org/fop/intermediate" xmlns:mf="http://xmlgraphics.apache.org/fop/intermediate"> + - + - + + + + + + + + + + @@ -40,7 +51,7 @@ - + @@ -48,50 +59,47 @@ - - - - - - + + + - + + - - - - - - + - - + - + + - + - - + + + + + + + - + - - - - - - + + + + + @@ -100,7 +108,7 @@ - + @@ -108,16 +116,25 @@ - - + + + + + + - - + - + + + + + + diff --git a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd index 72075f7c8..3f7a33ad6 100644 --- a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd +++ b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd @@ -22,8 +22,8 @@ - - + + @@ -77,4 +77,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-nav.xsd b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-nav.xsd new file mode 100644 index 000000000..cc53483f8 --- /dev/null +++ b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-nav.xsd @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd index 869e2fdce..519377c22 100644 --- a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd +++ b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd @@ -18,15 +18,21 @@ + xmlns:mf="http://xmlgraphics.apache.org/fop/intermediate" + xmlns:nav="http://xmlgraphics.apache.org/fop/intermediate/document-navigation"> + + - + + @@ -38,6 +44,7 @@ + @@ -91,38 +98,36 @@ - + + - - - - - - - + - - - - - - - - - + + + + + + + + + + + + diff --git a/src/java/org/apache/fop/render/intermediate/extensions/URIAction.java b/src/java/org/apache/fop/render/intermediate/extensions/URIAction.java index 835a4b589..22e7a270c 100644 --- a/src/java/org/apache/fop/render/intermediate/extensions/URIAction.java +++ b/src/java/org/apache/fop/render/intermediate/extensions/URIAction.java @@ -83,7 +83,7 @@ public class URIAction extends AbstractAction implements DocumentNavigationExten /** {@inheritDoc} */ public String getIDPrefix() { - return "fop:" + GOTO_URI.getLocalName(); + return "fop-" + GOTO_URI.getLocalName(); } /** {@inheritDoc} */ -- 2.39.5