Hello,
      I was working with a foaf file (which has more than foaf in it)
in TBC.
      I noticed when looking at the source rdf file that the xml:base
was set to file:///PersonalProfiles.fwwebdev.com/BruceWhealtonJr/foaf.rdf
So, then I looked at the namespace settings and the default was very
close to this... I since changed it but I'm not 100% sure I got it
right.  TBC doesn't always like it when you define something that it
doesn't know about yet.  For example, if you know where you are going
to publish something and the directory structure, it doesn't seem to
like that.  I guess you just enclose it with <> brackets and you are
fine.
       Anyway, setting the default namespace and base url...
If I know I am going to publish various foaf files at:
http://personalprofiles.fwwebdev.com/ and they will have this form:
http://personalprofiles.fwwebdev.com/BruceWhealtonJr/foaf.rdf
and http://personalprofiles.fwwebdev.com/JohnettaRuthAlston/foaf.rdf
         I guess the first question is with regard to setting a
namespace prefix.  If I setup fwweb as the prefix for
http://personalprofiles.fwwebdev.com/
other files that I open in the same project, will not know about that
prefix will they?  It will have to be defined in each and every file,
correct?
In my file: http://personalprofiles.fwwebdev.com/BruceWhealtonJr/foaf.rdf
well, that's where I will publish it.  If I define fwweb as equal to
http://personalprofiles.fwwebdev,com/
and so the base URI is fwweb:BruceWhealtonJr
and the default namespace is fwweb:BruceWhealtonJr#
Does that make sense to do it this way?  And the next foaf file would
be defined using the same prefix of fwweb:JohnettaRuthAlston
          I didn't like the idea of publishing something on the web
where the value of xml:base="file:///someurl"
Thanks,
Bruce

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to