Search the web
Sign In
New User? Sign Up
emacs-nxml-mode · New XML Mode for Emacs
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Xsd to RNG to RNC Conversion problem.   Message List  
Reply | Forward Message #1922 of 1984 |
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?




Wed Apr 1, 2009 7:00 pm

a_stephm
Offline Offline
Send Email Send Email

Forward
Message #1922 of 1984 |
Expand Messages Author Sort by Date

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...
a_stephm
Offline Send Email
Apr 1, 2009
7:01 pm

I don't know the answer to your question, but you may have more luck in finding general RNG conversion expertise on the rng-users mailing list. Also available...
Steinar Bang
sb@...
Send Email
Apr 2, 2009
8:51 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help