[MarkLogic Dev General] query re schema and xs:NMTOKENS vs. xs:string

James A. Robinson jim.robinson at stanford.edu
Fri Mar 14 14:26:09 PST 2008


I'm running into all manner of trouble trying to work with MarkLogic
3.2-3 when it comes to @class attributes in XHTML elements.  I'm working
through an XDBC interface which had an XHTML schema bound to the XHTML
ns. If I delete this setting, do I have to reindex the database before
any mapping of @class to xs:NMTOKENS stops being in effect? (I want to
just treat @class as an xs:string and tokenize it myself to work around
these problems)

The admin docs seem to indicate no further actions ar necessary, but
now I'm seeing errors saying that tokenize(@class, ' ') can't be run,
purportedly because @class isn't a string... *sigh*


Jim

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson                       jim.robinson at stanford.edu
Stanford University HighWire Press      http://highwire.stanford.edu/
+1 650 7237294 (Work)                   +1 650 7259335 (Fax)


More information about the General mailing list