diff --git a/infra/schema-pure-jaxb/pom.xml b/infra/schema-pure-jaxb/pom.xml
index 9d6ceeb88f1..9578f3c14e8 100644
--- a/infra/schema-pure-jaxb/pom.xml
+++ b/infra/schema-pure-jaxb/pom.xml
@@ -111,22 +111,7 @@
${basedir}/src/compile/resources/catalog.xml
true
false
-
-
-
-
-
-
- annotation-3\.xsd
- query-3\.xsd
- \\types-3\.xsd
- /types-3\.xsd
- common-.*\.xsd
- scripting-3\.xsd
- resource-schema-3\.xsd
-
-
-
+
@@ -177,17 +162,17 @@
true
false
-
-
+
- annotation-3\.xsd
+ public.annotation-3\.xsd
query-3\.xsd
\\types-3\.xsd
/types-3\.xsd
common-.*\.xsd
- scripting-3\.xsd
+ /scripting/.*
+ \\scripting\\.*
resource-schema-3\.xsd
diff --git a/infra/schema/src/main/resources/xml/ns/public/model/scripting/extension-3.xsd b/infra/schema/src/main/resources/xml/ns/public/model/scripting/extension-3.xsd
index dfacdef7c45..0f70999d0de 100644
--- a/infra/schema/src/main/resources/xml/ns/public/model/scripting/extension-3.xsd
+++ b/infra/schema/src/main/resources/xml/ns/public/model/scripting/extension-3.xsd
@@ -1,5 +1,4 @@
-
+ xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3"
+ xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
@@ -22,9 +18,6 @@
-
-
-
@@ -38,7 +31,4 @@
-
-
-