4 messages in com.perforce.revml[revml] Re: RevML DTD
FromSent OnAttachments
Barrie Slaymaker07 Jan 2005 07:18 
Peter Miller09 Jan 2005 13:50 
Barrie Slaymaker15 Jan 2005 04:51 
Peter Miller16 Jan 2005 03:11.revml, .dtd, .entities
Subject:[revml] Re: RevML DTD
From:Peter Miller (mill@canb.auug.org.au)
Date:01/16/2005 03:11:20 AM
List:com.perforce.revml
Attachments:
c232.revml - 6k
revml.entities - 0.5k

On Sat, 2005-01-15 at 23:51, Barrie Slaymaker wrote:

Sounds like a broken validator; here's the spec:

http://www.w3.org/TR/REC-xml/#NT-Name

Ah... I was using the wrong xml.dcl

OK, now my output matches the revml.dtd ...except that I added an <ATTRIBUTE> element so you can see what I'm talking about.

What happened to the <MOVE> element? How do you represent the second file name for a rename or clone?

I've attached an example change set in RevML format. It's a real change set, that modifies a single file). Please let me know all of the many many assumptions I'm breaking. There are a bunch of mandatory elements that I can't work out what they are for, so they have (probably wrong) dummy values.

I've also attached the modified DTD, so that you can diff against revml.dtd 0.35 and see the few additions I've made, and the multitude of questions I've added for elements.

Also note xmllint's response:

bash-2.05b$ echo "<_/>" | xmllint - <?xml version="1.0"?> <_/>

Thanks,

Barrie

Peter Miller wrote:

On Sat, 2005-01-08 at 02:18, Barrie Slaymaker wrote:

See this link for the latest [RevML DTD]:

http://public.perforce.com/public/revml/revml.dtd

I've got RevML generation working, and I've started to check the output against the DTD using James Clark's nsgmls.

It is barfing on the DTD: it says that "_" is not a valid element name character.