Procházet zdrojové kódy

merge z schema + poprawki stylu bzyk

a.binder před 8 roky
rodič
revize
e101b4877a
48 změnil soubory, kde provedl 4964 přidání a 378 odebrání
  1. 37 0
      SE/schema/SystemObjects/Column.xsd
  2. 34 0
      SE/schema/SystemObjects/TERYT.xsd
  3. 172 0
      SE/schema/SystemObjects/layer.xsd
  4. 48 0
      SE/schema/SystemObjects/layers.xsd
  5. 43 0
      SE/schema/SystemObjects/style.xsd
  6. 1504 0
      SE/schema/SystemObjects/ws-bpel_executable.xsd
  7. 167 0
      SE/schema/SystemObjects/wsa.xsd
  8. 412 0
      SE/schema/SystemObjects/wsdl.xsd
  9. 200 0
      SE/schema/SystemObjects/wsdl11soap12.xsd
  10. 280 0
      SE/schema/SystemObjects/xml.xsd
  11. 22 0
      SE/schema/WPS_Functions/WPS_Functions.SYSTEM.xsd
  12. 35 0
      SE/schema/WPS_Functions/WPS_Functions.xsd
  13. 8 4
      SE/schema/WPS_Functions/ant/build.p5ant.PRODUCT.xml
  14. 262 2
      SE/schema/WPS_Functions/ant/build_ant.xml
  15. 94 0
      SE/schema/WPS_Functions/ant/p5ant.create_new_WPS_Function.xsl
  16. 64 0
      SE/schema/WPS_Functions/ant/p5ant.create_new_WPS_Function_xsd.xsl
  17. 5 0
      SE/schema/WPS_Functions/ant/p5ant.xsl
  18. 3 1
      SE/schema/WPS_Functions/build_WPS_Function_basedir.xml
  19. 17 0
      SE/schema/WPS_Functions/documentation_generator/documentation_generator.xsd
  20. 245 0
      SE/schema/WPS_Functions/get_wfs_recurse_xsl/bgwrx.xpath_filter.xsl
  21. 2 2
      SE/schema/WPS_Functions/get_wfs_recurse_xsl/build_get_wfs_recurse_xsl.xml
  22. 179 49
      SE/schema/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.xsl
  23. 51 2
      SE/schema/WPS_Functions/graph_tree_TODO_PROJ6806/graph_tree_yed_from_wfs.xsl
  24. 131 0
      SE/schema/WPS_Functions/graph_tree_TODO_PROJ6806/grapht.xsl
  25. 21 0
      SE/schema/WPS_Functions/system_ui_info_speech/build.p5suis.SYSTEM.xml
  26. 1 4
      SE/schema/WPS_Functions/system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml
  27. 52 11
      SE/schema/WPS_Functions/system_ui_info_speech/build_system_ui_info_speech.xml
  28. 23 0
      SE/schema/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsl
  29. 2 0
      SE/schema/build.p5build.GLOBALS.xml
  30. 2 0
      SE/schema/build.p5build.PRODUCT.xml
  31. 4 2
      SE/schema/build.p5build.SYSTEM.xml
  32. 8 7
      SE/schema/build.xml
  33. 75 0
      SE/schema/build.xsd
  34. 93 0
      SE/schema/build_SE.xsd
  35. 2 1
      SE/schema/build_SE_basedir/build.p5build_SE.PRODUCT.xml
  36. 8 0
      SE/schema/build_SE_basedir/build.p5build_SE.SERVER.xml
  37. 2 0
      SE/schema/build_SE_basedir/build.p5build_SE.SYSTEM.xml
  38. 22 3
      SE/schema/build_SE_basedir/procesy5_config.default_db.xsl
  39. 1 89
      SE/schema/default_db_xml_cache.public/appinfo.xsd
  40. 213 200
      SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl
  41. 11 0
      SE/schema/default_db_xml_cache.public/dita.xsd
  42. 103 0
      SE/schema/default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd
  43. 28 0
      SE/schema/default_db_xml_cache.public/system_cache__appinfo/SERVER.xsd
  44. 62 0
      SE/schema/default_db_xml_cache.public/system_cache__appinfo/SystemsBindings.xsd
  45. 9 0
      SE/schema/default_db_xml_cache.public/system_cache__appinfo/acl_ruleset.xsd
  46. 119 0
      SE/schema/default_db_xml_cache.public/system_cache__appinfo/binding.xsd
  47. 1 1
      SE/schema/default_db_xml_cache.public/xinclude_p5_recurse/xinclude_p5_recurse.xsl
  48. 87 0
      SE/schema/patterns/BI_PERSON_to_COMPANY.xsd

+ 37 - 0
SE/schema/SystemObjects/Column.xsd

@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:SystemObjects__x3A__Column="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/Column.xsd"
+           xmlns:ogc="http://www.opengis.net/ogc"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           elementFormDefault="qualified"
+           targetNamespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/Column.xsd"
+           vc:minVersion="1.0"
+           vc:maxVersion="1.1">
+   <xs:annotation>
+      <xs:documentation>This should be used in interface styles/column row order settings</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="../Types/gml.xsd"/>
+   <!-- wchodzi import schematu gdzie jest jakis ref do niego -->
+   <xs:complexType name="Column" id="x3A__Column___d4e4092-1_Column">
+      <xs:sequence id="x3A__Column___d4e4093-1">
+         <xs:element minOccurs="1"
+                     maxOccurs="1"
+                     nillable="true"
+                     name="ID"
+                     type="xs:integer"
+                     id="x3A__Column___d4e4094-1_ID"/>
+         <xs:element name="ID_LAYER" type="xs:int" id="x3A__Column___d4e4095-1_ID_LAYER"/>
+         <xs:element name="display" type="xs:int" id="x3A__Column___d4e4096-1_display"/>
+         <xs:element name="name" type="xs:NCName" id="x3A__Column___d4e4097-1_name"/>
+         <xs:element name="order" type="xs:int" id="x3A__Column___d4e4098-1_order"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="Column"
+               type="SystemObjects__x3A__Column:Column"
+               id="x3A__Column___d4e4099-1_Column"/>
+</xs:schema>

+ 34 - 0
SE/schema/SystemObjects/TERYT.xsd

@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:SystemObjects__x3A__TERYT="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/TERYT.xsd"
+           xmlns="https://biuro.biall-net.pl/wfs/objects"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           elementFormDefault="qualified"
+           targetNamespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/TERYT.xsd"
+           vc:minVersion="1.1">
+   <xs:annotation>
+      <xs:documentation>Do terytu fuknkcja i klasa</xs:documentation>
+   </xs:annotation>
+   <!--<xs:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../Types/gml.xsd"/>-->
+   <xs:complexType name="ADRES" id="_x3A__TERYT___d15e98702-1_ADRES">
+      <xs:sequence id="_x3A__TERYT___d15e98703-1">
+         <xs:element name="kodPocztowy"
+                     type="SystemObjects__x3A__TERYT:kodPocztowy"
+                     id="_x3A__TERYT___d15e98704-1_kodPocztow"/>
+         <xs:element name="newElement" id="_x3A__TERYT___d15e98705-1_newElement"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:simpleType name="kodPocztowy" id="_x3A__TERYT___d15e98706-1_kodPocztow">
+      <xs:restriction base="xs:string"/>
+   </xs:simpleType>
+   <xs:simpleType name="miejscowosc" id="_x3A__TERYT___d15e98708-1_miejscowos">
+      <xs:restriction base="xs:string"/>
+   </xs:simpleType>
+</xs:schema>

+ 172 - 0
SE/schema/SystemObjects/layer.xsd

@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:SystemObjects__x3A__layer="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/layer.xsd"
+           xmlns:ogc="http://www.opengis.net/ogc"
+           xmlns:SystemObjects__x3A__style="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/style.xsd"
+           xmlns:SystemObjects__x3A__Column="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/Column.xsd"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           elementFormDefault="qualified"
+           targetNamespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/layer.xsd"
+           vc:minVersion="1.0"
+           vc:maxVersion="1.1">
+   <xs:annotation>
+      <xs:documentation>Na podstawie dok Procesy5AndroidApp 2017-05 - do wdrozenia/dyskusji</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="../Types/gml.xsd"/>
+   <!-- wchodzi import schematu gdzie jest jakis ref do niego -->
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/style.xsd"
+              schemaLocation="style.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/Column.xsd"
+              schemaLocation="Column.xsd"/>
+   <xs:complexType name="layer" id="_x3A__layer___d4e4115-1_layer">
+      <xs:sequence id="_x3A__layer___d4e4116-1">
+         <xs:element minOccurs="1"
+                     maxOccurs="1"
+                     nillable="true"
+                     name="ID"
+                     type="xs:integer"
+                     id="_x3A__layer___d4e4117-1_ID"/>
+         <xs:element name="ID_LAYERS"
+                     type="xs:int"
+                     id="_x3A__layer___d4e4118-1_ID_LAYERS"/>
+         <xs:element name="PARENT_ID"
+                     type="xs:int"
+                     id="_x3A__layer___d4e4119-1_PARENT_ID"/>
+         <xs:element name="collapsed"
+                     type="xs:int"
+                     id="_x3A__layer___d4e4118-1_collapsed"/>
+         <xs:element name="type" type="xs:NCName" id="_x3A__layer___d4e4119-1_type"/>
+         <xs:element name="url" type="xs:anyURI" id="_x3A__layer___d4e4120-1_url"/>
+         <xs:element name="user" type="xs:NCName" id="_x3A__layer___d4e4121-1_user"/>
+         <xs:element name="visible" type="xs:int" id="_x3A__layer___d4e4122-1_visible"/>
+         <xs:element name="FullName"
+                     type="xs:string"
+                     id="_x3A__layer___d4e4123-1_FullName">
+            <xs:annotation>
+               <xs:documentation>TODO tu byl blad - powinien byc na tym poziomie name?</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="Name" type="xs:string" id="_x3A__layer___d4e4127-1_Name"/>
+         <xs:element name="Comment"
+                     type="xs:string"
+                     id="_x3A__layer___d15e118413-1_Comment">
+            <xs:annotation>
+               <xs:documentation>Komentarz widoczny na GUI tableta, w który może zmieniać użytkownik.</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="RowCount" type="xs:int" id="_x3A__layer___d4e4128-1_RowCount"/>
+         <xs:element ref="SystemObjects__x3A__style:style" id="_x3A__layer___d4e4129-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="SystemObjects__x3A__style:style/ID_LAYER"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <!--<xs:element name="Filter" minOccurs="0" id="_x3A__layer___d4e4130-1_Filter">
+            <xs:complexType id="_x3A__layer___d4e4131-1">
+               <xs:sequence id="_x3A__layer___d4e4132-1">
+                  <xs:element minOccurs="0" name="BBOX" type="xs:string"
+                     id="_x3A__layer___d4e4133-1_BBOX"/>
+                  <xs:element maxOccurs="unbounded" minOccurs="0" name="Filter"
+                     id="_x3A__layer___d4e4134-1_Filter">
+                     <xs:complexType id="_x3A__layer___d4e4135-1">
+                        <xs:sequence id="_x3A__layer___d4e4136-1">
+                           <xs:element name="PropertyIsGreaterThan"
+                              id="_x3A__layer___d4e4137-1_PropertyIs">
+                              <xs:complexType id="_x3A__layer___d4e4138-1">
+                                 <xs:sequence id="_x3A__layer___d4e4139-1">
+                                    <xs:element name="PropertyName" type="xs:NCName"
+                                       id="_x3A__layer___d4e4140-1_PropertyNa"/>
+                                    <xs:element name="Literal" type="xs:int"
+                                       id="_x3A__layer___d4e4141-1_Literal">
+                                       <xs:annotation>
+                                          <xs:documentation>ogc:Literal INT? Chyba blad TODO</xs:documentation>
+                                       </xs:annotation>
+                                    </xs:element>
+                                 </xs:sequence>
+                              </xs:complexType>
+                           </xs:element>
+                        </xs:sequence>
+                     </xs:complexType>
+                  </xs:element>
+               </xs:sequence>
+            </xs:complexType>
+         </xs:element>-->
+         <xs:element name="Filter" type="xs:string" id="_x3A__layer___d4e4154-1_Filter">
+            <xs:annotation>
+               <xs:documentation>TODO tymczasowo zastapione jako string - zeby nie zaglebiac obietkow
+</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="Sort" type="xs:string" id="_x3A__layer___d4e4158-1_Sort">
+            <xs:annotation>
+               <xs:documentation>TODO tymczasowo zastapione jako string - zeby nie zaglebiac obietkow
+</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <!--<xs:element name="Sort" minOccurs="0" id="_x3A__layer___d4e4146-1_Sort">
+            <xs:annotation>
+               <xs:documentation>Docelowo wiecej sortowan</xs:documentation>
+            </xs:annotation>
+            <xs:complexType id="_x3A__layer___d4e4150-1">
+               <xs:sequence id="_x3A__layer___d4e4151-1">
+                  <xs:element name="SortBy" type="xs:NCName" id="_x3A__layer___d4e4152-1_SortBy"/>
+                  <xs:element name="asc" type="xs:int" id="_x3A__layer___d4e4153-1_asc"/>
+               </xs:sequence>
+            </xs:complexType>
+         </xs:element>-->
+         <!--<xs:element name="Table" id="_x3A__layer___d4e4154-1_Table">
+            <xs:complexType id="_x3A__layer___d4e4155-1">
+               <xs:sequence id="_x3A__layer___d4e4156-1">
+                  <xs:element name="Columns" id="_x3A__layer___d4e4157-1_Columns">
+                     <xs:complexType id="_x3A__layer___d4e4158-1">
+                        <xs:sequence id="_x3A__layer___d4e4159-1"> </xs:sequence>
+                     </xs:complexType>
+                  </xs:element>
+               </xs:sequence>
+            </xs:complexType>
+         </xs:element>-->
+         <xs:element id="_x3A__layer___d4e4160-1_Column"
+                     maxOccurs="unbounded"
+                     minOccurs="1"
+                     ref="SystemObjects__x3A__Column:Column">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="SystemObjects__x3A__Column:Column/ID_LAYER"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Modified structure different than proposed on Android to simplify object deepth/references</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="0"
+                     ref="SystemObjects__x3A__layer:layer"
+                     id="_x3A__layer___d4e4166-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="PARENT_ID"
+                                                   system_cache__appinfo:xpath="SystemObjects__x3A__layer:layer/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="layer"
+               type="SystemObjects__x3A__layer:layer"
+               id="_x3A__layer___d4e4167-1_layer"/>
+</xs:schema>

+ 48 - 0
SE/schema/SystemObjects/layers.xsd

@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:SystemObjects__x3A__layers="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/layers.xsd"
+           xmlns:SystemObjects__x3A__layer="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/layer.xsd"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           elementFormDefault="qualified"
+           targetNamespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/layers.xsd"
+           vc:minVersion="1.0"
+           vc:maxVersion="1.1">
+   <xs:annotation>
+      <xs:documentation>Na podstawie dok Procesy5AndroidApp 2017-05 - do wdrozenia/dyskusji</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="../Types/gml.xsd"/>
+   <!-- wchodzi import schematu gdzie jest jakis ref do niego -->
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/layer.xsd"
+              schemaLocation="layer.xsd"/>
+   <xs:complexType name="layers" id="x3A__layers___d4e4176-1_layers">
+      <xs:sequence id="x3A__layers___d4e4177-1">
+         <xs:element minOccurs="1"
+                     maxOccurs="1"
+                     nillable="true"
+                     name="ID"
+                     type="xs:integer"
+                     id="x3A__layers___d4e4178-1_ID"/>
+         <xs:element maxOccurs="unbounded"
+                     minOccurs="1"
+                     ref="SystemObjects__x3A__layer:layer"
+                     id="x3A__layers___d4e4179-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID"
+                                                   system_cache__appinfo:xpath="SystemObjects__x3A__layer:layer/ID_LAYERS"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="layers"
+               type="SystemObjects__x3A__layers:layers"
+               id="x3A__layers___d4e4180-1_layers"/>
+</xs:schema>

+ 43 - 0
SE/schema/SystemObjects/style.xsd

@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:SystemObjects__x3A__style="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/style.xsd"
+           xmlns:ogc="http://www.opengis.net/ogc"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           elementFormDefault="qualified"
+           targetNamespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/style.xsd"
+           vc:minVersion="1.0"
+           vc:maxVersion="1.1">
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="../Types/gml.xsd"/>
+   <!-- wchodzi import schematu gdzie jest jakis ref do niego -->
+   <xs:complexType name="style" id="_x3A__style___d4e4185-1_style">
+      <xs:sequence id="_x3A__style___d4e4186-1">
+         <xs:element minOccurs="1"
+                     maxOccurs="1"
+                     nillable="true"
+                     name="ID"
+                     type="xs:integer"
+                     id="_x3A__style___d4e4187-1_ID"/>
+         <xs:element name="layerName"
+                     type="xs:NMTOKEN"
+                     id="_x3A__style___d4e4188-1_layerName"/>
+         <xs:element name="StrokeColor"
+                     type="xs:string"
+                     id="_x3A__style___d4e4189-1_StrokeColo"/>
+         <xs:element name="StrokeWidth"
+                     type="xs:string"
+                     id="_x3A__style___d4e4190-1_StrokeWidt"/>
+         <xs:element name="FillColor"
+                     type="xs:string"
+                     id="_x3A__style___d4e4191-1_FillColor"/>
+         <xs:element name="ID_LAYER" type="xs:int" id="_x3A__style___d4e4206-1_ID_LAYER"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="style"
+               type="SystemObjects__x3A__style:style"
+               id="_x3A__style___d4e4192-1_style"/>
+</xs:schema>

+ 1504 - 0
SE/schema/SystemObjects/ws-bpel_executable.xsd

@@ -0,0 +1,1504 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
+           xmlns:wsbpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           targetNamespace="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+           vc:minVersion="1.1"><!--#147 when  @targetNamespace and prefix probably exists!-->
+   <xs:annotation>
+      <xs:documentation>
+			Schema for Executable Process for WS-BPEL 2.0
+			Last modified date: 9th December, 2006
+			
+			2004-03-24: YIU-OSS: Alex Yiu: Extracted from wsbpel-specification-draft.doc (Rev 1.22 - Modified on 24 March, 2004)
+			2004-03-24: YIU-OSS: Alex Yiu: Updated targetNamespace with "2004/03"
+			2004-03-24: YIU-OSS: Alex Yiu: fixed a number of syntax typos (e.g remove complexContent)
+			2004-06-26: YIU-OSS: Alex Yiu: Using XMLSpy to do a re-indent
+			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 94 resolution by merging tActivityContainer and tActivityOrCompensateContainer
+			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 75 resolution: by allowing partnerLinks declaration within a scope
+			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 37 resolution: "initiate" attribute becomes a tri-value switch instead of a boolean switch
+			2004-07-19: YIU-OSS: Alex Yiu: Adding "service-ref" element and its definition for issue 34
+			2004-07-21: YIU-OSS: Alex Yiu: Applying Issue 43 and 44
+			2004-09-01: YIU-OSS: Alex Yiu: Applying Issue 146: Making tVariable Extensible
+			2004-09-01: YIU-OSS: Alex Yiu: Applying Issue 149: Adding formal documentation support to BPEL
+			2004-09-01: YIU-OSS: Alex Yiu: A bunch of misc cleanup for Issue 13
+			2004-10-20: YIU-OSS: Alex Yiu: Fixing schema problems discovered by Dieter Koenig
+			2004-10-20: YIU-OSS: Alex Yiu: Applying Issue 123
+			2004-10-20: YIU-OSS: Alex Yiu: Applying some non-normative changes suggested by Paul Brown
+			2004-11-30: YIU-OSS: Alex Yiu: Applying Issue 152 and 165
+			2004-12-02: YIU-OSS: Alex Yiu: Applying Issue 135 (TerminationHandler changes from Satish)
+			2005-04-02: curbera-oss: Paco Curbera: Applying Issue 93
+			2005-04-24: curbera-oss: Paco Curbera: Applying Issue 112
+			2005-05-01: YIU-OSS: Alex Yiu: Fixing XSD syntax typo for Issue 112
+			2005-05-02: YIU-OSS: Alex Yiu: Reapplying XSD syntax changes lost during CVS Migration:
+					(a) Moving terminationHandler from process level to scope level
+					(b) removing compensationHandler from the process level
+					(c) renaming an attribute of "scope" from "variableAccessSerializable" to "isolated"
+					(d) removing "enableInstanceCompensation" attribute from XSD
+					(e) removing "partner" and "partners" element
+			2005-05-06: Rev 1.18: Assaf Arkin: Applying Issue 160, added validate activity, validate attribute to assign, simple type tNCNames
+			2005-06-24: Rev 1.19: YIU-OSS: Alex Yiu: fixing minor typo in the Rev 1.18
+			2005-06-28: Rev 1.20: YIU-OSS: Alex Yiu: applying Issue 140 - adding "repeatUntil" activity
+			2005-07-25: Rev 1.21: YIU-OSS: Alex Yiu: Applying Issue 103, 199, 203 and Issue 196
+			2005-08-14: Rev 1.22: curbera-oss: Paco Curbera: Applying Issue 139.1, 147
+			2005-08-20: Rev 1.23: assaf-oss: Assaf Arkin: fixed issues 202, 206, 209, 214 and 132. (this comment is added by alex)
+			2005-08-29: Rev 1.24: YIU-OSS: Alex Yiu: rectify the definition of "forEach" (issue 147) according to the issue 204 by adding "scope" (note: we still need to apply the rest of issue 204.
+			2005-08-30: Rev 1.25: YIU-OSS: Alex Yiu:
+				Apply XSD changes for Issue 190, Issue 136, Issue 213.
+				Apply XSD Changes for Issue 111 and 11.1
+				Apply XSD Changes for Issue 192 by merging wsbpel_msgprop.xsd into this wsbpel_main.xsd
+				XSD Changes in Issue 145 was missing. Re-apply it here.
+			2005-10-15: Rev 1.26: YIU-OSS: Alex Yiu:
+				Apply XSD Changes for issue 92
+			2005-12-05: Rev 1.27: Assaf: In tValidate inlined type for variables attribute.
+			2005-12-11: Rev 1.28: YIU-OSS: Alex Yiu:
+				Fixing XSD to allow: (a) other URI in importType (b) repeatEvery to be used standalone
+				Applied Issue 204 and 6.2
+				2006-02-14: Rev 1.29: Alex Alves: Issue 110
+			2006-02-21: Rev 1.30: YIU-OSS: Alex Yiu:
+				Apply Issue 217: changing "compensate" activity and adding "compensateScope" activity
+			2006-03-07: Rev 1.31: Danny van der Rijn: Action Item 21:
+				Remove WSDL namespace declaration and import
+			2006-03-20: Rev 1.32: YIU-OSS: Alex Yiu: 
+				Making namespace and location optional in tImport
+				(Corresponding to action item #26)
+			2006-03-21: Rev 1.33: YIU-OSS: Alex Yiu: 
+				Removing "iterator" element from "forEach" 
+			2006-03-23: Rev 1.34: YIU-OSS: Alex Yiu:
+				Adding keepSrcElementName to copy
+			2006-04-05: Rev 1.35: YIU-OSS: Alex Yiu:
+				Applying Issue 248: restricting "any" under "extensionActivity" 
+				to "##other" namespace
+			2006-05-02: Rev 1.36: YIU-OSS: Alex Yiu:
+				Applying Issue 237 (dropping "then" wrapper element within "if")
+				Adding "messageExchanges" and "messageExchange" 
+			2006-07-26: Rev 1.37: YIU-OSS: Alex Yiu:
+				Fixing "onEvent" syntax (pointed out by Ron Ten-Hove)
+			2006-07-26: Rev 1.38: YIU-OSS: Alex Yiu:
+				Applying Issue 295
+			2006-07-26: Rev 1.39: YIU-OSS: Alex Yiu:
+				Converting most element declaration from LED to GED 
+			2006-07-26: Rev 1.40: YIU-OSS: Alex Yiu:
+				Apply issue 257, 259, 268, 269 and some misc fix
+			2006-07-27: Rev 1.41: Thomas Schulze:
+				Replaced prefix "bpws" with "bpel"
+				Removed attribute "abstractProcess" from "tProcess"
+				Apply issue 282
+			2006-07-28: Rev 1.42: Alex Yiu
+				Refactor tOnMsgCommon
+				Clarify and refactor tActivityOrCompensateContainer concept 
+				into tFaultHandlerBase and tCompensationAllowedActivityContainer
+			2006-07-28: Rev 1.43: Alex Yiu
+				Re-order element declaration for cosmetic reason
+			2006-07-28: Rev 1.44: Alex Yiu
+				Apply Issue a portion of Issue 294.1: 
+				Spilt "service-ref" into one schema 
+				and "property" and "propertyAlias" into another schema
+			2006-07-31: Rev 1.45: Alex Yiu
+				Rearranging namespace and prefix 
+				to prepare Abstract+Executable BPEL refactoring
+			2006-08-01: Rev 1.46: Alex Yiu
+				Make all types defined in this XSD named instead of anonymous
+			2006-08-02: Rev 1.47: Thomas Schulze
+				Done some formatting / reordering.
+				Remove types tFaultHandlerBase, tCompensationAllowedActivityContainer,
+				tCompensationHandler and tTerminationHandler.
+				Replace all references to the types above with tActivityContainer.
+				Added blockDefault to block restriction, extension and substitution.
+				Adapted comments.
+				Applied Issue 305 and AI 113.
+			2006-08-03: Rev 1.48: Alex Yiu
+				Add minLength restriction to BPELVariableNames type
+				Make two cosmetic to prepare the spinning off of Abstract BPEL Schema:
+				** Add minOccurs="1" to element declaration which is using default minOccurs value
+				** For XSD simple type being used in an attribute declaration, the prefix is
+				changed from "xsd" to "simple". 
+				Additional note: We may need to evaluate this blockDefault change comprehensively
+			2006-08-07: Rev 1.49: Thomas Schulze
+				Minor formatting changes.
+				Removed prefix "simple:", replaced with "xs:".
+				
+			*****************************************
+				
+			2006-08-08: Rev 1.1: Alex Yiu
+				Remove opaque attribute in "tFrom"
+				Rename the file from wsbpel_main.xsd (rev 1.49) to ws-bpel_executable.xsd
+				Change the targetNamespace URI to:
+				http://docs.oasis-open.org/ws-bpel/2.0/process/executable
+			2006-08-09: Rev 1.2: Alex Yiu
+				A minor update and clarification in comments and documentation
+			2006-08-16: Rev 1.3: Thomas Schulze
+				Minor formatting changes.
+				Apply AI 151: change the defaults of queryLanguage and expressionLanguage from "urn:oasis:names:tc:ws2.0:sublang:xpath1.0"
+				to "urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0".
+				Apply AI 152: change the targetNamespace from "http://docs.oasis-open.org/ws-bpel/2.0/process/executable"
+				to "http://docs.oasis-open.org/wsbpel/2.0/process/executable".
+				Apply the two friendly amendments made in today's call. That are:
+				1) make the QName list non empty (simpleType QNames)
+				2) make fromParts, fromPart, toParts, toPart extensible
+				Add a copyright statement.
+			2006-08-17: Rev 1.4: Alex Yiu
+				Adding last modified date and small reformatting for copyright statement
+			2006-10-18: Rev 1.5: Alex Yiu
+				Apply changes for public review issue R9
+				to qualify the "LED" comment
+			2006-11-14: Rev 1.6: Dieter Koenig
+				Added minOccurs="0" to the branches element
+			2006-11-15: Rev 1.7: Dieter/Thomas
+				Minor formatting for ease of comparsion
+			2006-11-15: Rev 1.8: Alex Yiu
+				Issue R29: Removing the default for "initializePartnerRole"
+			2006-11-15: Rev 1.9: Alex Yiu	
+				Issue R33: Adding "ignoreMissingFromData" attribute
+			2006-12-09: Rev 1.10: Alex Yiu
+				Change the last modified date
+		</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="http://www.w3.org/XML/1998/namespace"
+              schemaLocation="xml.xsd"/>
+   <xs:element name="process" type="wsbpel:tProcess" id="w___d15e95744-1_process">
+      <xs:annotation>
+         <xs:documentation>
+				This is the root element for a WS-BPEL 2.0 process.
+			</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:complexType name="tProcess" id="w___d7e93985-1_tProcess">
+      <xs:complexContent id="w___d7e93986-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e93987-1">
+            <xs:sequence id="w___d7e93988-1">
+               <xs:element ref="wsbpel:extensions" minOccurs="0" id="w___d7e93989-1"/>
+               <xs:element ref="wsbpel:import"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="w___d7e93990-1"/>
+               <xs:element ref="wsbpel:partnerLinks" minOccurs="0" id="w___d7e93991-1"/>
+               <xs:element ref="wsbpel:messageExchanges" minOccurs="0" id="w___d7e93992-1"/>
+               <xs:element ref="wsbpel:variables" minOccurs="0" id="w___d7e93993-1"/>
+               <xs:element ref="wsbpel:correlationSets" minOccurs="0" id="w___d7e93994-1"/>
+               <xs:element ref="wsbpel:faultHandlers" minOccurs="0" id="w___d7e93995-1"/>
+               <xs:element ref="wsbpel:eventHandlers" minOccurs="0" id="w___d7e93996-1"/>
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+            </xs:sequence>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e93998-1_name"/>
+            <xs:attribute name="targetNamespace"
+                          type="xs:anyURI"
+                          use="required"
+                          id="w___d7e93999-1_targetName"/>
+            <xs:attribute name="queryLanguage"
+                          type="xs:anyURI"
+                          default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"
+                          id="w___d7e94000-1_queryLangu"/>
+            <xs:attribute name="expressionLanguage"
+                          type="xs:anyURI"
+                          default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"
+                          id="w___d7e94001-1_expression"/>
+            <xs:attribute name="suppressJoinFailure"
+                          type="wsbpel:tBoolean"
+                          default="no"
+                          id="w___d7e94002-1_suppressJo"/>
+            <xs:attribute name="exitOnStandardFault"
+                          type="wsbpel:tBoolean"
+                          default="no"
+                          id="w___d7e94003-1_exitOnStan"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tExtensibleElements" id="w___d7e94004-1_tExtensibl">
+      <xs:annotation>
+         <xs:documentation>
+				This type is extended by other component types to allow elements and attributes from
+				other namespaces to be added at the modeled places.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:sequence id="w___d7e94008-1">
+         <xs:element ref="wsbpel:documentation"
+                     minOccurs="0"
+                     maxOccurs="unbounded"
+                     id="w___d7e94009-1"/>
+         <xs:any namespace="##other"
+                 processContents="lax"
+                 minOccurs="0"
+                 maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+   <xs:element name="documentation"
+               type="wsbpel:tDocumentation"
+               id="w___d7e94012-1_documentat"/>
+   <xs:complexType name="tDocumentation" mixed="true" id="w___d7e94013-1_tDocumenta">
+      <xs:sequence id="w___d7e94014-1">
+         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:attribute name="source" type="xs:anyURI" id="w___d7e94016-1_source"/>
+      <xs:attribute ref="xml:lang" id="w___d7e94017-1"/>
+   </xs:complexType>
+   <xs:group name="activity">
+      <xs:annotation>
+         <xs:documentation>
+				All standard WS-BPEL 2.0 activities in alphabetical order. Basic activities
+				and structured activities.
+				Addtional constraints:
+				- rethrow activity can be used ONLY within a fault handler
+				  (i.e. "catch" and "catchAll" element)
+				- compensate or compensateScope activity can be used ONLY
+				  within a fault handler, a compensation handler or a termination handler
+			</xs:documentation>
+      </xs:annotation>
+      <xs:choice id="w___d7e94022-1">
+         <xs:element ref="wsbpel:assign" id="w___d7e94023-1"/>
+         <xs:element ref="wsbpel:compensate" id="w___d7e94024-1"/>
+         <xs:element ref="wsbpel:compensateScope" id="w___d7e94025-1"/>
+         <xs:element ref="wsbpel:empty" id="w___d7e94026-1"/>
+         <xs:element ref="wsbpel:exit" id="w___d7e94027-1"/>
+         <xs:element ref="wsbpel:extensionActivity" id="w___d7e94028-1"/>
+         <xs:element ref="wsbpel:flow" id="w___d7e94029-1"/>
+         <xs:element ref="wsbpel:forEach" id="w___d7e94030-1"/>
+         <xs:element ref="wsbpel:if" id="w___d7e94031-1"/>
+         <xs:element ref="wsbpel:invoke" id="w___d7e94032-1"/>
+         <xs:element ref="wsbpel:pick" id="w___d7e94033-1"/>
+         <xs:element ref="wsbpel:receive" id="w___d7e94035-1"/>
+         <xs:element ref="wsbpel:repeatUntil" id="w___d7e94036-1"/>
+         <xs:element ref="wsbpel:reply" id="w___d7e94037-1"/>
+         <xs:element ref="wsbpel:rethrow" id="w___d7e94038-1"/>
+         <xs:element ref="wsbpel:scope" id="w___d7e94039-1"/>
+         <xs:element ref="wsbpel:sequence" id="w___d7e94040-1"/>
+         <xs:element ref="wsbpel:throw" id="w___d7e94041-1"/>
+         <xs:element ref="wsbpel:validate" id="w___d7e94042-1"/>
+         <xs:element ref="wsbpel:wait" id="w___d7e94043-1"/>
+         <xs:element ref="wsbpel:while" id="w___d7e94044-1"/>
+      </xs:choice>
+   </xs:group>
+   <xs:element name="extensions"
+               type="wsbpel:tExtensions"
+               id="w___d7e94045-1_extensions"/>
+   <xs:complexType name="tExtensions" id="w___d7e94046-1_tExtension">
+      <xs:complexContent id="w___d7e94047-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94048-1">
+            <xs:sequence id="w___d7e94049-1">
+               <xs:element ref="wsbpel:extension"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94050-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="extension"
+               type="wsbpel:tExtension"
+               id="w___d7e94051-1_extension"/>
+   <xs:complexType name="tExtension" id="w___d7e94053-1_tExtension">
+      <xs:complexContent id="w___d7e94054-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94055-1">
+            <xs:attribute name="namespace"
+                          type="xs:anyURI"
+                          use="required"
+                          id="w___d7e94056-1_namespace"/>
+            <xs:attribute name="mustUnderstand"
+                          type="wsbpel:tBoolean"
+                          use="required"
+                          id="w___d7e94057-1_mustUnders"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="import" type="wsbpel:tImport" id="w___d7e94058-1_import"/>
+   <xs:complexType name="tImport" id="w___d7e94059-1_tImport">
+      <xs:complexContent id="w___d7e94060-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94061-1">
+            <xs:attribute name="namespace"
+                          type="xs:anyURI"
+                          use="optional"
+                          id="w___d7e94062-1_namespace"/>
+            <xs:attribute name="location"
+                          type="xs:anyURI"
+                          use="optional"
+                          id="w___d7e94063-1_location"/>
+            <xs:attribute name="importType"
+                          type="xs:anyURI"
+                          use="required"
+                          id="w___d7e94064-1_importType"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="partnerLinks"
+               type="wsbpel:tPartnerLinks"
+               id="w___d7e94065-1_partnerLin"/>
+   <xs:complexType name="tPartnerLinks" id="w___d7e94066-1_tPartnerLi">
+      <xs:complexContent id="w___d7e94067-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94068-1">
+            <xs:sequence id="w___d7e94069-1">
+               <xs:element ref="wsbpel:partnerLink"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94070-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="partnerLink"
+               type="wsbpel:tPartnerLink"
+               id="w___d7e94071-1_partnerLin"/>
+   <xs:complexType name="tPartnerLink" id="w___d7e94072-1_tPartnerLi">
+      <xs:complexContent id="w___d7e94073-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94074-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94075-1_name"/>
+            <xs:attribute name="partnerLinkType"
+                          type="xs:QName"
+                          use="required"
+                          id="w___d7e94076-1_partnerLin"/>
+            <xs:attribute name="myRole" type="xs:NCName" id="w___d7e94077-1_myRole"/>
+            <xs:attribute name="partnerRole" type="xs:NCName" id="w___d7e94078-1_partnerRol"/>
+            <xs:attribute name="initializePartnerRole"
+                          type="wsbpel:tBoolean"
+                          id="w___d7e94079-1_initialize"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="messageExchanges"
+               type="wsbpel:tMessageExchanges"
+               id="w___d7e94080-1_messageExc"/>
+   <xs:complexType name="tMessageExchanges" id="w___d7e94081-1_tMessageEx">
+      <xs:complexContent id="w___d7e94082-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94083-1">
+            <xs:sequence id="w___d7e94084-1">
+               <xs:element ref="wsbpel:messageExchange"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94085-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="messageExchange"
+               type="wsbpel:tMessageExchange"
+               id="w___d7e94086-1_messageExc"/>
+   <xs:complexType name="tMessageExchange" id="w___d7e94087-1_tMessageEx">
+      <xs:complexContent id="w___d7e94088-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94089-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94090-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="variables"
+               type="wsbpel:tVariables"
+               id="w___d7e94092-1_variables"/>
+   <xs:complexType name="tVariables" id="w___d7e94093-1_tVariables">
+      <xs:complexContent id="w___d7e94094-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94095-1">
+            <xs:sequence id="w___d7e94096-1">
+               <xs:element ref="wsbpel:variable"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94097-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="variable"
+               type="wsbpel:tVariable"
+               id="w___d7e94098-1_variable"/>
+   <xs:complexType name="tVariable" id="w___d7e94099-1_tVariable">
+      <xs:complexContent id="w___d7e94100-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94101-1">
+            <xs:sequence id="w___d7e94102-1">
+               <xs:element ref="wsbpel:from" minOccurs="0" id="w___d7e94103-1"/>
+            </xs:sequence>
+            <xs:attribute name="name"
+                          type="wsbpel:BPELVariableName"
+                          use="required"
+                          id="w___d7e94104-1_name"/>
+            <xs:attribute name="messageType"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94105-1_messageTyp"/>
+            <xs:attribute name="type"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94106-1_type"/>
+            <xs:attribute name="element"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94107-1_element"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:simpleType name="BPELVariableName" id="w___d7e94108-1_BPELVariab">
+      <xs:restriction base="xs:NCName">
+         <xs:pattern value="[^\.]+"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:element name="correlationSets"
+               type="wsbpel:tCorrelationSets"
+               id="w___d7e94111-1_correlatio"/>
+   <xs:complexType name="tCorrelationSets" id="w___d7e94112-1_tCorrelati">
+      <xs:complexContent id="w___d7e94113-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94114-1">
+            <xs:sequence id="w___d7e94115-1">
+               <xs:element ref="wsbpel:correlationSet"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94116-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="correlationSet"
+               type="wsbpel:tCorrelationSet"
+               id="w___d7e94117-1_correlatio"/>
+   <xs:complexType name="tCorrelationSet" id="w___d7e94118-1_tCorrelati">
+      <xs:complexContent id="w___d7e94119-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94120-1">
+            <xs:attribute name="properties"
+                          type="wsbpel:QNames"
+                          use="required"
+                          id="w___d7e94121-1_properties"/>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94122-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:simpleType name="QNames" id="w___d7e94123-1_QNames">
+      <xs:restriction>
+         <xs:simpleType id="w___d7e94125-1">
+            <xs:list itemType="xs:QName"/>
+         </xs:simpleType>
+         <xs:minLength value="1"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:element name="faultHandlers"
+               type="wsbpel:tFaultHandlers"
+               id="w___d7e94128-1_faultHandl"/>
+   <xs:complexType name="tFaultHandlers" id="w___d7e94130-1_tFaultHand">
+      <xs:complexContent id="w___d7e94131-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94132-1">
+            <xs:sequence id="w___d7e94133-1">
+               <xs:element ref="wsbpel:catch"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="w___d7e94134-1"/>
+               <xs:element ref="wsbpel:catchAll" minOccurs="0" id="w___d7e94135-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="catch" type="wsbpel:tCatch" id="w___d7e94136-1_catch">
+      <xs:annotation>
+         <xs:documentation>
+				This element can contain all activities including the activities
+				compensate, compensateScope and rethrow.
+			</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:complexType name="tCatch" id="w___d7e94140-1_tCatch">
+      <xs:complexContent id="w___d7e94141-1">
+         <xs:extension base="wsbpel:tActivityContainer" id="w___d7e94142-1">
+            <xs:attribute name="faultName" type="xs:QName" id="w___d7e94143-1_faultName"/>
+            <xs:attribute name="faultVariable"
+                          type="wsbpel:BPELVariableName"
+                          id="w___d7e94144-1_faultVaria"/>
+            <xs:attribute name="faultMessageType"
+                          type="xs:QName"
+                          id="w___d7e94145-1_faultMessa"/>
+            <xs:attribute name="faultElement" type="xs:QName" id="w___d7e94146-1_faultEleme"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="catchAll"
+               type="wsbpel:tActivityContainer"
+               id="w___d7e94147-1_catchAll">
+      <xs:annotation>
+         <xs:documentation>
+				This element can contain all activities including the activities
+				compensate, compensateScope and rethrow.
+			</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:complexType name="tActivityContainer" id="w___d7e94151-1_tActivityC">
+      <xs:complexContent id="w___d7e94152-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94153-1">
+            <xs:sequence id="w___d7e94154-1">
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="eventHandlers"
+               type="wsbpel:tEventHandlers"
+               id="w___d7e94156-1_eventHandl"/>
+   <xs:complexType name="tEventHandlers" id="w___d7e94157-1_tEventHand">
+      <xs:annotation>
+         <xs:documentation>
+				XSD Authors: The child element onAlarm needs to be a Local Element Declaration, 
+				because there is another onAlarm element defined for the pick activity.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94161-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94162-1">
+            <xs:sequence id="w___d7e94163-1">
+               <xs:element ref="wsbpel:onEvent"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="w___d7e94164-1"/>
+               <xs:element name="onAlarm"
+                           type="wsbpel:tOnAlarmEvent"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="w___d7e94165-1_onAlarm"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="onEvent" type="wsbpel:tOnEvent" id="w___d7e94166-1_onEvent"/>
+   <xs:complexType name="tOnEvent" id="w___d7e94167-1_tOnEvent">
+      <xs:complexContent id="w___d7e94168-1">
+         <xs:extension base="wsbpel:tOnMsgCommon" id="w___d7e94169-1">
+            <xs:sequence id="w___d7e94170-1">
+               <xs:element ref="wsbpel:scope" minOccurs="1" id="w___d7e94171-1"/>
+            </xs:sequence>
+            <xs:attribute name="messageType"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94172-1_messageTyp"/>
+            <xs:attribute name="element"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94173-1_element"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tOnMsgCommon" id="w___d7e94174-1_tOnMsgComm">
+      <xs:annotation>
+         <xs:documentation>
+				XSD Authors: The child element correlations needs to be a Local Element Declaration, 
+				because there is another correlations element defined for the invoke activity.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94178-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94179-1">
+            <xs:sequence id="w___d7e94180-1">
+               <xs:element name="correlations"
+                           type="wsbpel:tCorrelations"
+                           minOccurs="0"
+                           id="w___d7e94181-1_correlatio"/>
+               <xs:element ref="wsbpel:fromParts" minOccurs="0" id="w___d7e94182-1"/>
+            </xs:sequence>
+            <xs:attribute name="partnerLink"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94183-1_partnerLin"/>
+            <xs:attribute name="portType"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94184-1_portType"/>
+            <xs:attribute name="operation"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94185-1_operation"/>
+            <xs:attribute name="messageExchange"
+                          type="xs:NCName"
+                          use="optional"
+                          id="w___d7e94186-1_messageExc"/>
+            <xs:attribute name="variable"
+                          type="wsbpel:BPELVariableName"
+                          use="optional"
+                          id="w___d7e94187-1_variable"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tCorrelations" id="w___d7e94188-1_tCorrelati">
+      <xs:annotation>
+         <xs:documentation>
+				XSD Authors: The child element correlation needs to be a Local Element Declaration, 
+				because there is another correlation element defined for the invoke activity.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94192-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94193-1">
+            <xs:sequence id="w___d7e94194-1">
+               <xs:element name="correlation"
+                           type="wsbpel:tCorrelation"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94195-1_correlatio"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tCorrelation" id="w___d7e94197-1_tCorrelati">
+      <xs:complexContent id="w___d7e94198-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94199-1">
+            <xs:attribute name="set"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94200-1_set"/>
+            <xs:attribute name="initiate"
+                          type="wsbpel:tInitiate"
+                          default="no"
+                          id="w___d7e94201-1_initiate"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:simpleType name="tInitiate" id="w___d7e94202-1_tInitiate">
+      <xs:restriction base="xs:string">
+         <xs:enumeration value="yes"/>
+         <xs:enumeration value="join"/>
+         <xs:enumeration value="no"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:complexType name="tOnAlarmEvent" id="w___d7e94207-1_tOnAlarmEv">
+      <xs:complexContent id="w___d7e94208-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94209-1">
+            <xs:sequence id="w___d7e94210-1">
+               <xs:choice id="w___d7e94211-1">
+                  <xs:sequence id="w___d7e94212-1">
+                     <xs:group ref="wsbpel:forOrUntilGroup" minOccurs="1"/>
+                     <xs:element ref="wsbpel:repeatEvery" minOccurs="0" id="w___d7e94214-1"/>
+                  </xs:sequence>
+                  <xs:element ref="wsbpel:repeatEvery" minOccurs="1" id="w___d7e94215-1"/>
+               </xs:choice>
+               <xs:element ref="wsbpel:scope" minOccurs="1" id="w___d7e94216-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:group name="forOrUntilGroup">
+      <xs:choice id="w___d7e94218-1">
+         <xs:element ref="wsbpel:for" minOccurs="1" id="w___d7e94219-1"/>
+         <xs:element ref="wsbpel:until" minOccurs="1" id="w___d7e94220-1"/>
+      </xs:choice>
+   </xs:group>
+   <xs:element name="for" type="wsbpel:tDuration-expr" id="w___d7e94221-1_for"/>
+   <xs:element name="until" type="wsbpel:tDeadline-expr" id="w___d7e94222-1_until"/>
+   <xs:element name="repeatEvery"
+               type="wsbpel:tDuration-expr"
+               id="w___d7e94223-1_repeatEver"/>
+   <xs:complexType name="tActivity" id="w___d7e94224-1_tActivity">
+      <xs:complexContent id="w___d7e94225-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94226-1">
+            <xs:sequence id="w___d7e94227-1">
+               <xs:element ref="wsbpel:targets" minOccurs="0" id="w___d7e94228-1"/>
+               <xs:element ref="wsbpel:sources" minOccurs="0" id="w___d7e94229-1"/>
+            </xs:sequence>
+            <xs:attribute name="name" type="xs:NCName" id="w___d7e94230-1_name"/>
+            <xs:attribute name="suppressJoinFailure"
+                          type="wsbpel:tBoolean"
+                          use="optional"
+                          id="w___d7e94231-1_suppressJo"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="targets" type="wsbpel:tTargets" id="w___d7e94232-1_targets"/>
+   <xs:complexType name="tTargets" id="w___d7e94233-1_tTargets">
+      <xs:complexContent id="w___d7e94234-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94235-1">
+            <xs:sequence id="w___d7e94236-1">
+               <xs:element ref="wsbpel:joinCondition" minOccurs="0" id="w___d7e94237-1"/>
+               <xs:element ref="wsbpel:target"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94238-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="joinCondition"
+               type="wsbpel:tCondition"
+               id="w___d7e94239-1_joinCondit"/>
+   <xs:element name="target" type="wsbpel:tTarget" id="w___d7e94241-1_target"/>
+   <xs:complexType name="tTarget" id="w___d7e94242-1_tTarget">
+      <xs:complexContent id="w___d7e94243-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94244-1">
+            <xs:attribute name="linkName"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94245-1_linkName"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="sources" type="wsbpel:tSources" id="w___d7e94246-1_sources"/>
+   <xs:complexType name="tSources" id="w___d7e94247-1_tSources">
+      <xs:complexContent id="w___d7e94248-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94249-1">
+            <xs:sequence id="w___d7e94250-1">
+               <xs:element ref="wsbpel:source"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94251-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="source" type="wsbpel:tSource" id="w___d7e94252-1_source"/>
+   <xs:complexType name="tSource" id="w___d7e94253-1_tSource">
+      <xs:complexContent id="w___d7e94254-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94255-1">
+            <xs:sequence id="w___d7e94256-1">
+               <xs:element ref="wsbpel:transitionCondition" minOccurs="0" id="w___d7e94257-1"/>
+            </xs:sequence>
+            <xs:attribute name="linkName"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94258-1_linkName"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="transitionCondition"
+               type="wsbpel:tCondition"
+               id="w___d7e94259-1_transition"/>
+   <xs:element name="assign" type="wsbpel:tAssign" id="w___d7e94260-1_assign"/>
+   <xs:complexType name="tAssign" id="w___d7e94261-1_tAssign">
+      <xs:complexContent id="w___d7e94262-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94263-1">
+            <xs:sequence id="w___d7e94264-1">
+               <xs:choice maxOccurs="unbounded" id="w___d7e94265-1">
+                  <xs:element ref="wsbpel:copy" minOccurs="1" id="w___d7e94266-1"/>
+                  <xs:element ref="wsbpel:extensionAssignOperation"
+                              minOccurs="1"
+                              id="w___d7e94267-1"/>
+               </xs:choice>
+            </xs:sequence>
+            <xs:attribute name="validate"
+                          type="wsbpel:tBoolean"
+                          use="optional"
+                          default="no"
+                          id="w___d7e94268-1_validate"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="copy" type="wsbpel:tCopy" id="w___d7e94269-1_copy"/>
+   <xs:complexType name="tCopy" id="w___d7e94270-1_tCopy">
+      <xs:complexContent id="w___d7e94271-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94272-1">
+            <xs:sequence id="w___d7e94273-1">
+               <xs:element ref="wsbpel:from" minOccurs="1" id="w___d7e94274-1"/>
+               <xs:element ref="wsbpel:to" minOccurs="1" id="w___d7e94275-1"/>
+            </xs:sequence>
+            <xs:attribute name="keepSrcElementName"
+                          type="wsbpel:tBoolean"
+                          use="optional"
+                          default="no"
+                          id="w___d7e94276-1_keepSrcEle"/>
+            <xs:attribute name="ignoreMissingFromData"
+                          type="wsbpel:tBoolean"
+                          use="optional"
+                          default="no"
+                          id="w___d7e94277-1_ignoreMiss"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="from" type="wsbpel:tFrom" id="w___d7e94279-1_from"/>
+   <xs:complexType name="tFrom" mixed="true" id="w___d7e94280-1_tFrom">
+      <xs:sequence id="w___d7e94281-1">
+         <xs:element ref="wsbpel:documentation"
+                     minOccurs="0"
+                     maxOccurs="unbounded"
+                     id="w___d7e94282-1"/>
+         <xs:any namespace="##other"
+                 processContents="lax"
+                 minOccurs="0"
+                 maxOccurs="unbounded"/>
+         <xs:choice minOccurs="0" id="w___d7e94284-1">
+            <xs:element ref="wsbpel:literal" minOccurs="1" id="w___d7e94285-1"/>
+            <xs:element ref="wsbpel:query" minOccurs="1" id="w___d7e94286-1"/>
+         </xs:choice>
+      </xs:sequence>
+      <xs:attribute name="expressionLanguage"
+                    type="xs:anyURI"
+                    id="w___d7e94287-1_expression"/>
+      <xs:attribute name="variable"
+                    type="wsbpel:BPELVariableName"
+                    id="w___d7e94288-1_variable"/>
+      <xs:attribute name="part" type="xs:NCName" id="w___d7e94289-1_part"/>
+      <xs:attribute name="property" type="xs:QName" id="w___d7e94290-1_property"/>
+      <xs:attribute name="partnerLink" type="xs:NCName" id="w___d7e94291-1_partnerLin"/>
+      <xs:attribute name="endpointReference"
+                    type="wsbpel:tRoles"
+                    id="w___d7e94292-1_endpointRe"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+   <xs:element name="literal" type="wsbpel:tLiteral" id="w___d7e94294-1_literal"/>
+   <xs:complexType name="tLiteral" mixed="true" id="w___d7e94295-1_tLiteral">
+      <xs:sequence id="w___d7e94296-1">
+         <xs:any namespace="##any"
+                 processContents="lax"
+                 minOccurs="0"
+                 maxOccurs="1"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="query" type="wsbpel:tQuery" id="w___d7e94298-1_query"/>
+   <xs:complexType name="tQuery" mixed="true" id="w___d7e94299-1_tQuery">
+      <xs:sequence id="w___d7e94300-1">
+         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:attribute name="queryLanguage"
+                    type="xs:anyURI"
+                    id="w___d7e94302-1_queryLangu"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+   <xs:simpleType name="tRoles" id="w___d7e94304-1_tRoles">
+      <xs:restriction base="xs:string">
+         <xs:enumeration value="myRole"/>
+         <xs:enumeration value="partnerRole"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:element name="to" type="wsbpel:tTo" id="w___d7e94308-1_to"/>
+   <xs:complexType name="tTo" mixed="true" id="w___d7e94309-1_tTo">
+      <xs:sequence id="w___d7e94310-1">
+         <xs:element ref="wsbpel:documentation"
+                     minOccurs="0"
+                     maxOccurs="unbounded"
+                     id="w___d7e94311-1"/>
+         <xs:any namespace="##other"
+                 processContents="lax"
+                 minOccurs="0"
+                 maxOccurs="unbounded"/>
+         <xs:element ref="wsbpel:query" minOccurs="0" id="w___d7e94313-1"/>
+      </xs:sequence>
+      <xs:attribute name="expressionLanguage"
+                    type="xs:anyURI"
+                    id="w___d7e94314-1_expression"/>
+      <xs:attribute name="variable"
+                    type="wsbpel:BPELVariableName"
+                    id="w___d7e94315-1_variable"/>
+      <xs:attribute name="part" type="xs:NCName" id="w___d7e94316-1_part"/>
+      <xs:attribute name="property" type="xs:QName" id="w___d7e94317-1_property"/>
+      <xs:attribute name="partnerLink" type="xs:NCName" id="w___d7e94318-1_partnerLin"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+   <xs:element name="extensionAssignOperation"
+               type="wsbpel:tExtensionAssignOperation"
+               id="w___d7e94320-1_extensionA"/>
+   <xs:complexType name="tExtensionAssignOperation" id="w___d7e94321-1_tExtension">
+      <xs:complexContent id="w___d7e94322-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94323-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="compensate"
+               type="wsbpel:tCompensate"
+               id="w___d7e94325-1_compensate"/>
+   <xs:complexType name="tCompensate" id="w___d7e94326-1_tCompensat">
+      <xs:complexContent id="w___d7e94327-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94328-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="compensateScope"
+               type="wsbpel:tCompensateScope"
+               id="w___d7e94329-1_compensate"/>
+   <xs:complexType name="tCompensateScope" id="w___d7e94330-1_tCompensat">
+      <xs:complexContent id="w___d7e94331-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94332-1">
+            <xs:attribute name="target"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94333-1_target"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="empty" type="wsbpel:tEmpty" id="w___d7e94334-1_empty"/>
+   <xs:complexType name="tEmpty" id="w___d7e94335-1_tEmpty">
+      <xs:complexContent id="w___d7e94336-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94337-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="exit" type="wsbpel:tExit" id="w___d7e94338-1_exit"/>
+   <xs:complexType name="tExit" id="w___d7e94339-1_tExit">
+      <xs:complexContent id="w___d7e94340-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94341-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="extensionActivity"
+               type="wsbpel:tExtensionActivity"
+               id="w___d7e94342-1_extensionA"/>
+   <xs:complexType name="tExtensionActivity" id="w___d7e94343-1_tExtension">
+      <xs:sequence id="w___d7e94344-1">
+         <xs:any namespace="##other" processContents="lax"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="flow" type="wsbpel:tFlow" id="w___d7e94346-1_flow"/>
+   <xs:complexType name="tFlow" id="w___d7e94348-1_tFlow">
+      <xs:complexContent id="w___d7e94349-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94350-1">
+            <xs:sequence id="w___d7e94351-1">
+               <xs:element ref="wsbpel:links" minOccurs="0" id="w___d7e94352-1"/>
+               <xs:group ref="wsbpel:activity" minOccurs="1" maxOccurs="unbounded"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="links" type="wsbpel:tLinks" id="w___d7e94354-1_links"/>
+   <xs:complexType name="tLinks" id="w___d7e94355-1_tLinks">
+      <xs:complexContent id="w___d7e94356-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94357-1">
+            <xs:sequence id="w___d7e94358-1">
+               <xs:element ref="wsbpel:link"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94359-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="link" type="wsbpel:tLink" id="w___d7e94360-1_link"/>
+   <xs:complexType name="tLink" id="w___d7e94361-1_tLink">
+      <xs:complexContent id="w___d7e94362-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94363-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94364-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="forEach" type="wsbpel:tForEach" id="w___d7e94365-1_forEach"/>
+   <xs:complexType name="tForEach" id="w___d7e94366-1_tForEach">
+      <xs:complexContent id="w___d7e94367-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94368-1">
+            <xs:sequence id="w___d7e94369-1">
+               <xs:element ref="wsbpel:startCounterValue" minOccurs="1" id="w___d7e94370-1"/>
+               <xs:element ref="wsbpel:finalCounterValue" minOccurs="1" id="w___d7e94371-1"/>
+               <xs:element ref="wsbpel:completionCondition" minOccurs="0" id="w___d7e94372-1"/>
+               <xs:element ref="wsbpel:scope" minOccurs="1" id="w___d7e94373-1"/>
+            </xs:sequence>
+            <xs:attribute name="counterName"
+                          type="wsbpel:BPELVariableName"
+                          use="required"
+                          id="w___d7e94374-1_counterNam"/>
+            <xs:attribute name="parallel"
+                          type="wsbpel:tBoolean"
+                          use="required"
+                          id="w___d7e94375-1_parallel"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="startCounterValue"
+               type="wsbpel:tExpression"
+               id="w___d7e94376-1_startCount"/>
+   <xs:element name="finalCounterValue"
+               type="wsbpel:tExpression"
+               id="w___d7e94377-1_finalCount"/>
+   <xs:element name="completionCondition"
+               type="wsbpel:tCompletionCondition"
+               id="w___d7e94378-1_completion"/>
+   <xs:complexType name="tCompletionCondition" id="w___d7e94379-1_tCompletio">
+      <xs:complexContent id="w___d7e94380-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94381-1">
+            <xs:sequence id="w___d7e94382-1">
+               <xs:element ref="wsbpel:branches" minOccurs="0" id="w___d7e94383-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="branches"
+               type="wsbpel:tBranches"
+               id="w___d7e94385-1_branches"/>
+   <xs:complexType name="tBranches" id="w___d7e94386-1_tBranches">
+      <xs:complexContent id="w___d7e94387-1">
+         <xs:extension base="wsbpel:tExpression" id="w___d7e94388-1">
+            <xs:attribute name="successfulBranchesOnly"
+                          type="wsbpel:tBoolean"
+                          default="no"
+                          id="w___d7e94389-1_successful"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="if" type="wsbpel:tIf" id="w___d7e94390-1_if"/>
+   <xs:complexType name="tIf" id="w___d7e94391-1_tIf">
+      <xs:complexContent id="w___d7e94392-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94393-1">
+            <xs:sequence id="w___d7e94394-1">
+               <xs:element ref="wsbpel:condition" minOccurs="1" id="w___d7e94395-1"/>
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+               <xs:element ref="wsbpel:elseif"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="w___d7e94397-1"/>
+               <xs:element ref="wsbpel:else" minOccurs="0" id="w___d7e94398-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="elseif" type="wsbpel:tElseif" id="w___d7e94399-1_elseif"/>
+   <xs:complexType name="tElseif" id="w___d7e94400-1_tElseif">
+      <xs:complexContent id="w___d7e94401-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94402-1">
+            <xs:sequence id="w___d7e94403-1">
+               <xs:element ref="wsbpel:condition" minOccurs="1" id="w___d7e94404-1"/>
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="else"
+               type="wsbpel:tActivityContainer"
+               id="w___d7e94406-1_else"/>
+   <xs:element name="invoke" type="wsbpel:tInvoke" id="w___d7e94407-1_invoke"/>
+   <xs:complexType name="tInvoke" id="w___d7e94408-1_tInvoke">
+      <xs:annotation>
+         <xs:documentation>
+				XSD Authors: The child element correlations needs to be a Local Element Declaration, 
+				because there is another correlations element defined for the non-invoke activities.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94412-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94413-1">
+            <xs:sequence id="w___d7e94414-1">
+               <xs:element name="correlations"
+                           type="wsbpel:tCorrelationsWithPattern"
+                           minOccurs="0"
+                           id="w___d7e94415-1_correlatio"/>
+               <xs:element ref="wsbpel:catch"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="w___d7e94416-1"/>
+               <xs:element ref="wsbpel:catchAll" minOccurs="0" id="w___d7e94417-1"/>
+               <xs:element ref="wsbpel:compensationHandler" minOccurs="0" id="w___d7e94418-1"/>
+               <xs:element ref="wsbpel:toParts" minOccurs="0" id="w___d7e94419-1"/>
+               <xs:element ref="wsbpel:fromParts" minOccurs="0" id="w___d7e94420-1"/>
+            </xs:sequence>
+            <xs:attribute name="partnerLink"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94421-1_partnerLin"/>
+            <xs:attribute name="portType"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94422-1_portType"/>
+            <xs:attribute name="operation"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94423-1_operation"/>
+            <xs:attribute name="inputVariable"
+                          type="wsbpel:BPELVariableName"
+                          use="optional"
+                          id="w___d7e94424-1_inputVaria"/>
+            <xs:attribute name="outputVariable"
+                          type="wsbpel:BPELVariableName"
+                          use="optional"
+                          id="w___d7e94425-1_outputVari"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tCorrelationsWithPattern" id="w___d7e94426-1_tCorrelati">
+      <xs:annotation>
+         <xs:documentation>
+				XSD Authors: The child element correlation needs to be a Local Element Declaration, 
+				because there is another correlation element defined for the non-invoke activities.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94430-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94431-1">
+            <xs:sequence id="w___d7e94432-1">
+               <xs:element name="correlation"
+                           type="wsbpel:tCorrelationWithPattern"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94433-1_correlatio"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tCorrelationWithPattern" id="w___d7e94434-1_tCorrelati">
+      <xs:complexContent id="w___d7e94435-1">
+         <xs:extension base="wsbpel:tCorrelation" id="w___d7e94436-1">
+            <xs:attribute name="pattern" type="wsbpel:tPattern" id="w___d7e94437-1_pattern"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:simpleType name="tPattern" id="w___d7e94439-1_tPattern">
+      <xs:restriction base="xs:string">
+         <xs:enumeration value="request"/>
+         <xs:enumeration value="response"/>
+         <xs:enumeration value="request-response"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:element name="fromParts"
+               type="wsbpel:tFromParts"
+               id="w___d7e94444-1_fromParts"/>
+   <xs:complexType name="tFromParts" id="w___d7e94445-1_tFromParts">
+      <xs:complexContent id="w___d7e94446-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94447-1">
+            <xs:sequence id="w___d7e94448-1">
+               <xs:element ref="wsbpel:fromPart"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94449-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="fromPart"
+               type="wsbpel:tFromPart"
+               id="w___d7e94450-1_fromPart"/>
+   <xs:complexType name="tFromPart" id="w___d7e94451-1_tFromPart">
+      <xs:complexContent id="w___d7e94452-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94453-1">
+            <xs:attribute name="part"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94454-1_part"/>
+            <xs:attribute name="toVariable"
+                          type="wsbpel:BPELVariableName"
+                          use="required"
+                          id="w___d7e94455-1_toVariable"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="toParts" type="wsbpel:tToParts" id="w___d7e94456-1_toParts"/>
+   <xs:complexType name="tToParts" id="w___d7e94457-1_tToParts">
+      <xs:complexContent id="w___d7e94458-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94459-1">
+            <xs:sequence id="w___d7e94460-1">
+               <xs:element ref="wsbpel:toPart"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94461-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="toPart" type="wsbpel:tToPart" id="w___d7e94462-1_toPart"/>
+   <xs:complexType name="tToPart" id="w___d7e94463-1_tToPart">
+      <xs:complexContent id="w___d7e94464-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94465-1">
+            <xs:attribute name="part"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94466-1_part"/>
+            <xs:attribute name="fromVariable"
+                          type="wsbpel:BPELVariableName"
+                          use="required"
+                          id="w___d7e94467-1_fromVariab"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="pick" type="wsbpel:tPick" id="w___d7e94468-1_pick"/>
+   <xs:complexType name="tPick" id="w___d7e94469-1_tPick">
+      <xs:annotation>
+         <xs:documentation>
+				XSD Authors: The child element onAlarm needs to be a Local Element Declaration, 
+				because there is another onAlarm element defined for event handlers.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94473-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94474-1">
+            <xs:sequence id="w___d7e94475-1">
+               <xs:element ref="wsbpel:onMessage"
+                           minOccurs="1"
+                           maxOccurs="unbounded"
+                           id="w___d7e94476-1"/>
+               <xs:element name="onAlarm"
+                           type="wsbpel:tOnAlarmPick"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="w___d7e94477-1_onAlarm"/>
+            </xs:sequence>
+            <xs:attribute name="createInstance"
+                          type="wsbpel:tBoolean"
+                          default="no"
+                          id="w___d7e94478-1_createInst"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="onMessage"
+               type="wsbpel:tOnMessage"
+               id="w___d7e94480-1_onMessage"/>
+   <xs:complexType name="tOnMessage" id="w___d7e94481-1_tOnMessage">
+      <xs:complexContent id="w___d7e94482-1">
+         <xs:extension base="wsbpel:tOnMsgCommon" id="w___d7e94483-1">
+            <xs:sequence id="w___d7e94484-1">
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tOnAlarmPick" id="w___d7e94486-1_tOnAlarmPi">
+      <xs:complexContent id="w___d7e94487-1">
+         <xs:extension base="wsbpel:tExtensibleElements" id="w___d7e94488-1">
+            <xs:sequence id="w___d7e94489-1">
+               <xs:group ref="wsbpel:forOrUntilGroup" minOccurs="1"/>
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="receive" type="wsbpel:tReceive" id="w___d7e94492-1_receive"/>
+   <xs:complexType name="tReceive" id="w___d7e94493-1_tReceive">
+      <xs:annotation>
+         <xs:documentation>
+				XSD Authors: The child element correlations needs to be a Local Element Declaration, 
+				because there is another correlations element defined for the invoke activity.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94497-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94498-1">
+            <xs:sequence id="w___d7e94499-1">
+               <xs:element name="correlations"
+                           type="wsbpel:tCorrelations"
+                           minOccurs="0"
+                           id="w___d7e94500-1_correlatio"/>
+               <xs:element ref="wsbpel:fromParts" minOccurs="0" id="w___d7e94501-1"/>
+            </xs:sequence>
+            <xs:attribute name="partnerLink"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94502-1_partnerLin"/>
+            <xs:attribute name="portType"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94503-1_portType"/>
+            <xs:attribute name="operation"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94504-1_operation"/>
+            <xs:attribute name="variable"
+                          type="wsbpel:BPELVariableName"
+                          use="optional"
+                          id="w___d7e94505-1_variable"/>
+            <xs:attribute name="createInstance"
+                          type="wsbpel:tBoolean"
+                          default="no"
+                          id="w___d7e94506-1_createInst"/>
+            <xs:attribute name="messageExchange"
+                          type="xs:NCName"
+                          use="optional"
+                          id="w___d7e94507-1_messageExc"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="repeatUntil"
+               type="wsbpel:tRepeatUntil"
+               id="w___d7e94508-1_repeatUnti"/>
+   <xs:complexType name="tRepeatUntil" id="w___d7e94509-1_tRepeatUnt">
+      <xs:complexContent id="w___d7e94510-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94511-1">
+            <xs:sequence id="w___d7e94512-1">
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+               <xs:element ref="wsbpel:condition" minOccurs="1" id="w___d7e94514-1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="reply" type="wsbpel:tReply" id="w___d7e94515-1_reply"/>
+   <xs:complexType name="tReply" id="w___d7e94516-1_tReply">
+      <xs:annotation>
+         <xs:documentation>
+				XSD Authors: The child element correlations needs to be a Local Element Declaration, 
+				because there is another correlations element defined for the invoke activity.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94520-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94521-1">
+            <xs:sequence id="w___d7e94522-1">
+               <xs:element name="correlations"
+                           type="wsbpel:tCorrelations"
+                           minOccurs="0"
+                           id="w___d7e94523-1_correlatio"/>
+               <xs:element ref="wsbpel:toParts" minOccurs="0" id="w___d7e94524-1"/>
+            </xs:sequence>
+            <xs:attribute name="partnerLink"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94525-1_partnerLin"/>
+            <xs:attribute name="portType"
+                          type="xs:QName"
+                          use="optional"
+                          id="w___d7e94526-1_portType"/>
+            <xs:attribute name="operation"
+                          type="xs:NCName"
+                          use="required"
+                          id="w___d7e94527-1_operation"/>
+            <xs:attribute name="variable"
+                          type="wsbpel:BPELVariableName"
+                          use="optional"
+                          id="w___d7e94528-1_variable"/>
+            <xs:attribute name="faultName" type="xs:QName" id="w___d7e94529-1_faultName"/>
+            <xs:attribute name="messageExchange"
+                          type="xs:NCName"
+                          use="optional"
+                          id="w___d7e94530-1_messageExc"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="rethrow" type="wsbpel:tRethrow" id="w___d7e94531-1_rethrow"/>
+   <xs:complexType name="tRethrow" id="w___d7e94532-1_tRethrow">
+      <xs:complexContent id="w___d7e94533-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94534-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="scope" type="wsbpel:tScope" id="w___d7e94536-1_scope"/>
+   <xs:complexType name="tScope" id="w___d7e94537-1_tScope">
+      <xs:annotation>
+         <xs:documentation>
+				There is no schema-level default for "exitOnStandardFault"
+				at "scope". Because, it will inherit default from enclosing scope
+				or process.
+			</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="w___d7e94541-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94542-1">
+            <xs:sequence id="w___d7e94543-1">
+               <xs:element ref="wsbpel:partnerLinks" minOccurs="0" id="w___d7e94544-1"/>
+               <xs:element ref="wsbpel:messageExchanges" minOccurs="0" id="w___d7e94545-1"/>
+               <xs:element ref="wsbpel:variables" minOccurs="0" id="w___d7e94546-1"/>
+               <xs:element ref="wsbpel:correlationSets" minOccurs="0" id="w___d7e94547-1"/>
+               <xs:element ref="wsbpel:faultHandlers" minOccurs="0" id="w___d7e94548-1"/>
+               <xs:element ref="wsbpel:compensationHandler" minOccurs="0" id="w___d7e94549-1"/>
+               <xs:element ref="wsbpel:terminationHandler" minOccurs="0" id="w___d7e94550-1"/>
+               <xs:element ref="wsbpel:eventHandlers" minOccurs="0" id="w___d7e94551-1"/>
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+            </xs:sequence>
+            <xs:attribute name="isolated"
+                          type="wsbpel:tBoolean"
+                          default="no"
+                          id="w___d7e94553-1_isolated"/>
+            <xs:attribute name="exitOnStandardFault"
+                          type="wsbpel:tBoolean"
+                          id="w___d7e94554-1_exitOnStan"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="compensationHandler"
+               type="wsbpel:tActivityContainer"
+               id="w___d7e94555-1_compensati">
+      <xs:annotation>
+         <xs:documentation>
+				This element can contain all activities including the activities
+				compensate and compensateScope.
+			</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:element name="terminationHandler"
+               type="wsbpel:tActivityContainer"
+               id="w___d7e94559-1_terminatio">
+      <xs:annotation>
+         <xs:documentation>
+				This element can contain all activities including the activities
+				compensate and compensateScope.
+			</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:element name="sequence"
+               type="wsbpel:tSequence"
+               id="w___d7e94563-1_sequence"/>
+   <xs:complexType name="tSequence" id="w___d7e94564-1_tSequence">
+      <xs:complexContent id="w___d7e94565-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94566-1">
+            <xs:sequence id="w___d7e94567-1">
+               <xs:group ref="wsbpel:activity" minOccurs="1" maxOccurs="unbounded"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="throw" type="wsbpel:tThrow" id="w___d7e94569-1_throw"/>
+   <xs:complexType name="tThrow" id="w___d7e94570-1_tThrow">
+      <xs:complexContent id="w___d7e94571-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94572-1">
+            <xs:attribute name="faultName"
+                          type="xs:QName"
+                          use="required"
+                          id="w___d7e94573-1_faultName"/>
+            <xs:attribute name="faultVariable"
+                          type="wsbpel:BPELVariableName"
+                          id="w___d7e94574-1_faultVaria"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="validate"
+               type="wsbpel:tValidate"
+               id="w___d7e94575-1_validate"/>
+   <xs:complexType name="tValidate" id="w___d7e94576-1_tValidate">
+      <xs:complexContent id="w___d7e94577-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94578-1">
+            <xs:attribute name="variables"
+                          use="required"
+                          type="wsbpel:BPELVariableNames"
+                          id="w___d7e94579-1_variables"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:simpleType name="BPELVariableNames" id="w___d7e94580-1_BPELVariab">
+      <xs:restriction>
+         <xs:simpleType id="w___d7e94582-1">
+            <xs:list itemType="wsbpel:BPELVariableName"/>
+         </xs:simpleType>
+         <xs:minLength value="1"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:element name="wait" type="wsbpel:tWait" id="w___d7e94586-1_wait"/>
+   <xs:complexType name="tWait" id="w___d7e94587-1_tWait">
+      <xs:complexContent id="w___d7e94588-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94589-1">
+            <xs:choice id="w___d7e94590-1">
+               <xs:element ref="wsbpel:for" minOccurs="1" id="w___d7e94591-1"/>
+               <xs:element ref="wsbpel:until" minOccurs="1" id="w___d7e94592-1"/>
+            </xs:choice>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="while" type="wsbpel:tWhile" id="w___d7e94593-1_while"/>
+   <xs:complexType name="tWhile" id="w___d7e94594-1_tWhile">
+      <xs:complexContent id="w___d7e94595-1">
+         <xs:extension base="wsbpel:tActivity" id="w___d7e94596-1">
+            <xs:sequence id="w___d7e94597-1">
+               <xs:element ref="wsbpel:condition" minOccurs="1" id="w___d7e94598-1"/>
+               <xs:group ref="wsbpel:activity" minOccurs="1"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tExpression" mixed="true" id="w___d7e94600-1_tExpressio">
+      <xs:sequence id="w___d7e94601-1">
+         <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
+      </xs:sequence>
+      <xs:attribute name="expressionLanguage"
+                    type="xs:anyURI"
+                    id="w___d7e94603-1_expression"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+   <xs:complexType name="tCondition" id="w___d7e94605-1_tCondition">
+      <xs:complexContent mixed="true" id="w___d7e94606-1">
+         <xs:extension base="wsbpel:tExpression" id="w___d7e94607-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="condition"
+               type="wsbpel:tBoolean-expr"
+               id="w___d7e94608-1_condition"/>
+   <xs:complexType name="tBoolean-expr" id="w___d7e94609-1_tBoolean__x2D__e">
+      <xs:complexContent mixed="true" id="w___d7e94610-1">
+         <xs:extension base="wsbpel:tExpression" id="w___d7e94611-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tDuration-expr" id="w___d7e94612-1_tDuration__x2D__">
+      <xs:complexContent mixed="true" id="w___d7e94613-1">
+         <xs:extension base="wsbpel:tExpression" id="w___d7e94614-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tDeadline-expr" id="w___d7e94615-1_tDeadline__x2D__">
+      <xs:complexContent mixed="true" id="w___d7e94616-1">
+         <xs:extension base="wsbpel:tExpression" id="w___d7e94617-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:simpleType name="tBoolean" id="w___d7e94618-1_tBoolean">
+      <xs:restriction base="xs:string">
+         <xs:enumeration value="yes"/>
+         <xs:enumeration value="no"/>
+      </xs:restriction>
+   </xs:simpleType>
+</xs:schema>

+ 167 - 0
SE/schema/SystemObjects/wsa.xsd

@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ 
+Legal Disclaimer
+
+The presentation, distribution or other dissemination of the information 
+contained in this document is not a license, either expressly or impliedly, 
+to any intellectual property owned or controlled by BEA or IBM or Microsoft
+and\or any other third party.  BEA and IBM and Microsoft and\or any other
+third party may have patents, patent applications, trademarks, copyrights, 
+or other intellectual property rights covering subject matter in this 
+document.  The furnishing of this document does not give you any license 
+to BEA's and IBM's and Microsoft's or any other third party's patents, 
+trademarks, copyrights, or other intellectual property.
+
+This document and the information contained herein is provided on an "AS IS"
+basis and to the maximum extent permitted by applicable law, BEA and IBM 
+and Microsoft provide the document AS IS AND WITH ALL FAULTS, and hereby 
+disclaims all other warranties and conditions, either express, implied or 
+statutory, including, but not limited to, any (if any) implied warranties, 
+duties or conditions of merchantability, of fitness for a particular 
+purpose, of accuracy or completeness of responses, of results, of 
+workmanlike effort, of lack of viruses, and of lack of negligence, all with
+regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF 
+TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR 
+NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE 
+DOCUMENT.
+
+IN NO EVENT WILL BEA or IBM or MICROSOFT BE LIABLE TO ANY OTHER PARTY FOR THE
+COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, 
+LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL 
+DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY 
+WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR 
+NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
+
+Copyright Notice
+
+Copyright 2003,2004 BEA Systems Inc. and IBM Corporation and Microsoft Corporation. All rights reserved.
+
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           targetNamespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"
+           elementFormDefault="qualified"
+           blockDefault="#all"
+           vc:minVersion="1.1"><!-- //////////////////// WS-Addressing //////////////////// --><!-- Endpoint reference -->
+   <xs:element name="EndpointReference"
+               type="wsa:EndpointReferenceType"
+               id="___d15e122089-1_EndpointRe"/>
+   <xs:complexType name="EndpointReferenceType" id="___d15e122090-1_EndpointRe">
+      <xs:sequence id="___d15e122091-1">
+         <xs:element name="Address"
+                     type="wsa:AttributedURI"
+                     id="___d15e122092-1_Address"/>
+         <xs:element name="ReferenceProperties"
+                     type="wsa:ReferencePropertiesType"
+                     minOccurs="0"
+                     id="___d15e122093-1_ReferenceP"/>
+         <xs:element name="PortType"
+                     type="wsa:AttributedQName"
+                     minOccurs="0"
+                     id="___d15e122094-1_PortType"/>
+         <xs:element name="ServiceName"
+                     type="wsa:ServiceNameType"
+                     minOccurs="0"
+                     id="___d15e122095-1_ServiceNam"/>
+         <xs:any namespace="##other"
+                 processContents="lax"
+                 minOccurs="0"
+                 maxOccurs="unbounded">
+            <xs:annotation>
+               <xs:documentation>
+					 If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
+					</xs:documentation>
+            </xs:annotation>
+         </xs:any>
+      </xs:sequence>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+   <xs:complexType name="ReferencePropertiesType" id="___d15e122101-1_ReferenceP">
+      <xs:sequence id="___d15e122102-1">
+         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:complexType name="ServiceNameType" id="___d15e122104-1_ServiceNam">
+      <xs:simpleContent>
+         <xs:extension base="xs:QName" id="___d15e122106-1">
+            <xs:attribute name="PortName" type="xs:NCName" id="___d15e122107-1_PortName"/>
+            <xs:anyAttribute namespace="##other" processContents="lax"/>
+         </xs:extension>
+      </xs:simpleContent>
+   </xs:complexType>
+   <!-- Message information header blocks -->
+   <xs:element name="MessageID"
+               type="wsa:AttributedURI"
+               id="___d15e122110-1_MessageID"/>
+   <xs:element name="RelatesTo"
+               type="wsa:Relationship"
+               id="___d15e122111-1_RelatesTo"/>
+   <xs:element name="To" type="wsa:AttributedURI" id="___d15e122112-1_To"/>
+   <xs:element name="Action" type="wsa:AttributedURI" id="___d15e122113-1_Action"/>
+   <xs:element name="From"
+               type="wsa:EndpointReferenceType"
+               id="___d15e122115-1_From"/>
+   <xs:element name="ReplyTo"
+               type="wsa:EndpointReferenceType"
+               id="___d15e122116-1_ReplyTo"/>
+   <xs:element name="FaultTo"
+               type="wsa:EndpointReferenceType"
+               id="___d15e122117-1_FaultTo"/>
+   <xs:complexType name="Relationship" id="___d15e122118-1_Relationsh">
+      <xs:simpleContent>
+         <xs:extension base="xs:anyURI" id="___d15e122120-1">
+            <xs:attribute name="RelationshipType"
+                          type="xs:QName"
+                          use="optional"
+                          id="___d15e122121-1_Relationsh"/>
+            <xs:anyAttribute namespace="##other" processContents="lax"/>
+         </xs:extension>
+      </xs:simpleContent>
+   </xs:complexType>
+   <xs:simpleType name="RelationshipTypeValues" id="___d15e122123-1_Relationsh">
+      <xs:restriction base="xs:QName">
+         <xs:enumeration value="wsa:Reply"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:element name="ReplyAfter" id="___d15e122126-1_ReplyAfter"/>
+   <xs:complexType name="ReplyAfterType" id="___d15e122127-1_ReplyAfter">
+      <xs:simpleContent>
+         <xs:extension base="xs:nonNegativeInteger" id="___d15e122129-1">
+            <xs:anyAttribute namespace="##other"/>
+         </xs:extension>
+      </xs:simpleContent>
+   </xs:complexType>
+   <xs:simpleType name="FaultSubcodeValues" id="___d15e122131-1_FaultSubco">
+      <xs:restriction base="xs:QName">
+         <xs:enumeration value="wsa:InvalidMessageInformationHeader"/>
+         <xs:enumeration value="wsa:MessageInformationHeaderRequired"/>
+         <xs:enumeration value="wsa:DestinationUnreachable"/>
+         <xs:enumeration value="wsa:ActionNotSupported"/>
+         <xs:enumeration value="wsa:EndpointUnavailable"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:attribute name="Action" type="xs:anyURI" id="___d15e122138-1_Action"/>
+   <!-- Common declarations and definitions -->
+   <xs:complexType name="AttributedQName" id="___d15e122140-1_Attributed">
+      <xs:simpleContent>
+         <xs:extension base="xs:QName" id="___d15e122142-1">
+            <xs:anyAttribute namespace="##other" processContents="lax"/>
+         </xs:extension>
+      </xs:simpleContent>
+   </xs:complexType>
+   <xs:complexType name="AttributedURI" id="___d15e122145-1_Attributed">
+      <xs:simpleContent>
+         <xs:extension base="xs:anyURI" id="___d15e122147-1">
+            <xs:anyAttribute namespace="##other" processContents="lax"/>
+         </xs:extension>
+      </xs:simpleContent>
+   </xs:complexType>
+</xs:schema>

+ 412 - 0
SE/schema/SystemObjects/wsdl.xsd

@@ -0,0 +1,412 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ 
+Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
+All Rights Reserved
+
+License for WSDL Schema Files
+
+The Authors grant permission to copy and distribute the WSDL Schema 
+Files in any medium without fee or royalty as long as this notice and 
+license are distributed with them.  The originals of these files can 
+be located at:
+
+http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
+
+THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS 
+OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT 
+LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 
+NON-INFRINGEMENT OR TITLE.  THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, 
+INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR 
+RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
+
+The name and trademarks of the Authors may NOT be used in any manner, 
+including advertising or publicity pertaining to these files or any program 
+or service that uses these files, written prior permission.  Title to copyright 
+in these files will at all times remain with the Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+
+
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           targetNamespace="http://schemas.xmlsoap.org/wsdl/"
+           elementFormDefault="qualified"
+           vc:minVersion="1.1">
+   <xs:complexType mixed="true" name="tDocumentation" id="___d15e122152-1_tDocumenta">
+      <xs:sequence id="___d15e122153-1">
+         <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:complexType name="tDocumented" id="___d15e122155-1_tDocumente">
+      <xs:annotation>
+         <xs:documentation>
+      This type is extended by  component types to allow them to be documented
+      </xs:documentation>
+      </xs:annotation>
+      <xs:sequence id="___d15e122159-1">
+         <xs:element name="documentation"
+                     type="wsdl:tDocumentation"
+                     minOccurs="0"
+                     id="___d15e122160-1_documentat"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:complexType name="tExtensibleAttributesDocumented"
+                   abstract="true"
+                   id="___d15e122161-1_tExtensibl">
+      <xs:complexContent id="___d15e122162-1">
+         <xs:extension base="wsdl:tDocumented" id="___d15e122163-1">
+            <xs:annotation>
+               <xs:documentation>
+          This type is extended by component types to allow attributes from other namespaces to be added.
+          </xs:documentation>
+            </xs:annotation>
+            <xs:anyAttribute namespace="##other" processContents="lax"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tExtensibleDocumented"
+                   abstract="true"
+                   id="___d15e122168-1_tExtensibl">
+      <xs:complexContent id="___d15e122169-1">
+         <xs:extension base="wsdl:tDocumented" id="___d15e122170-1">
+            <xs:annotation>
+               <xs:documentation>
+          This type is extended by component types to allow elements from other namespaces to be added.
+          </xs:documentation>
+            </xs:annotation>
+            <xs:sequence id="___d15e122174-1">
+               <xs:any namespace="##other"
+                       minOccurs="0"
+                       maxOccurs="unbounded"
+                       processContents="lax"/>
+            </xs:sequence>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="definitions"
+               type="wsdl:tDefinitions"
+               id="___d15e122176-1_definition">
+      <xs:key name="message">
+         <xs:selector xpath="wsdl:message"/>
+         <xs:field xpath="@name"/>
+      </xs:key>
+      <xs:key name="portType">
+         <xs:selector xpath="wsdl:portType"/>
+         <xs:field xpath="@name"/>
+      </xs:key>
+      <xs:key name="binding">
+         <xs:selector xpath="wsdl:binding"/>
+         <xs:field xpath="@name"/>
+      </xs:key>
+      <xs:key name="service">
+         <xs:selector xpath="wsdl:service"/>
+         <xs:field xpath="@name"/>
+      </xs:key>
+      <xs:key name="import">
+         <xs:selector xpath="wsdl:import"/>
+         <xs:field xpath="@namespace"/>
+      </xs:key>
+   </xs:element>
+   <xs:group name="anyTopLevelOptionalElement">
+      <xs:annotation>
+         <xs:documentation>
+      Any top level optional element allowed to appear more then once - any child of definitions element except wsdl:types. Any extensibility element is allowed in any place.
+      </xs:documentation>
+      </xs:annotation>
+      <xs:choice id="___d15e122196-1">
+         <xs:element name="import" type="wsdl:tImport" id="___d15e122197-1_import"/>
+         <xs:element name="types" type="wsdl:tTypes" id="___d15e122198-1_types"/>
+         <xs:element name="message" type="wsdl:tMessage" id="___d15e122199-1_message">
+            <xs:unique name="part">
+               <xs:selector xpath="wsdl:part"/>
+               <xs:field xpath="@name"/>
+            </xs:unique>
+         </xs:element>
+         <xs:element name="portType" type="wsdl:tPortType" id="___d15e122203-1_portType"/>
+         <xs:element name="binding" type="wsdl:tBinding" id="___d15e122204-1_binding"/>
+         <xs:element name="service" type="wsdl:tService" id="___d15e122205-1_service">
+            <xs:unique name="port">
+               <xs:selector xpath="wsdl:port"/>
+               <xs:field xpath="@name"/>
+            </xs:unique>
+         </xs:element>
+      </xs:choice>
+   </xs:group>
+   <xs:complexType name="tDefinitions" id="___d15e122209-1_tDefinitio">
+      <xs:complexContent id="___d15e122210-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122211-1">
+            <xs:sequence id="___d15e122212-1">
+               <xs:group ref="wsdl:anyTopLevelOptionalElement"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+            </xs:sequence>
+            <xs:attribute name="targetNamespace"
+                          type="xs:anyURI"
+                          use="optional"
+                          id="___d15e122214-1_targetName"/>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="optional"
+                          id="___d15e122215-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tImport" id="___d15e122216-1_tImport">
+      <xs:complexContent id="___d15e122217-1">
+         <xs:extension base="wsdl:tExtensibleAttributesDocumented" id="___d15e122218-1">
+            <xs:attribute name="namespace"
+                          type="xs:anyURI"
+                          use="required"
+                          id="___d15e122219-1_namespace"/>
+            <xs:attribute name="location"
+                          type="xs:anyURI"
+                          use="required"
+                          id="___d15e122220-1_location"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tTypes" id="___d15e122221-1_tTypes">
+      <xs:complexContent id="___d15e122222-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122223-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tMessage" id="___d15e122224-1_tMessage">
+      <xs:complexContent id="___d15e122225-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122226-1">
+            <xs:sequence id="___d15e122227-1">
+               <xs:element name="part"
+                           type="wsdl:tPart"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="___d15e122228-1_part"/>
+            </xs:sequence>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122229-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tPart" id="___d15e122230-1_tPart">
+      <xs:complexContent id="___d15e122231-1">
+         <xs:extension base="wsdl:tExtensibleAttributesDocumented" id="___d15e122232-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122233-1_name"/>
+            <xs:attribute name="element"
+                          type="xs:QName"
+                          use="optional"
+                          id="___d15e122234-1_element"/>
+            <xs:attribute name="type"
+                          type="xs:QName"
+                          use="optional"
+                          id="___d15e122235-1_type"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tPortType" id="___d15e122237-1_tPortType">
+      <xs:complexContent id="___d15e122238-1">
+         <xs:extension base="wsdl:tExtensibleAttributesDocumented" id="___d15e122239-1">
+            <xs:sequence id="___d15e122240-1">
+               <xs:element name="operation"
+                           type="wsdl:tOperation"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="___d15e122241-1_operation"/>
+            </xs:sequence>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122242-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tOperation" id="___d15e122243-1_tOperation">
+      <xs:complexContent id="___d15e122244-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122245-1">
+            <xs:sequence id="___d15e122246-1">
+               <xs:choice id="___d15e122247-1">
+                  <xs:group ref="wsdl:request-response-or-one-way-operation"/>
+                  <xs:group ref="wsdl:solicit-response-or-notification-operation"/>
+               </xs:choice>
+            </xs:sequence>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122250-1_name"/>
+            <xs:attribute name="parameterOrder"
+                          type="xs:NMTOKENS"
+                          use="optional"
+                          id="___d15e122251-1_parameterO"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:group name="request-response-or-one-way-operation">
+      <xs:sequence id="___d15e122253-1">
+         <xs:element name="input" type="wsdl:tParam" id="___d15e122254-1_input"/>
+         <xs:sequence minOccurs="0" id="___d15e122255-1">
+            <xs:element name="output" type="wsdl:tParam" id="___d15e122256-1_output"/>
+            <xs:element name="fault"
+                        type="wsdl:tFault"
+                        minOccurs="0"
+                        maxOccurs="unbounded"
+                        id="___d15e122257-1_fault"/>
+         </xs:sequence>
+      </xs:sequence>
+   </xs:group>
+   <xs:group name="solicit-response-or-notification-operation">
+      <xs:sequence id="___d15e122259-1">
+         <xs:element name="output" type="wsdl:tParam" id="___d15e122260-1_output"/>
+         <xs:sequence minOccurs="0" id="___d15e122261-1">
+            <xs:element name="input" type="wsdl:tParam" id="___d15e122262-1_input"/>
+            <xs:element name="fault"
+                        type="wsdl:tFault"
+                        minOccurs="0"
+                        maxOccurs="unbounded"
+                        id="___d15e122263-1_fault"/>
+         </xs:sequence>
+      </xs:sequence>
+   </xs:group>
+   <xs:complexType name="tParam" id="___d15e122264-1_tParam">
+      <xs:complexContent id="___d15e122265-1">
+         <xs:extension base="wsdl:tExtensibleAttributesDocumented" id="___d15e122266-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="optional"
+                          id="___d15e122267-1_name"/>
+            <xs:attribute name="message"
+                          type="xs:QName"
+                          use="required"
+                          id="___d15e122268-1_message"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tFault" id="___d15e122269-1_tFault">
+      <xs:complexContent id="___d15e122270-1">
+         <xs:extension base="wsdl:tExtensibleAttributesDocumented" id="___d15e122271-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122272-1_name"/>
+            <xs:attribute name="message"
+                          type="xs:QName"
+                          use="required"
+                          id="___d15e122273-1_message"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tBinding" id="___d15e122274-1_tBinding">
+      <xs:complexContent id="___d15e122275-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122276-1">
+            <xs:sequence id="___d15e122277-1">
+               <xs:element name="operation"
+                           type="wsdl:tBindingOperation"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="___d15e122278-1_operation"/>
+            </xs:sequence>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122279-1_name"/>
+            <xs:attribute name="type"
+                          type="xs:QName"
+                          use="required"
+                          id="___d15e122280-1_type"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tBindingOperationMessage" id="___d15e122281-1_tBindingOp">
+      <xs:complexContent id="___d15e122282-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122283-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="optional"
+                          id="___d15e122284-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tBindingOperationFault" id="___d15e122285-1_tBindingOp">
+      <xs:complexContent id="___d15e122286-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122287-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122288-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tBindingOperation" id="___d15e122289-1_tBindingOp">
+      <xs:complexContent id="___d15e122290-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122291-1">
+            <xs:sequence id="___d15e122292-1">
+               <xs:element name="input"
+                           type="wsdl:tBindingOperationMessage"
+                           minOccurs="0"
+                           id="___d15e122293-1_input"/>
+               <xs:element name="output"
+                           type="wsdl:tBindingOperationMessage"
+                           minOccurs="0"
+                           id="___d15e122294-1_output"/>
+               <xs:element name="fault"
+                           type="wsdl:tBindingOperationFault"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="___d15e122295-1_fault"/>
+            </xs:sequence>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122296-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tService" id="___d15e122297-1_tService">
+      <xs:complexContent id="___d15e122298-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122299-1">
+            <xs:sequence id="___d15e122300-1">
+               <xs:element name="port"
+                           type="wsdl:tPort"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="___d15e122301-1_port"/>
+            </xs:sequence>
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122302-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tPort" id="___d15e122304-1_tPort">
+      <xs:complexContent id="___d15e122305-1">
+         <xs:extension base="wsdl:tExtensibleDocumented" id="___d15e122306-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="___d15e122307-1_name"/>
+            <xs:attribute name="binding"
+                          type="xs:QName"
+                          use="required"
+                          id="___d15e122308-1_binding"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:attribute name="arrayType" type="xs:string" id="___d15e122309-1_arrayType"/>
+   <xs:attribute name="required" type="xs:boolean" id="___d15e122310-1_required"/>
+   <xs:complexType name="tExtensibilityElement"
+                   abstract="true"
+                   id="___d15e122311-1_tExtensibi">
+      <xs:attribute ref="wsdl:required" use="optional" id="___d15e122312-1"/>
+   </xs:complexType>
+</xs:schema>

+ 200 - 0
SE/schema/SystemObjects/wsdl11soap12.xsd

@@ -0,0 +1,200 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ 
+Copyright 2001 - 2006, International Business Machines Corporation and Microsoft Corporation
+All Rights Reserved
+
+License for WSDL 1.1 Binding Extension for SOAP 1.2 Schema Files
+
+The Authors grant permission to copy and distribute the WSDL 1.1 Binding Extension for SOAP 1.2 Schema Files in any medium without fee or royalty as long as this notice and license are distributed with them.  The originals of these files can be located at:
+
+http://schemas.xmlsoap.org/wsdl/soap12/wsdl11soap12.xsd
+
+THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE.  THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
+
+The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity pertaining to these files or any program or service that uses these files, written prior permission.  Title to copyright in these files will at all times remain with the Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+
+
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+           xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           targetNamespace="http://schemas.xmlsoap.org/wsdl/soap12/"
+           vc:minVersion="1.1">
+   <xs:import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
+   <xs:complexType name="tExtensibilityElementOpenAttrs"
+                   id="wso___d15e122317-1_tExtensibi">
+      <xs:complexContent id="wso___d15e122318-1">
+         <xs:extension base="wsdl:tExtensibilityElement" id="wso___d15e122319-1">
+            <xs:anyAttribute namespace="##other" processContents="lax"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="binding"
+               type="wsoap12:tBinding"
+               id="wso___d15e122321-1_binding"/>
+   <xs:complexType name="tBinding" id="wso___d15e122322-1_tBinding">
+      <xs:complexContent id="wso___d15e122323-1">
+         <xs:extension base="wsoap12:tExtensibilityElementOpenAttrs" id="wso___d15e122324-1">
+            <xs:attribute name="transport"
+                          type="xs:anyURI"
+                          use="required"
+                          id="wso___d15e122325-1_transport"/>
+            <xs:attribute name="style"
+                          type="wsoap12:tStyleChoice"
+                          use="optional"
+                          id="wso___d15e122326-1_style"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:simpleType name="tStyleChoice" id="wso___d15e122327-1_tStyleChoi">
+      <xs:restriction base="xs:string">
+         <xs:enumeration value="rpc"/>
+         <xs:enumeration value="document"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:element name="operation"
+               type="wsoap12:tOperation"
+               id="wso___d15e122331-1_operation"/>
+   <xs:complexType name="tOperation" id="wso___d15e122332-1_tOperation">
+      <xs:complexContent id="wso___d15e122333-1">
+         <xs:extension base="wsoap12:tExtensibilityElementOpenAttrs" id="wso___d15e122334-1">
+            <xs:attribute name="soapAction"
+                          type="xs:anyURI"
+                          use="optional"
+                          id="wso___d15e122335-1_soapAction"/>
+            <xs:attribute name="soapActionRequired"
+                          type="xs:boolean"
+                          use="optional"
+                          id="wso___d15e122336-1_soapAction"/>
+            <xs:attribute name="style"
+                          type="wsoap12:tStyleChoice"
+                          use="optional"
+                          id="wso___d15e122337-1_style"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="body" type="wsoap12:tBody" id="wso___d15e122338-1_body"/>
+   <xs:attributeGroup name="tBodyAttributes"><!-- The encodingStyle attribute is now a single URI, instead of a list of URIs -->
+      <xs:attribute name="encodingStyle"
+                    type="xs:anyURI"
+                    use="optional"
+                    id="wso___d15e122341-1_encodingSt"/>
+      <xs:attribute name="use"
+                    type="wsoap12:useChoice"
+                    use="optional"
+                    id="wso___d15e122342-1_use"/>
+      <xs:attribute name="namespace"
+                    type="xs:anyURI"
+                    use="optional"
+                    id="wso___d15e122343-1_namespace"/>
+   </xs:attributeGroup>
+   <xs:simpleType name="tParts" id="wso___d15e122344-1_tParts">
+      <xs:list itemType="xs:NMTOKEN"/>
+   </xs:simpleType>
+   <xs:complexType name="tBody" id="wso___d15e122346-1_tBody">
+      <xs:complexContent id="wso___d15e122347-1">
+         <xs:extension base="wsoap12:tExtensibilityElementOpenAttrs" id="wso___d15e122348-1">
+            <xs:attribute name="parts"
+                          type="wsoap12:tParts"
+                          use="optional"
+                          id="wso___d15e122349-1_parts"/>
+            <xs:attributeGroup ref="wsoap12:tBodyAttributes"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:simpleType name="useChoice" id="wso___d15e122352-1_useChoice">
+      <xs:restriction base="xs:string">
+         <xs:enumeration value="literal"/>
+         <xs:enumeration value="encoded"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:element name="fault" type="wsoap12:tFault" id="wso___d15e122356-1_fault"/>
+   <xs:complexType name="tFaultRes" abstract="true" id="wso___d15e122357-1_tFaultRes">
+      <xs:complexContent id="wso___d15e122358-1">
+         <xs:restriction base="wsoap12:tBody">
+            <xs:attribute ref="wsdl:required" use="optional" id="wso___d15e122360-1"/>
+            <xs:attribute name="parts"
+                          type="wsoap12:tParts"
+                          use="prohibited"
+                          id="wso___d15e122361-1_parts"/>
+            <xs:attributeGroup ref="wsoap12:tBodyAttributes"/>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="tFault" id="wso___d15e122363-1_tFault">
+      <xs:complexContent id="wso___d15e122364-1">
+         <xs:extension base="wsoap12:tFaultRes" id="wso___d15e122365-1">
+            <xs:attribute name="name"
+                          type="xs:NCName"
+                          use="required"
+                          id="wso___d15e122366-1_name"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="header" type="wsoap12:tHeader" id="wso___d15e122367-1_header"/>
+   <xs:attributeGroup name="tHeaderAttributes">
+      <xs:attribute name="message"
+                    type="xs:QName"
+                    use="required"
+                    id="wso___d15e122369-1_message"/>
+      <xs:attribute name="part"
+                    type="xs:NMTOKEN"
+                    use="required"
+                    id="wso___d15e122370-1_part"/>
+      <xs:attribute name="use"
+                    type="wsoap12:useChoice"
+                    use="required"
+                    id="wso___d15e122371-1_use"/>
+      <xs:attribute name="encodingStyle"
+                    type="xs:anyURI"
+                    use="optional"
+                    id="wso___d15e122372-1_encodingSt"/>
+      <xs:attribute name="namespace"
+                    type="xs:anyURI"
+                    use="optional"
+                    id="wso___d15e122373-1_namespace"/>
+   </xs:attributeGroup>
+   <xs:complexType name="tHeader" id="wso___d15e122374-1_tHeader">
+      <xs:complexContent id="wso___d15e122375-1">
+         <xs:extension base="wsoap12:tExtensibilityElementOpenAttrs" id="wso___d15e122376-1">
+            <xs:sequence id="wso___d15e122377-1">
+               <xs:element ref="wsoap12:headerfault"
+                           minOccurs="0"
+                           maxOccurs="unbounded"
+                           id="wso___d15e122378-1"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="wsoap12:tHeaderAttributes"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="headerfault"
+               type="wsoap12:tHeaderFault"
+               id="wso___d15e122380-1_headerfaul"/>
+   <xs:complexType name="tHeaderFault" id="wso___d15e122381-1_tHeaderFau">
+      <xs:attributeGroup ref="wsoap12:tHeaderAttributes"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+   </xs:complexType>
+   <xs:element name="address"
+               type="wsoap12:tAddress"
+               id="wso___d15e122384-1_address"/>
+   <xs:complexType name="tAddress" id="wso___d15e122385-1_tAddress">
+      <xs:complexContent id="wso___d15e122386-1">
+         <xs:extension base="wsoap12:tExtensibilityElementOpenAttrs" id="wso___d15e122387-1">
+            <xs:attribute name="location"
+                          type="xs:anyURI"
+                          use="required"
+                          id="wso___d15e122388-1_location"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+</xs:schema>

+ 280 - 0
SE/schema/SystemObjects/xml.xsd

@@ -0,0 +1,280 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           targetNamespace="http://www.w3.org/XML/1998/namespace"
+           vc:minVersion="1.1"><!--#147 when  @targetNamespace and prefix probably exists!-->
+   <xs:annotation>
+      <xs:documentation>
+         <xs:div>
+            <xs:h1>About the XML namespace</xs:h1>
+            <xs:div class="bodytext">
+               <xs:p>
+      This schema document describes the XML namespace, in a form
+      suitable for import by other schema documents.
+     </xs:p>
+               <xs:p>
+      See <xs:a href="http://www.w3.org/XML/1998/namespace.html">
+      http://www.w3.org/XML/1998/namespace.html</xs:a> and
+      <xs:a href="http://www.w3.org/TR/REC-xml">
+      http://www.w3.org/TR/REC-xml</xs:a> for information 
+      about this namespace.
+     </xs:p>
+               <xs:p>
+      Note that local names in this namespace are intended to be
+      defined only by the World Wide Web Consortium or its subgroups.
+      The names currently defined in this namespace are listed below.
+      They should not be used with conflicting semantics by any Working
+      Group, specification, or document instance.
+     </xs:p>
+               <xs:p>   
+      See further below in this document for more information about <xs:a href="#usage">how to refer to this schema document from your own
+      XSD schema documents</xs:a> and about <xs:a href="#nsversioning">the
+      namespace-versioning policy governing this schema document</xs:a>.
+     </xs:p>
+            </xs:div>
+         </xs:div>
+      </xs:documentation>
+   </xs:annotation>
+   <xs:attribute name="lang" id="___d15e96267-1_lang">
+      <xs:annotation>
+         <xs:documentation>
+            <xs:div>
+               <xs:h3>lang (as an attribute name)</xs:h3>
+               <xs:p>
+       denotes an attribute whose value
+       is a language code for the natural language of the content of
+       any element; its value is inherited.  This name is reserved
+       by virtue of its definition in the XML specification.</xs:p>
+            </xs:div>
+            <xs:div>
+               <xs:h4>Notes</xs:h4>
+               <xs:p>
+      Attempting to install the relevant ISO 2- and 3-letter
+      codes as the enumerated possible values is probably never
+      going to be a realistic possibility.  
+     </xs:p>
+               <xs:p>
+      See BCP 47 at <xs:a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
+       http://www.rfc-editor.org/rfc/bcp/bcp47.txt</xs:a>
+      and the IANA language subtag registry at
+      <xs:a href="http://www.iana.org/assignments/language-subtag-registry">
+       http://www.iana.org/assignments/language-subtag-registry</xs:a>
+      for further information.
+     </xs:p>
+               <xs:p>
+      The union allows for the 'un-declaration' of xml:lang with
+      the empty string.
+     </xs:p>
+            </xs:div>
+         </xs:documentation>
+      </xs:annotation>
+      <xs:simpleType id="___d15e96439-1">
+         <xs:union memberTypes="xs:language">
+            <xs:simpleType id="___d7e94677-1">
+               <xs:restriction base="xs:string">
+                  <xs:enumeration value=""/>
+               </xs:restriction>
+            </xs:simpleType>
+         </xs:union>
+      </xs:simpleType>
+   </xs:attribute>
+   <xs:attribute name="space" id="___d7e94680-1_space">
+      <xs:annotation>
+         <xs:documentation>
+            <xs:div>
+               <xs:h3>space (as an attribute name)</xs:h3>
+               <xs:p>
+       denotes an attribute whose
+       value is a keyword indicating what whitespace processing
+       discipline is intended for the content of the element; its
+       value is inherited.  This name is reserved by virtue of its
+       definition in the XML specification.</xs:p>
+            </xs:div>
+         </xs:documentation>
+      </xs:annotation>
+      <xs:simpleType id="___d7e94688-1">
+         <xs:restriction base="xs:NCName">
+            <xs:enumeration value="default"/>
+            <xs:enumeration value="preserve"/>
+         </xs:restriction>
+      </xs:simpleType>
+   </xs:attribute>
+   <xs:attribute name="base" type="xs:anyURI" id="___d7e94692-1_base">
+      <xs:annotation>
+         <xs:documentation>
+            <xs:div>
+               <xs:h3>base (as an attribute name)</xs:h3>
+               <xs:p>
+       denotes an attribute whose value
+       provides a URI to be used as the base for interpreting any
+       relative URIs in the scope of the element on which it
+       appears; its value is inherited.  This name is reserved
+       by virtue of its definition in the XML Base specification.</xs:p>
+               <xs:p>
+      See <xs:a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</xs:a>
+      for information about this attribute.
+     </xs:p>
+            </xs:div>
+         </xs:documentation>
+      </xs:annotation>
+   </xs:attribute>
+   <xs:attribute name="id" type="xs:ID" id="___d7e94705-1_id">
+      <xs:annotation>
+         <xs:documentation>
+            <xs:div>
+               <xs:h3>id (as an attribute name)</xs:h3>
+               <xs:p>
+       denotes an attribute whose value
+       should be interpreted as if declared to be of type ID.
+       This name is reserved by virtue of its definition in the
+       xml:id specification.</xs:p>
+               <xs:p>
+      See <xs:a href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</xs:a>
+      for information about this attribute.
+     </xs:p>
+            </xs:div>
+         </xs:documentation>
+      </xs:annotation>
+   </xs:attribute>
+   <xs:attributeGroup name="specialAttrs">
+      <xs:attribute ref="xml:base" id="___d7e94719-1"/>
+      <xs:attribute ref="xml:lang" id="___d7e94720-1"/>
+      <xs:attribute ref="xml:space" id="___d7e94721-1"/>
+      <xs:attribute ref="xml:id" id="___d7e94722-1"/>
+   </xs:attributeGroup>
+   <xs:annotation>
+      <xs:documentation>
+         <xs:div>
+            <xs:h3>Father (in any context at all)</xs:h3>
+            <xs:div class="bodytext">
+               <xs:p>
+      denotes Jon Bosak, the chair of 
+      the original XML Working Group.  This name is reserved by 
+      the following decision of the W3C XML Plenary and 
+      XML Coordination groups:
+     </xs:p>
+               <xs:blockquote>
+                  <xs:p>
+	In appreciation for his vision, leadership and
+	dedication the W3C XML Plenary on this 10th day of
+	February, 2000, reserves for Jon Bosak in perpetuity
+	the XML name "xml:Father".
+       </xs:p>
+               </xs:blockquote>
+            </xs:div>
+         </xs:div>
+      </xs:documentation>
+   </xs:annotation>
+   <xs:annotation>
+      <xs:documentation>
+         <xs:div xml:id="usage" id="usage">
+            <xs:h2>
+               <xs:a name="usage">About this schema document</xs:a>
+            </xs:h2>
+            <xs:div class="bodytext">
+               <xs:p>
+      This schema defines attributes and an attribute group suitable
+      for use by schemas wishing to allow <xs:code>xml:base</xs:code>,
+      <xs:code>xml:lang</xs:code>, <xs:code>xml:space</xs:code> or
+      <xs:code>xml:id</xs:code> attributes on elements they define.
+     </xs:p>
+               <xs:p>
+      To enable this, such a schema must import this schema for
+      the XML namespace, e.g. as follows:
+     </xs:p>
+               <xs:pre>
+          &lt;schema . . .&gt;
+           . . .
+           &lt;import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
+     </xs:pre>
+               <xs:p>
+      or
+     </xs:p>
+               <xs:pre>
+           &lt;import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2009/01/xml.xsd"/&gt;
+     </xs:pre>
+               <xs:p>
+      Subsequently, qualified reference to any of the attributes or the
+      group defined below will have the desired effect, e.g.
+     </xs:p>
+               <xs:pre>
+          &lt;type . . .&gt;
+           . . .
+           &lt;attributeGroup ref="xml:specialAttrs"/&gt;
+     </xs:pre>
+               <xs:p>
+      will define a type which will schema-validate an instance element
+      with any of those attributes.
+     </xs:p>
+            </xs:div>
+         </xs:div>
+      </xs:documentation>
+   </xs:annotation>
+   <xs:annotation>
+      <xs:documentation>
+         <xs:div id="nsversioning" xml:id="nsversioning">
+            <xs:h2>
+               <xs:a name="nsversioning">Versioning policy for this schema document</xs:a>
+            </xs:h2>
+            <xs:div class="bodytext">
+               <xs:p>
+      In keeping with the XML Schema WG's standard versioning
+      policy, this schema document will persist at
+      <xs:a href="http://www.w3.org/2009/01/xml.xsd">
+       http://www.w3.org/2009/01/xml.xsd</xs:a>.
+     </xs:p>
+               <xs:p>
+      At the date of issue it can also be found at
+      <xs:a href="http://www.w3.org/2001/xml.xsd">
+       http://www.w3.org/2001/xml.xsd</xs:a>.
+     </xs:p>
+               <xs:p>
+      The schema document at that URI may however change in the future,
+      in order to remain compatible with the latest version of XML
+      Schema itself, or with the XML namespace itself.  In other words,
+      if the XML Schema or XML namespaces change, the version of this
+      document at <xs:a href="http://www.w3.org/2001/xml.xsd">
+       http://www.w3.org/2001/xml.xsd 
+      </xs:a> 
+      will change accordingly; the version at 
+      <xs:a href="http://www.w3.org/2009/01/xml.xsd">
+       http://www.w3.org/2009/01/xml.xsd 
+      </xs:a> 
+      will not change.
+     </xs:p>
+               <xs:p>
+      Previous dated (and unchanging) versions of this schema 
+      document are at:
+     </xs:p>
+               <xs:ul>
+                  <xs:li>
+                     <xs:a href="http://www.w3.org/2009/01/xml.xsd">
+	http://www.w3.org/2009/01/xml.xsd</xs:a>
+                  </xs:li>
+                  <xs:li>
+                     <xs:a href="http://www.w3.org/2007/08/xml.xsd">
+	http://www.w3.org/2007/08/xml.xsd</xs:a>
+                  </xs:li>
+                  <xs:li>
+                     <xs:a href="http://www.w3.org/2004/10/xml.xsd">
+	http://www.w3.org/2004/10/xml.xsd</xs:a>
+                  </xs:li>
+                  <xs:li>
+                     <xs:a href="http://www.w3.org/2001/03/xml.xsd">
+	http://www.w3.org/2001/03/xml.xsd</xs:a>
+                  </xs:li>
+               </xs:ul>
+            </xs:div>
+         </xs:div>
+      </xs:documentation>
+   </xs:annotation>
+</xs:schema>

+ 22 - 0
SE/schema/WPS_Functions/WPS_Functions.SYSTEM.xsd

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+    vc:minVersion="1.1" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:SystemObjects__x3A__File="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+    <xs:import schemaLocation="../default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd"
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"/>
+    <xs:import schemaLocation="../SystemObjects/File.xsd"
+        namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"/>
+    <xs:element name="PROCES">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="build" type="system_cache__appinfo:build"/>
+                <xs:element name="bash-script" type="system_cache__appinfo:bash-script"/>
+                <xs:element name="last-id.xml" type="SystemObjects__x3A__File:FilePath"
+                > </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+</xs:schema>

+ 35 - 0
SE/schema/WPS_Functions/WPS_Functions.xsd

@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+    vc:minVersion="1.1" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:p5wc="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/workflow_controller/p5wc.xsd">
+    <xs:import schemaLocation="../default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd"
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"/>
+    <xs:include schemaLocation="WPS_Functions.SYSTEM.xsd"/>
+    <xs:import
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/object_modeling/object_modeling.xsd"
+        schemaLocation="object_modeling/object_modeling.xsd"/>
+    <xs:import
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/workflow_controller/p5wc.xsd"
+        schemaLocation="workflow_controller/p5wc.xsd"/>
+    <xs:element name="PRODUCT">
+        <xs:complexType>
+            <xs:complexContent>
+                <xs:extension base="system_cache__appinfo:PRODUCT">
+                    <xs:sequence>
+                        <xs:element name="SYSTEM" type="system_cache__appinfo:SYSTEM"/>
+                        <xs:element ref="p5bws:PROCES"/>
+                    </xs:sequence>
+                </xs:extension>
+            </xs:complexContent>
+        </xs:complexType>
+    </xs:element>
+    <xs:group name="PRODUCT">
+        <xs:sequence>
+            <xs:element ref="p5bws:PRODUCT"/>
+            <xs:group ref="p5wc:PRODUCT"/>
+        </xs:sequence>
+    </xs:group>
+</xs:schema>

+ 8 - 4
SE/schema/WPS_Functions/ant/build.p5ant.PRODUCT.xml

@@ -14,8 +14,8 @@
     
     
    
-    <property name="p5ant.PRODUCT.name" value="${p5dg.PRODUCT.name}.p5ant"/>
-    <property name="p5ant.PRODUCT.vendor-domain" value="${p5build_SE.PRODUCT.vendor-domain}.ant"/>
+    <property name="p5ant.PRODUCT.name" value="${WPS_Functions.PRODUCT.name}.p5ant"/>
+    <property name="p5ant.PRODUCT.vendor-domain" value="${WPS_Functions.PRODUCT.name}.ant"/>
     
     <property name="p5ant.basedir"     value="${WPS_Functions.basedir}/ant"/>
     <property name="p5ant.repository"  value="${p5ant.basedir}/repository"/>
@@ -24,6 +24,10 @@
     
     <property name="p5ant.include.structure.xml" location="${p5ant.repository}/p5ant.include.structure.xml"/>
     <property name="p5ant.xsl" location="${p5ant.basedir}/p5ant.xsl"/>
+    
+    <property name="p5ant.create_new_WPS_Function.xsl" location="${p5ant.basedir}/p5ant.create_new_WPS_Function.xsl"/>
+    <property name="p5ant.create_new_WPS_Function_xsd.xsl" location="${p5ant.basedir}/p5ant.create_new_WPS_Function_xsd.xsl"/>
+    
     <property name="p5ant.include.xsl.p5xsls.xml" location="${p5ant.temp}/p5ant.include.xsl.p5xsls.xml"/>
     <property name="p5ant.include.xsl" location="${p5ant.basedir}/p5ant.include.xsl"/>
     
@@ -63,8 +67,8 @@
     </target>
     
     
-    <target name="clean.temp"  description="To delete all temp and repository">
-        <antcall target="WPS_Functions.basedir.p5bw.p5bws:dirs.temp.clean" inheritall="false">
+    <target name="clean.temp" depends="basedir"  description="To delete all temp and repository">
+        <antcall target="WPS_Functions.basedir.p5bws:dirs.temp.clean" inheritall="false">
             <propertyset refid="p5ant.local.properties"/>
         </antcall>
     </target>

+ 262 - 2
SE/schema/WPS_Functions/ant/build_ant.xml

@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project basedir="../../." name="ant" default="p5ant.documentation.ant"
+    xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
     xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
     xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+    xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
+    xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
     >
     
     
-    <description>To create documentation of ant builds, schemas, xslt and others</description>
+    <description>To create documentation of ant builds, schemas, xslt and others
+    @2018-01-26 to generate new ant module TODO 
+    </description>
     
     
     
@@ -15,7 +20,7 @@
     
     <include file="../build.WPS_Functions.PRODUCT.xml" as="WPS_Functions"/>
     
-    
+    <include file="../system_ui_info_speech/build_system_ui_info_speech.xml" as="p5suis"/>
     <!--<include file="${WPS_Functions.basedir}/build_WPS_Function_basedir.xml" as="p5bws" />-->
     
     
@@ -63,8 +68,263 @@
         </exec>
     </target>-->
     
+    <target name="create_new_WPS_Function" description="To create new WPS function module" depends="PRODUCT.basedir,PRODUCT.clean.temp,create_new_WPS_Function.cond"/>
+            
+    
+    
+    
+                                <target name="create_new_WPS_Function.input" >
+                                            <input  addproperty="p5ant.WPS_Functions.PRODUCT.name.input" message="PRODUCT.name - like stuff_installer" defaultvalue="workflow_controller" />
+                                            <input  addproperty="p5ant.WPS_Functions.PRODUCT.prefix.input" message="PRODUCT.prefix - like p5si " defaultvalue="p5wc" />
+                                            
+                                            <!--<input  addproperty="p5ant.WPS_Functions.INSTALL.file-path" message="INSTALL.file-path - type current local file directory which files should be included to this module like ~/my_new_module_include_dir/" />-->
+                                    
+                                            <property name="p5ant.WPS_Functions.PRODUCT.name" value="${WPS_Functions.PRODUCT.name}.${p5ant.WPS_Functions.PRODUCT.name.input}"/>
+                                            <property name="p5ant.WPS_Functions.PRODUCT.vendor-domain" value="${WPS_Functions.PRODUCT.vendor-domain}.${p5ant.WPS_Functions.PRODUCT.prefix.input}"/>
+                                            <property name="p5ant.WPS_Functions.basedir" location="${WPS_Functions.basedir}/${p5ant.WPS_Functions.PRODUCT.name.input}"/>
+                                            <property name="p5ant.WPS_Functions.build" location="${p5ant.WPS_Functions.basedir}/build_${p5ant.WPS_Functions.PRODUCT.name.input}.xml"/>
+                                            <property name="p5ant.WPS_Functions.xsl" location="${p5ant.WPS_Functions.basedir}/${p5ant.WPS_Functions.PRODUCT.prefix.input}.xsl"/>
+                                            <property name="p5ant.WPS_Functions.xsd" location="${p5ant.WPS_Functions.basedir}/${p5ant.WPS_Functions.PRODUCT.prefix.input}.xsd"/>
+                                            <property name="p5ant.WPS_Functions.temp" location="${p5ant.WPS_Functions.basedir}/temp"/>
+                                            <property name="p5ant.WPS_Functions.repository" location="${p5ant.WPS_Functions.basedir}/repository"/>
+                                            <property name="p5ant.WPS_Functions.install" location="${p5ant.WPS_Functions.basedir}/install"/>
+                                            <property name="p5ant.WPS_Functions.childproperties" value="${WPS_Functions.childproperties}/.build_${p5ant.WPS_Functions.PRODUCT.name.input}.childproperties"/>
+                                            <!--<property name="WPS_Functions.properties.xml" value="" />-->
+                                            
+                                             <property name="p5ant.WPS_Functions.include.structure.xml" location="${p5ant.WPS_Functions.repository}/${p5ant.WPS_Functions.PRODUCT.prefix.input}.include.structure.xml"/>
+                                             <property name="p5ant.WPS_Functions.include.xsl.p5xsls.xml" location="${p5ant.WPS_Functions.temp}/${p5ant.WPS_Functions.PRODUCT.prefix.input}.include.xsl.p5xsls.xml"/>
+                                             
+                                             <property name="p5ant.WPS_Functions.install_example" location="${p5ant.WPS_Functions.repository}/install_example.file"/>
+                                                <property name="p5ant.WPS_Functions.INSTALL.install_example" location="${p5ant.WPS_Functions.install}/install_example.file"/>
+                                    
+                                             <property name="p5ant.WPS_Functions.PRODUCT.xml" location="${p5ant.WPS_Functions.basedir}/build.${p5ant.WPS_Functions.PRODUCT.prefix.input}.PRODUCT.xml"/>
+                                             <property name="p5ant.WPS_Functions.SYSTEM.xml"  location="${p5ant.WPS_Functions.basedir}/build.${p5ant.WPS_Functions.PRODUCT.prefix.input}.SYSTEM.xml"/>
+                                             <property name="p5ant.WPS_Functions.INSTALL.xml" location="${p5ant.WPS_Functions.basedir}/build.${p5ant.WPS_Functions.PRODUCT.prefix.input}.INSTALL.xml"/>
+                                                     
+                                </target>
+                                        
+                                        <target name="create_new_WPS_Function.test">
+                                            <condition property="p5ant.create_new_WPS_Function.exists" taskname="create_new_WPS_Function.cond">
+                                                <available file="${p5ant.WPS_Functions.basedir}"/>
+                                            </condition>
+                                        </target>
+                                        
+                    
+                                        <target name="create_new_WPS_Function.cond" depends="create_new_WPS_Function.input,create_new_WPS_Function.test,create_new_WPS_Function.fail,create_new_WPS_Function.ok "/>
+                                        
+                                        <target name="create_new_WPS_Function.fail" if="p5ant.create_new_WPS_Function.exists">
+                                            <fail> #92 already exists function with p5ant.WPS_Functions.basedir ${p5ant.WPS_Functions.basedir}</fail>
+                                        </target>
+                                        
+                    <target name="create_new_WPS_Function.ok" unless="p5ant.create_new_WPS_Function.exists" depends="create_new_WPS_Function.info,create_new_WPS_Function.basedir">
+                        <antcall target="create_new_WPS_Function.project"/>
+                        <antcall target="create_new_WPS_Function.PRODUCT"/>
+                        <antcall target="create_new_WPS_Function.INSTALL"/>
+                        <antcall target="create_new_WPS_Function.SYSTEM"/>
+                        <antcall target="create_new_WPS_Function.xsd"/>
+                        <antcall target="p5suis.p5suis.say_to_queue.copy_file">
+                            <param name="p5suis.say_to_queue.copy_file" value="${p5ant.WPS_Functions.PRODUCT.xml}"/>
+                        </antcall>
+                        
+                        <!--<antcall target="p5suis.p5suis:say_to_queue">
+                            <param name="p5suis:say_text" value="Created new module ${p5ant.WPS_Functions.PRODUCT.name.input}. Now openning it system UI "/>
+                        </antcall>-->
+                        
+                        <exec executable="open">
+                            <arg file="${p5ant.WPS_Functions.build}"/>
+                            <arg file="${p5ant.WPS_Functions.PRODUCT.xml}"/>
+                        </exec>
+                    </target>
+                                        
+                                        <target name="create_new_WPS_Function.info" unless="p5ant.create_new_WPS_Function.exists">
+                                            <echo>#93 will create new p5ant.WPS_Functions.basedir ${p5ant.WPS_Functions.basedir}</echo>
+                                            <!--<mkdir dir="${p5ant.WPS_Functions.basedir}"/>-->
+                                        </target>
+                                        
+                                        <target name="create_new_WPS_Function.basedir" unless="p5ant.create_new_WPS_Function.exists">
+                                            <mkdir dir="${p5ant.WPS_Functions.basedir}"/>
+                                        </target>
+    
+                                        <target name="create_new_WPS_Function.PRODUCT" unless="p5ant.create_new_WPS_Function.exists">
+                                            <local name="create_new_WPS_Function.PRODUCT"/>
+                                            <tempfile property="create_new_WPS_Function.PRODUCT" destdir="${p5ant.temp}" prefix="create_new_WPS_Function.PRODUCT" suffix=".xml" deleteonexit="false"/>
+                                            <echoxml file="${create_new_WPS_Function.PRODUCT}" namespacepolicy="elementsOnly">
+                                                <project xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
+                                                    xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
+                                                    basedir="../../." name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.PRODUCT" default="PRODUCT">
+                                                    <description>
+                                                        p5suis:say Created function ${p5ant.WPS_Functions.PRODUCT.name.input} with prefix ${p5ant.WPS_Functions.PRODUCT.prefix.input} by p5ant module
+                                                    </description>
+                                                    <!-- p5suis:say Created function ${p5ant.WPS_Functions.PRODUCT.name.input} with prefix ${p5ant.WPS_Functions.PRODUCT.prefix.input} by p5ant module -->
+                                                    <include file="../build.WPS_Functions.PRODUCT.xml" as="WPS_Functions"/>
+                                                    
+                                                    
+                                                    <condition property="${p5ant.WPS_Functions.PRODUCT.prefix.input}.PRODUCT.ifdef.parent" taskname="${p5ant.WPS_Functions.PRODUCT.prefix.input}.parent.PRODUCT.ifdef">
+                                                        <isset property="WPS_Functions.PRODUCT.name"/>
+                                                    </condition>
+                                                    
+                                                    
+                                                    
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.PRODUCT.name" value="$${WPS_Functions.PRODUCT.name}.${p5ant.WPS_Functions.PRODUCT.name.input}"/>
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.PRODUCT.vendor-domain" value="$${WPS_Functions.PRODUCT.name}.${p5ant.WPS_Functions.PRODUCT.prefix.input}"/>
+                                                    
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.basedir"     value="$${WPS_Functions.basedir}/${p5ant.WPS_Functions.PRODUCT.name.input}"/>
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.repository"  value="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.basedir}/repository"/>
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.install"  value="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.basedir}/install"/>
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.temp"         location="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.basedir}/temp"/>
+                                                    
+                                                    
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.xsl" location="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.basedir}/${p5ant.WPS_Functions.PRODUCT.prefix.input}.xsl"/>
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.xsd" location="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.basedir}/${p5ant.WPS_Functions.PRODUCT.prefix.input}.xsd"/>
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.include.structure.xml" location="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.basedir}/${p5ant.WPS_Functions.PRODUCT.prefix.input}.include.structure.xml"/>
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.include.xsl.p5xsls.xml" location="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.basedir}/${p5ant.WPS_Functions.PRODUCT.prefix.input}.include.xsl.p5xsls.xml"/>
+                                                    
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.install_example" location="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.repository}/install_example.file"/>
+                                                    
+                                                    
+                                                    <target name="PRODUCT" description="to create basedir, includes and install" depends="basedir,p5xsls.xml"/>
+                                                    
+                                                    <target name="basedir" description="to create local dirs">
+                                                        <propertyset id="${p5ant.WPS_Functions.PRODUCT.prefix.input}.local.properties">
+                                                            <propertyref prefix="${p5ant.WPS_Functions.PRODUCT.prefix.input}"/>
+                                                            <mapper type="glob" from="${p5ant.WPS_Functions.PRODUCT.prefix.input}.*" to="local.*"/>
+                                                        </propertyset>
+                                                        <antcall target="WPS_Functions.basedir.p5bws:dirs" inheritall="false">
+                                                            <propertyset refid="${p5ant.WPS_Functions.PRODUCT.prefix.input}.local.properties"/>
+                                                        </antcall>
+                                                    </target>
+                                                    
+                                                    <target name="clean"  description="To delete all temp and repository">
+                                                        <antcall target="WPS_Functions.basedir.p5bws:dirs.clean" inheritall="false">
+                                                            <propertyset refid="${p5ant.WPS_Functions.PRODUCT.prefix.input}.local.properties"/>
+                                                        </antcall>
+                                                    </target>
+                                                    
+                                                    
+                                                    <target name="clean.temp"  description="To delete all temp and repository">
+                                                        <antcall target="WPS_Functions.basedir.p5bw.p5bws:dirs.temp.clean" inheritall="false">
+                                                            <propertyset refid="${p5ant.WPS_Functions.PRODUCT.prefix.input}.local.properties"/>
+                                                        </antcall>
+                                                    </target>
+                                                    
+                                                    <target name="parent.PRODUCT.ifdef" unless="${p5ant.WPS_Functions.PRODUCT.prefix.input}.WPS_Functions.PRODUCT.ifdef.parent">
+                                                        <fail>There is not set correct parent PRODUCT from expected file="../build.WPS_Functions.PRODUCT.xml" </fail>
+                                                    </target>
+                                                    
+                                                </project>
+                                            </echoxml>
+                                            <!--<exec executable="open">
+                                                <arg file="${create_new_WPS_Function.PRODUCT}"/>
+                                            </exec>-->
+                                            <xslt basedir="${p5ant.temp}" style="${p5ant.create_new_WPS_Function.xsl}" in="${create_new_WPS_Function.PRODUCT}"   out="${p5ant.WPS_Functions.PRODUCT.xml}"  >
+                                                <factory name="net.sf.saxon.TransformerFactoryImpl">    
+                                                    <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
+                                                    <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd}create_new_WPS_Function.PRODUCT"/>
+                                                </factory>
+                                                <classpath location="/opt/local/share/java/saxon9he.jar"/>
+                                                <param name="p5ant.WPS_Functions.PRODUCT.name.input" expression="${p5ant.WPS_Functions.PRODUCT.name.input}"/>
+                                                <param name="p5ant.WPS_Functions.PRODUCT.prefix.input" expression="${p5ant.WPS_Functions.PRODUCT.prefix.input}"/>
+                                                <param name="p5ant.xsl" expression="${p5ant.xsl}"/>
+                                            </xslt>
+                                        </target>
     
+                                        <target name="create_new_WPS_Function.project" unless="p5ant.create_new_WPS_Function.exists">
+                                            <local name="p5ant.create_new_WPS_Function.project"/>
+                                            <tempfile property="p5ant.create_new_WPS_Function.project" destdir="${p5ant.temp}" prefix="create_new_WPS_Function.project" suffix=".xml" deleteonexit="false"/>
+                                            <echoxml file="${p5ant.create_new_WPS_Function.project}" namespacepolicy="elementsOnly">
+                                                <project basedir="${basedir}" name="${p5ant.WPS_Functions.PRODUCT.name.input}" default="default" xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd">
+                                                    <include file="build.${p5ant.WPS_Functions.PRODUCT.prefix.input}.PRODUCT.xml" as="PRODUCT" />
+                                                    <include file="build.${p5ant.WPS_Functions.PRODUCT.prefix.input}.SYSTEM.xml" as="SYSTEM" />
+                                                    <include file="build.${p5ant.WPS_Functions.PRODUCT.prefix.input}.INSTALL.xml"  as="INSTALL"/>
+                                                    
+                                                    <include file="../build.WPS_Functions.PRODUCT.xml" as="WPS_Functions"/>
+                                                    <include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>
+                                                    <target name="default" depends="PRODUCT.PRODUCT,INSTALL.INSTALL"/>
+                                                </project>
+                                            </echoxml> 
+                                            <xslt basedir="${p5ant.temp}" style="${p5ant.create_new_WPS_Function.xsl}" in="${p5ant.create_new_WPS_Function.project}"   out="${p5ant.WPS_Functions.build}"  >
+                                                <factory name="net.sf.saxon.TransformerFactoryImpl">    
+                                                    <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
+                                                    <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd}create_new_WPS_Function.project"/>
+                                                </factory>
+                                                <classpath location="/opt/local/share/java/saxon9he.jar"/>
+                                                <param name="p5ant.WPS_Functions.PRODUCT.name.input" expression="${p5ant.WPS_Functions.PRODUCT.name.input}"/>
+                                                <param name="p5ant.WPS_Functions.PRODUCT.prefix.input" expression="${p5ant.WPS_Functions.PRODUCT.prefix.input}"/>
+                                                <param name="p5ant.xsl" expression="${p5ant.xsl}"/>
+                                            </xslt>
+                                            <delete file="${p5ant.create_new_WPS_Function.project}"/>
+                                        </target>
     
     
+                                        <target name="create_new_WPS_Function.xsd" unless="p5ant.create_new_WPS_Function.exists">
+                                            <local name="p5ant.create_new_WPS_Function.xsd"/>
+                                            <tempfile property="p5ant.create_new_WPS_Function.xsd" destdir="${p5ant.temp}" prefix="create_new_WPS_Function.xsd" suffix=".xsd" deleteonexit="false"/>
+                                            <echoxml file="${p5ant.create_new_WPS_Function.xsd}" namespacepolicy="elementsOnly">
+                                                <schema xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd">
+                                                    <!--<import schemaLocation="../../default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd" xmlns="http://www.w3.org/2001/XMLSchema"/>-->
+                                                </schema>
+                                            </echoxml> 
+                                            
+                                            <xslt basedir="${p5ant.temp}" style="${p5ant.create_new_WPS_Function_xsd.xsl}" in="${p5ant.create_new_WPS_Function.xsd}"   out="${p5ant.WPS_Functions.xsd}"  >
+                                                <factory name="net.sf.saxon.TransformerFactoryImpl">    
+                                                    <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
+                                                    <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd}create_new_WPS_Function.xsd"/>
+                                                </factory>
+                                                <classpath location="/opt/local/share/java/saxon9he.jar"/>
+                                                <param name="p5ant.WPS_Functions.PRODUCT.name.input" expression="${p5ant.WPS_Functions.PRODUCT.name.input}"/>
+                                                <param name="p5ant.WPS_Functions.PRODUCT.prefix.input" expression="${p5ant.WPS_Functions.PRODUCT.prefix.input}"/>
+                                                
+                                            </xslt>
+                                            <delete file="${p5ant.create_new_WPS_Function.xsd}"/>
+                                        </target>
+    
+                                        <target name="create_new_WPS_Function.SYSTEM" unless="p5ant.create_new_WPS_Function.exists">
+                                            <echoxml file="${p5ant.WPS_Functions.SYSTEM.xml}">
+                                                <project basedir="../../" name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.SYSTEM"> 
+                                                    
+                                                    <include file="../build.WPS_Functions.SYSTEM.xml" optional="true"/>
+                                                    <include file="build.${p5ant.WPS_Functions.PRODUCT.prefix.input}.PRODUCT.xml" optional="true" as="PRODUCT"/>
+                                                    
+                                                    
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.SYSTEM.StandardOutPath" location="${p5build_SE.SYSTEM.StandardOutPath}/${p5ant.WPS_Functions.PRODUCT.name.input}.log"/>
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.SYSTEM.StandardErrorPath" location="${p5build_SE.SYSTEM.StandardErrorPath}/${p5ant.WPS_Functions.PRODUCT.name.input}.log"/>
+
+                                                </project>
+                                            </echoxml>
+                                        </target>
+    
+                                        <target name="create_new_WPS_Function.INSTALL" unless="p5ant.create_new_WPS_Function.exists">
+                                            <echoxml file="${p5ant.WPS_Functions.INSTALL.xml}" >
+                                                <project basedir="../../." 
+                                                    name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.INSTALL" default="INSTALL">
+
+                                                    <include file="build.${p5ant.WPS_Functions.PRODUCT.prefix.input}.PRODUCT.xml"  />
+                                                    
+                                                    <property name="${p5ant.WPS_Functions.PRODUCT.prefix.input}.INSTALL.install_example" location="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.install}/install_example.file"/>
+                                                        
+                                                    <condition property="${p5ant.WPS_Functions.PRODUCT.prefix.input}.INSTALL.install_example.ifdef" taskname="INSTALL.install_example">
+                                                        <not><available file="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.repository}/install_example.file"/></not>
+                                                    </condition>
+                                                    
+                                                    <target name="INSTALL" depends="INSTALL.install_example"/>
+                                                    
+                                                    
+                                                    <target name="INSTALL.install_example" if="${p5ant.WPS_Functions.PRODUCT.prefix.input}.INSTALL.install_example.ifdef">
+                                                        <copy file="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.INSTALL.install_example}" tofile="$${${p5ant.WPS_Functions.PRODUCT.prefix.input}.install_example}" />
+                                                    </target>
+                                                </project>
+                                            </echoxml>
+                                            <mkdir dir="${p5ant.WPS_Functions.install}"/>
+                                            <echoxml file="${p5ant.WPS_Functions.INSTALL.install_example}">
+                                                <example>
+                                                    <description>
+                                                        This is {p5ant.WPS_Functions.INSTALL.install_example} to be 
+                                                        copied to {p5ant.WPS_Functions.install_example} = ${p5ant.WPS_Functions.install_example}
+                                                        by {p5ant.WPS_Functions.INSTALL.xml} = ${p5ant.WPS_Functions.INSTALL.xml} target INSTALL 
+                                                    </description>
+                                                </example>
+                                            </echoxml>
+                                            
+                                        </target>
   
 </project>

+ 94 - 0
SE/schema/WPS_Functions/ant/p5ant.create_new_WPS_Function.xsl

@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
+    xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+    xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
+    exclude-result-prefixes="xs"
+    version="2.0">
+    
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+    
+    <xsl:param name="p5ant.WPS_Functions.PRODUCT.name.input" required="yes" />
+    <xsl:param name="p5ant.WPS_Functions.PRODUCT.prefix.input" required="yes"/>
+    <xsl:param name="p5ant.xsl" required="yes"/>
+    
+    
+    
+    
+    <xsl:template match="p5ant:project" mode="p5ant:create_new_WPS_Function.project" > <!-- xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd" -->
+        <xsl:element name="project" inherit-namespaces="yes">
+            <xsl:namespace name="{$p5ant.WPS_Functions.PRODUCT.prefix.input}" select="concat('http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/',$p5ant.WPS_Functions.PRODUCT.name.input,'.xsd')"/>
+            <!--<xsl:namespace name="test" select="concat('http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/',$p5ant.WPS_Functions.PRODUCT.name.input,'.xsd')"/>-->
+            <xsl:copy-of select="@*"/>
+            <xsl:apply-templates mode="#current"/>
+        </xsl:element>
+        <!--<project basedir="../../." name="{$p5ant.WPS_Functions.PRODUCT.name.input}" default="default"
+            xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
+            xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+            xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+            xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"   
+        >
+            
+        </project>-->
+    </xsl:template>
+    
+    <xsl:template match="*" mode="p5ant:create_new_WPS_Function.project" > <!-- xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd" -->
+        <xsl:variable name="namespace-uri-for-prefix" select=" namespace-uri-for-prefix(prefix-from-QName(node-name(.)),.)"/>
+        <xsl:choose>
+            <xsl:when test="$namespace-uri-for-prefix='http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd'">
+                <xsl:element name="p5suis:{local-name()}" namespace="{$namespace-uri-for-prefix}">
+                    <xsl:copy-of select="@*"/>
+                    <xsl:apply-templates mode="#current"/>
+                </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:element name="{local-name()}">
+                    <xsl:copy-of select="@*"/>
+                    <xsl:apply-templates mode="#current"/>
+                </xsl:element>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    
+    
+    <xsl:template match="p5ant:project" mode="p5ant:create_new_WPS_Function.PRODUCT" > <!-- xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd" -->
+        <xsl:element name="project" inherit-namespaces="yes"  >
+            <xsl:namespace name="{$p5ant.WPS_Functions.PRODUCT.prefix.input}" select="concat('http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/',$p5ant.WPS_Functions.PRODUCT.name.input,'/',$p5ant.WPS_Functions.PRODUCT.name.input,'.xsd')"/>
+            <xsl:namespace name="p5xsl" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd'"/>
+            <!--<xsl:namespace name="test" select="concat('http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/',$p5ant.WPS_Functions.PRODUCT.name.input,'.xsd')"/>-->
+            <xsl:copy-of select="@*"/>
+            <xsl:apply-templates mode="p5ant:create_new_WPS_Function.project"/>
+            
+            <target name="p5xsls.xml" depends="basedir" xsl:exclude-result-prefixes="#all">
+                <description>
+                    TODO to be fixed by xslt to allow dynamic create of multi include xsl templates
+                </description>
+                <echoxml namespacepolicy="elementsOnly">
+                    <xsl:attribute name="file">
+                        <xsl:text>${</xsl:text><xsl:value-of select="$p5ant.WPS_Functions.PRODUCT.prefix.input"/><xsl:text>.include.xsl.p5xsls.xml}</xsl:text>
+                    </xsl:attribute>
+                    <stylesheet_buildlist xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd">
+                        <namespaces.list xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd">
+                            <namespaces.list.namespace prefix="{$p5ant.WPS_Functions.PRODUCT.prefix.input}" namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/{$p5ant.WPS_Functions.PRODUCT.name.input}/{$p5ant.WPS_Functions.PRODUCT.name.input}.xsd" xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"/>
+                        </namespaces.list>
+                        <include.list xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd">
+                            <include.list.href href="{$p5ant.xsl}" xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"/>
+                        </include.list>
+                    </stylesheet_buildlist>
+                </echoxml>
+            </target>
+            
+        </xsl:element>
+    </xsl:template>
+    
+    
+    
+</xsl:stylesheet>

+ 64 - 0
SE/schema/WPS_Functions/ant/p5ant.create_new_WPS_Function_xsd.xsl

@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
+    xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+    xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
+    exclude-result-prefixes="xs"
+    version="2.0">
+    
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+    
+    <xsl:param name="p5ant.WPS_Functions.PRODUCT.name.input" required="yes" />
+    <xsl:param name="p5ant.WPS_Functions.PRODUCT.prefix.input" required="yes"/>
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    <xsl:template match="schema" mode="p5ant:create_new_WPS_Function.xsd" xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd" > 
+        <xs:schema
+            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+            xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+            vc:minVersion="1.1"
+            >
+            <xsl:namespace name="{$p5ant.WPS_Functions.PRODUCT.prefix.input}" select="concat('http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/',$p5ant.WPS_Functions.PRODUCT.name.input,'/',$p5ant.WPS_Functions.PRODUCT.prefix.input,'.xsd')"/>
+            <xsl:attribute name="targetNamespace" select="concat('http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/',$p5ant.WPS_Functions.PRODUCT.name.input,'/',$p5ant.WPS_Functions.PRODUCT.prefix.input,'.xsd')"/>
+            <xsl:copy-of select="@*"/>
+            
+            <xs:import schemaLocation="../../default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd" namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"/>
+            <xs:element name="PRODUCT">
+                <xs:complexType>
+                    <xs:complexContent>
+                        <xs:extension base="system_cache__appinfo:PRODUCT">
+                            <xs:sequence>
+                                <xs:element name="SYSTEM" type="system_cache__appinfo:SYSTEM"/>
+                                <xs:element name="GLOBALS" type="system_cache__appinfo:GLOBALS"/>
+                                <xs:element name="INSTALL" type="system_cache__appinfo:INSTALL"/>
+                            </xs:sequence>
+                        </xs:extension>
+                    </xs:complexContent>
+                </xs:complexType>
+            </xs:element>
+            <xs:group name="PRODUCT">
+                <xs:sequence>
+                    <xs:element ref="{$$p5ant.WPS_Functions.PRODUCT.prefix.input}:PRODUCT"/>
+                </xs:sequence>
+            </xs:group>
+        </xs:schema>
+    </xsl:template>
+    
+    
+    
+</xsl:stylesheet>

+ 5 - 0
SE/schema/WPS_Functions/ant/p5ant.xsl

@@ -2,13 +2,18 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
     xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+    xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
     exclude-result-prefixes="xs"
     version="2.0">
     
     <xsl:output indent="yes"/>
     <xsl:strip-space elements="*"/>
     
+   
+    
     <xsl:template match="p5dg:p5dg.documentation.files.index_analyzed_structurized.xml" mode="p5dg:p5ant.include.structure">
         <p5dg:p5ant.include.structure>
             <xsl:apply-templates mode="#current"/>

+ 3 - 1
SE/schema/WPS_Functions/build_WPS_Function_basedir.xml

@@ -79,7 +79,9 @@
         
     
     <target name="p5bws:dirs.temp.clean" depends="p5bws:dirs.cond" if="${local.temp.true}" >
-        <delete dir="${local.temp}" failonerror="false"/>
+        <delete includeEmptyDirs="true">
+            <fileset dir="${local.temp}" includes="*"/>
+        </delete>
     </target>
     <target name="p5bws:dirs.repository.clean" if="${local.repository.true}" >
         <delete dir="${local.repository}" failonerror="false"/>

+ 17 - 0
SE/schema/WPS_Functions/documentation_generator/documentation_generator.xsd

@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+    vc:minVersion="1.1" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:p5ant-interface-resp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd">
+    <xs:import
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd"
+        schemaLocation="../ant_interface/ant_interface-resp.xsd"/>
+    <xs:element name="p5dg.documentation.files.index_analyzed.xml">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="p5ant-interface-resp:filelist"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+</xs:schema>

+ 245 - 0
SE/schema/WPS_Functions/get_wfs_recurse_xsl/bgwrx.xpath_filter.xsl

@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                xmlns:wfs="http://www.opengis.net/wfs"
+                xmlns:gml="http://www.opengis.net/gml"
+                xmlns:ogc="http://www.opengis.net/ogc"
+                xmlns:p5="https://biuro.biall-net.pl/wfs"
+                xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                xmlns:default_objects="https://biuro.biall-net.pl/wfs/default_objects"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+                xmlns:get_wfs_recurse_xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl.xsd"
+                xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+                exclude-result-prefixes="xs"
+                version="2.0">
+   <xsl:output indent="yes"/>
+   <xsl:strip-space elements="*"/>
+ 
+  
+   <xsl:param name="system_cache__appinfo.escape_functions.xsl" required="yes"/>
+ 
+   <xsl:param name="xpath.filter" required="yes"/>
+ 
+   
+   <xsl:template match="xsl:import[@href='system_cache__appinfo/escape_functions.xsl']">
+      <xsl:element name="xsl:import">
+         <xsl:attribute name="href" select="$system_cache__appinfo.escape_functions.xsl "/>
+      </xsl:element>
+   </xsl:template>
+
+
+   <xsl:template match="xsl:stylesheet">
+      <xsl:element name="{name()}">
+         <xsl:copy-of select="namespace::node()"/>
+         <xsl:copy-of select="@*"/>
+         <xsl:apply-templates/>
+         <!-- default suppress/ignore template -->
+         <xsl:element name="xsl:template" >
+            <xsl:attribute name="match" select="'*'"/>
+            <xsl:message>#20 generated ignore xpath element</xsl:message>
+            <xsl:element name="xsl:message">
+              #22 ignored element : 
+               <xsl:element name="xsl:value-of">
+                     <xsl:attribute name="select" select="'name()'"/>
+               </xsl:element>
+               <xsl:element name="xsl:copy-of">
+                  <xsl:attribute name="select" select="'@*'"/>
+               </xsl:element>
+            </xsl:element>
+         </xsl:element>
+         <xsl:element name="xsl:template" >
+            <xsl:attribute name="match" select="'RelatedFeatureLoop'"/>
+            <xsl:attribute name="mode" select="'place_subant'"/>
+            <xsl:element name="xsl:message">
+              #32 ignored element : 
+               <xsl:element name="xsl:value-of">
+                  <xsl:attribute name="select" select="'name()'"/>
+               </xsl:element>
+               <xsl:element name="xsl:copy-of">
+                  <xsl:attribute name="select" select="'@*'"/>
+               </xsl:element>
+            </xsl:element>
+         </xsl:element>
+         <xsl:element name="xsl:template" >
+            <xsl:attribute name="match" select="'RelatedFeature'"/>
+            <xsl:attribute name="mode" select="'place_subant'"/>
+            <xsl:element name="xsl:message">
+              #42 ignored element : 
+               <xsl:element name="xsl:value-of">
+                  <xsl:attribute name="select" select="'name()'"/>
+               </xsl:element>
+               <xsl:element name="xsl:copy-of">
+                  <xsl:attribute name="select" select="'@*'"/>
+               </xsl:element>
+            </xsl:element>
+         </xsl:element>
+         <xsl:element name="xsl:template" >
+            <xsl:attribute name="match" select="'RelatedFeature'"/>
+            <xsl:attribute name="mode" select="'ant_target'"/>
+            <xsl:element name="xsl:message">
+               #52 ignored element : 
+               <xsl:element name="xsl:value-of">
+                  <xsl:attribute name="select" select="'name()'"/>
+               </xsl:element>
+               <xsl:element name="xsl:copy-of">
+                  <xsl:attribute name="select" select="'@*'"/>
+               </xsl:element>
+            </xsl:element>
+         </xsl:element>
+         <xsl:element name="xsl:template" >
+            <xsl:attribute name="match" select="'RelatedFeatureLoop'"/>
+            <xsl:attribute name="mode" select="'after_first_ant_assing_vars_childs'"/>
+            <xsl:element name="xsl:message">
+               #62 ignored element : 
+               <xsl:element name="xsl:value-of">
+                  <xsl:attribute name="select" select="'name()'"/>
+               </xsl:element>
+               <xsl:element name="xsl:copy-of">
+                  <xsl:attribute name="select" select="'@*'"/>
+               </xsl:element>
+            </xsl:element>
+         </xsl:element>
+         <xsl:element name="xsl:template" >
+            <xsl:attribute name="match" select="'RelatedFeature'"/>
+            <xsl:attribute name="mode" select="'after_first_ant_assing_vars_childs'"/>
+            <xsl:element name="xsl:message">
+               #71 ignored element : 
+               <xsl:element name="xsl:value-of">
+                  <xsl:attribute name="select" select="'name()'"/>
+               </xsl:element>
+               <xsl:element name="xsl:copy-of">
+                  <xsl:attribute name="select" select="'@*'"/>
+               </xsl:element>
+            </xsl:element>
+         </xsl:element>
+         
+         <xsl:element name="xsl:template" >
+            <xsl:attribute name="match" select="'RelatedFeature'"/>
+            <xsl:attribute name="mode" select="'after_first_ant_assing_vars'"/>
+            <xsl:element name="xsl:message">
+               #83 ignored element : 
+               <xsl:element name="xsl:value-of">
+                  <xsl:attribute name="select" select="'name()'"/>
+               </xsl:element>
+               <xsl:element name="xsl:copy-of">
+                  <xsl:attribute name="select" select="'@*'"/>
+               </xsl:element>
+            </xsl:element>
+         </xsl:element>
+      </xsl:element>
+   </xsl:template>
+   
+   
+ <xsl:template match="*">
+    <xsl:element name="{name()}">
+       <xsl:copy-of select="@*"/>
+       <xsl:apply-templates/>
+    </xsl:element>
+ </xsl:template>
+ 
+   <xsl:template match="xsl:include">
+      <xsl:element name="{name()}">
+         <xsl:apply-templates mode="apply_public_path" select="@*"/>
+      </xsl:element>
+   </xsl:template>
+   
+   <xsl:template mode="apply_public_path" match="@href">
+      <xsl:attribute name="href" select="concat('TODO','/',.)"/>
+   </xsl:template>
+   
+   <xsl:template mode="apply_public_path" match="@*">
+      <xsl:copy-of select="."/>
+   </xsl:template>
+   
+ 
+   <xsl:template match="xsl:template">
+      <xsl:choose>
+         <xsl:when test="@mode='xlink:request_string' and @match='*[@xlink:href]'">
+            <xsl:element name="{name()}">
+               <xsl:attribute name="priority" select="9"/>
+               <xsl:apply-templates select="@*" mode="apply_xpath_filter">
+                  <xsl:with-param name="mode" select="@mode"/>
+               </xsl:apply-templates>
+               <xsl:comment>#164 generated xpath filter</xsl:comment>
+               <xsl:copy-of select="*" copy-namespaces="no"/>
+               <xsl:element name="xsl:message">
+                  <xsl:attribute name="terminate" select="'no'"/>
+                  <xsl:text>#169 debug STANDARD OK XPATH FILTER HIT name():</xsl:text>
+                  <xsl:element name="xsl:value-of">
+                     <xsl:attribute name="select" select="'name()'"/>
+                  </xsl:element>
+                  <xsl:text>; parent::*/name()=</xsl:text>
+                  <xsl:element name="xsl:value-of">
+                     <xsl:attribute name="select" select="'parent::*/name()'"/>
+                  </xsl:element>
+                  <xsl:text>;</xsl:text>
+               </xsl:element>
+            </xsl:element>
+            <xsl:element name="{name()}">
+               <xsl:copy-of select="@*"/>
+               <xsl:attribute name="priority" select="1"/>
+               <xsl:comment>#182 generated xpath filter</xsl:comment>
+               <xsl:element name="xsl:message">
+                  <xsl:attribute name="terminate" select="'no'"/>
+                  <xsl:text>#185 debug XPATH FILTER NOT HIT name():</xsl:text>
+                  <xsl:element name="xsl:value-of">
+                     <xsl:attribute name="select" select="'name()'"/>
+                  </xsl:element>
+                  <xsl:text>; parent::*/name()=</xsl:text>
+                  <xsl:element name="xsl:value-of">
+                     <xsl:attribute name="select" select="'parent::*/name()'"/>
+                  </xsl:element>
+                  <xsl:text>;</xsl:text>
+                  <xsl:text>
+                     Looked for:
+                  </xsl:text>
+                  #### <xsl:value-of select="$xpath.filter"/> ####
+               </xsl:element>
+            </xsl:element>
+         </xsl:when>
+         <!--<xsl:when test=" ( @match='*' and not(@mode) )
+               or (  contains(@match,'RelatedFeature') and @mode='place_subant' )
+               or (  contains(@match,'RelatedFeature') and @mode='ant_target' )
+               or (  contains(@match,'RelatedFeature') and @mode='after_first_ant_assing_vars_childs' )
+               or (  contains(@match,'RelatedFeature') and @mode='after_first_ant_assing_vars' )
+                           ">
+            <xsl:element name="{name()}">
+               <xsl:apply-templates select="@*" mode="apply_xpath_filter">
+                  <xsl:with-param name="mode" select="@mode"/>
+               </xsl:apply-templates>
+               <xsl:comment>#60 generated xpath filter</xsl:comment>
+               <xsl:copy-of select="*" copy-namespaces="no"/>
+            </xsl:element>
+            
+         </xsl:when>-->
+         <xsl:otherwise><xsl:copy-of select="." copy-namespaces="no"/></xsl:otherwise>
+      </xsl:choose>
+   </xsl:template>
+   
+   <xsl:template mode="apply_xpath_filter" match="@match">
+      <xsl:param name="mode" required="yes"/>
+         <xsl:choose>
+            <xsl:when test=".='*[@xlink:href]'">
+               <xsl:attribute name="match">
+                  <xsl:text>*[</xsl:text>
+                     <xsl:text>@xlink:href</xsl:text>
+                     <xsl:text> and </xsl:text>
+                     <xsl:value-of select="$xpath.filter"/>
+                  <xsl:text>]</xsl:text>
+               </xsl:attribute>
+            </xsl:when>
+            <xsl:otherwise><xsl:message terminate="yes">#224 not expected @match = <xsl:value-of select="."/>; </xsl:message></xsl:otherwise>
+         </xsl:choose>
+      
+      
+   </xsl:template>
+   
+   <xsl:template mode="apply_xpath_filter" match="@*">
+      <xsl:copy-of select="."/>
+   </xsl:template>
+   
+   
+   
+ 
+</xsl:stylesheet>

+ 2 - 2
SE/schema/WPS_Functions/get_wfs_recurse_xsl/build_get_wfs_recurse_xsl.xml

@@ -428,8 +428,8 @@
         <property name="xpath" value="ID"/>
         <property name="xpath_value" value="9"/>
         <property name="resolveDepth" value="3"/>
-        <property name="MAXFEATURES" value="250"/>
-        <property name="p5.links.recurse_level.limit" value="6"/>
+        <property name="MAXFEATURES" value="10"/>
+        <property name="p5.links.recurse_level.limit" value="4"/>
         <property name="p5.links.next.recurse_level.limit" value="2"/>
         <property name="build_get_wfs_recurse_xsl.out.xml.local" value="${bgwrx.temp}/${uuid}.get_wfs_recurse_xsl.out.xml"/>
         <property name="debug.local" value="0"/>

+ 179 - 49
SE/schema/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.xsl

@@ -13,7 +13,9 @@
     xmlns:xlink="http://www.w3.org/1999/xlink"
     
     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
-    
+    xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row"
+    xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_PRACOWNICY"
+    xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI"
     exclude-result-prefixes="xs"
     version="2.0">
     
@@ -31,7 +33,7 @@
     <xsl:param name="xpath" select="'ID'"/>
     <xsl:param name="xpath_value" select="'994'"/>
     <xsl:param name="uuid" select="'PROCES_INIT_PID_994_ALL_test'"/>
-    <xsl:param name="MAXFEATURES" select="20"/>
+    <xsl:param name="MAXFEATURES" select="1000"/>
     
     <!--<xsl:param name="procesy5_system_schema_file" required="yes"/>-->
     <!--<xsl:param name="vrtfNamespaces_file" required="yes"/>-->
@@ -130,7 +132,7 @@
         <xsl:param name="REQUEST.SERVICE" select="'WFS'"/>
         <xsl:param name="REQUEST.VERSION" select="'1.0.0'"/>
         <xsl:param name="REQUEST.TYPE" select="'GetFeature'"/>
-        <!--<xsl:param name="REQUEST.MAXFEATURES" />-->
+        <xsl:param name="REQUEST.MAXFEATURES" />
         <xsl:param name="REQUEST.TYPENAME"  required="yes"/>
         <xsl:param name="OGC_Filter"/>
         <xsl:param name="REQUEST.SRSNAME" select="'EPSG:3003'"/>
@@ -152,6 +154,13 @@
                 <xsl:otherwise><xsl:value-of select="concat($username,':',$username.pass,'@')"/></xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
+        <xsl:variable name="REQUEST.MAXFEATURES">
+            <xsl:choose>
+                <xsl:when test=" string-length($REQUEST.MAXFEATURES) &gt; 0">
+                    <xsl:value-of select="concat('&amp;MAXFEATURES=',$REQUEST.MAXFEATURES)"/>
+                </xsl:when>
+            </xsl:choose>
+        </xsl:variable>
         <xsl:if test="number($debug) &gt; 0"><xsl:message>#76 req:<xsl:value-of select="$REQUEST.TYPENAME"/> filter <xsl:value-of select="$OGC_Filter//ogc:PropertyName/text()"/>/<xsl:value-of select="$OGC_Filter//ogc:Literal/text()"/></xsl:message></xsl:if>
         <xsl:value-of select="concat($protocol,$username_and_pass,$api,'/',$targetNamespace_DEFAULTS_prefix,'/?SERVICE=',$REQUEST.SERVICE,'&amp;VERSION=',$REQUEST.VERSION,'&amp;REQUEST=',$REQUEST.TYPE,'&amp;TYPENAME=',$REQUEST.TYPENAME,$php_session_id_ok.string,$api_recurse.request,$OGC_Filter,'&amp;SRSNAME=',$REQUEST.SRSNAME)"/>
     </xsl:template>
@@ -180,7 +189,6 @@
                 <xsl:copy-of select="$get_wfs_recurse_xsl:PRIMARYKEY.nodes"/>
             </xsl:otherwise>
         </xsl:choose>
-        
     </xsl:function>
     
     
@@ -474,9 +482,10 @@
                         </xsl:for-each>
                 </get_wfs_recurse_xsl:context.PRIMARYKEY>
             </xsl:variable>
-            <xsl:copy-of select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/>
-            <xsl:copy-of select="$get_wfs_recurse_xsl:context.nodes"/>
-            
+            <xsl:if test="number($debug) &gt; 3">
+                 <xsl:copy-of select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/>
+                 <xsl:copy-of select="$get_wfs_recurse_xsl:context.nodes"/>
+            </xsl:if>
             <xsl:choose>
             <xsl:when test="$api_recurse">
                 <xsl:if test="$get_wfs_recurse_xsl:wfs_response/ServiceExceptionReport" xpath-default-namespace="http://www.opengis.net/ogc">
@@ -528,16 +537,22 @@
         <!--<xlink:href.evaluate>-->
            <!-- <xsl:copy>
                 <xsl:copy-of select="@*"/>-->
+        <xsl:if test="number($debug) &gt; 3">
             <xlink:href.debug509>
                 <xsl:attribute name="debug.last_wfs_request" select="$debug.last_wfs_request"/>
                 <xsl:copy-of select="@*"/>
+                <xsl:copy-of select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/>
+                <xsl:copy-of select="$get_wfs_recurse_xsl:context.nodes"/>
             </xlink:href.debug509>
-                <xsl:message>#516-A  name()<xsl:value-of select="name()"/>; @xlink:href=<xsl:value-of select="@xlink:href"/>;</xsl:message>
-                <xsl:comment>#516-A  name()<xsl:value-of select="name()"/>; @xlink:href=<xsl:value-of select="@xlink:href"/>;</xsl:comment>
+        </xsl:if>
+                <xsl:message>#516-A  name()<xsl:value-of select="name()"/>; ORIGINAL_@xlink:href=<xsl:value-of select="@xlink:href"/>;</xsl:message>
+                <xsl:comment>#516-A  name()<xsl:value-of select="name()"/>; ORIGINAL_@xlink:href=<xsl:value-of select="@xlink:href"/>;</xsl:comment>
                 <xsl:variable name="xlink:request_string">
-                    <xsl:apply-templates mode="xlink:request_string" select="."/>
+                    <xsl:apply-templates mode="xlink:request_string" select=".">
+                        <xsl:with-param name="p5:links.recurse_level" select="$p5:links.recurse_level"/>
+                    </xsl:apply-templates>
                 </xsl:variable>
-        <xsl:message>#516-A anchestors.count(<xsl:value-of select="count(ancestor::node())"/>); context.PRIMARYKEY count(<xsl:value-of select="count($get_wfs_recurse_xsl:context.PRIMARYKEY//*[@fid])"/>); previous @fid=count(<xsl:value-of select="count(root()//*[@fid])"/>);  get_wfs_recurse_xsl:context.nodes count(<xsl:value-of select="count($get_wfs_recurse_xsl:context.nodes//*[@fid])"/>); debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
+                <xsl:message>#516-A anchestors.count(<xsl:value-of select="count(ancestor::node())"/>); context.PRIMARYKEY count(<xsl:value-of select="count($get_wfs_recurse_xsl:context.PRIMARYKEY//*[@fid])"/>); previous @fid=count(<xsl:value-of select="count(root()//*[@fid])"/>);  get_wfs_recurse_xsl:context.nodes count(<xsl:value-of select="count($get_wfs_recurse_xsl:context.nodes//*[@fid])"/>); debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
                 <xsl:comment>#516-A anchestors.count(<xsl:value-of select="count(ancestor::node())"/>); context.PRIMARYKEY count(<xsl:value-of select="count($get_wfs_recurse_xsl:context.PRIMARYKEY//*[@fid])"/>); previous @fid=count(<xsl:value-of select="count(root()//*[@fid])"/>);  get_wfs_recurse_xsl:context.nodes count(<xsl:value-of select="count($get_wfs_recurse_xsl:context.nodes//*[@fid])"/>); debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:comment>
                 <!--<xsl:message>#401 previous @fid
                     <xsl:for-each select="root()//*[@fid]">
@@ -545,12 +560,13 @@
                     </xsl:for-each>
                 </xsl:message>-->
                 <xsl:choose>
-                    <!--<xsl:when test="$get_wfs_recurse_xsl:context.nodes//*[@fid = get_wfs_recurse_xsl:REQUEST.fid( current()/@xlink:href)]">
-                        
-                    </xsl:when>-->
+                    <xsl:when test="$get_wfs_recurse_xsl:context.nodes//*[@fid = get_wfs_recurse_xsl:REQUEST.fid( current()/@xlink:href)]">
+                        <xsl:message>#398-A1 match="*[@xlink:href]" - LOOP CONTEXT.nodes DETECTED  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; BYPASSING  @xlink:href=<xsl:value-of select="@xlink:href"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
+                        <xsl:comment>#398-A1 match="*[@xlink:href]" - LOOP CONTEXT.nodes DETECTED  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/> BYPASSING  @xlink:href=<xsl:value-of select="@xlink:href"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:comment>
+                    </xsl:when>
                     <xsl:when test="root()//*[number(@root.distance) &lt; number($p5:links.loop.context.nodes.min.distance) and @fid = get_wfs_recurse_xsl:REQUEST.fid( current()/@xlink:href)]">
-                        <xsl:message>#398-A match="*[@xlink:href]" - LOOP DETECTED  for <xsl:value-of select="root()//*[@fid = get_wfs_recurse_xsl:REQUEST.fid( current()/@xlink:href)]/concat(@fid,' dist:',@root.distance)"/>  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; BYPASSING  @xlink:href=<xsl:value-of select="@xlink:href"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
-                        <xsl:comment>#398-A match="*[@xlink:href]" - LOOP DETECTED  for <xsl:value-of select="root()//*[@fid = get_wfs_recurse_xsl:REQUEST.fid( current()/@xlink:href)]/concat(@fid,' dist:',@root.distance)"/>  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/> BYPASSING  @xlink:href=<xsl:value-of select="@xlink:href"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:comment>
+                        <xsl:message>#398-A2 match="*[@xlink:href]" - LOOP DETECTED  for <xsl:value-of select="root()//*[@fid = get_wfs_recurse_xsl:REQUEST.fid( current()/@xlink:href)]/concat(@fid,' dist:',@root.distance)"/>  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; BYPASSING  @xlink:href=<xsl:value-of select="@xlink:href"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
+                        <xsl:comment>#398-A2 match="*[@xlink:href]" - LOOP DETECTED  for <xsl:value-of select="root()//*[@fid = get_wfs_recurse_xsl:REQUEST.fid( current()/@xlink:href)]/concat(@fid,' dist:',@root.distance)"/>  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/> BYPASSING  @xlink:href=<xsl:value-of select="@xlink:href"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:comment>
                     </xsl:when>
                     <xsl:when test="p5:links.recurse_level.limit($p5:links.recurse_level)">
                         <xsl:message>#398-B match="*[@xlink:href]" HIT LIMIT p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; BYPASSING  @xlink:href=<xsl:value-of select="@xlink:href"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
@@ -592,25 +608,39 @@
         <xsl:param name="debug.last_wfs_request" required="yes"/>
        <!-- <xsl:element name="{name()}" inherit-namespaces="yes">
             <xsl:copy-of select="namespace::node()"/>-->
-        <xsl:copy><!-- debug -->
-            <xsl:copy-of select="@*"/>
-            <!--<xsl:attribute name="debug.566"> match=* mode=p5:links.evaluate</xsl:attribute>-->
-            <xsl:apply-templates mode="xlink:href.evaluate" select="@xlink:href">
-                <xsl:with-param name="p5:links.recurse_level" select="$p5:links.recurse_level"/>
-                <xsl:with-param name="p5:links.next.recurse_level" select="$p5:links.next.recurse_level"/>
-                <xsl:with-param name="get_wfs_recurse_xsl:context.nodes"  select="$get_wfs_recurse_xsl:context.nodes"/>
-                <xsl:with-param name="get_wfs_recurse_xsl:context.PRIMARYKEY" select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/>
-                <xsl:with-param name="debug.last_wfs_request" select="$debug.last_wfs_request"/>
-            </xsl:apply-templates>
-            <xsl:apply-templates mode="p5:links.evaluate">
-                <xsl:with-param name="p5:links.recurse_level" select="$p5:links.recurse_level"/>
-                <xsl:with-param name="p5:links.next.recurse_level" select="$p5:links.next.recurse_level"/>
-                <xsl:with-param name="get_wfs_recurse_xsl:context.nodes"  select="$get_wfs_recurse_xsl:context.nodes"/>
-                <xsl:with-param name="get_wfs_recurse_xsl:context.PRIMARYKEY" select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/>
-                <xsl:with-param name="debug.last_wfs_request" select="$debug.last_wfs_request"/>
-            </xsl:apply-templates>
-        <!--</xsl:element>-->
-        </xsl:copy>
+        <xsl:choose>
+            <xsl:when test="count($get_wfs_recurse_xsl:context.nodes//*[@fid =  current()/@fid ]) &gt; 1">
+                <xsl:message>#613-A1 match="*[@xlink:href]" - LOOP CONTEXT.nodes DETECTED  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; BYPASSING current()/@fid=<xsl:value-of select="@fid"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
+                <xsl:comment>#613-A1 match="*[@xlink:href]" - LOOP CONTEXT.nodes DETECTED  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; BYPASSING current()/@fid=<xsl:value-of select="@fid"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:comment>
+                <xsl:if test="number($debug) &gt; 3">
+                    <xsl:copy-of select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/>
+                    <xsl:copy-of select="$get_wfs_recurse_xsl:context.nodes"/>
+                </xsl:if>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:copy><!-- debug -->
+                    <xsl:copy-of select="@*"/>
+                    <!--<xsl:attribute name="debug.566"> match=* mode=p5:links.evaluate</xsl:attribute>-->
+                    <xsl:apply-templates mode="xlink:href.evaluate" select="@xlink:href">
+                        <xsl:with-param name="p5:links.recurse_level" select="$p5:links.recurse_level"/>
+                        <xsl:with-param name="p5:links.next.recurse_level" select="$p5:links.next.recurse_level"/>
+                        <xsl:with-param name="get_wfs_recurse_xsl:context.nodes"  select="$get_wfs_recurse_xsl:context.nodes"/>
+                        <xsl:with-param name="get_wfs_recurse_xsl:context.PRIMARYKEY" select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/>
+                        <xsl:with-param name="debug.last_wfs_request" select="$debug.last_wfs_request"/>
+                    </xsl:apply-templates>
+                    <xsl:apply-templates mode="p5:links.evaluate">
+                        <xsl:with-param name="p5:links.recurse_level" select="$p5:links.recurse_level"/>
+                        <xsl:with-param name="p5:links.next.recurse_level" select="$p5:links.next.recurse_level"/>
+                        <xsl:with-param name="get_wfs_recurse_xsl:context.nodes"  select="$get_wfs_recurse_xsl:context.nodes"/>
+                        <xsl:with-param name="get_wfs_recurse_xsl:context.PRIMARYKEY" select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/>
+                        <xsl:with-param name="debug.last_wfs_request" select="$debug.last_wfs_request"/>
+                    </xsl:apply-templates>
+                    <!--</xsl:element>-->
+                </xsl:copy>
+            </xsl:otherwise>
+        </xsl:choose>
+        
+        
         <!--<xsl:element name="{name()}" inherit-namespaces="yes"  xpath-default-namespace="http://www.opengis.net/wfs">
             
             <xsl:apply-templates mode="p5:links.evaluate"/>
@@ -621,7 +651,7 @@
     <xsl:function name="p5:links.recurse_level.limit">
         <xsl:param name="p5:links.recurse_level"/>
         <xsl:choose>
-            <xsl:when test="number($p5:links.recurse_level) &gt; number($p5:links.recurse_level.limit)">
+            <xsl:when test="number($p5:links.recurse_level) &gt;= number($p5:links.recurse_level.limit)">
                 <xsl:value-of select="'limit hit'"/>
                 <xsl:message>#431-R LIMIT HIT p5:links.recurse_level.limit($p5:links.recurse_level.limit at <xsl:value-of select="$p5:links.recurse_level"/>);</xsl:message>
                 <xsl:comment>#431-R LIMIT HIT p5:links.recurse_level.limit($p5:links.recurse_level.limit at <xsl:value-of select="$p5:links.recurse_level"/>)</xsl:comment>
@@ -647,6 +677,20 @@
         </xsl:if>
     </xsl:function>
     
+    <xsl:function name="get_wfs_recurse_xsl:api_recurse.request">
+        <xsl:param name="api_recurse"/>
+        <xsl:param name="p5:links.recurse_level"/>
+        <xsl:choose>
+            <xsl:when test="$api_recurse and ( ( number($p5:links.recurse_level) + number($resolveDepth) ) &gt; $p5:links.recurse_level.limit )">
+                <xsl:message>#668 reducing $resolveDepth to  $p5:links.recurse_level.limit-$p5:links.recurse_level == <xsl:value-of select="($p5:links.recurse_level.limit - $p5:links.recurse_level )"/> to not extend expected deep traverse </xsl:message>
+                <xsl:value-of select="concat('&amp;resolveDepth=',($p5:links.recurse_level.limit - $p5:links.recurse_level ),'&amp;resolve=all')"/>
+            </xsl:when>
+            <xsl:when test="$api_recurse and  number($p5:links.recurse_level)">
+                <xsl:value-of select="concat('&amp;resolveDepth=',$resolveDepth,'&amp;resolve=all')"/>
+            </xsl:when>
+        </xsl:choose>
+    </xsl:function>
+    
     <xsl:function name="get_wfs_recurse_xsl:api_recurse.request">
         <xsl:param name="api_recurse"/>
         <xsl:choose>
@@ -729,16 +773,31 @@
         <xsl:param name="REQUEST.TYPENAME" select="name()"/>
         <xsl:param name="OGC_Filter"/>
         <xsl:param name="REQUEST.SRSNAME" select="'EPSG:3003'"/>
+        <xsl:param name="p5:links.recurse_level"/>
         <xsl:param name="api.local_location" select="'SE/version-git/wfs-data.php/default_db/'"/>
         <xsl:variable name="php_session_id_ok.string" select="get_wfs_recurse_xsl:php_session_id_ok.string($php_session_id_ok.string)"/>
         <xsl:variable name="api_recurse.request" select="get_wfs_recurse_xsl:api_recurse.request($api_recurse)"/>
         <xsl:variable name="username_and_pass" select="get_wfs_recurse_xsl:username_and_pass($php_session_id_ok.string)"/>
         <xsl:variable name="REQUEST.TYPE.PRIMARYKEY" select="get_wfs_recurse_xsl:REQUEST.TYPE.PRIMARYKEY(@xlink:href)"/>
-        <xsl:message>#497 detected $api = <xsl:value-of select="$api"/>; </xsl:message>
-        <xsl:message>#497 REQUEST.TYPE.PRIMARYKEY=<xsl:value-of select="$REQUEST.TYPE.PRIMARYKEY"/>;</xsl:message>
+        <xsl:variable name="REQUEST.MAXFEATURES">
+            <xsl:choose>
+                <xsl:when test="contains(@xlink:href,'&amp;maxFeatures=10')">
+                    <xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/>
+                </xsl:when>
+                <xsl:when test="contains(@xlink:href,'&amp;maxFeatures=20')">
+                    <xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/>
+                </xsl:when>
+                <xsl:when test="contains(@xlink:href,'maxFeatures')"/>
+                <xsl:otherwise><xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/></xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+        
+        <xsl:if test="number($debug) &gt; 3"><xsl:message>#497 detected $api = <xsl:value-of select="$api"/>; </xsl:message>
+            <xsl:message>#497 REQUEST.TYPE.PRIMARYKEY=<xsl:value-of select="$REQUEST.TYPE.PRIMARYKEY"/>;</xsl:message>
+        </xsl:if>
         <xsl:choose>
             <xsl:when test=" string-length($REQUEST.TYPE.PRIMARYKEY) &gt; 0">
-                <xsl:value-of select="concat($protocol,$username_and_pass,$api,'?SERVICE=',$REQUEST.SERVICE,'&amp;VERSION=',$REQUEST.VERSION,'&amp;REQUEST=',$REQUEST.TYPE,'&amp;TYPENAME=',$REQUEST.TYPENAME,$php_session_id_ok.string,$api_recurse.request,$REQUEST.TYPE.PRIMARYKEY,'&amp;SRSNAME=',$REQUEST.SRSNAME)"/>
+                <xsl:value-of select="concat($protocol,$username_and_pass,$api,'?SERVICE=',$REQUEST.SERVICE,'&amp;VERSION=',$REQUEST.VERSION,'&amp;REQUEST=',$REQUEST.TYPE,'&amp;TYPENAME=',$REQUEST.TYPENAME,$php_session_id_ok.string,$api_recurse.request,$REQUEST.TYPE.PRIMARYKEY,'&amp;SRSNAME=',$REQUEST.SRSNAME,$REQUEST.MAXFEATURES)"/>
             </xsl:when>
             <xsl:otherwise>
                 <xsl:message>#532 ERROR with requests - debug it and stop recurse</xsl:message>
@@ -778,23 +837,29 @@
                 <xsl:value-of select="concat('&amp;sid=',normalize-space($php_session_id_ok.string))"/>
             </xsl:if>
         </xsl:variable>
-        <xsl:variable name="api_recurse.request">
+        <!--<xsl:variable name="api_recurse.request">
             <xsl:choose>
                 <xsl:when test="$api_recurse">
                     <xsl:value-of select="concat('&amp;resolveDepth=',$resolveDepth,'&amp;resolve=all')"/>
                 </xsl:when>
             </xsl:choose>
-        </xsl:variable>
+        </xsl:variable>-->
        <!-- <xsl:copy>-->
             <p5:links><xsl:copy-of select="*"/></p5:links>
             
             <xsl:variable name="p5:fid" select="p5:fid(p5:next/text())"/>
             <xsl:message>#684 debug match="p5:links" detected $p5:fid = <xsl:value-of select="$p5:fid"/></xsl:message>
             <xsl:comment>#684 debug match="p5:links" detected $p5:fid = <xsl:value-of select="$p5:fid"/></xsl:comment>
-            <xsl:copy-of select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/> 
-            <xsl:copy-of select="$get_wfs_recurse_xsl:context.nodes"/>
+                <xsl:if test="number($debug) &gt; 3">
+                    <xsl:copy-of select="$get_wfs_recurse_xsl:context.PRIMARYKEY"/> 
+                    <xsl:copy-of select="$get_wfs_recurse_xsl:context.nodes"/>
+                </xsl:if>
               <xsl:choose>
-                  <xsl:when test="number($p5:links.recurse_level) &gt; number($p5:links.recurse_level.limit)">
+                  <xsl:when test="$get_wfs_recurse_xsl:context.nodes//*[@fid = $p5:fid ]">
+                      <xsl:message>#430-A1 match="*[@xlink:href]" - LOOP CONTEXT.nodes DETECTED  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; BYPASSING  p5:next/text()=<xsl:value-of select="p5:next/text()"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
+                      <xsl:comment>#430-A1 match="*[@xlink:href]" - LOOP CONTEXT.nodes DETECTED  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/> BYPASSING  p5:next/text()=<xsl:value-of select="p5:next/text()"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:comment>
+                  </xsl:when>
+                  <xsl:when test="number($p5:links.recurse_level) &gt;= number($p5:links.recurse_level.limit)">
                       <xsl:message>#430 STOPPED digging links by HIT $p5:links.recurse_level.limit at <xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>;</xsl:message>
                       <xsl:comment>#430 STOPPED digging links by HIT $p5:links.recurse_level.limit at <xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>;</xsl:comment>
                   </xsl:when>
@@ -809,14 +874,20 @@
                   <xsl:otherwise>
                       <xsl:variable name="MAXFEATURES.request">
                           <xsl:choose>
+                              <xsl:when test="contains(p5:next/text(),'maxFeatures=10')">
+                                  <xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/>
+                              </xsl:when>
+                              <xsl:when test="contains(p5:next/text(),'maxFeatures=20')">
+                                  <xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/>
+                              </xsl:when>
                               <xsl:when test="contains(p5:next/text(),'maxFeatures')"/>
-                              <xsl:otherwise><xsl:value-of select="concat('&amp;maxFeatures',$MAXFEATURES)"/></xsl:otherwise>
+                              <xsl:otherwise><xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/></xsl:otherwise>
                           </xsl:choose>
                       </xsl:variable>
                       
-                      <xsl:variable name="request_string" select="concat(p5:next/text(),$php_session_id_ok.string,$api_recurse.request,$MAXFEATURES.request)"/> <!-- ,'&amp;maxFeatures=999' -->
-                      <xsl:message>#415 $p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>;  p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; requesting p5:links <xsl:value-of select="$request_string"/> <xsl:copy-of select="p5:next/@*"></xsl:copy-of></xsl:message>
-                      <xsl:comment>#415 $p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>;  p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; requesting p5:links <xsl:value-of select="$request_string"/></xsl:comment>
+                      <xsl:variable name="request_string" select="concat(p5:next/text(),$php_session_id_ok.string,get_wfs_recurse_xsl:api_recurse.request($api_recurse,$p5:links.recurse_level),$MAXFEATURES.request)"/> <!-- ,'&amp;maxFeatures=999' -->
+                      <xsl:message>#415 $p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>;  p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; requesting p5:links <xsl:value-of select="$request_string"/> ; orig from next (<xsl:copy-of select="p5:next/@*"/>)</xsl:message>
+                      <xsl:comment>#415 $p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>;  p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; requesting p5:links <xsl:value-of select="$request_string"/> ; orig from next (<xsl:copy-of select="p5:next/@*"/>)</xsl:comment>
                       <!--<request_string>
               <xsl:copy-of select="$request_string"/>
               </request_string>-->
@@ -894,6 +965,12 @@
         </xsl:variable>
         <xsl:variable name="MAXFEATURES.request">
             <xsl:choose>
+                <xsl:when test="contains(@next,'&amp;maxFeatures=10')">
+                    <xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/>
+                </xsl:when>
+                <xsl:when test="contains(@next,'&amp;maxFeatures=20')">
+                    <xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/>
+                </xsl:when>
                 <xsl:when test="contains(@next,'maxFeatures')"/>
                 <xsl:otherwise><xsl:value-of select="concat('&amp;maxFeatures=',$MAXFEATURES)"/></xsl:otherwise>
             </xsl:choose>
@@ -928,7 +1005,10 @@
         <xsl:copy-of select="$request_string"/>
         </request_string>-->
         <xsl:choose>
-            
+            <xsl:when test="$get_wfs_recurse_xsl:context.nodes//*[@fid =  current()/@fid ]">
+                <xsl:message>#692-A1 match="*[@xlink:href]" - LOOP CONTEXT.nodes DETECTED  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; BYPASSING current(); debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
+                <xsl:comment>#692-A1 match="*[@xlink:href]" - LOOP CONTEXT.nodes DETECTED  at p5:links.recurse_level=<xsl:value-of select="$p5:links.recurse_level"/>; at p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/> BYPASSING  current() debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:comment>
+            </xsl:when>
             <xsl:when test="number($p5:links.recurse_level) &gt; $p5:links.recurse_level.limit">
                 <xsl:message>#692-R stopped digging for new p5:fid=<xsl:value-of select="$p5:fid"/> $p5:links.recurse_level.limit at <xsl:value-of select="$p5:links.recurse_level"/>; p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:message>
                 <xsl:comment>#692-R stopped digging for new p5:fid=<xsl:value-of select="$p5:fid"/> $p5:links.recurse_level.limit at <xsl:value-of select="$p5:links.recurse_level"/>; p5:links.next.recurse_level=<xsl:value-of select="$p5:links.next.recurse_level"/>; debug.last_wfs_request=<xsl:value-of select="$debug.last_wfs_request"/>;</xsl:comment>
@@ -1520,6 +1600,56 @@
         <xsl:value-of select="$TestMaxOccurs"/>
     </xsl:template>
     
+    <xsl:template match="RelatedFeatureRoot" mode="anonimize_for_devel">
+        <wfs:FeatureCollection>
+            <xsl:apply-templates mode="anonimize_for_devel.featureMember" />
+        </wfs:FeatureCollection>
+    </xsl:template>
+    
+    
+    <xsl:template match="*" mode="anonimize_for_devel.featureMember">
+        <gml:featureMember>
+            <xsl:copy copy-namespaces="no">
+                <xsl:copy-of select="@*"/>
+                <xsl:apply-templates mode="anonimize_for_devel.child"/>
+            </xsl:copy>
+        </gml:featureMember>
+    </xsl:template>
+    
+    
+    
+    <xsl:template match="p5:links" mode="anonimize_for_devel.child"/>
+    <xsl:template match="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI[ parent::default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA]|default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY[ parent::default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA]" priority="9" mode="anonimize_for_devel.child">
+        <xsl:message>#1600 debug hidden name()=<xsl:value-of select="name()"/>;</xsl:message>
+    </xsl:template>
+    
+    
+    <xsl:template match="get_wfs_recurse_xsl:context.PRIMARYKEY|get_wfs_recurse_xsl:context.nodes" mode="anonimize_for_devel.child"/>
+    <xsl:template match="text()" mode="anonimize_for_devel.child"/>
+    
+    <xsl:template match="comment()" mode="anonimize_for_devel.child">
+        <xsl:copy-of select="."/>
+    </xsl:template>
+    
+    <xsl:template match="*" mode="anonimize_for_devel.child">
+        <xsl:copy copy-namespaces="no">
+            <xsl:copy-of select="@*"/>
+            <xsl:copy-of select="text()"/>
+            <xsl:apply-templates mode="#current"/>
+        </xsl:copy>
+    </xsl:template>
+    
+    <xsl:template match="*[ local-name()='krs' or local-name()='pesel' or local-name()='nazwa' or local-name()='nazwisko' or local-name()='NIP' or local-name()='REGON' or local-name()='KRS' or local-name()='Pelna_nazwa_kontrahenta' or 
+        local-name()='Ulica' or local-name()='Miejscowosc' or local-name()='Kod_pocztowy' or local-name()='TERYT_SYM_UL' or local-name()='TERYT_SYM'  or local-name()='Numer_budynku']" mode="anonimize_for_devel.child">
+        <xsl:copy copy-namespaces="no">
+            <xsl:copy-of select="@*"/>
+            <xsl:value-of select="concat(substring(text(),1,2),'*****',string-length(text()))"/>
+        </xsl:copy>
+    </xsl:template>
+    
+    
+    
+    
     
     
 </xsl:stylesheet>

+ 51 - 2
SE/schema/WPS_Functions/graph_tree_TODO_PROJ6806/graph_tree_yed_from_wfs.xsl

@@ -19,11 +19,60 @@
     <xsl:param name="graph_title" select="'Arkadiusz Binder/RIP Graficzna prezentacja wybranych par raportu dla podanych KRS 2017-08-09'"/>
     <xsl:param name="graph_desc" select="'Uwaga - limit 10 umow'"/>
     
-    <xsl:param name="bypass_nodes_string" select="'(.*XXXXBI_audit_MSIG_nameXXXX.*)|(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row)|(.*taxpayer.*)'"/>
-    <xsl:param name="not_bypass_nodes_string" select="'BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object'"/>
+    <xsl:param name="bypass_nodes_string" select="'(.*BI_audit_ENERGA_PRACOWNICY.*)|(.*XXXXBI_audit_MSIG_nameXXXX.*)|(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row)|(.*taxpayer.*)'"/>
+    <xsl:param name="not_bypass_nodes_string" select="'xxxBI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object'"/>
+    
     <xsl:param name="debug" select="0"/>
     
     
+    <!--<xsl:param name="NearestMiddleShortcut" select="'parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA and current()=BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row and BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object'"/>-->
+    
+    <!--<xsl:param name="MiddlePathShortcut" select="'parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA and current()=BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row and BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object'"/>-->
+    
+    <!-- 
+        
+        a.binder Metody optumalizacji wizualizacji danych do weryfikacji czy są gotowe funckje/biblioteki do tego
+        
+    1) NearestMiddleShortcut    
+                        A - B - C      =>  A - - - C
+                        
+    2) MiddlePathShortcut                    
+                        A - B - C - D  =>  A - - - D
+                        
+    3) MiddleGroup                  
+                                 - C1 - D1                            / -  D1
+                        A  -  B +             =>     A  [B:  C1,C2 ] -
+                                 - C2 - D2                            \ -  D2
+                                 
+                                 
+    4) CutPath                             
+                        A  - B  -  C   - D    =>         C - D
+    
+    
+    5) TypesGroup                    
+                        
+                        A1  - B1  - C1
+                        A2  - B2  - C2      =>    [ A1, A2, A3 ] = [ B1, B2, B3 ] = [ C1, C2, C3 ] 
+                        A3  - B3  - C3
+    
+    
+    6) TypesAndFlowsGroup
+                                                           [    ] - - - - - -  [    ]
+                        A1  - B1  - C1                     [ A1 ]    [ B1 ]- - [ C1 ]   
+                        C2  - B2  - A2      =>   [ B2 ]- - [ A2 ]              [ C3 ]
+                        B3  - A3  - C3           [ B3 ]    [ A3 ]   
+                               
+                    
+    
+    
+          mixing this types also 
+    
+    
+    
+    
+    -->
+    
+    
     <xsl:variable name="colors">
         <colors>
             <color pos="0">#FFAAFF</color>

+ 131 - 0
SE/schema/WPS_Functions/graph_tree_TODO_PROJ6806/grapht.xsl

@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    exclude-result-prefixes="xs"
+    xmlns:grapht="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/graph_tree/graph_tree.xsd"
+    xmlns:get_wfs_recurse_xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl.xsd"
+    xmlns:y="http://www.yworks.com/xml/graphml"
+    xmlns:wfs="http://www.opengis.net/wfs"
+    xmlns:gml="http://www.opengis.net/gml"
+    xmlns:xlink="http://www.w3.org/1999/xlink"
+    xmlns:p5="https://biuro.biall-net.pl/wfs"
+    version="2.0">
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+    <xsl:template match="get_wfs_recurse_xsl:context.PRIMARYKEY|get_wfs_recurse_xsl:nodes" mode="#all"/>
+    
+    
+    <!-- 
+        
+        a.binder Metody optumalizacji wizualizacji danych do weryfikacji czy są gotowe funckje/biblioteki do tego
+        
+    1) NearestMiddleShortcut    
+                        A - B - C      =>  A - - - C
+                        
+    2) MiddlePathShortcut                    
+                        A - B - C - D  =>  A - - - D
+                        
+    3) MiddleGroup                  
+                                 - C1 - D1                            / -  D1
+                        A  -  B +             =>     A  [B:  C1,C2 ] -
+                                 - C2 - D2                            \ -  D2
+                                 
+                                 
+    4) CutPath                             
+                        A  - B  -  C   - D    =>         C - D
+    
+    
+    5) TypesGroup                    
+                        
+                        A1  - B1  - C1
+                        A2  - B2  - C2      =>    [ A1, A2, A3 ] = [ B1, B2, B3 ] = [ C1, C2, C3 ] 
+                        A3  - B3  - C3
+    
+    
+    6) TypesAndFlowsGroup
+                                                           [    ] - - - - - -  [    ]
+                        A1  - B1  - C1                     [ A1 ]    [ B1 ]- - [ C1 ]   
+                        C2  - B2  - A2      =>   [ B2 ]- - [ A2 ]              [ C3 ]
+                        B3  - A3  - C3           [ B3 ]    [ A3 ]   
+                               
+                    
+    
+    
+          mixing this types also 
+    
+    
+    
+    
+    -->
+    
+    
+    <xsl:function name="wfs:primary_key">
+        <xsl:param name="xlink:href"/>
+        <xsl:variable name="tokens" select="count(tokenize($xlink:href,'\.'))"/>
+        <xsl:value-of select="tokenize($xlink:href,'\.')[$tokens]"/>
+    </xsl:function>
+    
+    
+    
+    <xsl:function name="wfs:namespace">
+        <xsl:param name="xlink:href"/>
+        <xsl:value-of select=" substring-before($xlink:href,'#')"/>
+    </xsl:function>
+    
+    
+    
+    
+    <xsl:function name="wfs:element">
+        <xsl:param name="xlink:href"/>
+        <xsl:variable name="element_w_fid" select="substring-after($xlink:href,'#')"/>
+        <xsl:value-of select="substring-before($element_w_fid,'.')"/>
+    </xsl:function>
+    
+    
+    <xsl:function name="wfs:fid">
+        <xsl:param name="xlink:href"/>
+        <xsl:value-of select="concat( wfs:element($xlink:href),'.',  wfs:primary_key($xlink:href))"/>
+    </xsl:function>
+    
+    <xsl:template match="wfs:FeatureCollection" mode="grapht:analyze_nodes">
+        <grapht:analyze_nodes>
+            <xsl:for-each-group select=".//*[*|@xlink:href]" group-by="name()">
+                <xsl:copy copy-namespaces="no">
+                    <xsl:attribute name="grapht:count" select="count(current-group())"/>
+                    <xsl:attribute name="grapht:count.xlink" select="count(current-group()[@xlink:href])"/>
+                    <grapht:analyze_nodes.xlink.rebuild_tree_inputs>
+                        <xsl:for-each select=" current-group()[@xlink:href]" > <!-- -group  group-by="@fid" -->
+                            <xsl:sort select="count(ancestor::node())"/>
+                            <xsl:copy copy-namespaces="no">
+                                <xsl:copy-of select="@*"/>
+                                <xsl:variable name="grapht.fid" select="wfs:fid(@xlink:href)"/>
+                                <xsl:attribute name="grapht.fid" select="$grapht.fid"/>
+                                <xsl:attribute name="grapht:ancestor.count" select="count(ancestor::node())"/>
+                                <xsl:apply-templates mode="grapht:analyze_nodes.xlink.rebuild_tree" select="root()//*[*[@fid= $grapht.fid ]]"> <!-- and * -->
+                                    <xsl:with-param name="fid" select="$grapht.fid"/>
+                                    <xsl:with-param name="root.node" select="root()"/>
+                                </xsl:apply-templates>
+                            </xsl:copy>
+                        </xsl:for-each>
+                    </grapht:analyze_nodes.xlink.rebuild_tree_inputs>
+                </xsl:copy>
+            </xsl:for-each-group>
+        </grapht:analyze_nodes>
+    </xsl:template>
+    
+    
+    <xsl:template match="*" mode="grapht:analyze_nodes.xlink.rebuild_tree">
+        <xsl:param name="fid" required="yes"/>
+        <xsl:param name="root.node" required="yes"/>
+        <xsl:copy copy-namespaces="no">
+        <!--<xsl:element name="{../name()}">-->
+            <xsl:copy-of select="@*"/>
+            
+        <!--</xsl:element>-->
+        </xsl:copy>
+    </xsl:template>
+    
+    
+</xsl:stylesheet>

+ 21 - 0
SE/schema/WPS_Functions/system_ui_info_speech/build.p5suis.SYSTEM.xml

@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="../../." 
+    xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
+    name="p5suis.SYSTEM" > <!-- default="INSTALL.bgwrx.INSTALL" -->
+    
+    <include file="build.system_ui_info_speech.PRODUCT.xml" optional="true"/>
+    <include file="../build.WPS_Functions.SYSTEM.xml"/>
+    <!--<include file="../../default_db_xml_cache.public/build.system_cache__appinfo.public.PRODUCT.xml"/>-->
+    <!--<include file="build.bgwrx.INSTALL.xml" as="INSTALL"/>-->
+    
+    
+    
+    <property name="p5suis.SYSTEM.StandardOutPath" location="${p5build_SE.SYSTEM.StandardOutPath}/${p5suis.PRODUCT.name}.log"/>
+    <property name="p5suis.SYSTEM.StandardErrorPath" location="${p5build_SE.SYSTEM.StandardErrorPath}/${p5suis.PRODUCT.name}.log"/>
+    
+    <property name="p5suis.SYSTEM.addToLaunchctl.StandardOutPath" location="${p5build_SE.SYSTEM.StandardOutPath}/${p5suis.PRODUCT.name}.addToLaunchctl.log"/>
+    <property name="p5suis.SYSTEM.addToLaunchctl.StandardErrorPath" location="${p5build_SE.SYSTEM.StandardErrorPath}/${p5suis.PRODUCT.name}.addToLaunchctl.log"/>
+    
+    
+    
+</project>

+ 1 - 4
SE/schema/WPS_Functions/system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml

@@ -3,6 +3,7 @@
     
     <include file="../build.WPS_Functions.PRODUCT.xml"/>
     
+    
     <condition property="p5suis.PRODUCT.ifdef.parent" taskname="p5suis.parent.PRODUCT.ifdef">
         <isset property="WPS_Functions.PRODUCT.name"/>
     </condition>
@@ -19,10 +20,6 @@
     <property name="p5suis.pid" location="${p5suis.repository}/p5suis.speech.pid"/>
     
     
-    <property name="p5suis.StandardOutPath" location="${p5build_SE.SYSTEM.StandardOutPath}/${p5suis.PRODUCT.name}.log"/>
-    <property name="p5suis.StandardErrorPath" location="${p5build_SE.SYSTEM.StandardErrorPath}/${p5suis.PRODUCT.name}.log"/>
-    
-    
     
     <target name="p5suis.parent.PRODUCT.ifdef" unless="WPS_Functions.PRODUCT.ifdef.parent">
         <fail>There is not set correct parent PRODUCT from expected file="../build.WPS_Functions.PRODUCT.xml" </fail>

+ 52 - 11
SE/schema/WPS_Functions/system_ui_info_speech/build_system_ui_info_speech.xml

@@ -13,7 +13,9 @@
     </tstamp>
     
     <include file="build.system_ui_info_speech.PRODUCT.xml"/>
-    <include file="${build_SE.SYSTEM.build}" as="SYSTEM"/>
+    <include file="build.p5suis.SYSTEM.xml" as="SYSTEM"/>
+    <include file="${build_SE.SYSTEM.build}" as="build_SE.SYSTEM"/>
+   
    
     <!-- modules WPS_Functions - to be copied to any module needed -->
    <!-- <property name="WPS_Functions" value="${basedir}/WPS_Functions"/>
@@ -21,10 +23,10 @@
     <property name="build_WPS_Functions.xml.properties" value="${build_WPS_Functions.xml}.properties"/>-->
     <!-- eof modules WPS_Functions  -->
     
-    <property name="system_ui_info_speech" value="${basedir}/WPS_Functions/system_ui_info_speech/build_system_ui_info_speech.xml"/>
-    <property name="system_ui_info_speech_basedir" value="${basedir}/WPS_Functions/system_ui_info_speech"  />                         
-    <property name="p5suis:repository" value="${basedir}/WPS_Functions/${ant.project.name}/system_ui_info_speech_repository"  />
-        <property name="system_ui_info_speech_basedir_repository" value="${p5suis:repository}"  />
+    <property name="system_ui_info_speech" value="${p5suis.build}"/>
+    <property name="system_ui_info_speech_basedir" value="${p5suis.basedir}"  />                         
+    <property name="p5suis:repository" value="${p5suis.repository}"  />
+    <property name="system_ui_info_speech_basedir_repository" value="${p5suis.repository}"  />
     
     <property name="system_ui_info_speech_basedir_temp" value="${system_ui_info_speech_basedir}/temp"  />
     <property name="p5suis.say_queue_dir" value="${system_ui_info_speech_basedir_temp}/p5suis.say_queue_dir"  />
@@ -246,7 +248,43 @@
         </echoxml>
     </target>
     
+    
+    
+    
     <target name="p5suis.say_to_queue.copy_file" depends="system_ui_info_speech_create_dirs" description="To put some file to say queue">
+        <description>
+            
+            Instruction - just create any xml file with 
+            1) attributes  - example p5suis:say=" Missing in remote count 2"
+            2) elements which calculates/counts like : 
+            <!--<default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY p5suis:group.name="BI_audit_ENERGA_PRACOWNICY"
+                p5suis:group.by="child::local-name()"
+                p5suis:group-desc="child::local-name()">
+                <bgwrx:equals fid="BI_audit_ENERGA_PRACOWNICY.9"/>
+                <missing_in_remote.count missing_in_remote.count="2" p5suis:say=" Missing in remote count 2"/>
+            </default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY>
+            <default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI p5suis:group.name="BI_audit_ENERGA_RUM_KONTRAHENCI"
+                p5suis:group.by="child::local-name()"
+                p5suis:group-desc="child::local-name()">
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.9216"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.9196"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.9192"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.9187"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.9180"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.105"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.127"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.524"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.675"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.846"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.1023"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.1165"/>
+                <bgwrx:equals fid="BI_audit_ENERGA_RUM_KONTRAHENCI.1069"/>
+                <missing_in_remote.count missing_in_remote.count="14" p5suis:say=" Missing in remote count 14"/>-->
+            Use namespace: xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
+            
+            
+            
+        </description>
         <input addproperty="p5suis.say_to_queue.copy_file"/> <!-- root namespace API -->
         <tempfile property="p5suis.say_text.file" deleteonexit="no" prefix="${p5suis:current.timestamp}_say_to_queue_" suffix=".xml" destdir="${p5suis.say_queue_dir}"/>
         <echo>#252 will copy from ${p5suis.say_to_queue.copy_file} to ${p5suis.say_text.file}; p5suis.say_queue_dir = ${p5suis.say_queue_dir}</echo>
@@ -255,6 +293,7 @@
     
     <!-- ,build_WPS_Functions.xml.properties.cond -->
     <target name="p5suis:say_to_queue.PL" depends="system_ui_info_speech_create_dirs" description="To put some text to say queue">
+        <description>To put some text to say queue</description>
         <input addproperty="p5suis:say_text"/> <!-- root namespace API -->
         <tempfile property="p5suis:say_text.file" deleteonexit="no" prefix="${p5suis:current.timestamp}_say_to_queue_" suffix=".xml" destdir="${p5suis.say_queue_dir}"/>
         <echoxml file="${p5suis:say_text.file}" >
@@ -292,7 +331,7 @@
         
     <target name="p5suis:say_from_queue.task.run.immediate.run"  unless="p5suis:write_pid.delete_old_stuck.cond.cond"  depends="system_ui_info_speech_create_dirs,p5suis:write_pid" description="To say the queue once">
         <echo level="verbose">#278 {p5suis:write_pid.delete_old_stuck.cond}=${p5suis:write_pid.delete_old_stuck.cond} </echo>
-        <fileset id="p5suis:say_queue" dir="${p5suis.say_queue_dir}" includes="*say_to_queue_*.xml"  />
+        <fileset id="p5suis:say_queue" dir="${p5suis.say_queue_dir}" includes="*"  /> <!-- *say_to_queue_*.xml -->
         
         <property name="p5suis:say_queue" refid="p5suis:say_queue"/>
         <tempfile property="p5suis:say_queue.file" destdir="${system_ui_info_speech_basedir_temp}" prefix="say_queue.file_" suffix=".xml" deleteonexit="yes"/>
@@ -366,7 +405,7 @@
     </target>
      
     
-    <target name="psuis:addToLaunchctl.upload.plist" depends="SYSTEM.build_SE.SYSTEM" unless="psuis.addToLaunchctl.plistFile.test" if="psuis.addToLaunchctl.test">
+    <target name="psuis:addToLaunchctl.upload.plist" depends="build_SE.SYSTEM.build_SE.SYSTEM" unless="psuis.addToLaunchctl.plistFile.test" if="psuis.addToLaunchctl.test">
         <property environment="env"/>
         <echo level="verbose">ENV ${env.user.name}</echo>
         <ant antfile="${build_SE.xml}" target="uid.build_SE.fail_if_user_is_not_root" inheritall="yes"/>
@@ -396,9 +435,9 @@
                         <string>-S</string>
                     </array>
                     <key>StandardOutPath</key>
-                    <string>${p5suis.StandardOutPath}</string>
+                    <string>${p5suis.SYSTEM.addToLaunchctl.StandardOutPath}</string>
                     <key>StandardErrorPath</key>
-                    <string>${p5suis.StandardErrorPath}</string>
+                    <string>${p5suis.SYSTEM.addToLaunchctl.StandardErrorPath}</string>
                     <key>Debug</key>
                     <true/>
                     <!--<key>StartInterval</key>
@@ -415,8 +454,10 @@
         </echoxml>
         <echo>#315 moving ${psuis.addToLaunchctl.upload.plist.temp}</echo>
         <move file="${psuis.addToLaunchctl.upload.plist.temp}" tofile="${psuis.addToLaunchctl.plistFile}"/>
-        
-        
+        <touch file="${p5suis.SYSTEM.addToLaunchctl.StandardOutPath}" mkdirs="true"/>
+        <touch file="${p5suis.SYSTEM.addToLaunchctl.StandardErrorPath}" mkdirs="true"/>
+        <chown file="${p5suis.SYSTEM.addToLaunchctl.StandardOutPath}" owner="${p5build_SE.SYSTEM.local-user}" failonerror="false"/>
+        <chown file="${p5suis.SYSTEM.addToLaunchctl.StandardErrorPath}" owner="${p5build_SE.SYSTEM.local-user}" failonerror="false"/>
             
         
         <ant antfile="${build_SE.xml}" target="p5build_SE:OSX_SERVER:launchctl.load.plist">

+ 23 - 0
SE/schema/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsl

@@ -58,6 +58,10 @@
         <xsl:for-each select="$text.xml/text.xml/ph">
             <xsl:message>#61 testing [<xsl:value-of select="@pos"/>]"<xsl:value-of select="current()"/>"</xsl:message>
             <xsl:choose>
+                <xsl:when test=" matches(text(),'p5suis:say')">
+                    <xsl:message>#64-A detectet object</xsl:message>
+                    <xsl:text> </xsl:text><xsl:value-of select="' '"/>
+                </xsl:when>
                 <xsl:when test=" matches(text(),'p5:object')">
                     <xsl:message>#64-A detectet object</xsl:message>
                     <xsl:text> </xsl:text><xsl:value-of select="' object '"/>
@@ -92,6 +96,8 @@
         <delete file="{$p5suis:file}" failonerror="false"/>
     </xsl:template>
     
+    
+    
     <xsl:template mode="p5suis:say_from_queue.build_ant.say_and_delete" match="say">
         <xsl:param name="p5suis:file" required="yes"/>
         <xsl:variable name="p5suis:text_to_say_optimize" select="p5suis:text_to_say_optimize( current())"/>
@@ -117,6 +123,23 @@
         <xsl:apply-templates mode="p5suis:say_from_queue.build_ant.say_and_delete.search" />
     </xsl:template>
     
+    <xsl:template mode="p5suis:say_from_queue.build_ant.say_and_delete.search" match="p5suis:say">
+        <xsl:variable name="p5suis:text_to_say_optimize" select="text()"/>
+        <exec executable="say"  failifexecutionfails="false">
+            <arg line="-v alex"/>
+            <arg line="{p5suis:text_to_say_optimize($p5suis:text_to_say_optimize)}"/>
+        </exec>
+    </xsl:template>
+    
+    <xsl:template mode="p5suis:say_from_queue.build_ant.say_and_delete.search" match="description[ matches(text(),'p5suis:say')]">
+        <xsl:variable name="p5suis:text_to_say_optimize" select="text()"/>
+        <exec executable="say"  failifexecutionfails="false">
+            <arg line="-v alex"/>
+            <arg line="{p5suis:text_to_say_optimize($p5suis:text_to_say_optimize)}"/>
+        </exec>
+    </xsl:template>
+    
+    
     <xsl:template mode="p5suis:say_from_queue.build_ant.say_and_delete.search" match="@p5suis:group.by">
         <xsl:variable name="p5suis:group.name" select="../@p5suis:group.name"/>
         <xsl:variable name="p5suis:group-desc" select="../@p5suis:group-desc"/>

+ 2 - 0
SE/schema/build.p5build.GLOBALS.xml

@@ -5,6 +5,8 @@
     <property name="xlsx2csv" location="/opt/local/bin/xlsx2csv.sh"/><!-- port install xlsx2csv -->
     <property name="bin.perl" location="/opt/local/bin/perl"/>
     <property name="wget" value="/opt/local/bin/wget"/>
+    <property name="mysql" value="mysql"/>
+    <property name="mysqldump" value="mysqldump"/>
     <property name="PATH_ADD" value="/opt/local/bin:/usr/bin:/bin"/> <!-- to use in mapserver_gml_to_png ant kw -->
     
 </project>

+ 2 - 0
SE/schema/build.p5build.PRODUCT.xml

@@ -11,6 +11,8 @@
     
     <property name="p5build.basedir" location="${basedir}"/>
     <property name="p5build.build" location="${basedir}/build.xml"/>
+    <property name="p5build.temp" value="${p5build.basedir}/temp"/>
+    <property name="p5build.repository" value="${p5build.basedir}/repository"/>
     <!--<property name="p5build.temp" location=""/>-->
     
     <property name="p5build.properties" location="${basedir}/.build_properties" />

+ 4 - 2
SE/schema/build.p5build.SYSTEM.xml

@@ -12,9 +12,11 @@
     
     <property name="Shared_Git_Root" location="../../../"/> <!-- do ustalenia gdzie trzymamy wszystkie repozytoria na serwerze -->
     
-    <property name="remote" location="${Shared_Git_Root}/se/SE/schema"/>
-    <property name="remote.SE" location="${Shared_Git_Root}/se/SE"/>
     
+    <property name="remote.SE" location="${Shared_Git_Root}/se/SE"/>
+    <property name="remote" location="${Shared_Git_Root}/se/SE/schema"/>
     
+    <property name="p5build.remote.SE" location="${remote.SE}"/>
+    <property name="p5build.remote" location="${remote}"/>
     
 </project>

+ 8 - 7
SE/schema/build.xml

@@ -1346,7 +1346,7 @@
     </target>
     
     
-    <target name="build_simpleSchema_for_recurse_ant" depends="build_detect_objects_parent_relations" description="we generate by using main_build_recurse_ant.dita_with_id.xsl simple transport map for use in interfaces and ant xml output">
+    <target name="build_simpleSchema_for_recurse_ant" depends="build_detect_objects_parent_relations"  description="we generate by using main_build_recurse_ant.dita_with_id.xsl simple transport map for use in interfaces and ant xml output">
         <antcall target="build_simpleSchema_for_recurse_ant.single"/>
         <touch file="${build_simpleSchema_for_recurse_ant.single.complete}"/>
     </target>
@@ -1374,7 +1374,7 @@
         <delete dir="${transformed.local}"/>
         <delete dir="${build_complexType.local}"/>
         <delete dir="${p5_tr_map.local}"/>
-        <delete dir="${simpleSchema.local}"/>
+        <delete dir="${simpleSchema.local}" />
     </target>
     <!--<target name="detect_objects_parent_relations" depends="detect_objects_parent_relations_clean" description="pierwsze szukanie relacji - moga nie miec @id">
         <!-\-<exec command="make" failifexecutionfails="no">
@@ -1618,11 +1618,12 @@
         
         <symlink  link="${remote.default_db.in7_dziennik_koresp}/CRM_PROCES_tree" resource="../../WPS_Functions/default_db/CRM_PROCES_tree" overwrite="true"/>
         <!--Cannot find /Users/a.binder/Documents/se/SE/schema/ant-url_action/build.WPS_Functions.SYSTEM.xml imported from /Users/a.binder/Documents/se/SE/schema/ant-url_action/get_wfs/build.get_wfs.SYSTEM.xml-->
-        <symlink  link="${remote.ant-url_action}/build.WPS_Functions.SYSTEM.xml" resource="${WPS_Functions.basedir}/build.WPS_Functions.SYSTEM.xml" overwrite="true"/>
-        <symlink  link="${remote.ant-url_action}/build.WPS_Functions.PRODUCT.xml" resource="${WPS_Functions.basedir}/build.WPS_Functions.PRODUCT.xml" overwrite="true"/>
-        <symlink  link="${remote.ant-url_action}/build_WPS_Function_basedir.xml" resource="${WPS_Functions.basedir}/build_WPS_Function_basedir.xml" overwrite="true"/>
-        <symlink  link="${remote.ant-url_action}/build_WPS_Function_properties.xml" resource="${WPS_Functions.basedir}/build_WPS_Function_properties.xml" overwrite="true"/>
-        
+        <symlink  link="${remote.ant-url_action}/build.WPS_Functions.SYSTEM.xml" resource="../WPS_Functions/build.WPS_Functions.SYSTEM.xml" overwrite="true"/>
+        <symlink  link="${remote.ant-url_action}/build.WPS_Functions.PRODUCT.xml" resource="../WPS_Functions/build.WPS_Functions.PRODUCT.xml" overwrite="true"/>
+        <symlink  link="${remote.ant-url_action}/build_WPS_Function_basedir.xml" resource="../WPS_Functions/build_WPS_Function_basedir.xml" overwrite="true"/>
+        <symlink  link="${remote.ant-url_action}/build_WPS_Function_properties.xml" resource="../WPS_Functions/build_WPS_Function_properties.xml" overwrite="true"/>
+        <symlink  link="${remote.ant-url_action}/username_and_pass_from_passwordBase64Basic" resource="../WPS_Functions/username_and_pass_from_passwordBase64Basic" overwrite="true"/>
+        <symlink  link="${remote.ant-url_action}/get_wfs" resource="../WPS_Functions/get_wfs" overwrite="true"/>
     </target>
     
     

+ 75 - 0
SE/schema/build.xsd

@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    xmlns:p5build="http://biuro.biall-net.pl/xmlschema_procesy5/build.xsd"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/build.xsd" vc:minVersion="1.1"
+    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:SystemObjects__x3A__File="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd">
+    <xs:import schemaLocation="default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd"
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"/>
+    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+        schemaLocation="SystemObjects/File.xsd"/>
+    <xs:import schemaLocation="WPS_Functions/WPS_Functions.xsd"
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"/>
+    <xs:element name="PRODUCT" type="p5build:PRODUCT"> </xs:element>
+    <xs:simpleType name="Shared_Git_Root">
+        <xs:annotation>
+            <xs:documentation>Root project git of procesy5 - may be ${basedir} dependent - like ../../../</xs:documentation>
+        </xs:annotation>
+        <xs:restriction base="SystemObjects__x3A__File:DirPath"/>
+    </xs:simpleType>
+    <xs:simpleType name="remote">
+        <xs:annotation>
+            <xs:documentation>Path to where is Procesy5/schema installed typical /Library/Server/Web/Data/Sites/Default/SE/schema
+
+- dependent on SharedGitRoot</xs:documentation>
+        </xs:annotation>
+        <xs:restriction base="SystemObjects__x3A__File:DirPath"/>
+    </xs:simpleType>
+    <xs:simpleType name="remote.SE">
+        <xs:annotation>
+            <xs:documentation>Path to where is Procesy5/schema installed typical /Library/Server/Web/Data/Sites/Default/SE
+
+- dependent on SharedGitRoot  - sometimes locally SharedGitRoot/se/SE</xs:documentation>
+        </xs:annotation>
+        <xs:restriction base="SystemObjects__x3A__File:DirPath"/>
+    </xs:simpleType>
+    <xs:complexType name="PRODUCT">
+        <xs:complexContent>
+            <xs:extension base="system_cache__appinfo:PRODUCT">
+                <xs:sequence>
+                    <xs:element name="SYSTEM">
+                        <xs:complexType>
+                            <xs:complexContent>
+                                <xs:extension base="system_cache__appinfo:SYSTEM">
+                                    <xs:sequence>
+                                        <xs:element name="Shared_Git_Root">
+                                            <xs:simpleType>
+                                                <xs:annotation>
+                                                  <xs:documentation>Root project git of procesy5 - may be ${basedir} dependent - like ../../../</xs:documentation>
+                                                </xs:annotation>
+                                                <xs:restriction
+                                                  base="SystemObjects__x3A__File:DirPath"/>
+                                            </xs:simpleType>
+                                        </xs:element>
+                                        <xs:element name="remote" type="p5build:remote"/>
+                                        <xs:element name="remote.SE" type="p5build:remote.SE"/>
+                                    </xs:sequence>
+                                </xs:extension>
+                            </xs:complexContent>
+                        </xs:complexType>
+                    </xs:element>
+                    <xs:element name="GLOBALS" type="system_cache__appinfo:GLOBALS"/>
+                    <xs:element name="INSTALL" type="system_cache__appinfo:INSTALL"/>
+                </xs:sequence>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    <xs:group name="PRODUCT">
+        <xs:sequence>
+            <xs:element name="PRODUCT" type="p5build:PRODUCT"> </xs:element>
+            <xs:group ref="p5bws:PRODUCT"/>
+        </xs:sequence>
+    </xs:group>
+</xs:schema>

+ 93 - 0
SE/schema/build_SE.xsd

@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd" elementFormDefault="qualified"
+    targetNamespace="http://biuro.biall-net.pl/build_SE.xsd" vc:minVersion="1.1"
+    xmlns:SystemObjects__x3A__File="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:p5build="http://biuro.biall-net.pl/xmlschema_procesy5/build.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+        schemaLocation="SystemObjects/File.xsd"/>
+    <xs:import schemaLocation="build.xsd"
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/build.xsd"/>
+    <xs:import
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+        schemaLocation="default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd"/>
+    <xs:import namespace="http://biuro.biall-net.pl/xmlschema_procesy5/build.xsd"
+        schemaLocation="build.xsd"/>
+    <xs:complexType name="SYSTEM">
+        <xs:complexContent>
+            <xs:extension base="system_cache__appinfo:SYSTEM">
+                <xs:sequence>
+                    <xs:element name="local-root" type="p5build_SE:username"/>
+                    <xs:element name="local-root.pass" type="p5build_SE:password"/>
+                    <xs:element name="local-user" type="p5build_SE:username"/>
+                    <xs:element name="local-user.pass" type="p5build_SE:password"/>
+                </xs:sequence>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    <xs:complexType name="SERVER">
+        <xs:complexContent>
+            <xs:extension base="system_cache__appinfo:SERVER"/>
+        </xs:complexContent>
+    </xs:complexType>
+    <xs:complexType name="PRODUCT">
+        <xs:complexContent>
+            <xs:extension base="system_cache__appinfo:PRODUCT">
+                <xs:sequence>
+                    <xs:element name="SYSTEM" type="p5build_SE:SYSTEM"/>
+                    <xs:element name="SERVER" type="p5build_SE:SERVER"/>
+                </xs:sequence>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    <xs:group name="PRODUCT">
+        <xs:sequence>
+            <xs:element ref="p5build_SE:PRODUCT"/>
+            <xs:group ref="p5build:PRODUCT"/>
+        </xs:sequence>
+    </xs:group>
+    <xs:element name="PRODUCT" type="p5build_SE:PRODUCT"/>
+    <xs:element name="procesy5_config">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="p5build_SE:default_db"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="default_db">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="p5build_SE:server"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="server">
+        <xs:complexType>
+            <xs:attributeGroup ref="p5build_SE:server"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="access_pair">
+        <xs:attribute name="pass" type="p5build_SE:password"/>
+        <xs:attribute name="user" type="p5build_SE:username"/>
+    </xs:attributeGroup>
+    <xs:attributeGroup name="server">
+        <xs:attributeGroup ref="p5build_SE:access_pair"/>
+        <xs:attribute name="host"/>
+        <xs:attribute name="port"/>
+        <xs:attribute name="database"/>
+    </xs:attributeGroup>
+    <xs:simpleType name="username">
+        <xs:restriction base="xs:string"/>
+    </xs:simpleType>
+    <xs:simpleType name="password">
+        <xs:restriction base="xs:string"/>
+    </xs:simpleType>
+    <xs:simpleType name="FilePath">
+        <xs:restriction base="SystemObjects__x3A__File:FilePath"/>
+    </xs:simpleType>
+    <xs:simpleType name="DirPath">
+        <xs:restriction base="SystemObjects__x3A__File:DirPath"/>
+    </xs:simpleType>
+</xs:schema>

+ 2 - 1
SE/schema/build_SE_basedir/build.p5build_SE.PRODUCT.xml

@@ -11,5 +11,6 @@
     <property name="p5build_SE.properties" value="${p5build_SE.basedir}/.build_SE.properties"/>
     <property name="p5build_SE.properties.xml" value="${p5build_SE.properties}.xml"/>
     
-    
+    <property name="p5build_SE.build_procesy5_config.default_db.properties.xml" value="${p5build_SE.basedir}/.build_procesy5_config.default_db.properties.xml"/>
+    <property name="p5build_SE.build_procesy5_config.default_db.properties" value="${p5build_SE.basedir}/.build_procesy5_config.default_db.properties"/>
 </project>

+ 8 - 0
SE/schema/build_SE_basedir/build.p5build_SE.SERVER.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="../../schema" name="build_SE.SERVER"
+    xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd"
+    >
+  
+    <property name="p5build_SE.SERVER.SERVER_NAME" value="prezes.procesy5.pl"/>
+    <!--<property name="p5build_SE.SERVER.SERVER_ADDR" value="p5build_SE"/>-->
+</project>

+ 2 - 0
SE/schema/build_SE_basedir/build.p5build_SE.SYSTEM.xml

@@ -4,12 +4,14 @@
     >
     
     <include optional="true" file="build.p5build_SE.PRODUCT.xml"/>
+    <include file="build.p5build_SE.SERVER.xml"/>
     
     <property name="build_SE.SYSTEM.build" location="${p5build_SE.basedir}/build.p5build_SE.SYSTEM.xml"/>
     
     <property name="p5build_SE.SYSTEM.config_dir" value="${basedir}/config"/>
     
     
+    
     <include file="${p5build_SE.SYSTEM.config_dir}/build.p5build_SE.SYSTEM.local-user.xml" optional="true"/>
     <include file="${p5build_SE.SYSTEM.config_dir}/build.p5build_SE.SYSTEM.local-root.xml" optional="true"/>
     

+ 22 - 3
SE/schema/build_SE_basedir/procesy5_config.default_db.xsl

@@ -1,17 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd"
     exclude-result-prefixes="xs"
     version="2.0">
     
     <xsl:output indent="yes"/>
     <xsl:strip-space elements="*"/>
     <xsl:param name="procesy5_config.default_db.properties"/>
+    <xsl:param name="basedir" required="yes"/>
+    <xsl:param name="p5build_SE.build_procesy5_config.default_db.properties"/>
     
     <xsl:template match="procesy5_config">
-        <procesy5_config>
-        <xsl:apply-templates/>
-        </procesy5_config>
+        <p5build_SE:procesy5_config>
+                <xsl:apply-templates/>
+        </p5build_SE:procesy5_config>
     </xsl:template>
     
     <xsl:template match="procesy5_config.default_db.server">
@@ -90,8 +93,24 @@
         
     </xsl:template>    -->
     
+    <xsl:template match="p5build_SE:procesy5_config" mode="p5build_SE:build_procesy5_config.default_db.properties.xml">
+        <project basedir="{$basedir}" name="p5build_SE:build_procesy5_config.default_db.properties.xml"
+            default="p5build_SE:build_procesy5_config.default_db.properties.xml"
+            xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd">
+            <xsl:comment>#98 This is generated by xsl:template match="p5build_SE:procesy5_config" mode="p5build_SE:build_procesy5_config.default_db.properties.xml"</xsl:comment>
+            <xsl:apply-templates mode="#current"/>
+            <target name="p5build_SE:build_procesy5_config.default_db.properties.xml">
+                <echoproperties destfile="{$p5build_SE.build_procesy5_config.default_db.properties}" prefix="p5build_SE.procesy5_config.default_db"/>
+            </target>
+        </project>
+    </xsl:template>
     
     
+    <xsl:template match="procesy5_config.default_db.server" mode="p5build_SE:build_procesy5_config.default_db.properties.xml">
+        <xsl:for-each select="*">
+            <property name="p5build_SE.procesy5_config.default_db.server.{name()}" value="{text()}"/>
+        </xsl:for-each>
+    </xsl:template>
     
     
 </xsl:stylesheet>

+ 1 - 89
SE/schema/default_db_xml_cache.public/appinfo.xsd

@@ -25,6 +25,7 @@
     <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
         schemaLocation="../SystemObjects/File.xsd"/>
     <xs:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="schema/schema.xsd"/>
+    <xs:include schemaLocation="system_cache__appinfo/binding.xsd"/>
     <xs:complexType name="relation_info" id="system_cache__appinfo___d149e9">
         <xs:annotation id="system_cache__appinfo___d149e11">
             <xs:documentation>Struktura do wstawiania do appinfo w schematach XSD w miejscu dowiązania relacji do innej tabeli. Z reguły w relacjach 1-1 w kolumnie tabeli lokalnej pojawiał się znacznik klucza tabely zdalnej. </xs:documentation>
@@ -595,95 +596,6 @@ Ostatni wezel bedzie miec powtorzony ten numer w polu @change_optimize_id_root</
             <xs:attribute name="xpath_value"/>
         </xs:complexType>
     </xs:element>
-    <xs:element name="NamespaceBinding">
-        <xs:annotation>
-            <xs:documentation>${basedir}/config/NamespaceBinding.xml</xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-            <xs:choice maxOccurs="unbounded">
-                <xs:element maxOccurs="1" ref="system_cache__appinfo:binding"/>
-                <xs:element ref="system_cache__appinfo:binding_schemagroup"/>
-                <xs:element ref="system_cache__appinfo:binding_alias"/>
-            </xs:choice>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="binding">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element ref="system_cache__appinfo:prefix">
-                    <xs:annotation>
-                        <xs:documentation>Describe which prefix to use to retrieve objects from api  (used temporary - should use namespace URL)</xs:documentation>
-                    </xs:annotation>
-                </xs:element>
-                <xs:element maxOccurs="unbounded" ref="system_cache__appinfo:api"/>
-            </xs:sequence>
-            <xs:attribute name="bindPolicy" use="required" type="xs:NCName"/>
-            <xs:attribute name="targetNamespace" use="required" type="xs:anyURI"/>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="binding_alias">
-        <xs:annotation>
-            <xs:documentation>Aby dowiązać targetNamespaceRegex="(https://biuro.biall-net.pl/wfs/default_db/.*)"
-do targetNamespaceRegex="(https://biuro.biall-net.pl/wfs/default_db/table/.*)"</xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-            <xs:sequence maxOccurs="unbounded">
-                <xs:element name="alias">
-                    <xs:complexType>
-                        <xs:attribute name="targetNamespaceRegex" type="xs:string">
-                            <xs:annotation>
-                                <xs:documentation>example (https://biuro.biall-net.pl/wfs/default_db/.*)</xs:documentation>
-                            </xs:annotation>
-                        </xs:attribute>
-                    </xs:complexType>
-                </xs:element>
-            </xs:sequence>
-            <xs:attribute name="targetNamespaceRegex" type="xs:string">
-                <xs:annotation>
-                    <xs:documentation>example (https://biuro.biall-net.pl/wfs/default_db/.*)</xs:documentation>
-                </xs:annotation>
-            </xs:attribute>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="binding_schemagroup">
-        <xs:complexType>
-            <xs:sequence>
-                <xs:element ref="system_cache__appinfo:prefix"/>
-                <xs:element maxOccurs="unbounded" ref="system_cache__appinfo:api"/>
-            </xs:sequence>
-            <xs:attribute name="bindPolicy" use="required" type="xs:NCName"/>
-            <xs:attribute name="targetNamespaceRegex" type="xs:string">
-                <xs:annotation>
-                    <xs:documentation>example (https://biuro.biall-net.pl/wfs/default_db/.*)</xs:documentation>
-                </xs:annotation>
-            </xs:attribute>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="api">
-        <xs:complexType>
-            <xs:simpleContent>
-                <xs:extension base="xs:anyURI">
-                    <xs:attribute name="Strip" type="xs:integer"/>
-                    <xs:attribute name="type" use="required" type="xs:NCName"/>
-                </xs:extension>
-            </xs:simpleContent>
-        </xs:complexType>
-    </xs:element>
-    <xs:element name="base_type">
-        <xs:annotation>
-            <xs:documentation>used in root schema element to use in grouping anc classyfing objects in output styles templates</xs:documentation>
-        </xs:annotation>
-        <xs:complexType>
-            <xs:attribute ref="system_cache__appinfo:base_type_group"/>
-            <xs:attribute ref="system_cache__appinfo:base_type_name"/>
-        </xs:complexType>
-    </xs:element>
-    <xs:attribute name="base_type_group" type="xs:string">
-        <xs:annotation>
-            <xs:documentation>To handle some group in styles/output/object - e.g. Infrastructure</xs:documentation>
-        </xs:annotation>
-    </xs:attribute>
-    <xs:attribute name="base_type_name" type="xs:string"/>
     <xs:complexType name="schema-file">
         <xs:complexContent>
             <xs:extension base="SystemObjects__x3A__File:FileType">

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 213 - 200
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl


+ 11 - 0
SE/schema/default_db_xml_cache.public/dita.xsd

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.xsd"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.xsd"
+    vc:minVersion="1.1" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
+    <xs:attribute name="part" type="xs:string">
+        <xs:annotation>
+            <xs:documentation>When some xml was dividet into parts. Used by BI audit module</xs:documentation>
+        </xs:annotation>
+    </xs:attribute>
+</xs:schema>

+ 103 - 0
SE/schema/default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd

@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    vc:minVersion="1.1" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:SystemObjects__x3A__File="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+    <xs:annotation>
+        <xs:documentation>To define in system schema transformations rules for targetNamespace and prefixes in object modelling</xs:documentation>
+    </xs:annotation>
+    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+        schemaLocation="../../SystemObjects/File.xsd"/>
+    <xs:include schemaLocation="SERVER.xsd"/>
+    <xs:group name="PRODUCT">
+        <xs:sequence>
+            <xs:element name="name" type="system_cache__appinfo:name"/>
+            <xs:element name="vendor-domain" type="system_cache__appinfo:vendor-domain"/>
+            <xs:element name="basedir" type="system_cache__appinfo:basedir"/>
+            <xs:element name="temp" type="system_cache__appinfo:temp"/>
+            <xs:element name="repository" type="system_cache__appinfo:repository"/>
+            <xs:element name="build">
+                <xs:simpleType>
+                    <xs:restriction base="SystemObjects__x3A__File:FilePath"/>
+                </xs:simpleType>
+            </xs:element>
+        </xs:sequence>
+    </xs:group>
+    <xs:complexType name="PRODUCT">
+        <xs:sequence>
+            <xs:element minOccurs="0" name="project.basedir"
+                type="system_cache__appinfo:project.basedir"/>
+            <xs:element name="name" type="system_cache__appinfo:name"/>
+            <xs:element name="vendor-domain" type="system_cache__appinfo:vendor-domain"/>
+            <xs:element name="basedir" type="system_cache__appinfo:basedir"/>
+            <xs:element name="temp" type="system_cache__appinfo:temp"/>
+            <xs:element name="repository" type="system_cache__appinfo:repository"/>
+            <xs:element name="build">
+                <xs:simpleType>
+                    <xs:restriction base="SystemObjects__x3A__File:FilePath"/>
+                </xs:simpleType>
+            </xs:element>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:complexType name="GLOBALS">
+        <xs:sequence>
+            <xs:element default="/opt/local/bin:/usr/bin:/bin" name="PATH_ADD"
+                type="system_cache__appinfo:PATH_ADD"/>
+            <xs:element default="/opt/local/bin/ant" name="bin.ant"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:group name="GLOBALS">
+        <xs:sequence>
+            <xs:element default="/opt/local/bin:/usr/bin:/bin" name="PATH_ADD"
+                type="system_cache__appinfo:PATH_ADD"/>
+            <xs:element default="/opt/local/bin/ant" name="bin.ant"/>
+        </xs:sequence>
+    </xs:group>
+    <xs:complexType name="INSTALL"/>
+    <xs:complexType name="SYSTEM">
+        <xs:sequence>
+            <xs:element name="StandardOutPath" type="SystemObjects__x3A__File:FilePath"/>
+            <xs:element name="StandardErrorPath" type="SystemObjects__x3A__File:FilePath"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:group name="SYSTEM">
+        <xs:sequence>
+            <xs:element name="StandardOutPath" type="SystemObjects__x3A__File:FilePath"/>
+            <xs:element name="StandardErrorPath" type="SystemObjects__x3A__File:FilePath"/>
+        </xs:sequence>
+    </xs:group>
+    <xs:simpleType name="name">
+        <xs:restriction base="xs:string"/>
+    </xs:simpleType>
+    <xs:simpleType name="vendor-domain">
+        <xs:restriction base="xs:string"/>
+    </xs:simpleType>
+    <xs:simpleType name="basedir">
+        <xs:restriction base="SystemObjects__x3A__File:DirPath"/>
+    </xs:simpleType>
+    <xs:simpleType name="temp">
+        <xs:restriction base="SystemObjects__x3A__File:DirPath"/>
+    </xs:simpleType>
+    <xs:simpleType name="repository">
+        <xs:restriction base="SystemObjects__x3A__File:DirPath"/>
+    </xs:simpleType>
+    <xs:simpleType name="PATH_ADD">
+        <xs:annotation>
+            <xs:documentation>default /opt/local/bin:/usr/bin:/bin</xs:documentation>
+        </xs:annotation>
+        <xs:restriction base="xs:string"/>
+    </xs:simpleType>
+    <xs:simpleType name="build">
+        <xs:restriction base="SystemObjects__x3A__File:FilePath"/>
+    </xs:simpleType>
+    <xs:simpleType name="bash-script">
+        <xs:restriction base="SystemObjects__x3A__File:FilePath"/>
+    </xs:simpleType>
+    <xs:simpleType name="project.basedir">
+        <xs:annotation>
+            <xs:documentation>This is mapping of ant project @basedir - same to all modules</xs:documentation>
+        </xs:annotation>
+        <xs:restriction base="SystemObjects__x3A__File:DirPath"/>
+    </xs:simpleType>
+</xs:schema>

+ 28 - 0
SE/schema/default_db_xml_cache.public/system_cache__appinfo/SERVER.xsd

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    vc:minVersion="1.1" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:SystemObjects__x3A__File="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
+    <xs:annotation>
+        <xs:documentation>To define instance of IP addressed system. This should be mapped for ease of use for php _SERVER variable</xs:documentation>
+    </xs:annotation>
+    <xs:simpleType name="SERVER_NAME">
+        <xs:restriction base="xs:string"/>
+    </xs:simpleType>
+    <xs:simpleType name="SERVER_PORT">
+        <xs:restriction base="xs:string"/>
+    </xs:simpleType>
+    <xs:simpleType name="SERVER_ADDR">
+        <xs:restriction base="xs:string"/>
+    </xs:simpleType>
+    <xs:complexType name="SERVER">
+        <xs:sequence>
+            <xs:element name="SERVER_NAME" type="system_cache__appinfo:SERVER_NAME"/>
+            <xs:element name="SERVER_PORT" type="system_cache__appinfo:SERVER_PORT" maxOccurs="1"
+                minOccurs="0"/>
+            <xs:element name="SERVER_ADDR" type="system_cache__appinfo:SERVER_ADDR" minOccurs="0"/>
+        </xs:sequence>
+    </xs:complexType>
+    <xs:element name="SERVER" type="system_cache__appinfo:SERVER"/>
+</xs:schema>

+ 62 - 0
SE/schema/default_db_xml_cache.public/system_cache__appinfo/SystemsBindings.xsd

@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:xml="http://www.w3.org/XML/1998/namespace"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:fg="http://www.FGolubov.com/XMLEditor" vc:minVersion="1.1" elementFormDefault="qualified"
+    xmlns:wsbpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+    xmlns:SystemObjects__x3A__File="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
+    xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd"
+    xmlns:p5build="http://biuro.biall-net.pl/xmlschema_procesy5/build.xsd"
+    xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd">
+    <!--<xs:include schemaLocation="system_cache__appinfo/schema_elements.xsd"/>-->
+    <xs:annotation>
+        <xs:documentation>TODO</xs:documentation>
+    </xs:annotation>
+    <!--<xs:import namespace="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+        schemaLocation="../SystemObjects/ws-bpel_executable.xsd"/>-->
+    <!--<xs:element name="acl">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:annotation>
+                    <xs:documentation>order is important - first process acl, than fields acl</xs:documentation>
+                </xs:annotation>
+                <xs:element ref="system_cache__appinfo:acl_ruleset_by_associated_process_owner"/>
+                <xs:element ref="system_cache__appinfo:acl_ruleset"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>-->
+    <xs:include schemaLocation="namespaceNode.xsd"/>
+    <xs:import namespace="http://biuro.biall-net.pl/build_SE.xsd"
+        schemaLocation="../../build_SE.xsd"/>
+    <xs:include schemaLocation="PRODUCT.xsd"/>
+    <xs:import schemaLocation="../../build.xsd"
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/build.xsd"/>
+    <xs:import namespace="http://biuro.biall-net.pl/build_SE.xsd"
+        schemaLocation="../../build_SE.xsd"/>
+    <xs:import schemaLocation="../../WPS_Functions/WPS_Functions.xsd"
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"/>
+    <xs:element name="SystemsBindings">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="PRODUCT" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:group ref="system_cache__appinfo:SystemsBindings.PRODUCT"/>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:complexType name="SystemsBindings.SYSTEM">
+        <xs:complexContent>
+            <xs:extension base="p5build_SE:SYSTEM"/>
+        </xs:complexContent>
+    </xs:complexType>
+    <xs:group name="SystemsBindings.PRODUCT">
+        <xs:sequence>
+            <xs:element ref="p5build_SE:PRODUCT"/>
+            <xs:element ref="p5build:PRODUCT"/>
+        </xs:sequence>
+    </xs:group>
+</xs:schema>

+ 9 - 0
SE/schema/default_db_xml_cache.public/system_cache__appinfo/acl_ruleset.xsd

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    vc:minVersion="1.1" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
+    <xs:annotation>
+        <xs:documentation>Moved all to heritage  to be complete</xs:documentation>
+    </xs:annotation>
+</xs:schema>

+ 119 - 0
SE/schema/default_db_xml_cache.public/system_cache__appinfo/binding.xsd

@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:xml="http://www.w3.org/XML/1998/namespace"
+    targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:fg="http://www.FGolubov.com/XMLEditor" vc:minVersion="1.1" elementFormDefault="qualified"
+    xmlns:wsbpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+    xmlns:SystemObjects__x3A__File="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd">
+    <!--<xs:include schemaLocation="system_cache__appinfo/schema_elements.xsd"/>-->
+    <xs:annotation>
+        <xs:documentation>Schemat do appinfo do określania informacji o relacjach - doswiadczalny - propozycja - DRAFT
+
+@2015-11-19 modelowa struktura obietkow generowanych przez algorytm tworzenia mapy przetwarzania obiektow</xs:documentation>
+    </xs:annotation>
+    <!--<xs:import namespace="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+        schemaLocation="../SystemObjects/ws-bpel_executable.xsd"/>-->
+    <!--<xs:element name="acl">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:annotation>
+                    <xs:documentation>order is important - first process acl, than fields acl</xs:documentation>
+                </xs:annotation>
+                <xs:element ref="system_cache__appinfo:acl_ruleset_by_associated_process_owner"/>
+                <xs:element ref="system_cache__appinfo:acl_ruleset"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>-->
+    <xs:include schemaLocation="namespaceNode.xsd"/>
+    <xs:element name="NamespaceBinding">
+        <xs:annotation>
+            <xs:documentation>${basedir}/config/NamespaceBinding.xml</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:choice maxOccurs="unbounded">
+                <xs:element maxOccurs="1" ref="system_cache__appinfo:binding"/>
+                <xs:element ref="system_cache__appinfo:binding_schemagroup"/>
+                <xs:element ref="system_cache__appinfo:binding_alias"/>
+            </xs:choice>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="binding">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="system_cache__appinfo:prefix">
+                    <xs:annotation>
+                        <xs:documentation>Describe which prefix to use to retrieve objects from api  (used temporary - should use namespace URL)</xs:documentation>
+                    </xs:annotation>
+                </xs:element>
+                <xs:element maxOccurs="unbounded" ref="system_cache__appinfo:api"/>
+            </xs:sequence>
+            <xs:attribute name="bindPolicy" use="required" type="xs:NCName"/>
+            <xs:attribute name="targetNamespace" use="required" type="xs:anyURI"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="binding_alias">
+        <xs:annotation>
+            <xs:documentation>Aby dowiązać targetNamespaceRegex="(https://biuro.biall-net.pl/wfs/default_db/.*)"
+do targetNamespaceRegex="(https://biuro.biall-net.pl/wfs/default_db/table/.*)"</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:sequence maxOccurs="unbounded">
+                <xs:element name="alias">
+                    <xs:complexType>
+                        <xs:attribute name="targetNamespaceRegex" type="xs:string">
+                            <xs:annotation>
+                                <xs:documentation>example (https://biuro.biall-net.pl/wfs/default_db/.*)</xs:documentation>
+                            </xs:annotation>
+                        </xs:attribute>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+            <xs:attribute name="targetNamespaceRegex" type="xs:string">
+                <xs:annotation>
+                    <xs:documentation>example (https://biuro.biall-net.pl/wfs/default_db/.*)</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="binding_schemagroup">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="system_cache__appinfo:prefix"/>
+                <xs:element maxOccurs="unbounded" ref="system_cache__appinfo:api"/>
+            </xs:sequence>
+            <xs:attribute name="bindPolicy" use="required" type="xs:NCName"/>
+            <xs:attribute name="targetNamespaceRegex" type="xs:string">
+                <xs:annotation>
+                    <xs:documentation>example (https://biuro.biall-net.pl/wfs/default_db/.*)</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="api">
+        <xs:complexType>
+            <xs:simpleContent>
+                <xs:extension base="xs:anyURI">
+                    <xs:attribute name="Strip" type="xs:integer"/>
+                    <xs:attribute name="type" use="required" type="xs:NCName"/>
+                </xs:extension>
+            </xs:simpleContent>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="base_type">
+        <xs:annotation>
+            <xs:documentation>used in root schema element to use in grouping anc classyfing objects in output styles templates</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attribute ref="system_cache__appinfo:base_type_group"/>
+            <xs:attribute ref="system_cache__appinfo:base_type_name"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attribute name="base_type_group" type="xs:string">
+        <xs:annotation>
+            <xs:documentation>To handle some group in styles/output/object - e.g. Infrastructure</xs:documentation>
+        </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="base_type_name" type="xs:string"/>
+</xs:schema>

+ 1 - 1
SE/schema/default_db_xml_cache.public/xinclude_p5_recurse/xinclude_p5_recurse.xsl

@@ -62,7 +62,7 @@
     </xsl:function>-->
     
     <xsl:template mode="xp5r:cache_dir" match="xp5r:cache">
-        <xsl:value-of select="$xp5r:xinclude_p5_recurse.cache_dir"/>/xinclude_p5_recurse/
+        <xsl:value-of select="$xp5r:xinclude_p5_recurse.cache_dir"/>
         <xsl:value-of select="system_cache__appinfo:translate_object_escaped_prefix_from_string(xp5r:apply-template/@mode)"/>
         <xsl:value-of select="system_cache__appinfo:translate_object_escaped_prefix_from_string(xp5r:apply-template/@name)"/>
             <xsl:value-of select="'/'"/><xsl:value-of select="@xp5r:id"/>

+ 87 - 0
SE/schema/patterns/BI_PERSON_to_COMPANY.xsd

@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:Types__x3A__default_Default="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"
+           xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+           xmlns:patterns_db__x3A__BI_PERSON_to_COMPANY="https://biuro.biall-net.pl/wfs/patterns/patterns/BI_PERSON_to_COMPANY.xsd"
+           xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"
+           xmlns:default_db__x3A__BI_audit_CEIDG="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG.xsd"
+           xmlns:default_db__x3A__BI_audit_KRS="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS.xsd"
+           xmlns:default_db__x3A__BI_audit_KRS_person="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_person.xsd"
+           xmlns:default_db__x3A__BI_audit_MSIG="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG.xsd"
+           xmlns:default_db__x3A__BI_audit_MSIG_person="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_person.xsd"
+           xmlns:default_db__x3A__BI_audit_CEIDG_pelnomocnicy="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG_pelnomocnicy.xsd"
+           xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           targetNamespace="https://biuro.biall-net.pl/wfs/patterns/patterns/BI_PERSON_to_COMPANY.xsd"
+           vc:minVersion="1.1">
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"
+              schemaLocation="../table/BI_audit_ENERGA_PRACOWNICY.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG.xsd"
+              schemaLocation="../table/BI_audit_CEIDG.xsd"/>
+   <xs:import schemaLocation="../table/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"
+              namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"/>
+   <xs:import schemaLocation="../table/BI_audit_CEIDG.xsd"
+              namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG.xsd"/>
+   <xs:import schemaLocation="../table/BI_audit_KRS.xsd"
+              namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS.xsd"/>
+   <xs:import schemaLocation="../table/BI_audit_KRS_person.xsd"
+              namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_person.xsd"/>
+   <xs:import schemaLocation="../table/BI_audit_MSIG.xsd"
+              namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG.xsd"/>
+   <xs:import schemaLocation="../table/BI_audit_MSIG_person.xsd"
+              namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_person.xsd"/>
+   <xs:import schemaLocation="../table/BI_audit_ENERGA_PRACOWNICY.xsd"
+              namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"/>
+   <xs:import schemaLocation="../table/BI_audit_CEIDG_pelnomocnicy.xsd"
+              namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG_pelnomocnicy.xsd"/>
+   <xs:complexType name="BI_PERSON_to_COMPANY" id="_to_COMPANY___d15e98556-1_BI_PERSON_">
+      <xs:annotation>
+         <xs:documentation>Obbiekt patternu automatycznych przeszukiwan</xs:documentation>
+      </xs:annotation>
+      <xs:sequence id="_to_COMPANY___d15e98560-1">
+         <xs:element ref="default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY"
+                     id="_to_COMPANY___d15e98561-1"/>
+         <xs:choice maxOccurs="8" id="_to_COMPANY___d15e98562-1">
+            <xs:annotation>
+               <xs:documentation>maksymalnie 8</xs:documentation>
+            </xs:annotation>
+            <xs:any namespace="##other" processContents="lax">
+               <xs:annotation>
+                  <xs:documentation>Przejście przez dowolny obiekt aby ignorować nieistotne relacje do obiektow, przez które może przechodzić wyszukiwanie - np przez KRS_companies, które jest nieistotne</xs:documentation>
+               </xs:annotation>
+            </xs:any>
+            <xs:element ref="default_db__x3A__BI_audit_MSIG:BI_audit_MSIG"
+                        id="_to_COMPANY___d15e98570-1"/>
+            <xs:element ref="default_db__x3A__BI_audit_KRS:BI_audit_KRS"
+                        id="_to_COMPANY___d15e98571-1"/>
+            <xs:element ref="default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG"
+                        id="_to_COMPANY___d15e98572-1"/>
+            <xs:element ref="default_db__x3A__BI_audit_CEIDG_pelnomocnicy:BI_audit_CEIDG_pelnomocnicy"
+                        id="_to_COMPANY___d15e98573-1"/>
+            <xs:element ref="default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person"
+                        id="_to_COMPANY___d15e98574-1"/>
+            <xs:element ref="default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person"
+                        id="_to_COMPANY___d15e98575-1"/>
+         </xs:choice>
+         <xs:element ref="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI"
+                     id="_to_COMPANY___d15e98576-1"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:complexType name="BI_PERSON_to_COMPANY_second"
+                   id="_to_COMPANY___d15e98578-1_BI_PERSON_">
+      <xs:complexContent id="_to_COMPANY___d15e98579-1">
+         <xs:extension base="patterns_db__x3A__BI_PERSON_to_COMPANY:BI_PERSON_to_COMPANY"
+                       id="_to_COMPANY___d15e98580-1"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="BI_PERSON_to_COMPANY_second"
+               type="patterns_db__x3A__BI_PERSON_to_COMPANY:BI_PERSON_to_COMPANY_second"
+               id="_to_COMPANY___d15e98581-1_BI_PERSON_"/>
+</xs:schema>

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů