Hi Holger, I did wonder if this was a problem as I am getting a lot of "Cannot build qname for sxml:element" errors. I don't have any problems adding a namespace attribute to the file so I'll try that out now.
Thanks for the fast reply. Regards, Mark. On Jun 12, 1:20 pm, Holger Knublauch <[email protected]> wrote: > On 6/12/2012 13:05, Mark Colquhoun wrote: > > > > > > > > > Hi, > > > I am currently trying to map an existing XML file into another > > ontology by first opening the XML file as a semantic XML file. This > > seems to work without any errors however the types that are produced > > from the XML elements are all wrapped in open and closing angle > > brackets (<>). For example, I have a Field elements that are mapped to > > things of type "<Field>". The problem I am then having is that I > > cannot query the semantic XML model as<Field> is not a valid URI. Is > > there something I am missing here? Looking at Holger's video > > introducing Semantic XML, the types produced are the element names > > without the angle brackets. > > > Regards, > > Mark. > > Hi Mark, > > yes we have modified this algorithm recently, and the behavior may be > strange for XML files that use the default namespace only. I will look > if we can/should change this behavior today so that it can go into the > upcoming 3.6.1. What it could do is use the same algorithm as for the > property URIs, i.e. make up a rather random URI based on the file > location. However, in any case you end up with a very file-specific > solution. > > If this is blocking you, add a namespace statement to the root element > of your XML before importing, e.g. > > <Field xmlns="http://example.org">... > > Holger -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
