Hi John.

On 13/09/05, John.Cowan <[EMAIL PROTECTED]> wrote:
> Dave Pawson scripsit:
> 
> > I.e. I think I'm getting a namespace problem... except I don't know what
> > the match should be.
> 
> I suspect you have a classpath problem: if you are running jing with -jar,
> then there is no classpath except jing.jar; not even the current directory
> is searched.

No, I'm running it using the driver class as noted in the docs.

I'm unsure as to whether I have enough matches though.
1. Met with a value in the xml instance.
2. Seek a match in the schema (using ns + datatype)
   Finds the 
  <element name="unit"
  xmlns="http://relaxng.org/ns/structure/1.0";
  datatypeLibrary="http://www.rnib.org/relaxng/datatype/px";>
  The datatype library is then sought.
3..... Then what?
Seek ??? in the available classes via the extra jar file?
~The only thing I can think of is to match
what is defined in the schema with that specified as 
  private static final String DATATYPE_LIBRARY
   = "http://www.rnib.org/relaxng/datatype";;
and I'm guessing that's sufficient for Jing to find the right class.



And I'm guessing that

  datatypeLibrary="http://www.rnib.org/relaxng/datatype";>

The match is to the first non-atom in the datatypeLibrary path?
http://www.rnib.org/relaxng/datatype
then goes looking for 
private static final String TYPE = "px"; to resolve the last leaf
part of the namespace


Does that make sense?


regards 



-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/2U_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> 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/
 


Reply via email to