Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Re: Allowing Duplicate IDs - XML Schema

Thread Tools

Re: Allowing Duplicate IDs - XML Schema

Posts: n/a
> I'd rename it to "language_code" and remove the ID restriction in the
> schema. Then enforce the relationships through the application layer,
> not this syntactic layer.

That's what I suggested - but it's not ideal. The schema is used by at
least a dozen different apps it would be a bit of a pain to have to
duplicate the code in each place to check this. It would be much nice
if we could enforce this "id integrity" using the schema/parser that
is the only thing in common between all the apps.

Thanks for your help anyway!

Anyone else got any suggestions???
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
web.xml / XML schema issue, why do some XML schema attributes disappear Java 3 02-20-2007 09:56 AM
after transfer of data from MS-outlook(mail ids) to application,mail ids are consisting of strange characters Python 2 06-21-2005 12:41 PM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
XML Schema to XML Schema Conversion Hari Om XML 1 03-02-2004 09:04 PM
XML schema regular expressions question and recommended XML Schema book Fred Smith XML 1 02-05-2004 11:12 AM