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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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
Validation Error, Locating and Fixing   Message List  
Reply | Forward Message #1938 of 1984 |
Re: Validation Error, Locating and Fixing

I have tried trang, with no better out come, and the rnc looks ok to me --
though I am no expert. What should I look for, and do you know of a way of
getting -- say -- line numbers for the error?

Haven't tried anything libxml2-based. Any suggestions

--- In emacs-nxml-mode@yahoogroups.com, Steinar Bang <sb@...> wrote:
>
> >>>>> "a_stephm" <stephm@...>:
>
> > 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 `+'
> [snip!]
> > 2. More to the point does this indicate some problem
> > with the xsd or the rng converter?
>
> What I would have done is to take a look at the generated rnc file and
> see if it looked sensible. I would also have tried to parse the schema
> with a different RNC implementation. Eg. can trang load it...? What
> about anything libxml2-based?
>





Wed Jul 15, 2009 4:59 am

a_stephm
Offline Offline
Send Email Send Email

Forward
Message #1938 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
Nov 20, 2008
12:55 am

... [snip!] ... What I would have done is to take a look at the generated rnc file and see if it looked sensible. I would also have tried to parse the schema ...
Steinar Bang
sb@...
Send Email
Jul 10, 2009
2:04 pm

I have tried trang, with no better out come, and the rnc looks ok to me -- though I am no expert. What should I look for, and do you know of a way of getting...
a_stephm
Offline Send Email
Jul 15, 2009
4:59 am

... I don't know, and it's impossible to say from the description. Perhaps you should ask on rng-users, perhaps with a posting of the actual schema file as an...
Steinar Bang
sb@...
Send Email
Jul 15, 2009
11:56 am
Advanced

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