SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
XML Schema 1.1 Support in
       <oXygen/>
       Octavian Nadolu
         octavian_nadolu@oxygenxml.com
         @OctavianNadolu
<oXygen/> XML Schema 1.1 Support



              XML Schema 1.1
●   XML Schema 1.1 superset of XML Schema 1.0




                                       Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



        Changes in XML Schema 1.1
●   Assertions
    <assert test="quantity > 10">

●   Conditional type assignment
     <alternative test="@country = 'UK'" type="UKAddress">

●   Open content
     <openContent mode="interleave">

●   Override
     <override schemaLocation="schema.xsd">




                                                        Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



       Changes in XML Schema 1.1
●   Default attributes
    <schema defaultAttributes="myAttrGroup">

●   Substitute multiple elements
     substitutionGroup="elem1 elem2"

●   Negative wildcards
     notQName="##defined" notNamespace="##targetNamespace"

●   All group
     <all>
       <any maxOccurs="unbounded"/>
       <element ref="elem" maxOccurs="unbounded"/>
     </all>


                                                       Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




Full Support for XML Schema 1.1

   Validation and content completion

   Schema Design mode

   XML Schema documentation

   XML Instance generator

   Master Files

   Search and Refactoring actions
                                    Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




                    Demo
●   Purchase order schema




                                    Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




                  Assertions
●   The value of the PO higher than 50$




                            50$


                                         Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




                Type alternative
●   Addresses specific to each country

        UK Address          US Address
     Name ___________     Name ___________
     Street ___________   Street ___________
     City ____________    City ____________
     Country _________    Country _________
     Postcode ________    State ___________
     Exportcode ______    Zip _____________



                                         Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




                 Open content
●   Allow other fields in the address element
                        Address
                  Name ___________
                  Email ___________
                  Street ___________
                  City ____________
                  Country _________
                  Phone __________



                                           Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




                  Override
●   Customize the PO
                       Item
                ProductName ____
                Quantity_________
                Price ___________
                Comment _______




                                            Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




    XML Schema Documentation
The documentation support was updated to
support the new elements of XML Schema 1.1.




                                     Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




       Generate XML Instances
The XML Instance generator can handle the XML
Schema 1.1 features




                                     Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support




                       Master Files
●   Updated for the XML Schema 1.1


                                      Module 4
                                      Module 4            Module 6
                                                          Module 6
         Master File
         Master File       Module 1
                           Module 1


                           Module 2
                           Module 2   Module 5
                                      Module 5


                           Module 3
                           Module 3




                                                 Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



XML Schema Master Files




                        Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



XML Schema Master Files




                        Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



XML Schema Master Files




                        Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



XML Schema Master Files




                        Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



Search and Refactoring Actions

  ●   Component dependencies
  ●   Rename component
  ●   Search declarations
  ●   Search references
  ●   Resource Hierarchy/Dependencies




                                    Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



               Master Files Benefits
●   Validation
       –   A module is validated in the context is used from

●   Content Completion and Outline
       –   Components shown in the Content Completion window
           and Outline are collected starting from the master files.

●   Search and refactoring actions
       –   operate on the scope defined by the current module's
           master files



                                                      Copyright @ Syncro Soft, 2013. All rights reserved.
<oXygen/> XML Schema 1.1 Support



Thank you!



Questions?


   <oXygen/> XML Editor
   http://www.oxygenxml.com
   octavian_nadolu@oxygenxml.com
   @OctavianNadolu
                     Copyright @ Syncro Soft, 2013. All rights reserved.

Más contenido relacionado

Destacado

Grand Star International
Grand Star International Grand Star International
Grand Star International Syamsul Mazza
 
Как найти ко-фаундера?
Как найти ко-фаундера?Как найти ко-фаундера?
Как найти ко-фаундера?EastLabs
 
Plasmodium CSP - Based vaccines Past - prsesent - future
Plasmodium CSP - Based vaccines Past - prsesent - futurePlasmodium CSP - Based vaccines Past - prsesent - future
Plasmodium CSP - Based vaccines Past - prsesent - futureInstitut Pasteur de Madagascar
 
EastLabs: success vs failure
EastLabs: success vs failureEastLabs: success vs failure
EastLabs: success vs failureEastLabs
 

Destacado (7)

Bonus Plan 21 IMPRO
Bonus Plan 21 IMPROBonus Plan 21 IMPRO
Bonus Plan 21 IMPRO
 
Grand Star International
Grand Star International Grand Star International
Grand Star International
 
Как найти ко-фаундера?
Как найти ко-фаундера?Как найти ко-фаундера?
Как найти ко-фаундера?
 
Plasmodium CSP - Based vaccines Past - prsesent - future
Plasmodium CSP - Based vaccines Past - prsesent - futurePlasmodium CSP - Based vaccines Past - prsesent - future
Plasmodium CSP - Based vaccines Past - prsesent - future
 
Staphylococcus
StaphylococcusStaphylococcus
Staphylococcus
 
Hongos
HongosHongos
Hongos
 
EastLabs: success vs failure
EastLabs: success vs failureEastLabs: success vs failure
EastLabs: success vs failure
 

Similar a XML Schema 1.1 Support

XSLT Development with oXygen (Part1) - Editing, Validation and Transformation
XSLT Development with oXygen (Part1) - Editing, Validation and TransformationXSLT Development with oXygen (Part1) - Editing, Validation and Transformation
XSLT Development with oXygen (Part1) - Editing, Validation and TransformationOctavian Nadolu
 
XSLT Development with oXygen (Part 2) - Master Files, Modules and Refactoring
XSLT Development with oXygen (Part 2) - Master Files, Modules and RefactoringXSLT Development with oXygen (Part 2) - Master Files, Modules and Refactoring
XSLT Development with oXygen (Part 2) - Master Files, Modules and RefactoringOctavian Nadolu
 
XSLT Development with oXygen (Part 3) - Debugging, Profiling and Unit-testing
XSLT Development with oXygen (Part 3) - Debugging, Profiling and Unit-testingXSLT Development with oXygen (Part 3) - Debugging, Profiling and Unit-testing
XSLT Development with oXygen (Part 3) - Debugging, Profiling and Unit-testingOctavian Nadolu
 
How to integrate oXygen XML diff and merge tools
How to integrate oXygen XML diff and merge toolsHow to integrate oXygen XML diff and merge tools
How to integrate oXygen XML diff and merge toolsOctavian Nadolu
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdfssuser21721b
 
Groovy Domain Specific Languages - SpringOne2GX 2012
Groovy Domain Specific Languages - SpringOne2GX 2012Groovy Domain Specific Languages - SpringOne2GX 2012
Groovy Domain Specific Languages - SpringOne2GX 2012Guillaume Laforge
 
Groovy DSLs, from Beginner to Expert - Guillaume Laforge and Paul King - Spri...
Groovy DSLs, from Beginner to Expert - Guillaume Laforge and Paul King - Spri...Groovy DSLs, from Beginner to Expert - Guillaume Laforge and Paul King - Spri...
Groovy DSLs, from Beginner to Expert - Guillaume Laforge and Paul King - Spri...Guillaume Laforge
 
Top Reasons for Choosing oXygen XML Editor
Top Reasons for Choosing oXygen XML EditorTop Reasons for Choosing oXygen XML Editor
Top Reasons for Choosing oXygen XML EditorOctavian Nadolu
 
XML-INTRODUCTION.pdf
XML-INTRODUCTION.pdfXML-INTRODUCTION.pdf
XML-INTRODUCTION.pdfKGSCSEPSGCT
 
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...Marco Gralike
 
MongoDB at Sailthru: Scaling and Schema Design
MongoDB at Sailthru: Scaling and Schema DesignMongoDB at Sailthru: Scaling and Schema Design
MongoDB at Sailthru: Scaling and Schema DesignDATAVERSITY
 
OpenERP 6.1 Framework Changes
OpenERP 6.1 Framework ChangesOpenERP 6.1 Framework Changes
OpenERP 6.1 Framework ChangesOdoo
 
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...Ektron
 

Similar a XML Schema 1.1 Support (20)

XSLT Development with oXygen (Part1) - Editing, Validation and Transformation
XSLT Development with oXygen (Part1) - Editing, Validation and TransformationXSLT Development with oXygen (Part1) - Editing, Validation and Transformation
XSLT Development with oXygen (Part1) - Editing, Validation and Transformation
 
XSLT Development with oXygen (Part 2) - Master Files, Modules and Refactoring
XSLT Development with oXygen (Part 2) - Master Files, Modules and RefactoringXSLT Development with oXygen (Part 2) - Master Files, Modules and Refactoring
XSLT Development with oXygen (Part 2) - Master Files, Modules and Refactoring
 
XSLT Development with oXygen (Part 3) - Debugging, Profiling and Unit-testing
XSLT Development with oXygen (Part 3) - Debugging, Profiling and Unit-testingXSLT Development with oXygen (Part 3) - Debugging, Profiling and Unit-testing
XSLT Development with oXygen (Part 3) - Debugging, Profiling and Unit-testing
 
How to integrate oXygen XML diff and merge tools
How to integrate oXygen XML diff and merge toolsHow to integrate oXygen XML diff and merge tools
How to integrate oXygen XML diff and merge tools
 
04 oxygen
04 oxygen04 oxygen
04 oxygen
 
XML Quick Fixes
XML Quick FixesXML Quick Fixes
XML Quick Fixes
 
WEB TECHNOLOGIES XML
WEB TECHNOLOGIES XMLWEB TECHNOLOGIES XML
WEB TECHNOLOGIES XML
 
Java Web Services
Java Web ServicesJava Web Services
Java Web Services
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
 
Groovy Domain Specific Languages - SpringOne2GX 2012
Groovy Domain Specific Languages - SpringOne2GX 2012Groovy Domain Specific Languages - SpringOne2GX 2012
Groovy Domain Specific Languages - SpringOne2GX 2012
 
Groovy DSLs, from Beginner to Expert - Guillaume Laforge and Paul King - Spri...
Groovy DSLs, from Beginner to Expert - Guillaume Laforge and Paul King - Spri...Groovy DSLs, from Beginner to Expert - Guillaume Laforge and Paul King - Spri...
Groovy DSLs, from Beginner to Expert - Guillaume Laforge and Paul King - Spri...
 
Top Reasons for Choosing oXygen XML Editor
Top Reasons for Choosing oXygen XML EditorTop Reasons for Choosing oXygen XML Editor
Top Reasons for Choosing oXygen XML Editor
 
XML-INTRODUCTION.pdf
XML-INTRODUCTION.pdfXML-INTRODUCTION.pdf
XML-INTRODUCTION.pdf
 
What's New in Django 1.6
What's New in Django 1.6What's New in Django 1.6
What's New in Django 1.6
 
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...
 
MongoDB at Sailthru: Scaling and Schema Design
MongoDB at Sailthru: Scaling and Schema DesignMongoDB at Sailthru: Scaling and Schema Design
MongoDB at Sailthru: Scaling and Schema Design
 
OpenERP 6.1 Framework Changes
OpenERP 6.1 Framework ChangesOpenERP 6.1 Framework Changes
OpenERP 6.1 Framework Changes
 
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
Ektron London Conference: New Features of Ektron 9 from a Developers' Perspec...
 
Chromatique
ChromatiqueChromatique
Chromatique
 
Chromatique
ChromatiqueChromatique
Chromatique
 

XML Schema 1.1 Support

  • 1. XML Schema 1.1 Support in <oXygen/> Octavian Nadolu octavian_nadolu@oxygenxml.com @OctavianNadolu
  • 2. <oXygen/> XML Schema 1.1 Support XML Schema 1.1 ● XML Schema 1.1 superset of XML Schema 1.0 Copyright @ Syncro Soft, 2013. All rights reserved.
  • 3. <oXygen/> XML Schema 1.1 Support Changes in XML Schema 1.1 ● Assertions <assert test="quantity > 10"> ● Conditional type assignment <alternative test="@country = 'UK'" type="UKAddress"> ● Open content <openContent mode="interleave"> ● Override <override schemaLocation="schema.xsd"> Copyright @ Syncro Soft, 2013. All rights reserved.
  • 4. <oXygen/> XML Schema 1.1 Support Changes in XML Schema 1.1 ● Default attributes <schema defaultAttributes="myAttrGroup"> ● Substitute multiple elements substitutionGroup="elem1 elem2" ● Negative wildcards notQName="##defined" notNamespace="##targetNamespace" ● All group <all> <any maxOccurs="unbounded"/> <element ref="elem" maxOccurs="unbounded"/> </all> Copyright @ Syncro Soft, 2013. All rights reserved.
  • 5. <oXygen/> XML Schema 1.1 Support Full Support for XML Schema 1.1 Validation and content completion Schema Design mode XML Schema documentation XML Instance generator Master Files Search and Refactoring actions Copyright @ Syncro Soft, 2013. All rights reserved.
  • 6. <oXygen/> XML Schema 1.1 Support Demo ● Purchase order schema Copyright @ Syncro Soft, 2013. All rights reserved.
  • 7. <oXygen/> XML Schema 1.1 Support Assertions ● The value of the PO higher than 50$ 50$ Copyright @ Syncro Soft, 2013. All rights reserved.
  • 8. <oXygen/> XML Schema 1.1 Support Type alternative ● Addresses specific to each country UK Address US Address Name ___________ Name ___________ Street ___________ Street ___________ City ____________ City ____________ Country _________ Country _________ Postcode ________ State ___________ Exportcode ______ Zip _____________ Copyright @ Syncro Soft, 2013. All rights reserved.
  • 9. <oXygen/> XML Schema 1.1 Support Open content ● Allow other fields in the address element Address Name ___________ Email ___________ Street ___________ City ____________ Country _________ Phone __________ Copyright @ Syncro Soft, 2013. All rights reserved.
  • 10. <oXygen/> XML Schema 1.1 Support Override ● Customize the PO Item ProductName ____ Quantity_________ Price ___________ Comment _______ Copyright @ Syncro Soft, 2013. All rights reserved.
  • 11. <oXygen/> XML Schema 1.1 Support XML Schema Documentation The documentation support was updated to support the new elements of XML Schema 1.1. Copyright @ Syncro Soft, 2013. All rights reserved.
  • 12. <oXygen/> XML Schema 1.1 Support Generate XML Instances The XML Instance generator can handle the XML Schema 1.1 features Copyright @ Syncro Soft, 2013. All rights reserved.
  • 13. <oXygen/> XML Schema 1.1 Support Master Files ● Updated for the XML Schema 1.1 Module 4 Module 4 Module 6 Module 6 Master File Master File Module 1 Module 1 Module 2 Module 2 Module 5 Module 5 Module 3 Module 3 Copyright @ Syncro Soft, 2013. All rights reserved.
  • 14. <oXygen/> XML Schema 1.1 Support XML Schema Master Files Copyright @ Syncro Soft, 2013. All rights reserved.
  • 15. <oXygen/> XML Schema 1.1 Support XML Schema Master Files Copyright @ Syncro Soft, 2013. All rights reserved.
  • 16. <oXygen/> XML Schema 1.1 Support XML Schema Master Files Copyright @ Syncro Soft, 2013. All rights reserved.
  • 17. <oXygen/> XML Schema 1.1 Support XML Schema Master Files Copyright @ Syncro Soft, 2013. All rights reserved.
  • 18. <oXygen/> XML Schema 1.1 Support Search and Refactoring Actions ● Component dependencies ● Rename component ● Search declarations ● Search references ● Resource Hierarchy/Dependencies Copyright @ Syncro Soft, 2013. All rights reserved.
  • 19. <oXygen/> XML Schema 1.1 Support Master Files Benefits ● Validation – A module is validated in the context is used from ● Content Completion and Outline – Components shown in the Content Completion window and Outline are collected starting from the master files. ● Search and refactoring actions – operate on the scope defined by the current module's master files Copyright @ Syncro Soft, 2013. All rights reserved.
  • 20. <oXygen/> XML Schema 1.1 Support Thank you! Questions? <oXygen/> XML Editor http://www.oxygenxml.com octavian_nadolu@oxygenxml.com @OctavianNadolu Copyright @ Syncro Soft, 2013. All rights reserved.