* data/grampsxml.rng: Add privacy to reporef.

* data/grampsxml.dtd: Add privacy to reporef.


svn: r8731
This commit is contained in:
Alex Roitman 2007-07-17 23:10:01 +00:00
parent 301348a0df
commit c3bfffa1e3
3 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,6 @@
2007-07-17 Alex Roitman <shura@gramps-project.org> 2007-07-17 Alex Roitman <shura@gramps-project.org>
* data/grampsxml.rng: Add privacy to reporef.
* data/grampsxml.dtd: Add privacy to reporef.
* src/GrampsDb/_GrampsBSDDB.py (convert_notes_13): Add reporef * src/GrampsDb/_GrampsBSDDB.py (convert_notes_13): Add reporef
privacy on upgrade. privacy on upgrade.
* src/GrampsDbUtils/_ReadXML.py (start_note): Set privacy for * src/GrampsDbUtils/_ReadXML.py (start_note): Set privacy for

View File

@ -394,6 +394,7 @@ SHARED ELEMENTS
<!ELEMENT reporef (noteref*)> <!ELEMENT reporef (noteref*)>
<!ATTLIST reporef <!ATTLIST reporef
hlink IDREF #REQUIRED hlink IDREF #REQUIRED
priv (0|1) #IMPLIED
callno CDATA #IMPLIED callno CDATA #IMPLIED
medium CDATA #IMPLIED medium CDATA #IMPLIED
> >

View File

@ -506,6 +506,9 @@
<define name="reporef-content"> <define name="reporef-content">
<attribute name="hlink"><data type="IDREF"/></attribute> <attribute name="hlink"><data type="IDREF"/></attribute>
<optional><attribute name="priv">
<ref name="priv-content"/>
</attribute></optional>
<optional><attribute name="callno"><text/></attribute></optional> <optional><attribute name="callno"><text/></attribute></optional>
<optional><attribute name="medium"><text/></attribute></optional> <optional><attribute name="medium"><text/></attribute></optional>
<zeroOrMore><element name="noteref"> <zeroOrMore><element name="noteref">