BasicFidMapper generated keys are not valid FIDs
------------------------------------------------

                 Key: GEOT-1119
                 URL: http://jira.codehaus.org/browse/GEOT-1119
             Project: GeoTools
          Issue Type: Improvement
          Components: data jdbc
    Affects Versions: 2.3.0, 2.2.2
            Reporter: Andrea Aime
         Assigned To: Andrea Aime
             Fix For: 2.2.3, 2.4.M0


According to GML and XML schema standards, FID is a XML ID 
(http://www.w3.org/TR/xmlschema-2/#ID), whose acceptable values are those that 
match an NCNAME production 
(http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName):

NCName ::= (Letter | '_') (NCNameChar)* /* An XML Name, minus the ":" */
NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender

gt2 trunk already has a fix, we should back port it to 2.3.x and 2.2.x, thought 
frankly I'm not sure the fix ensures the generated fid is still unique

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to