Re: [gutvol-d] barriers to XML posting

Excellent! Your answers are exactly what I was hoping they would be! (Does this mean I'm starting get my brain wrap around this stuff? ;) ) I think the next step(s) should be making some XML, running in through the transforms, critiqing the output and improve the transform/CSS until we have a workable process, yes? I'll try to take a look at some of the XML you and Joeren have done up to this point and see what the transform on the server does with them. We've already identified a need for a "standard" title page format, so that'll be my first area I'll look at. Josh ----- Original Message ----- From: Marcello Perathoner <marcello@perathoner.de> To: Project Gutenberg Volunteer Discussion <gutvol-d@lists.pglaf.org> Subject: Re: [gutvol-d] barriers to XML posting Date: Fri, 22 Oct 2004 20:05:45 +0200
Joshua Hutchinson wrote:
Shouldn't a TEI-Lite validator flag your second example as wrong, too? Looking over the TEI-Lite documentation, you could markup that information, but in a slightly different format.
That was just a general example. It was not meant to be specific to TEI.
Now, putting aside the fact that I doubt I'd ever bother to mark up an address to that exacting of a detail ;) ... Am I understanding the role of the validator properly in that it should choke on the first, since it doesn't, as far as I can tell, conform to TEI-Lite?
It will choke if you validate my example against the TEI DTD. But I could write a SOMETHING DTD that validates that example all right.
That seems acceptable to me. For instance, to continue you example above, if you wanted to add <place>, <name>, and <street> to the <address> markup, then you could put those elements in your personally DTD, which calls the TEI-Lite DTD, and then the validator should be able to parse it as acceptable code, right?
Yes.
But the question then becomes, will the standard transform be able to handle the new code in your DTD? If it just ignores what it doesn't understand, that would be acceptable, I'd think. But if the new tags cause the transform to choke, then we'd have a problem.
A standard TEI transform will simply ignore all tags he doesn't recognize. Just like a HTML browser does.
-- Marcello Perathoner webmaster@gutenberg.org
_______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/listinfo.cgi/gutvol-d
participants (1)
-
Joshua Hutchinson