• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
Archive of obsolete content
  1. MDN
  2. Archive of obsolete content
  3. Archived open Web documentation
  4. XForms
  5. Implementation Status

Implementation Status

In This Article
  1. Limitations and Extensions
  2. Specification Chapter Index
    1. 3. Document Structure
    2. 4. Processing Model (Events)
    3. 5. Datatypes
    4. 6. Model Item Properties
    5. 7. XPath Expressions in XForms
    6. 8. Core Form Controls
    7. 9. Container Form Controls
    8. 10. XForms Actions
    9. 11. XForms Submission Model
    10. G. XForms and Styling
Mozilla XForms is not actively maintained any more since about 2010!

Limitations and Extensions

The extension has some limitations and custom extension to the XForms 1.1 specification. These can be found on the Mozilla XForms Specials page.

Specification Chapter Index

Here we give an overview of XForms 1.1 specification chapters and the current status of the Mozilla support. The sections are marked with their current status: Supported, partial support, in progress, and not currently supported.

We have listed the most relevant bugs here, but check out the Bugzilla XForms buglist for the complete list.

3. Document Structure

Section Title Status Notes Bugs
3.1 Namespaces supported    
3.2.1 Common Attributes supported    
3.2.2 Linking Attributes supported    
3.2.3 Single-Node Binding Attributes supported    
3.2.4 Node-Set Binding Attributes supported    
3.2.5 Model Item Property Attributes partial In some cases a loop error can occur on valid bindings 302168;
3.3.1 model supported    
3.3.2 instance partial instance element with two child element does not trigger exception 337302;
3.3.3 submission partial No support for @indent and complex schema validation 278761; 278762;
3.3.4 bind partial Using the index() function in binds does not work. 292333;
3.4 Extension Module unsupported   300760;
3.5 MustUnderstand Module unsupported   300757;

4. Processing Model (Events)

Section Title Status Notes Bugs
4 Processing Model (Events) partial The xforms-recalculate, xforms-revalidate, and xforms-refresh events are not as separated as they should be. 278448; 338146;
4.2 Initialization Events supported    
4.2.1 xforms-model-construct supported    
4.2.2 xforms-model-construct-done supported    
4.2.3 xforms-ready supported    
4.2.4 xforms-model-destruct supported    
4.3.1 xforms-rebuild supported    
4.3.2 xforms-recalculate supported    
4.3.3 xforms-revalidate supported    
4.3.4 xforms-refresh supported    
4.3.5 xforms-reset supported    
4.3.6 xforms-next xforms-previous supported    
4.3.7 xforms-focus supported    
4.3.8 xforms-help xforms-hint supported    
4.3.9 xforms-submit partial see section 11.2 for more details  
4.3.10 xforms-submit-serialize supported    
4.4 Notification Events supported    
4.4.1 xforms-insert supported    
4.4.2 xforms-delete supported    
4.4.3 xforms-value-changed supported    
4.4.4 xforms-valid supported    
4.4.5 xforms-invalid supported    
4.4.6 xforms-readonly supported    
4.4.7 xforms-readwrite supported    
4.4.8 xforms-required supported    
4.4.9 xforms-optional supported    
4.4.10 xforms-enabled supported    
4.4.11 xforms-disabled supported    
4.4.12 DOMActivate supported    
4.4.13 DOMFocusIn supported    
4.4.14 DOMFocusOut supported    
4.4.15 xforms-select xforms-deselect supported    
4.4.16 xforms-in-range supported    
4.4.17 xforms-out-of-range supported    
4.4.18 xforms-scroll-first xforms-scroll-last supported    
4.4.19 xforms-submit-done supported    
4.5 Error Indications partial We don't support the xforms-version-exception event, yet  
4.5.1 xforms-binding-exception supported    
4.5.2 xforms-compute-exception supported    
4.5.3 xforms-link-error partial Not yet generated by load. 333782;
4.5.4 xforms-link-exception supported    
4.5.5 xforms-output-exception unsupported    
4.5.6 xforms-submit-error supported    
4.5.7 xforms-version-exception unsupported    
4.6 Event Sequencing supported    
4.6.1 For input, secret, textarea, range, or upload Controls supported    
4.6.2 For output Controls supported    
4.6.3 For select or select1 Controls partial    
4.6.4 For trigger Controls supported    
4.6.5 For submit Controls supported    
4.6.6 Sequence: Selection Without Value Change supported    
4.6.7 Sequence: Value Change With Focus Change supported    
4.6.8 Sequence: Activating a Trigger supported    
4.6.9 Sequence: Submission supported    
4.7 Resolving ID References in XForms unsupported    
4.7.1 References to Elements within a repeat Element unsupported    
4.7.2 References to Elements within a bind Element unsupported    
4.8 DOM Interface for Access to Instance Data supported    
4.8.1 getInstanceDocument() supported    
4.8.2 rebuild() supported    
4.8.3 recalculate() supported    
4.8.4 revalidate() supported    
4.8.5 refresh() supported    
4.9 Feature string for the hasFeature method call supported    

5. Datatypes

Section Title Status Notes Bugs
5.1 XML Schema Built-in Datatypes partial whitespace facet not supported.  
5.2.1 Additional XForms Datatypes to Allow Empty Content unsupported    
5.2.2 xforms:listItem supported    
5.2.3 xforms:listItems supported    
5.2.4 xforms:dayTimeDuration supported    
5.2.5 xforms:yearMonthDuration supported    
5.2.6 xforms:email unsupported    
5.2.7 xforms:card-number unsupported    

Supported types: string, normalized string, token, language, boolean, gDay, gMonth, gYear, gYearMonth, gMonthDay, date, time, datetime, duration, integer, nonPositiveInteger, negativeInteger, positiveInteger, long, int, short, unsignedLong, unsignedInt, unsignedShort, byte, unsignedByte, float, decimal, anyURI, base64Binary, hexBinary, qname

6. Model Item Properties

Section Title Status Notes Bugs
6.1.1 type partial limited to types mentioned above  
6.1.2 readonly supported    
6.1.3 required supported    
6.1.4 relevant partial relevancy applied via a bind to an element fails to apply to child attributes 342319;
6.1.5 calculate supported    
6.1.6 constraint supported    
6.1.7 p3ptype unsupported   279049;
6.2.1 Atomic Datatype partial We will support simpleType's using length, minlength, maxlength, pattern, maxinclusive, mininclusive, maxexclusive, minexclusive, totaldigits, and fractiondigits  

7. XPath Expressions in XForms

Section Title Status Notes Bugs
7.1 XPath Datatypes supported    
7.2 Evaluation Context partial    
7.3 References, Dependencies, and Dynamic Dependencies partial we probably already do most of it due to our 1.0 work, but we haven't verified we meet the 1.1 standards, yet  
7.4 Expression categories supported    
7.4.2 Model Binding Expressions and Computed Expressions supported    
7.4.3 Expressions in Actions and Submissions partial    
7.4.4 UI Expressions partial Scenarios exist where controls contained inside other controls inside a repeat won't be bound correctly 333638;
7.4.5 UI Binding in other XML vocabularies unsupported not a compliance requirement for an XForms processor  
7.4.6 Binding Examples supported    
7.5 XForms Core Function Library supported    
7.6.1 boolean-from-string() supported    
7.6.2 is-card-number() unsupported    
7.7.1 avg() supported    
7.7.2 min() supported    
7.7.3 max() supported    
7.7.4 count-non-empty() supported    
7.7.5 index() partial binds using index() are not working 292333;
7.7.6 power() supported    
7.7.7 random() supported    
7.7.8 compare() supported    
7.8.1 if() supported    
7.8.2 property() partial returns basic for conformance-level, should return full. version will return as "1.0" for now, until more 1.1 work is completed. 334333;
7.8.3 digest() unsupported    
7.8.4 hmac() unsupported    
7.9.1 local-date() supported    
7.9.2 local-dateTime() supported    
7.9.3 now() supported    
7.9.4 days-from-date() supported    
7.9.5 days-to-date() unsupported    
7.9.6 seconds-from-dateTime() supported    
7.9.7 seconds-to-dateTime() unsupported    
7.9.8 adjust-dateTime-to-timezone() unsupported    
7.9.9 seconds() supported    
7.9.10 months() supported    
7.10.1 instance() partial instance() won't work with no parameter or empty string as a parameter 419190;
7.10.2 current() supported    
7.10.3 id() unsupported    
7.10.4 context() unsupported    
7.11.1 choose() unsupported    
7.11.2 event() supported    
7.12 Extension Functions unsupported not a compliance requirement for an XForms processor  

8. Core Form Controls

Section Title Status Notes Bugs
8.1 The XForms Core Form Controls Module supported    
8.1.1 Common Requirements n/a    
8.1.2 input supported    
8.1.3 secret supported    
8.1.4 textarea supported    
8.1.5 output supported    
8.1.6 upload supported    
8.1.7 range partial   316355; 343523;
8.1.8 trigger supported    
8.1.9 submit supported    
8.1.10 select partial @selection does not work, select inside repeat may not work correctly, select that mixes itemsets with items may show them in the wrong order 282840; 371595; 372127;
8.1.11 select1 partial There are some resize issues, select/deselect/valuechange firing in wrong order. Getting a few issues with in/out of range notifications. 282840; 303351; 333464; 333529; 352398;
8.2.1 choices supported    
8.2.2 item supported    
8.2.3 value supported    
8.3.1 filename supported    
8.3.2 mediatype supported    
8.3.3 label partial Labels for items inside a choices element has bind problems. We'd like to expand how we render labels bound to different, unique types. 297083; 343443;
8.3.4 help supported    
8.3.5 hint partial problems with hints in XUL-hosted documents and ephemeral message positioning 349667;
8.3.6 alert supported    

9. Container Form Controls

Section Title Status Notes Bugs
9.1.1 group supported    
9.2.1 switch partial @selected not working inside repeats 339937;
9.2.2 case partial   302497; 329143;
9.3 Repeat Module partial   264329; 273706;
9.3.1 repeat partial We do not support number attribute 302026;
9.3.2 Nested Repeats supported    
9.3.3 Repeat processing partial we currently obey the 1.0 rules for repeat  
9.3.4 User Interface Interaction partial we currently obey the 1.0 rules for repeat, no support for @number 302026;
9.3.5 Creating Repeating Structures Via Attributes partial does not work for html:tr, html:td, or xf:group elements 340515; 350617;
9.3.6 itemset supported performance problem with large itemsets 372197;
9.3.7 copy supported    

10. XForms Actions

Section Title Status Notes Bugs
10 XForms Action Module n/a    
10.1 action supported    
10.2 setvalue supported    
10.3 insert partial We need to better handle when @at evaluates to NaN, and we do not generate unique values for xsd:ID nodes. 303198; 339217;
10.4 delete partial We need to better handle when @at evaluates to NaN 303198;
10.5 setindex supported    
10.6 toggle supported    
10.7 setfocus supported    
10.8 dispatch supported    
10.9 rebuild partial is dispatching events instead of calling directly 332231;
10.10 recalculate partial is dispatching events instead of calling directly. Recalculate won't properly mark nodes as dirty if they were changed using JavaScript interfaces. 332231; 349805;
10.11 revalidate partial is dispatching events instead of calling directly 332231;
10.12 refresh partial is dispatching events instead of calling directly 332231;
10.13 reset supported    
10.14 load partial no xforms-link-error generated if @src invalid 333782;
10.15 send supported    
10.16 message partial output inside message doesn't work correctly 366886;
10.17 Conditional Execution of XForms Actions supported    
10.18 Iteration of XForms Actions supported    

11. XForms Submission Model

Section Title Status Notes Bugs
11.1 submission partial From 1.1 we do not yet support @mode, @indent, @replace='text', @separator, @serialize, @target, header or method child elements  
11.2 xforms-submit partial We currently limit (for security reasons) submission only back to the server that served the document. But the user can choose to remove this restriction on a site by site basis via a preference. Click for more details. 330557;
11.3 xforms-submit-serialize supported    
11.4 xforms-submit-done supported    
11.5 xforms-submit-error supported    
11.6.1 resource supported    
11.7.1 method unsupported    
11.8 header unsupported    
11.8.1 name unsupported    
11.8.2 value unsupported    
11.9 Submission Options supported    
11.9.1 The get Submission Method supported    
11.9.2 The post, multipart-post, form-data-post, and urlencoded-post Submission Methods supported    
11.9.3 The put Submission Method supported    
11.9.4 The delete Submission Method unsupported    
11.9.5 Serialization as application/xml supported    
11.9.6 Serialization as multipart/related partial   330557;
11.9.7 Serialization as multipart/form-data supported    
11.9.8 Serialization as application/x-www-form-urlencoded supported    
11.10 Replacing Data with the Submission Response partial @replace with value of 'text' not supported  
11.11 Integration with SOAP supported    

G. XForms and Styling

Section Title Status Notes Bugs
G.1 Pseudo-classes partial :read-only and :read-write are suported using :-moz-read-only and :-moz-read-write 313111;
G.2 Pseudo-elements unsupported We support ::value, ::repeat-index, and ::repeat-item through the attributes xf-value, xf-repeat-index, and xf-repeat-item. 271724;

 

Document Tags and Contributors

 Contributors to this page: Sheppy, Imphil
 Last updated by: Sheppy, Apr 14, 2014, 3:00:07 PM

  1. .htaccess ( hypertext access )
  2. <input> archive
  3. Add-ons
    1. Add-ons
    2. Firefox addons developer guide
    3. Interaction between privileged and non-privileged pages
    4. Tabbed browser
    5. bookmarks.export()
    6. bookmarks.import()
  4. Adding preferences to an extension
  5. An Interview With Douglas Bowman of Wired News
  6. Apps
    1. Apps
    2. App Development API Reference
    3. Designing Open Web Apps
    4. Graphics and UX
    5. Open web app architecture
    6. Tools and frameworks
    7. Validating web apps with the App Validator
  7. Archived Mozilla and build documentation
    1. Archived Mozilla and build documentation
    2. ActiveX Control for Hosting Netscape Plug-ins in IE
    3. Archived SpiderMonkey docs
    4. Autodial for Windows NT
    5. Automated testing tips and tricks
    6. Automatic Mozilla Configurator
    7. Automatically Handle Failed Asserts in Debug Builds
    8. BlackConnect
    9. Blackwood
    10. Bonsai
    11. Bookmark Keywords
    12. Building TransforMiiX standalone
    13. Chromeless
    14. Creating a Firefox sidebar extension
    15. Creating a Microsummary
    16. Creating a Mozilla Extension
    17. Creating a Release Tag
    18. Creating a Skin for Firefox/Getting Started
    19. Creating a Skin for Mozilla
    20. Creating a Skin for SeaMonkey 2.x
    21. Creating a hybrid CD
    22. Creating regular expressions for a microsummary generator
    23. DTrace
    24. Dehydra
    25. Developing New Mozilla Features
    26. Devmo 1.0 Launch Roadmap
    27. Download Manager improvements in Firefox 3
    28. Download Manager preferences
    29. Drag and Drop
    30. Embedding FAQ
    31. Embedding Mozilla in a Java Application using JavaXPCOM
    32. Error Console
    33. Exception logging in JavaScript
    34. Existing Content
    35. Extension Frequently Asked Questions
    36. Fighting Junk Mail with Netscape 7.1
    37. Firefox Sync
    38. Force RTL
    39. GRE
    40. Gecko Coding Help Wanted
    41. HTTP Class Overview
    42. Hacking wiki
    43. Help Viewer
    44. Helper Apps (and a bit of Save As)
    45. Hidden prefs
    46. How to Write and Land Nanojit Patches
    47. Introducing the Audio API extension
    48. Java in Firefox Extensions
    49. JavaScript crypto
    50. Jetpack
    51. Litmus tests
    52. Makefile.mozextension.2
    53. Microsummary topics
    54. Migrate apps from Internet Explorer to Mozilla
    55. Monitoring downloads
    56. Mozilla Application Framework
    57. Mozilla Crypto FAQ
    58. Mozilla Modules and Module Ownership
    59. Mozprocess
    60. Mozprofile
    61. Mozrunner
    62. Nanojit
    63. New Skin Notes
    64. Persona
    65. Plug-n-Hack
    66. Plugin Architecture
    67. Porting NSPR to Unix Platforms
    68. Priority Content
    69. Prism
    70. Proxy UI
    71. Remote XUL
    72. SXSW 2007 presentations
    73. Space Manager Detailed Design
    74. Space Manager High Level Design
    75. Standalone XPCOM
    76. Stress testing
    77. Structure of an installable bundle
    78. Supporting private browsing mode
    79. Table Cellmap
    80. Table Cellmap - Border Collapse
    81. Table Layout Regression Tests
    82. Table Layout Strategy
    83. Tamarin
    84. The Download Manager schema
    85. The life of an HTML HTTP request
    86. The new nsString class implementation (1999)
    87. TraceVis
    88. Treehydra
    89. URIScheme
    90. URIs and URLs
    91. Using Monotone With Mozilla CVS
    92. Using SVK With Mozilla CVS
    93. Using addresses of stack variables with NSPR threads on win16
    94. Venkman
    95. Video presentations
    96. Why Embed Gecko
    97. XML in Mozilla
    98. XPInstall
    99. XPJS Components Proposal
    100. XRE
    101. XTech 2005 Presentations
    102. XTech 2006 Presentations
    103. XUL Explorer
    104. XULRunner
    105. ant script to assemble an extension
    106. calICalendarView
    107. calICalendarViewController
    108. calIFileType
    109. xbDesignMode.js
  8. Archived open Web documentation
    1. Archived open Web documentation
    2. Browser Detection and Cross Browser Support
    3. Browser Feature Detection
    4. Displaying notifications (deprecated)
    5. E4X
    6. E4X Tutorial
    7. LiveConnect
    8. MSX Emulator (jsMSX)
    9. Old Proxy API
    10. Properly Using CSS and JavaScript in XHTML Documents
    11. Reference
    12. Scope Cheatsheet
    13. Server-Side JavaScript
    14. Sharp variables in JavaScript
    15. Standards-Compliant Authoring Tools
    16. Using JavaScript Generators in Firefox
    17. Window.importDialog()
    18. Writing JavaScript for XHTML
    19. XForms
    20. background-size
    21. forEach
  9. B2G OS
    1. B2G OS
    2. Automated Testing of B2G OS
    3. B2G OS APIs
    4. B2G OS add-ons
    5. B2G OS architecture
    6. B2G OS build prerequisites
    7. B2G OS phone guide
    8. Building B2G OS
    9. Building and installing B2G OS
    10. Building the B2G OS Simulator
    11. Choosing how to run Gaia or B2G
    12. Customization with the .userconfig file
    13. Debugging on Firefox OS
    14. Developer Mode
    15. Developing Firefox OS
    16. Firefox OS Simulator
    17. Firefox OS apps
    18. Firefox OS board guide
    19. Firefox OS developer release notes
    20. Firefox OS security
    21. Firefox OS usage tips
    22. Gaia
    23. Installing B2G OS on a mobile device
    24. Introduction to Firefox OS
    25. Mulet
    26. Open web apps quickstart
    27. Pandaboard
    28. PasscodeHelper Internals
    29. Porting B2G OS
    30. Preparing for your first B2G build
    31. Resources
    32. Running tests on Firefox OS: A guide for developers
    33. The B2G OS platform
    34. Troubleshooting B2G OS
    35. Using the App Manager
    36. Using the B2G emulators
    37. Web Bluetooth API (Firefox OS)
    38. Web Telephony API
    39. Web applications
  10. Beginner tutorials
    1. Beginner tutorials
    2. Creating reusable content with CSS and XBL
    3. Underscores in class and ID Names
    4. XML data
    5. XUL user interfaces
  11. Case Sensitivity in class and id Names
  12. Creating a dynamic status bar extension
  13. Creating a status bar extension
  14. Gecko Compatibility Handbook
  15. Getting the page URL in NPAPI plugin
  16. Index
  17. Inner-browsing extending the browser navigation paradigm
  18. Install.js
  19. JXON
  20. List of Former Mozilla-Based Applications
  21. List of Mozilla-Based Applications
  22. Localizing an extension
  23. MDN
    1. MDN
    2. Content kits
  24. MDN "meta-documentation" archive
    1. MDN "meta-documentation" archive
    2. Article page layout guide
    3. Blog posts to integrate into documentation
    4. Current events
    5. Custom CSS classes for MDN
    6. Design Document
    7. DevEdge
    8. Developer documentation process
    9. Disambiguation
    10. Documentation Wishlist
    11. Documentation planning and tracking
    12. Editing MDN pages
    13. Examples
    14. Existing Content/DOM in Mozilla
    15. External Redirects
    16. Finding the right place to document bugs
    17. Getting started as a new MDN contributor
    18. Landing page layout guide
    19. MDN content on WebPlatform.org
    20. MDN page layout guide
    21. MDN subproject list
    22. Needs Redirect
    23. Page types
    24. RecRoom documentation plan
    25. Remove in-content iframes
    26. Team status board
    27. Trello
    28. Using the Mozilla Developer Center
    29. Welcome to the Mozilla Developer Network
    30. Writing chrome code documentation plan
    31. Writing content
  25. MMgc
  26. Makefile - .mk files
  27. Marketplace
    1. Marketplace
    2. API
    3. Monetization
    4. Options
    5. Publishing
  28. Mozilla release FAQ
  29. Newsgroup summaries
    1. Newsgroup summaries
    2. Format
    3. Mozilla.dev.apps.firefox-2006-09-29
    4. Mozilla.dev.apps.firefox-2006-10-06
    5. mozilla-dev-accessibility
    6. mozilla-dev-apps-calendar
    7. mozilla-dev-apps-firefox
    8. mozilla-dev-apps-thunderbird
    9. mozilla-dev-builds
    10. mozilla-dev-embedding
    11. mozilla-dev-extensions
    12. mozilla-dev-i18n
    13. mozilla-dev-l10n
    14. mozilla-dev-planning
    15. mozilla-dev-platform
    16. mozilla-dev-quality
    17. mozilla-dev-security
    18. mozilla-dev-tech-js-engine
    19. mozilla-dev-tech-layout
    20. mozilla-dev-tech-xpcom
    21. mozilla-dev-tech-xul
    22. mozilla.dev.apps.calendar
    23. mozilla.dev.tech.js-engine
  30. Obsolete: XPCOM-based scripting for NPAPI plugins
  31. Plugins
    1. Plugins
    2. Adobe Flash
    3. External resources for plugin creation
    4. Logging Multi-Process Plugins
    5. Monitoring plugins
    6. Multi-process plugin architecture
    7. NPAPI plugin developer guide
    8. NPAPI plugin reference
    9. Samples and Test Cases
    10. Shipping a plugin as a Toolkit bundle
    11. Supporting private browsing in plugins
    12. The First Install Problem
    13. Writing a plugin for Mac OS X
    14. XEmbed Extension for Mozilla Plugins
  32. SAX
  33. Security
    1. Security
    2. Digital Signatures
    3. Encryption and Decryption
    4. Introduction to Public-Key Cryptography
    5. Introduction to SSL
    6. NSPR Release Engineering Guide
    7. SSL and TLS
  34. Solaris 10 Build Prerequisites
  35. Sunbird Theme Tutorial
  36. Table Reflow Internals
  37. Tamarin Tracing Build Documentation
  38. The Basics of Web Services
  39. Themes
    1. Themes
    2. Building a Theme
    3. Common Firefox theme issues and solutions
    4. Creating a Skin for Firefox
    5. Making sure your theme works with RTL locales
    6. Theme changes in Firefox 2
    7. Theme changes in Firefox 3
    8. Theme changes in Firefox 3.5
    9. Theme changes in Firefox 4
  40. Updating an extension to support multiple Mozilla applications
  41. Using IO Timeout And Interrupt On NT
  42. Using SSH to connect to CVS
  43. Using workers in extensions
  44. WebVR
    1. WebVR
    2. WebVR environment setup
  45. XQuery
  46. XUL Booster
  47. XUL Parser in Python