Re: Problems with DITA RNG schemas

Steinar Bang <[email protected]>
Newsgroups gmane.emacs.nxml.general
Organization Probably a good idea
Message-ID <[email protected]>
>>>>> Steinar Bang <[email protected]>:

>>>>> Florent Georges <[email protected]>:
> [snip!]
>> Could you please try to generate again your RNC files with Trang, but
>> this time putting each output in a different directory, and modifying
>> your schemas.xml in accordance?

> Will do.  Thanx for the feedback!

Ok.  I did the following:
 - Downloaded trang-20030619.zip
 - In DITA-OT1.4-src/dtd/ did the following
  - ls *.dtd
  - for each DTD 
   - created a subdirectory of my relaxng directory
   - ran "java -jar trang.jar dtdname.dtd dtdname.dtd"
   - moved all .rnc file to the subdirectory with the same name as the
     dtd
 - In the schemas.xml that actually found the schemas, for each of the
   DTDs, added the subdirectory

Then nxml found the correct schema, and had no load errors on the
schema, at least for the two document types I tried; task and concepts
(those are the ones I'll be editing).

But the results weren't correct.  Instead of <task> or <concept> as the
top directory, both DTDs had <no-topic-nesting> with no children as the
only legal element.

I'll guess I try that entity expansion script suggested on the other
list. 
  



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.