-
Notifications
You must be signed in to change notification settings - Fork 22
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 #237 from ndw/allow-foreign
Allow foreign namespace-qualified attributes on DocBook elements
- Loading branch information
Showing
12 changed files
with
70 additions
and
11 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
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
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
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,7 +1,7 @@ | ||
<article xmlns="http://docbook.org/ns/docbook" | ||
version="htmlforms-5.2"> | ||
<title>A forms example</title> | ||
<form xmlns="http://www.w3.org/1999/xhtml"> | ||
<form xmlns="http://www.w3.org/1999/xhtml" action="http://example.com/"> | ||
<input name="text"/> | ||
</form> | ||
</article> |
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,9 @@ | ||
<article xmlns="http://docbook.org/ns/docbook" | ||
version="5.2"> | ||
<title>Article wrapper</title> | ||
|
||
<para unqualified-name="this is not allowed">You can put foreign namespaced | ||
elements on any DocBook element. They must be in an explicit | ||
namespace other than the DocBook namespace.</para> | ||
|
||
</article> |
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,10 @@ | ||
<article xmlns="http://docbook.org/ns/docbook" | ||
xmlns:db="http://docbook.org/ns/docbook" | ||
version="5.2"> | ||
<title>Article wrapper</title> | ||
|
||
<para db:name="this is also not ok">You can put foreign namespaced | ||
elements on any DocBook element. They must be in an explicit | ||
namespace other than the DocBook namespace.</para> | ||
|
||
</article> |
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,10 @@ | ||
<article xmlns="http://docbook.org/ns/docbook" | ||
xmlns:ex="http://example.com/" | ||
version="5.2"> | ||
<title>Article wrapper</title> | ||
|
||
<para ex:name="this is ok">You can put foreign namespaced | ||
elements on any DocBook element. They must be in an explicit | ||
namespace other than the DocBook namespace.</para> | ||
|
||
</article> |
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