-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from getodk/refactor/xpath/opaque-dom-adapter
XPath support for external secondary instances
- Loading branch information
Showing
193 changed files
with
7,032 additions
and
2,864 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@getodk/xforms-engine': minor | ||
'@getodk/xpath': minor | ||
'@getodk/scenario': patch | ||
'@getodk/common': patch | ||
--- | ||
|
||
XPath support for evaluation of arbitrary DOM implementations (XPathDOMAdapter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,60 @@ | ||
// Native/common standards | ||
export const XHTML_NAMESPACE_URI = 'http://www.w3.org/1999/xhtml'; | ||
export type XHTML_NAMESPACE_URI = typeof XHTML_NAMESPACE_URI; | ||
|
||
export const HTML_NAMESPACE_URI = XHTML_NAMESPACE_URI; | ||
export type HTML_NAMESPACE_URI = typeof HTML_NAMESPACE_URI; | ||
|
||
export const XML_NAMESPACE_URI = 'http://www.w3.org/XML/1998/namespace'; | ||
export type XML_NAMESPACE_URI = typeof XML_NAMESPACE_URI; | ||
|
||
export const XMLNS_NAMESPACE_URI = 'http://www.w3.org/2000/xmlns/'; | ||
export type XMLNS_NAMESPACE_URI = typeof XMLNS_NAMESPACE_URI; | ||
|
||
export const FN_NAMESPACE_URI = 'http://www.w3.org/2005/xpath-functions'; | ||
export type FN_NAMESPACE_URI = typeof FN_NAMESPACE_URI; | ||
|
||
// XForms/ODK | ||
export const JAVAROSA_NAMESPACE_URI = 'http://openrosa.org/javarosa'; | ||
export type JAVAROSA_NAMESPACE_URI = typeof JAVAROSA_NAMESPACE_URI; | ||
|
||
export const ODK_NAMESPACE_URI = 'http://www.opendatakit.org/xforms'; | ||
export type ODK_NAMESPACE_URI = typeof ODK_NAMESPACE_URI; | ||
|
||
export const OPENROSA_XFORMS_NAMESPACE_URI = 'http://openrosa.org/xforms'; | ||
export const XFORMS_NAMESPACE_URI = 'http://www.w3.org/2002/xforms'; | ||
export type OPENROSA_XFORMS_NAMESPACE_URI = typeof OPENROSA_XFORMS_NAMESPACE_URI; | ||
|
||
export type JavaRosaNamespaceURI = typeof JAVAROSA_NAMESPACE_URI; | ||
export type XFormsNamespaceURI = typeof XFORMS_NAMESPACE_URI; | ||
export const XFORMS_NAMESPACE_URI = 'http://www.w3.org/2002/xforms'; | ||
export type XFORMS_NAMESPACE_URI = typeof XFORMS_NAMESPACE_URI; | ||
|
||
// Enketo | ||
export const ENKETO_NAMESPACE_URI = 'http://enketo.org/xforms'; | ||
export type ENKETO_NAMESPACE_URI = typeof ENKETO_NAMESPACE_URI; | ||
|
||
// Default prefixes | ||
export const HTML_PREFIX = 'h'; | ||
export type HTML_PREFIX = typeof HTML_PREFIX; | ||
|
||
export const XML_PREFIX = 'xml'; | ||
export type XML_PREFIX = typeof XML_PREFIX; | ||
|
||
export const XMLNS_PREFIX = 'xmlns'; | ||
export type XMLNS_PREFIX = typeof XMLNS_PREFIX; | ||
|
||
export const FN_PREFIX = 'fn'; | ||
export type FN_PREFIX = typeof FN_PREFIX; | ||
|
||
export const JAVAROSA_PREFIX = 'jr'; | ||
export type JAVAROSA_PREFIX = typeof JAVAROSA_PREFIX; | ||
|
||
export const ODK_PREFIX = 'odk'; | ||
export type ODK_PREFIX = typeof ODK_PREFIX; | ||
|
||
export const OPENROSA_XFORMS_PREFIX = 'orx'; | ||
export type OPENROSA_XFORMS_PREFIX = typeof OPENROSA_XFORMS_PREFIX; | ||
|
||
export const XFORMS_PREFIX = 'xf'; | ||
export type XFORMS_PREFIX = typeof XFORMS_PREFIX; | ||
|
||
export const ENKETO_PREFIX = 'enk'; | ||
export type ENKETO_PREFIX = typeof ENKETO_PREFIX; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.