Re: [xml] libxml2, xpointer and incorrect ID names




  You must fix your document. You're asking for a non conformant behaviour
and libxml2 will not provide this, sorry, that's the only alternative.
  
Just for the record:

   http://www.w3.org/TR/REC-xml#sec-attribute-types

"Values of type ID must match the Name production."
   [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
   [5] Name ::= (Letter | '_' | ':') (NameChar)*
   ...


Aleksey





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]