You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
All: Use Lerna to manage monorepo
This commit is contained in:
31
packages/fork-sax/test/xmlns-xml-default-prefix.js
Normal file
31
packages/fork-sax/test/xmlns-xml-default-prefix.js
Normal file
@@ -0,0 +1,31 @@
|
||||
require(__dirname).test({
|
||||
xml: '<xml:root/>',
|
||||
expect: [
|
||||
[
|
||||
'opentagstart',
|
||||
{
|
||||
name: 'xml:root',
|
||||
attributes: {},
|
||||
ns: {}
|
||||
}
|
||||
],
|
||||
[
|
||||
'opentag',
|
||||
{
|
||||
name: 'xml:root',
|
||||
uri: 'http://www.w3.org/XML/1998/namespace',
|
||||
prefix: 'xml',
|
||||
local: 'root',
|
||||
attributes: {},
|
||||
ns: {},
|
||||
isSelfClosing: true
|
||||
}
|
||||
],
|
||||
[
|
||||
'closetag',
|
||||
'xml:root'
|
||||
]
|
||||
],
|
||||
strict: true,
|
||||
opt: { xmlns: true }
|
||||
})
|
||||
Reference in New Issue
Block a user