Main page might be created twice with different data-url when using multiple page-files

Main page might be created twice with different data-url when using multiple page-files

Let's say we have two pages in two separate HTML-files:
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <title>Title</title>
  5.         <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
  6.        
  7.         <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.js"></script>
  8.         <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
  9.     </head>
  10.     <body>
  11.         <div data-role="page" id="first">
  12.             <div data-role="content">
  13.                 FIRST! (to <a href="#second.html">Second</a>)
  14.             </div>
  15.         </div>
  16.     </body>
  17. </html>
Code of the second page similar to the first one but in "second.html" and with id "second" and link-target "#first.html".

If you now navigate from "first" to "second" and back to "first" using the links on the pages, Firebug will show the following HTML tree as site content:
  1. <div id="first" data-role="page" data-url="first" class="ui-page ui-body-c">
  2.  <!-- ... -->
  3. <div id="second" data-role="page" data-url="second.html" class="ui-page ui-body-c">
  4.  <!-- ... -->
  5. <!-- ui-loader -->
  6. <div id="first" data-role="page" data-url="first.html" class="ui-page ui-body-c ui-page-active">
As you can see, "first" exists twice: Once "first" and once with "first.html" as data-url.

However, this should be the case I think.

Cheers
winSharp93