You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "magnate Williams (JIRA)" <xm...@ws.apache.org> on 2009/05/18 02:23:45 UTC
[jira] Created: (XMLRPC-170) XML attribute issue for auto_unique ID
& auto_checksum with md5
XML attribute issue for auto_unique ID & auto_checksum with md5
---------------------------------------------------------------
Key: XMLRPC-170
URL: https://issues.apache.org/jira/browse/XMLRPC-170
Project: XML-RPC
Issue Type: Wish
Affects Versions: unspecified
Environment: window xp, other thing i dont know because my background is not IT.
Reporter: magnate Williams
Priority: Critical
Fix For: unspecified
I want to develop XML document with following DTD file with XML format. I have also XSL file as a externatl file to represent my xml in browser.
my problem is i want to create AUTO unique ID & checksum for each "leaf" element according to DTD.
In my xml file there are more than 500 attachment & each leaf have unique ID & Checksum, and one more thing, after creating final XML, if i make any modification to original xml (i.e. " operation (append | delete | new | replace) #REQUIRED " ) i need to create cross reference (i.e. "..../AAA/00/index.xml#idMG1234" here previous attached file ID = MG1234 [means 'magnate-williams-1234] ) for new attached file.
for life cycle of my xml, i want to create checksum for final index.xml file, that will be unique.
main folder name = AAA
sub foler to main = 00
new version folder = 01
next version folder = 02 and so on....
I need to all version folder create auto under main folder (AAA).
Please help me out for the same. I am helpless for the same. Thanks in Advanced.......
____________________________________________________________________________
DTD Part is:
-----------
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT root-root (element-1-1?, element-1-2?)>
<!ATTLIST root-root
xmlns:root CDATA #FIXED
xmlns:xlink CDATA #FIXED
xml:lang CDATA #IMPLIED
dtd-version CDATA #FIXED
>
<!ELEMENT leaf (title, link-text?)>
<!ATTLIST leaf
ID ID #REQUIRED
application-version CDATA #IMPLIED
version CDATA #IMPLIED
font-library CDATA #IMPLIED
operation (append | delete | new | replace) #REQUIRED
modified-file CDATA #IMPLIED
checksum CDATA #REQUIRED
checksum-type CDATA #REQUIRED
keywords CDATA #IMPLIED
xmlns:xlink CDATA #FIXED
xlink:type CDATA #FIXED
xlink:role CDATA #IMPLIED
xlink:href CDATA #IMPLIED
xlink:show (embed | none | other | new | replace) #IMPLIED
xlink:actuate (onRequest | none | other | onLoad) #IMPLIED
xml:lang CDATA #IMPLIED
>
<!ELEMENT title (#PCDATA)>
<!ATTLIST title
ID ID #IMPLIED
>
<!ELEMENT link-text (#PCDATA | xref)*>
<!ATTLIST link-text
ID ID #IMPLIED
>
<!ELEMENT xref EMPTY>
<!ATTLIST xref
ID ID #REQUIRED
xmlns:xlink CDATA #FIXED
xlink:type CDATA #FIXED
xlink:role CDATA #IMPLIED
xlink:title CDATA #REQUIRED
xlink:href CDATA #REQUIRED
xlink:show (embed | none | other | new | replace) #IMPLIED
xlink:actuate (onRequest | none | other | onLoad) #IMPLIED
>
<!ELEMENT node-extension (title, (leaf | node-extension)+)>
<!ATTLIST node-extension
ID ID #IMPLIED
xml:lang CDATA #IMPLIED
>
<!ELEMENT element-1-1 (leaf*)>
<!ATTLIST element-1-1
ID ID #IMPLIED
xml:lang CDATA #IMPLIED
>
<!ELEMENT element-1-2 (leaf*, element-1-2-1?, element-1-2-2?, ___?, ______?, element-1-2-n?)>
<!ATTLIST element-1-2
ID ID #IMPLIED
xml:lang CDATA #IMPLIED
>
<!ELEMENT element-1-2-1 ((leaf | node-extension)*)>
<!ATTLIST element-1-2-1
ID ID #IMPLIED
xml:lang CDATA #IMPLIED
>
.
.
.
.
<!ELEMENT element-1-2-n ((leaf | node-extension)*)>
<!ATTLIST element-1-2-n
ID ID #IMPLIED
xml:lang CDATA #IMPLIED
>
_________________________________________________________________________________________________________
---------------------------------------------------------------------------------------------------------
_________________________________________________________________________________________________________
XML Part is :
------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ectd:ectd SYSTEM "ich-ectd-3-2.dtd">
<root-root>
<element-1-1>
<leaf operation="" ID="" checksum-type="" checksum="">
<title/>
<link-text>
<xref xlink:title="" xlink:href="" ID=""/>
</link-text>
</leaf>
</element-1-1>
<element-1-2>
<leaf operation="" ID="" checksum-type="" checksum="">
<title/>
<link-text>
<xref xlink:title="" xlink:href="" ID=""/>
</link-text>
</leaf>
</element-1-2>
.
.
.
.
<element-1-2-n>
<leaf operation="" ID="" checksum-type="" checksum="">
<title/>
<link-text>
<xref xlink:title="" xlink:href="" ID=""/>
</link-text>
</leaf>
</element-1-2-n>
</root-root>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (XMLRPC-170) XML attribute issue for auto_unique
ID & auto_checksum with md5
Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/XMLRPC-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710286#action_12710286 ]
Jochen Wiedmann commented on XMLRPC-170:
----------------------------------------
I do not understand how this is related to Apache XML-RPC.
> XML attribute issue for auto_unique ID & auto_checksum with md5
> ---------------------------------------------------------------
>
> Key: XMLRPC-170
> URL: https://issues.apache.org/jira/browse/XMLRPC-170
> Project: XML-RPC
> Issue Type: Wish
> Affects Versions: unspecified
> Environment: window xp, other thing i dont know because my background is not IT.
> Reporter: magnate Williams
> Priority: Critical
> Fix For: unspecified
>
> Original Estimate: 504h
> Remaining Estimate: 504h
>
> I want to develop XML document with following DTD file with XML format. I have also XSL file as a externatl file to represent my xml in browser.
> my problem is i want to create AUTO unique ID & checksum for each "leaf" element according to DTD.
> In my xml file there are more than 500 attachment & each leaf have unique ID & Checksum, and one more thing, after creating final XML, if i make any modification to original xml (i.e. " operation (append | delete | new | replace) #REQUIRED " ) i need to create cross reference (i.e. "..../AAA/00/index.xml#idMG1234" here previous attached file ID = MG1234 [means 'magnate-williams-1234] ) for new attached file.
> for life cycle of my xml, i want to create checksum for final index.xml file, that will be unique.
> main folder name = AAA
> sub foler to main = 00
> new version folder = 01
> next version folder = 02 and so on....
> I need to all version folder create auto under main folder (AAA).
> Please help me out for the same. I am helpless for the same. Thanks in Advanced.......
> ____________________________________________________________________________
> DTD Part is:
> -----------
> <?xml version="1.0" encoding="UTF-8"?>
> <!ELEMENT root-root (element-1-1?, element-1-2?)>
> <!ATTLIST root-root
> xmlns:root CDATA #FIXED
> xmlns:xlink CDATA #FIXED
> xml:lang CDATA #IMPLIED
> dtd-version CDATA #FIXED
> >
> <!ELEMENT leaf (title, link-text?)>
> <!ATTLIST leaf
> ID ID #REQUIRED
> application-version CDATA #IMPLIED
> version CDATA #IMPLIED
> font-library CDATA #IMPLIED
> operation (append | delete | new | replace) #REQUIRED
> modified-file CDATA #IMPLIED
> checksum CDATA #REQUIRED
> checksum-type CDATA #REQUIRED
> keywords CDATA #IMPLIED
> xmlns:xlink CDATA #FIXED
> xlink:type CDATA #FIXED
> xlink:role CDATA #IMPLIED
> xlink:href CDATA #IMPLIED
> xlink:show (embed | none | other | new | replace) #IMPLIED
> xlink:actuate (onRequest | none | other | onLoad) #IMPLIED
> xml:lang CDATA #IMPLIED
> >
> <!ELEMENT title (#PCDATA)>
> <!ATTLIST title
> ID ID #IMPLIED
> >
> <!ELEMENT link-text (#PCDATA | xref)*>
> <!ATTLIST link-text
> ID ID #IMPLIED
> >
> <!ELEMENT xref EMPTY>
> <!ATTLIST xref
> ID ID #REQUIRED
> xmlns:xlink CDATA #FIXED
> xlink:type CDATA #FIXED
> xlink:role CDATA #IMPLIED
> xlink:title CDATA #REQUIRED
> xlink:href CDATA #REQUIRED
> xlink:show (embed | none | other | new | replace) #IMPLIED
> xlink:actuate (onRequest | none | other | onLoad) #IMPLIED
> >
> <!ELEMENT node-extension (title, (leaf | node-extension)+)>
> <!ATTLIST node-extension
> ID ID #IMPLIED
> xml:lang CDATA #IMPLIED
> >
> <!ELEMENT element-1-1 (leaf*)>
> <!ATTLIST element-1-1
> ID ID #IMPLIED
> xml:lang CDATA #IMPLIED
> >
> <!ELEMENT element-1-2 (leaf*, element-1-2-1?, element-1-2-2?, ___?, ______?, element-1-2-n?)>
> <!ATTLIST element-1-2
> ID ID #IMPLIED
> xml:lang CDATA #IMPLIED
> >
> <!ELEMENT element-1-2-1 ((leaf | node-extension)*)>
> <!ATTLIST element-1-2-1
> ID ID #IMPLIED
> xml:lang CDATA #IMPLIED
> >
> .
> .
> .
> .
> <!ELEMENT element-1-2-n ((leaf | node-extension)*)>
> <!ATTLIST element-1-2-n
> ID ID #IMPLIED
> xml:lang CDATA #IMPLIED
> >
> _________________________________________________________________________________________________________
> ---------------------------------------------------------------------------------------------------------
> _________________________________________________________________________________________________________
> XML Part is :
> ------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE ectd:ectd SYSTEM "ich-ectd-3-2.dtd">
> <root-root>
> <element-1-1>
> <leaf operation="" ID="" checksum-type="" checksum="">
> <title/>
> <link-text>
> <xref xlink:title="" xlink:href="" ID=""/>
> </link-text>
> </leaf>
> </element-1-1>
> <element-1-2>
> <leaf operation="" ID="" checksum-type="" checksum="">
> <title/>
> <link-text>
> <xref xlink:title="" xlink:href="" ID=""/>
> </link-text>
> </leaf>
> </element-1-2>
> .
> .
> .
> .
> <element-1-2-n>
> <leaf operation="" ID="" checksum-type="" checksum="">
> <title/>
> <link-text>
> <xref xlink:title="" xlink:href="" ID=""/>
> </link-text>
> </leaf>
> </element-1-2-n>
> </root-root>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.