← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook] Generating modified 5.0 DTD using mods to RELAX NG version

From
Bob Stayton <>
Date
2009-05-04T16:57:49+00:00
ID
033701c9ccd9$68345740$6400a8c0@pazu
Thread
Re: [docbook] Generating modified 5.0 DTD using mods to RELAX NG version
Hi Bob,

Yes, the DTD for 5.0 was generated from the 
RelaxNG schema by Norm Walsh using automated tools that included Trang, but 
possibly including some other massaging to get it to work.  You might ask 
Norm directly.

 

Bob Stayton
Sagehill Enterprises


 

 

  
----- Original Message ----- 

  
From: 
  DuCharme, Bob 

  
To:  
  

  
Sent: Tuesday, April 28, 2009 10:38 
  AM

  
Subject: [docbook] Generating modified 
  5.0 DTD using mods to RELAX NG version

  

  
I 
  created an RNG schema modification file, as described at http://www.docbook.org/docs/howto/, 
  and using jing I can validate a demo document against it. 

  
 

  
Next, I tried to create a DTD from my modification file using 
  trang, but got a lot of errors. Even using trang to try to convert 
  docbook-5.0\rng\docbook.rng with no reference to modifications, I get about 
  100 error messages. Most say 'error: sorry, cannot handle this kind of 
  "choice"', but many follow this format:

  
 

  
  sorry, not handled: duplicate declaration of element "info" from 
  namespace "http://docbook.org/ns/docbook"

  
 

  
Were 
  the official distribution DTD versions created using an automated tool, and if 
  so, which one? 

  
 

  
thanks,

  
 

  
Bob

  
    
    

      Disclaimer:
-----------

"This e-mail and any 
        files transmitted with it are for the sole use of the intended 
        recipient(s) and may contain confidential and privileged information. If 
        you are not the intended recipient, please contact the sender by reply 
        e-mail and destroy all copies of the original message. Any unauthorized 
        review, use, disclosure, dissemination, forwarding, printing or copying 
        of this e-mail or any action taken in reliance on this e-mail is 
        strictly prohibited and may be 
unlawful."
← Prev in month ← Prev in thread
Next in thread → Next in month →