| 480 | // and "rdf:type" is less than anything except "xml:lang". This preserves special rules for qualifiers. |
| 481 | |
| 482 | static bool |
| 483 | CompareNodeNames ( XMP_Node * left, XMP_Node * right ) |
| 484 | { |
| 485 | |
| 486 | if ( left->name == "xml:lang" ) return true; |
| 487 | if ( right->name == "xml:lang" ) return false; |
| 488 | |
| 489 | if ( left->name == "rdf:type" ) return true; |
| 490 | if ( right->name == "rdf:type" ) return false; |
| 491 | |
| 492 | return ( left->name < right->name ); |
| 493 | |
| 494 | } // CompareNodeNames |
| 495 | |
| 496 | |
| 497 | // ------------------------------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected