You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Steven Noels <st...@outerthought.org> on 2002/05/17 10:06:03 UTC

Remodularized DTDs

Hi folks,

as promised, I've created an (even more) modular version of the v11
DTDs, to make it easier to reuse DTD modules inside each other without
the fear of duplicate element/attr declarations - hence Diana's faqs
within howto's.

I have no plans to commit this right now since I would prefer to
remodularize the stylesheets according the same structure using
xsl:import/include and the like.

Please have a look at it and tell me what you think. I've only included
the patched/new files.

Regards,

</Steven>

ps: I have the *strong* suspicion that the entity resolver isn't
working, or at least not working correctly... It doesn't keep track of
the "OVERRIDE YES" statement, i.e. you can specify anything you want in
the PUBLIC identifier, as long as the SYSTEM is correct... David??? My
colleague is still working on a Transformer and shares this concern with
me...

Re: Remodularized DTDs

Posted by David Crossley <cr...@indexgeo.com.au>.
Steven Noels wrote:
> Hi folks,
> 
> as promised, I've created an (even more) modular version of the v11
> DTDs, to make it easier to reuse DTD modules inside each other without
> the fear of duplicate element/attr declarations - hence Diana's faqs
> within howto's.
> 
> I have no plans to commit this right now since I would prefer to
> remodularize the stylesheets according the same structure using
> xsl:import/include and the like.
> 
> Please have a look at it and tell me what you think. I've only included
> the patched/new files.

I glanced at your new modular approach. It looks like a good way.
I also validated some v11 documents using all three DTDs.
All was well for the document-v11.dtd and faq-v11.dtd

I notice that the document-v11.dtd declares the ISO character
entity sets and includes them. Yet the other two DTDs do not
do this. Perhaps those entity sets need to be also included via
a module.

Your version of howto-v10.dtd needed to be modified a bit ...
* amended the Typical Invocation statement
* local entities need to be declared before the document-v11.dtd is included

I modified the howto-sample.xml that Diana provided on 2002-05-16
so that it would validate against this DTD ...
* changed document type declaration to use correct Public Identifier
* changed all <s2/> to <section/>
* modified <faqs/> section to now have the normal faqs structure
* removed some strange character on the last line after the end of content

Note that this is the new experimental howto DTD (perhaps it should
be howto-v11.dtd). Diana expressed well-justified concern in the other
thread "draft howto dtd" (now off the rails). We do not want to hold
up the How-to authoring process.

I have attached the modified howto-sample.xml and howto-v10.dtd
--David

entity-resolver OVERRIDE YES (Was: Remodularized DTDs)

Posted by David Crossley <cr...@indexgeo.com.au>.
Steven Noels wrote:
<snip/>
> ps: I have the *strong* suspicion that the entity resolver isn't
> working, or at least not working correctly... It doesn't keep track of
> the "OVERRIDE YES" statement, i.e. you can specify anything you want in
> the PUBLIC identifier, as long as the SYSTEM is correct... David??? My
> colleague is still working on a Transformer and shares this concern with
> me...

Can you provide a little more info? I cannot see what your concern is yet.

There is some recent discussion about the entity-resolver on the
xml-commons list. So we can post a bug report there if needs be.
http://marc.theaimsgroup.com/?l=xml-commons-dev

I have some other things to attend to now, so will look later.
--David