]> granicus.if.org Git - docbook-dsssl/commitdiff
reaction on missing type
authorMarta Vaclavikova <marta_v@users.sourceforge.net>
Sun, 9 Dec 2007 23:36:50 +0000 (23:36 +0000)
committerMarta Vaclavikova <marta_v@users.sourceforge.net>
Sun, 9 Dec 2007 23:36:50 +0000 (23:36 +0000)
contrib/tools/fo-editor/src/cz/zcu/fav/kiv/editor/config/handlers/ParameterXmlHandler.java

index 046b4190495ebc55aa00c7c78f70969ed5e8e454..468cbb812362541f1103e595f171f98d083f0b1c 100644 (file)
@@ -148,6 +148,9 @@ public class ParameterXmlHandler extends DefaultHandler {
             break;\r
         case XSL_PARAM:\r
             insideXslParamBuffer.setLength(0);\r
+            //has parameter defined type?\r
+            if (parameter.getType().getName() == null)\r
+               valid = false;\r
             // parse select\r
             if (valid)\r
                 insideXslParam = parseXslParamSelect(atts);\r