Skip to Content.
Sympa Menu

cc-metadata - Re: Fwd: Multiple encodings & ccvalidator

cc-metadata AT lists.ibiblio.org

Subject: discussion of the Creative Commons Metadata work

List archive

Chronological Thread  
  • From: "Nathan R. Yergler" <nathan AT yergler.net>
  • To: sylvinus AT lynucs.org
  • Cc: discussion of the Creative Commons Metadata work <cc-metadata AT lists.ibiblio.org>
  • Subject: Re: Fwd: Multiple encodings & ccvalidator
  • Date: Sun, 03 Oct 2004 09:16:26 -0500


Second minor problem : the
http://validator.creativecommons.org/validate.py fails for me. I get this
error :

RDF segment found.
Segment 0 [show raw RDF]

Sylvain,

I'll let someone more versed on metadata comment on your multiple encoding issue, but I wrote the Validator so I can help with that problem. Were you attempting to validate a block of RDF or a URI? Can you provide the block/URI to me for testing? Thanks.

Nathan R. Yergler
Software Engineer
Creative Commons

--> -->


UnicodeDecodeError Python 2.3.3: /usr/local/python233/bin/python
Sun Oct 3 05:57:00 2004

A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.

/web/validator/www/validate.py
227
228 if __name__ == '__main__':
229 displayValidation()
230
231
displayValidation = <function displayValidation>

/web/validator/www/validate.py in displayValidation()
125 style='display:none;')
126 output._('<pre>%s</pre>' %
unicode((support.html_quote(rdf)), 127 output.getEncoding() ) , 128 magnetize=False,
autolink=False)
129 output.endBlock()
global output = <module 'output' from '/web/validator/www/output.py'>,
output.getEncoding = <function getEncoding>

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 949:
ordinal not in range(128)
args = ('ascii', '&lt;rdf:RDF
xmlns=&quot;http://web.resource.org/...rks&quot; /&gt;
&lt;/License&gt;&lt;/rdf:RDF&gt;', 949, 950, 'ordinal not in
range(128)')
encoding = 'ascii'
end = 950
object = '&lt;rdf:RDF
xmlns=&quot;http://web.resource.org/...rks&quot; /&gt;
&lt;/License&gt;&lt;/rdf:RDF&gt;'
reason = 'ordinal not in range(128)'
start = 949





_______________________________________________
cc-metadata mailing list
metadata AT creativecommons.org
http://lists.ibiblio.org/mailman/listinfo/cc-metadata








Archive powered by MHonArc 2.6.24.

Top of Page