Xsd to RNG to RNC Conversion problem.

"a_stephm" <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
I am trying to compile a conforming XML schema to an rnc for use with
nxml.
I do the following:

1. Compile the Xsd to rng with rngconv.jar from
the Sun Multi-Schema XML Validator.
This appear to go correctly (except for some
'"anyType" is implicitly used ...' warnings).

2. I then convert the rng to rnc using trang or
using the or RngToRncText.xsl and the cygwin xsltproc

3. When I then attempt to load the .rnc with rng-c-load-schema
I get the following error message:

Incorrect Schema:"...nxml-mode/schema/xanx.rnc"
4318 "Expected `}' but got `+'

I have two questions:

1. How do I convert the token count into a
line the the rnc produced? I have seen this problem before
and by shear elimination have managed to get the rnc to
work, but would like a better way.

2. More to the point does this indicate some problem
with the xsd or the rng converter?



------------------------------------

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.